.page-news {
  --nc-cream: #FDF6E3;
  --nc-ink: #1A2A3A;
  --nc-text: #2C3E50;
  --nc-blue: #0E6FA8;
  --nc-blue-light: #85C1E9;
  --nc-red: #C0392B;
  --nc-gold: #E6B450;
  --nc-green: #27AE60;

  background: var(--nc-cream);
  color: var(--nc-text);
  font-family: var(--font-serif);
  overflow-x: hidden;
}

.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news .news-masthead {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  position: relative;
}

.page-news .masthead__kicker {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--nc-red);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.page-news .masthead__main h1 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.1rem, 6.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--nc-ink);
  margin: .2rem 0 .6rem;
  letter-spacing: -.02em;
}

.page-news .masthead__sub {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--nc-blue);
  margin-bottom: 1.1rem;
}

.page-news .masthead__lead {
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.8;
  border-left: 3px solid var(--nc-gold);
  padding-left: 1rem;
  margin: 0;
}

.page-news .masthead__side {
  display: none;
}

.page-news .masthead__meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--nc-ink);
}

.page-news .masthead__meta span {
  background: var(--nc-cream);
  border: 1px solid rgba(14, 111, 168, .25);
  padding: .35rem .75rem;
  border-radius: 99px;
}

.page-news .flag-ribbon {
  display: flex;
  height: 10px;
  width: 100%;
}

.page-news .flag-ribbon span {
  flex: 1;
}

.page-news .flag-ribbon span:nth-child(1) {
  background: var(--nc-blue);
}

.page-news .flag-ribbon span:nth-child(2) {
  background: var(--nc-red);
}

.page-news .flag-ribbon span:nth-child(3) {
  background: var(--nc-gold);
}

.page-news .flag-ribbon span:nth-child(4) {
  background: var(--nc-green);
}

.page-news .news-section {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
  position: relative;
}

.page-news .news-section--alt,
.page-news .news-section--inverse {
  margin-left: .75rem;
  margin-right: .75rem;
}

.page-news .news-section--alt {
  background: linear-gradient(180deg, rgba(14, 111, 168, .07), rgba(14, 111, 168, .02));
  border-radius: 20px;
}

.page-news .news-section--inverse {
  background: var(--nc-ink);
  color: var(--nc-cream);
  border-radius: 20px;
}

.page-news .section-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: .4rem;
}

.page-news .section-index {
  position: relative;
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 3.1rem;
  line-height: .9;
  color: rgba(14, 111, 168, .15);
  transform: rotate(-6deg);
  transform-origin: left top;
  user-select: none;
  margin-right: .9rem;
}

.page-news .news-section--inverse .section-index {
  color: rgba(230, 180, 80, .28);
}

.page-news .section-index-rot {
  position: absolute;
  right: -1rem;
  top: 4px;
  writing-mode: vertical-rl;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 500;
  color: var(--nc-red);
  letter-spacing: .14em;
  transform: rotate(180deg);
}

.page-news .section-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--nc-ink);
  margin: 0;
  line-height: 1.2;
}

.page-news .news-section--inverse .section-title {
  color: var(--nc-cream);
}

.page-news .section-lead {
  margin: .6rem 0 1.6rem 2.1rem;
  max-width: 46ch;
  font-size: .95rem;
  line-height: 1.7;
}

.page-news .news-section--inverse .section-lead {
  color: rgba(253, 246, 227, .8);
}

.page-news .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-news .news-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform var(--t), box-shadow var(--t);
}

.page-news .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(26, 42, 58, .12);
}

.page-news .news-card__image {
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
}

.page-news .news-card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-card__content .meta {
  font-family: var(--font-sans);
  font-size: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .45rem;
}

.page-news .news-card__title {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--nc-ink);
  margin: .5rem 0 .6rem;
}

.page-news .news-card--feature .news-card__title {
  font-size: 1.4rem;
}

.page-news .news-card__excerpt {
  font-size: .9rem;
  line-height: 1.7;
  margin: 0 0 .9rem;
}

.page-news .analysis-feature {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.page-news .analysis-feature__figure {
  margin: 0;
}

.page-news .analysis-feature__figure img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

.page-news .analysis-feature__figure figcaption {
  font-size: .75rem;
  color: rgba(44, 62, 80, .8);
  margin-top: .5rem;
}

.page-news .analysis-feature__body {
  padding: .4rem 0;
}

.page-news .analysis-feature__body h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--nc-ink);
  margin: .75rem 0 .75rem;
  line-height: 1.3;
}

.page-news .analysis-feature__body p {
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.page-news .analysis-feature__body .btn {
  padding: .65rem 1.1rem;
  font-size: .85rem;
}

.page-news .analysis-notes {
  border-top: 1px dashed rgba(14, 111, 168, .35);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.page-news .analysis-notes p {
  margin: 0;
}

.page-news .changelog {
  display: grid;
  gap: 1.5rem;
}

.page-news .changelog > img {
  border-radius: var(--radius);
  width: 100%;
}

.page-news .changelog__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .changelog__list li {
  position: relative;
  padding: .9rem 0 .9rem 1.5rem;
  border-bottom: 1px solid rgba(44, 62, 80, .1);
  font-size: .95rem;
  line-height: 1.65;
}

.page-news .changelog__list li:last-child {
  border-bottom: 0;
}

.page-news .changelog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  background: var(--nc-blue);
  border-radius: 50%;
}

.page-news .changelog__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  color: var(--nc-red);
  background: rgba(192, 57, 43, .1);
  padding: .15rem .5rem;
  border-radius: 99px;
  margin-right: .5rem;
}

.page-news .insight-wrap {
  display: grid;
  gap: 1.5rem;
}

.page-news .insight-wrap > img {
  border-radius: var(--radius);
  width: 100%;
}

.page-news .insight-copy > p {
  font-size: .95rem;
  line-height: 1.7;
}

.page-news .insight-copy ul {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.page-news .insight-copy li {
  position: relative;
  padding: .55rem 0 .55rem 1.6rem;
  border-bottom: 1px solid rgba(253, 246, 227, .15);
  font-size: .92rem;
}

.page-news .insight-copy li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--nc-gold);
  transform: rotate(45deg);
}

.page-news .insight-note {
  color: rgba(253, 246, 227, .8);
}

.page-news .news-section--inverse a {
  color: var(--nc-gold);
}

.page-news .insight-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin: 1.5rem 0;
}

.page-news .insight-stat {
  background: rgba(230, 180, 80, .12);
  border: 1px solid rgba(230, 180, 80, .28);
  border-radius: 12px;
  padding: .85rem 1rem;
}

.page-news .stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--nc-gold);
  line-height: 1.2;
}

.page-news .stat-label {
  font-size: .75rem;
  color: rgba(253, 246, 227, .85);
}

@media (min-width: 640px) {
  .page-news .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .news-card--feature {
    grid-column: 1 / -1;
  }

  .page-news .news-card__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
  }
}

@media (min-width: 800px) {
  .page-news .news-masthead {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: end;
    padding: 5rem 2.5rem 3.5rem;
  }

  .page-news .masthead__side {
    display: block;
    writing-mode: vertical-rl;
    font-family: var(--font-sans);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(14, 111, 168, .7);
    transform: rotate(180deg);
  }

  .page-news .masthead__meta {
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-news .news-section {
    padding: 4.5rem 2.5rem;
  }

  .page-news .news-section--alt,
  .page-news .news-section--inverse {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-news .section-index {
    font-size: 5rem;
  }

  .page-news .section-title {
    font-size: 1.8rem;
  }

  .page-news .section-lead {
    margin-left: 3rem;
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .page-news .news-card--feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }

  .page-news .news-card--feature .news-card__image {
    margin: 0;
    height: 100%;
    min-height: 320px;
  }

  .page-news .news-card--feature .news-card__image img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
  }

  .page-news .news-card--feature .news-card__content {
    padding: 2.5rem 2.5rem 2.5rem 0;
  }

  .page-news .analysis-feature {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 2.5rem;
    margin: 2rem 0;
  }

  .page-news .analysis-feature__figure img {
    width: 100%;
  }

  .page-news .changelog {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 2.5rem;
  }

  .page-news .insight-wrap {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2.5rem;
  }

  .page-news .insight-wrap > img {
    order: 2;
  }

  .page-news .insight-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .page-news .news-card--feature .news-card__title {
    font-size: 1.65rem;
  }

  .page-news .news-card--feature .news-card__excerpt {
    font-size: 1rem;
  }

  .page-news .analysis-feature__body h3 {
    font-size: 1.6rem;
  }
}
