.news-page-body {
  background: #f8fafc;
  color: var(--color-ink);
}
.news-page-body .site-header {
  background: var(--gradient-hero);
}
.news-page-body .site-footer__container {
  width: min(100%, calc(var(--container-wide) + (var(--page-padding) * 2)));
  padding-inline: var(--page-padding);
}
.news-main {
  padding: calc(var(--header-height) + 5rem) var(--page-padding) 6rem;
  min-height: 80vh;
  background: linear-gradient(135deg, #fff 0%, #f0f6fd 100%);
}
.news-container {
  width: min(100%, var(--container-wide));
  margin-inline: auto;
}
.news-intro {
  max-width: 46rem;
  margin-bottom: 2.75rem;
}
.news-intro h1 {
  margin-top: 1.25rem;
  color: var(--color-navy);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.news-intro__text {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #596574;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-block: 0.5rem 2.5rem;
}
.news-filters a {
  display: block;
  padding: 0.65rem 1.1rem;
  border: 1px solid #d8e1eb;
  border-radius: 999px;
  background: #fff;
  color: #29425c;
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
}
.news-filters a:hover {
  border-color: var(--color-primary);
}
.news-filters a[aria-current] {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dfe6ef;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.5rem 2rem rgba(13, 46, 82, 0.035);
}
.news-card__image {
  display: block;
  aspect-ratio: 20 / 13;
  overflow: hidden;
  background: var(--gradient-hero);
}
.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-card:hover .news-card__image img {
  transform: scale(1.025);
}
.news-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.news-card__placeholder img {
  width: 7rem;
  height: auto;
  max-width: 45%;
  max-height: 70%;
  object-fit: contain;
}
.news-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.news-card:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.news-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.625rem;
  color: #5a6876;
  font-size: 0.75rem;
  line-height: 1.6;
}
.news-meta a {
  text-decoration: none;
  color: var(--color-primary);
}
.news-meta a:hover {
  text-decoration: underline;
}
.news-card h2 {
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.news-card h2 a {
  color: var(--color-navy);
  text-decoration: none;
}
.news-card h2 a:hover {
  color: var(--color-primary);
}
.news-card__content > p {
  color: #596574;
  font-size: 0.875rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.news-pagination {
  margin-top: 3rem;
}
.news-pagination ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.875rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e1eb;
  border-radius: 0.5rem;
  background: #fff;
  text-decoration: none;
  font-size: 0.875rem;
}
.news-pagination .current {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}
.news-pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.news-empty {
  padding: 4rem 2rem;
  border: 1px dashed #c8d6e5;
  border-radius: 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
}
.news-empty h2 {
  font-size: 1.75rem;
  color: var(--color-navy);
  font-weight: 400;
}
.news-empty p {
  margin: 1rem auto;
  max-width: 32rem;
  line-height: 1.7;
  color: #596574;
}
.news-empty a {
  color: var(--color-primary);
}
.news-main a:focus-visible,
.news-main summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}
.news-back {
  display: inline-flex;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.news-back:hover {
  text-decoration: underline;
}
.news-article__header {
  max-width: 57rem;
  margin: 2.75rem 0 2.5rem;
}
.news-article__header h1 {
  margin-top: 1.25rem;
  color: var(--color-navy);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.news-article__lead {
  margin-top: 1.5rem;
  color: #596574;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.75;
}
.news-article__hero {
  margin: 0 0 3.5rem;
}
.news-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: cover;
  object-position: center center;
  border-radius: 1.25rem;
  background: #e7eef6;
}
.news-article__hero figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #596574;
}
.news-article__layout {
  max-width: 48rem;
  margin-inline: auto;
}
.news-article__layout.has-toc {
  display: grid;
  grid-template-columns: minmax(0, 46rem) minmax(13rem, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: none;
  align-items: start;
}
.news-article__layout > .article-content {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.news-toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  border-left: 1px solid #d7e2ee;
  padding-left: 1.5rem;
  max-height: calc(100svh - var(--header-height) - 4rem);
  overflow: auto;
}
.news-toc summary {
  cursor: pointer;
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 600;
}
.news-toc ol {
  display: grid;
  gap: 0.875rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.news-toc a {
  color: #596574;
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.news-toc a:hover,
.news-toc a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}
.news-toc__h3 {
  padding-left: 0.875rem;
}
.news-article__end {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #d7e2ee;
}
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .news-article__layout.has-toc {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .news-article__layout > .article-content {
    width: 100%;
  }
  .news-toc {
    position: static;
    width: 100%;
    max-height: none;
    padding: 1.25rem;
    border: 1px solid #d7e2ee;
    border-radius: 0.75rem;
    background: #fff;
  }
}
@media (max-width: 600px) {
  .news-main {
    padding: calc(var(--header-height) + 2.5rem) var(--page-padding) 3.5rem;
  }
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .news-intro {
    margin-bottom: 1.75rem;
  }
  .news-intro__text {
    font-size: 0.9375rem;
  }
  .news-filters {
    padding-bottom: 1.75rem;
  }
  .news-filters a {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
  .news-article__header {
    margin-top: 2rem;
  }
  .news-article__hero {
    margin-bottom: 2rem;
  }
  .news-article__hero img {
    border-radius: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .news-card__image img {
    transition: none;
  }
}
