/* News page — layout from NEWS mockup */

.news-hero {
  position: relative;
  color: #fff;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 80px;
  overflow: hidden;
  background: #0b1020;
}

.news-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 14, 35, 0.88) 0%,
    rgba(10, 16, 40, 0.78) 45%,
    rgba(13, 19, 46, 0.68) 100%
  );
}

.news-hero .container {
  position: relative;
  z-index: 1;
}

.news-hero h1 {
  font-size: clamp(54px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  max-width: none;
}

.news-hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.news-hero__lead {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.news-hero .hero__ctas {
  margin-bottom: 0;
}

.news-feed {
  padding: 88px 0;
}

.news-featured {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.news-featured__media {
  width: 670px;
  height: 357px;
  flex: 0 0 670px;
  align-self: flex-start;
  overflow: hidden;
  background: #dbe3f2;
}

.news-featured__media img {
  display: block;
  width: 670px;
  height: 357px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.news-featured__copy {
  padding: 32px 40px 32px 48px;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa3b5;
  margin-bottom: 16px;
}

.news-meta-line span {
  font-weight: 300;
}

.news-featured .news-meta-line span:first-child {
  color: var(--navy);
}

.news-featured h2 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #2c3c75;
  margin-bottom: 16px;
}

.news-featured__copy > p:not(.news-meta-line) {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 46ch;
}

.news-featured .link-arrow {
  margin-top: 28px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 48px 0 28px;
}

.news-filter {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #2c3c75;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.news-filter.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feed-card[hidden] {
  display: none;
}

.feed-card__media {
  position: relative;
  height: 190px;
  background: linear-gradient(180deg, #d7e2f2 0%, #eef2f8 100%);
}

.feed-card__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2c3c75;
}

.feed-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feed-card .news-meta-line {
  margin-bottom: 10px;
  gap: 14px;
  font-weight: 300;
}

.feed-card h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #2c3c75;
  margin-bottom: 12px;
}

.feed-card__body > p:not(.news-meta-line) {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.5;
}

.feed-card .link-arrow {
  margin-top: auto;
  padding-top: 18px;
  font-size: 18px;
}

.news-subscribe {
  padding: 88px 0;
}

.news-subscribe h2 {
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 18px;
}

.news-subscribe .lede {
  margin-top: 0;
  max-width: 48ch;
}

.news-subscribe .btn {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .news-featured {
    flex-direction: column;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-subscribe h2 {
    font-size: 40px;
  }

  .news-featured__media {
    width: 100%;
    max-width: 670px;
    height: auto;
    aspect-ratio: 670 / 357;
    flex: none;
  }

  .news-featured__media img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 820px) {
  .news-hero h1 span,
  .news-hero h1 em {
    white-space: normal;
  }

  .news-featured__copy {
    padding: 24px 22px 28px;
  }
}

/* Unified hero style with home page */
.news-hero {
  isolation: isolate;
  min-height: clamp(560px, 78vh, 760px);
  align-items: center;
  padding: 54px 0 42px;
}

.news-hero h1 {
  font-size: clamp(54px, 5.2vw, 68px);
  line-height: 1.03;
  margin-bottom: 18px;
  max-width: 50%;
  text-wrap: balance;
}

.news-hero__lead {
  max-width: 50%;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.53;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .news-hero h1,
  .news-hero__lead {
    max-width: none;
  }
}

.news-story {
  padding: 120px 0 88px;
}

.news-story__body {
  max-width: 760px;
}

.news-story h1 {
  max-width: 18em;
  margin-bottom: 28px;
  color: #161d33;
}

.news-story .news-meta-line {
  margin-bottom: 18px;
}

.news-story .news-meta-line span:first-child {
  color: var(--navy);
}

.news-story__figure {
  margin: 0 0 28px;
}

.news-story__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-story__body > p {
  color: #586079;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.news-story .crumb a {
  color: inherit;
  text-decoration: none;
}

.news-featured[hidden] {
  display: none !important;
}

.feed-card[data-href],
.news-featured[data-href] {
  cursor: pointer;
}

article[hidden] {
  display: none !important;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tags:empty {
  display: none;
}

.news-story .news-tags {
  margin: 4px 0 22px;
}

.feed-card .news-tags,
.news-featured .news-tags {
  margin-top: 14px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(67, 87, 160, 0.08);
  color: #4357a0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}

.news-tag-filter {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: rgba(67, 87, 160, 0.08);
  color: #4357a0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
