.article-page {
  --article-ink: #172538;
  --article-muted: #3e4e63;
  --article-rule: #d6dfe9;
  background: #f7f9fc;
  color: var(--article-ink);
  overflow-wrap: anywhere;
}

.article-frame {
  width: min(100% - 3rem, 64rem);
  margin-inline: auto;
}

.article-generated-cover {
  display: block;
  width: min(100%, 800px);
  height: auto;
  margin: clamp(1.5rem, 4vw, 3.5rem) auto 0;
  border-radius: 1rem;
}

.article-hero {
  padding-block: clamp(2.5rem, 7vw, 5.25rem);
  background: radial-gradient(ellipse at top right, #183d52, transparent 70%), #111d30;
  color: #f8fbff;
}

.article-page .article-back {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  color: #91e4f2;
  text-decoration: underline;
  text-underline-offset: .25em;
  font-size: 1rem;
  font-weight: 600;
}

.article-hero h1 {
  max-width: 21ch;
  margin: 1.1rem 0 0;
  color: inherit;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.article-hero .article-lead {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: #d5e1ed;
  font-size: clamp(1.08rem, 2.25vw, 1.28rem);
  line-height: 1.65;
}

.article-hero .article-date {
  display: block;
  margin-top: 1.25rem;
  color: #c2cfdd;
  font-size: .95rem;
}

.article-reading {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}

.article-reading-with-contents {
  display: grid;
  gap: 2.5rem;
}

.article-contents {
  align-self: start;
  min-width: 0;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--article-rule);
  border-radius: .75rem;
  background: #fff;
  font-size: .95rem;
  line-height: 1.45;
}

.article-contents p {
  margin: 0 0 .5rem;
  color: var(--article-ink);
  font-weight: 700;
}

.article-contents ul {
  margin: 0;
  padding-inline-start: 1.125rem;
  list-style: disc;
}

.article-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding-block: .25rem;
  color: #234f8d;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.article-copy,
.article-copy p,
.article-copy li {
  color: var(--article-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.article-copy {
  min-width: 0;
  max-width: min(64ch, 44rem);
}

.article-copy p {
  margin: .85rem 0 0;
}

.article-copy h2,
.article-copy h3 {
  color: var(--article-ink);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 650;
  line-height: 1.26;
}

.article-copy h3 { font-size: 1.25rem; }
.article-copy h2[id] { scroll-margin-top: 7rem; }
.article-copy h2[id]:target { text-decoration: underline #6dcee3; text-underline-offset: .18em; }
.article-copy h2[id]:focus-visible { outline: 2px solid #234f8d; outline-offset: .25rem; }
.article-copy > .article-section + .article-section { margin-top: clamp(2.15rem, 5vw, 3.25rem); }
.article-section h2 { margin: 0; }

.article-action {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--article-rule);
}

.article-action a { min-height: 44px; }

body:has(.article-action) .site_footer .footer_top { display: none; }

.article-cover {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: clamp(1.75rem, 5vw, 3rem);
  border-radius: 1rem;
}

.article-page .article-copy.w-richtext h2 { margin: 2.5rem 0 .65rem; }
.article-page .article-copy.w-richtext h3 { margin: 1.6rem 0 .5rem; }
.article-page .article-copy.w-richtext a {
  color: #234f8d;
  text-decoration: underline;
  text-underline-offset: .16em;
}

.article-copy.w-richtext figure,
.article-copy.w-richtext img { max-width: 100%; height: auto; }

.article-page .article-copy .article-processing-note {
  margin-top: 0;
  padding: 1rem 1.125rem;
  border-inline-start: 3px solid #3689a5;
  background: #eaf2f7;
  color: #263c51;
  font-size: .98rem;
}

.article-card {
  display: grid;
  align-content: center;
  gap: 1rem;
  height: 100%;
  min-height: 13rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid #304861;
  border-radius: 1rem;
  background: radial-gradient(ellipse at top right, #1f4053, transparent 90%), #152336;
}

.article-card h2 { margin: 0; font-size: 1.4rem; font-weight: 650; line-height: 1.25; }
.article-card h2 a { color: #f8fbff; text-decoration: underline; text-underline-offset: .18em; }
.article-card h2 a:hover { color: #91e4f2; }
.article-card p { margin: 0; color: #cddae8; font-size: 1rem; line-height: 1.55; }

.article-cookie-settings { display: none; }

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  body:has(.article-cookie-settings:not([hidden])) #cw-cookie-icon { display: none; }

  .article-cookie-settings:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .25rem .5rem;
    background: transparent;
    color: #cddae8;
    font-size: .875rem;
    text-decoration: underline;
    text-underline-offset: .2em;
  }

  .article-cookie-settings:hover { color: #fff; }
}

@media (min-width: 56rem) {
  .article-reading-with-contents {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 15.5rem);
    gap: clamp(2.5rem, 6vw, 5.5rem);
  }

  .article-reading-with-contents > .article-copy { grid-area: 1 / 1; }
  .article-contents { grid-area: 1 / 2; }
}

@media (max-width: 36rem) {
  .article-frame { width: calc(100% - 2.5rem); }
}

.article-copy .article-citation,
.article-sources a {
  color: #234f8d;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.article-copy .article-citation {
  display: inline-block;
  min-width: 1.5rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 650;
}

.article-sources ol,
.article-checklist {
  margin: .85rem 0 0;
  padding-inline-start: 1.5rem;
}

.article-sources ol { list-style: decimal; }
.article-checklist { list-style: disc; }

.article-sources li + li,
.article-checklist li + li { margin-top: .5rem; }

.article-sources li { scroll-margin-top: 7rem; }
.article-sources li:target { background: #eaf2f7; }
.article-sources li:focus-visible { outline: 2px solid #234f8d; outline-offset: .25rem; }
.article-sources li span { display: block; font-size: .95rem; }
