.website-page--news {
  --news-alternate-bg: #15181c;
}

.website-page--news .website-page-heading::after {
  bottom: -1px;
  height: calc(var(--section-wave-height) + 1px);
  background: var(--news-alternate-bg);
}

.website-page--news :is(.news-index--featured, .news-article) {
  background: var(--news-alternate-bg);
}

.website-page--news :is(.news-index--all, .news-more) {
  background: var(--bg);
}

.website-page--news :where(h1, h2, h3, p, a, li, time, span) {
  letter-spacing: 0;
}

.website-page--news .website-page-heading h1 {
  font-size: 3.25rem;
}

.website-page--news .website-page-heading__intro {
  font-size: 0.94rem;
}

.website-page--news .website-page-heading__meta {
  font-size: 0.84rem;
}

.website-page--news .website-page-heading__meta-link a,
.news-sources a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--green-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.website-page--news .website-page-heading__meta-link a:hover,
.news-sources a:hover {
  color: var(--fg);
}

.website-page--news .website-page-heading__back {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--green-2);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.website-page--news .website-page-heading__back:hover {
  color: var(--fg);
}

.website-page--news .website-page-heading__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.website-page--news .website-page-heading__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, #0f1216 0%, rgba(15, 18, 22, 0) 40%);
  content: "";
}

.website-page--news .website-page-heading__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
}

.news-index,
.news-article {
  padding: 72px 0 112px;
}

.news-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--surface);
}

.news-card__media picture {
  display: contents;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured__body {
  width: 100%;
  max-width: 80%;
}

.news-kicker {
  margin: 0 0 14px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-card__meta span {
  color: var(--green-2);
  font-weight: 750;
}

.news-featured__body h2,
.news-section-heading h2,
.news-facts h2,
.news-tags h2,
.news-sources h2 {
  letter-spacing: 0;
}

.news-featured__body h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.18;
}

.news-featured__body h2 a,
.news-card h3 a {
  color: var(--fg);
  text-decoration: none;
}

.news-featured__body h2 a:hover,
.news-card h3 a:hover {
  color: var(--green-2);
}

.news-featured__body > p:not(.news-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.news-text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  color: var(--fg);
  font-weight: 750;
  text-decoration: none;
}

.news-text-link:hover {
  color: var(--green-2);
}

.news-section-heading {
  max-width: 720px;
  margin: 104px 0 32px;
}

.news-section-heading h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.news-section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.news-index--all .news-section-heading {
  margin-top: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius-media);
  background: var(--surface);
}

.news-card__media {
  aspect-ratio: 8 / 5;
  border-radius: var(--radius-media) var(--radius-media) 0 0;
}

.news-card__body {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
}

.news-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.news-card__body > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.news-card .news-text-link {
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9rem;
}

.news-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.news-index--featured,
.news-article {
  padding-bottom: calc(112px + var(--section-wave-height));
}

.news-index--featured::after,
.news-article::after {
  position: absolute;
  z-index: 0;
  inset-inline: 0;
  bottom: -1px;
  height: calc(var(--section-wave-height) + 1px);
  background: var(--bg);
  content: "";
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24C170 13 325 28 500 20C675 12 820 5 990 15C1160 25 1305 19 1440 10V48H0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 24C170 13 325 28 500 20C675 12 820 5 990 15C1160 25 1305 19 1440 10V48H0Z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.news-index--featured > .container {
  position: relative;
  z-index: 1;
}

.news-article__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
  grid-template-areas:
    "main aside"
    "footer .";
  column-gap: 64px;
  row-gap: 0;
  justify-content: space-between;
  align-items: start;
}

.news-article__main {
  grid-area: main;
  min-width: 0;
}

.news-article__footer {
  grid-area: footer;
  min-width: 0;
}

.news-article__content {
  color: var(--fg);
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-article__content > :first-child {
  margin-top: 0;
}

.news-article__content > :last-child {
  margin-bottom: 0;
}

.news-article__content h2 {
  margin: 56px 0 18px;
  font-size: 1.8rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.news-article__content h3 {
  margin: 38px 0 14px;
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.news-article__content p,
.news-article__content ul,
.news-article__content ol,
.news-article__content blockquote {
  margin: 0 0 24px;
}

.news-article__content :where(ul, ol) {
  padding-left: 24px;
}

.news-article__content li + li {
  margin-top: 10px;
}

.news-article__content a {
  color: var(--fg);
  text-decoration-color: var(--green-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.news-article__content a:hover {
  color: var(--green-2);
}

.news-article__content blockquote {
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--green-2);
  color: var(--muted);
}

.news-article__updated {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.news-geo-summary {
  margin: 0;
}

.news-geo-summary h2 {
  margin-bottom: 16px;
}

.news-geo-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.news-article__aside {
  grid-area: aside;
  position: relative;
  display: grid;
  align-self: stretch;
  align-content: start;
  gap: 36px;
  padding: 2px 0 56px;
}

.news-article__aside section {
  padding-left: 20px;
  border-left: 2px solid var(--sep);
}

.news-article__aside h2 {
  margin: 0 0 16px;
  font-size: 0.93rem;
  line-height: 1.35;
}

.news-tags__category {
  margin: 0 0 26px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.news-facts ul,
.news-topic-list,
.news-sources ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-facts li,
.news-sources li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-facts li + li,
.news-sources li + li {
  margin-top: 12px;
}

.news-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-article__topics {
  margin-bottom: 44px;
}

.news-topic-list li {
  padding: 5px 8px;
  border: 1px solid var(--sep);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.news-featured__body > .news-topic-list,
.news-card__body > .news-topic-list {
  margin-bottom: 18px;
}

.news-more {
  padding: 80px 0 112px;
}

.news-more .news-section-heading {
  margin-top: 0;
}

.news-adjacent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 41px;
}

.news-adjacent__link {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding: 20px 0;
  color: var(--fg);
  text-decoration: none;
}

.news-adjacent__link--next {
  grid-column: 2;
  text-align: right;
}

.news-adjacent__link span {
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.news-adjacent__link strong {
  font-size: 1.02rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-adjacent__link:hover strong {
  color: var(--green-2);
}

.news-share-panel {
  position: absolute;
  bottom: 0;
  left: 0;
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  color: var(--muted);
  transform: translateY(3px);
}

.news-share a,
.news-share button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.news-share a:hover,
.news-share button:hover {
  color: var(--fg);
}

.news-share svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.news-share__icon--check,
.news-share button[data-state="copied"] .news-share__icon--link {
  display: none;
}

.news-share button[data-state="copied"] .news-share__icon--check {
  display: block;
}

.news-copy-buffer {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-article__layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 44px;
  }
}

@media (max-width: 860px) {
  .website-page--news .website-page-heading h1 {
    font-size: 2.5rem;
  }

  .news-index,
  .news-article {
    padding-top: 56px;
  }

  .news-article__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "footer"
      "aside";
  }

  .news-featured__body {
    max-width: none;
  }

  .news-featured__body h2 {
    font-size: 1.85rem;
  }

  .news-article__aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: start;
    margin-top: 44px;
    padding-bottom: 0;
  }

  .news-tags__category {
    display: none;
  }

  .news-sources {
    grid-column: 1 / -1;
  }

  .news-share-panel {
    position: static;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .news-index,
  .news-article {
    padding-bottom: 88px;
  }

  .news-index--featured,
  .news-article {
    padding-bottom: calc(88px + var(--section-wave-height));
  }

  .news-grid,
  .news-article__aside,
  .news-adjacent {
    grid-template-columns: 1fr;
  }

  .news-section-heading {
    margin-top: 80px;
  }

  .news-card__body {
    padding: 20px;
  }

  .news-article__content {
    font-size: 1rem;
    line-height: 1.72;
  }

  .news-article__content h2 {
    margin-top: 44px;
    font-size: 1.55rem;
  }

  .news-sources {
    grid-column: auto;
  }

  .news-adjacent__link--next {
    grid-column: 1;
    text-align: left;
  }

  .news-more {
    padding: 64px 0 88px;
  }
}

@media (max-width: 480px) {
  .website-page--news .website-page-heading h1 {
    font-size: 2.1rem;
  }

  .news-featured__body h2 {
    font-size: 1.65rem;
  }

  .news-card__meta {
    display: grid;
    gap: 3px;
  }
}
