.article-page {
  background: #f7f5f0;
}

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 82px;
  border-bottom: 1px solid rgba(215, 225, 226, 0.9);
  background:
    radial-gradient(circle at 82% 14%, rgba(189, 155, 93, 0.2), transparent 24%),
    linear-gradient(118deg, #f8f5ef 0%, #edf4f3 100%);
}

.article-hero::after {
  position: absolute;
  right: -90px;
  bottom: -290px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(40, 100, 135, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(40, 100, 135, 0.035), 0 0 0 150px rgba(40, 100, 135, 0.025);
  content: "";
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.article-back {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.article-back:hover {
  color: var(--gold-deep);
}

.article-hero .eyebrow {
  margin-bottom: 17px;
}

.article-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--navy);
  font: 500 clamp(40px, 4.65vw, 60px)/1.24 var(--display-serif);
  letter-spacing: -0.025em;
}

.article-deck {
  max-width: 720px;
  margin: 28px 0 0;
  color: #506e7d;
  font-size: 18px;
  line-height: 1.8;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(18, 57, 83, 0.14);
}

.article-byline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
}

.article-byline strong,
.article-byline div span {
  display: block;
}

.article-byline strong {
  color: var(--navy);
  font-size: 13px;
}

.article-byline div span,
.article-meta {
  color: var(--muted);
  font-size: 11px;
}

.article-meta {
  margin-left: auto;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 78px;
  padding-top: 82px;
  padding-bottom: 110px;
}

.article-sidebar {
  min-width: 0;
}

.article-toc {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 3px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.article-toc > span {
  margin-bottom: 11px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.article-toc a {
  padding: 5px 0;
  color: #647d89;
  font-size: 12px;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--navy);
}

.article-side-cta {
  display: grid;
  gap: 11px;
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-side-cta span {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
}

.article-side-cta strong {
  color: var(--navy);
  font: 17px/1.55 var(--display-serif);
}

.article-side-cta a {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.article-body {
  min-width: 0;
  color: #35596c;
  font-size: 16px;
  line-height: 2;
}

.article-lead {
  margin: 0;
  color: var(--navy);
  font: 23px/1.85 var(--display-serif);
}

.article-pullquote {
  margin: 40px 0 68px;
  padding: 26px 30px;
  border-left: 4px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  font: 23px/1.75 var(--display-serif);
}

.article-body section {
  scroll-margin-top: 120px;
  margin-top: 72px;
}

.article-section-number {
  margin: 0 0 8px;
  color: var(--gold);
  font: 22px/1 var(--serif);
  letter-spacing: 0.08em;
}

.article-body h2 {
  margin: 0 0 27px;
  color: var(--navy);
  font: 500 35px/1.45 var(--display-serif);
  letter-spacing: -0.02em;
}

.article-body h3 {
  color: var(--navy);
}

.article-body p {
  margin: 0 0 22px;
}

.article-figure {
  margin: 46px 0 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(9, 40, 59, 0.08);
}

.article-figure a {
  display: block;
}

.article-figure img {
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 21px 20px;
  border-top: 1px solid var(--line);
}

.article-figure figcaption strong {
  color: var(--navy);
  font-size: 13px;
}

.article-figure figcaption span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.article-figure-coverage {
  max-width: 690px;
}

.article-figure-nib-charts {
  background: #f6f1da;
}

.nib-chart-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}

.nib-chart-pair a {
  overflow: hidden;
  background: #fff;
}

.article-figure .nib-chart-pair img {
  display: block;
  width: 100%;
  height: auto;
}

.article-photo {
  margin: 42px 0 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(9, 40, 59, 0.08);
}

.article-photo img {
  width: 100%;
  max-height: 510px;
  object-fit: cover;
}

.article-photo-care img {
  object-position: center 48%;
}

.article-photo-recovery {
  max-width: 620px;
}

.article-photo-recovery img {
  max-height: 610px;
  object-position: center 46%;
}

.article-photo figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.article-photo figcaption a {
  color: var(--gold-deep);
}

.article-costs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px 0 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.article-costs > div {
  padding: 22px 18px;
  background: var(--white);
}

.article-costs small,
.article-costs strong,
.article-costs span {
  display: block;
}

.article-costs small {
  min-height: 34px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.article-costs strong {
  margin-top: 9px;
  color: var(--navy);
  font: 22px/1.3 var(--serif);
}

.article-costs span {
  margin-top: 5px;
  color: var(--gold-deep);
  font-size: 9px;
}

.article-reasons {
  display: grid;
  gap: 14px;
  margin: 30px 0 34px;
}

.article-reason {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 23px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-reason > span {
  color: var(--gold);
  font: 24px/1.2 var(--serif);
}

.article-reason h3 {
  margin: 0 0 7px;
  font: 21px/1.5 var(--display-serif);
}

.article-reason p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.article-reason p a,
.article-source-line a {
  margin-left: 4px;
  color: var(--gold-deep);
}

.article-source-line {
  padding: 13px 15px;
  border-left: 2px solid var(--gold);
  background: #f1eee7;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.article-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 32px;
}

.article-comparison > div {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-comparison span,
.article-note > strong {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-comparison h3 {
  margin: 11px 0 13px;
  font: 20px/1.5 var(--display-serif);
}

.article-comparison p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.article-note {
  margin: 34px 0;
  padding: 23px 25px;
  border: 1px solid rgba(189, 155, 93, 0.42);
  background: #f3ede1;
}

.article-note > strong {
  display: block;
  color: var(--navy);
  font: 600 20px/1.5 var(--display-serif);
  letter-spacing: 0;
}

.article-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.excess-example {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 31px 0 34px;
  padding: 26px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.excess-example small,
.excess-example strong {
  display: block;
}

.excess-example small {
  color: #b9ced6;
  font-size: 10px;
}

.excess-example strong {
  margin-top: 5px;
  font: 25px/1.2 var(--serif);
}

.excess-example > span {
  color: var(--gold);
  font: 25px/1 var(--serif);
}

.article-disclaimer {
  margin-top: 78px;
  padding: 28px 30px;
  border-top: 3px solid var(--gold);
  background: #e7efef;
}

.article-disclaimer > strong {
  color: var(--navy);
  font-size: 13px;
}

.article-disclaimer p {
  margin: 10px 0 0;
  color: #607986;
  font-size: 11px;
  line-height: 1.85;
}

.article-body .article-author {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 34px;
  margin-top: 70px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.article-author > img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  object-position: 50% 18%;
}

.article-author span {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.article-author h2 {
  margin: 6px 0 10px;
  font-size: 28px;
}

.article-author p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.article-author .button {
  margin-top: 5px;
  color: var(--white);
}

.article-hero-inflation {
  background:
    radial-gradient(circle at 82% 18%, rgba(189, 155, 93, 0.24), transparent 25%),
    linear-gradient(118deg, #f8f5ef 0%, #e7f0ef 100%);
}

.inflation-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 330px;
  margin: 46px 0 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(207, 175, 108, 0.2), transparent 20%),
    linear-gradient(132deg, #0a2d43 0%, #164b63 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(9, 40, 59, 0.14);
}

.inflation-visual::after {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.018);
  content: "";
}

.inflation-visual-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 48px 48px;
}

.inflation-visual-copy > span {
  color: #dfc17e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.inflation-visual-copy > strong {
  margin-top: 17px;
  font: 500 31px/1.55 var(--display-serif);
}

.inflation-visual-copy > p {
  margin: 19px 0 0;
  color: #bdd0d8;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.inflation-visual-mark {
  position: relative;
  z-index: 2;
  min-height: 330px;
}

.medical-cross {
  position: absolute;
  top: 48px;
  right: 61px;
  width: 68px;
  height: 68px;
  border: 11px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.medical-cross::before,
.medical-cross::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #dfc17e;
  content: "";
  transform: translate(-50%, -50%);
}

.medical-cross::before { width: 34px; height: 9px; }
.medical-cross::after { width: 9px; height: 34px; }

.inflation-visual-mark > i {
  position: absolute;
  bottom: 48px;
  width: 22px;
  background: linear-gradient(180deg, #d9b76e, #a98442);
}

.inflation-visual-mark > i:nth-of-type(1) { right: 213px; height: 46px; }
.inflation-visual-mark > i:nth-of-type(2) { right: 168px; height: 83px; }
.inflation-visual-mark > i:nth-of-type(3) { right: 123px; height: 128px; }
.inflation-visual-mark > i:nth-of-type(4) { right: 78px; height: 190px; }

.trend-line {
  position: absolute;
  right: 69px;
  bottom: 137px;
  width: 172px;
  height: 97px;
  border-top: 3px solid rgba(255, 255, 255, 0.88);
  transform: rotate(-34deg);
  transform-origin: right center;
}

.trend-line::after {
  position: absolute;
  top: -8px;
  right: -1px;
  width: 13px;
  height: 13px;
  border-top: 3px solid rgba(255, 255, 255, 0.88);
  border-right: 3px solid rgba(255, 255, 255, 0.88);
  content: "";
  transform: rotate(45deg);
}

.inflation-drivers .article-reason {
  grid-template-columns: 54px 1fr;
}

.inflation-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 35px 0 28px;
}

.cost-trend-card {
  min-width: 0;
  padding: 25px 25px 22px;
  border-top: 4px solid #2d7087;
  background: #fff;
  box-shadow: 0 14px 38px rgba(9, 40, 59, 0.08);
}

.cost-trend-card-specialist {
  border-top-color: var(--gold);
}

.cost-trend-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.cost-trend-heading span,
.cost-trend-heading strong {
  grid-column: 1;
}

.cost-trend-heading span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.cost-trend-heading strong {
  margin-top: 5px;
  color: var(--navy);
  font: 21px/1.4 var(--display-serif);
}

.cost-trend-heading b {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--gold-deep);
  font: 600 31px/1 var(--serif);
}

.cost-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 30px;
  height: 190px;
  margin-top: 23px;
  padding: 12px 28px 0;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0, transparent 44px, rgba(18, 57, 83, 0.07) 45px);
}

.cost-bars > div {
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
}

.cost-bars i {
  position: absolute;
  bottom: 0;
  width: min(56px, 82%);
  height: var(--bar-height);
  background: linear-gradient(180deg, #2d7087, #123953);
}

.cost-trend-card-specialist .cost-bars i {
  background: linear-gradient(180deg, #d1ae63, #9b7636);
}

.cost-bars span,
.cost-bars small {
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.cost-bars span {
  bottom: -25px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.cost-bars small {
  bottom: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.inflation-table-wrap {
  margin: 50px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.inflation-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.inflation-table caption {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font: 600 17px/1.45 var(--display-serif);
  text-align: left;
}

.inflation-table th,
.inflation-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.inflation-table thead th {
  background: #e8f0f0;
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.inflation-table tbody th {
  color: var(--navy);
  font-weight: 700;
}

.inflation-table tbody tr:last-child th,
.inflation-table tbody tr:last-child td {
  border-bottom: 0;
}

.inflation-table td strong {
  color: var(--gold-deep);
  font: 600 19px/1 var(--serif);
}

.article-source-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 23px;
  margin: 30px 0 0;
  padding: 23px 25px;
  border-left: 3px solid #64d548;
  background: #eef5ec;
}

.article-source-card img {
  width: 96px;
  height: auto;
}

.article-source-card strong {
  color: var(--navy);
  font-size: 11px;
}

.article-source-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.article-data-example {
  margin-top: 66px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.article-data-example > span {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.article-data-example h3 {
  margin: 10px 0 18px;
  font: 500 29px/1.5 var(--display-serif);
}

.article-data-example p {
  margin-bottom: 0;
}

.article-figure-claims-data {
  background: #fbfafc;
}

.article-figure-claims-data img {
  display: block;
}

.inflation-actions {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 42px;
  }

  .article-body {
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .article-hero {
    padding: 42px 0 52px;
  }

  .article-hero::after {
    right: -250px;
    bottom: -300px;
  }

  .article-back {
    margin-bottom: 26px;
  }

  .article-hero h1 {
    font-size: clamp(32px, 9.2vw, 40px);
    line-height: 1.3;
    letter-spacing: -0.018em;
  }

  .article-deck {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.75;
  }

  .article-byline {
    display: grid;
    grid-template-columns: 46px 1fr;
    margin-top: 26px;
    padding-top: 18px;
  }

  .article-byline img {
    width: 46px;
    height: 46px;
  }

  .article-meta {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .article-layout {
    display: block;
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .article-sidebar {
    margin-bottom: 43px;
  }

  .article-toc {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 5px 16px;
    padding: 17px 18px 18px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    background: var(--white);
  }

  .article-toc > span {
    grid-column: 1 / -1;
  }

  .article-toc a {
    padding: 4px 0;
    line-height: 1.55;
  }

  .article-side-cta {
    display: none;
  }

  .article-lead {
    font-size: 20px;
    line-height: 1.8;
  }

  .article-pullquote {
    margin: 31px 0 51px;
    padding: 22px 21px;
    font-size: 20px;
  }

  .article-body section {
    margin-top: 56px;
  }

  .article-body h2 {
    margin-bottom: 21px;
    font-size: 29px;
  }

  .article-body p {
    margin-bottom: 19px;
    line-height: 1.95;
  }

  .article-figure {
    margin: 35px 0 44px;
  }

  .article-photo {
    margin: 32px 0 42px;
  }

  .article-photo img,
  .article-photo-recovery img {
    max-height: none;
  }

  .article-costs {
    grid-template-columns: 1fr;
  }

  .article-costs small {
    min-height: 0;
  }

  .article-reason {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 20px 18px;
  }

  .article-figure figcaption {
    padding: 15px 16px 17px;
  }

  .article-comparison {
    grid-template-columns: 1fr;
  }

  .excess-example {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .excess-example > span {
    transform: rotate(90deg);
  }

  .article-disclaimer {
    margin-top: 58px;
    padding: 23px 21px;
  }

  .article-body .article-author {
    grid-template-columns: 104px 1fr;
    align-items: start;
    gap: 20px;
    margin-top: 55px;
  }

  .article-author > img {
    width: 104px;
    height: 134px;
  }

  .article-author h2 {
    font-size: 24px;
  }

  .article-author p,
  .article-author .button {
    grid-column: 1 / -1;
  }

  .inflation-visual {
    grid-template-columns: 1fr;
    min-height: 430px;
    margin: 35px 0 44px;
  }

  .inflation-visual-copy {
    justify-content: flex-start;
    padding: 34px 28px 0;
  }

  .inflation-visual-copy > strong {
    font-size: 26px;
  }

  .inflation-visual-mark {
    min-height: 225px;
  }

  .medical-cross {
    top: 14px;
    right: 35px;
    width: 52px;
    height: 52px;
    border-width: 8px;
  }

  .inflation-visual-mark > i:nth-of-type(1) { right: 190px; height: 35px; }
  .inflation-visual-mark > i:nth-of-type(2) { right: 150px; height: 61px; }
  .inflation-visual-mark > i:nth-of-type(3) { right: 110px; height: 92px; }
  .inflation-visual-mark > i:nth-of-type(4) { right: 70px; height: 138px; }

  .trend-line {
    right: 61px;
    bottom: 115px;
    width: 145px;
    height: 72px;
  }

  .nib-chart-pair {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 9px;
  }

  .inflation-table-wrap {
    margin-top: 46px;
  }

  .inflation-table {
    min-width: 510px;
  }

  .article-source-card {
    grid-template-columns: 78px 1fr;
    gap: 17px;
    padding: 20px 18px;
  }

  .article-source-card img {
    width: 72px;
  }

  .article-data-example {
    margin-top: 52px;
    padding-top: 27px;
  }

  .article-data-example h3 {
    font-size: 25px;
  }

  .article-figure-claims-data a {
    overflow-x: auto;
  }

  .article-figure-claims-data img {
    min-width: 620px;
  }

  .inflation-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card-media img {
    transition: none;
  }
}
