/* Shared journal presentation. Other layouts use only the scoped content-home rules below. */
.site-editorial {
    --site-heading-font: "Songti SC", "STSong", "SimSun", serif;
    --site-reading-width: 760px;
    --site-accent: var(--edition-accent, #65434b);
    font-size: 16px;
    line-height: 1.8;
}
.site-editorial .shell { max-width: 1200px; padding-inline: 32px; }
.site-editorial .wp-site-blocks { min-height: 100dvh; display: flex; flex-direction: column; }
.site-editorial .wp-site-blocks > main { width: 100%; flex: 1 0 auto; }
.site-editorial .wp-site-blocks > header,
.site-editorial .wp-site-blocks > footer { flex-shrink: 0; }
.site-editorial h1 { font-family: var(--site-heading-font); font-size: 36px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.site-editorial .brand,
.site-editorial .page-heading h1,
.site-editorial .feed-heading h1,
.site-editorial .article-header h1,
.site-editorial .story-title { font-family: var(--site-heading-font); font-weight: 600; letter-spacing: 0; }
.site-editorial a:focus-visible,
.site-editorial button:focus-visible,
.site-editorial input:focus-visible,
.site-editorial textarea:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 4px; }
.site-editorial .site-header { min-height: 72px; height: 72px; gap: 32px; }
.site-editorial .brand { font-size: 24px; }
.site-editorial .site-primary-nav { gap: 24px; }
.site-editorial .site-primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 1.5; }
.site-editorial .site-primary-nav a:hover,
.site-editorial .site-primary-nav a[aria-current] { color: var(--site-accent); }
.site-editorial .page-view,
.site-editorial .feed-view,
.site-editorial .archive-view { min-height: 0; padding-bottom: 64px; }
.site-editorial .page-heading,
.site-editorial .feed-heading { display: block; padding: 48px 0 32px; text-align: left; border-bottom: 0; }
.site-editorial .page-heading h1,
.site-editorial .feed-heading h1 { margin: 8px 0 16px; font-size: 36px; line-height: 1.4; }
.site-editorial .page-heading > p,
.site-editorial .feed-heading p { max-width: var(--site-reading-width); margin: 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
.site-editorial .page-heading .eyebrow,
.site-editorial .feed-heading .eyebrow { font-size: 12px; line-height: 1.6; color: var(--muted); }
.site-editorial .page-information .page-heading,
.site-editorial .page-standard .page-heading,
.site-editorial .page-prose { max-width: var(--site-reading-width); margin-inline: 0; }
.site-editorial .prose { font-size: 16px; line-height: 1.9; }
.site-editorial .prose p,
.site-editorial .prose ul,
.site-editorial .prose ol { margin: 0 0 24px; }
.site-editorial .prose h2 { margin: 32px 0 16px; font-size: 24px; line-height: 1.5; font-weight: 600; }
.site-editorial .prose h3 { margin: 24px 0 16px; font-size: 20px; line-height: 1.6; font-weight: 600; }
.site-editorial .prose > :last-child { margin-bottom: 0; }
.site-editorial .button { min-height: 48px; padding: 12px 24px; gap: 16px; background: var(--site-accent); border-radius: 4px; font-size: 14px; line-height: 1.6; }
.site-editorial .button:hover { background: var(--ink); }
.site-editorial .feed-toolbar { min-height: 56px; margin-bottom: 32px; }
.site-editorial .feed-tabs { gap: 32px; }
.site-editorial .feed-tabs a { font-size: 14px; }
.site-editorial .feed-hint { font-size: 12px; }
.site-editorial .empty-state { padding-block: 24px 32px; }
.site-editorial .empty-state h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.6; }
.site-editorial .empty-state p { margin: 0; font-size: 14px; line-height: 1.8; }

/* Reset the original flex/subgrid overlap once for journal cards. */
.site-editorial .stories-grid,
.site-editorial .stories-grid:has(> .story-card) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-bottom: 0; }
.site-editorial .stories-grid > .story-card { display: flex; flex-direction: column; grid-row: auto; grid-template-rows: none; margin-bottom: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.site-editorial .stories-grid > .story-card .story-copy { display: flex; flex-direction: column; flex: 1; grid-row: auto; grid-template-rows: none; min-width: 0; }
.site-editorial .stories-grid > .story-card .story-copy > * { align-self: auto; }
.site-editorial .stories-grid > .story-card .story-bottom { align-self: stretch; margin-top: auto; padding-top: 16px; font-size: 12px; }
.site-editorial .stories-grid > .profile-card { grid-row: auto; margin-bottom: 0; }
.site-editorial .story-card .story-title { margin: 0; font-size: 24px; line-height: 1.6; }
.site-editorial .story-meta { margin-bottom: 8px; font-size: 12px; }
.site-editorial .story-copy > p { margin: 16px 0 0; font-size: 14px; line-height: 1.8; }
.site-editorial .image-link { margin-bottom: 24px; }
.site-editorial .art,
.site-editorial .story-image { aspect-ratio: 1.7; }
.site-editorial .pagination { margin-top: 32px; }

.site-editorial .contact-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 624px); gap: 64px; align-items: start; }
.site-editorial .contact-layout > .prose { max-width: 400px; }
.site-editorial .contact-form { gap: 8px; }
.site-editorial .contact-form > label { font-size: 14px; font-weight: 500; line-height: 1.6; }
.site-editorial .contact-form label span { margin-left: 8px; font-size: 12px; font-weight: 400; }
.site-editorial .contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.site-editorial .contact-form textarea { width: 100%; min-height: 48px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid #bdbdbd; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; }
.site-editorial .contact-form textarea { min-height: 160px; }
.site-editorial .contact-form > p { margin: 0 0 16px; font-size: 14px; line-height: 1.8; }
.site-editorial .contact-form > .muted { font-size: 13px; }
.site-editorial .contact-consent { display: block; position: relative; min-height: 24px; padding-left: 30px; cursor: pointer; font-size: 14px; line-height: 1.8; }
.site-editorial .contact-consent input[type="checkbox"] { position: absolute; top: 4px; left: 0; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--site-accent); }
.site-editorial .contact-consent a { text-decoration: underline; text-underline-offset: 3px; }
.site-editorial .contact-form button { margin-top: 0; }
.site-contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; max-width: 900px; margin: 24px 0 0; }
.site-contact-methods > div { min-width: 0; }
.site-contact-methods dt { margin-bottom: 8px; color: var(--muted, #666); font-size: 13px; line-height: 1.8; }
.site-contact-methods dd { margin: 0; }
.site-contact-methods a { display: inline-block; max-width: 100%; padding-block: 4px; color: var(--ink, #202020); font-size: 22px; line-height: 1.6; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.site-editorial .contact-direct > .prose { max-width: var(--site-reading-width); }
.site-editorial .contact-direct .site-contact-methods { margin-top: 0; margin-bottom: 32px; }
.site-editorial .notice { padding: 16px 24px; margin-bottom: 24px; font-size: 14px; line-height: 1.8; }

.site-editorial .article-frame { --article-columns: 224px minmax(0, 760px); --article-gap: 48px; max-width: 1032px; margin: 48px auto 0; padding-bottom: 64px; }
.site-editorial .article-header { margin-bottom: 32px; }
.site-editorial .article-header h1 { margin: 16px 0 24px; font-size: 36px; line-height: 1.5; }
.site-editorial .article-deck { font-size: 17px; line-height: 1.8; }
.site-editorial .article-byline { margin-top: 24px; padding-top: 24px; font-size: 12px; gap: 8px 24px; }
.site-editorial .article-sources h2,
.site-editorial .article-related > h2 { font-size: 24px; }

.site-editorial .site-footer { padding-block: 32px 24px; }
.site-editorial .footer-top { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)); gap: 48px; padding-bottom: 24px; }
.site-editorial .footer-brand .brand { font-size: 24px; }
.site-editorial footer .brand-mark { color: #dbc5cb; }
.site-editorial footer a:focus-visible { outline-color: #dbc5cb; }
.site-editorial .footer-statement { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.site-editorial .footer-intro { max-width: 40ch; margin-top: 8px; font-size: 13px; line-height: 1.8; }
.site-editorial .footer-nav-group { gap: 8px; padding-top: 0; }
.site-editorial .footer-nav-group h2 { margin-bottom: 8px; font-size: 12px; }
.site-editorial .footer-nav-group a { padding-block: 2px; font-size: 14px; line-height: 1.8; }
.site-editorial .footer-bottom { padding-top: 16px; font-size: 12px; }
.site-editorial .footer-bottom .preview-note { font-size: 11px; }

/* Content-home is independently scoped so enabled homepages in other layouts remain styled. */
.site-content-home { --site-accent: var(--edition-accent, var(--ink, #202020)); padding-top: 48px; padding-bottom: 64px; color: var(--ink, #202020); font-size: 16px; line-height: 1.8; }
.site-content-home h1,
.site-content-home h2,
.site-content-home h3,
.site-content-home p { margin-top: 0; }
.site-content-home a:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 4px; }
.site-content-home a:not(.content-home-button):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-content-home .content-home-intro { max-width: 880px; padding-bottom: 48px; }
.site-content-home .content-home-kicker { margin-bottom: 16px; color: var(--site-accent); font-size: 12px; line-height: 1.6; letter-spacing: .04em; }
.site-content-home .content-home-intro h1 { max-width: 22em; margin: 0 0 24px; font-family: var(--site-heading-font, inherit); font-size: 40px; font-weight: 600; line-height: 1.45; letter-spacing: 0; }
.site-content-home .content-home-description { max-width: 760px; margin-bottom: 24px; color: var(--muted, #666); font-size: 16px; line-height: 1.9; }
.site-content-home .content-home-intro-detail { max-width: 760px; margin-top: 32px; }
.site-content-home .content-home-intro-detail p { margin: 0 0 16px; color: var(--muted, #666); font-size: 16px; line-height: 1.9; }
.site-content-home .content-home-intro-detail p:last-child { margin-bottom: 0; }
.site-content-home .content-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.site-content-home .content-home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid var(--site-accent); border-radius: 4px; background: var(--site-accent); color: #fff; font-size: 14px; line-height: 1.6; text-decoration: none; }
.site-content-home .content-home-button:hover { background: var(--ink, #202020); border-color: var(--ink, #202020); }
.site-content-home .content-home-about-link,
.site-content-home .content-home-editorial-link,
.site-content-home .content-home-section-heading > a,
.site-content-home .content-home-text-links a,
.site-content-home .content-home-section-link a,
.site-content-home .content-home-contact-link { font-size: 14px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.site-content-home .content-home-section { padding-block: 32px; border-top: 1px solid var(--line, #e3e3e3); }
.site-content-home .content-home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.site-content-home .content-home-section-heading h2,
.site-content-home .content-home-questions h2,
.site-content-home .content-home-about h2,
.site-content-home .content-home-contact h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; line-height: 1.5; }
.site-content-home .content-home-section-heading p,
.site-content-home .content-home-questions p { margin: 0; color: var(--muted, #666); font-size: 14px; line-height: 1.8; }
.site-content-home .content-home-section-heading > div { min-width: 0; }
.site-content-home .content-home-section-heading > a { flex-shrink: 0; }
.site-content-home .content-home-section-heading p { max-width: 760px; }
.site-content-home .content-home-section-intro { max-width: 760px; margin: 0 0 24px; color: var(--muted, #666); font-size: 16px; line-height: 1.9; }
.site-content-home .content-home-scope .content-home-section-heading { margin-bottom: 12px; }
.site-content-home .content-home-scope .content-home-section-heading h2 { margin-bottom: 0; }
.site-content-home .content-home-scope .content-home-section-intro { margin-bottom: 24px; font-size: 14px; line-height: 1.8; }
.site-content-home .content-home-scope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.site-content-home .content-home-scope-list > div { min-width: 0; padding-block: 20px; border-top: 1px solid var(--line, #e3e3e3); }
.site-content-home .content-home-scope-list dt { font-family: var(--site-heading-font, inherit); font-size: 20px; font-weight: 600; line-height: 1.5; }
.site-content-home .content-home-scope-list dd { margin: 8px 0 0; color: var(--muted, #666); font-size: 15px; line-height: 1.8; }
/* An unpaired final theme becomes a reading note instead of leaving an empty column. */
.site-content-home .content-home-scope-list > div:last-child:nth-child(odd) { grid-column: 1 / -1; margin-top: 4px; padding: 20px 24px; border-top: 0; border-left: 2px solid var(--site-accent); background: color-mix(in srgb, var(--site-accent) 5%, #fff); }
.site-content-home .content-home-reading-steps { max-width: 760px; margin: 0; padding-left: 24px; }
.site-content-home .content-home-reading-steps li { padding-left: 8px; }
.site-content-home .content-home-reading-steps li + li { margin-top: 24px; }
.site-content-home .content-home-reading-steps li::marker { color: var(--site-accent); font-size: 18px; }
.site-content-home .content-home-reading-steps h3 { margin: 0 0 8px; font-family: var(--site-heading-font, inherit); font-size: 20px; font-weight: 600; line-height: 1.6; }
.site-content-home .content-home-reading-steps p { margin: 0; color: var(--muted, #666); font-size: 16px; line-height: 1.9; }
.site-content-home .content-home-section-link { margin: 24px 0 0; }
.site-content-home .content-home-date { color: var(--muted, #666); font-size: 12px; line-height: 1.8; white-space: nowrap; }
.site-content-home .content-home-latest-list { margin: 0; padding: 0; list-style: none; }
.site-content-home .content-home-latest-list > li + li { border-top: 1px solid var(--line, #e3e3e3); }
.site-content-home .content-home-latest-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding-block: 24px; }
.site-content-home .content-home-latest-list > li:first-child .content-home-latest-item { padding-top: 0; }
.site-content-home .content-home-latest-item h3 { margin: 0; font-family: var(--site-heading-font, inherit); font-size: 24px; font-weight: 600; line-height: 1.6; }
.site-content-home .content-home-latest-item p { max-width: 760px; margin: 8px 0 0; color: var(--muted, #666); font-size: 14px; line-height: 1.8; }
.site-content-home [data-site-home-empty] { max-width: 760px; margin: 0; padding-block: 0 8px; color: var(--muted, #666); font-size: 14px; line-height: 1.8; }
.site-content-home [data-site-home-empty] a { color: var(--ink, #202020); text-decoration: underline; text-underline-offset: 4px; }
.site-content-home .content-home-featured-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.site-content-home .content-home-featured-count-1 { grid-template-columns: minmax(0, 760px); }
.site-content-home .content-home-featured-count-2,
.site-content-home .content-home-featured-count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-content-home .content-home-feature { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line, #e3e3e3); }
.site-content-home .content-home-feature .content-home-date { font-size: 13px; }
.site-content-home .content-home-feature h3 { margin: 12px 0; font-family: var(--site-heading-font, inherit); font-size: 22px; font-weight: 600; line-height: 1.55; }
.site-content-home .content-home-feature p { margin: 0; color: var(--muted, #666); font-size: 14px; line-height: 1.8; }

@media (max-width: 1050px) {
    .site-content-home .content-home-featured-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.site-content-home .content-home-questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; }
.site-content-home .content-home-questions ul { margin: 0; padding: 0; list-style: none; }
.site-content-home .content-home-questions li + li { margin-top: 16px; }
.site-content-home .content-home-questions a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; text-decoration: underline; text-underline-offset: 4px; }
.site-content-home .content-home-about p,
.site-content-home .content-home-contact p { max-width: 760px; margin: 0; color: var(--muted, #666); font-size: 14px; line-height: 1.8; }
.site-content-home .content-home-about .content-home-section-link,
.site-content-home .content-home-contact .content-home-section-link { margin-top: 16px; }
.site-content-home .content-home-contact { padding-bottom: 0; }

@media (max-width: 800px) {
    .site-editorial .shell { padding-inline: 24px; }
    .site-editorial .site-header { height: auto; min-height: 64px; gap: 8px 24px; }
    .site-editorial .site-primary-nav { gap: 0 24px; }
    .site-editorial .site-primary-nav a { font-size: 13px; }
    .site-editorial .brand { font-size: 22px; }
    .site-editorial .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .site-editorial .contact-layout > .prose { max-width: var(--site-reading-width); }
    .site-editorial .article-frame { max-width: 760px; margin-top: 32px; padding-bottom: 48px; }
    .site-editorial .footer-top { gap: 32px; }
    .site-content-home .content-home-featured-layout,
    .site-content-home .content-home-questions { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .site-content-home .content-home-scope-list { grid-template-columns: minmax(0, 1fr); }
    .site-content-home .content-home-scope-list > div:last-child:nth-child(odd) { margin-top: 0; padding: 16px 20px; }
}
@media (max-width: 520px) {
    .site-editorial .shell { padding-inline: 20px; }
    .site-editorial h1 { font-size: 28px; }
    .site-editorial .brand { font-size: 22px; }
    .site-editorial .page-view,
    .site-editorial .feed-view,
    .site-editorial .archive-view { padding-bottom: 48px; }
    .site-editorial .page-heading,
    .site-editorial .feed-heading { padding: 32px 0 24px; }
    .site-editorial .page-heading h1,
    .site-editorial .feed-heading h1 { margin-bottom: 16px; font-size: 28px; }
    .site-editorial .page-heading > p,
    .site-editorial .feed-heading p { max-width: none; font-size: 16px; }
    .site-editorial .feed-toolbar { margin-bottom: 24px; }
    .site-editorial .feed-tabs { gap: 24px; }
    .site-editorial .stories-grid,
    .site-editorial .stories-grid:has(> .story-card) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .site-editorial .story-card .story-title { font-size: 22px; }
    .site-editorial .image-link { margin-bottom: 16px; }
    .site-editorial .prose h2 { font-size: 22px; }
    .site-editorial .article-header h1 { font-size: 28px; }
    .site-editorial .article-deck { font-size: 16px; }
    .site-editorial .contact-form .button { width: 100%; }
    .site-editorial .site-footer { padding-block: 32px 24px; }
    .site-editorial .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .site-editorial .footer-brand { grid-column: 1 / -1; }
    .site-editorial .footer-brand .brand { font-size: 22px; }
    .site-editorial .footer-statement { margin-top: 8px; font-size: 16px; }
    .site-editorial .footer-intro { max-width: none; }
    .site-editorial .footer-nav-group { gap: 4px; }
    .site-editorial .footer-bottom { gap: 8px; }
    .site-content-home { padding-top: 32px; padding-bottom: 48px; }
    .site-content-home .content-home-intro { padding-bottom: 32px; }
    .site-content-home .content-home-intro h1 { font-size: 28px; line-height: 1.5; }
    .site-content-home .content-home-title-brand,
    .site-content-home .content-home-title-topic { display: block; }
    .site-content-home .content-home-section { padding-block: 24px; }
    .site-content-home .content-home-section-heading { flex-wrap: wrap; gap: 8px; }
    .site-content-home .content-home-section-heading h2,
    .site-content-home .content-home-questions h2,
    .site-content-home .content-home-about h2,
    .site-content-home .content-home-contact h2 { font-size: 22px; }
    .site-content-home .content-home-latest-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 24px; }
    .site-content-home .content-home-latest-item h3,
    .site-content-home .content-home-feature h3 { font-size: 22px; }
    .site-contact-methods { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .site-contact-methods a { font-size: 20px; }
}
