:root {
  --ink: #171714;
  --muted: #6f6a61;
  --line: #ddd6ca;
  --line-dark: #cfc5b8;
  --paper: #fbf8f2;
  --panel: #fffdf9;
  --green: #0a4d38;
  --green-dark: #06382a;
  --green-soft: #edf3ee;
  --orange: #ef6342;
  --danger: #942f24;
  --shadow: 0 14px 42px rgba(34, 28, 19, .07);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
main, header, footer, nav, section, article, aside, figure, form, fieldset { min-width: 0; }
h1, h2, h3, h4, p, a, span, strong, small, li, td, th { overflow-wrap: anywhere; }
h1, h2, h3, h4, .footer-logo { font-family: var(--serif); font-weight: 500; line-height: 1.08; }
.container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 48px)); margin-inline: auto; }
.sr-only, .honeypot, .hp-field { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; padding: 10px 16px; color: #fff; background: var(--green); }
.skip-link:focus { top: 16px; }
.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.empty-inline { padding: 14px 16px; border: 1px dashed var(--line-dark); color: var(--muted); background: rgba(255,255,255,.46); }

.breaking { color: #fff; background: var(--green-dark); font-size: 12px; }
.breaking-inner { min-height: 34px; display: flex; align-items: center; gap: 14px; }
.breaking strong { display: inline-flex; align-items: center; gap: 8px; color: #ff7959; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.breaking strong span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.breaking a { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.site-header { position: relative; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(251,248,242,.98); }
.site-header.is-sticky { position: sticky; top: 0; backdrop-filter: blur(14px); box-shadow: 0 8px 28px rgba(23,23,20,.08); }
.header-main { min-height: 132px; display: grid; grid-template-columns: 1fr minmax(260px, auto) 1fr; align-items: center; }
.menu-button { justify-self: start; display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; color: var(--ink); background: transparent; font-size: 25px; }
.menu-button:hover { border-color: var(--line); }
.wordmark { min-width: 0; text-align: center; }
.wordmark > span { display: block; font: 500 clamp(42px, 5.1vw, 64px)/.92 var(--serif); letter-spacing: -.045em; text-transform: uppercase; }
.wordmark small { display: block; margin-top: 13px; font: 700 9px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.brand-wordmark { width: auto; max-width: min(470px, 42vw); max-height: 80px; margin: 0 auto; object-fit: contain; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-icon { display: grid; place-items: center; width: 42px; height: 42px; font-size: 25px; }
.account-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.site-nav { border-top: 1px solid var(--line); }
.nav-inner { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 66px); overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.site-nav a { display: inline-flex; align-items: center; gap: 5px; height: 48px; padding-top: 2px; border-bottom: 2px solid transparent; color: #5c5a55; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--green); }

.notice { margin-top: 20px; padding: 13px 16px; border: 1px solid; }
.notice.success { color: #164b2c; border-color: #9cc6ab; background: #eef7f1; }
.notice.error { color: #8a2b1d; border-color: #e8aaa0; background: #fff0ed; }
.preview-banner { position: relative; z-index: 20; padding: 11px 0; color: #fff; background: #7a4b0d; }
.preview-banner > .container { display: flex; align-items: center; gap: 14px; }
.preview-banner span { flex: 1; color: #fff3da; font-size: 12px; }
.preview-banner a { padding: 6px 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 3px; font-size: 12px; font-weight: 750; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow.light { color: #d9eee6; }
.button, .newsletter-band button, .newsletter-grid button, .newsletter-feature button, .search-box button, .text-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 45px; padding: 11px 20px; border: 1px solid var(--green); border-radius: 3px; color: #fff; background: var(--green); font-weight: 750;
}
.button:hover, .newsletter-band button:hover, .newsletter-grid button:hover, .newsletter-feature button:hover, .search-box button:hover { border-color: var(--green-dark); background: var(--green-dark); }
.button.secondary { color: var(--green); background: transparent; }
.button.danger, .danger-button { border-color: var(--danger); background: var(--danger); }
.text-button { min-height: auto; padding: 0; border: 0; color: var(--green); background: transparent; }
.text-link { color: var(--green); font-weight: 750; }

/* Homepage */
.home-lead { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(290px, .72fr); gap: 34px; padding: 40px 0 48px; }
.lead-story { min-width: 0; border-right: 1px solid var(--line); padding-right: 34px; }
.lead-media { display: block; overflow: hidden; background: #e9e3d9; }
.lead-media img { width: 100%; aspect-ratio: 16/9.7; object-fit: cover; transition: transform .35s ease; }
.editorial-placeholder { position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(24px, 4vw, 48px); overflow: hidden; color: #fff; background:
  radial-gradient(circle at 84% 18%, rgba(239,99,66,.95) 0 7%, transparent 7.2%),
  linear-gradient(145deg, #0a4d38 0%, #2f5f4f 48%, #24251f 100%); }
.editorial-placeholder::before, .editorial-placeholder::after { content: ""; position: absolute; pointer-events: none; border: 18px solid rgba(255,255,255,.16); transform: rotate(45deg); }
.editorial-placeholder::before { width: 42%; aspect-ratio: 1; right: 8%; bottom: -24%; }
.editorial-placeholder::after { width: 28%; aspect-ratio: 1; left: 11%; bottom: -20%; }
.editorial-placeholder > span, .editorial-placeholder > strong { position: relative; z-index: 1; }
.editorial-placeholder > span { font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.editorial-placeholder > strong { font: 500 clamp(28px, 4vw, 50px)/1.05 var(--serif); }
.lead-media.editorial-placeholder { aspect-ratio: 16/9.7; }
.lead-story:hover .lead-media img { transform: scale(1.012); }
.lead-copy { max-width: 900px; padding: 24px 5px 0; }
.lead-copy h1 { max-width: 850px; margin: 8px 0 13px; font-size: clamp(43px, 5.4vw, 74px); letter-spacing: -.04em; }
.lead-copy h1 a:hover, .lead-list h3 a:hover, .story-card h3 a:hover { color: var(--green); }
.lead-copy > p { max-width: 760px; margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; color: var(--muted); font-size: 12px; }
.story-meta > * + *::before { content: "·"; margin-right: 12px; color: #a69e91; }
.lead-list { padding-top: 4px; }
.lead-list > header { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lead-list h2 { margin: 5px 0 0; font-size: 31px; }
.lead-list article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.story-number { color: var(--orange); font: 500 24px/1 var(--serif); }
.lead-list h3 { margin: 5px 0 9px; font-size: 23px; }
.lead-list small { color: var(--muted); font-size: 11px; }
.home-empty { grid-column: 1/-1; min-height: 430px; display: grid; align-content: center; justify-items: center; padding: 50px; border: 1px solid var(--line); text-align: center; background: var(--panel); }
.home-empty h1 { max-width: 860px; margin: 10px 0 14px; font-size: clamp(48px, 7vw, 82px); }
.home-empty p { color: var(--muted); }
.topic-strip { display: flex; align-items: center; gap: 10px; padding-block: 16px; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.topic-strip::-webkit-scrollbar { display: none; }
.topic-strip > span { margin-right: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.topic-strip a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); font-size: 12px; white-space: nowrap; }
.topic-strip a:hover { color: #fff; border-color: var(--green); background: var(--green); }
.section { padding: 48px 0 76px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.section-head h2 { margin: 4px 0 0; font-size: 38px; }
.section-head > a { color: var(--orange); font-size: 13px; font-weight: 750; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px 20px; }
.story-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; }
.story-card-media { display: block; overflow: hidden; background: #e8e1d7; }
.story-card-media img { width: 100%; aspect-ratio: 1.42/1; object-fit: cover; transition: transform .3s ease; }
.story-card-media.editorial-placeholder { min-height: 0; aspect-ratio: 1.42/1; padding: 18px; }
.story-card-media.editorial-placeholder > strong { font-size: 24px; }
.story-card:hover .story-card-media img { transform: scale(1.018); }
.story-card-body { padding-top: 13px; }
.access-badge { display: inline-flex; align-items: center; margin: 0 8px 4px 0; padding: 4px 8px; border: 1px solid var(--green); border-radius: 999px; color: var(--green); font: 700 10px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.story-card h3 { margin: 7px 0 8px; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.015em; }
.story-card p { margin: 0 0 11px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.empty-state { grid-column: 1/-1; padding: 48px; border: 1px dashed var(--line-dark); text-align: center; background: rgba(255,255,255,.42); }

.newsletter-band { margin-top: 20px; padding: 46px 0; color: #fff; background: var(--green); }
.newsletter-inner { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.2fr); align-items: center; gap: 55px; }
.newsletter-copy h2 { margin: 5px 0 8px; font-size: clamp(38px, 4vw, 52px); }
.newsletter-copy p { margin: 0; color: #d8e7e1; }
.newsletter-cta { display: grid; justify-items: start; gap: 10px; }
.newsletter-cta .button { border-color: #fff; color: var(--green-dark); background: #fff; }
.newsletter-cta .button:hover { border-color: var(--orange); color: #fff; background: var(--orange); }
.newsletter-cta small { color: #d8e7e1; line-height: 1.5; }
.newsletter-band form { min-width: 0; }
.newsletter-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.newsletter-fields input { min-width: 0; width: 100%; padding: 14px 16px; border: 0; background: #fff; }
.newsletter-fields button { min-width: 130px; border-color: var(--orange); background: var(--orange); }
.newsletter-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; color: #d8e7e1; font-size: 12px; font-weight: 500; }
.newsletter-consent input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--orange); }

/* Category */
.category-hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.32), transparent); }
.category-hero-inner { min-height: 350px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); align-items: center; gap: 55px; padding-block: 50px; }
.category-copy { border-left: 4px solid var(--category-accent, var(--green)); padding-left: 26px; }
.category-copy h1 { margin: 8px 0 15px; font-size: clamp(55px, 7vw, 86px); letter-spacing: -.045em; }
.category-copy > p { max-width: 680px; margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.category-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.category-meta form { margin: 0; }
.category-hero figure { margin: 0; overflow: hidden; }
.category-hero figure img { width: 100%; aspect-ratio: 1.5/1; object-fit: cover; }
.category-hero.minimal .category-hero-inner { grid-template-columns: 1fr; min-height: 270px; }
.category-hero.minimal figure { display: none; }
.category-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 42px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.category-feature-media img { width: 100%; aspect-ratio: 1.55/1; object-fit: cover; }
.category-feature-media.editorial-placeholder { min-height: 0; aspect-ratio: 1.55/1; }
.category-feature h2 { margin: 8px 0 14px; font-size: clamp(38px, 4.5vw, 58px); letter-spacing: -.03em; }
.category-feature p { color: var(--muted); font-size: 16px; }

/* Article */
.article-page { max-width: 100%; overflow: hidden; }
.article-header { max-width: 980px; padding: 58px 0 34px; text-align: center; }
.article-breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 25px; color: var(--muted); font-size: 12px; }
.article-header h1 { max-width: 960px; margin: 11px auto 19px; font-size: clamp(48px, 7vw, 82px); letter-spacing: -.047em; overflow-wrap: anywhere; }
.article-header .deck { max-width: 790px; margin: 0 auto 22px; color: var(--muted); font: 500 clamp(18px, 2.2vw, 23px)/1.45 var(--sans); }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 22px; }
.byline-author { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.byline-author img, .author-initial { width: 45px; height: 45px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.author-initial { display: grid; place-items: center; color: #fff; background: var(--green); font: 500 19px var(--serif); }
.byline-author small, .byline-author strong { display: block; }
.byline-author small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.article-dates { display: flex; gap: 10px; color: var(--muted); font-size: 12px; }
.article-dates span::before { content: "·"; margin-right: 10px; }
.updated-line { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.article-hero { margin-top: 12px; }
.article-hero img { width: 100%; max-height: 760px; object-fit: cover; }
.article-hero figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }
.article-layout { display: grid; grid-template-columns: 72px minmax(0, 720px) minmax(220px, 270px); justify-content: center; align-items: start; gap: 42px; padding: 52px 0 65px; }
.article-layout > * { min-width: 0; }
.article-share { position: sticky; top: 24px; display: grid; justify-items: center; gap: 8px; }
.article-share > span { margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-share a, .article-share button { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.article-share a:hover, .article-share button:hover, .article-share button.copied { color: #fff; border-color: var(--green); background: var(--green); }
.article-share form { margin: 0; }
.article-body { min-width: 0; font: 20px/1.8 var(--serif); overflow-wrap: anywhere; }
.article-body > *:first-child { margin-top: 0; }
.member-paywall { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); font: 16px/1.65 var(--sans); }
.member-paywall h2 { margin: 8px 0 12px; font: 700 clamp(27px, 4vw, 40px)/1.12 var(--serif); }
.member-paywall p { color: var(--muted); }
.member-paywall-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.member-paywall small { display: block; color: var(--muted); }
.article-body > *:last-child { margin-bottom: 0; }
.article-body p { margin: 0 0 1.3em; }
.article-body h2 { margin: 1.45em 0 .55em; font-size: 38px; letter-spacing: -.02em; }
.article-body h3 { margin: 1.35em 0 .5em; font-size: 29px; }
.article-body h4 { font-size: 23px; }
.article-body blockquote { margin: 42px 0; padding: 5px 0 5px 24px; border-left: 4px solid var(--orange); color: var(--green); font-size: 29px; line-height: 1.45; }
.article-body img, .article-body figure, .article-body table, .article-body iframe, .article-body video, .article-body svg { max-width: 100%; }
.article-body img { height: auto; margin: 28px auto; }
.article-body table { display: block; overflow-x: auto; border-collapse: collapse; font: 14px/1.5 var(--sans); }
.article-body th, .article-body td { padding: 8px 10px; border: 1px solid var(--line); }
.article-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.article-body li + li { margin-top: .35em; }
.article-body figcaption { margin-top: 9px; color: var(--muted); font: 12px/1.5 var(--sans); text-align: center; }
.article-body pre, .article-body code { max-width: 100%; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.editorial-note { margin: 35px 0; padding: 18px 20px; border-left: 4px solid var(--green); background: var(--green-soft); font: 15px/1.6 var(--sans); }
.editorial-note strong { display: block; margin-bottom: 5px; }
.editorial-note p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.52); font: 12px/1.2 var(--sans); }
.article-tags { margin: 38px 0 20px; }
.article-sources { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--line); font: 15px/1.6 var(--sans); }
.article-sources h2 { margin-top: 0; font-size: 28px; }
.article-sources li { margin-bottom: 12px; }
.article-sources small { display: block; color: var(--muted); }
.author-box { min-width: 0; padding-left: 23px; border-left: 1px solid var(--line); }
.author-summary > img { width: 86px; height: 86px; margin: 13px 0; border-radius: 50%; object-fit: cover; }
.author-summary h2 { margin: 7px 0; font-size: 27px; overflow-wrap: anywhere; }
.author-summary p { margin: 7px 0 13px; color: var(--muted); font-size: 13px; }
.contribution-role { color: var(--ink); font-size: 12px; }
.additional-contributors, .reviewer-card { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.additional-contributors h2, .reviewer-card h2 { margin: 0 0 12px; font-size: 21px; }
.additional-contributors p { margin: 0 0 12px; }
.additional-contributors small { display: block; color: var(--muted); }
.reviewer-card { display: flex; gap: 10px; }
.reviewer-card > span { color: var(--green); font-size: 23px; }
.reviewer-card p { margin: 0; color: var(--muted); font-size: 12px; }
.related-section { padding-top: 15px; }
.comments { max-width: 900px; padding: 30px 0 75px; }
.comment-list { border-top: 1px solid var(--line); }
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment header { display: flex; justify-content: space-between; gap: 20px; }
.comment time { color: var(--muted); font-size: 12px; }
.comment p { margin-bottom: 0; }
.comment-form { margin-top: 30px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }

/* Forms and standard pages */
.comment-form label, .contact-form label, .account-form label, .auth-panel label { display: block; margin-bottom: 16px; font-size: 13px; font-weight: 750; }
.comment-form input, .comment-form textarea, .contact-form input, .contact-form textarea, .contact-form select, .account-form input, .account-form textarea, .account-form select, .auth-panel input, .auth-panel textarea, .auth-panel select, .search-box input {
  width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--line-dark); color: var(--ink); background: #fffdf9; outline: none;
}
.comment-form input:focus, .comment-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus, .account-form input:focus, .auth-panel input:focus, .auth-panel textarea:focus, .search-box input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,77,56,.09); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.standard-page { max-width: 1040px; padding-bottom: 80px; }
.standard-page > header, .compact-hero { padding: 60px 0 30px; border-bottom: 1px solid var(--line); }
.standard-page h1, .compact-hero h1, .search-page h1, .contact-page h1 { margin: 8px 0 14px; font-size: clamp(48px, 6.5vw, 74px); letter-spacing: -.04em; }
.standard-page > header p, .compact-hero p { max-width: 760px; color: var(--muted); font-size: 18px; }
.standard-page .article-body, .prose, .legal-copy { max-width: 760px; margin: 40px auto; }
.error-page { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { font-size: 60px; }
.note-card, .integration-note { padding: 16px; border: 1px solid #dec59e; background: #fff8eb; }
.note-list { display: grid; gap: 12px; margin-top: 24px; padding-left: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Search */
.search-page { padding: 55px 0 80px; }
.search-box { display: flex; max-width: 780px; margin-bottom: 28px; }
.search-box input { margin: 0; flex: 1; }
.search-results { max-width: 930px; }
.search-results article { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 26px; padding: 24px 0; border-top: 1px solid var(--line); }
.search-results img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.search-results h2 { margin: 5px 0 10px; font-size: 32px; }

/* Author and public profiles */
.author-hero { display: grid; grid-template-columns: minmax(280px, 390px) minmax(0,1fr); gap: 52px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--line); }
.author-hero > img, .author-avatar { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.author-hero h1 { margin: 8px 0; font-size: clamp(48px, 6vw, 68px); }
.author-hero h2 { font: 500 21px var(--sans); }
.author-hero p { color: var(--muted); font-size: 17px; }
.author-bio { max-width: 800px; }
.author-directory, .topic-directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 20px; padding: 30px 0 65px; }
.author-directory-card, .author-card, .topic-directory article { padding: 18px; border: 1px solid var(--line); background: var(--panel); }
.author-directory-card img, .author-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.author-directory-card h2, .author-card h2 { margin: 14px 0 5px; font-size: 26px; }
.profile-hero { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.profile-avatar, .profile-avatar-fallback { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; background: #e8e2d8; }
.profile-avatar-fallback { display: grid; place-items: center; color: var(--green); font: 64px/1 var(--serif); }
.profile-hero h1 { margin: 5px 0; font-size: clamp(45px, 6vw, 70px); }
.profile-facts { display: grid; gap: 8px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.profile-links a { color: var(--green); text-decoration: underline; }
.profile-privacy { margin: 16px 0; padding: 15px; border: 1px solid #dec59e; background: #fff8eb; }

/* Newsletter pages */
.newsletter-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.newsletter-hero h1 { font-size: clamp(48px, 6vw, 70px); }
.newsletter-hero > div:first-child p { color: var(--muted); font-size: 18px; }
.newsletter-feature { padding: 40px; color: #fff; background: var(--green); }
.newsletter-feature h2 { margin: 5px 0; font-size: 43px; }
.newsletter-feature form { display: flex; margin-top: 20px; }
.newsletter-feature input { min-width: 0; flex: 1; padding: 13px; border: 0; }
.newsletter-feature button { border-color: var(--orange); background: var(--orange); }
.newsletter-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.newsletter-grid article { padding: 22px; border: 1px solid var(--line); background: var(--panel); }
.newsletter-grid h3 { font-size: 25px; }
.newsletter-grid small { display: block; margin: 15px 0; color: var(--muted); }
.newsletter-grid form, .newsletter-grid input, .newsletter-grid button { width: 100%; }
.newsletter-grid input { padding: 11px; border: 1px solid var(--line); }
.newsletter-grid button { margin-top: 8px; }

/* Account and authentication */
.account-hero { display: block; min-height: 0; padding: 54px 0 30px; border-bottom: 1px solid var(--line); }
.account-hero h1 { margin: 8px 0 12px; font-size: clamp(46px, 6vw, 68px); letter-spacing: -.035em; }
.account-hero p { margin: 0 0 20px; color: var(--muted); }
.account-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: 650px; margin-top: 34px; margin-bottom: 72px; border: 1px solid var(--line); background: var(--panel); }
.account-nav { position: sticky; top: 22px; align-self: start; padding: 24px 18px; border-right: 1px solid var(--line); }
.account-nav a { display: block; padding: 10px 12px; border-radius: 4px; color: var(--muted); font-size: 14px; }
.account-nav a.active, .account-nav a:hover, .account-nav a:focus-visible { color: #fff; background: var(--green); }
.account-content { min-width: 0; padding: clamp(24px, 4vw, 42px); }
.account-section { padding: 0 0 42px; scroll-margin-top: 24px; }
.account-section + .account-section { padding-top: 34px; border-top: 1px solid var(--line); }
.account-section h2 { margin-top: 0; font-size: clamp(30px, 4vw, 42px); }
.account-list { display: grid; gap: 0; }
.account-list article { padding: 17px 0; border-bottom: 1px solid var(--line); }
.account-form { max-width: 900px; }
.account-form fieldset { margin: 20px 0; padding: 18px; border: 1px solid var(--line); }
.note-card { padding: 18px; border: 1px solid var(--line); background: #fff; }
.note-card.archived { opacity: .68; }
.note-card small { color: var(--muted); }
.inline-actions form { margin: 0; }
.inline-actions button { padding: 7px 11px; border: 1px solid var(--line-dark); background: #fff; cursor: pointer; }
.privacy-actions { max-width: 900px; margin-top: 28px; padding: 22px; border: 1px solid var(--line); background: #f7f4ee; }
.privacy-actions form { margin-top: 18px; }
.privacy-actions .danger-button { border-color: #8c2f22; color: #fff; background: #8c2f22; }

.auth-page { min-height: calc(100vh - 230px); display: grid; place-items: center; padding-top: 54px; padding-bottom: 70px; }
.auth-page:not(.auth-wide) { max-width: 700px; }
.auth-panel { width: 100%; padding: clamp(30px, 6vw, 64px); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 20px 60px rgba(25,31,25,.06); }
.auth-panel h1 { margin: 8px 0 12px; font-size: clamp(42px, 5vw, 60px); }
.auth-panel > p { color: var(--muted); }
.auth-wide { display: block; max-width: 940px; margin-top: 40px; margin-bottom: 70px; }
.auth-wide .auth-panel { padding: clamp(28px, 6vw, 70px); }
.auth-panel fieldset { margin: 18px 0; padding: 16px; border: 1px solid var(--line); }
.selected-plan-card { display: grid; gap: 8px; margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); background: #f7f4ed; }
.selected-plan-card h2, .selected-plan-card p { margin: 0; }
.selected-plan-card strong { color: var(--green); }
.selected-plan-card a { justify-self: start; font-size: 13px; font-weight: 800; }
.choice, .consent { display: flex; align-items: flex-start; gap: 8px; }
.choice input, .consent input { width: auto; margin-top: 4px; }
.writer-fields[hidden] { display: none; }
.application-status { padding: 12px; border: 1px solid var(--line); background: var(--green-soft); }

/* Contact, help, legal, partnerships and membership */
.contact-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; padding: 65px 0; }
.contact-page > div > p { color: var(--muted); font-size: 18px; }
.contact-form { padding: 25px; border: 1px solid var(--line); background: var(--panel); }
.help-hero, .legal-hero, .partnership-hero, .membership-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.help-hero h1, .legal-hero h1, .partnership-hero h1, .membership-hero h1 { margin: 8px 0 16px; font-size: clamp(48px, 6vw, 70px); }
.help-hero p, .legal-hero > div > p, .partnership-hero p, .membership-hero p { color: var(--muted); font-size: 18px; }
.help-visual, .partnership-visual { min-height: 300px; display: flex; align-items: flex-end; padding: 38px; color: #fff; background: linear-gradient(145deg, var(--green), #183f34); font: 42px/1.16 var(--serif); }
.help-topic-grid, .format-grid, .policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.help-topic-grid article, .format-grid article, .policy-grid > a { padding: 23px; border: 1px solid var(--line); background: var(--panel); }
.help-topic-grid h3, .format-grid h3, .policy-grid h3 { font-size: 24px; }
.help-topic-grid p, .format-grid p, .policy-grid p { color: var(--muted); }
.help-topic-grid a { color: var(--orange); font-weight: 750; }
.topic-icon, .policy-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #edf1ea; font-size: 23px; }
.help-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 20px 0 60px; }
.help-columns h2 { font-size: 34px; }
.help-columns details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.help-columns summary { cursor: pointer; font-weight: 750; }
.contact-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-team-grid a { padding: 17px; border: 1px solid var(--line); background: #fff; }
.contact-team-grid strong, .contact-team-grid span { display: block; }
.contact-team-grid span { color: var(--muted); font-size: 12px; }
.support-band { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 60px; padding: 27px 34px; background: #eef0e7; }
.support-band h2 { margin: 0; font-size: 30px; }
.privacy-card { padding: 32px; color: #fff; background: var(--green); }
.privacy-card h2 { margin: 0 0 10px; font-size: 39px; }
.privacy-card > a { display: block; margin-top: 12px; padding: 15px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.1); }
.privacy-card strong, .privacy-card span { display: block; }
.privacy-card span { color: #d5e6df; font-size: 12px; }
.legal-summary { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 45px; padding: 40px 0 75px; }
.legal-summary > h2 { grid-column: 1/-1; margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 43px; }
.legal-summary .article-body { font-size: 18px; }
.legal-summary aside { align-self: start; padding: 22px; border: 1px solid var(--line); background: #fff; }
.editorial-independence { margin: 18px 0 50px; padding: 32px 0; color: #fff; background: var(--green); }
.editorial-independence > .container { display: grid; grid-template-columns: 250px 1fr auto; gap: 30px; align-items: center; }
.editorial-independence h2 { margin: 0; font-size: 31px; }
.editorial-independence p { color: #d7e7e0; }
.pitch-grid { display: grid; grid-template-columns: 1fr 350px; gap: 50px; padding-bottom: 75px; }
.pitch-grid aside { align-self: start; padding: 27px; background: #eef1e8; }
.pricing-section { padding-bottom: 75px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pricing-grid article { position: relative; padding: 27px; border: 1px solid var(--line); background: #fff; }
.pricing-grid article.featured-plan { border: 2px solid var(--green); }
.plan-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; color: #fff; background: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.checkout-page { display: grid; gap: 24px; max-width: 820px; }
.checkout-summary { display: grid; gap: 14px; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); background: var(--panel); }
.checkout-summary dl { display: grid; gap: 10px; margin: 0; }
.checkout-summary dl div { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.checkout-summary dd { margin: 0; text-align: right; font-weight: 800; overflow-wrap: anywhere; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pricing-grid h3 { font-size: 31px; }
.price { font: 42px var(--serif); }
.price small { color: var(--muted); font: 14px var(--sans); }
.pricing-grid ul { padding: 0; list-style: none; }
.pricing-grid li { padding: 5px 0; }

/* Footer */
.site-footer { padding: 48px 0 22px; border-top: 1px solid var(--line); background: #faf7f1; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 48px; }
.footer-logo { display: inline-block; padding: 0; color: var(--ink); font-size: 29px; text-transform: uppercase; }
.footer-intro > span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { max-width: 310px; color: var(--muted); font-size: 13px; }
.site-footer h2 { margin: 0 0 10px; font: 800 10px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { display: block; padding: 3px 0; color: var(--muted); font-size: 12px; }
.site-footer a:hover { color: var(--green); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 40px; }
.pagination a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); }
.pagination a.active { color: #fff; border-color: var(--green); background: var(--green); }

@media (max-width: 1080px) {
  .story-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .newsletter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-layout { grid-template-columns: 58px minmax(0,720px); gap: 30px; }
  .author-box { grid-column: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .author-box > section { margin-top: 0; padding-top: 0; border-top: 0; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .menu-button { display: grid; }
  body.public-menu-open { overflow: hidden; }
  .container { width: min(100% - 32px, 1220px); }
  .header-main { min-height: 100px; grid-template-columns: 50px 1fr auto; }
  .brand-wordmark { max-width: min(330px, 44vw); max-height: 63px; }
  .wordmark > span { font-size: 42px; }
  .wordmark small { letter-spacing: .18em; }
  .account-link span { display: none; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-inner { min-height: auto; align-items: stretch; flex-direction: column; gap: 0; padding-block: 8px; }
  .site-nav a { width: 100%; height: auto; padding: 10px 4px; border-bottom: 1px solid var(--line); }
  .home-lead { grid-template-columns: 1fr; }
  .lead-story { padding-right: 0; border-right: 0; }
  .lead-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
  .lead-list > header { grid-column: 1/-1; }
  .lead-list article { grid-template-columns: 34px 1fr; }
  .story-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 24px; }
  .category-hero-inner, .category-feature, .newsletter-hero, .contact-page, .help-hero, .legal-hero, .partnership-hero, .membership-hero, .author-hero { grid-template-columns: 1fr; }
  .category-hero figure { max-width: 760px; }
  .article-header { padding-top: 42px; }
  .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .article-share { position: static; display: flex; justify-content: center; flex-wrap: wrap; }
  .article-share > span { width: 100%; text-align: center; }
  .author-box { grid-column: auto; grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; gap: 5px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .account-nav a { white-space: nowrap; }
  .help-columns, .legal-summary, .pitch-grid { grid-template-columns: 1fr; }
  .legal-summary > h2 { grid-column: auto; }
  .help-topic-grid, .format-grid, .policy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .editorial-independence > .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .preview-banner > .container { align-items: flex-start; flex-direction: column; gap: 5px; }
  .breaking-inner { align-items: flex-start; flex-direction: column; gap: 1px; padding-block: 6px; }
  .header-main { min-height: 84px; grid-template-columns: 42px 1fr 42px; }
  .header-actions { gap: 0; }
  .account-link { display: none; }
  .brand-wordmark { max-width: 220px; max-height: 52px; }
  .wordmark > span { font-size: 32px; }
  .wordmark small { display: none; }
  .home-lead { padding-top: 24px; }
  .lead-copy h1 { font-size: 43px; }
  .lead-list { grid-template-columns: 1fr; }
  .story-grid, .story-grid.three, .newsletter-grid, .pricing-grid, .help-topic-grid, .format-grid, .policy-grid, .contact-team-grid { grid-template-columns: 1fr; }
  .newsletter-fields { grid-template-columns: 1fr; gap: 8px; }
  .newsletter-fields button { width: 100%; }
  .category-copy { padding-left: 18px; }
  .category-copy h1 { font-size: 52px; }
  .article-header h1 { font-size: 45px; }
  .article-byline { align-items: flex-start; flex-direction: column; gap: 12px; width: fit-content; margin-inline: auto; }
  .article-dates { padding-left: 55px; }
  .article-layout { padding-top: 30px; }
  .article-body { font-size: 18px; line-height: 1.75; }
  .article-body h2 { font-size: 32px; }
  .article-body blockquote { font-size: 24px; }
  .author-box { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; gap: 8px; }
  .search-results article { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar, .profile-avatar-fallback { margin-inline: auto; }
  .profile-links { justify-content: center; }
  .support-band { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* International editorial refinements and graceful text-only content */
.story-card.text-only { min-height: 100%; padding: 22px; border: 1px solid var(--line); background: var(--panel); }
.story-card.text-only .story-card-body { padding-top: 0; }
.story-card.text-only h3 { font-size: clamp(25px, 2.4vw, 34px); }
.lead-story.text-only { display: grid; align-content: center; min-height: 520px; padding: clamp(32px, 6vw, 80px); border: 1px solid var(--line); background: linear-gradient(145deg, #fffdf9, #f2eee6); }
.lead-story.text-only .lead-copy { padding-top: 0; }
.category-feature.text-only { grid-template-columns: minmax(0, 820px); justify-content: center; text-align: center; }
.category-feature.text-only .story-meta { justify-content: center; }
.search-results article.text-only { grid-template-columns: minmax(0, 1fr); padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.search-result-media { min-width: 0; }
.standard-page-header { padding: 54px 0 28px; border-bottom: 1px solid var(--line); }
.standard-page-heading { max-width: 880px; }
.standard-page-heading h1 { margin: 8px 0 13px; font-size: clamp(48px, 6.5vw, 74px); letter-spacing: -.04em; }
.standard-page-heading p { max-width: 760px; color: var(--muted); font-size: 18px; }
.standard-page-hero { margin: 30px 0 0; overflow: hidden; }
.standard-page-hero img { width: 100%; max-height: 640px; object-fit: cover; }
.standard-page-content { max-width: 780px; margin: 42px auto 80px; }
.author-initial.large,.author-portrait.fallback,.author-card-portrait.fallback { display: grid; place-items: center; color: #fff; background: var(--green); font-family: var(--serif); }
.author-portrait.fallback,.author-card-portrait.fallback { width: 100%; aspect-ratio: 4/5; font-size: clamp(46px, 8vw, 90px); }
.author-summary .author-initial { width: 86px; height: 86px; margin: 13px 0; font-size: 34px; }
.comment-login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.comment-login-prompt strong { font: 500 24px/1.15 var(--serif); }
.comment-login-prompt p { max-width: 680px; margin: 5px 0 0; color: var(--muted); }
.comment-policy { padding: 13px 15px; border-left: 3px solid var(--green); background: var(--green-soft); color: var(--muted); font-size: 13px; }
.comment-account-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 11px; font-weight: 750; text-transform: capitalize; }
.status-approved { color: #17623b; border-color: #b7dbc3; background: #eaf7ee; }
.status-pending { color: #835018; border-color: #e7c79f; background: #fff5e8; }
.status-hidden,.status-rejected,.status-spam,.status-trash { color: #8e2d20; border-color: #e6b7b0; background: #fff0ed; }
.moderation-note,.application-status { padding: 13px 15px; border: 1px solid var(--line); background: #faf7f1; }
.preference-list { display: grid; gap: 10px; }
.preference-list label { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile-avatar-control { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 18px; align-items: center; margin: 20px 0; padding: 18px; border: 1px solid var(--line); background: #faf8f3; }
.profile-avatar-control img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.visually-hidden-upload { position: absolute; left: -9999px; }
.account-section .empty-inline { margin: 8px 0; }
.newsletter-grid article.has-image { padding-top: 0; overflow: hidden; }
.newsletter-grid article > img { width: calc(100% + 44px); max-width: none; margin: 0 -22px 20px; aspect-ratio: 16/9; object-fit: cover; }

@media (max-width: 760px) {
  .lead-story.text-only { min-height: 0; padding: 30px 22px; }
  .comment-login-prompt { align-items: flex-start; flex-direction: column; }
  .comment-login-prompt .button { width: 100%; }
  .profile-avatar-control { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar-control img { margin-inline: auto; }
}


.newsletter-detail-hero figure { margin: 0; max-width: 560px; }
.newsletter-detail-hero figure img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 2px; }
.newsletter-detail-hero figcaption { margin-top: .65rem; color: var(--muted); font-size: .86rem; }
.newsletter-detail-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(320px,1fr); gap: clamp(2rem,7vw,6rem); align-items: start; }
.newsletter-detail-form { display: grid; gap: 1rem; padding: clamp(1.25rem,3vw,2rem); border: 1px solid var(--line); background: #fff; }
.newsletter-detail-form label:not(.consent) { display: grid; gap: .45rem; font-weight: 700; }
.newsletter-detail-form input[type=email] { width: 100%; min-height: 48px; padding: .75rem; border: 1px solid var(--line); font: inherit; }
.newsletter-detail-form button { justify-self: start; }
.meta-line { display: flex; align-items: center; gap: .5rem; color: var(--muted); }
.newsletter-card-image { display: block; margin: -1rem -1rem 1.2rem; }
.newsletter-card-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (max-width: 800px) {
  .newsletter-detail-grid, .newsletter-detail-hero .standard-page-hero-inner { grid-template-columns: 1fr; }
}

.sitemap-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; padding: 44px 0 70px; }
.sitemap-grid section { display: grid; align-content: start; gap: 9px; }
.sitemap-grid h2 { margin-bottom: 8px; font-size: 1.35rem; }
.sitemap-grid a { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sitemap-grid a small { display: block; color: var(--muted); }
.sitemap-articles { grid-column: 1/-1; grid-template-columns: repeat(3,minmax(0,1fr)); }
.sitemap-articles h2 { grid-column: 1/-1; }
@media(max-width:900px){.sitemap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sitemap-articles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sitemap-grid,.sitemap-articles{grid-template-columns:1fr}.sitemap-articles h2{grid-column:auto}}

@media (max-width: 620px) {
  .checkout-summary dl div { flex-direction: column; gap: 3px; }
  .checkout-summary dd { text-align: left; }
  .checkout-actions { display: grid; width: 100%; }
  .checkout-actions .button, .checkout-actions form, .checkout-actions form .button { width: 100%; }
}

.payment-history-list { display: grid; gap: 10px; }
.payment-history-list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); }
.payment-history-list article > div { display: grid; gap: 5px; min-width: 0; }
.payment-history-list article > div:last-child { justify-items: end; }
.payment-history-list small { color: var(--muted); }
@media (max-width: 620px) {
  .payment-history-list article { align-items: flex-start; flex-direction: column; }
  .payment-history-list article > div:last-child { justify-items: start; }
}
