:root {
  color-scheme: light;
  --ink: #17221e;
  --muted: #5d6862;
  --paper: #f4efe5;
  --surface: #fffdf8;
  --surface-soft: #ece4d5;
  --forest: #123b5c;
  --forest-dark: #08243f;
  --gold: #b68142;
  --line: #d8cebc;
  --shadow: 0 18px 55px rgba(35, 39, 31, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 9% 2%, rgba(29, 96, 143, 0.11), transparent 25rem), var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: #8a5524; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--forest); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  padding: clamp(58px, 10vw, 112px) 0 clamp(52px, 8vw, 88px);
}

.eyebrow,
.note-label,
.topic-number {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: #3f4c46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-search { max-width: 760px; margin-top: 34px; }

.hero-search label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.search-row { display: flex; gap: 10px; }

.search-row input {
  min-width: 0;
  flex: 1;
  padding: 15px 17px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #bfb5a4;
  border-radius: 10px;
  font: inherit;
  box-shadow: 0 8px 25px rgba(35, 39, 31, 0.05);
}

.search-row input:focus {
  border-color: var(--forest);
  outline: 3px solid rgba(29, 96, 143, 0.13);
}

.search-row button,
.button-link {
  padding: 15px 20px;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.search-row button:hover,
.button-link:hover { color: white; background: var(--forest-dark); }

.hero-search > p { margin: 10px 0 0; color: var(--muted); font-size: 0.84rem; }

.preservation-note {
  padding: 26px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.preservation-note p { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; }
.preservation-note a { font-weight: 800; }

.start-section,
.topic-section { padding: clamp(52px, 8vw, 88px) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 680px; margin-bottom: 32px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.feature-card,
.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover { color: inherit; border-color: var(--forest); transform: translateY(-4px); }
.feature-card > span { color: var(--gold); font-size: 0.78rem; font-weight: 800; }
.feature-card h3 { margin: auto 0 12px; font-size: 1.55rem; line-height: 1.18; }
.feature-card p, .topic-intro { margin: 0; color: var(--muted); font-size: 0.92rem; }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic-card { padding: clamp(24px, 3vw, 34px); }
.topic-card h3 { margin: 0 0 18px; font-size: 1.55rem; line-height: 1.15; }
.topic-card ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; }
.topic-card li::marker { color: var(--gold); }
.topic-card a { font-size: 0.92rem; }
.topic-intro { margin-bottom: 18px; }

.chapter-links { display: grid; grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 7px; }
.chapter-links a {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: var(--forest-dark);
  background: var(--surface-soft);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.chapter-links a:hover { color: white; background: var(--forest); }
.accent-card { color: white; background: var(--forest); border-color: var(--forest); }
.accent-card .topic-number, .accent-card a { color: #f4d4a7; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.site-footer p { margin: 3px 0; }
.site-footer nav { margin-top: 18px; }

/* Search page */
.search-page main { min-height: calc(100vh - 180px); }
.search-intro { max-width: 820px; padding: clamp(50px, 9vw, 96px) 0 32px; }
.search-intro h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.search-intro .lede { font-size: 1.1rem; }
.search-panel { padding-bottom: 80px; }
.search-panel .hero-search { max-width: none; margin: 0; }
.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.search-filters button {
  min-height: 38px;
  padding: 8px 14px;
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}
.search-filters button:hover { border-color: var(--green); transform: translateY(-1px); }
.search-filters button[aria-pressed="true"] { color: #fff; background: var(--green); border-color: var(--green); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }

.topic-chips button {
  padding: 8px 12px;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.topic-chips button:hover { background: var(--surface-soft); }
.search-status { min-height: 1.6em; margin: 28px 0 14px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.result-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.search-result { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.search-result-article {
  background: #fffdf8;
  border-left: 4px solid #b88343;
}
.search-result-comparison {
  background: #f8fbf8;
  border-left: 4px solid var(--green);
}
.search-result-tj-verse {
  background: #f6f8fd;
  border-left: 4px solid #315a91;
}
.search-result-mt-verse {
  background: #faf9f5;
  border-left: 4px solid #5f6a65;
}
.result-meta { margin: 0 0 5px; color: var(--gold); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.search-result-comparison .result-meta,
.search-result-comparison h2 a { color: var(--green); }
.search-result-article h2 a { color: #74471f; }
.search-result-tj-verse .result-meta,
.search-result-tj-verse h2 a { color: #274f86; }
.search-result-mt-verse .result-meta,
.search-result-mt-verse h2 a { color: #46514c; }
.search-result h2 { margin: 0; font-size: 1.3rem; }
.search-result h2 a { text-decoration: none; }
.search-result p:last-child { margin: 10px 0 0; color: #48544e; font-family: Georgia, "Times New Roman", serif; }
mark { padding: 0.05em 0.14em; color: inherit; background: #f2d798; border-radius: 2px; }
.featured-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.featured-links a { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 800; text-decoration: none; }

/* Document library */
.library-intro { max-width: 850px; padding: clamp(52px, 9vw, 100px) 0 38px; }
.library-intro h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.document-collection { padding: 24px 0 34px; }
.document-collection + .document-collection { padding-top: 42px; }
.document-collection:last-of-type { padding-bottom: 80px; }
.document-collection .section-heading { margin-bottom: 22px; }
.document-collection .section-heading > p:last-child { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.document-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.document-card { display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; padding: 21px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.document-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.document-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.document-card .topic-number { grid-column: 1; }
.document-card h2 { grid-column: 1; }
.document-card > p:not(.topic-number) { grid-column: 2; grid-row: 1 / span 2; }
.document-actions { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; white-space: nowrap; }
.document-actions a:first-child { font-weight: 800; }
.download-link { color: var(--muted); font-size: 0.82rem; }

@media (max-width: 980px) {
  .hero, .topic-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { width: min(100% - 28px, 1180px); align-items: flex-start; flex-direction: column; }
  main, .site-footer { width: min(100% - 28px, 1180px); }
  .hero, .topic-grid, .feature-grid, .featured-links, .document-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .search-row { flex-direction: column; }
  .feature-card { min-height: 230px; }
}

@media (max-width: 820px) {
  .document-card { grid-template-columns: 1fr auto; gap: 7px 16px; }
  .document-card .topic-number,
  .document-card h2,
  .document-card > p:not(.topic-number) { grid-column: 1; grid-row: auto; }
  .document-actions { grid-column: 2; grid-row: 1 / span 3; }
}

@media (max-width: 560px) {
  .document-card { grid-template-columns: 1fr; }
  .document-actions { grid-column: 1; grid-row: auto; }
}

/* Compact research index */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.research-index { padding-bottom: 54px; }

.research-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--line);
}

.research-intro h1 {
  max-width: none;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
}

.research-intro .lede {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.48;
}

.mirror-inline {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  font-size: 0.82rem;
  line-height: 1.45;
}
.mirror-inline strong { color: var(--ink); }
.mirror-inline a { width: fit-content; font-weight: 800; }

.featured-herod {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  margin: 30px 0 4px;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  color: #f9f5ec;
  background: linear-gradient(135deg, #08243f, #123b5c 72%, #1d608f);
  border: 1px solid rgba(8, 36, 63, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.featured-herod::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -145px;
  width: 390px;
  height: 390px;
  content: "";
  border: 1px solid rgba(238, 195, 131, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(238, 195, 131, 0.04), 0 0 0 96px rgba(238, 195, 131, 0.025);
}
.featured-herod .eyebrow { color: #efc98e; }
.featured-herod h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.featured-herod-lede {
  max-width: 760px;
  margin: 20px 0 0;
  color: #f4efe5;
  font: 1.08rem/1.65 Georgia, "Times New Roman", serif;
}
.featured-herod-note {
  max-width: 760px;
  margin: 17px 0 0;
  padding-left: 15px;
  color: #dbe7e1;
  border-left: 2px solid #d5a866;
  font-size: 0.86rem;
  line-height: 1.6;
}
.featured-herod-note strong { color: #fffaf1; }
.featured-herod-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 17px;
  color: #08243f;
  background: #f1c98d;
  border-radius: 6px;
  font-size: 0.79rem;
  font-weight: 900;
  text-decoration: none;
}
.featured-herod-action:hover { color: #08243f; background: #f7dab0; }
.featured-herod-action span { font-size: 1.15rem; }
.featured-herod-comparison { display: grid; gap: 10px; }
.featured-herod-comparison article {
  padding: 21px 23px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}
.featured-herod-comparison article:last-child { background: rgba(9, 28, 22, 0.24); }
.featured-herod-comparison span {
  display: block;
  margin-bottom: 5px;
  color: #efc98e;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.featured-herod-comparison strong { font: 700 1.3rem/1.2 Georgia, "Times New Roman", serif; }
.featured-herod-comparison p { margin: 8px 0 0; color: #dae5df; font-size: 0.82rem; line-height: 1.5; }
.featured-herod-arrow { color: #efc98e; font-size: 1.65rem; line-height: 1; text-align: center; transform: rotate(90deg); }

.comparison-priority,
.primary-research,
.hoax-section,
.compact-search,
.article-directory { padding: 34px 0; border-bottom: 1px solid var(--line); }

.compact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}
.compact-heading h2,
.compact-search h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.08; }
.compact-heading > p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.priority-heading { margin-bottom: 10px; }
.comparison-heading { margin-top: 0; }
.primary-research .comparison-sources { margin-bottom: 8px; }
.hoax-section .phoax-feature { margin-bottom: 0; }
.article-directory > .featured-herod { margin-top: 28px; }

.comparison-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
  margin: 18px 0 14px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.comparison-sources > div {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
}
.comparison-sources span { color: #8b5a22; font-size: 0.61rem; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.comparison-sources strong { color: var(--forest); font: 700 0.96rem/1.25 Georgia, "Times New Roman", serif; }
.comparison-sources small { color: var(--muted); font-size: 0.68rem; line-height: 1.35; }
.comparison-sources > a { display: grid; place-items: center; padding: 13px 16px; background: #f2eadb; font-size: 0.72rem; font-weight: 900; text-align: center; }

.phoax-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  margin: 0 0 22px;
  padding: 19px 21px;
  background: linear-gradient(120deg, rgba(255, 253, 248, 0.92), rgba(238, 228, 209, 0.88));
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.phoax-feature-mark {
  min-width: 92px;
  display: grid;
  gap: 2px;
  padding: 12px 15px;
  color: #704819;
  background: #f5e5c8;
  border: 1px solid #ddbf8f;
  border-radius: 7px;
  text-align: center;
}
.phoax-feature-mark span { font: 700 1.05rem/1 Georgia, "Times New Roman", serif; }
.phoax-feature-mark b { color: var(--forest); font-size: 0.69rem; letter-spacing: 0.08em; }
.phoax-feature .eyebrow { margin-bottom: 4px; font-size: 0.63rem; }
.phoax-feature h3 { margin: 0 0 5px; font-size: 1.18rem; font-weight: 700; }
.phoax-feature p:last-child { max-width: 72ch; margin: 0; color: var(--muted); font-size: 0.8rem; }
.phoax-feature .phoax-source-note {
  margin-top: 9px;
  padding-left: 11px;
  border-left: 2px solid #c18a3d;
  color: #3f514a;
}
.phoax-feature .phoax-source-note strong { color: var(--forest); }
.phoax-feature nav { display: grid; gap: 6px; }
.phoax-feature nav a { font-size: 0.74rem; font-weight: 900; white-space: nowrap; }

.comparison-link-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.comparison-link-row > strong { padding-top: 8px; font-size: 0.78rem; }
.comparison-link-row .chapter-links { display: flex; flex-wrap: wrap; gap: 5px; }
.comparison-link-row .chapter-links a {
  min-width: 31px;
  min-height: 31px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.comparison-link-row .summary-links a { color: white; background: var(--forest); border-color: var(--forest); }
.comparison-link-row .summary-links a:hover { background: var(--forest-dark); }
.comparison-link-row.full-row { color: var(--muted); }
.parallel-reader-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
  padding: 18px 20px;
  color: var(--ink);
  background: linear-gradient(120deg, #fbf8f1, #edf3ef);
  border: 1px solid #b8cbbf;
  border-left: 4px solid var(--forest);
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(25, 61, 49, 0.08);
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.parallel-reader-card:hover,
.parallel-reader-card:focus-visible {
  color: #173f66;
  background: linear-gradient(120deg, #fffaf0, #e5efea);
  border-color: #6f9685;
  box-shadow: 0 12px 30px rgba(25, 61, 49, 0.13);
  outline: none;
  transform: translateY(-1px);
}
.parallel-reader-icon {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 5px;
  align-items: center;
  padding: 10px 12px;
  color: var(--forest);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: 800 .72rem/1 Arial, Helvetica, sans-serif;
}
.parallel-reader-icon i { color: var(--gold); font-style: normal; font-size: 1rem; }
.parallel-reader-copy { display: grid; gap: 3px; }
.parallel-reader-copy small { color: #8b5a22; font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.parallel-reader-copy strong { color: var(--forest); font: 700 1.04rem/1.25 Georgia, "Times New Roman", serif; }
.parallel-reader-copy > span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.parallel-reader-arrow { color: var(--forest); font-size: 1.35rem; }
.text-link { display: inline-block; margin-top: 14px; font-size: 0.84rem; font-weight: 800; }

.compact-search {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(320px, 1fr);
  gap: 14px 36px;
  align-items: end;
}
.compact-search form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.compact-search input {
  min-width: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #bfb5a4;
  border-radius: 7px;
  font: inherit;
}
.compact-search input:focus { border-color: var(--forest); outline: 3px solid rgba(29, 96, 143, 0.13); }
.compact-search button {
  padding: 11px 17px;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.search-examples { grid-column: 2; margin: 0; color: var(--muted); font-size: 0.78rem; }

.top20-home-feature {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px 34px;
  align-items: center;
  margin: 0 0 46px;
  padding: clamp(24px, 4vw, 38px);
  color: #f9f4e9;
  background:
    radial-gradient(circle at 88% 20%, rgba(220, 174, 103, .2), transparent 16rem),
    linear-gradient(130deg, #08243f, #123b5c 66%, #0b3150);
  border: 1px solid rgba(8, 36, 63, .62);
  border-radius: 12px;
  box-shadow: 0 20px 55px rgba(24, 50, 41, .16);
}
.top20-home-number {
  display: grid;
  align-content: center;
  min-height: 142px;
  padding-right: 25px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}
.top20-home-number b { color: #f0ca8c; font: 500 clamp(4.8rem, 9vw, 7.2rem)/.78 Georgia, "Times New Roman", serif; letter-spacing: -.08em; }
.top20-home-number span { max-width: 100px; margin-top: 14px; color: rgba(255,255,255,.7); font-size: .62rem; font-weight: 900; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.top20-home-copy .eyebrow { color: #f0ca8c; }
.top20-home-copy h2 { max-width: 800px; margin: 0; color: white; font-size: clamp(1.75rem, 3.5vw, 3rem); letter-spacing: -.035em; line-height: 1.04; }
.top20-home-copy > p:not(.eyebrow) { max-width: 820px; margin: 13px 0 0; color: rgba(255,255,255,.8); font-family: Georgia, "Times New Roman", serif; font-size: .95rem; line-height: 1.55; }
.top20-home-examples { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.top20-home-examples span { padding: 7px 10px; color: #f4eee3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: .66rem; font-weight: 800; }
.top20-home-examples b { color: #f0ca8c; }
.top20-home-action { align-self: center; justify-self: start; display: inline-flex; gap: 16px; align-items: center; justify-content: center; min-height: 46px; padding: 12px 17px; color: #08243f; background: #efc783; border: 1px solid rgba(255,255,255,.34); border-radius: 7px; box-shadow: 0 8px 22px rgba(8,36,63,.2); font-size: .78rem; font-weight: 900; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.top20-home-action span { font-size: 1rem; line-height: 1; }
.top20-home-action:hover { color: #061b30; background: #f5d49d; box-shadow: 0 11px 28px rgba(8,36,63,.28); transform: translateY(-2px); }

.essential-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.essential-links a {
  display: grid;
  gap: 3px;
  padding: 15px 16px;
  color: inherit;
  border-right: 1px solid var(--line);
  text-decoration: none;
}
.essential-links a:last-child { border-right: 0; }
.essential-links a:hover { background: rgba(255, 253, 248, 0.65); }
.essential-links strong { font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.essential-links span { color: var(--muted); font-size: 0.76rem; }

.text-history-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
  gap: 26px 42px;
  align-items: center;
  margin-top: 26px;
  padding: 28px 30px;
  background: linear-gradient(120deg, rgba(255, 253, 248, .94), rgba(231, 237, 232, .92));
  border: 1px solid var(--line);
  border-left: 4px solid var(--forest);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(35, 39, 31, .05);
}
.text-history-feature h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.text-history-feature > div > p:not(.eyebrow) { max-width: 680px; margin: 0 0 15px; color: #47564f; font-family: Georgia, "Times New Roman", serif; line-height: 1.55; }
.text-history-feature > div > a { font-size: .8rem; font-weight: 900; }
.text-history-feature dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.text-history-feature dl div { min-width: 0; padding: 14px 10px; background: rgba(255, 253, 248, .88); text-align: center; }
.text-history-feature dt { color: var(--forest); font: 500 1.75rem/1 Georgia, "Times New Roman", serif; }
.text-history-feature dd { margin: 6px 0 0; color: var(--muted); font-size: .58rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; }

.scholarly-library {
  display: grid;
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr);
  gap: 26px 44px;
  align-items: start;
  margin-top: 26px;
  padding: 24px;
  background: rgba(255, 253, 248, .62);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.scholarly-library h3 { margin: 0 0 7px; font-size: 1.35rem; font-weight: 700; }
.scholarly-library > div > p:last-child { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.scholarly-library nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scholarly-library nav a { display: grid; align-content: start; gap: 5px; min-height: 105px; padding: 15px; color: inherit; background: var(--surface); text-decoration: none; }
.scholarly-library nav a:hover { background: #f4ecdf; }
.scholarly-library nav strong { color: var(--forest); font: 700 .92rem/1.3 Georgia, "Times New Roman", serif; }
.scholarly-library nav span { color: var(--muted); font-size: .72rem; line-height: 1.4; }

.research-directory {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  padding-top: 30px;
}
.research-directory section { display: flex; flex-direction: column; gap: 7px; }
.research-directory h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 700; }
.research-directory a { color: #46514c; font-size: 0.8rem; line-height: 1.35; text-decoration: none; }
.research-directory a:hover { color: var(--forest); text-decoration: underline; }

@media (max-width: 900px) {
  .text-history-feature { grid-template-columns: 1fr; }
  .featured-herod { grid-template-columns: 1fr; }
  .featured-herod-comparison { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .featured-herod-arrow { display: grid; place-items: center; transform: none; }
  .research-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .essential-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essential-links a:nth-child(2) { border-right: 0; }
  .essential-links a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .phoax-feature { grid-template-columns: auto minmax(0, 1fr); }
  .phoax-feature nav { grid-column: 2; }
  .comparison-sources { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comparison-sources > a { grid-column: 1 / -1; }
  .scholarly-library { grid-template-columns: 1fr; }
  .top20-home-feature { grid-template-columns: 112px minmax(0, 1fr); }
  .top20-home-action { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  .text-history-feature { padding: 24px 22px; }
  .text-history-feature dl { grid-template-columns: 1fr; }
  .featured-herod { margin-top: 20px; padding: 28px 22px; }
  .featured-herod-comparison { grid-template-columns: 1fr; }
  .featured-herod-arrow { transform: rotate(90deg); }
  .comparison-sources { grid-template-columns: 1fr; }
  .comparison-sources > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .comparison-sources > a { grid-column: 1; }
  .research-intro,
  .compact-heading,
  .compact-search { grid-template-columns: 1fr; }
  .research-intro { padding-top: 28px; }
  .mirror-inline { padding-left: 14px; }
  .comparison-link-row { grid-template-columns: 1fr; gap: 7px; }
  .comparison-link-row > strong { padding-top: 0; }
  .parallel-reader-card { grid-template-columns: 1fr auto; padding: 16px; }
  .parallel-reader-icon { display: none; }
  .compact-search form { grid-template-columns: 1fr; }
  .search-examples { grid-column: 1; }
  .research-directory { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .phoax-feature { grid-template-columns: 1fr; }
  .phoax-feature-mark { width: fit-content; }
  .phoax-feature nav { grid-column: 1; }
  .scholarly-library nav { grid-template-columns: 1fr; }
  .scholarly-library nav a { min-height: 0; }
  .top20-home-feature { grid-template-columns: 1fr; gap: 20px; }
  .top20-home-number { min-height: 0; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .top20-home-number b { font-size: 4rem; }
  .top20-home-number span { max-width: none; margin-top: 8px; }
  .top20-home-action { grid-column: 1; justify-self: stretch; }
}

@media (max-width: 440px) {
  .essential-links,
  .research-directory { grid-template-columns: 1fr; }
  .essential-links a { border-right: 0; border-bottom: 1px solid var(--line); }
  .essential-links a:last-child { border-bottom: 0; }
}
