.top-stories {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: stretch;
}

.top-stories .hero-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 320px;
  min-width: 0;
  transition: background-position 450ms ease;
}

.hero-card[data-active-slide="1"] { background-position: center, 58% center; }
.hero-card[data-active-slide="2"] { background-position: center, 64% center; }

/* Every slide contributes its full height, so changing slides never resizes the card. */
.hero-slides {
  display: grid;
  flex: 1;
  min-width: 0;
}

.hero-card .hero-copy {
  grid-area: 1 / 1;
  align-self: start;
  width: 82%;
  max-width: 100%;
  padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px) 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px);
  transition: opacity 450ms ease, transform 450ms ease, visibility 0s linear 450ms;
}

.hero-card .hero-copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.hero-card .hero-copy p {
  font-size: 12px;
  line-height: 1.5;
}

.hero-card .hero-copy h1 {
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-card .hero-copy > span {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  font-size: 13px;
  line-height: 1.55;
}

.hero-card .hero-copy > a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.45;
  white-space: normal;
}

.hero-card .hero-copy > a b {
  flex-shrink: 0;
  margin-left: 0;
}

.hero-card .hero-dots {
  position: relative;
  inset: auto;
  justify-content: center;
  gap: 2px;
  padding: 0 16px 8px;
}

.hero-card .hero-dots button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-card .hero-dots button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: background 450ms ease, transform 450ms ease;
}

.hero-card .hero-dots button.active::before {
  background: var(--brand-gold);
  transform: scale(1.2);
}

.hero-card .hero-dots [data-hero-playback] {
  width: 32px;
  margin-left: 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.hero-card .hero-dots [data-hero-playback]::before {
  content: none;
}

.hero-card .hero-dots [hidden] { display: none; }

.hero-card .hero-dots button:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

.hero-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top-stories .news-panel {
  display: flex;
  flex-direction: column;
  height: auto;
  min-width: 0;
  overflow: visible;
  padding: 12px;
}

.news-panel > header {
  height: auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.news-panel > header h2 {
  font-size: 12px;
  line-height: 1.5;
}

.news-panel > header > a {
  flex-shrink: 0;
  font-size: 12px;
}

.news-list {
  display: grid;
  grid-template-rows: repeat(var(--news-count, 3), minmax(105px, 1fr));
  flex: 1;
}

.news-list.news-list--empty {
  grid-template-rows: 1fr;
  align-items: center;
}

.news-list--empty .publication-note { margin: 0; }

.news-list .news-item {
  height: auto;
  min-width: 0;
  align-items: center;
  grid-template-columns: minmax(64px, 28%) minmax(0, 1fr);
  gap: 10px;
  padding-block: 12px;
}

.news-list .news-thumb {
  aspect-ratio: 4 / 3;
}

.news-list .news-thumb img {
  height: 100%;
  object-fit: cover;
}

.news-list .news-copy { overflow-wrap: anywhere; }
.news-list .news-copy small { color: #805300; font-size: 11px; line-height: 1.4; }
.news-list .news-copy strong { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 3; }
.news-list .news-copy em { font-size: 12px; line-height: 1.4; -webkit-line-clamp: 2; }

@media (max-width: 700px) {
  .top-stories { grid-template-columns: minmax(0, 1fr); }
  .hero-card .hero-copy { width: 100%; }
  .hero-card .hero-copy h1 { font-size: clamp(26px, 6vw, 34px); }
  .news-list .news-item { grid-template-columns: 84px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card .hero-copy,
  .hero-card .hero-dots button::before {
    transition: none;
    transform: none;
  }
}
