/*
Theme Name: Yeoyu Journal
Description: A quiet, readable Korean journal for everyday money decisions.
Version: 1.1.0
Text Domain: yeoyu-journal
*/

:root {
  --paper: #faf9f5;
  --white: #fff;
  --ink: #192f2d;
  --muted: #69736c;
  --teal: #167267;
  --teal-dark: #10584f;
  --mint: #e5eee6;
  --line: #dfe3db;
  --soft-line: #eaede6;
  --sand: #f0eadc;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -.025em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #6aafa3; outline-offset: 5px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -.055em; }
h1 { font-weight: 750; }
h2, h3 { font-weight: 700; }
p { margin-bottom: 1.2em; }
::selection { background: #d7e9de; color: var(--ink); }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: -.08em;
}
.brand-copy { display: flex; flex-direction: column; gap: 1px; }
.brand-copy strong { font-size: 23px; line-height: 1.2; letter-spacing: -.065em; }
.brand-copy small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a { display: block; font-size: 14px; font-weight: 600; padding: 10px 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--teal); }
.search-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 0 0 25px; border-left: 1px solid var(--line); font-size: 13px; }
.search-link svg { width: 17px; height: 17px; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 28px; padding-block: 66px 76px; }
.hero-copy { padding-bottom: 4px; position: relative; z-index: 1; }
.eyebrow { display: block; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(42px, 4.65vw, 64px); line-height: 1.23; margin-bottom: 26px; letter-spacing: -.065em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-description { max-width: 450px; font-size: 17px; line-height: 1.85; color: var(--muted); margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 23px; min-height: 50px; border: 1px solid var(--teal); border-radius: 7px; background: var(--teal); color: white; font-size: 13px; font-weight: 650; line-height: 1.4; transition: background .18s, border-color .18s; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { background: #eef1e9; border-color: #c3cdbf; color: var(--ink); }
.hero-note { color: #849086; font-size: 11px; margin-top: 20px; margin-bottom: 0; }
.hero-art { width: 100%; }
.hero-art img { width: 100%; height: auto; }

.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px; margin: 0 0 28px; }
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2 { font-size: 30px; margin-bottom: 0; }
.section-heading p { color: var(--muted); font-size: 14px; margin: 9px 0 0; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--teal); font-size: 13px; font-weight: 650; line-height: 1.5; }
.text-link:hover { text-decoration: underline; }
.topics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 84px; }
.topic-card { position: relative; display: block; min-height: 208px; padding: 26px 25px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .18s, background .18s; }
.topic-card:hover { background: #f4f7f0; border-color: #aebeb0; color: var(--ink); }
.topic-number { font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: .07em; display: block; margin-bottom: 25px; }
.topic-card h3 { font-size: 22px; margin: 0 0 11px; }
.topic-card p { max-width: 175px; font-size: 13px; color: var(--muted); margin-bottom: 0; line-height: 1.75; }
.arrow { position: absolute; top: 24px; right: 25px; color: var(--teal); font-size: 22px; line-height: 1; font-weight: 400; }
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-bottom: 86px; align-items: stretch; }
.feature-story { overflow: hidden; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.feature-visual { position: relative; background: #e5ece1; min-height: 215px; height: 230px; overflow: hidden; }
.feature-visual img { width: 100%; height: 100%; object-fit: contain; }
.paper-label { position: absolute; top: 24px; left: 28px; font-size: 9px; color: #7d9982; letter-spacing: .13em; }
.paper-stack { position: absolute; width: 148px; height: 181px; left: 50%; top: 29px; transform: translateX(-50%) rotate(-8deg); }
.paper-stack::before { content: ""; position: absolute; inset: 7px -10px -7px 10px; background: #b0c9a8; transform: rotate(17deg); border-radius: 3px; }
.paper-sheet { position: relative; padding: 23px 22px; width: 100%; height: 100%; background: #fffef5; border-radius: 3px; box-shadow: 0 8px 15px rgb(62 92 60 / 8%); }
.paper-sheet span { display: block; color: #81997b; font-size: 7px; letter-spacing: .1em; margin-bottom: 12px; }
.paper-sheet strong { color: #557951; font-size: 19px; line-height: 1.4; letter-spacing: -.045em; display: block; margin-bottom: 16px; }
.paper-sheet i { display: block; width: 76px; height: 3px; margin: 10px 0 0 17px; background: #dce5ce; position: relative; }
.paper-sheet i::before { content: ""; position: absolute; left: -17px; top: -2px; width: 7px; height: 7px; border: 1px solid #b1c7a0; border-radius: 1px; }
.paper-sheet i:nth-last-child(1) { width: 53px; }
.paper-stamp { position: absolute; right: -29px; bottom: 28px; width: 51px; height: 51px; display: grid; place-items: center; border: 2px solid #b3ccab; border-radius: 50%; background: #e7efde; color: #648c5d; font-size: 26px; transform: rotate(8deg); box-shadow: 0 3px 5px rgb(62 92 60 / 6%); }
.visual-caption { position: absolute; bottom: 23px; right: 27px; color: #799076; font-size: 9px; }
.feature-body { padding: 30px 34px 32px; }
.tag { display: inline-block; font-size: 11px; line-height: 1.4; font-weight: 650; color: var(--teal); padding: 5px 9px; border-radius: 4px; background: #edf3eb; letter-spacing: -.015em; }
.feature-body h3 { font-size: 27px; margin: 15px 0 14px; line-height: 1.42; }
.feature-body p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; color: #7d877e; font-size: 11px; letter-spacing: 0; }
.feature-body .meta { margin-bottom: 22px; }
.editorial-note { border-radius: var(--radius); background: #e9eee4; padding: 39px 38px 35px; display: flex; flex-direction: column; }
.editorial-note .eyebrow { margin-bottom: 24px; }
.editorial-note h3 { font-size: 29px; line-height: 1.5; margin-bottom: 26px; max-width: 310px; }
.editorial-note > p { color: var(--muted); font-size: 14px; }
.principle-list { list-style: none; padding: 0; margin: auto 0 0; }
.principle-list li { padding: 20px 0; border-top: 1px solid #cfd8cb; display: grid; grid-template-columns: 16px 1fr; gap: 2px 15px; align-items: start; }
.principle-list li:last-child { padding-bottom: 0; }
.principle-list li::before { content: "✓"; grid-row: 1 / 3; color: var(--teal); line-height: 1.6; font-size: 16px; }
.principle-list li > div { min-width: 0; }
.principle-list strong { grid-column: 2; font-size: 14px; display: block; margin-bottom: 4px; font-weight: 650; }
.principle-list span { grid-column: 2; display: block; color: #6d796d; font-size: 12px; line-height: 1.7; }
.editorial-note > .text-link { margin-top: 27px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 80px; }
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 27px; display: flex; flex-direction: column; min-height: 270px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.card-top .arrow { position: static; font-size: 21px; }
.article-card h3 { font-size: 22px; line-height: 1.48; margin-bottom: 13px; }
.article-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.article-card .meta { margin-top: auto; padding-top: 15px; }
.empty-state { padding: 35px; margin-bottom: 64px; border: 1px solid var(--line); border-radius: 12px; background: #f2f3ed; color: var(--muted); text-align: center; font-size: 14px; }
.empty-state h2, .empty-state h3 { color: var(--ink); }
.empty-state p:last-child { margin-bottom: 0; }
.trust-strip { margin-top: 12px; background: var(--ink); color: var(--paper); }
.trust-strip > .container { min-height: 180px; padding-block: 36px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.trust-copy .eyebrow { color: #a5c7af; margin-bottom: 10px; }
.trust-copy h2 { font-size: 26px; margin-bottom: 10px; }
.trust-copy p { color: #bdc8bf; font-size: 13px; margin: 0; }
.trust-strip .button { flex-shrink: 0; background: transparent; color: var(--paper); border-color: #5b7367; }
.trust-strip .button:hover { background: #29463e; border-color: #86a18e; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; padding-block: 42px 30px; }
.footer-brand strong { display: block; font-size: 20px; letter-spacing: -.06em; }
.footer-brand p { color: var(--muted); font-size: 12px; margin: 8px 0 0; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 12px; padding-top: 7px; }
.copyright { width: 100%; border-top: 1px solid var(--line); padding-top: 22px; margin: 5px 0 0; color: #8a9188; font-size: 10px; letter-spacing: .015em; }

.page-heading { padding: 58px 0 38px; }
.page-heading h1 { font-size: 42px; margin-bottom: 17px; }
.page-heading p { max-width: 620px; color: var(--muted); font-size: 16px; }
.standalone-page { max-width: 780px; margin-inline: auto; padding-block: 44px 76px; }
.compact-topics { margin-bottom: 43px; }
.compact-topics .topic-card { min-height: 83px; padding-block: 25px; }
.compact-topics .topic-card h3 { margin: 0; font-size: 17px; padding-right: 18px; }
.breadcrumbs { padding-top: 28px; color: #7e887f; font-size: 11px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 720px); justify-content: center; gap: 56px; padding-top: 45px; padding-bottom: 84px; align-items: start; }
.article-toc { position: sticky; top: 30px; font-size: 12px; padding-top: 9px; }
.article-toc h2, .article-toc h3 { font-size: 12px; margin-bottom: 18px; letter-spacing: .02em; }
.article-toc > strong { display: block; font-size: 12px; margin-bottom: 16px; }
.article-toc nav { border-left: 1px solid var(--line); }
.article-toc ul, .article-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.article-toc li { margin: 0; }
.article-toc a { display: block; padding: 9px 0 9px 17px; color: var(--muted); line-height: 1.6; }
.article-toc a:hover { color: var(--teal); border-left: 2px solid var(--teal); margin-left: -1px; padding-left: 16px; }
.article-main { min-width: 0; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 31px; margin-bottom: 34px; }
.article-header h1 { font-size: 43px; line-height: 1.36; margin: 18px 0 20px; }
.article-deck { color: var(--muted); font-size: 18px; line-height: 1.8; margin-bottom: 22px; }
.article-meta { display: flex; gap: 8px 20px; flex-wrap: wrap; color: #7d877e; font-size: 11px; letter-spacing: 0; }
.draft-notice { padding: 13px 17px; margin: 22px 0 0; background: #f2eddf; color: #786541; border: 1px solid #e6ddc7; border-radius: 7px; font-size: 12px; line-height: 1.7; }
.article-body { font-size: 18px; line-height: 1.95; color: #394a41; letter-spacing: -.03em; }
.article-body > :first-child { margin-top: 0; }
.article-body h2 { color: var(--ink); font-size: 28px; margin: 48px 0 22px; padding-top: 10px; line-height: 1.45; }
.article-body h3 { color: var(--ink); font-size: 22px; margin: 34px 0 17px; line-height: 1.5; }
.article-body p { margin: 0 0 24px; }
.article-body a { color: var(--teal); text-decoration: underline; text-decoration-color: #a6c9bb; text-decoration-thickness: 1px; }
.article-body strong { color: var(--ink); font-weight: 650; }
.article-body ul, .article-body ol { padding-left: 25px; margin: 20px 0 29px; }
.article-body li { padding-left: 4px; margin-bottom: 10px; }
.article-body li::marker { color: var(--teal); }
.article-body table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.7; margin: 24px 0 32px; overflow-wrap: anywhere; }
.article-body th, .article-body td { text-align: left; padding: 15px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-body th { color: var(--ink); font-weight: 650; background: #eaf0e7; border-top: 1px solid #cedac9; }
.article-body td { background: var(--white); }
.article-body figure { margin: 28px 0; }
.article-body figure.wp-block-table { overflow-x: auto; }
.article-body blockquote { margin: 28px 0; padding: 15px 24px; border-left: 3px solid var(--teal); background: #f0f3eb; font-size: 17px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.summary-box { padding: 26px 28px; background: #eaf0e5; border-radius: 12px; margin-bottom: 34px; font-size: 16px; }
.summary-box h2, .summary-box h3 { font-size: 18px; padding: 0; margin: 0 0 16px; }
.summary-box ul, .summary-box ol { margin: 0; padding-left: 21px; }
.summary-box p { margin-bottom: 12px; }
.summary-box p:last-child, .summary-box li:last-child { margin-bottom: 0; }
.sources { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 25px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.sources h2, .sources h3 { font-size: 17px; margin: 0 0 14px; }
.sources a { overflow-wrap: anywhere; color: var(--teal); }
.sources ul, .sources ol { padding-left: 21px; }
.sources p:last-child { margin-bottom: 0; }
.search-form { display: flex; align-items: stretch; width: min(100%, 670px); gap: 10px; margin: 25px 0 45px; }
.search-form label { flex: 1; min-width: 0; }
.search-form input { min-width: 0; width: 100%; height: 52px; padding: 12px 16px; border: 1px solid #cbd5c8; border-radius: 7px; background: white; color: var(--ink); -webkit-appearance: none; }
.search-form button { border: 0; border-radius: 7px; background: var(--teal); color: white; padding: 12px 24px; font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 65px; font-size: 13px; }
.pagination .page-numbers { min-width: 38px; height: 38px; padding: 7px 12px; text-align: center; border: 1px solid var(--line); border-radius: 5px; }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; margin: 0; padding: 14px 20px; top: 8px; left: 8px; z-index: 100000; background: white; color: var(--ink); }

@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .header-inner { gap: 22px; }
  .desktop-nav { gap: 20px; }
  .hero { gap: 10px; padding-block: 56px 62px; }
  .hero h1 { font-size: 46px; }
  .hero-description { font-size: 15px; }
  .topics-grid { gap: 12px; }
  .topic-card { padding: 22px 19px; }
  .topic-card h3 { font-size: 20px; }
  .topic-card p { font-size: 12px; }
  .feature-grid { gap: 20px; }
  .feature-body { padding: 26px; }
  .editorial-note { padding: 30px 28px; }
  .editorial-note h3 { font-size: 25px; }
  .article-grid { gap: 16px; }
  .article-card { padding: 23px; }
  .article-card h3 { font-size: 20px; }
  .article-layout { grid-template-columns: 160px minmax(0, 720px); gap: 30px; }
  .article-header h1 { font-size: 37px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 18px; position: relative; }
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy small { font-size: 8px; letter-spacing: .13em; }
  .desktop-nav { display: none; }
  .search-link { border: 0; margin-left: auto; padding: 8px 0; font-size: 12px; }
  .mobile-nav { display: block; }
  .mobile-nav > summary { list-style: none; font-size: 12px; padding: 9px 0 9px 5px; }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; top: calc(100% - 2px); left: -20px; right: -20px; z-index: 50; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 20px 22px; box-shadow: 0 10px 12px rgb(25 47 45 / 4%); }
  .mobile-nav nav a { display: block; padding: 12px 0; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-top: 45px; padding-bottom: 43px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(37px, 8.4vw, 53px); margin-bottom: 22px; }
  .hero-description { font-size: 15px; max-width: 440px; margin-bottom: 24px; line-height: 1.85; }
  .hero-actions { gap: 10px; }
  .button, .button-secondary { min-height: 47px; padding: 13px 18px; font-size: 12px; gap: 12px; }
  .hero-note { font-size: 10px; margin-top: 17px; }
  .hero-art { max-width: 420px; margin-inline: auto; margin-top: 0; }
  .section-heading { margin-bottom: 22px; align-items: flex-start; gap: 12px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { font-size: 12px; }
  .section-heading .text-link { align-self: flex-end; font-size: 11px; }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 56px; }
  .topic-card { min-height: 187px; padding: 21px 19px; }
  .topic-number { margin-bottom: 23px; font-size: 10px; }
  .topic-card h3 { font-size: 20px; margin-bottom: 10px; }
  .topic-card p { font-size: 12px; line-height: 1.75; }
  .arrow { top: 20px; right: 19px; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 55px; }
  .feature-visual { height: 215px; }
  .paper-label { top: 18px; left: 22px; font-size: 7px; }
  .paper-stack { top: 23px; transform: translateX(-50%) rotate(-8deg) scale(.9); }
  .visual-caption { bottom: 15px; right: 18px; font-size: 8px; }
  .feature-body { padding: 25px; }
  .feature-body h3 { font-size: 24px; }
  .feature-body p { font-size: 14px; }
  .editorial-note { padding: 30px 26px; }
  .editorial-note h3 { font-size: 26px; margin-bottom: 20px; }
  .editorial-note .eyebrow { margin-bottom: 18px; }
  .principle-list li { padding-block: 18px; }
  .article-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 54px; }
  .article-card { min-height: 0; padding: 24px; }
  .card-top { margin-bottom: 17px; }
  .article-card h3 { font-size: 22px; }
  .article-card p { font-size: 14px; }
  .article-card .meta { padding-top: 7px; }
  .trust-strip > .container { min-height: 0; flex-direction: column; align-items: flex-start; padding-block: 35px; gap: 24px; }
  .trust-copy h2 { font-size: 24px; }
  .trust-copy p { font-size: 12px; line-height: 1.9; }
  .footer-inner { gap: 24px; padding-block: 32px 25px; }
  .footer-brand { width: 100%; }
  .footer-links { gap: 20px; font-size: 11px; padding-top: 0; }
  .copyright { line-height: 1.8; font-size: 10px; margin-top: 0; padding-top: 18px; }
  .page-heading { padding: 40px 0 26px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading p { font-size: 15px; }
  .standalone-page { padding-block: 27px 55px; }
  .compact-topics .topic-card { min-height: 73px; padding: 23px 16px; }
  .compact-topics .topic-card h3 { font-size: 16px; }
  .breadcrumbs { padding-top: 23px; font-size: 10px; }
  .article-layout { display: flex; flex-direction: column; gap: 27px; padding-top: 28px; padding-bottom: 55px; }
  .article-toc { display: none; }
  .article-toc h2, .article-toc h3 { margin-bottom: 10px; }
  .article-toc > .eyebrow { margin-bottom: 8px; }
  .article-toc > strong { margin-bottom: 10px; }
  .article-toc nav { border-left: 0; display: flex; flex-wrap: wrap; gap: 5px 16px; }
  .article-toc ul, .article-toc ol { border-left: 0; display: flex; flex-wrap: wrap; gap: 5px 16px; }
  .article-toc a { padding: 4px 0; font-size: 11px; }
  .article-toc a:hover { border-left: 0; padding-left: 0; margin-left: 0; }
  .article-main { width: 100%; }
  .article-header { padding-bottom: 25px; margin-bottom: 28px; }
  .article-header h1 { font-size: 33px; line-height: 1.4; margin: 17px 0 18px; }
  .article-deck { font-size: 16px; line-height: 1.8; }
  .article-meta { gap: 7px 14px; font-size: 10px; }
  .draft-notice { font-size: 11px; padding: 12px 15px; }
  .article-body { font-size: 17px; line-height: 1.9; }
  .article-body h2 { font-size: 24px; margin-top: 37px; margin-bottom: 19px; }
  .article-body h3 { font-size: 20px; margin-top: 28px; }
  .article-body p { margin-bottom: 22px; }
  .article-body ul, .article-body ol { padding-left: 22px; }
  .article-body th, .article-body td { padding: 12px 9px; }
  .article-body table { font-size: 12px; }
  .article-body blockquote { padding: 15px 19px; font-size: 16px; }
  .summary-box { padding: 22px; font-size: 15px; margin-bottom: 28px; }
  .summary-box h2, .summary-box h3 { font-size: 17px; margin: 0 0 14px; }
  .sources { font-size: 12px; }
  .sources h2, .sources h3 { font-size: 16px; }
  .search-form { margin-top: 18px; margin-bottom: 30px; gap: 8px; }
  .search-form input { height: 48px; padding: 11px 13px; font-size: 15px; }
  .search-form button { padding-inline: 17px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Content-first blog: questions and excerpts before branding. */
.header-inner { min-height: 78px; }
.brand-copy small { text-transform: none; letter-spacing: .015em; font-size: 11px; margin-top: 4px; }
.reading-home { max-width: 980px; min-height: 58vh; }
.reading-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 0 22px; }
.reading-intro h1 { font-size: 27px; margin: 0 0 8px; }
.reading-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.reading-intro .search-form { width: 380px; flex-shrink: 0; margin: 0; }
.topic-navigation { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.topic-navigation a { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 14px; }
.topic-navigation a:hover, .topic-navigation a[aria-current] { background: var(--ink); border-color: var(--ink); color: white; }
.reading-feed .section-heading { margin-bottom: 14px; align-items: center; }
.reading-feed h2 { font-size: 21px; }
.article-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; border-top: 1px solid var(--line); }
.article-card { min-height: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.article-card-link { display: block; padding: 24px 20px; border-radius: 6px; color: var(--ink); }
.article-card-link:hover { background: #f0f3eb; color: var(--ink); }
.article-card-link:hover h3, .article-card-link:focus-visible h3 { color: var(--teal); text-decoration: underline; }
.card-top { justify-content: flex-start; gap: 12px; margin-bottom: 12px; }
.article-card .card-top .meta { margin: 0; padding: 0; }
.article-card h3 { font-size: 25px; line-height: 1.45; margin-bottom: 10px; }
.article-card p { max-width: 790px; font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.card-read { font-size: 13px; font-weight: 650; color: var(--teal); }
.feed-notice { margin: 0 0 12px; padding: 9px 13px; }
.reading-home .empty-state { text-align: left; margin-top: 12px; padding: 28px; }
.reading-home .page-heading { padding: 30px 0 0; }
.reading-home .page-heading h1 { font-size: 30px; margin-bottom: 10px; }
.reading-home .page-heading .search-form { margin-bottom: 22px; }
.article-layout { padding-top: 26px; gap: 44px; }
.article-header { padding-bottom: 22px; margin-bottom: 24px; }
.article-header h1 { font-size: 38px; margin: 12px 0 14px; }
.article-deck { font-size: 17px; margin-bottom: 15px; }
.article-toc .eyebrow, .sources .eyebrow { letter-spacing: 0; }
.mobile-article-toc { display: none; }
.related-reading { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.related-reading h2 { font-size: 22px; margin-bottom: 16px; }
.related-reading .article-card-link { padding-inline: 12px; }
.related-reading .article-card h3 { font-size: 21px; }
.related-reading .article-card p { font-size: 14px; }
.related-reading .article-grid { margin-bottom: 18px; }
.next-reading-links { display: flex; gap: 12px; flex-wrap: wrap; }
.next-reading-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--teal); font-size: 14px; }
@media (max-width: 900px) {
  .reading-intro { display: block; }
  .reading-intro .search-form { margin-top: 18px; width: 100%; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; gap: 13px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 9px; }
  .reading-intro { padding: 22px 0 18px; }
  .reading-intro h1 { font-size: 23px; }
  .reading-intro p { font-size: 13px; }
  .reading-intro .search-form { margin-top: 14px; }
  .topic-navigation { gap: 6px; padding-bottom: 16px; margin-bottom: 18px; }
  .topic-navigation a { padding: 7px 10px; font-size: 12px; min-height: 40px; }
  .reading-feed h2 { font-size: 20px; }
  .article-card-link { padding: 20px 4px; }
  .article-card h3 { font-size: 23px; }
  .article-card p { font-size: 14px; margin-bottom: 10px; }
  .article-header h1 { font-size: 29px; line-height: 1.4; margin-top: 11px; }
  .article-deck { font-size: 15px; line-height: 1.7; }
  .article-layout { padding-top: 20px; }
  .article-header { padding-bottom: 18px; margin-bottom: 18px; }
  .mobile-article-toc { display: block; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
  .mobile-article-toc summary { padding: 13px 16px; font-size: 14px; font-weight: 650; }
  .mobile-article-toc nav { padding: 0 16px 12px; }
  .mobile-article-toc a { display: block; padding: 8px 0; font-size: 13px; line-height: 1.6; color: var(--teal); }
  .summary-box { padding: 18px; }
}

.search-form button { flex-shrink: 0; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; justify-content: center; height: 52px; }
@media (max-width: 760px) { .search-form button { height: 48px; } }

/* Official destinations are distinct from the article list. */
.official-resources { list-style: none; padding: 0; margin: 20px 0 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.official-resources li { margin: 0; }
.official-resource-link { display: flex; flex-direction: column; height: 100%; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.official-resource-link:hover { border-color: #aebeb0; background: #f0f3eb; color: var(--ink); }
.resource-source { color: var(--teal); font-size: 11px; margin-bottom: 14px; }
.official-resource-link strong { font-size: 21px; line-height: 1.4; margin-bottom: 5px; }
.resource-description { color: var(--muted); font-size: 14px; }
.resource-return { margin-bottom: 40px; }
@media (max-width: 600px) {
  .official-resources { grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
  .official-resource-link { padding: 20px; }
}
