/*
Theme Name: GuneyAfrika Portal
Theme URI: https://guneyafrika.com/
Author: GüneyAfrika.com
Author URI: https://guneyafrika.com/
Description: Güney Afrika odaklı hızlı ve erişilebilir Türkçe yayın portalı teması.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: guneyafrika-portal
*/

:root {
    --ga-primary: #007A4D;
    --ga-primary-hover: #00663F;
    --ga-primary-deep: #005C3A;
    --ga-gold: #D9A441;
    --ga-gold-soft: #F3E5C3;
    --ga-ink: #102A43;
    --ga-text: #425466;
    --ga-muted: #667786;
    --ga-page: #F2F5F3;
    --ga-surface: #FFFFFF;
    --ga-border: #DCE5E1;
    --ga-bg: var(--ga-page);
    --ga-surface-muted: #EDF4F0;
    --ga-ink-soft: var(--ga-text);
    --ga-line: var(--ga-border);
    --ga-accent: var(--ga-primary);
    --ga-accent-dark: var(--ga-primary-deep);
    --ga-accent-soft: #E6F1EC;
    --ga-green: var(--ga-primary);
    --ga-yellow: var(--ga-gold);
    --ga-shadow: 0 14px 32px rgba(16, 42, 67, .08);
    --ga-radius: 12px;
    --ga-container: 1240px;
    --ga-gutter-desktop: 24px;
    --ga-gutter-tablet: 20px;
    --ga-gutter-mobile: 16px;
    --ga-prose-measure: 960px;
    --ga-space-1: 6px;
    --ga-space-2: 10px;
    --ga-space-3: 16px;
    --ga-space-4: 24px;
    --ga-space-5: 32px;
    --ga-space-6: 48px;
    --ga-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ga-display: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
html.ga-dark { color-scheme: dark; }

body {
    margin: 0;
    background: var(--ga-bg);
    color: var(--ga-ink);
    font-family: var(--ga-font);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

html.ga-dark body, body.ga-dark {
    --ga-primary: #39B982;
    --ga-primary-hover: #4CCB91;
    --ga-primary-deep: #7BD8AE;
    --ga-gold: #E6BE61;
    --ga-gold-soft: #4C4027;
    --ga-page: #0F211B;
    --ga-surface: #142923;
    --ga-surface-muted: #1C382D;
    --ga-ink: #F1F8F4;
    --ga-text: #C5D5CC;
    --ga-border: #335247;
    --ga-accent-soft: #1D4435;
    --ga-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--ga-primary-deep);
    outline-offset: 3px;
}

.skip-link {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 12px;
    padding: 10px 14px;
    top: 12px;
    width: auto;
    z-index: 100000;
    background: var(--ga-accent);
    color: #fff;
    outline: 3px solid var(--ga-ink);
    outline-offset: 2px;
}
.screen-reader-text {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    left: 12px;
    padding: 10px 14px;
    top: 12px;
    width: auto;
    z-index: 100000;
    background: var(--ga-surface);
    color: var(--ga-ink);
}

.ga-container { width: min(calc(100% - var(--ga-gutter-desktop) - var(--ga-gutter-desktop)), var(--ga-container)); margin-inline: auto; }
.ga-main { padding: var(--ga-space-5) 0 var(--ga-space-6); }
.ga-section { margin-top: var(--ga-space-5); }
.ga-section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--ga-space-3); margin: 0 0 var(--ga-space-3); }
.ga-section-heading h2 { margin: 0; font-family: var(--ga-display); font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
.ga-section-heading h2::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--ga-accent); }

.ga-button, .ga-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ga-button { min-height: 42px; padding: 10px 16px; border-radius: var(--ga-radius); background: var(--ga-accent); color: #fff; }
.ga-button:hover, .ga-button:focus-visible { background: var(--ga-accent-dark); color: #fff; }
.ga-text-link { color: var(--ga-accent); }
.ga-text-link:hover, .ga-text-link:focus-visible { color: var(--ga-accent-dark); }
.ga-icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ga-ink); }
.ga-icon-button:hover, .ga-icon-button:focus-visible { background: var(--ga-accent-soft); color: var(--ga-accent); }
.ga-icon-button svg, .ga-button svg, .ga-text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.ga-site-header { padding: 14px 0 0; }
.ga-header-inner { min-height: 64px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--ga-space-4); padding: 10px 18px; background: var(--ga-surface); border: 1px solid var(--ga-border); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-brand { display: inline-flex; align-items: center; gap: 7px; min-width: max-content; font-family: var(--ga-display); font-size: 1.1rem; font-weight: 850; letter-spacing: 0; }
.ga-brand-mark { color: var(--ga-accent); font-size: 1.45rem; line-height: 1; }
.ga-brand-suffix { color: var(--ga-accent); font-weight: 700; }
.custom-logo-link { display: block; max-width: 190px; }
.custom-logo { max-height: 42px; width: auto; }
.ga-primary-nav { min-width: 0; }
.ga-primary-nav ul { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px 16px; margin: 0; padding: 0; list-style: none; }
.ga-primary-nav a { display: block; padding: 8px 0; color: var(--ga-ink); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.ga-primary-nav a:hover, .ga-primary-nav a:focus-visible, .current-menu-item > a { color: var(--ga-accent); }
.ga-header-actions { display: flex; align-items: center; gap: 2px; }
.ga-theme-icon { display: inline-flex; }
.ga-theme-icon-light { display: none; }
body.ga-dark .ga-theme-icon-dark { display: none; }
body.ga-dark .ga-theme-icon-light { display: inline-flex; }
.ga-save-count { position: absolute; transform: translate(11px, -12px); min-width: 17px; padding: 1px 4px; border-radius: 9px; background: var(--ga-accent); color: #fff; font-size: .65rem; line-height: 15px; text-align: center; }
.ga-menu-toggle { display: none; }

.ga-search-panel { display: none; padding: 12px 0 0; }
.ga-search-panel.is-open { display: block; }
.ga-search-panel-inner { position: relative; padding: 16px; background: var(--ga-surface); border: 1px solid var(--ga-line); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-search-form { display: flex; gap: 10px; }
.ga-search-form input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); background: var(--ga-surface-muted); color: var(--ga-ink); }
.ga-search-results { display: grid; gap: 8px; margin-top: 12px; }
.ga-search-result { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 8px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-search-result img { width: 72px; aspect-ratio: 1.3; object-fit: cover; border-radius: 2px; background: var(--ga-surface-muted); }
.ga-search-result h3 { margin: 0; font-size: .92rem; line-height: 1.25; }
.ga-search-result p { margin: 4px 0 0; color: var(--ga-ink-soft); font-size: .78rem; }

.ga-hero { min-height: 390px; overflow: hidden; background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-hero-slides { position: relative; min-width: 0; min-height: 390px; }
.ga-hero-slide { display: none; min-height: 390px; }
.ga-hero-slide.is-active { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }
.ga-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 36px 30px; }
.ga-kicker { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; margin: 0 0 18px; padding: 7px 11px; border-radius: 3px; background: var(--ga-accent); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ga-hero-copy h2 { max-width: 22ch; margin: 0 0 12px; font-family: var(--ga-display); font-size: 2.3rem; line-height: 1.12; letter-spacing: 0; }
.ga-hero-copy p { max-width: 48ch; margin: 0 0 20px; color: var(--ga-ink-soft); font-size: .98rem; line-height: 1.6; }
.ga-hero-media { min-height: 390px; background: var(--ga-surface-muted); }
.ga-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ga-hero-empty { display: grid; place-items: center; min-height: 390px; padding: 40px; text-align: center; background: var(--ga-surface); }
.ga-hero-empty p { max-width: 38ch; margin: 0; color: var(--ga-ink-soft); }
.ga-hero-footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; }
.ga-hero-progress { width: 138px; height: 3px; background: var(--ga-line); }
.ga-hero-progress span { display: block; width: 25%; height: 100%; background: var(--ga-accent); }
.ga-hero-counter { margin-left: auto; color: var(--ga-ink-soft); font-size: .7rem; font-weight: 800; }
.ga-hero-arrows { display: flex; gap: 5px; }
.ga-hero-arrows .ga-icon-button { width: 30px; height: 30px; border: 1px solid var(--ga-line); }

.ga-info-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 58px; padding: 10px 16px; background: var(--ga-surface); border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-info-items { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ga-info-item { display: grid; gap: 1px; min-width: 84px; padding-right: 18px; border-right: 1px solid var(--ga-line); }
.ga-info-item:last-child { border-right: 0; }
.ga-info-label { color: var(--ga-ink-soft); font-size: .65rem; font-weight: 700; }
.ga-info-value { font-size: .78rem; font-weight: 800; }
.ga-info-note { color: var(--ga-ink-soft); font-size: .75rem; }

.ga-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ga-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: var(--ga-surface); border: 1px solid var(--ga-border); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-card-copy { flex: 1 1 auto; min-width: 0; padding: 17px 16px 10px; }
.ga-card-category { display: block; margin-bottom: 7px; color: var(--ga-accent); font-size: .66rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.ga-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 3.9em; margin: 0; font-family: var(--ga-display); font-size: 1.06rem; line-height: 1.3; letter-spacing: 0; }
.ga-card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 9px 0 15px; color: var(--ga-ink-soft); font-size: .88rem; line-height: 1.55; }
.ga-card-media { order: -1; width: 100%; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ga-surface-muted); }
.ga-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ga-card:hover .ga-card-media img { transform: scale(1.025); }
.ga-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; margin-top: auto; padding: 9px 14px; border-top: 1px solid var(--ga-line); color: var(--ga-ink-soft); font-size: .74rem; }
.ga-card-stats { display: flex; align-items: center; gap: 12px; }
.ga-card-stat { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; white-space: nowrap; }
.ga-card-meta .ga-save-toggle { width: 44px; height: 44px; margin-block: -5px; }
.ga-card-stat svg { width: 13px; height: 13px; }
.ga-card-readtime { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ga-card-readtime svg { width: 13px; height: 13px; }
.ga-card-no-image { display: grid; place-items: center; height: 100%; min-height: 120px; padding: 22px; color: var(--ga-ink-soft); font-size: .78rem; text-align: center; }
.ga-empty-state { grid-column: 1 / -1; padding: 42px 20px; background: var(--ga-surface); border: 1px dashed var(--ga-line); border-radius: var(--ga-radius); color: var(--ga-ink-soft); text-align: center; }

.ga-topic-discovery { padding: 2px 0; }
.ga-topic-links ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ga-topic-links a { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ga-line); border-radius: 8px; background: var(--ga-surface); color: var(--ga-ink); font-size: .85rem; font-weight: 750; line-height: 1.3; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.ga-topic-links a::after { margin-left: auto; padding-left: 8px; color: var(--ga-gold); content: "›"; font-size: 1rem; }
.ga-topic-links a:hover, .ga-topic-links a:focus-visible { border-color: var(--ga-primary); color: var(--ga-primary); transform: translateY(-1px); }

.ga-social-band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 30px; padding: 24px 28px; border-left: 4px solid var(--ga-accent); background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-social-intro h2 { margin: 9px 0 8px; font-family: var(--ga-display); font-size: 1.35rem; line-height: 1.15; letter-spacing: 0; }
.ga-social-intro p { max-width: 58ch; margin: 0; color: var(--ga-ink-soft); font-size: .82rem; }
.ga-social-label { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: var(--ga-accent-soft); color: var(--ga-accent); font-size: .66rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.ga-social-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ga-social-stats { display: flex; gap: 0; margin-top: 22px; padding: 9px 0; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-social-stat { flex: 1; padding: 0 14px; border-right: 1px solid var(--ga-line); }
.ga-social-stat:last-child { border-right: 0; }
.ga-social-stat strong { display: block; color: var(--ga-accent); font-size: 1.05rem; line-height: 1.2; }
.ga-social-stat span { display: block; color: var(--ga-ink-soft); font-size: .62rem; font-weight: 750; text-transform: uppercase; }
.ga-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; align-content: center; }
.ga-social-link { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-social-link:hover, .ga-social-link:focus-visible { border-color: var(--ga-accent); }
.ga-social-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--ga-accent-soft); color: var(--ga-accent); font-size: .78rem; font-weight: 900; }
.ga-social-link strong, .ga-social-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-social-link strong { font-size: .73rem; line-height: 1.2; }
.ga-social-link small { margin-top: 2px; color: var(--ga-ink-soft); font-size: .62rem; }
.ga-social-follow { color: var(--ga-ink-soft); font-size: .62rem; text-align: right; }

.ga-site-footer { margin-top: var(--ga-space-5); padding: 36px 0 18px; background: var(--ga-surface); border-top: 1px solid var(--ga-line); }
.ga-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; }
.ga-footer-brand p { max-width: 34ch; margin: 14px 0; color: var(--ga-ink-soft); font-size: .92rem; line-height: 1.65; }
.ga-footer-socials { display: flex; gap: 5px; }
.ga-footer-socials .ga-icon-button { width: 30px; height: 30px; }
.ga-footer-column h2 { margin: 0 0 14px; font-size: .98rem; }
.ga-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.ga-footer-links a { display: flex; align-items: center; min-height: 40px; color: var(--ga-ink-soft); font-size: .88rem; line-height: 1.35; }
.ga-footer-links a::before { content: "›"; padding-right: 6px; color: var(--ga-accent); font-weight: 800; }
.ga-footer-links a:hover, .ga-footer-links a:focus-visible { color: var(--ga-accent); }
.ga-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--ga-line); color: var(--ga-ink-soft); font-size: .78rem; }
.ga-footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.ga-page-hero { position: relative; padding: 48px 24px 42px; text-align: center; background: var(--ga-surface); border: 1px solid var(--ga-line); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-page-hero::before { content: ""; position: absolute; top: -1px; left: 50%; width: 52px; height: 3px; transform: translateX(-50%); background: var(--ga-accent); }
.ga-breadcrumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; color: var(--ga-ink-soft); font-size: .74rem; }
.ga-breadcrumbs a:hover { color: var(--ga-accent); }
.ga-page-hero h1 { margin: 0; font-family: var(--ga-display); font-size: 2.8rem; line-height: 1.08; letter-spacing: 0; }
.ga-page-hero p { max-width: 62ch; margin: 14px auto 0; color: var(--ga-ink-soft); }
.ga-prose-shell { width: 100%; margin: var(--ga-space-5) 0 0; padding: 42px 48px; background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-prose { width: 100%; max-width: var(--ga-prose-measure); min-width: 0; }
.ga-prose > :first-child { margin-top: 0; }
.ga-prose h2, .ga-prose h3 { font-family: var(--ga-display); line-height: 1.2; letter-spacing: 0; }
.ga-prose h2 { margin-top: 34px; font-size: 1.55rem; }
.ga-prose h3 { margin-top: 28px; font-size: 1.2rem; }
.ga-prose p, .ga-prose li { color: var(--ga-ink-soft); font-size: 1rem; line-height: 1.72; }
.ga-prose blockquote { margin: 25px 0; padding: 16px 20px; border-left: 3px solid var(--ga-accent); background: var(--ga-surface-muted); color: var(--ga-ink-soft); }
.ga-prose a { overflow-wrap: anywhere; word-break: break-word; }
.ga-prose table, .ga-article-prose table { display: block; max-width: 100%; overflow-x: auto; }
.ga-prose pre, .ga-article-prose pre { max-width: 100%; overflow-x: auto; }

.ga-article-shell { margin: 0 auto; }
.ga-article-head { overflow: hidden; background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-article-head-copy { padding: 36px 48px 28px; }
.ga-article-head h1 { max-width: 24ch; margin: 0; font-family: var(--ga-display); font-size: 2.8rem; line-height: 1.08; letter-spacing: 0; }
.ga-article-deck { max-width: 72ch; margin: 15px 0 0; color: var(--ga-ink-soft); font-size: 1rem; line-height: 1.65; }
.ga-article-cover { aspect-ratio: 1.8; background: var(--ga-surface-muted); }
.ga-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.ga-article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--ga-line); color: var(--ga-ink-soft); font-size: .72rem; }
.ga-article-byline { display: inline-flex; align-items: center; gap: 6px; }
.ga-article-tools { display: flex; gap: 8px; }
.ga-article-tool { display: inline-flex; align-items: center; gap: 4px; color: var(--ga-ink-soft); }
.ga-article-tool svg { width: 15px; height: 15px; }
.ga-article-body { margin-top: 18px; padding: 42px 48px; background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); }
.ga-article-prose { width: 100%; max-width: var(--ga-prose-measure); min-width: 0; }
.ga-article-prose > :first-child { margin-top: 0; }
.ga-article-prose h2, .ga-article-prose h3 { font-family: var(--ga-display); line-height: 1.22; letter-spacing: 0; }
.ga-article-prose h2 { margin-top: 34px; font-size: 1.55rem; }
.ga-article-prose h3 { margin-top: 28px; font-size: 1.2rem; }
.ga-article-prose p, .ga-article-prose li { color: var(--ga-ink-soft); font-size: 1rem; line-height: 1.72; }
.ga-article-prose a { overflow-wrap: anywhere; word-break: break-word; }
.ga-article-prose img { margin-block: 24px; }
.ga-article-prose .wp-block-quote { margin-block: 24px; padding: 18px 20px; border-left: 3px solid var(--ga-accent); background: var(--ga-surface-muted); }
.ga-author-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 18px; padding: 18px; background: var(--ga-surface-muted); border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--ga-line); }
.ga-author-card h2 { margin: 0; font-size: 1rem; }
.ga-author-card p { margin: 4px 0 0; color: var(--ga-ink-soft); font-size: .82rem; }
.ga-related { margin-top: 30px; }

.ga-comments { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ga-line); }
.ga-comments h2 { margin: 0 0 16px; font-family: var(--ga-display); font-size: 1.18rem; }
.comment-list { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.comment-body { padding: 15px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.comment-meta { color: var(--ga-ink-soft); font-size: .75rem; }
.comment-content p { margin-bottom: 0; color: var(--ga-ink-soft); }
.comment-form p { margin: 0 0 12px; }
.comment-form label { display: block; margin-bottom: 5px; font-size: .78rem; font-weight: 700; }
.comment-form input, .comment-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); background: var(--ga-surface-muted); color: var(--ga-ink); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit { margin-bottom: 0; }

.ga-authors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: var(--ga-space-5); }
.ga-author-tile { padding: 22px; background: var(--ga-surface); border-radius: var(--ga-radius); box-shadow: var(--ga-shadow); text-align: center; }
.ga-author-tile img { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; background: var(--ga-line); }
.ga-author-tile h2 { margin: 0; font-size: 1.05rem; }
.ga-author-tile p { margin: 5px 0 0; color: var(--ga-ink-soft); font-size: .8rem; }

.ga-drawer-overlay { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(10, 18, 27, .58); backdrop-filter: blur(4px); }
.ga-drawer-overlay.is-open { display: block; }
.ga-saved-drawer { position: fixed; top: 0; right: 0; z-index: 100; display: flex; flex-direction: column; width: min(420px, 100%); height: 100dvh; transform: translateX(100%); background: var(--ga-surface); box-shadow: -12px 0 35px rgba(10, 18, 27, .15); transition: transform .25s ease; }
.ga-saved-drawer.is-open { transform: translateX(0); }
.ga-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--ga-line); }
.ga-drawer-header h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--ga-display); font-size: 1.05rem; }
.ga-drawer-header svg { color: var(--ga-accent); }
.ga-drawer-content { flex: 1; overflow-y: auto; padding: 16px; }
.ga-saved-empty { display: grid; place-items: center; min-height: 230px; padding: 24px; color: var(--ga-ink-soft); text-align: center; }
.ga-saved-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ga-saved-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); }
.ga-saved-item img { width: 84px; aspect-ratio: 1.3; object-fit: cover; background: var(--ga-surface-muted); }
.ga-saved-item h3 { margin: 0; font-size: .82rem; line-height: 1.3; }
.ga-saved-remove { color: var(--ga-ink-soft); }
.ga-saved-remove:hover, .ga-saved-remove:focus-visible { color: var(--ga-accent); }
.ga-drawer-footer { padding: 14px 20px; border-top: 1px solid var(--ga-line); color: var(--ga-ink-soft); font-size: .75rem; }
.ga-save-toggle.is-saved { color: var(--ga-accent); }

.pagination ul.page-numbers, .pagination ol.page-numbers, .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.pagination li { margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 4px 10px; border: 1px solid var(--ga-line); border-radius: 8px; background: var(--ga-surface); color: var(--ga-ink-soft); font-size: .85rem; }
.pagination .current, .pagination a:hover, .pagination a:focus-visible { border-color: var(--ga-accent); background: var(--ga-accent); color: #fff; }

@media (max-width: 1120px) {
    body.ga-menu-open { overflow: hidden; }
    .ga-container { width: min(calc(100% - var(--ga-gutter-tablet) - var(--ga-gutter-tablet)), var(--ga-container)); }
    .ga-header-inner { grid-template-columns: auto auto; justify-content: space-between; }
    .ga-primary-nav { grid-column: 1 / -1; display: none; }
    .ga-primary-nav.is-open { display: block; }
    .ga-primary-nav ul { justify-content: flex-start; padding-top: 6px; }
    .ga-menu-toggle { display: inline-grid; }
    .ga-hero-slide.is-active { grid-template-columns: 1fr 1.2fr; }
    .ga-card-grid { gap: 16px; }
}

@media (max-width: 800px) {
    .ga-container { width: min(calc(100% - var(--ga-gutter-mobile) - var(--ga-gutter-mobile)), var(--ga-container)); }
    .ga-main { padding-top: 22px; }
    .ga-header-inner { padding: 8px 11px; }
    .ga-header-inner { column-gap: 0; row-gap: var(--ga-space-2); }
    .ga-header-actions .ga-icon-button { width: 44px; height: 44px; }
    .ga-primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
    .ga-primary-nav a { min-height: 44px; padding: 10px 0; font-size: .76rem; }
    .ga-hero-slide, .ga-hero-slide.is-active { min-height: 0; }
    .ga-hero-slide.is-active { display: block; }
    .ga-hero-copy { padding: 26px 22px; }
    .ga-hero-copy h2 { max-width: none; font-size: 1.8rem; }
    .ga-hero-media { min-height: 220px; aspect-ratio: 1.55; }
    .ga-hero-empty { min-height: 300px; }
    .ga-info-strip { display: block; overflow: hidden; }
    .ga-info-items { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
    .ga-info-item { flex: 0 0 auto; }
    .ga-info-note { margin-top: 9px; }
    .ga-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ga-card-copy { padding: 13px 12px 8px; }
    .ga-card h3 { font-size: 1.06rem; }
    .ga-card-excerpt { display: -webkit-box; }
    .ga-card-meta { display: block; padding: 7px 10px; }
    .ga-card-stats { justify-content: space-between; gap: 4px; }
    .ga-card-readtime { margin-top: 6px; }
    .ga-social-band { grid-template-columns: 1fr; gap: 22px; padding: 20px 17px; }
    .ga-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga-topic-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .ga-footer-brand { grid-column: auto; }
    .ga-footer-bottom { display: block; }
    .ga-footer-legal { justify-content: flex-start; margin-top: 9px; }
    .ga-page-hero { padding: 37px 18px 32px; }
    .ga-page-hero h1 { font-size: 2rem; }
    .ga-prose-shell, .ga-article-body { padding: 28px 24px; }
    .ga-article-head-copy { padding: 26px 24px 20px; }
    .ga-article-head h1 { font-size: 2rem; }
    .ga-article-meta { display: block; }
    .ga-article-tools { margin-top: 9px; }
    .ga-authors-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ga-author-tile { padding: 16px 11px; }
}

@media (max-width: 460px) {
    .ga-brand { font-size: .97rem; }
    .ga-brand-mark { font-size: 1.25rem; }
    .ga-header-actions { gap: 0; }
    .ga-card-grid { grid-template-columns: 1fr; }
    .ga-card-excerpt { display: -webkit-box; }
    .ga-card h3 { min-height: auto; }
    .ga-social-links, .ga-footer-grid { grid-template-columns: 1fr; }
    .ga-footer-brand { grid-column: auto; }
    .ga-authors-grid { grid-template-columns: 1fr; }
    .ga-search-form { display: grid; }
    .ga-topic-links ul { grid-template-columns: 1fr; }
}

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