/* Promotions and news (pages/promotii-si-noutati). The cards are .offer (base.css), the filter rows are .filters of
   chips (categorie.css, base.css), the empty state is .cars-empty; this file only places them and lays out the post. */

/* List: two filter rows, the count, the grid (3 / 2 / 1), the load-more button. */
.promo-list { display: grid; gap: var(--s-5); padding-bottom: var(--s-9); }
.promo-filters { display: grid; gap: var(--s-3); }
.promo-filters .filters { margin-bottom: 0; gap: var(--s-2); }
.promo-count { font-size: var(--step-0); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.promo-more { display: grid; gap: var(--s-3); justify-items: center; padding-top: var(--s-4); }
.promo-more-error { font-size: var(--step--1); color: var(--ink-2); }

/* Post: crumbs, then the article in one reading column (the cover wide over it), the contact pair, then the vehicles
   and the related posts at full measure. */
.promo-post { display: grid; gap: var(--s-6); padding-bottom: var(--s-8); }
/* 16:9 is the shape the campaign images were made in (several carry their own lettering), so it is never cropped tighter. */
.promo-cover { overflow: hidden; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--paper-2); }
.promo-cover > img { width: 100%; height: 100%; object-fit: cover; }
.promo-article { display: grid; gap: var(--s-5); justify-items: start; max-width: 68ch; }
.promo-article h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: anywhere; }
.promo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--step--1); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.promo-lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.promo-post .cat-cta { justify-items: start; }
.promo-sec { display: grid; gap: var(--s-5); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.promo-sec h2 { font-size: var(--step-2); }
.promo-back { justify-self: start; }

@media (max-width: 640px) {
  .promo-grid { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; overflow: visible; }
  .promo-grid .offer { flex: none; }
  .promo-list { padding-bottom: var(--s-8); }
  .promo-cover { width: auto; max-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .promo-crumbs b, .promo-crumbs .sep:has(+ b) { display: none; } /* the title follows as the h1; the crumbs end at the parent */
}
