/* ============================================================
   SEDAYE IRAN NEWS — news.css
   Erbt CSS-Vars aus /../assets/css/style.css
   ============================================================ */

/* ── Grundvariablen ───────────────────────────────────────── */
:root {
    --news-max-w:          1400px;
    --news-article-max-w:  720px;
    --news-header-h:       56px;
    --news-card-radius:    6px;
    --news-font-fa:        'Vazirmatn', 'Jura', system-ui, sans-serif;
    --news-accent:         #ffffcc;
    --news-accent-dark:    #e6e600;
    --news-card-gap:       1.25rem;
    --news-shadow:         0 2px 8px rgba(0,0,0,.10);
    --card-background:     #1c1f23;
    --text-secondary:      #9aa0a8;
}
[data-theme="light"] {
    --card-background:     #ffffff;
    --text-secondary:      #666;
}

/* ── Images: no border-radius ────────────────────────────── */
.news-body img,
[class*="-img-wrap"],
.ts-card-img-wrap { border-radius: 0 !important; }

/* ── Reset & Base ─────────────────────────────────────────── */
.news-body {
    font-family: var(--news-font-fa);
    padding-top: var(--news-header-h);
    min-height: 100vh;
    background: var(--background-color, #f5f5f5);
    color: var(--text-color, #222);
}

.news-body *, .news-body *::before, .news-body *::after {
    box-sizing: border-box;
}

/* ── Header ───────────────────────────────────────────────── */
.news-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--news-header-h);
    z-index: 1040;
    background: var(--header-background, rgba(18,18,18,.96));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}

.news-header-inner {
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1.25rem;
}

/* Logo */
.news-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    flex-shrink: 0;
}
.news-logo-img-full { height: 28px; width: auto; display: block; }
.news-logo-img-sq   { height: 32px; width: 32px; object-fit: contain; display: none; }
.news-logo-label {
    font-weight: 700;
    font-size: .95rem;
    color: var(--news-accent);
    letter-spacing: .02em;
}

/* Kategorie-Tabs */
.news-cat-tabs {
    display: flex;
    align-items: center;
    gap: .15rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
    padding: .25rem 0;
}
.news-cat-tabs::-webkit-scrollbar { display: none; }

.news-cat-tab {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .7rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color, #ccc);
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, color .18s;
}
.news-cat-tab:hover { background: rgba(255,255,204,.12); color: var(--news-accent); }
.news-cat-tab.active { background: var(--news-accent); color: #111; font-weight: 700; }

/* Search icon link — always hidden (inline bar on desktop, bottom bar on mobile) */
.news-header-search-icon { display: none !important; }

/* Header Actions */
.news-header-actions {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
}
/* Hamburger: sichtbar wenn Kategorie-Tabs ausgeblendet sind (≤1790px) */
.news-header-menu-toggle {
    display: inline-flex;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1031;
    flex-shrink: 0;
}
/* Ausblenden wenn Tabs sichtbar sind */
@media (min-width: 1791px) {
    .news-header-menu-toggle {
        display: none !important;
    }
}
.news-header-menu-toggle:focus {
    outline: none;
}
.news-header-menu-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color, #ccc);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
}
.news-header-menu-toggle.active .news-header-menu-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.news-header-menu-toggle.active .news-header-menu-toggle-line:nth-child(2) {
    opacity: 0;
}
.news-header-menu-toggle.active .news-header-menu-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.news-header-utility {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-shrink: 0;
    min-width: 0;
}
.news-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-color, #ccc);
    font-size: .95rem;
    font-weight: 650;
    text-decoration: none;
    line-height: 1;
    transition: background .18s, color .18s, border-color .18s;
}
.news-auth-btn span {
    white-space: nowrap;
}
.news-auth-menu-btn span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-auth-btn:hover,
.news-auth-btn:focus {
    text-decoration: none;
    background: rgba(255,255,204,.12);
    color: var(--news-accent);
    border-color: rgba(255,255,204,.18);
    outline: none;
}
.news-auth-menu-btn {
    cursor: pointer;
}
.news-auth-caret {
    font-size: .82rem;
}

/* ── Header inline search bar ─────────────────────────────── */
.news-header-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.news-hsearch-input {
    width: 100%;
    height: 36px;
    padding: 8px 52px 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    box-shadow: 1px 2px 3px rgba(0, 0, 0, .1);
    color: var(--text-color);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    -webkit-appearance: none;
    appearance: none;
}
.news-hsearch-input::placeholder { color: var(--secondary-color); opacity: 1; }
.news-hsearch-input:focus {
    border-color: rgba(255,208,111,.78);
    box-shadow: 0 0 0 3px rgba(255,208,111,.22);
}
/* Button: right cap of the pill (RTL visual start) */
.news-hsearch-btn {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    border-radius: 0 20px 20px 0;   /* physical right = RTL visual start */
    border: none;

    border-left: 1px solid rgba(128,128,128,.15);
    background: rgba(128,128,128,.08);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s, color .15s;
}
.news-hsearch-btn:hover { background: rgba(255,208,111,.18); color: #fffde7; }

/* Dark mode */
[data-theme="dark"] .news-hsearch-input {
    background-color: #1c2128;
    color: #e6edf3;
}
[data-theme="dark"] .news-hsearch-btn {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    border-left-color: rgba(255,255,255,.07);
}
[data-theme="dark"] .news-hsearch-input::placeholder { color: #8b949e; }
[data-theme="dark"] .news-hsearch-btn:hover { background: rgba(255,208,111,.18); color: #ffffcc; }

/* Light mode */
[data-theme="light"] .news-hsearch-input {
    background-color: var(--background-color);
    color: var(--text-color);
}
[data-theme="light"] .news-hsearch-btn {
    background: rgba(0,0,0,.05);
    border-color: rgba(0,0,0,.14);
    border-left-color: rgba(0,0,0,.07);
    color: #555;
}
[data-theme="light"] .news-hsearch-btn:hover { background: rgba(0,0,0,.1); color: #111; }

/* ── Desktop header groups (flat in mobile) ────────────────── */
.news-header-right,
.news-header-left { display: contents; }

/* ≥ 1280px — grid: col1(auto)=logo+tabs | col2(1fr)=search | col3(auto)=clocks+icons */
/* RTL grid: col1 = physical right, col3 = physical left                               */
@media (min-width: 1280px) {
    .news-header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: .75rem;
    }
    .news-header-right {
        display: flex;
        align-items: center;
        gap: .5rem;
        overflow: hidden;
        min-width: 0;
    }
    .news-cat-tabs { flex-shrink: 1; min-width: 0; }
    .news-header-search {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        min-width: 0;
    }
    .news-header-left {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: .5rem;
    }
    .news-header-utility {
        flex-shrink: 0;
        min-width: max-content;
    }
    .news-header-clocks {
        flex-shrink: 0;
    }
    .news-logo-img-full  { display: block; }
    .news-logo-img-sq    { display: none; }
    .news-logo-label     { display: flex; }
    .news-header-clocks  { display: flex; }
    .news-header-actions { display: flex; }
}

/* < 1280px — flex fallback: small logo, search hidden */
@media (min-width: 768px) and (max-width: 1279px) {
    .news-header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: .7rem;
    }
    .news-header-right {
        display: flex;
        align-items: center;
        gap: .45rem;
        overflow: hidden;
        min-width: 0;
    }
    .news-header-left {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: .45rem;
    }
    .news-header-utility {
        flex-shrink: 0;
        min-width: max-content;
    }
    .news-header-clocks {
        flex-shrink: 0;
    }
    .news-header-clocks { display: flex; }
    .news-header-actions { display: flex; }
    .news-logo-img-full { display: none; }
    .news-logo-img-sq   { display: block; }
    .news-logo-label    { display: none; }
    .news-header-search {
        display: flex;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        min-width: 0;
    }
}
@media (max-width: 767px) {
    .news-header-right  { display: contents; }
    .news-header-left   { display: contents; }
    .news-header-utility { display: contents; }
    .news-header-menu-toggle { display: none !important; }
    .news-logo-img-full { display: none; }
    .news-logo-img-sq   { display: block; }
    .news-logo-label    { display: none; }
    .news-header-search { display: none; }
}

.news-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color, #ccc);
    font-size: 1.15rem;
    text-decoration: none;
    transition: background .18s, color .18s;
}
.news-icon-btn:hover { background: rgba(255,255,204,.12); color: var(--news-accent); }

/* User Dropdown */
.news-user-menu { position: relative; }
.news-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 170px;
    background: var(--sidebar-background, #1a1a1a);
    border: 1px solid var(--border-color, rgba(255,255,255,.1));
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    padding: .5rem 0;
    z-index: 1050;
}
.news-user-dropdown.open { display: block; }
.news-user-dropdown .news-user-name {
    display: block;
    padding: .4rem 1rem;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
    margin-bottom: .25rem;
}
.news-user-dropdown a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    color: var(--text-color, #ccc);
    text-decoration: none;
    font-size: .88rem;
}
.news-user-dropdown a:hover { background: rgba(255,255,204,.08); color: var(--news-accent); }
[data-theme="light"] .news-auth-btn {
    color: #222;
}
[data-theme="light"] .news-auth-btn:hover,
[data-theme="light"] .news-auth-btn:focus {
    background: rgba(201,138,0,.14);
    color: #c98a00;
    border-color: rgba(201,138,0,.18);
}

.news-mobile-sidebar-overlay,
.news-mobile-sidebar {
    display: none;
}

@media (min-width: 768px) {
    body.news-mobile-sidebar-open {
        overflow: hidden;
    }
    .news-mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
        z-index: 1041;
    }
    .news-mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: min(340px, 30vw);
        min-width: 280px;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform .24s ease;
        z-index: 1042;
        background: var(--header-background, rgba(18,18,18,.97));
        border-right: 1px solid var(--border-color, rgba(255,255,255,.1));
        box-shadow: 12px 0 30px rgba(0,0,0,.28);
        overflow: hidden;
    }
    body.news-mobile-sidebar-open .news-mobile-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    body.news-mobile-sidebar-open .news-mobile-sidebar {
        transform: translateX(0);
    }
    .news-mobile-sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--news-header-h, 56px);
        padding: 0 .95rem;
        border-bottom: 1px solid var(--border-color, rgba(255,255,255,.1));
    }
    .news-mobile-sidebar-brand {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        color: var(--text-color, #ccc);
        text-decoration: none;
        font-weight: 700;
        font-size: .96rem;
    }
    .news-mobile-sidebar-brand img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
    .news-mobile-sidebar-close {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--text-color, #ccc);
        font-size: 1rem;
        cursor: pointer;
    }
    .news-mobile-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: .24rem;
        padding: .7rem .75rem 1rem;
        overflow-y: auto;
    }
    .news-mobile-sidebar-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        padding: .75rem .85rem;
        color: var(--text-color, #ccc);
        text-decoration: none;
        border: 1px solid var(--border-color, rgba(255,255,255,.1));
        background: rgba(255,255,255,.04);
        font-size: .92rem;
        font-weight: 600;
        transition: background .18s, color .18s, border-color .18s;
    }
    .news-mobile-sidebar-link:hover,
    .news-mobile-sidebar-link:focus-visible {
        color: var(--news-accent);
        background: rgba(255,255,204,.08);
        border-color: rgba(255,255,204,.18);
        outline: none;
    }
    .news-mobile-sidebar-link.active {
        color: var(--news-accent);
        border-color: rgba(255,255,204,.24);
        background: rgba(255,255,204,.12);
    }
}
[data-theme="light"] .news-mobile-sidebar {
    background: rgba(255,255,255,.96);
    border-right-color: rgba(0,0,0,.1);
    border-left-color: transparent;
}

/* ── Breaking Ticker ──────────────────────────────────────── */
.news-breaking-bar {
    background: #c0392b;
    color: #fff;
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
}
.news-breaking-label {
    flex-shrink: 0;
    padding: 0 1rem;
    font-weight: 700;
    font-size: .82rem;
    background: rgba(0,0,0,.2);
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.news-breaking-ticker {
    display: flex;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}
.news-breaking-ticker a {
    color: #fff;
    text-decoration: none;
    padding: 0 2rem;
    font-size: .85rem;
}
.news-breaking-ticker a:hover { text-decoration: underline; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Layout Wrapper ───────────────────────────────────────── */
.news-main {
    max-width: var(--news-max-w);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

/* ── Hero Slider ──────────────────────────────────────────── */
.news-hero-slider {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--news-card-gap);
    margin-bottom: 2rem;
    align-items: start;
    background: var(--card-background);
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    padding: 1.5rem 1.5rem 1.25rem;
}
[data-theme="light"] .news-hero-slider {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Big slide stage */
.nhs-main {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--news-card-radius);
    background: #111;
    cursor: grab;
}
.nhs-main:active { cursor: grabbing; }

.nhs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .65s ease;
    z-index: 1;
}
.nhs-slide.active {
    opacity: 1;
    z-index: 2;
}
.nhs-slide-img-link {
    display: block;
    width: 100%; height: 100%;
}
.nhs-slide-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Text overlay */
.nhs-slide-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
    color: #fff;
    z-index: 3;
    pointer-events: none;
}
.nhs-slide-body a { pointer-events: auto; }

.nhs-cat {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--news-accent);
    text-decoration: none;
    margin-bottom: .4rem;
    text-transform: uppercase;
}
.nhs-cat:hover { color: #fff; }

.nhs-title {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 .35rem;
}
.nhs-title a {
    color: #fff;
    text-decoration: none;
}
.nhs-title a:hover { text-decoration: none; }

.nhs-teaser {
    font-size: .84rem;
    color: rgba(255,255,255,.72);
    margin: .2rem 0 .4rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nhs-date {
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}

/* Progress bar */
.nhs-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,.15);
    z-index: 4;
}
.nhs-progress-bar {
    height: 100%;
    background: var(--news-accent);
    width: 0%;
}

/* Side nav */
.nhs-nav {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    max-height: calc((100vw - 2rem - var(--news-card-gap)) * (2/3) * (9/16));
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,204,.2) transparent;
    padding-right: .15rem;
}
.nhs-nav::-webkit-scrollbar { width: 3px; }
.nhs-nav::-webkit-scrollbar-thumb { background: rgba(255,255,204,.2); border-radius: 2px; }

.nhs-nav-item {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    background: transparent;
    border: none;
    border-right: 3px solid transparent;
    border-radius: 4px 0 0 4px;
    padding: .45rem .5rem .45rem .45rem;
    cursor: pointer;
    text-align: right;
    transition: background .18s, border-color .18s;
    width: 100%;
}
.nhs-nav-item:hover {
    background: rgba(255,255,204,.07);
    border-right-color: rgba(255,255,204,.35);
}
.nhs-nav-item.active {
    background: rgba(255,255,204,.7);
    border-right-color: var(--news-accent);
}
.nhs-nav-img {
    width: 72px;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 3px;
}
.nhs-nav-title {
    font-size: .82rem;
    line-height: 1.45;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nhs-nav-item.active .nhs-nav-title {
    color: var(--news-accent);
    font-weight: 600;
}

/* Mobile: stack + horizontal carousel */
@media (max-width: 640px) {
    .news-hero-slider {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
    .nhs-main {
        aspect-ratio: 16/9;
    }
    .nhs-nav {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        max-height: none;
        gap: .55rem;
        padding: .2rem 0 .5rem;
        scrollbar-width: none;
        cursor: grab;
    }
    .nhs-nav:active { cursor: grabbing; }
    .nhs-nav::-webkit-scrollbar { display: none; }
    .nhs-nav-item {
        flex-direction: column;
        flex-shrink: 0;
        width: 120px;
        gap: .3rem;
        padding: 0 0 .35rem;
        border-right: none;
        border-bottom: 3px solid transparent;
        border-radius: 4px 4px 0 0;
    }
    .nhs-nav-item:hover { border-right-color: transparent; border-bottom-color: rgba(255,255,204,.35); }
    .nhs-nav-item.active { border-right-color: transparent; border-bottom-color: var(--news-accent); }
    .nhs-nav-img {
        width: 100%;
        border-radius: 4px 4px 0 0;
    }
    .nhs-nav-title {
        font-size: .73rem;
        padding: 0 .3rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        color: var(--text-color);
    }
    .nhs-slide-body { padding: 1.5rem .8rem .8rem; }
    .nhs-title { font-size: 1.05rem; }
}

/* ── Hero Slider — War/Crisis red variant ─────────────────── */
.nhs--war {
    background: #180404;
    border-top-color: #c0272d;
    border-radius: 0;
    margin-bottom: 0;
    padding: 1.25rem 1.5rem 1.5rem;
}
[data-theme="light"] .nhs--war {
    background: #1a0606;
    box-shadow: 0 4px 28px rgba(140,20,20,.45);
}
.nhs--war .nhs-nav::-webkit-scrollbar-thumb { background: rgba(255,100,100,.2); }
.nhs--war .nhs-nav-item { border-right-color: rgba(255,100,100,.12); }
.nhs--war .nhs-nav-item:hover {
    background: rgba(255,100,100,.08);
    border-right-color: rgba(255,100,100,.4);
}
.nhs--war .nhs-nav-item.active {
    background: rgba(255,100,100,.14);
    border-right-color: #e53935;
}
.nhs--war .nhs-nav-title { color: #f0dede; }
.nhs--war .nhs-nav-item.active .nhs-nav-title { color: #ff9999; font-weight: 600; }
.nhs--war .nhs-progress-bar { background: #e53935; }
.nhs--war .nhs-cat {
    background: rgba(192,39,45,.55);
    color: #ffcccc;
}
.nhs--war .nhs-cat:hover { color: #fff; }
@media (max-width: 640px) {
    .nhs--war .nhs-nav-item:hover  { border-right-color: transparent; border-bottom-color: rgba(255,100,100,.4); }
    .nhs--war .nhs-nav-item.active { border-right-color: transparent; border-bottom-color: #e53935; }
}

/* ── Section Header ───────────────────────────────────────── */
.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--news-accent);
    padding-bottom: .5rem;
}
.news-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}
.news-section-more {
    font-size: .85rem;
    color: var(--news-accent);
    text-decoration: none;
}
.news-section-more:hover { text-decoration: underline; }

/* ── Article Grid ─────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--news-card-gap);
    margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }

/* ── Cards ────────────────────────────────────────────────── */
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--sidebar-background, #1e1e1e);
    border-radius: var(--news-card-radius);
    overflow: hidden;
    box-shadow: var(--news-shadow);
    transition: transform .2s, box-shadow .2s;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.news-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.news-card:hover .news-card-img { transform: scale(1.04); }

.news-card-body {
    padding: .75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    background: rgba(255,255,255,.03);
}
[data-theme="light"] .news-card-body { background: rgba(0,0,0,.025); }
.news-card-cat {
    font-size: .75rem;
    font-weight: 600;
    color: var(--news-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.news-card-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-color);
    margin: 0;
}
.news-card-title a {
    color: inherit;
    text-decoration: none;
}
.news-card-title a:hover { color: var(--news-accent); }
.news-card-date {
    font-size: .75rem;
    color: var(--text-secondary, #888);
    margin-top: auto;
}

/* Breaking chip */
.news-breaking-chip {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #c0392b;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
}

/* Hero card variant */
.news-card--hero .news-card-title { font-size: 1.3rem; }
.news-card--hero .news-card-img-wrap { aspect-ratio: 16/9; }

/* Small card variant */
.news-card--small {
    flex-direction: row;
    height: 80px;
}
.news-card--small .news-card-img-wrap {
    width: 100px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 100%;
}
.news-card--small .news-card-title { font-size: .82rem; }
.news-card--small .news-card-cat { display: none; }

/* ── Nowruz-Banner ────────────────────────────────────────── */
.news-nowruz-banner {
    background:
        linear-gradient(135deg,
            rgba(20, 80, 40, .92) 0%,
            rgba(60, 120, 30, .88) 40%,
            rgba(180, 120, 10, .90) 100%),
        url('/news/assets/img/nowruz-bg.jpg') center/cover no-repeat;
    padding: 1.4rem 1rem;
    text-align: center;
    border-bottom: 3px solid #c98a00;
    position: relative;
    overflow: hidden;
}
.news-nowruz-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(255,200,0,.18) 0%, transparent 70%);
    pointer-events: none;
}
.news-nowruz-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}
.news-nowruz-deco {
    font-size: 1.5rem;
    letter-spacing: .15rem;
    opacity: .9;
}
.news-nowruz-text {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.news-nowruz-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
    letter-spacing: .03em;
}
.news-nowruz-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    font-weight: 400;
}
@media (max-width: 600px) {
    .news-nowruz-deco { display: none; }
    .news-nowruz-title { font-size: 1.25rem; }
    .news-nowruz-sub { font-size: .82rem; }
}

/* ── Newsletter Banner ────────────────────────────────────── */
.news-newsletter-banner {
    background: linear-gradient(135deg, #2a2a3a 0%, #1a1a28 100%);
    border: 1px solid rgba(255,255,204,.15);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
    color: #fff;
}
.news-newsletter-banner h3 { color: var(--news-accent); margin-bottom: .5rem; }
.news-newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 420px;
    margin: 1rem auto 0;
}
.news-newsletter-form input {
    flex: 1;
    padding: .6rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,204,.3);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-family: var(--news-font-fa);
}
.news-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.news-newsletter-form button {
    padding: .6rem 1.2rem;
    background: var(--news-accent);
    color: #111;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--news-font-fa);
    transition: background .18s;
}
.news-newsletter-form button:hover { background: var(--news-accent-dark); }

/* ══════════════════════════════════════════════════════════════
   Tagesschau-Style Components  (ts-*)
   ════════════════════════════════════════════════════════════ */

/* Section wrapper */
.ts-section {
    max-width: 1400px;
    margin: 0 auto 2rem auto;
    border-top: 3px solid var(--news-accent);
    background: var(--card-background, rgba(255,255,255,.04));
    border-radius: 8px 8px 0 0;
    padding: 1.5rem 1.5rem 1.25rem;
}

.ts-section-head {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}
.ts-section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -.03em;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    text-align: center;
}
.ts-section-title i { font-size: 1.3rem; color: var(--news-accent); }
.ts-section-more {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: .82rem;
    color: var(--news-accent);
    text-decoration: none;
    white-space: nowrap;
    padding: .25rem .6rem;
    border: 1px solid rgba(255,255,204,.2);
    border-radius: 20px;
    transition: background .18s;
}
.ts-section-more:hover { background: rgba(255,255,204,.1); text-decoration: none; }

/* ── War/Crisis section — fully distinct dark-red design ── */
.ts-section--war {
    border-top: none;
    border-radius: 0;
    background: linear-gradient(150deg, #2d0808 0%, #1a0303 45%, #0e0101 100%);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 28px rgba(140,20,20,.45);
}
.ts-section--war .ts-section-head {
    background: linear-gradient(90deg, #6e1111 0%, #c0272d 42%, #6e1111 100%);
    padding: .85rem 1.5rem;
    margin-bottom: 0;
    border-bottom: none;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}
.ts-section--war .ts-section-title {
    font-size: 1.25rem;
    color: #fff;
    text-align: right;
}
.ts-section--war .ts-section-title i { color: #ffcccc; font-size: 1rem; }
.ts-section--war .ts-section-more {
    position: static;
    transform: none;
    color: rgba(255,220,220,.8);
    border-color: rgba(255,200,200,.3);
    font-size: .78rem;
}
.ts-section--war .ts-section-more:hover { background: rgba(255,200,200,.1); }
.ts-section--war .ts-war-grid { padding: 1.25rem 1.5rem 1.5rem; }
.ts-section--war .ts-card-title { color: #f0e0e0; }
.ts-section--war .ts-card:hover .ts-card-title { color: #ff9999; }
.ts-section--war .ts-card-teaser { color: #c0a0a0; }
.ts-section--war .ts-card-meta { color: #a08080; }
.ts-section--war .ts-card-kicker { color: #ff9999; }
.ts-section--war .ts-card-img-wrap { background: rgba(80,20,20,.5); }

/* War badge chip */
.ts-war-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #c0272d;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .18rem .5rem;
    border-radius: 3px;
    vertical-align: middle;
}

/* ── Base card ────────────────────────────────────────────── */
.ts-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.ts-card:hover { text-decoration: none; color: inherit; }

.ts-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,.18);
    margin-bottom: .65rem;
    flex-shrink: 0;
    border-radius: 3px;
}
.ts-card-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .38s ease;
}
.ts-card:hover .ts-card-img { transform: scale(1.05); }

.ts-breaking-badge {
    position: absolute; top: .4rem; right: .4rem;
    background: #c0272d; color: #fff;
    font-size: .66rem; font-weight: 700;
    padding: .13rem .45rem; border-radius: 2px;
    letter-spacing: .04em; z-index: 2;
}

.ts-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .22rem;
}

.ts-card-kicker {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--news-accent);
    line-height: 1.2;
}
.ts-card-title {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.38;
    color: var(--text-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s;
}
.ts-card:hover .ts-card-title { color: var(--news-accent); }
.ts-section--war .ts-card:hover .ts-card-title { color: #e03333; }
.ts-card-teaser {
    font-size: .8rem;
    color: var(--text-secondary, #aaa);
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.ts-card-meta {
    font-size: .7rem;
    color: var(--text-secondary, #888);
    margin-top: auto;
    padding-top: .2rem;
}

/* ── Hero card (full-width, large) ───────────────────────── */
.ts-card--hero { margin-bottom: 1rem; }
.ts-card--hero .ts-card-img-wrap { margin-bottom: .85rem; border-radius: 4px; }
.ts-card--hero .ts-card-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.ts-card--hero .ts-card-teaser {
    font-size: .88rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* ── Landscape card (image-left) ─────────────────────────── */
.ts-card--landscape {
    flex-direction: row;
    gap: .7rem;
    align-items: flex-start;
}
.ts-card--landscape .ts-card-img-wrap {
    width: 100px;
    aspect-ratio: 16/9;
    margin-bottom: 0;
    flex-shrink: 0;
}
.ts-card--landscape .ts-card-body { min-width: 0; }
.ts-card--landscape .ts-card-title {
    font-size: .85rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* ── 3-column grid ───────────────────────────────────────── */
.ts-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* ── War section: hero (2/3) + stacked cards (1/3) ──────── */
.ts-war-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1.25rem;
    align-items: start;
}
.ts-war-grid .ts-card--hero { margin-bottom: 0; }

/* Ticker */
.ts-war-ticker {
    display: flex;
    flex-direction: column;
    position: relative;
}
.ts-war-ticker-track {
    position: relative;
    min-height: 260px;
}
.ts-war-tick-item {
    display: none;
    flex-direction: row;
    gap: .75rem;
    text-decoration: none;
    border-radius: 8px;
    padding: .6rem;
    transition: background .2s;
    align-items: flex-start;
}
.ts-war-tick-item.active { display: flex; }
.ts-war-tick-item:hover { background: rgba(255,255,255,.06); }
.ts-war-tick-img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.ts-war-tick-body {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
}
.ts-war-tick-cat {
    font-size: .72rem;
    color: #ff9999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ts-war-tick-title {
    font-size: .97rem;
    font-weight: 600;
    color: #f0e0e0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ts-war-tick-dots {
    display: flex;
    gap: .4rem;
    justify-content: center;
    padding: .6rem 0 .2rem;
}
.ts-war-tick-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,150,150,.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.ts-war-tick-dot.active {
    background: #ff9999;
    transform: scale(1.3);
}
[data-theme="light"] .ts-war-tick-title { color: #f0e0e0; }
[data-theme="light"] .ts-war-tick-item:hover { background: rgba(255,255,255,.1); }
@media (max-width: 900px) {
    .ts-war-grid { grid-template-columns: 1fr; }
    .ts-war-ticker-track { min-height: 100px; }
    .ts-war-tick-item { flex-direction: row; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .ts-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ts-war-grid { grid-template-columns: 1fr; }
    .ts-war-secondary { flex-direction: row; flex-wrap: wrap; }
    .ts-war-secondary .ts-card--landscape { width: calc(50% - .4rem); }
    .ts-card--hero .ts-card-title { font-size: 1.25rem; }
    .ts-section-title { font-size: 1.5rem; }
}
@media (max-width: 640px) {
    .ts-grid-3 { grid-template-columns: 1fr; gap: .8rem; }
    .ts-section { border-top-width: 2px; padding: 1rem 1rem .9rem; margin-bottom: 1.25rem; }
    .ts-section-title { font-size: 1.2rem; }
    .ts-section-head { margin-bottom: 1rem; padding-bottom: .75rem; }
    .ts-section--war .ts-section-head { padding: .7rem 1rem; }
    .ts-section--war .ts-section-title { font-size: 1rem; }
    .ts-section--war .ts-war-grid { padding: 1rem 1rem 1.25rem; }
    .ts-card--hero .ts-card-title { font-size: 1.1rem; }
    .ts-card--hero .ts-card-teaser { -webkit-line-clamp: 2; line-clamp: 2; }
    .ts-war-grid { gap: .75rem; }
    .ts-war-secondary { flex-direction: column; }
    .ts-war-secondary .ts-card--landscape { width: 100%; }
    .ts-card--landscape .ts-card-img-wrap { width: 80px; }
}

/* Light theme */
[data-theme="light"] .ts-section         { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .ts-section-head    { border-bottom-color: #eee; }
[data-theme="light"] .ts-card-kicker     { color: #c98a00; }
[data-theme="light"] .ts-section-more    { color: #c98a00; border-color: rgba(201,138,0,.3); }
[data-theme="light"] .ts-section-title   { color: #111; }
[data-theme="light"] .ts-section-title i { color: #c98a00; }
[data-theme="light"] .ts-card:hover .ts-card-title       { color: #c98a00; }
[data-theme="light"] .ts-section--war    { background: linear-gradient(150deg, #3d0a0a 0%, #250404 45%, #140101 100%); box-shadow: 0 4px 28px rgba(100,10,10,.35); }
[data-theme="light"] .ts-section--war .ts-card-title  { color: #f5e0e0; }
[data-theme="light"] .ts-section--war .ts-card-teaser { color: #c0a0a0; }
[data-theme="light"] .ts-card-teaser     { color: #666; }
[data-theme="light"] .ts-card-meta       { color: #999; }
[data-theme="light"] .ts-card-img-wrap   { background: #e8e8e8; }

/* ══ End Tagesschau Components ══════════════════════════════ */

/* ── Article Page — Tagesschau Style ─────────────────────── */

/* Reading progress bar */
#artProgressBar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: var(--news-accent);
    z-index: 2000;
    transition: width .1s linear;
    pointer-events: none;
}

.news-article-wrap {
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

/* Article card — volle Breite des Inhalts-Wrappers */
.art-col {
    max-width: 1400px;
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    padding: 1.75rem 2rem 2rem;
    margin: 0 auto 1.5rem auto;
}

/* Inhalt zentriert auf 760px innerhalb der Card */
.art-box {
    max-width: 760px;
    margin: 0 auto;
    background: transparent;
}

/* Inline related article (inserted between paragraphs) */
.art-inline-related {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--card-background, rgba(255,255,255,.04));
    border-radius: 6px;
    border-right: 3px solid var(--news-accent);
}
.art-inline-related-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--news-accent);
    margin-bottom: .6rem;
}
.art-inline-related a {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}
.art-inline-related a:hover .art-inline-title { color: var(--news-accent); }
.art-inline-related-img {
    width: 90px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.art-inline-title {
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    transition: color .18s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="light"] .art-col { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
[data-theme="light"] .art-box { background: transparent; }
[data-theme="light"] .art-inline-related { background: #f9f9f9; border-right-color: #c98a00; }
[data-theme="light"] .art-inline-related-label { color: #c98a00; }
[data-theme="light"] .art-inline-related a:hover .art-inline-title { color: #c98a00; }

/* Breadcrumb */
.art-breadcrumb {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    color: var(--text-secondary, #888);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.art-breadcrumb a { color: var(--text-secondary, #888); text-decoration: none; }
.art-breadcrumb a:hover { color: var(--news-accent); }
.art-bc-sep { opacity: .45; font-size: .7rem; }
.art-breadcrumb span:last-child { color: var(--text-color); }

/* Article header */
.art-header { margin-bottom: 1.75rem; }

.art-meta-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .9rem;
    flex-wrap: wrap;
}
.art-category {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--news-accent);
    text-decoration: none;
    background: rgba(255,255,204,.1);
    border: 1px solid rgba(255,255,204,.2);
    padding: .18rem .55rem;
    border-radius: 3px;
    transition: background .18s;
}
.art-category:hover { background: rgba(255,255,204,.2); }
.art-date {
    font-size: .78rem;
    color: var(--text-secondary, #888);
}
.art-date-time { opacity: .75; }

.art-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.03em;
    color: var(--text-color);
    margin: 0 0 .75rem;
    direction: rtl;
}
.art-topline {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary, #aaa);
    margin: 0 0 .75rem;
    direction: rtl;
    border-right: 3px solid var(--news-accent);
    padding-right: .85rem;
}
.art-pending-notice {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,200,0,.08);
    border: 1px solid rgba(255,200,0,.2);
    border-radius: 5px;
    padding: .5rem .9rem;
    font-size: .82rem;
    color: #f0c040;
    margin-top: .75rem;
}

/* Light theme */
[data-theme="light"] .art-category { background: rgba(201,138,0,.1); border-color: rgba(201,138,0,.25); color: #c98a00; }
[data-theme="light"] .art-category:hover { background: rgba(201,138,0,.2); }
[data-theme="light"] .art-topline { border-right-color: #c98a00; color: #555; }
[data-theme="light"] .art-date { color: #888; }

/* Keep old breadcrumb working (article.php still has nav.news-breadcrumb for fallback) */
.news-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--text-secondary, #888);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.news-breadcrumb a { color: var(--news-accent); text-decoration: none; }
.news-breadcrumb a:hover { text-decoration: underline; }
.news-breadcrumb-sep { opacity: .4; }

.news-article-header { margin-bottom: 1.5rem; }

.news-article-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}
.news-cat-chip {
    font-size: .75rem;
    font-weight: 700;
    color: #111;
    background: var(--news-accent);
    padding: .2rem .65rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background .18s, color .18s;
}
.news-cat-chip:hover { background: #e6e600; color: #111; text-decoration: none; }
[data-theme="light"] .news-cat-chip:hover { background: #a87000; color: #fff; }
/* Datum-Block im Artikel */
.news-article-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .9rem;
    margin-top: .15rem;
}
.news-article-date,
.news-date-gregorian {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .82rem;
    color: var(--text-secondary, #888);
}
.news-date-time {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    margin-right: .5rem;
    font-size: .78rem;
    color: var(--news-accent);
    font-weight: 500;
}
.news-date-gregorian {
    opacity: .7;
}

/* Weltuhren in der Header-Bar */
.news-world-clocks {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex-shrink: 0;
    padding: 0 0 0 .2rem;
    border-right: none;
    border-left: none;
}
.news-clock-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    padding: .15rem .35rem;
    border-radius: 4px;
    gap: .05rem;
}
.news-clock-city {
    font-size: .99rem;
    opacity: .55;
    font-weight: 500;
    letter-spacing: .03em;
}
@media (max-width: 992px) {
    .news-clock-city {
        font-weight: 400;
        font-size: .88rem !important;
    }
}
.news-clock-time {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-color);
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.news-clock-item.local .news-clock-time { color: var(--news-accent); }
.news-clock-item.local .news-clock-city {
    color: var(--news-accent);
    opacity: .9;
}

.news-article-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .75rem;
    color: var(--text-color);
}
.news-article-topline {
    font-size: 1.1rem;
    color: var(--text-secondary, #aaa);
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* Hero Figure */
.news-article-figure {
    margin: 1.5rem 0;
}
.news-article-figure img {
    width: 100%;
    border-radius: var(--news-card-radius);
    display: block;
}
.news-article-figure figcaption {
    font-size: .78rem;
    color: var(--text-secondary, #888);
    margin-top: .4rem;
    padding: 0 .25rem;
}

/* Article body */
.news-article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}
.news-article-body p { margin: 0 0 1rem; }
.news-article-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.5rem 0 .5rem;
    color: var(--text-color);
}
.news-article-body blockquote {
    border-right: 4px solid var(--news-accent);
    padding: .5rem 1rem;
    margin: 1rem 0;
    color: var(--text-secondary, #aaa);
    font-style: italic;
}

/* Tags row */
.news-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 1.5rem 0;
}
.news-tag-chip {
    font-size: .78rem;
    padding: .25rem .7rem;
    border-radius: 20px;
    background: rgba(255,255,204,.08);
    color: var(--news-accent);
    text-decoration: none;
    border: 1px solid rgba(255,255,204,.15);
    transition: background .18s;
}
.news-tag-chip:hover { background: rgba(255,255,204,.16); }

/* Article Actions */
.news-article-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color, rgba(255,255,255,.08));
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}
.news-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border: 1px solid var(--border-color, rgba(255,255,255,.12));
    border-radius: 6px;
    background: transparent;
    color: var(--text-color);
    font-size: .88rem;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s;
    font-family: var(--news-font-fa);
}
.news-action-btn:hover {
    background: rgba(255,255,204,.1);
    color: var(--news-accent);
    border-color: rgba(255,255,204,.3);
}
.news-action-btn.bookmarked { color: var(--news-accent); border-color: var(--news-accent); }

/* ── Comments ──────────────────────────────────────────────── */
.news-comments-section { margin-top: 2rem; }
.news-comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--news-accent);
}
.news-comment {
    display: flex;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.06));
}
.news-comment-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--news-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
    font-size: .85rem;
}
.news-comment-name { font-weight: 600; font-size: .88rem; }
.news-comment-date { font-size: .75rem; color: var(--text-secondary, #888); margin-right: .5rem; }
.news-comment-text { font-size: .9rem; margin-top: .25rem; line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════
   Category / Archive Page — cat-*  (Tagesschau-Stil)
   ════════════════════════════════════════════════════════════ */

/* ── Category Header ─────────────────────────────────────── */
.cat-header {
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 4px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.5rem;
}
.cat-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.cat-header-left {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.cat-header-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,204,.1);
    border: 1.5px solid rgba(255,255,204,.2);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--news-accent);
    flex-shrink: 0;
}
.cat-header-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.03em;
    color: var(--text-color);
}
.cat-header-count {
    font-size: .82rem;
    color: var(--text-secondary, #888);
    margin-top: .2rem;
    display: block;
}
.cat-header-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--text-secondary, #888);
}
.cat-header-breadcrumb a {
    color: var(--text-secondary, #888);
    text-decoration: none;
}
.cat-header-breadcrumb a:hover { color: var(--news-accent); }

/* ── Top Section: Hero + Sidebar ────────────────────────── */
.cat-top-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
    background: var(--card-background);
    border-radius: 8px 8px 0 0;
    border-top: 3px solid var(--news-accent);
    padding: 1.5rem;
}

/* Hero card */
.cat-hero-wrap { min-width: 0; }
.cat-hero-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.cat-hero-card:hover { text-decoration: none; }
.cat-hero-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 6px;
    background: rgba(0,0,0,.18);
    margin-bottom: 1rem;
}
.cat-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.cat-hero-card:hover .cat-hero-img { transform: scale(1.04); }
.cat-hero-body { padding: 0; }
.cat-hero-kicker {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--news-accent);
    display: block;
    margin-bottom: .4rem;
}
.cat-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.03em;
    margin: 0 0 .65rem;
    color: var(--text-color);
    transition: color .18s;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-hero-card:hover .cat-hero-title { color: var(--news-accent); }
.cat-hero-teaser {
    font-size: .95rem;
    line-height: 1.65;
    color: var(--text-secondary, #aaa);
    margin: 0 0 .65rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-hero-date {
    font-size: .75rem;
    color: var(--text-secondary, #888);
}

/* Sidebar: Most Read */
.cat-sidebar {
    border-right: 2px solid var(--border-color, rgba(255,255,255,.1));
    padding-right: 1.25rem;
}
.cat-sidebar-head {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--news-accent);
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.1));
}
.cat-most-read {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.cat-mr-item { display: flex; align-items: flex-start; gap: .6rem; }
.cat-mr-rank {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--news-accent);
    line-height: 1;
    min-width: 20px;
    flex-shrink: 0;
    padding-top: .1rem;
}
.cat-mr-link {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}
.cat-mr-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.cat-mr-title {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s;
}
.cat-mr-link:hover .cat-mr-title { color: var(--news-accent); }

/* ── Grid Section (articles 2–4) ───────────────────────── */
.cat-grid-section {
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

/* ── Article List (landscape, paginated) ───────────────── */
.cat-list-section {
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
}
.cat-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.1));
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--news-accent);
}
.cat-list-page-info { font-size: .75rem; color: var(--text-secondary, #888); text-transform: none; letter-spacing: 0; }

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cat-list-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    align-items: start;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.07));
    text-decoration: none;
    color: inherit;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { text-decoration: none; }
.cat-list-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(0,0,0,.15);
}
.cat-list-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.cat-list-item:hover .cat-list-img { transform: scale(1.04); }
.cat-list-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.cat-list-kicker {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--news-accent);
}
.cat-list-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s;
}
.cat-list-item:hover .cat-list-title { color: var(--news-accent); }
.cat-list-teaser {
    font-size: .82rem;
    color: var(--text-secondary, #aaa);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-list-date { font-size: .72rem; color: var(--text-secondary, #888); margin-top: auto; }

.cat-pagination { margin-top: 1.5rem; }

/* Empty state */
.cat-empty {
    text-align: center; padding: 4rem 1rem;
    color: var(--text-secondary, #888);
}
.cat-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: .5; }
.cat-empty p { font-size: 1rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .cat-top-section { grid-template-columns: 1fr; }
    .cat-sidebar { border-right: none; padding-right: 0; border-top: 1px solid var(--border-color, rgba(255,255,255,.1)); padding-top: 1rem; }
    .cat-most-read { flex-direction: row; flex-wrap: wrap; gap: .65rem; }
    .cat-mr-item { width: calc(50% - .33rem); }
    .cat-mr-rank { display: none; }
    .cat-hero-title { font-size: 1.3rem; }
}
@media (max-width: 640px) {
    .cat-header { padding: .9rem 1rem; }
    .cat-header-title { font-size: 1.4rem; }
    .cat-header-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .cat-top-section { padding: 1rem; gap: 1rem; }
    .cat-grid-section { padding: 1rem; }
    .cat-list-section { padding: 1rem; }
    .cat-list-item { grid-template-columns: 110px 1fr; gap: .65rem; padding: .65rem 0; }
    .cat-list-title { font-size: .9rem; }
    .cat-list-teaser { display: none; }
    .cat-hero-title { font-size: 1.1rem; }
    .cat-hero-teaser { display: none; }
    .cat-most-read { flex-direction: column; }
    .cat-mr-item { width: 100%; }
}

/* Light theme */
[data-theme="light"] .cat-header           { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .cat-header-icon      { background: rgba(201,138,0,.1); border-color: rgba(180,130,0,.2); color: #c98a00; }
[data-theme="light"] .cat-header-title     { color: #111; }
[data-theme="light"] .cat-header-breadcrumb a:hover { color: #c98a00; }
[data-theme="light"] .cat-top-section      { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .cat-hero-kicker      { color: #c98a00; }
[data-theme="light"] .cat-hero-card:hover .cat-hero-title { color: #c98a00; }
[data-theme="light"] .cat-hero-teaser      { color: #555; }
[data-theme="light"] .cat-sidebar-head     { color: #c98a00; border-bottom-color: #eee; }
[data-theme="light"] .cat-sidebar          { border-right-color: #eee; }
[data-theme="light"] .cat-mr-rank          { color: #c98a00; }
[data-theme="light"] .cat-mr-link:hover .cat-mr-title { color: #c98a00; }
[data-theme="light"] .cat-grid-section     { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .cat-list-section     { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .cat-list-head        { color: #c98a00; border-bottom-color: #eee; }
[data-theme="light"] .cat-list-item        { border-bottom-color: #eee; }
[data-theme="light"] .cat-list-kicker      { color: #c98a00; }
[data-theme="light"] .cat-list-item:hover .cat-list-title { color: #c98a00; }
[data-theme="light"] .cat-list-teaser      { color: #555; }

/* ── Legacy nha-* stubs (compatibility — hidden) ─────────── */
.nha-header, .nha-section, .nha-empty, .nha-pop-grid,
.nha-latest-strip, .nha-all-grid { display: none; }

/* ══════════════════════════════════════════════════════════════
   Wissen / Science Category — cat-page--wissen
   ════════════════════════════════════════════════════════════ */

/* ── Special Wissen header ──────────────────────────────── */
.cat-header--wissen {
    background: linear-gradient(135deg,
        #082030 0%,
        #0a2d40 30%,
        #0d3550 60%,
        #082028 100%);
    border-top-color: var(--news-accent);
    position: relative;
    overflow: hidden;
}
/* subtle starfield overlay */
.cat-header--wissen::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 80px 80px, 45px 45px;
    background-position: 0 0, 40px 40px;
    opacity: .18;
    pointer-events: none;
}
.cat-header--wissen .cat-header-inner { position: relative; z-index: 1; }
.cat-header--wissen .cat-header-icon {
    background: rgba(255,255,204,.12);
    border-color: rgba(255,255,204,.35);
    color: var(--news-accent);
    width: 60px; height: 60px;
    font-size: 1.7rem;
}
.cat-header--wissen .cat-header-title { color: #e8f8f5; }
.cat-header--wissen .cat-header-count { color: rgba(200,240,235,.65); }
.cat-header--wissen .cat-header-breadcrumb,
.cat-header--wissen .cat-header-breadcrumb a { color: rgba(200,240,235,.55); }
.cat-header--wissen .cat-header-breadcrumb a:hover { color: var(--news-accent); }
.cat-header-subtitle {
    font-size: .82rem;
    color: rgba(200,240,235,.7);
    display: block;
    margin-top: .15rem;
    margin-bottom: .2rem;
    font-style: italic;
}

/* ── Topic pills (Wissen horizontal scrollable strip) ─────── */
.cat-topics-section {
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.cat-topics-head {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--news-accent);
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .75rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}
/* Horizontal pill strip — always scrollable */
.cat-topics-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .55rem;
    scrollbar-width: none;
    padding-bottom: .25rem;
}
.cat-topics-grid::-webkit-scrollbar { display: none; }

.cat-topic-tile {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1.1rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .18s, border-color .18s, transform .15s, box-shadow .18s;
}
.cat-topic-tile:hover {
    background: rgba(255,255,204,.12);
    border-color: rgba(255,255,204,.42);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    text-decoration: none;
}
.cat-topic-icon {
    font-size: 1rem;
    color: var(--news-accent);
    line-height: 1;
    flex-shrink: 0;
}
.cat-topic-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
}
.cat-topic-tile:hover .cat-topic-name { color: var(--news-accent); }

/* Wissen: full-width hero (no most-read sidebar) */
.cat-page--wissen .cat-top-section { display: block; }
.cat-page--wissen .cat-hero-wrap   { width: 100%; }
.cat-page--wissen .cat-sidebar     { display: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 640px) {
    .cat-topics-section { padding: .85rem 1rem; }
    .cat-topic-tile { padding: .45rem .9rem; }
    .cat-topic-icon { font-size: .9rem; }
    .cat-topic-name { font-size: .78rem; }
    .cat-header--wissen { padding: 1rem; }
    .cat-header-subtitle { font-size: .75rem; }
}

/* Light theme */
[data-theme="light"] .cat-header--wissen {
    background: linear-gradient(135deg, #063040 0%, #0a3d52 40%, #0e4a62 100%);
}
[data-theme="light"] .cat-topics-section { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
[data-theme="light"] .cat-topic-tile {
    background: rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.12);
}
[data-theme="light"] .cat-topic-tile:hover {
    background: rgba(180,160,0,.1);
    border-color: rgba(180,160,0,.4);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
[data-theme="light"] .cat-topics-head { color: #7a6e00; }
[data-theme="light"] .cat-topic-icon { color: #7a6e00; }
[data-theme="light"] .cat-topic-name { color: #333; }
[data-theme="light"] .cat-topic-tile:hover .cat-topic-name { color: #7a6e00; }

/* ══════════════════════════════════════════════════════════════
   Iran / Inland Category — cat-page--inland
   ════════════════════════════════════════════════════════════ */

/* ── Special Inland header (dark navy) ──────────────────── */
.cat-header--inland {
    background: linear-gradient(135deg,
        #0d1b2a 0%,
        #152638 35%,
        #1c3148 65%,
        #0d1b2a 100%);
    border-top-color: var(--news-accent);
    position: relative;
    overflow: hidden;
}
.cat-header--inland::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,204,.03) 0px,
        rgba(255,255,204,.03) 1px,
        transparent 1px,
        transparent 60px
    );
    pointer-events: none;
}
.cat-header--inland .cat-header-inner { position: relative; z-index: 1; }
.cat-header--inland .cat-header-icon {
    background: rgba(255,255,204,.1);
    border-color: rgba(255,255,204,.3);
    color: var(--news-accent);
    width: 60px; height: 60px;
    font-size: 1.7rem;
}
.cat-header--inland .cat-header-title { color: #dde8f4; }
.cat-header--inland .cat-header-count { color: rgba(200,220,240,.6); }
.cat-header--inland .cat-header-breadcrumb,
.cat-header--inland .cat-header-breadcrumb a { color: rgba(200,220,240,.5); }
.cat-header--inland .cat-header-breadcrumb a:hover { color: var(--news-accent); }

/* ── Inland hero: full-width (no sidebar) ───────────────── */
.cat-page--inland .cat-top-section { display: block; }
.cat-page--inland .cat-hero-wrap   { width: 100%; }
.cat-page--inland .cat-sidebar     { display: none; }

/* ── Inland shared section wrapper ──────────────────────── */
.cat-inland-section {
    background: var(--card-background, rgba(255,255,255,.04));
    border-top: 3px solid var(--news-accent);
    border-radius: 8px 8px 0 0;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
}
.cat-inland-section-head {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--news-accent);
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}

/* ══ SECTION 1: Landscape stream (image 400×225 left + text right) ══ */
.cat-inland-stream {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cat-inland-stream-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1.25rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.07));
    transition: background .18s;
}
.cat-inland-stream-item:first-child { padding-top: 0; }
.cat-inland-stream-item:last-child  { border-bottom: none; padding-bottom: 0; }
.cat-inland-stream-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}
.cat-inland-stream-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.cat-inland-stream-item:hover .cat-inland-stream-img { transform: scale(1.04); }
.cat-inland-stream-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-top: .2rem;
}
.cat-inland-stream-kicker {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--news-accent);
    letter-spacing: .06em;
}
.cat-inland-stream-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-color);
    margin: 0;
}
.cat-inland-stream-item:hover .cat-inland-stream-title { color: var(--news-accent); }
.cat-inland-stream-teaser {
    font-size: .9rem;
    line-height: 1.65;
    color: var(--text-secondary, #aaa);
    margin: 0;
}
.cat-inland-mehr {
    color: var(--news-accent);
    font-weight: 600;
    font-size: .85rem;
    margin-right: .25rem;
}
.cat-inland-stream-date {
    font-size: .75rem;
    color: var(--text-secondary, #888);
    margin-top: .1rem;
}

/* ══ SECTION 2: 2×3 Square-image grid ════════════════════ */
.cat-inland-sqgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cat-inland-sq-item {
    display: grid;
    grid-template-columns: 193px 1fr;
    gap: .85rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    padding: .5rem;
    transition: background .18s;
}
.cat-inland-sq-item:hover { background: rgba(255,255,255,.05); }
.cat-inland-sq-img-wrap {
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
}
.cat-inland-sq-img {
    width: 193px;
    height: 193px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.cat-inland-sq-item:hover .cat-inland-sq-img { transform: scale(1.04); }
.cat-inland-sq-body {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding-top: .2rem;
}
.cat-inland-sq-kicker {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--news-accent);
    letter-spacing: .05em;
}
.cat-inland-sq-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-color);
    margin: 0;
}
.cat-inland-sq-item:hover .cat-inland-sq-title { color: var(--news-accent); }
.cat-inland-sq-date {
    font-size: .72rem;
    color: var(--text-secondary, #888);
    margin-top: auto;
}

/* ══ SECTION 3: Featured spotlight article ═══════════════ */
.cat-inland-featured { padding: 0; overflow: hidden; }
.cat-inland-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    min-height: 340px;
}
.cat-inland-featured-img-wrap {
    overflow: hidden;
}
.cat-inland-featured-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.cat-inland-featured-card:hover .cat-inland-featured-img { transform: scale(1.04); }
.cat-inland-featured-body {
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    justify-content: center;
    background: var(--card-background);
}
.cat-inland-featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
}
.cat-inland-featured-card:hover .cat-inland-featured-title { color: var(--news-accent); }
.cat-inland-featured-teaser {
    font-size: .93rem;
    line-height: 1.7;
    color: var(--text-secondary, #aaa);
    margin: 0;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cat-inland-stream-item { grid-template-columns: 320px 1fr; }
    .cat-inland-featured-card { grid-template-columns: 1fr; min-height: unset; }
    .cat-inland-featured-img { min-height: 260px; height: 260px; }
}
@media (max-width: 860px) {
    .cat-inland-stream-item { grid-template-columns: 240px 1fr; gap: .9rem; }
    .cat-inland-sq-item { grid-template-columns: 140px 1fr; }
    .cat-inland-sq-img { width: 140px; height: 140px; }
    .cat-inland-stream-title { font-size: 1.05rem; }
}
@media (max-width: 640px) {
    .cat-inland-stream-item { grid-template-columns: 1fr; }
    .cat-inland-stream-img { max-height: 220px; }
    .cat-inland-sqgrid { grid-template-columns: 1fr; }
    .cat-inland-sq-item { grid-template-columns: 110px 1fr; }
    .cat-inland-sq-img { width: 110px; height: 110px; }
    .cat-inland-section { padding: 1rem; }
    .cat-inland-featured-body { padding: 1.25rem 1.25rem 1.25rem; }
    .cat-inland-featured-title { font-size: 1.2rem; }
}

/* Light theme */
[data-theme="light"] .cat-header--inland {
    background: linear-gradient(135deg, #1a2d42 0%, #22384f 40%, #2a4260 100%);
}
[data-theme="light"] .cat-inland-sq-item:hover {
    background: rgba(0,0,0,.04);
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 2rem;
}
.news-pag-btn {
    padding: .45rem .9rem;
    border-radius: 6px;
    border: 1px solid var(--border-color, rgba(255,255,255,.12));
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    font-size: .88rem;
    transition: background .18s;
}
.news-pag-btn:hover, .news-pag-btn.active {
    background: var(--news-accent);
    color: #111;
    border-color: var(--news-accent);
    font-weight: 700;
}

/* ── Search Page ──────────────────────────────────────────── */
.news-search-form {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto 2rem;
    max-width: 700px;
}
@media (min-width: 1280px) {
    .news-search-form { display: none; }  /* navbar search bar handles this on desktop */
}
.news-search-input {
    flex: 1;
    height: 48px;
    padding: 0 68px 0 18px;   /* RTL: right padding for cap button */
    border-radius: 24px;
    border: 1px solid var(--border-color, rgba(255,255,255,.15));
    background: rgba(255,255,255,.07);
    color: var(--text-color);
    font-family: var(--news-font-fa);
    font-size: 1rem;
    outline: none;
    transition: border-color .18s, background .18s;
    -webkit-appearance: none;
    appearance: none;
}
.news-search-input:focus {
    border-color: rgba(255,208,111,.78);
    box-shadow: 0 0 0 3px rgba(255,208,111,.22);
}
/* Icon cap — same pattern as navbar pill */
.news-search-btn {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 24px 24px 0;
    border: none;
    border-right: 1px solid var(--border-color, rgba(255,255,255,.15));
    border-top: 1px solid var(--border-color, rgba(255,255,255,.15));
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.15));
    border-left: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.09);
    color: var(--text-color);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.news-search-btn:hover { background: rgba(255,255,204,.18); color: var(--news-accent); }
.news-search-input:focus ~ .news-search-btn { background: rgba(255,255,204,.12); color: var(--news-accent); }

[data-theme="dark"] .news-search-input {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}
[data-theme="dark"] .news-search-btn {
    background: rgba(255,255,255,.11);
    border-color: rgba(255,255,255,.16);
    border-left-color: rgba(255,255,255,.07);
}
[data-theme="dark"] .news-search-btn:hover { background: rgba(255,255,204,.18); color: var(--news-accent); }

[data-theme="light"] .news-search-input {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.15);
    color: #222;
}
[data-theme="light"] .news-search-input:focus { background: #fff; }
[data-theme="light"] .news-search-btn {
    background: rgba(0,0,0,.06);
    border-color: rgba(0,0,0,.15);
    border-left-color: rgba(0,0,0,.07);
    color: #444;
}
[data-theme="light"] .news-search-btn:hover { background: rgba(0,0,0,.1); color: #111; }

/* ── Login Page ───────────────────────────────────────────── */
.news-login-wrap {
    max-width: 420px;
    margin: 3rem auto;
    padding: 0 1rem;
}
.news-login-card {
    background: var(--sidebar-background, #1e1e1e);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--news-shadow);
}
.news-form-group { margin-bottom: 1rem; }
.news-form-label {
    display: block;
    font-size: .88rem;
    margin-bottom: .35rem;
    color: var(--text-color);
}
.news-form-control {
    width: 100%;
    padding: .6rem .9rem;
    border-radius: 6px;
    border: 1px solid var(--border-color, rgba(255,255,255,.15));
    background: rgba(255,255,255,.05);
    color: var(--text-color);
    font-family: var(--news-font-fa);
    font-size: .95rem;
    transition: border-color .18s;
}
.news-form-control:focus {
    outline: none;
    border-color: var(--news-accent);
    box-shadow: 0 0 0 .15rem rgba(255,255,204,.15);
}
.news-btn-primary {
    width: 100%;
    padding: .7rem;
    background: var(--news-accent);
    color: #111;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--news-font-fa);
    transition: background .18s;
    margin-top: .5rem;
}
.news-btn-primary:hover { background: var(--news-accent-dark); }
.news-tab-btns {
    display: flex;
    border-bottom: 2px solid var(--border-color, rgba(255,255,255,.08));
    margin-bottom: 1.5rem;
}
.news-tab-btn {
    flex: 1;
    padding: .6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--news-font-fa);
    font-size: .95rem;
    color: var(--text-secondary, #888);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .18s;
}
.news-tab-btn.active {
    color: var(--news-accent);
    border-bottom-color: var(--news-accent);
    font-weight: 700;
}

/* ── Bookmark Modal ──────────────────────────────────────── */
.news-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.news-modal-overlay.open { display: flex; }
.news-modal {
    background: var(--sidebar-background, #1e1e1e);
    border-radius: 10px;
    padding: 2rem;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.news-modal h4 { margin-bottom: .75rem; color: var(--text-color); }
.news-modal p  { font-size: .9rem; color: var(--text-secondary, #aaa); margin-bottom: 1.25rem; }
.news-modal-btns { display: flex; gap: .5rem; justify-content: center; }
.news-modal-btns a, .news-modal-btns button {
    padding: .55rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--news-font-fa);
    font-size: .9rem;
    transition: background .18s;
}
.news-modal-btns .btn-primary {
    background: var(--news-accent); color: #111; border: none;
}
.news-modal-btns .btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color, rgba(255,255,255,.15));
    color: var(--text-color);
}

/* ── Footer ───────────────────────────────────────────────── */
.news-footer {
    background: var(--header-background, rgba(18,18,18,.98));
    border-top: 1px solid var(--border-color, rgba(255,255,255,.08));
    padding: 2.5rem 1.25rem 1.5rem;
    margin-top: 3rem;
}
.news-footer-inner {
    max-width: var(--news-max-w);
    margin: 0 auto;
}

/* 4-column grid */
.news-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 2.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 900px) {
    .news-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .news-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; }
}

.news-footer-col { display: flex; flex-direction: column; }

.news-footer-col-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--news-accent);
    margin: 0 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
}

.news-footer-col-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.news-footer-col-list a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--text-secondary, #888);
    text-decoration: none;
    font-size: .88rem;
    transition: color .18s;
}
.news-footer-col-list a:hover { color: var(--news-accent); }
.news-footer-col-list i { font-size: .85rem; opacity: .75; }

/* Facebook brand link */
.news-footer-fb-link { color: #1877f2 !important; }
.news-footer-fb-link:hover { color: #0b5ed7 !important; }
.news-footer-fb-link i { opacity: 1; }

/* Bottom bar */
.news-footer-bottom {
    border-top: 1px solid var(--border-color, rgba(255,255,255,.07));
    padding-top: 1rem;
    text-align: center;
}
.news-footer-copy { font-size: .8rem; color: var(--text-secondary, #888); margin: 0; }
.news-footer-copy a { color: var(--news-accent); }

/* Theme Switcher */
.news-theme-switcher {
    display: inline-flex;
    gap: .25rem;
    padding: .2rem 0;
}
.news-theme-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary, #888);
    font-size: .9rem;
    transition: background .18s, color .18s;
    display: flex; align-items: center; justify-content: center;
}
.news-theme-btn:hover, .news-theme-btn.active {
    background: var(--news-accent);
    color: #111;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --news-header-h: 60px;
    }
    .news-article-title { font-size: 1.4rem; }
    .news-hero { gap: 1rem; }
    .news-header-inner {
        position: relative;
        display: block;
        height: 100%;
        padding: 0 .65rem;
    }
    .news-header-right,
    .news-header-left {
        display: contents;
    }
    .news-cat-tabs {
        display: none;
    }
    .news-logo {
        position: absolute;
        left: .65rem;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        justify-content: center;
        justify-self: auto;
        align-self: auto;
        z-index: 2;
    }
    .news-header-search {
        display: flex;
        position: absolute;
        left: calc(.65rem + 36px + .45rem + 36px + .55rem);
        right: .65rem;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        max-width: none;
        margin: 0;
        align-self: auto;
        z-index: 1;
    }
    .news-hsearch-input {
        height: 36px;
        font-size: .9rem;
    }
    .news-hsearch-btn {
        width: 44px;
    }
    .news-header-theme-btn {
        position: absolute;
        right: .65rem;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
        justify-self: auto;
        align-self: auto;
        margin: 0;
        z-index: 2;
    }
    .news-header-menu-toggle {
        display: none !important;
    }
    .news-back-radio { display: none; }
    /* Move actions to bottom bar on mobile */
    .news-header-actions { display: none; }
    /* Body: extra top for clock strip, bottom for bottom bar */
    .news-body {
        padding-top: calc(var(--news-header-h, 56px) + 30px);
        padding-bottom: calc(58px + 8px);
    }
}
/* Theme toggle: always visible regardless of breakpoint */
.news-header-theme-btn { display: inline-flex !important; }

@media (max-width: 992px) {
    .news-header-clocks { display: none; }
}
@media (min-width: 768px) and (max-width: 992px) {
    .news-body {
        padding-top: calc(var(--news-header-h, 56px) + 30px);
    }
}
@media (max-width: 480px) {
    .news-article-dates { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

/* ── Light mode overrides ──────────────────────────────────── */
[data-theme="light"] .news-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
}
[data-theme="light"] .news-user-dropdown { background: #fff; }
[data-theme="light"] .news-login-card { background: #fff; }
[data-theme="light"] .news-form-control { background: #f5f5f5; }

/* Light mode: Akzentfarbe #c98a00 + grauer Seitenhintergrund */
[data-theme="light"] {
    --news-accent:      #c98a00;
    --news-accent-dark: #a87000;
}
[data-theme="light"] .news-body {
    background: linear-gradient(180deg, #cdd2d8 0%, #d8dce2 8%, #e2e5e9 25%, #e8eaed 100%);
    min-height: 100vh;
}
[data-theme="light"] .news-cat-tab:hover          { background: rgba(201,138,0,.15); color: #c98a00; }
[data-theme="light"] .news-cat-tab.active          { background: #c98a00; color: #fff; }
[data-theme="light"] .news-icon-btn:hover          { background: rgba(201,138,0,.15); color: #c98a00; }
[data-theme="light"] .news-card-cat                { color: #c98a00; }
[data-theme="light"] .news-card-title a:hover      { color: #c98a00; }
[data-theme="light"] .news-section-header          { border-bottom-color: #c98a00; }
[data-theme="light"] .news-cat-chip                { background: #c98a00; color: #fff; }
[data-theme="light"] .news-tag-chip                { color: #c98a00; background: rgba(201,138,0,.1); border-color: rgba(201,138,0,.25); }
[data-theme="light"] .news-tag-chip:hover          { background: rgba(201,138,0,.2); }
[data-theme="light"] .news-action-btn:hover        { background: rgba(201,138,0,.12); color: #c98a00; border-color: rgba(201,138,0,.4); }
[data-theme="light"] .news-action-btn.bookmarked   { color: #c98a00; border-color: #c98a00; }
[data-theme="light"] .news-archive-icon            { color: #c98a00; }
[data-theme="light"] .news-archive-header          { border-bottom-color: #c98a00; }
[data-theme="light"] .news-pag-btn:hover,
[data-theme="light"] .news-pag-btn.active          { background: #c98a00; border-color: #c98a00; color: #fff; }
[data-theme="light"] .news-search-input:focus      { border-color: #c98a00; box-shadow: 0 0 0 .15rem rgba(201,138,0,.2); }
[data-theme="light"] .news-search-btn              { background: #c98a00; }
[data-theme="light"] .news-search-btn:hover        { background: #a87000; }
[data-theme="light"] .news-btn-primary             { background: #c98a00; }
[data-theme="light"] .news-btn-primary:hover       { background: #a87000; }
[data-theme="light"] .news-tab-btn.active          { color: #c98a00; border-bottom-color: #c98a00; }
[data-theme="light"] .news-theme-btn:hover,
[data-theme="light"] .news-theme-btn.active        { background: #c98a00; color: #fff; }
[data-theme="light"] .news-footer-links a:hover    { color: #c98a00; }
[data-theme="light"] .news-footer-copy a           { color: #c98a00; }
[data-theme="light"] .news-logo-label              { color: #c98a00; }
[data-theme="light"] .news-newsletter-form button  { background: #c98a00; }
[data-theme="light"] .news-newsletter-form button:hover { background: #a87000; }
[data-theme="light"] .news-article-body blockquote { border-right-color: #c98a00; }
[data-theme="light"] .news-section-more            { color: #c98a00; }
[data-theme="light"] .news-modal-btns .btn-primary { background: #c98a00; }
[data-theme="light"] .news-comments-title          { border-bottom-color: #c98a00; }

/* ── News Share Modal (portal-exact style, no Bootstrap) ─────── */
#newsShareModal {
    display: none;
    position: fixed; inset: 0; z-index: 9100;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
#newsShareModal.open { display: flex; }
#newsShareModal .nsm-dialog { width: min(96vw, 780px); margin: auto; }
#newsShareModal .nsm-content {
    border-radius: 0; border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
[data-theme="light"] #newsShareModal .nsm-content { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
[data-theme="dark"]  #newsShareModal .nsm-content { background: rgba(12,15,22,.9);    backdrop-filter: blur(10px); }
#newsShareModal .nsm-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem; border-bottom: 1px solid var(--border-color);
}
#newsShareModal .nsm-title { font-weight: 700; margin: 0; font-size: 1rem; color: var(--text-color); }
#newsShareModal .nsm-close {
    background: none; border: none; cursor: pointer;
    color: var(--text-color); font-size: 1.2rem; line-height: 1; padding: .25rem;
    transition: opacity .15s;
}
#newsShareModal .nsm-close:hover { opacity: .7; }
#newsShareModal .nsm-body { padding: 1rem 1.35rem 2.5rem; }
#newsShareModal .nsm-form-control {
    border-radius: 0; border: 1px solid rgba(128,128,128,.3);
    background: transparent; color: var(--text-color);
    padding: .42rem .78rem; width: 100%; font-family: var(--news-font-fa); font-size: .9rem;
}
#newsShareModal .nsm-form-control:focus { outline: none; border-color: #ffbe00; box-shadow: 0 0 0 .2rem rgba(255,190,0,.18); }
/* Link row */
#newsShareModal .gsm-link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem; align-items: center; margin-bottom: 1.05rem; }
#newsShareModal .gsm-copy-btn {
    border: 1px solid var(--border-color); border-radius: 0;
    background: rgba(128,128,128,.08); color: var(--text-color);
    min-height: 40px; padding: .42rem .78rem; font-weight: 650;
    display: inline-flex; align-items: center; gap: .35rem;
    transition: background .2s, border-color .2s, color .2s; cursor: pointer;
    font-family: var(--news-font-fa);
}
#newsShareModal .gsm-copy-btn:hover { background: rgba(128,128,128,.18); }
#newsShareModal .gsm-copy-btn.is-copied { color:#1d1502; background:linear-gradient(135deg,#fff5c9,#ffbe00); border-color:#b1902f; }
/* Strip */
#newsShareModal .gsm-strip-wrap { position: relative; }
#newsShareModal .gsm-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 0; padding: .15rem 0 1.85rem; overflow: visible;
}
#newsShareModal .gsm-btn {
    width:54px; height:54px; min-width:54px; max-width:54px; min-height:54px; max-height:54px;
    flex: 0 0 54px; margin: 0 5px; border: none; border-radius: 50%; background: transparent;
    display: inline-flex; align-items: center; justify-content: center; position: relative;
    color: var(--text-color); text-decoration: none; transition: transform .18s, color .2s;
}
#newsShareModal .gsm-btn::after {
    content: attr(data-share-label); position: absolute;
    left: 50%; top: calc(100% + 5px); transform: translateX(-50%);
    font-size: .68rem; font-weight: 700; line-height: 1; white-space: nowrap;
    color: var(--text-color); opacity: .86; pointer-events: none;
}
#newsShareModal .gsm-btn:hover { transform: translateY(-1px); text-decoration: none; }
#newsShareModal .gsm-btn img { width:54px; height:54px; object-fit:contain; border-radius:50%; }
#newsShareModal .gsm-btn i { font-size: 2.08rem; line-height: 1; }
/* Scroll arrows */
#newsShareModal .gsm-arrow {
    display: none;
    position: absolute; top: 38%; transform: translateY(-50%);
    width: 28px; height: 28px;
    border: 1px solid var(--border-color); border-radius: 0;
    background: #ffbe00; color: #1a1300;
    align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; z-index: 4;
    transition: opacity .18s ease; cursor: pointer;
}
#newsShareModal .gsm-arrow.is-visible { opacity: 1; pointer-events: auto; }
#newsShareModal .gsm-arrow-left  { left: 0; }
#newsShareModal .gsm-arrow-right { right: 0; }
[data-theme="dark"] #newsShareModal .gsm-arrow { background: #ffffcc; color: #1a1300; }
@media (min-width: 768px) {
    #newsShareModal .nsm-body { display: flex; flex-direction: column; align-items: center; }
    #newsShareModal .gsm-content { width: fit-content; max-width: 100%; }
    #newsShareModal .gsm-link-row { width: 100%; }
    #newsShareModal .gsm-strip {
        flex-wrap: nowrap; justify-content: flex-start;
        overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
    }
    #newsShareModal .gsm-strip::-webkit-scrollbar { display: none; }
}
@media (max-width: 767px) {
    #newsShareModal .nsm-dialog { max-width: calc(100vw - 1rem); margin: .5rem auto; }
    #newsShareModal .nsm-body { overflow: hidden; }
    #newsShareModal .gsm-strip {
        flex-wrap: nowrap; justify-content: flex-start;
        overflow-x: auto; overflow-y: hidden;
        cursor: grab; touch-action: pan-x;
        scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 1.85rem;
    }
    #newsShareModal .gsm-strip::-webkit-scrollbar { display: none; }
    #newsShareModal .gsm-strip.is-dragging { cursor: grabbing; user-select: none; }
    #newsShareModal .gsm-arrow { display: inline-flex; }
}

/* ── News Report Modal ──────────────────────────────────────── */
#newsReportModal {
    display: none;
    position: fixed; inset: 0; z-index: 9100;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
#newsReportModal.open { display: flex; }
#newsReportModal .nrm-dialog { width: min(92vw, 430px); margin: auto; }
#newsReportModal .nrm-content {
    border-radius: 0; border: 1px solid var(--border-color);
    backdrop-filter: blur(10px); color: var(--text-color); position: relative;
}
[data-theme="light"] #newsReportModal .nrm-content { background: rgba(255,255,255,.76); }
[data-theme="dark"]  #newsReportModal .nrm-content { background: rgba(14,20,28,.78); }
#newsReportModal .nrm-header {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 1.6rem 1.5rem .5rem; gap: .4rem; position: relative; border-bottom: none;
}
#newsReportModal .nrm-close {
    position: absolute; top: .75rem; right: .75rem;
    background: none; border: none; cursor: pointer;
    color: var(--text-color); font-size: 1.25rem; line-height: 1;
}
#newsReportModal .nrm-icon-wrap { font-size: 2.6rem; line-height: 1; margin-bottom: .3rem; }
[data-theme="light"] #newsReportModal .nrm-icon-wrap { color: #c0620a; }
[data-theme="dark"]  #newsReportModal .nrm-icon-wrap { color: #f0a050; }
#newsReportModal .nrm-title { font-size: 1.18rem; font-weight: 800; margin: 0; }
#newsReportModal .nrm-body { font-size: 1.06rem; font-weight: 600; line-height: 1.55; padding: .8rem 1.5rem 1rem; }
#newsReportModal .nrm-footer {
    display: flex; justify-content: flex-end; gap: .5rem;
    padding: .75rem 1.5rem 1rem; border-top: 1px solid var(--border-color);
}
#newsReportModal .nrm-btn {
    border-radius: 0; font-weight: 700; font-size: .96rem;
    padding: .42rem .9rem; cursor: pointer; border: 1px solid var(--border-color);
    background: transparent; color: var(--text-color); font-family: var(--news-font-fa);
    transition: background .2s;
}
#newsReportModal .nrm-btn:hover { background: rgba(128,128,128,.12); }
#newsReportModal .nrm-btn-submit {
    border-radius: 0; font-weight: 700; padding: .42rem .9rem;
    cursor: pointer; font-family: var(--news-font-fa); border: 1px solid transparent;
}
[data-theme="light"] #newsReportModal .nrm-btn-submit { color: #0f1722; background: #ffbe00; border-color: #d9a300; }
[data-theme="light"] #newsReportModal .nrm-btn-submit:hover { background: #ffd146; border-color: #ffbe00; }
[data-theme="dark"]  #newsReportModal .nrm-btn-submit { color: #111; background: #ffffcc; border-color: #d7d7aa; }
[data-theme="dark"]  #newsReportModal .nrm-btn-submit:hover { background: #fff8ae; border-color: #ffffcc; }
.nrm-step-title { font-size: 1.02rem; font-weight: 800; margin-bottom: .55rem; }
.nrm-reason-list { display: grid; gap: .5rem; }
.nrm-reason-option {
    display: flex; align-items: flex-start; gap: .6rem;
    padding: .5rem .6rem; cursor: pointer;
    border: 1px solid var(--border-color); border-radius: 0;
    transition: background-color .2s, border-color .2s;
}
.nrm-reason-option:hover { background: rgba(128,128,128,.12); }
.nrm-reason-option input[type="radio"] { margin-top: .15rem; }
.nrm-reason-option-text { font-size: .96rem; font-weight: 700; line-height: 1.35; }
.nrm-step-note { font-size: .86rem; opacity: .82; margin: .4rem 0; }
.nrm-message-input {
    width: 100%; border-radius: 0; background: #fff; color: #111;
    border: 1px solid rgba(0,0,0,.18); font-family: var(--news-font-fa);
    font-size: .95rem; padding: .5rem .75rem;
    transition: border-color .2s, box-shadow .2s;
}
.nrm-message-input::placeholder { color: rgba(0,0,0,.45); }
.nrm-message-input:focus { background: #fff; color: #111; border-color: rgba(255,190,0,.72); box-shadow: 0 0 0 .16rem rgba(255,190,0,.22); outline: none; }
@media (max-width: 576px) { #newsReportModal .nrm-dialog { margin: .7rem; } }
@media (max-width: 768px) {
    body.news-mobile-sidebar-open {
        overflow: hidden;
    }
    .news-mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
        z-index: 1041;
    }
    .news-mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(84vw, 340px);
        height: 100vh;
        transform: translateX(100%);
        transition: transform .24s ease;
        z-index: 1042;
        background: var(--header-background, rgba(18,18,18,.97));
        border-left: 1px solid var(--border-color, rgba(255,255,255,.1));
        box-shadow: -12px 0 30px rgba(0,0,0,.28);
        overflow: hidden;
    }
    body.news-mobile-sidebar-open .news-mobile-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    body.news-mobile-sidebar-open .news-mobile-sidebar {
        transform: translateX(0);
    }
    .news-mobile-sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: var(--news-header-h, 56px);
        padding: 0 .95rem;
        border-bottom: 1px solid var(--border-color, rgba(255,255,255,.1));
    }
    .news-mobile-sidebar-brand {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        color: var(--text-color, #ccc);
        text-decoration: none;
        font-weight: 700;
        font-size: .96rem;
    }
    .news-mobile-sidebar-brand img {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
    .news-mobile-sidebar-close {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--text-color, #ccc);
        font-size: 1rem;
        cursor: pointer;
    }
    .news-mobile-sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: .24rem;
        padding: .7rem .75rem 1rem;
        overflow-y: auto;
    }
    .news-mobile-sidebar-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .8rem;
        padding: .75rem .85rem;
        color: var(--text-color, #ccc);
        text-decoration: none;
        border: 1px solid var(--border-color, rgba(255,255,255,.1));
        background: rgba(255,255,255,.04);
        font-size: .92rem;
        font-weight: 600;
        transition: background .18s, color .18s, border-color .18s;
    }
    .news-mobile-sidebar-link:hover,
    .news-mobile-sidebar-link:focus-visible {
        color: var(--news-accent);
        background: rgba(255,255,204,.08);
        border-color: rgba(255,255,204,.18);
        outline: none;
    }
    .news-mobile-sidebar-link.active {
        color: var(--news-accent);
        border-color: rgba(255,255,204,.24);
        background: rgba(255,255,204,.12);
    }
}
[data-theme="light"] .news-mobile-sidebar {
    background: rgba(255,255,255,.96);
    border-left-color: rgba(0,0,0,.1);
}
[data-theme="light"] .news-mobile-sidebar-link {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .news-mobile-sidebar-link:hover,
[data-theme="light"] .news-mobile-sidebar-link:focus-visible,
[data-theme="light"] .news-mobile-sidebar-link.active {
    color: #c98a00;
    background: rgba(201,138,0,.1);
    border-color: rgba(201,138,0,.22);
}

/* ── Bottom Bar (mobile only) ─────────────────────────────── */
.news-bottom-bar { display: none; }
@media (max-width: 768px) {
    .news-bottom-bar {
        display: flex;
        align-items: stretch;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 58px;
        z-index: 1040;
        background: var(--header-background, rgba(13,17,23,.85));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-color, rgba(255,255,255,.1));
        box-shadow: 0 -2px 12px rgba(0,0,0,.3);
        padding: 0;
        gap: 0;
    }
    .news-bottom-bar-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        flex: 1;
        height: 100%;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-muted, #aaa);
        text-decoration: none;
        font-size: .65rem;
        line-height: 1.1;
        padding: 4px 0 5px;
        transition: color .15s, background .15s;
    }
    .news-bottom-bar-btn i {
        font-size: 1.25rem;
        line-height: 1;
    }
    .news-bottom-bar-btn span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 52px;
    }
    .news-bottom-bar-btn:hover,
    .news-bottom-bar-btn:focus {
        color: #ffc;
        background: rgba(255,255,204,.07);
        outline: none;
    }
    .news-bottom-bar-btn.is-open {
        color: #ffc;
        border-top: 2px solid #ffc;
        background: rgba(255,255,204,.07);
    }
    [data-theme="light"] .news-bottom-bar-btn {
        color: #555;
    }
    [data-theme="light"] .news-bottom-bar-btn:hover,
    [data-theme="light"] .news-bottom-bar-btn:focus {
        color: #1a1300;
        background: rgba(255,190,0,.1);
    }
    [data-theme="light"] .news-bottom-bar-btn.is-open {
        color: #7a5a00;
        border-top-color: #ffbe00;
        background: rgba(255,190,0,.1);
    }
}

/* ── World Clocks Bar (mobile only, just below header) ────── */
.news-bottom-clocks { display: none; }
@media (max-width: 992px) {
    .news-bottom-clocks {
        display: flex;
        position: fixed;
        top: var(--news-header-h, 56px); left: 0; right: 0;
        height: 30px; z-index: 1038;
        background: var(--header-background, rgba(14,14,14,.96));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
        align-items: center; justify-content: space-around;
        padding: 0 .4rem;
    }
    .news-bottom-clocks .news-clock-city { font-size: .58rem; }
    .news-bottom-clocks .news-clock-time { font-size: .72rem; }
}

/* ── Side Float Buttons (mobile right) — mirrors portal mob-act-btn ── */
.news-side-btns { display: none; }
@media (max-width: 768px) {
    .news-side-btns {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: fixed;
        right: 0; top: 50vh;
        transform: translateY(calc(-50% + 10px));
        z-index: 1037;
        padding: 6px 0 6px 6px;
    }
    .news-side-btn {
        display: flex; align-items: center; justify-content: center;
        width: 42px; height: 42px;
        border-radius: 50% 0 0 50%;
        border: 1.5px solid rgba(255,255,204,.5);
        border-right: none;
        background: rgba(255,255,204,.22);
        color: #ffc;
        font-size: 1.1rem;
        cursor: pointer;
        box-shadow: -2px 2px 10px rgba(0,0,0,.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: background .18s, color .18s, border-color .18s, transform .15s;
    }
    .news-side-btn:hover, .news-side-btn:focus {
        background: rgba(255,255,204,.5); color: #111;
        border-color: rgba(255,255,204,.85);
        transform: translateX(-3px); outline: none;
    }
    .news-side-btn:active { background: rgba(255,255,204,.75); color: #111; transform: translateX(-1px); }
    [data-theme="light"] .news-side-btn {
        background: rgba(255,190,0,.22); color: #7a4d00;
        border-color: rgba(255,190,0,.7); border-right: none;
        box-shadow: -2px 2px 8px rgba(0,0,0,.15);
    }
    [data-theme="light"] .news-side-btn:hover { background: rgba(255,190,0,.47); color: #3a2600; border-color: #ffbe00; }
    [data-theme="light"] .news-side-btn:active { background: rgba(255,190,0,.7); color: #1a1300; }
}

/* ── Article page responsive ──────────────────────────────── */
@media (max-width: 640px) {
    .art-col { padding: 1.1rem 1rem 1.5rem; }
    .art-inline-related { margin: 1rem 0; padding: .75rem 1rem; }
    .art-inline-related-img { width: 70px; }
    .art-inline-title { font-size: .85rem; }
}
[data-theme="light"] .art-inline-related-label,
[data-theme="light"] .art-inline-related a:hover .art-inline-title { color: #c98a00; }
[data-theme="light"] .art-inline-related { border-right-color: #c98a00; }

/* ── Narrow viewport: tighten padding for header/main/footer ── */
@media (max-width: 640px) {
    .news-header-inner { padding-left: .75rem; padding-right: .75rem; }
    .news-main { padding-left: .75rem; padding-right: .75rem; }
    .news-article-wrap { padding-left: .75rem; padding-right: .75rem; }
    .news-footer-inner { padding-left: .75rem; padding-right: .75rem; }
}

/* News header/sidebar sync with radio portal */
@media (max-width: 1790px) {
    .news-cat-tabs {
        display: none !important;
    }
}

.news-mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1010;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.news-mobile-sidebar {
    position: fixed;
    top: var(--news-header-h, 56px);
    left: auto;
    right: 0;
    width: 270px;
    height: calc(100vh - var(--news-header-h, 56px));
    background-color: var(--sidebar-background);
    border-right: none;
    border-left: 1px solid var(--border-color);
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1030;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
    box-shadow: -12px 0 30px rgba(0,0,0,.28);
}
.news-mobile-sidebar::-webkit-scrollbar { width: 4px; }
.news-mobile-sidebar::-webkit-scrollbar-track { background: transparent; }
.news-mobile-sidebar::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
body.news-mobile-sidebar-open .news-mobile-sidebar {
    transform: translateX(0);
}
body.news-mobile-sidebar-open .news-mobile-sidebar-overlay {
    display: block;
    opacity: 1;
}
.news-mobile-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
}
.news-mobile-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}
.news-mobile-sidebar-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.news-mobile-sidebar-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
}
.news-mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-right: 0;
    padding-top: 20px;
}
.news-mobile-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    transition: background .7s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    background: transparent;
    border: none;
    justify-content: flex-start;
}
.news-mobile-sidebar-link span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-mobile-sidebar-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.news-mobile-sidebar-link:hover {
    background-color: transparent;
    color: #ffbe00;
    text-decoration: none;
}
.news-mobile-sidebar-link.active {
    color: #ffbe00;
    font-weight: 600;
    background-color: transparent;
}
:root[data-theme="light"] .news-mobile-sidebar {
    border-left-color: var(--border-color);
}
:root[data-theme="light"] .news-mobile-sidebar-link:hover {
    color: #ffbe00;
    font-weight: 600;
    background-color: rgb(0 0 0 / 61%);
}
:root[data-theme="light"] .news-mobile-sidebar-link.active {
    color: #ffffcc;
    font-weight: 600;
    background-color: rgba(0, 0, 0, .7);
}
:root[data-theme="light"] .news-mobile-sidebar-link.active i {
    color: #ffffcc;
}
[data-theme="dark"] .news-mobile-sidebar-link:hover {
    background-color: rgba(0, 0, 0, .3);
    color: #ffc;
}
[data-theme="dark"] .news-mobile-sidebar-link.active {
    color: #ffc;
    font-weight: 600;
    background-color: rgba(0, 0, 0, .3);
}
[data-theme="dark"] .news-mobile-sidebar-link.active i {
    color: #ffc;
}
@media (max-width: 992px) {
    .news-mobile-sidebar {
        top: calc(var(--news-header-h, 56px) + 30px);
        height: calc(100vh - var(--news-header-h, 56px) - 30px);
    }
}
@media (max-width: 768px) {
    .news-logo {
        left: .65rem !important;
        right: auto !important;
    }
    .news-header-theme-btn {
        right: .65rem !important;
        left: auto !important;
    }
    .news-header-search {
        left: calc(.65rem + 36px + .55rem) !important;
        right: calc(.65rem + 36px + .55rem) !important;
    }
}
