/* ── Hero ──────────────────────────────────────────── */
.hero {
  overflow: hidden;
}

/* Primary banner — full width with overlay */
.hero__banner--primary {
  position: relative;
  height: 560px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero__banner--primary { height: 420px; }
}

@media (max-width: 480px) {
  .hero__banner--primary { height: 340px; }
}

.hero__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.1)  100%
  );
  display: flex;
  align-items: center;
}

.hero__overlay .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 620px;
}

.hero__headline {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subheading {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero__headline { font-size: var(--font-size-3xl); }
  .hero__subheading { font-size: var(--font-size-base); }
}

/* Secondary banner */
.hero__banner--secondary {
  background: var(--color-primary-light);
  border-bottom: 1px solid var(--color-neutral-200);
}

.hero__secondary-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: var(--space-8);
}

.hero__secondary-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.hero__secondary-headline {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-neutral-900);
  line-height: 1.3;
}

.hero__secondary-img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .hero__secondary-inner { flex-direction: column; }
  .hero__secondary-img { width: 100%; height: 180px; }
}

/* ── Category strips ───────────────────────────────── */
.category-strip { overflow: hidden; }

.category-strip__layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-6);
}

.category-strip__layout--reverse {
  grid-template-columns: 1fr 1fr 1.6fr;
}

.category-strip__layout > .post-card:first-child .post-card__img-wrap {
  aspect-ratio: 4 / 3;
}

.category-strip__layout > .post-card:first-child .post-card__title {
  font-size: var(--font-size-xl);
}

.category-strip__layout > .post-card:first-child .post-card__excerpt {
  -webkit-line-clamp: 4;
}

.category-strip__layout--reverse > .post-card:last-child .post-card__img-wrap {
  aspect-ratio: 4 / 3;
}

.category-strip__layout--reverse > .post-card:last-child .post-card__title {
  font-size: var(--font-size-xl);
}

@media (max-width: 1024px) {
  .category-strip__layout,
  .category-strip__layout--reverse {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .category-strip__layout,
  .category-strip__layout--reverse {
    grid-template-columns: 1fr;
  }
}
