:root {
    --bg: #f6f3ee;
    --surface: #ffffff;
    --text: #171717;
    --muted: #666666;
    --accent: #174c8f;
    --border: #ded8cf;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-top: 72px;
}

button,
select,
input {
    font: inherit;
}

.site-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

    .site-brand:hover {
        color: var(--accent);
    }

.site-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-button,
.topbar-select {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    padding: 0.45rem 0.75rem;
}

.topbar-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

    .topbar-button:hover,
    .topbar-select:hover {
        border-color: var(--accent);
    }

    .topbar-button:focus-visible,
    .topbar-select:focus-visible,
    .primary-button:focus-visible,
    .secondary-button:focus-visible,
    .icon-button:focus-visible,
    .drawer-nav a:focus-visible,
    .drawer-nav button:focus-visible,
    .drawer-setting select:focus-visible,
    .page-tab:focus-visible,
    .pane-control-button:focus-visible,
    .country-search:focus-visible {
        outline: 3px solid rgba(23, 76, 143, 0.25);
        outline-offset: 2px;
    }

.site-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1070;
    background: rgba(0, 0, 0, 0.35);
}

.site-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    width: min(360px, 88vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    overflow: auto;
}

.site-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

    .site-menu-header h2 {
        margin: 0;
        font-size: 1.15rem;
    }

.icon-button {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 0.25rem;
    margin-top: 1rem;
}

    .drawer-nav h3 {
        margin: 0 0 0.5rem;
        font-size: 0.85rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

        .drawer-nav h3:not(:first-child) {
            margin-top: 1.25rem;
        }

    .drawer-nav a,
    .drawer-nav button {
        display: block;
        width: 100%;
        text-align: left;
        color: var(--text);
        text-decoration: none;
        border: 0;
        border-radius: 12px;
        background: transparent;
        padding: 0.7rem 0.75rem;
        cursor: pointer;
    }

        .drawer-nav a:hover,
        .drawer-nav button:hover,
        .drawer-nav button.active {
            background: rgba(0, 0, 0, 0.05);
        }

        .drawer-nav button.active {
            color: var(--accent);
            font-weight: 800;
        }

.drawer-setting {
    display: grid;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
}

    .drawer-setting span {
        color: var(--muted);
    }

    .drawer-setting select {
        width: 100%;
        padding: 0.55rem 0.65rem;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--surface);
        color: var(--text);
    }

.page {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 16px;
}

.page-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.page-tab {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    padding: 0.7rem 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

    .page-tab.active {
        background: var(--accent);
        color: #fff;
    }

.pane-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
}

.pane-control {
    position: relative;
}

.pane-control-button {
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    padding: 0.45rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-weight: 700;
}

    .pane-control-button:hover {
        border-color: var(--accent);
    }

.coverage-count-inline {
    min-width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.pane-popover {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 900;
    width: min(420px, calc(100vw - 2rem));
    max-height: 70vh;
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    padding: 1rem;
}

.pane-popover-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.coverage-section {
    margin-top: 1.25rem;
}

    .coverage-section:first-child,
    .pane-popover-header + .coverage-section {
        margin-top: 0;
    }

    .coverage-section h3 {
        margin: 0 0 0.5rem;
        font-size: 0.85rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .coverage-section label {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.45rem 0;
        cursor: pointer;
    }

.coverage-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.coverage-help {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.primary-button,
.secondary-button {
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
}

.primary-button {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
}

.secondary-button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.country-search {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    margin-bottom: 0.75rem;
}

.country-options,
.country-suggestions {
    display: grid;
    gap: 0.25rem;
    max-height: 260px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.5rem;
    background: var(--bg);
}

.country-option-button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    padding: 0.55rem 0.6rem;
    text-align: left;
    cursor: pointer;
}

    .country-option-button:hover,
    .country-option-button:focus {
        background: var(--surface-muted);
        outline: none;
    }

.country-suggestion-help,
.country-suggestion-empty {
    margin: 0;
    padding: 0.55rem 0.6rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.selected-country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.selected-country-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 0.35rem 0.45rem 0.35rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.selected-country-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    line-height: 1;
}

    .selected-country-remove:hover,
    .selected-country-remove:focus {
        background: rgba(255, 255, 255, 0.34);
        outline: none;
    }

.hero,
.newsletter-box,
.empty-state,
.story-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.hero,
.newsletter-box,
.empty-state {
    margin-bottom: 14px;
}

.empty-state {
    text-align: center;
}

    .empty-state p {
        color: var(--muted);
    }

.section-label,
.story-meta {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero p,
.newsletter-box p,
.site-footer p {
    color: var(--muted);
}

.story-list {
    display: grid;
    gap: 24px;
    margin-bottom: 14px;
}

.story-section {
    width: 100%;
}

.story-section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 22px 0 12px;
}

    .story-section-heading h2 {
        margin: 0;
        color: var(--accent);
        font-size: 0.9rem;
        line-height: 1;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    .story-section-heading::after {
        content: "";
        height: 1px;
        flex: 1;
        background: var(--border);
    }

.story-row {
    width: 100%;
    padding: 0.15rem 0 0.95rem;
}

    .story-row + .story-row {
        margin-top: 0.45rem;
    }

    .story-row h3 {
        margin: 0 0 0.25rem;
        font-size: 1.18rem;
        line-height: 1.22;
        font-weight: 800;
    }

.story-row-title {
    color: var(--text);
    text-decoration: none;
}

    .story-row-title:hover {
        color: var(--accent);
        text-decoration: underline;
    }

.story-row-meta {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.story-row-summary {
    margin: 0;
    color: var(--text);
    line-height: 1.45;
}

.newsletter-box form {
    display: grid;
    gap: 10px;
}

.newsletter-box input,
.newsletter-box button {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.newsletter-box button {
    background: var(--accent);
    color: white;
    font-weight: 700;
}

.newsletter-message {
    margin: 0;
    font-weight: 700;
    color: var(--accent) !important;
}

.site-footer {
    padding: 20px 16px;
    text-align: center;
}

.major-alert {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

    .major-alert[hidden] {
        display: none;
    }

.major-alert-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.major-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.major-dismiss {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.major-alert h2 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.major-alert p {
    color: var(--muted);
}

.major-alert-time {
    font-weight: 700;
    color: var(--accent) !important;
    margin-bottom: 10px;
}

.major-alert-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

    .major-alert-link:hover {
        text-decoration: underline;
    }

.back-link {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.story-detail {
    padding: 20px;
}

    .story-detail h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }

.story-summary {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.detail-meta-grid {
    display: grid;
    gap: 12px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
}

    .detail-meta-grid div {
        display: grid;
        gap: 4px;
    }

    .detail-meta-grid strong {
        font-size: 0.8rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

.detail-section {
    margin-top: 24px;
}

    .detail-section h2 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

.timeline {
    display: grid;
    gap: 14px;
    padding-left: 22px;
}

    .timeline li {
        padding-left: 6px;
    }

.timeline-time {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.latest-update-box {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid var(--accent);
    border-radius: 14px;
    background: #f0f5fb;
}

    .latest-update-box h2 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

.latest-update-time {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.source-list {
    display: grid;
    gap: 8px;
    padding-left: 22px;
}

.source-card {
    list-style: none;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
}

.source-card-title {
    font-weight: 800;
    margin-bottom: 4px;
}

    .source-card-title a {
        color: var(--accent);
        text-decoration: none;
    }

        .source-card-title a:hover {
            text-decoration: underline;
        }

.source-card-meta {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.source-card p {
    margin: 0;
    color: var(--muted);
}

.methodology-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: var(--bg);
}

@media (min-width: 768px) {
    .story-detail {
        padding: 28px;
    }

        .story-detail h1 {
            font-size: 2.6rem;
        }

    .detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .story-page {
        max-width: 900px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 64px;
    }

    .site-topbar {
        height: 58px;
        padding: 0 0.75rem;
    }

    .site-brand {
        font-size: 1.05rem;
    }

    .site-topbar-actions {
        gap: 0.35rem;
    }

    .topbar-button {
        padding: 0.4rem 0.6rem;
    }

    .topbar-select {
        max-width: 64px;
        padding: 0.4rem 0.45rem;
    }

    .pane-control-row {
        justify-content: flex-end;
    }

    .pane-popover {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-height: 82vh;
        border-radius: 22px 22px 0 0;
        padding-bottom: 1.25rem;
    }

    .story-section-heading h2 {
        font-size: 0.82rem;
    }

    .story-row h3 {
        font-size: 1.05rem;
    }
}


.verification-note {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--accent);
    background: var(--surface-muted);
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}


.story-bottom-nav {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* Drawer section hierarchy */
.drawer-section-divider {
    height: 1px;
    background: var(--border);
    margin: 0.9rem 0;
}

.drawer-section-group-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.25rem 0 0.45rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.drawer-section-icon {
    width: 1.25rem;
    display: inline-flex;
    justify-content: center;
    flex: 0 0 1.25rem;
}

.drawer-main-link,
.drawer-topic-link {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-weight: 700;
}

.drawer-main-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.drawer-topic-list {
    display: grid;
    gap: 0.15rem;
}

.drawer-topic-link {
    padding-left: 2.25rem;
    color: var(--text-muted);
    font-weight: 650;
}

    .drawer-main-link:hover,
    .drawer-main-link:focus,
    .drawer-topic-link:hover,
    .drawer-topic-link:focus {
        background: var(--surface-muted);
        color: var(--text);
    }

    .drawer-main-link.active,
    .drawer-topic-link.active {
        background: var(--accent-soft);
        color: var(--accent);
    }

/* Compact drawer polish */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.compact-menu-header {
    justify-content: flex-end;
    padding-bottom: 0.35rem;
    margin-bottom: 0.25rem;
}

.drawer-nav h3 {
    margin: 0.85rem 0 0.45rem;
    padding: 0.35rem 0.55rem;
    border-left: 3px solid var(--accent);
    background: var(--surface-muted);
    color: var(--text);
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.drawer-section-divider {
    margin: 0.55rem 0;
}

.drawer-section-group-label {
    margin: 0.15rem 0 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.drawer-main-link,
.drawer-topic-link {
    padding-top: 0.48rem;
    padding-bottom: 0.48rem;
    border-radius: 0.55rem;
}

.drawer-topic-list {
    gap: 0.05rem;
}

.drawer-topic-link {
    padding-left: 2rem;
    font-size: 0.95rem;
}

.drawer-setting {
    margin-top: 0.55rem;
}

    .drawer-setting span {
        font-size: 0.82rem;
        font-weight: 800;
    }

    .drawer-setting select {
        min-height: 2.25rem;
    }

/* Drawer indentation refinement */
.drawer-main-link {
    padding-left: 0;
    padding-right: 0.55rem;
}

    .drawer-main-link .drawer-section-icon {
        margin-left: 0;
    }

.drawer-topic-link {
    padding-left: 3rem;
}

/* Drawer heading refinement */
.drawer-nav h3 {
    margin: 0.95rem 0 0.5rem;
    padding: 0.15rem 0;
    border-left: 0;
    background: transparent;
    color: var(--text);
    border-radius: 0;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Coverage heading refinement */
.coverage-section h3 {
    margin: 0.85rem 0 0.5rem;
    padding: 0.15rem 0;
    border-left: 0;
    background: transparent;
    color: var(--text);
    border-radius: 0;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.coverage-section:first-child h3,
.pane-popover-header + .coverage-section h3 {
    margin-top: 0;
}

/* ---------------------------------------------------------
   Mobile/server visibility safety fixes - 2026-06-02
   These keep article text visible even if a mobile browser has
   stale cached CSS or translation fallback text is injected late.
--------------------------------------------------------- */
:root {
    --surface-muted: #f0ede7;
    --text-muted: var(--muted);
    --accent-soft: rgba(23, 76, 143, 0.10);
}

.story-link,
.story-row-title a,
.story-row-summary,
.major-alert,
.major-alert h2,
.major-alert p,
.major-alert a,
.major-alert-time {
    opacity: 1;
    visibility: visible;
}

.story-link,
.story-row-title a {
    display: inline;
    color: var(--text);
    text-decoration: none;
}

    .story-link:hover,
    .story-row-title a:hover {
        color: var(--accent);
        text-decoration: underline;
    }

.story-row-summary {
    color: var(--text);
    min-height: 1.2em;
}

.story-row-meta .dtg:empty {
    display: none;
}

.major-alert h2,
#majorAlertTitle {
    color: var(--text);
    min-height: 1.2em;
}

.major-alert p,
#majorAlertSummary {
    color: var(--muted);
    min-height: 1.2em;
}

#majorAlertLink {
    color: var(--accent);
}

@media (max-width: 640px) {
    .major-alert {
        padding: 14px;
    }

        .major-alert h2,
        #majorAlertTitle {
            font-size: 1.12rem;
            line-height: 1.25;
        }

        .major-alert p,
        #majorAlertSummary {
            font-size: 0.95rem;
            line-height: 1.45;
        }

    .story-link,
    .story-row-title a {
        overflow-wrap: anywhere;
    }
}

/* Mobile menu section-scroll fix */
.story-section-group,
.story-section,
#storyList,
#localStoryList {
    scroll-margin-top: 92px;
}

@media (max-width: 640px) {
    .story-section-group,
    .story-section,
    #storyList,
    #localStoryList {
        scroll-margin-top: 78px;
    }
}

/* Synced coverage-topic menu active state */
.drawer-topic-link.active {
    background: var(--accent-soft);
    color: var(--accent);
}



/* RTL support for Arabic */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .site-menu-drawer {
    right: auto;
    left: 0;
    border-left: 0;
    border-right: 1px solid var(--border);
    box-shadow: 18px 0 50px rgba(0, 0, 0, 0.2);
}

html[dir="rtl"] .drawer-nav a,
html[dir="rtl"] .drawer-nav button,
html[dir="rtl"] .country-option-button,
html[dir="rtl"] .drawer-main-link,
html[dir="rtl"] .drawer-topic-link {
    text-align: right;
}

html[dir="rtl"] .drawer-topic-link {
    padding-left: 0.75rem;
    padding-right: 3rem;
}

html[dir="rtl"] .pane-popover {
    right: auto;
    left: 0;
}

html[dir="rtl"] .story-section-heading::after {
    order: -1;
}

html[dir="rtl"] .verification-note {
    border-left: 0;
    border-right: 3px solid var(--accent);
}

html[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 22px;
}

    html[dir="rtl"] .timeline li {
        padding-left: 0;
        padding-right: 6px;
    }

html[dir="rtl"] .source-list {
    padding-left: 0;
    padding-right: 22px;
}

html[dir="rtl"] .back-link span[aria-hidden="true"] {
    display: inline-block;
    transform: scaleX(-1);
}

html[dir="rtl"] .drawer-nav h3 {
    letter-spacing: 0;
}

html[dir="rtl"] .coverage-section h3,
html[dir="rtl"] .major-badge,
html[dir="rtl"] .detail-meta-grid strong,
html[dir="rtl"] .story-section-heading h2 {
    letter-spacing: 0;
}




textarea {
    font: inherit;
}

.site-brand-lockup {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    min-width: 0;
}

.site-brand-name {
    white-space: nowrap;
}

.site-brand-description {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0;
    white-space: nowrap;
}

.drawer-info-links {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

    .drawer-info-links a,
    .footer-links a {
        color: var(--text);
        text-decoration: none;
        font-weight: 700;
    }

    .drawer-info-links a {
        display: block;
        padding: 0.55rem 0.65rem;
        border-radius: 12px;
    }

        .drawer-info-links a:hover,
        .drawer-info-links a:focus-visible {
            background: var(--bg);
            color: var(--accent);
        }

.site-footer-expanded {
    margin-top: 2rem;
    padding: 28px 16px;
    text-align: left;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.site-footer-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

.site-footer h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

    .footer-links a {
        color: var(--accent);
    }

.footer-small {
    font-size: 0.85rem;
}

.feedback-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--bg);
}

.feedback-form {
    display: grid;
    gap: 12px;
}

    .feedback-form label {
        display: grid;
        gap: 5px;
        color: var(--text);
        font-weight: 700;
        font-size: 0.92rem;
    }

    .feedback-form input,
    .feedback-form select,
    .feedback-form textarea {
        width: 100%;
        padding: 11px 12px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: var(--surface);
        color: var(--text);
    }

    .feedback-form textarea {
        resize: vertical;
    }

    .feedback-form button {
        padding: 12px 14px;
        border: 0;
        border-radius: 999px;
        background: var(--accent);
        color: white;
        font-weight: 800;
        cursor: pointer;
    }

.feedback-message {
    margin: 0;
    font-weight: 800;
    color: var(--accent) !important;
}

.bot-trap {
    display: none;
}

.info-page {
    width: min(850px, 100%);
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}

    .info-card h1 {
        margin-top: 0;
    }

    .info-card p,
    .info-card li {
        line-height: 1.6;
    }

@media (min-width: 850px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

@media (max-width: 760px) {
    .site-brand-description {
        display: none;
    }

    .site-footer-expanded {
        padding: 22px 14px;
    }
}