:root {
  --article-ink: #0b2853;
  --article-blue: #087fd1;
  --article-blue-dark: #0759a6;
  --article-muted: #60738b;
  --article-line: #dce6ef;
  --article-soft: #f4f8fb;
  --article-page: #f7f9fc;
  --article-max: 1180px;
  --article-reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--article-page); }

/*
 * PbootCMS rich-text compatibility: the editor output can omit the closing
 * site header tag when a full article fragment is rendered. Keep the three
 * navigation children in a normal header row and let the article/footer span
 * the full viewport instead of becoming narrow grid cells.
 */
.site-header:has(> #main-content) {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 5.5vw !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  grid-template-rows: 82px 54px auto auto !important;
  align-items: center !important;
  overflow: visible !important;
  background: #fff !important;
}
.site-header:has(> #main-content) > #main-content,
.site-header:has(> #main-content) > .subpage-footer {
  grid-column: 1 / -1 !important;
  width: calc(100% + 11vw) !important;
  min-width: 0 !important;
  margin-right: -5.5vw !important;
  margin-left: -5.5vw !important;
}
.site-header:has(> #main-content) > #main-content { grid-row: 3 !important; }
.site-header:has(> #main-content) > .subpage-footer { grid-row: 4 !important; }

.article-reading-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #58c9ff, var(--article-blue));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.article-breadcrumb {
  width: min(var(--article-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 18px;
  color: #71839a;
  font-size: 13px;
}
.article-breadcrumb a { color: inherit; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--article-blue); }
.article-breadcrumb span { margin: 0 9px; color: #b5c1cc; }
.article-breadcrumb strong { color: var(--article-ink); font-weight: 700; }

/* Editorial lead: text and a real archive image, not a full-screen campaign banner. */
.article-hero {
  position: relative;
  width: min(var(--article-max), calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  overflow: hidden;
  color: var(--article-ink);
  background: #fff;
  border: 1px solid var(--article-line);
  box-shadow: 0 22px 60px rgba(8, 40, 83, .08);
  isolation: isolate;
}
.article-hero::after { display: none; }
.article-hero-media {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: #e8eef4;
}
.article-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 32, 70, .08), transparent 38%);
  pointer-events: none;
}
.article-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-height: 520px;
  margin: 0;
  padding: clamp(46px, 5vw, 74px);
  display: flex;
  align-items: center;
}

/* The same rich-text filter can omit the inner article header close tag. */
.article-hero:has(> .article-facts) {
  min-height: 0;
  grid-template-rows: 520px auto auto auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.article-hero:has(> .article-facts) > .article-hero-media,
.article-hero:has(> .article-facts) > .article-hero-inner { grid-row: 1; }
.article-hero:has(> .article-facts) > .article-hero-media {
  border: 1px solid var(--article-line);
  border-left: 0;
  box-shadow: 24px 22px 60px rgba(8, 40, 83, .07);
}
.article-hero:has(> .article-facts) > .article-hero-inner {
  background: #fff;
  border: 1px solid var(--article-line);
  border-right: 0;
  box-shadow: -24px 22px 60px rgba(8, 40, 83, .07);
}
.article-hero:has(> .article-facts) > .article-facts,
.article-hero:has(> .article-facts) > .article-layout,
.article-hero:has(> .article-facts) > .article-story-nav {
  grid-column: 1 / -1;
}
.article-hero:has(> .article-facts) > .article-facts { grid-row: 2; }
.article-hero:has(> .article-facts) > .article-layout { grid-row: 3; }
.article-hero:has(> .article-facts) > .article-story-nav { grid-row: 4; }
.article-hero-copy { max-width: 520px; }
.article-kicker {
  margin: 0 0 22px;
  color: var(--article-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.article-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 1.02;
  letter-spacing: -.048em;
}
.article-standfirst {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--article-muted);
  font-size: 17px;
  line-height: 1.68;
}
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 30px;
  color: #667b94;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article-hero-meta span {
  padding: 8px 11px;
  background: var(--article-soft);
  border: 1px solid var(--article-line);
}

.article-facts {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 80px));
  margin: -30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--article-line);
  box-shadow: 0 18px 46px rgba(8, 40, 83, .08);
}
.article-facts > div {
  min-height: 112px;
  padding: 23px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--article-line);
}
.article-facts > div:last-child { border-right: 0; }
.article-facts span {
  color: var(--article-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.article-facts strong {
  margin-top: 13px;
  color: var(--article-ink);
  font-size: 17px;
  line-height: 1.3;
}

.article-layout {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 96px;
  display: grid;
  grid-template-columns: 210px minmax(0, var(--article-reading));
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}
.article-rail {
  position: sticky;
  top: 118px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--article-line);
}
.article-rail-label {
  margin: 0 0 15px;
  color: var(--article-ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-rail nav { border-top: 1px solid var(--article-line); }
.article-rail a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 13px 0;
  color: #718299;
  border-bottom: 1px solid var(--article-line);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}
.article-rail a span { color: #a1aebc; font-size: 9px; font-weight: 900; }
.article-rail a:hover,
.article-rail a.is-active { color: var(--article-blue); }
.article-rail a.is-active span { color: var(--article-blue); }
.article-rail-back {
  display: block !important;
  margin-top: 17px;
  color: var(--article-blue-dark) !important;
  border: 0 !important;
  font-size: 12px !important;
}

.article-body {
  min-width: 0;
  padding: 54px clamp(28px, 5vw, 64px) 64px;
  background: #fff;
  border: 1px solid var(--article-line);
  box-shadow: 0 18px 50px rgba(8, 40, 83, .055);
}
.article-lede {
  margin: 0 0 58px;
  padding: 0 0 34px;
  color: var(--article-ink);
  border-bottom: 1px solid var(--article-line);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -.02em;
}
.article-section {
  scroll-margin-top: 130px;
  margin: 0 0 62px;
}
.article-section-number {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--article-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.article-section-number::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--article-blue);
}
.article-section h2 {
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.14;
  letter-spacing: -.034em;
}
.article-section p {
  margin: 22px 0 0;
  color: #4f647d;
  font-size: 17px;
  line-height: 1.86;
}
.article-section p strong { color: var(--article-ink); }
.article-product-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--article-line);
  list-style: none;
}
.article-product-list li {
  position: relative;
  min-height: 72px;
  padding: 20px 22px 19px 20px;
  color: var(--article-ink);
  border-right: 1px solid var(--article-line);
  border-bottom: 1px solid var(--article-line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.article-product-list li:nth-child(even) { border-right: 0; }
.article-product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 6px;
  height: 6px;
  background: var(--article-blue);
  border-radius: 50%;
}

.article-pullquote {
  margin: 58px 0;
  padding: 38px 40px;
  color: #fff;
  background: #0a376b;
  border-left: 5px solid #58c9ff;
}
.article-pullquote p {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 37px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.article-pullquote cite {
  display: block;
  margin-top: 18px;
  color: #8edaff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.article-media-break {
  margin: 46px 0 58px;
  background: #e8eef4;
}
.article-media-break img {
  width: 100%;
  max-height: 560px;
  display: block;
  object-fit: cover;
}
.article-media-break figcaption {
  position: static;
  padding: 12px 14px;
  color: #6b7d92;
  background: var(--article-soft);
  border: 1px solid var(--article-line);
  border-top: 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.article-gallery {
  margin: 38px 0 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.article-gallery.is-three { grid-template-columns: repeat(3, 1fr); }
.article-gallery.is-one { grid-template-columns: 1fr; }
.article-gallery img,
.article-gallery button img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}
.article-gallery button {
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e8eef4;
}

.article-close {
  margin-top: 58px;
  padding: 42px;
  color: #fff;
  background: linear-gradient(125deg, #082a57, #0876bd);
}
.article-close h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.7vw, 43px);
  line-height: 1.13;
  letter-spacing: -.035em;
}
.article-close p {
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
}
.article-close a {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 0 17px;
  color: var(--article-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.article-story-nav {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.article-story-nav a {
  min-height: 142px;
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--article-ink);
  background: #fff;
  border: 1px solid var(--article-line);
  text-decoration: none;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.article-story-nav a + a { text-align: right; }
.article-story-nav a:hover {
  transform: translateY(-3px);
  border-color: #a9d3ea;
  box-shadow: 0 14px 35px rgba(8, 40, 83, .08);
}
.article-story-nav span {
  color: var(--article-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.article-story-nav strong {
  max-width: 460px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.article-story-nav a + a strong { align-self: flex-end; }

.article-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.article-reveal.is-visible { opacity: 1; transform: none; }

.article-hero a:focus-visible,
.article-rail a:focus-visible,
.article-close a:focus-visible,
.article-story-nav a:focus-visible {
  outline: 3px solid #58c9ff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .article-hero { grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr); min-height: 470px; }
  .article-hero-media,
  .article-hero-media img,
  .article-hero-inner { min-height: 470px; }
  .article-hero-inner { padding: 42px; }
  .article-hero h1 { font-size: clamp(38px, 5.6vw, 54px); }
  .article-hero:has(> .article-facts) { grid-template-rows: 470px auto auto auto; }
  .article-facts { width: min(860px, calc(100% - 64px)); grid-template-columns: 1fr 1fr; }
  .article-facts > div:nth-child(2) { border-right: 0; }
  .article-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--article-line); }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-rail { position: static; display: grid; grid-template-columns: 1fr auto; gap: 18px; }
  .article-rail nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .article-rail a { padding-right: 12px; border-right: 1px solid var(--article-line); }
  .article-rail a:last-child { border-right: 0; }
  .article-rail-back { margin: 0; }
  .article-body { width: 100%; }
}

@media (max-width: 700px) {
  .article-breadcrumb,
  .article-hero,
  .article-layout,
  .article-story-nav { width: calc(100% - 32px); }
  .article-breadcrumb { padding-top: 17px; }
  .article-hero { display: flex; flex-direction: column; min-height: 0; }
  .article-hero-media { order: 1; width: 100%; min-height: 280px; }
  .article-hero-media img { min-height: 280px; height: 280px; }
  .article-hero-inner { order: 2; min-height: 0; padding: 34px 25px 38px; }
  .article-hero:has(> .article-facts) { width: 100%; }
  .article-hero:has(> .article-facts) > .article-hero-media,
  .article-hero:has(> .article-facts) > .article-hero-inner {
    width: calc(100% - 32px);
    margin-right: auto;
    margin-left: auto;
    border: 1px solid var(--article-line);
    box-shadow: none;
  }
  .article-hero:has(> .article-facts) > .article-hero-media { border-bottom: 0; }
  .article-hero:has(> .article-facts) > .article-hero-inner { border-top: 0; }
  .article-hero:has(> .article-facts) > .article-facts { order: 3; }
  .article-hero:has(> .article-facts) > .article-layout { order: 4; }
  .article-hero:has(> .article-facts) > .article-story-nav { order: 5; }
  .article-hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .article-standfirst { font-size: 15px; }
  .article-facts { width: calc(100% - 32px); margin-top: 16px; grid-template-columns: 1fr 1fr; box-shadow: none; }
  .article-facts > div { min-height: 96px; padding: 19px; }
  .article-facts strong { font-size: 15px; }
  .article-layout { padding: 60px 0 68px; }
  .article-rail { display: block; padding: 19px; }
  .article-rail nav { display: block; }
  .article-rail a { border-right: 0; }
  .article-rail-back { margin-top: 15px; }
  .article-body { padding: 36px 22px 42px; }
  .article-lede { margin-bottom: 46px; font-size: 22px; }
  .article-section { margin-bottom: 50px; }
  .article-section h2 { font-size: 30px; }
  .article-section p { font-size: 16px; }
  .article-product-list { grid-template-columns: 1fr; }
  .article-product-list li { border-right: 0; }
  .article-pullquote { margin: 46px 0; padding: 30px 24px; }
  .article-media-break { margin: 40px 0 50px; }
  .article-gallery,
  .article-gallery.is-three { grid-template-columns: 1fr; }
  .article-gallery img,
  .article-gallery button img,
  .article-gallery button { min-height: 300px; }
  .article-close { padding: 34px 24px; }
  .article-story-nav { grid-template-columns: 1fr; margin-bottom: 68px; }
  .article-story-nav a + a { text-align: left; }
  .article-story-nav a + a strong { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .article-reveal { opacity: 1; transform: none; }
}
