/*
Theme Name: SciQuest Authority
Theme URI: https://sciquest.org/
Author: SciQuest
Author URI: https://sciquest.org/about/
Description: An authoritative, evidence-led editorial theme for science news, explainers, and transparent publishing.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sciquest-authority
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --ink: #10252b;
  --muted: #57666a;
  --paper: #f7f5ee;
  --white: #fffefa;
  --line: #d9d9cf;
  --accent: #d7a514;
  --teal: #0d6563;
  --navy: #0d252c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #227f7b; outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.shell-narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.shell-wide { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: white; }
.skip-link:focus { top: 16px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; left: 12px; top: 12px; z-index: 1000; padding: 10px; background: white; }

.utility-bar { background: #071b21; color: #dce6e6; font-size: .74rem; letter-spacing: .025em; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner p { margin: 0; }
.menu-items { margin: 0; padding: 0; list-style: none; }
.utility-nav .menu-items { display: flex; gap: 22px; }
.utility-nav a { text-decoration: none; }
.utility-nav a:hover { color: white; text-decoration: underline; }
.masthead { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; color: var(--ink); text-decoration: none; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.045em; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }
.masthead-promise { max-width: 270px; margin: 0; color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; line-height: 1.45; text-align: center; }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.search-button, .menu-button { min-height: 42px; border: 1px solid #819094; border-radius: 2px; background: transparent; color: var(--ink); cursor: pointer; }
.search-button { justify-self: end; padding: 0 18px; font-weight: 700; }
.search-button:hover, .menu-button:hover { background: white; }
.menu-button { display: none; min-width: 44px; font-size: 1.25rem; }
.search-mark { display: inline-block; position: relative; top: 1px; width: 13px; height: 13px; margin-right: 9px; border: 2px solid currentColor; border-radius: 50%; }
.search-mark::after { content: ''; position: absolute; width: 6px; height: 2px; right: -5px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.nav-wrap { border-block: 1px solid var(--line); background: var(--white); }
.primary-nav { min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.primary-nav .menu-items { display: flex; min-height: 48px; align-items: center; gap: clamp(20px, 3.1vw, 42px); }
.primary-nav a { flex: none; color: #31464b; font-size: .78rem; font-weight: 800; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; }
.primary-nav .menu-items > li:first-child > a, .primary-nav .current-menu-item > a { color: var(--teal); }
.primary-nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.search-panel { position: absolute; z-index: 20; width: 100%; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 40px rgb(11 32 38 / 14%); }
.search-panel[hidden] { display: none; }
.search-inner { padding-block: 25px 30px; }
.search-form > label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.search-field-wrap { display: flex; gap: 10px; }
.search-field-wrap input { min-width: 0; flex: 1; height: 50px; border: 1px solid #7d8a8d; background: white; padding: 0 15px; color: var(--ink); font-size: 1.05rem; }
.search-field-wrap button { min-width: 92px; padding: 0 18px; border: 0; background: var(--navy); color: white; font-weight: 800; cursor: pointer; }
.search-field-wrap .search-close { background: #e6e7df; color: var(--ink); }

.lead-section { padding-block: 36px 48px; }
.section-kicker { display: flex; justify-content: space-between; margin-bottom: 16px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-kicker span:first-child { color: var(--teal); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); gap: 36px; }
.lead-story { background: var(--white); border-bottom: 4px solid var(--ink); }
.image-link, .card-image, .archive-image, .listing-image { display: block; overflow: hidden; text-decoration: none; }
.image-link img, .card-image img, .archive-image img, .listing-image img { width: 100%; object-fit: cover; transition: transform .35s ease; }
.image-link img { aspect-ratio: 16 / 9; }
.image-link:hover img, .card-image:hover img, .archive-image:hover img, .listing-image:hover img { transform: scale(1.018); }
.story-image-placeholder { display: grid; width: 100%; min-height: 220px; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; background: radial-gradient(circle at 72% 30%, rgb(215 165 20 / 55%), transparent 18%), linear-gradient(135deg, #0d6563, #0d252c 68%); color: white; }
.story-image-placeholder span { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.5rem, 5vw, 3.5rem); opacity: .88; }
.lead-copy { padding: 24px 26px 25px; }
.story-label { margin: 0 0 9px; color: var(--teal) !important; font-size: .7rem !important; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.story-label span { color: var(--accent); padding-inline: 4px; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.026em; }
.lead-copy h1 { max-width: 820px; margin: 0; font-size: clamp(2.1rem, 4.4vw, 4.25rem); font-weight: 500; line-height: .99; }
.lead-copy h1 a, .story-card h2 a { text-decoration: none; }
.lead-copy h1 a:hover, .story-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.standfirst { max-width: 760px; margin: 19px 0 22px; color: #3b4d51; font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.55; }
.byline-row { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 15px; color: var(--muted); font-size: .76rem; font-weight: 650; }
.supporting-stories { display: grid; gap: 30px; }
.story-card { border-bottom: 1px solid #b8bdb8; padding-bottom: 24px; }
.story-card .card-image { margin-bottom: 16px; }
.story-card .card-image > * { aspect-ratio: 16 / 9; }
.story-card h2 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.05rem); font-weight: 500; line-height: 1.08; }
.story-card > p:not(.story-label) { margin: 11px 0; color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; line-height: 1.48; }
.story-card time { color: #667579; font-size: .72rem; }
.empty-lead { min-height: 420px; display: flex; flex-direction: column; justify-content: center; border-block: 4px solid var(--ink); background: var(--white); padding: clamp(28px, 7vw, 80px); }
.empty-lead h1 { max-width: 850px; margin: 0; font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 500; line-height: .95; }
.empty-lead > p:last-child { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; }

.trust-strip { border-block: 1px solid #214047; background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid div { padding: 28px 30px; border-right: 1px solid #365057; }
.trust-grid div:first-child { padding-left: 0; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; margin-bottom: 6px; color: #f4c949; font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; font-weight: 600; }
.trust-grid span { color: #c2d0d2; font-size: .79rem; line-height: 1.45; }
.section-space { padding-block: 76px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); align-items: end; gap: 32px; margin-bottom: 28px; border-bottom: 2px solid var(--ink); padding-bottom: 15px; }
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading > div > p, .eyebrow { margin: 0 0 7px; color: var(--teal); font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 500; line-height: 1; }
.section-heading > p { margin: 0; color: var(--muted); font-family: Georgia, 'Times New Roman', serif; line-height: 1.5; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.archive-card { display: grid; grid-template-columns: minmax(160px, .8fr) 1fr; gap: 22px; border-bottom: 1px solid var(--line); padding-block: 24px; }
.archive-card:first-child { grid-row: span 2; display: block; border-right: 1px solid var(--line); padding-right: 38px; }
.archive-card:first-child .archive-image { margin-bottom: 20px; }
.archive-card img, .archive-card .story-image-placeholder { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.archive-card h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.08; }
.archive-card h3 a { text-decoration: none; }
.archive-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.archive-card p:not(.story-label) { margin: 10px 0 14px; color: var(--muted); font-family: Georgia, 'Times New Roman', serif; line-height: 1.45; }
.archive-card time { color: #667579; font-size: .71rem; }
.archive-more { margin: 28px 0 0; text-align: right; }
.evidence-section { background: #e8eee9; }
.evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 110px); }
.evidence-copy h2 { margin: 0; max-width: 600px; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.02; }
.evidence-copy > p:not(.eyebrow) { color: #405457; font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; line-height: 1.55; }
.text-link { color: var(--teal); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.evidence-steps { margin: 0; padding: 0; list-style: none; }
.evidence-steps li { display: grid; grid-template-columns: 55px 1fr; gap: 15px; border-top: 1px solid #b5c4bc; padding: 23px 0; }
.evidence-steps li:last-child { border-bottom: 1px solid #b5c4bc; }
.evidence-steps li > span { color: var(--teal); font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; }
.evidence-steps strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-weight: 500; }
.evidence-steps p { margin: 7px 0 0; color: var(--muted); line-height: 1.45; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.topic-card { min-height: 230px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 27px; background: var(--white); text-decoration: none; }
.topic-card:nth-child(3n) { border-right: 0; }
.topic-card:nth-child(n+4) { border-bottom: 0; }
.topic-card:hover { background: #edf2ed; }
.topic-number { color: var(--accent); font-family: Georgia, 'Times New Roman', serif; }
.topic-card h3 { margin: 26px 0 7px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 500; }
.topic-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.topic-card small { display: block; margin-top: 22px; color: var(--teal); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.briefing-section { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin-bottom: 80px; border-block: 1px solid #29464d; background: var(--navy); padding: 46px 48px; color: white; }
.briefing-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; }
.briefing-section p:not(.eyebrow) { max-width: 720px; color: #c8d4d5; line-height: 1.5; }
.button-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 18px; background: #f2c441; color: #13292f; font-weight: 850; text-decoration: none; }
.button-link:hover { background: #ffdc69; }

.site-footer { background: #071b21; color: #d5dfe0; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 60px; padding-block: 60px 48px; }
.brand.inverse { color: white; font-size: 2rem; }
.brand.inverse img { width: 44px; height: 44px; }
.footer-brand p { max-width: 360px; color: #9eb1b4; line-height: 1.55; }
.footer-main nav { display: flex; flex-direction: column; gap: 10px; }
.footer-main nav .menu-items { display: flex; flex-direction: column; gap: 10px; }
.footer-main nav h2 { margin: 0 0 7px; color: white; font-family: inherit; font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-main nav a { color: #b9c8ca; font-size: .84rem; text-decoration: none; }
.footer-main nav a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #274047; padding-block: 20px 26px; color: #84999c; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom p:last-child { display: flex; gap: 18px; }

.article-page { background: var(--white); }
.article-header { padding-block: 54px 34px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; color: #6a787b; font-size: .72rem; }
.breadcrumbs a { color: var(--teal); }
.article-header h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.7rem); font-weight: 500; line-height: .94; }
.article-deck { margin: 24px 0; color: #405257; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.5; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 24px; border-block: 1px solid var(--line); padding: 16px 0; }
.author-chip { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.author-chip > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; }
.author-chip strong { display: flex; flex-direction: column; font-size: .84rem; }
.author-chip small { color: var(--muted); font-weight: 500; }
.article-meta > div { text-align: right; }
.article-meta p { margin: 2px 0; color: var(--muted); font-size: .72rem; }
.update-note { border-left: 3px solid var(--accent); padding-left: 14px; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.article-hero { margin-block: 8px 38px; }
.article-hero img { width: 100%; max-height: 690px; object-fit: cover; }
.article-hero figcaption { margin-top: 8px; color: #687679; font-size: .7rem; }
.article-layout { display: grid; grid-template-columns: 170px minmax(0, 720px) 190px; justify-content: space-between; gap: 36px; padding-bottom: 72px; }
.article-toc { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 11px; border-top: 3px solid var(--ink); padding-top: 15px; }
.article-toc strong { margin-bottom: 5px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.article-toc a { color: var(--muted); font-size: .76rem; text-decoration: none; }
.article-toc a:hover { color: var(--teal); text-decoration: underline; }
.article-body { min-width: 0; overflow-wrap: anywhere; }
.article-body > * { max-width: 100%; }
.article-body h2 { scroll-margin-top: 30px; margin: 48px 0 16px; font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 500; line-height: 1.04; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 34px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 500; }
.article-body p, .article-body li { font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; line-height: 1.72; }
.article-body a { color: #075e68; text-decoration-thickness: 1.5px; }
.article-body dfn { font-style: normal; font-weight: 700; }
.article-body blockquote { margin-inline: 0; border-left: 4px solid var(--accent); padding: 8px 0 8px 24px; color: #354b50; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.article-body th { background: #e8eee9; }
.article-body .wp-block-table { overflow-x: auto; }
.is-style-key-facts { margin-block: 0 42px; border-block: 1px solid #b7c8c1; background: #eef3ef; padding: 26px 30px; }
.is-style-key-facts h2 { margin-top: 0; font-size: 1.9rem; }
.is-style-key-facts li { margin-bottom: 9px; font-family: inherit; font-size: .93rem; line-height: 1.48; }
.is-style-evidence-callout { margin: 28px 0; border-left: 4px solid var(--teal); background: #edf3f0; padding: 19px 22px; }
.is-style-evidence-callout p { margin-block: 7px; font-family: inherit; font-size: .91rem; line-height: 1.5; }
.article-side { align-self: start; }
.side-card { border-top: 3px solid var(--accent); background: var(--paper); padding: 18px; }
.side-card > strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; font-weight: 500; }
.side-card ul { padding-left: 17px; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.correction-link { display: block; margin-top: 18px; color: var(--teal); font-size: .75rem; font-weight: 800; }
.next-reads { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 1px; margin-bottom: 80px; border: 1px solid var(--line); background: var(--line); }
.next-reads > * { background: var(--paper); padding: 22px; }
.next-reads h2 { margin: 0; font-size: 1.8rem; font-weight: 500; }
.next-reads a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.next-reads a:hover { background: #e8eee9; }
.next-reads a strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.06rem; font-weight: 500; line-height: 1.2; }
.comments-wrap { padding-bottom: 70px; }
.comments-area { border-top: 3px solid var(--ink); padding-top: 28px; }
.comments-area h2 { font-size: 2rem; }
.comment-list { padding-left: 24px; }
.comment-list li { margin-bottom: 22px; }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid #7d8a8d; padding: 10px; }
.comment-form .submit { border: 0; background: var(--navy); padding: 12px 18px; color: white; font-weight: 800; cursor: pointer; }

.info-page { min-height: 70vh; padding-bottom: 90px; }
.info-hero { padding-block: 72px 54px; }
.info-hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; line-height: .96; }
.info-hero > p:last-child { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; line-height: 1.55; }
.prose-card { background: var(--white); padding: clamp(25px, 5vw, 52px); }
.prose-card h2 { margin: 30px 0 10px; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 500; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p, .prose-card li { color: #405257; font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; line-height: 1.65; }
.page-content { width: min(900px, calc(100% - 40px)); }
.author-hero { display: flex; align-items: center; gap: 28px; padding-block: 70px 48px; }
.author-avatar { display: grid; flex: 0 0 110px; height: 110px; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-family: Georgia, 'Times New Roman', serif; font-size: 3.2rem; }
.author-hero h1 { margin: 0; font-size: 4.8rem; font-weight: 500; line-height: .95; }
.author-hero p:last-child { margin: 8px 0 0; color: var(--muted); }
.author-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); align-items: start; gap: 60px; }
.facts-card { border-top: 4px solid var(--accent); background: var(--navy); padding: 28px; color: white; }
.facts-card h2 { margin: 0; font-size: 1.7rem; font-weight: 500; }
.facts-card p { color: #c7d3d4; line-height: 1.6; }
.author-stories { padding-top: 70px; }

.listing-page { padding-block: 70px 90px; }
.listing-header { max-width: 850px; margin-bottom: 45px; }
.listing-header h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 500; line-height: .96; }
.listing-header > p:not(.eyebrow), .archive-description { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.55; }
.listing-header .search-form { margin-top: 28px; }
.listing-grid { border-top: 3px solid var(--ink); }
.listing-card { display: grid; grid-template-columns: minmax(260px, .72fr) 1.4fr; gap: 34px; border-bottom: 1px solid var(--line); padding-block: 30px; }
.listing-image > * { width: 100%; height: 100%; min-height: 230px; max-height: 300px; object-fit: cover; }
.listing-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.3vw, 3rem); font-weight: 500; line-height: 1.04; }
.listing-copy h2 a { text-decoration: none; }
.listing-copy h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.listing-copy > p:not(.story-label) { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; line-height: 1.55; }
.pagination { margin-top: 35px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; border: 1px solid var(--line); background: var(--white); padding: 0 12px; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--navy); color: white; }
.no-results { padding: 48px 0; }
.no-results h2 { margin: 0; font-size: 2.4rem; font-weight: 500; }
.no-results .search-form { max-width: 700px; margin-top: 24px; }
.error-page { min-height: 66vh; padding-block: 90px; }
.error-page h1 { margin: 0; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 500; line-height: .95; }
.error-page > p:not(.eyebrow) { color: var(--muted); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; line-height: 1.5; }
.error-page .search-form { margin-block: 32px; }

.alignwide { width: min(100vw - 40px, 1020px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption, .wp-caption-text, .gallery-caption { max-width: 100%; }
.bypostauthor { outline: 0; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: minmax(0, 720px) 190px; justify-content: center; }
  .article-toc { display: none; }
  .next-reads { grid-template-columns: repeat(3, 1fr); }
  .next-reads > div { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 28px, 680px); }
  .utility-inner p { display: none; }
  .utility-inner { justify-content: center; }
  .masthead { grid-template-columns: 1fr auto; min-height: 84px; }
  .brand { font-size: 2rem; }
  .brand img { width: 42px; height: 42px; }
  .masthead-promise { display: none; }
  .menu-button { display: block; }
  .search-label { display: none; }
  .search-button { width: 44px; padding: 0; }
  .search-mark { margin-right: 0; }
  .nav-wrap { display: none; }
  .nav-wrap.is-open { display: block; }
  .primary-nav { padding-block: 8px; }
  .primary-nav .menu-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
  .primary-nav a { padding: 11px 8px; }
  .lead-grid { grid-template-columns: 1fr; }
  .supporting-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child { border-right: 0; border-bottom: 1px solid #365057; padding: 22px 0; }
  .trust-grid div:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card:first-child { grid-row: auto; border-right: 0; padding-right: 0; }
  .evidence-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card, .topic-card:nth-child(3n), .topic-card:nth-child(n+4) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .topic-card:nth-child(2n) { border-right: 0; }
  .topic-card:nth-last-child(-n+2) { border-bottom: 0; }
  .briefing-section { grid-template-columns: 1fr; padding: 34px 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .article-layout { grid-template-columns: 1fr; }
  .article-meta { align-items: flex-start; flex-direction: column; }
  .article-meta > div { text-align: left; }
  .author-layout { grid-template-columns: 1fr; }
  .listing-card { grid-template-columns: minmax(210px, .7fr) 1fr; gap: 24px; }
}

@media (max-width: 540px) {
  .utility-nav { width: 100%; }
  .utility-nav .menu-items { width: 100%; justify-content: space-between; gap: 12px; }
  .primary-nav .menu-items { gap: 0; }
  .search-field-wrap { flex-wrap: wrap; }
  .search-field-wrap input { flex-basis: 100%; }
  .search-field-wrap button { flex: 1; min-height: 44px; }
  .lead-section { padding-top: 24px; }
  .section-kicker span:last-child { display: none; }
  .lead-copy { padding: 19px 18px 21px; }
  .lead-copy h1 { font-size: 2.25rem; }
  .standfirst { font-size: 1.02rem; }
  .supporting-stories { grid-template-columns: 1fr; }
  .section-space { padding-block: 54px; }
  .archive-card, .listing-card { grid-template-columns: 1fr; }
  .archive-card img { max-height: 260px; }
  .topics-grid { grid-template-columns: 1fr; }
  .topic-card, .topic-card:nth-child(2n), .topic-card:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .topic-card:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .article-header h1 { font-size: 3.1rem; }
  .article-deck { font-size: 1.12rem; }
  .article-body p, .article-body li { font-size: 1.03rem; }
  .is-style-key-facts { padding: 22px 20px; }
  .next-reads { grid-template-columns: 1fr; }
  .next-reads > div { grid-column: auto; }
  .info-hero h1 { font-size: 3rem; }
  .author-hero { align-items: flex-start; }
  .author-avatar { flex-basis: 78px; height: 78px; font-size: 2.2rem; }
  .author-hero h1 { font-size: 3.1rem; }
  .listing-page { padding-block: 52px 70px; }
  .listing-header h1 { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-link img, .card-image img, .archive-image img, .listing-image img { transition: none; }
}
