:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fff;
  --ink: #162b3a;
  --text: #283942;
  --muted: #4b5b64;
  --accent: #172cb5;
  --accent-deep: #11208c;
  --line: #d9dcda;
  --accent-tint: #edf0ff;
  --accent-wash: #f6f7ff;
  --accent-line: #a7b3eb;
  --accent-on-dark: #d7dfff;
  --radius: 22px;
  --shadow: 0 0 0 1px rgb(43 30 77 / .06), 0 7px 18px rgb(51 35 83 / .05), 0 24px 55px rgb(50 26 95 / .08);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  font-size: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, .table-scroll:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 4px;
}
.wrap { width: min(1200px, 100% - clamp(32px, 8vw, 110px)); margin-inline: auto; min-width: 0; }
.skip { position: absolute; z-index: 3; padding: 10px 18px; background: var(--ink); color: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .64); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 1.12rem; font-weight: 730; letter-spacing: -.04em; line-height: 1; }
.brand-sign { display: block; flex-shrink: 0; width: 34px; height: 34px; border-radius: 5px; }
.nav, .site-footer nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); flex-wrap: wrap; }
.nav a, .site-footer nav a { font-size: .93rem; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover, .nav a[aria-current="page"], .site-footer nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .32em; }
.header-button { justify-self: end; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; min-height: 46px; padding: .62rem 1.22rem; font-weight: 650; font-size: .92rem; text-align: center; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease; }
.button-primary { color: white; background: var(--accent); border: 1px solid transparent; }
.button-primary:hover { background: var(--accent-deep); }
.button-outline { color: var(--accent-deep); border: 1px solid var(--accent-line); background: rgb(255 255 255 / .56); }
.button-outline:hover { background: var(--accent-tint); border-color: var(--accent); }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.12; }
.masthead {
  padding-block: clamp(36px, 6.5vw, 76px) clamp(23px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(235px, .8fr);
  align-items: end;
  gap: 20px clamp(22px, 6vw, 76px);
}
.masthead h1 {
  max-width: 16ch;
  font: 700 clamp(2.75rem, 5.4vw, 5.2rem)/.99 Georgia, "Times New Roman", serif;
  letter-spacing: -.057em;
  margin: 0;
  text-wrap: balance;
}
.hero-lead, .article-lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.66; max-width: 60ch; }
.hero-lead p { margin: 0 0 4px; }
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(260px, .8fr);
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: clamp(42px, 6vw, 80px);
}
.feature-main {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 14px;
  color: #f9f4ed;
  background: #182341;
}
.feature-main img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
.feature-copy { padding: clamp(20px, 3.6vw, 40px); }
.story-type {
  margin: 0 0 9px;
  display: block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 740;
  letter-spacing: .09em;
  line-height: 1.32;
  text-transform: uppercase;
}
.feature-copy .story-type { color: var(--accent-on-dark); }
.feature-copy h2 {
  font: 700 clamp(1.7rem, 3.15vw, 3.1rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.026em;
  margin-bottom: 11px;
}
.feature-copy p { max-width: 57ch; margin-bottom: 17px; color: #e4e9eb; }
.story-arrow { color: var(--accent-deep); background: var(--accent-on-dark); border-radius: 999px; min-height: 45px; gap: 9px; font-weight: 700; }
.feature-main:hover .story-arrow { text-decoration: underline; text-underline-offset: .19em; }
.feature-side {
  border-top: 3px solid var(--accent);
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.feature-side h2 { font-size: 1rem; margin: 13px 0 4px; }
.feature-side a { flex: 1; display: block; padding-block: 13px 16px; border-bottom: 1px solid var(--line); }
.feature-side a:hover h3 { color: var(--accent); }
.feature-side h3 { font: 700 clamp(1.32rem, 2vw, 1.76rem)/1.16 Georgia, "Times New Roman", serif; margin: 0 0 7px; letter-spacing: -.025em; }
.feature-side p { font-size: .9rem; color: var(--muted); margin: 0; }
.directory h2 {
  font: 700 clamp(1.9rem, 3.7vw, 3rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.directory { padding: clamp(20px, 4.2vw, 48px); background: rgb(255 255 255 / .68); border: 1px solid var(--line); border-radius: 12px; }
.directory-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(186px, 250px); align-items: start; column-gap: 24px; }
.directory h2 { margin-bottom: 12px; }
.searchbar { position: relative; }
.searchbar input { width: 100%; min-width: 0; min-height: 45px; padding: 10px 12px 10px 39px; border: 1px solid var(--accent-line); border-radius: 14px; font: inherit; color: var(--ink); background: white; }
.searchbar input::placeholder { color: var(--muted); }
.search-glyph { position: absolute; width: 12px; height: 12px; border: 1.7px solid var(--muted); border-radius: 100%; left: 16px; top: 15px; pointer-events: none; }
.search-glyph::after { content: ""; position: absolute; left: 8px; top: 8px; width: 5px; height: 1.7px; background: var(--muted); transform: rotate(47deg); transform-origin: left center; }
.filter-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; }
.filter-row button { appearance: none; border: 1px solid var(--accent-line); border-radius: 100px; background: white; color: var(--text); font: inherit; font-size: .91rem; min-height: 42px; padding: 5px 13px; cursor: pointer; }
.filter-row button:hover { border-color: var(--accent); }
.filter-row button[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-deep); font-weight: 650; }
.directory-section { margin-top: 30px; }
.directory-section h3 { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: 9px; }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 21px; list-style: none; margin: 0; padding: 0; }
.article-list li { min-width: 0; border-top: 1px solid var(--line); }
.article-list a { height: 100%; display: block; padding: 11px 6px 12px 0; min-height: 44px; }
.article-list a:hover span { color: var(--accent); }
.article-list span { display: block; font-weight: 650; line-height: 1.27; }
.article-list small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; line-height: 1.48; }
.empty { margin-top: 20px; color: var(--muted); }
.home-notes { max-width: 760px; margin: clamp(50px, 8vw, 90px) auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 30px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; min-height: 32px; display: inline-flex; align-items: center; }
.article-heading { max-width: 870px; margin-bottom: 42px; }
.article-heading h1, .not-found h1 { font: 700 clamp(2.35rem, 5.25vw, 4.65rem)/1.045 Georgia, "Times New Roman", serif; letter-spacing: -.044em; margin: 0 0 17px; overflow-wrap: break-word; }
.article-lead { max-width: 69ch; }
.article-lead p { margin-bottom: 0; }
.catalog .directory { margin-bottom: 48px; }
.rich { color: var(--text); min-width: 0; font-size: 1.04rem; line-height: 1.72; overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; }
.rich h2 { font-size: clamp(1.52rem, 3vw, 2.13rem); font-family: Georgia, "Times New Roman", serif; letter-spacing: -.026em; color: var(--ink); margin: 32px 0 13px; }
.rich h3 { font-size: 1.26rem; color: var(--ink); margin: 24px 0 10px; letter-spacing: -.03em; }
.rich p, .rich ul, .rich ol { margin: 0 0 15px; }
.rich li + li { margin-top: 5px; }
.rich li::marker { color: var(--accent); }
.rich a, .article-lead a, .hero-lead a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: from-font; text-underline-offset: .17em; }
.rich a:hover { color: var(--accent); }
.rich blockquote { margin: 19px 0 25px; padding: 14px 17px 15px; border-left: 3px solid var(--accent-line); border-radius: 0 12px 12px 0; background: var(--accent-tint); }
.rich blockquote p:last-child { margin-bottom: 0; }
.rich :not(pre) > code { padding: 1px 4px; border-radius: 4px; background: var(--accent-tint); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; margin: 15px 0 22px; max-width: 100%; }
.rich table { width: 100%; min-width: 385px; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
.rich th, .rich td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; overflow-wrap: break-word; }
.rich th { color: var(--ink); background: var(--accent-tint); }
.rich tr:last-child td { border-bottom: 0; }
.read-next { border-top: 1px solid var(--line); margin-top: 40px; }
.rich .read-next .article-list { list-style: none; padding: 0; }
.rich .read-next a { text-decoration: none; }
.not-found { padding-block: 70px 90px; }
.not-found p { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-inner p { color: var(--muted); font-size: .89rem; margin: 11px 0 0; }
@media (max-width: 900px) {
  .header-inner { gap: 10px; min-height: 68px; }
  .nav { gap: 12px; justify-content: center; }
  .nav a { font-size: .86rem; }
}
@media (max-width: 690px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-block: 10px 0; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; column-gap: 17px; }
  .header-button { grid-column: 2; grid-row: 1; min-height: 40px; padding-inline: 12px; }
  .directory-heading { grid-template-columns: minmax(0, 1fr); }
  .filter-row { margin-top: 4px; }
  .directory h2 { margin-bottom: 13px; }
  .directory { border-radius: 12px; padding: 19px; }
  .article-list { grid-template-columns: minmax(0, 1fr); }
  .breadcrumbs { margin-block: 17px 20px; }
  .article-heading { margin-bottom: 30px; }
  .footer-inner { display: block; }
  .site-footer nav { margin-top: 16px; gap: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


.article-figure {
  margin: 28px 0 35px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 691px) {
  .article-figure {
    position: relative;
    left: 50%;
    width: min(130%, calc(100vw - 48px));
    margin-inline: 0;
    transform: translateX(-50%);
  }
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #e5e5e0;
}
.article-figure figcaption {
  padding-block: 10px 12px;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--muted);
}
.article-figure figcaption span { color: #5c5d58; }

.media-set { margin-block: 22px 30px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 22px);
}
.media-grid:has(> :only-child) { grid-template-columns: minmax(0, 31.5rem); }
.media-card {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fcfbf8;
}
.media-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #e5e5e0;
}
.media-card figcaption {
  padding: 8px 11px 10px;
  font-size: .82rem;
  line-height: 1.42;
  color: var(--text);
}
.media-set .media-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .74rem;
}
@media (max-width: 690px) {
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-card figcaption { padding-inline: 8px; }
}
.home-notes .offer-intro { margin-bottom: 32px; }
.offer-intro {
  margin-top: 23px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 15px;
}
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 24px;
  padding: clamp(18px, 4vw, 30px);
  margin: 34px 0;
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  color: var(--ink);
}
.offer p { flex: 1 1 240px; margin: 0; }
.offer-button,
.rich a.offer-button,
.article-list a.offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  height: auto;
  min-height: var(--offer-height, 58px);
  max-width: 100%;
  padding: var(--offer-padding, 9px 13px 9px 22px);
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 9px rgb(23 44 181 / .19);
  text-align: start;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: var(--offer-font, 1rem);
  font-weight: 720;
  line-height: 1.3;
}
.offer-button:hover,
.rich a.offer-button:hover,
.article-list a.offer-button:hover {
  background: var(--accent-deep);
  color: #fff;
}
.offer-button .offer-arrow,
.article-list a.offer-button:hover .offer-arrow {
  display: inline-grid;
  place-items: center;
  flex: 0 0 var(--offer-icon, 33px);
  height: var(--offer-icon, 33px);
  border-radius: 50%;
  background: rgb(255 255 255 / .18);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}
.offer-button-compact {
  --offer-height: 48px;
  --offer-padding: 6px 8px 6px 15px;
  --offer-font: .88rem;
  --offer-icon: 27px;
}

.home-notes { max-width: 750px; }
@media (max-width: 690px) {
  .masthead, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .masthead { gap: 12px; }
  .masthead h1 { max-width: 19ch; }
  .feature-grid { gap: 27px; }
  .feature-main img { aspect-ratio: 1.7; }
  .offer-intro a.offer-button, .offer-end a.offer-button { width: 100%; }
  .offer p { flex-basis: 100%; }
}


.editorial { max-width: 1060px; }
.article-body { margin-bottom: clamp(45px, 7vw, 76px); }
.catalog .article-body { max-width: 1060px; }
.article-toc {
  margin: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fcfbf8;
  box-shadow: 0 4px 14px rgb(21 33 45 / .04);
}
.article-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(15px, 3vw, 25px);
  min-height: 50px;
  border-radius: 15px;
  color: var(--ink);
  font: 700 1.28rem/1.25 Georgia, "Times New Roman", serif;
  cursor: pointer;
  list-style: none;
}
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after,
.article-toc a::after {
  content: "";
  flex: 0 0 auto;
  inline-size: .48em;
  block-size: .48em;
  border-block-end: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
}
.article-toc summary::after {
  color: var(--accent);
  transform: rotate(45deg);
}
.article-toc details[open] > summary::after { transform: rotate(225deg); }
.article-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(15px, 3vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0 clamp(15px, 3vw, 25px) 14px;
}
.article-toc li { border-top: 1px solid var(--line); }
.article-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 7px 4px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 540;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.article-toc a::after {
  color: var(--accent);
  transform: rotate(-45deg);
}
.article-toc a:hover {
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 6px;
}
@media (max-width: 690px) {
  .article-toc ul { grid-template-columns: minmax(0, 1fr); }
  .article-toc a { min-height: 44px; }
}


.offer-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin-block: 18px 30px;
}

.home-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 24px;
  padding-block: 19px;
  margin: -9px 0 37px;
  border-block: 1px solid var(--line);
}

.home-tools h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; }
.home-tool-links { display: flex; flex-wrap: wrap; gap: 8px; }

.article-list-with-offers > li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-bottom: 15px;
}

.article-list-with-offers [data-entry-summary] { width: 100%; height: auto; }

.article-list-with-offers a.offer-button {
  width: min(100%, 20rem);
  margin-top: auto;
}

@media (max-width: 690px) {
  .offer-context { margin-block: 16px 25px; }
  .home-tools { margin-bottom: 27px; }
}

