/* Section: news_teaser — section head + 3 post cards (the card itself is the shared post-card component). */

.ex-news-teaser[id] { scroll-margin-top: var(--ex-scroll-offset); }

.ex-news-teaser__grid { margin: 0; padding: 0; list-style: none; }
/* The card stretches to the row height so the three borders line up. */
.ex-news-teaser__item { display: flex; min-width: 0; }
.ex-news-teaser__item > * { flex: 1 1 auto; min-width: 0; }

/* ESG "ΝΕΑ & ΔΗΜΟΣΙΕΥΣΕΙΣ" (category variant; EXALCO-ESG "ESG articles", rendered): h2 42px on a 42px line, 26px from
   the head to the cards, 16px between the cards (the homepages keep the base 44px / 1.05, 30px, 14px). */
.ex-news-teaser--category { --ex-head-gap: 26px; --ex-fs-h2: clamp(28px, 2.5vw, 42px); --ex-lh-h2: 1; }
.ex-news-teaser--category .ex-news-teaser__grid { gap: 16px; }

/* ---------- Responsive (proposal — not designed) ---------- */
@media (max-width: 899px) {
  /* 3 cards in a 2-column grid: the last one spans the row instead of leaving a hole. */
  .ex-news-teaser__item:nth-child(3):last-child { grid-column: 1 / -1; }
}
