/* ==========================================================================
   UFUK HABER PORTALI - Özgün Klasik Türk Haber Portalı Tasarım Sistemi
   %100 Mobil Uyumlu | SEO Hız Odaklı Vanilla CSS | Gece Modu Destekli
   ========================================================================== */
:root {
    --brand: #c8102e;
    --brand-dark: #9e0b22;
    --brand-text: var(--brand);
    --brand-soft: rgba(200, 16, 46, 0.09);
    --navy: #0f172a;
    --navy-mid: #1e293b;
    --bg-body: #f1f3f6;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --up: #15803d;
    --down: #dc2626;
    --sport-bg: #0c1f17;
    --sport-accent: #16a34a;
    --media-bg: #111827;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
    --radius: 8px;
    --radius-sm: 5px;
    --container: 1240px;
    --article-font-size: 1.08rem;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg-body: #0b1120;
    --bg-surface: #131c2e;
    --bg-subtle: #1a263d;
    --text-main: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #24334a;
    --border-strong: #334766;
    --brand-text: color-mix(in srgb, var(--brand) 58%, #ffffff);
    --brand-soft: color-mix(in srgb, var(--brand) 20%, transparent);
    --up: #4ade80;
    --down: #f87171;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.42);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
}

html[data-theme="dark"] .top-utility-bar { background: #060a13; }
html[data-theme="dark"] .breaking-ticker { background: #0e1628; }
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .manset-numbers-bar,
html[data-theme="dark"] .kb-sec-slider-top { background: #070b14; }
html[data-theme="dark"] .alert-success { background: rgba(22, 163, 74, 0.18); color: #86efac; border-color: rgba(74, 222, 128, 0.35); }
html[data-theme="dark"] .alert-error { background: rgba(220, 38, 38, 0.18); color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); }
html[data-theme="dark"] .form-control option { background: #131c2e; color: #f1f5f9; }
html[data-theme="dark"] .kubbe-flyout-portal,
html[data-theme="dark"] .kubbe-fly-subpanel { box-shadow: 0 16px 38px rgba(0, 0, 0, 0.65); }

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}
body {
    margin: 0;
    max-width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.55;
    overflow-x: hidden;
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
button, input, select, textarea { font-family: inherit; max-width: 100%; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 14px;
}

/* Üst Bilgi & Kurumsal Bağlantı Çubuğu */
.top-utility-bar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 12px;
    min-width: 0;
}
.top-date-weather {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.top-date-weather::-webkit-scrollbar { display: none; }
.weather-Quick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f8fafc;
}
.weather-city-select {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11.5px;
    cursor: pointer;
}
.weather-city-select option { color: #0f172a; background: #fff; }
.top-utility-links {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}
.top-utility-links a:hover { color: #fff; text-decoration: underline; }
.btn-theme-toggle {
    background: rgba(255,255,255,0.1);
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 11.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-theme-toggle:hover { background: rgba(255,255,255,0.2); }

/* Canlı Piyasa & Döviz Bandı */
.market-ticker-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
}
.market-ticker-list {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 7px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.market-ticker-list::-webkit-scrollbar { display: none; }
.market-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-right: 16px;
    border-right: 1px solid var(--border);
}
.market-item:last-child { border-right: none; }
.market-label { font-weight: 700; color: var(--text-muted); font-size: 11.5px; letter-spacing: .02em; }
.market-val { font-weight: 800; color: var(--text-main); font-variant-numeric: tabular-nums; }
.market-chg {
    font-weight: 700;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
}
.market-chg.up { color: var(--up); background: rgba(21, 128, 61, 0.11); }
.market-chg.down { color: var(--down); background: rgba(220, 38, 38, 0.11); }
.market-chg.flat { color: var(--text-muted); background: var(--bg-subtle); }

/* Ana Header & Gazete Logosu */
.site-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}
.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    min-width: 0;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}
.brand-mark {
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.03em;
    padding: 5px 12px;
    border-radius: 5px;
    line-height: 1.05;
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.28);
    flex-shrink: 0;
}
.brand-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.brand-title {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-ad-wrap { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; max-width: 730px; }
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.btn-icon-action {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-main);
    height: 40px;
    padding: 0 13px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}
.btn-icon-action:hover { border-color: var(--brand); color: var(--brand-text); }
.mobile-menu-btn, .mobile-theme-btn { display: none; }

/* Kategori Mega Navigasyon Barı */
.category-navbar {
    background: var(--brand);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: 0 3px 12px rgba(0,0,0,0.14);
}
.cat-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-list li a {
    display: inline-block;
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 3px solid transparent;
}
.cat-nav-list li a:hover,
.cat-nav-list li a.active {
    background: rgba(0, 0, 0, 0.18);
    border-bottom-color: #fde047;
}
.cat-nav-special { background: rgba(0,0,0,0.16); }

/* Arama Açılır Kutusu */
.search-dropdown-bar {
    display: none;
    background: var(--navy);
    padding: 14px 0;
    border-bottom: 2px solid var(--brand);
}
.search-dropdown-bar.is-open { display: block; }
.search-form-row {
    display: flex;
    gap: 8px;
    max-width: 740px;
    margin: 0 auto;
    min-width: 0;
}
.search-form-row input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.2);
    background: #fff;
    color: #0f172a;
    font-size: 15px;
}
.search-form-row button {
    height: 44px;
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Son Dakika Şeridi */
.breaking-ticker {
    background: var(--navy-mid);
    color: #fff;
    border-bottom: 2px solid var(--brand);
}
.breaking-inner {
    display: flex;
    align-items: center;
    min-height: 40px;
    gap: 10px;
    min-width: 0;
}
.breaking-badge {
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: pulseAnim 1.4s infinite;
}
@keyframes pulseAnim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}
.breaking-stage {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 26px;
}
.breaking-slide {
    display: none;
    align-items: center;
    gap: 8px;
    height: 26px;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breaking-slide.is-active { display: flex; }
.breaking-time {
    background: rgba(255,255,255,0.14);
    color: #fde047;
    font-weight: 800;
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 3px;
    flex-shrink: 0;
}
.breaking-link {
    color: #f8fafc;
    font-weight: 700;
    font-size: 13.5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breaking-link:hover { color: #fde047; }
.breaking-controls {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.breaking-controls button {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 800;
}
.breaking-controls button:hover { background: var(--brand); }

/* Reklam Alanları & Demo Modu Kutuları (Boşsa sıfır yer kaplar!) */
.ad-slot { margin: 14px 0; text-align: center; max-width: 100%; overflow: hidden; }
.header-ad-wrap .ad-slot { margin: 0; width: 100%; }
.ad-demo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 14px;
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    background: repeating-linear-gradient(-45deg, var(--bg-subtle), var(--bg-subtle) 10px, var(--bg-surface) 10px, var(--bg-surface) 20px);
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    min-height: 82px;
    transition: border-color .18s ease;
}
.ad-demo-box:hover { border-color: var(--brand); }
.ad-demo-badge {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 2px 8px;
    border-radius: 3px;
}
.ad-demo-title { font-size: 13.5px; font-weight: 800; color: var(--text-main); }
.ad-demo-meta { font-size: 11px; color: var(--text-muted); }
.ad-demo-zone-sidebar_top { min-height: 220px; }
.ad-demo-zone-sidebar_sticky { min-height: 420px; }
.ad-custom-code { max-width: 100%; overflow-x: auto; }
.ad-image-link img { margin: 0 auto; border-radius: var(--radius-sm); }

/* Pageskin Sol & Sağ Kule Reklamları (Geniş Ekran) */
.pageskin-wing { display: none; }
@media (min-width: 1580px) {
    .pageskin-wing {
        display: block;
        position: fixed;
        top: 158px;
        width: 160px;
        z-index: 40;
    }
    .pageskin-left { left: calc(50% - 620px - 174px); }
    .pageskin-right { right: calc(50% - 620px - 174px); }
    .pageskin-wing .ad-demo-box { min-height: 540px; padding: 14px 10px; }
}

/* Sürmanşet 4'lü Kart Bandı */
.surmanset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 16px 0;
}
.surmanset-card {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0f172a;
    box-shadow: var(--shadow-sm);
}
.surmanset-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.surmanset-card:hover img { transform: scale(1.05); }
.surmanset-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9,13,24,0.94) 0%, rgba(9,13,24,0.45) 55%, rgba(9,13,24,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
}
.cat-pill {
    display: inline-block;
    align-self: flex-start;
    background: var(--cat-color, var(--brand));
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}
.surmanset-title {
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ana Manşet (1-15 Numaralı Klasik Türk Haber Manşeti) + Yan Manşet */
.hero-manset-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 18px;
    align-items: stretch;
}
@media (min-width: 1061px) {
    .hero-manset-layout > .manset-box {
        height: 100%;
    }
    .hero-manset-layout > .manset-box > .manset-slides-stage {
        flex: 1 1 auto;
        min-height: 360px;
        aspect-ratio: auto;
    }
    .hero-manset-layout > .yan-manset-stack,
    .hero-manset-layout > .yan-card-list {
        height: 100%;
    }
}
.manset-box {
    background: var(--bg-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.manset-slides-stage {
    position: relative;
    aspect-ratio: 16 / 9.4;
    background: #0b1120;
    overflow: hidden;
}
.manset-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease;
}
.manset-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.manset-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.manset-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 46px 22px 20px;
    background: linear-gradient(to top, rgba(7,10,19,0.96) 0%, rgba(7,10,19,0.72) 62%, transparent 100%);
    color: #fff;
}
.manset-badges { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.type-badge {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    color: #fde047;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}
.manset-headline {
    font-size: clamp(19px, 2.3vw, 29px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 7px;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.manset-spot {
    margin: 0;
    font-size: 13.5px;
    color: #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.manset-numbers-bar {
    display: flex;
    align-items: stretch;
    background: var(--navy);
    border-top: 2px solid var(--brand);
    overflow-x: auto;
    scrollbar-width: none;
}
.manset-numbers-bar::-webkit-scrollbar { display: none; }
.manset-num-btn {
    flex: 1 0 36px;
    height: 40px;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.09);
    background: transparent;
    color: #e2e8f0;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .12s ease, color .12s ease;
}
.manset-num-btn:hover,
.manset-num-btn.is-active {
    background: var(--brand);
    color: #fff;
}

/* Yan Manşet Kutusu */
.yan-manset-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.yan-card-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9.2;
    background: #0f172a;
    border: 1px solid var(--border);
}
.yan-card-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.yan-card-hero:hover img { transform: scale(1.04); }
.yan-card-list {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.yan-list-header {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--cat-clr, var(--brand-text));
    letter-spacing: 0.04em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 8px;
}
.yan-mini-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.yan-mini-item:last-child { border-bottom: none; padding-bottom: 0; }
.yan-mini-item img {
    width: 78px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.yan-mini-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yan-mini-item:hover .yan-mini-title { color: var(--brand-text); }

/* Bölüm Başlıkları */
.section-block { margin: 26px 0; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--border-strong);
}
.section-title {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    position: relative;
}
.section-title::before {
    content: "";
    width: 6px;
    height: 20px;
    border-radius: 2px;
    background: var(--sec-color, var(--brand));
}
.section-more {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--cat-clr, var(--brand-text));
}
.section-more:hover { text-decoration: underline; }

/* Köşe Yazarları Şeridi */
.authors-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.author-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.author-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand);
    flex-shrink: 0;
}
.author-name { font-size: 13.5px; font-weight: 900; color: var(--brand-text); display: block; }
.author-role { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 5px; }
.author-col-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ana İçerik + Sağ Sütun (Sidebar) Düzeni */
.portal-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

/* Standart Haber Kartları Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.news-cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.news-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9.6;
    overflow: hidden;
    background: #0f172a;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-thumb .cat-pill { position: absolute; left: 10px; bottom: 10px; margin: 0; }
.media-corner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}
.news-card-body {
    padding: 13px 14px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-title {
    margin: 0 0 8px;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-card-title { color: var(--brand); }
.news-card-spot {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* Özel Spor Vitrini Bandı */
.sports-showcase {
    background: var(--sport-bg);
    color: #f8fafc;
    border-radius: 10px;
    padding: 22px;
    margin: 26px 0;
    border-top: 4px solid var(--sport-accent);
}
.sports-showcase .section-head { border-bottom-color: rgba(255,255,255,0.14); }
.sports-showcase .section-title { color: #fff; }
.sports-showcase .section-more { color: #4ade80; }
.sports-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 18px;
}
.sports-cards-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.sports-showcase .news-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    color: #fff;
}
.sports-showcase .news-card:hover .news-card-title { color: #4ade80; }
.sports-showcase .news-card-meta { border-top-color: rgba(255,255,255,0.1); color: #94a3b8; }

.standings-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 14px;
}
.standings-card h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #4ade80;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}
.standings-table th, .standings-table td {
    padding: 7px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.standings-table th:nth-child(2), .standings-table td:nth-child(2) { text-align: left; font-weight: 700; }
.standings-table tr:last-child td { border-bottom: none; }
.pts-cell { font-weight: 900; color: #fde047; }

/* Foto Galeri & Video Multimedya Vitrini */
.multimedia-band {
    background: var(--media-bg);
    color: #fff;
    border-radius: 10px;
    padding: 22px;
    margin: 26px 0;
}
.multimedia-band .section-head { border-bottom-color: rgba(255,255,255,0.14); }
.multimedia-band .section-title { color: #fff; }
.multimedia-band .section-more { color: #fde047; }
.multimedia-band .news-card {
    background: #1e293b;
    border-color: #334155;
    color: #fff;
}
.multimedia-band .news-card-meta { border-top-color: #334155; color: #94a3b8; }

/* Sağ Sütun (Sidebar) Bileşenleri */
.sidebar-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}
.widget-title {
    margin: 0 0 13px;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--brand);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.most-read-list { list-style: none; margin: 0; padding: 0; }
.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.most-read-item:last-child { border-bottom: none; padding-bottom: 0; }
.rank-num {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-strong);
    color: var(--brand);
    font-weight: 900;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.most-read-item:nth-child(-n+3) .rank-num {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.most-read-link { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.most-read-link:hover { color: var(--brand); }

/* Anket Kutusu */
.poll-question { font-weight: 800; font-size: 14.5px; margin: 0 0 12px; }
.poll-opt-label {
    display: block;
    padding: 9px 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.poll-opt-label:hover { border-color: var(--brand); }
.poll-bar-fill {
    display: block;
    height: 6px;
    background: var(--brand);
    border-radius: 3px;
    margin-top: 5px;
}

/* ==========================================================================
   HABER DETAY SAYFASI & "HABERİN DEVAMINI OKU" ÖZELLİĞİ
   ========================================================================== */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 14px 0;
}
.breadcrumb-nav a:hover { color: var(--brand); }

.article-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.article-h1 {
    font-size: clamp(23px, 3vw, 35px);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin: 10px 0 14px;
}
.article-spot {
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 600;
    line-height: 1.52;
    color: var(--text-secondary);
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 4px solid var(--brand);
}
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.article-timestamps { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.article-timestamps strong { color: var(--text-main); }
.article-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tool-btn {
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.tool-btn:hover { border-color: var(--brand); color: var(--brand); }
.share-wh { background: #16a34a; color: #fff; border-color: #16a34a; }
.share-tw { background: #0f172a; color: #fff; border-color: #0f172a; }
.share-fb { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.share-wh:hover, .share-tw:hover, .share-fb:hover { opacity: 0.9; color: #fff; }

.article-hero-media {
    margin-bottom: 22px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0f172a;
}
.article-hero-media img { width: 100%; max-height: 520px; object-fit: cover; }
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-content {
    font-size: var(--article-font-size);
    line-height: 1.82;
    color: var(--text-main);
}
.article-content p { margin: 0 0 18px; }
.article-content h2, .article-content h3 {
    margin: 26px 0 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.015em;
}
.article-content blockquote {
    margin: 22px 0;
    padding: 16px 20px;
    background: var(--brand-soft);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 600;
    font-style: italic;
}

/* "Haberin Devamını Oku" Katmanı */
.article-continuation-part.is-collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity .35s ease;
}
.article-continuation-part.is-expanded {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
}
.read-more-gate {
    position: relative;
    text-align: center;
    padding: 18px 0 10px;
    margin: 6px 0 14px;
}
.read-more-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 76px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--bg-surface));
    pointer-events: none;
}
[data-theme="dark"] .read-more-fade {
    background: linear-gradient(to bottom, rgba(19,28,46,0), var(--bg-surface));
}
.btn-read-more-gate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.32);
    transition: transform .15s ease, background .15s ease;
}
.btn-read-more-gate:hover { background: var(--brand-dark); transform: translateY(-1px); color: #fff; }

/* Numaralı Foto Galeri Adımları */
.gallery-step-card {
    margin: 26px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-subtle);
}
.gallery-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--navy);
    color: #fff;
}
.gallery-step-num {
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    padding: 4px 11px;
    border-radius: 4px;
    font-size: 14px;
}
.gallery-step-body { padding: 14px 16px; font-size: 15px; line-height: 1.65; }

/* Etiketler & Yorumlar */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.tag-chip {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-secondary);
}
.tag-chip:hover { border-color: var(--brand); color: var(--brand); }

/* Genel Form Elemanları (İletişim & Yorumlar) */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 14.5px;
}
.form-control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.btn-primary {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14.5px;
    cursor: pointer;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }

.alert-box {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}
.alert-success { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* Künye Tablosu */
.kunye-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}
.kunye-item {
    padding: 14px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
}
.kunye-label { font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 4px; }
.kunye-val { font-size: 14.5px; font-weight: 700; color: var(--text-main); }

/* Sayfalama */
.pagination-bar { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; justify-content: center; }
.page-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 13.5px;
}
.page-link.active, .page-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Footer */
.site-footer {
    background: var(--navy);
    color: #cbd5e1;
    margin-top: 42px;
    border-top: 4px solid var(--brand);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 38px 0 28px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 14px;
    letter-spacing: 0.03em;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 13.5px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    font-size: 12.5px;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

/* Mobil Kayar Çekmece Menü & Çerez Bandı */
.mobile-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 200;
}
.mobile-drawer-backdrop.is-open { display: block; }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(310px, 86vw);
    background: var(--bg-surface);
    z-index: 210;
    transform: translateX(-102%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 18px;
    box-shadow: var(--shadow-md);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-links { list-style: none; padding: 0; margin: 14px 0; }
.drawer-links li a {
    display: block;
    padding: 11px 10px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 960px;
    margin: 0 auto;
    background: var(--navy);
    color: #f8fafc;
    padding: 15px 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--brand);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 180;
    font-size: 13px;
}
.cookie-banner.is-visible { display: flex; }

/* Cihaz Bazlı Reklam Gizleme Sınıfları */
@media (min-width: 769px) {
    .ad-hide-desktop { display: none !important; }
    .mobile-sticky-ad-wrap { display: none !important; }
}
@media (max-width: 768px) {
    .ad-hide-mobile { display: none !important; }
    .mobile-sticky-ad-wrap {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 150;
        background: var(--bg-surface);
        border-top: 1px solid var(--border);
        padding: 4px;
    }
}

/* Grid ve Flex Çocuklarında İçerik Taşmasını Sıfırlama */
.manset-box,
.yan-manset-stack,
.portal-two-col > *,
.sports-grid > *,
.news-card,
.author-card,
.article-container,
.sidebar-widget,
.kunye-item,
.footer-col {
    min-width: 0;
    max-width: 100%;
}
.manset-numbers-bar { width: 100%; max-width: 100%; }
.section-head { flex-wrap: wrap; gap: 8px; }
.standings-card { overflow-x: auto; max-width: 100%; }
.article-container,
.article-content,
.kunye-val,
.footer-col {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.article-content table { display: block; width: 100%; overflow-x: auto; }

/* %100 MASAÜSTÜ, LAPTOP, TABLET VE MOBİL UYUMLU KIRILIM NOKTALARI */
@media (max-width: 1060px) {
    .hero-manset-layout { grid-template-columns: minmax(0, 1fr); }
    .portal-two-col { grid-template-columns: minmax(0, 1fr); }
    .news-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .authors-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sports-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-ad-wrap { display: none; }
}
@media (max-width: 768px) {
    .top-utility-links { display: none; }
    .header-main-row { gap: 10px; padding: 10px 0; }
    .brand-mark { font-size: 20px; padding: 4px 9px; }
    .brand-title { font-size: 19px; }
    .brand-sub { display: none; }
    .btn-icon-action { height: 36px; padding: 0 10px; font-size: 12.5px; gap: 5px; }
    .mobile-menu-btn, .mobile-theme-btn { display: inline-flex; }
    .surmanset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .manset-slides-stage { aspect-ratio: auto; }
    .manset-slide { position: relative; display: none; opacity: 1; visibility: visible; }
    .manset-slide.is-active { display: block; }
    .manset-slide img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
    .manset-caption { position: static; padding: 13px 14px; background: var(--navy); }
    .manset-headline { font-size: 18px; margin: 0; }
    .manset-spot { display: none; }
    .surmanset-card, .yan-card-hero { aspect-ratio: auto; display: flex; flex-direction: column; }
    .surmanset-card img, .yan-card-hero img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
    .surmanset-overlay { position: static; padding: 11px 12px; background: var(--navy); flex: 1; }
    .news-card-thumb { aspect-ratio: 16 / 9; }
    .article-hero-media img { width: 100%; height: auto; max-height: none; object-fit: contain; }
    .sports-showcase, .multimedia-band { padding: 14px; }
    .article-container { padding: 16px; }
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 13px 14px; flex-direction: column; align-items: stretch; }
}
@media (max-width: 580px) {
    .news-cards-grid,
    .news-cards-grid.cols-2,
    .sports-cards-subgrid,
    .authors-strip,
    .form-grid-2,
    .kunye-grid,
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
    .surmanset-grid { grid-template-columns: minmax(0, 1fr); }
    .brand-mark { font-size: 18px; padding: 4px 8px; }
    .brand-title { font-size: 17px; }
    .breaking-controls { display: none; }
}
@media (max-width: 380px) {
    .btn-icon-action span { display: none; }
}

/* Masaüstü / Mobil Görsel Logo Geçişi */
.logo-img-mobile { display: none; }
@media (max-width: 768px) {
    .brand-has-img:has(.logo-img-mobile) .logo-img-desktop { display: none; }
    .brand-has-img .logo-img-mobile { display: block; }
}

/* Temalara Özgü Sektörel / Niş Haber Modül Bandı (%100 Mobil Uyumlu) */
.niche-module-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 13px 15px;
    margin: 15px 0;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    overflow: hidden;
}
.niche-module-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.niche-module-title { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.niche-badge {
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
}
.niche-sub-note { font-size: 11.5px; color: var(--text-muted); }
.niche-cards-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 9px;
}
.niche-mini-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.niche-c1 { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }
.niche-c2 { font-size: 14px; font-weight: 900; color: var(--text-main); }
.niche-c3 { font-size: 11px; font-weight: 800; }
.niche-c3.n-up { color: var(--up); }
.niche-c3.n-down { color: var(--down); }
.niche-c3.n-neutral { color: var(--brand); }
.niche-quick-pills {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 0 4px;
    margin-bottom: 10px;
    font-size: 12px;
    scrollbar-width: none;
}
.niche-quick-pills::-webkit-scrollbar { display: none; }
.niche-pill-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    padding: 4px 11px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}
.niche-pill-item:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   PC & MOBİL KAYDIRMALI KATEGORİ / PİYASA ŞERİDİ + ÇOK KATMANLI ALT KATEGORİ AĞACI
   ========================================================================== */
.kubbe-nav-scroll-shell {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
}
.kubbe-nav-scroll-shell > [data-nav-track] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.kubbe-nav-scroll-shell > [data-nav-track]::-webkit-scrollbar { display: none; }
.kubbe-nav-scroll-shell > [data-nav-track].is-dragging {
    cursor: grabbing !important;
    user-select: none;
}
.kubbe-nav-scroll-shell > [data-nav-track].is-dragging a { pointer-events: none; }

.kubbe-nav-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(0,0,0,0.28);
    color: #fff;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, opacity .15s ease;
}
.kubbe-nav-arrow:hover { background: rgba(0,0,0,0.52); }
.kubbe-nav-arrow.kubbe-mkt-arrow {
    background: var(--bg-subtle);
    color: var(--text-main);
    border-color: var(--border-strong);
    width: 24px;
    height: 24px;
    font-size: 15px;
}
.kubbe-nav-arrow.kubbe-mkt-arrow:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.kubbe-nav-scroll-shell.is-overflowing .kubbe-nav-arrow { display: inline-flex; }
.kubbe-nav-scroll-shell.at-start .kubbe-nav-prev { opacity: 0.32; pointer-events: none; }
.kubbe-nav-scroll-shell.at-end .kubbe-nav-next { opacity: 0.32; pointer-events: none; }

.cat-caret {
    font-size: 10px;
    opacity: 0.85;
    margin-left: 2px;
    vertical-align: middle;
}

/* Body Portal Çok Katmanlı Alt Kategori Flyout Menüsü (Asla Kırpılmaz!) */
.kubbe-flyout-portal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9995;
    display: none;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-strong);
    border-top: 3px solid var(--brand);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
    min-width: 225px;
    padding: 6px 0;
}
.kubbe-flyout-portal.is-open { display: block; }
.kubbe-fly-list { list-style: none; margin: 0; padding: 0; }
.kubbe-fly-item { position: relative; }
.kubbe-fly-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.kubbe-fly-item:last-child > .kubbe-fly-link { border-bottom: none; }
.kubbe-fly-link:hover,
.kubbe-fly-item:hover > .kubbe-fly-link {
    background: var(--brand-soft);
    color: var(--brand);
}
.kubbe-fly-arrow { font-size: 11px; font-weight: 900; opacity: 0.75; }

/* 3. Seviye (Alt-Alt Kategori) Yan Açılır Panel */
.kubbe-fly-subpanel {
    display: none;
    position: absolute;
    top: -6px;
    left: 100%;
    min-width: 215px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-left: 3px solid var(--brand);
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 9996;
}
.kubbe-flyout-portal.flip-left .kubbe-fly-subpanel {
    left: auto;
    right: 100%;
    border-left: 1px solid var(--border-strong);
    border-right: 3px solid var(--brand);
}
.kubbe-fly-item:hover > .kubbe-fly-subpanel { display: block; }

/* Mobil Çekmece Çok Katmanlı Alt Kategori Akordeonu */
.drawer-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
.drawer-item-row a {
    flex: 1 1 auto;
    padding: 10px 8px !important;
    border-bottom: none !important;
    font-size: 14px;
}
.drawer-acc-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-main);
    border-radius: 5px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 4px;
}
.drawer-sublinks {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    background: var(--bg-subtle);
    border-left: 2px solid var(--brand);
}
.drawer-sublinks.is-open { display: block; }
.drawer-sublinks.depth-2 { padding-left: 16px; background: rgba(148,163,184,0.08); }

/* Kategori Sayfası Alt Kategori Hiyerarşi ve Hap (Pill) Çubuğu */
.subcat-hierarchy-bar {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--subcat-accent, var(--brand));
    border-radius: var(--radius);
    padding: 11px 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.subcat-chain-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
}
.subcat-chain-label { font-weight: 800; color: var(--text-muted); }
.subcat-sep { color: var(--text-muted); font-weight: 700; }
.subcat-crumb {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-subtle);
}
.subcat-crumb.is-current {
    background: var(--subcat-accent, var(--brand));
    color: #fff;
}
.subcat-pills-track {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 2px 0;
}
.subcat-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-subtle);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
    transition: all .15s ease;
}
.subcat-pill-btn:hover,
.subcat-pill-btn.is-active {
    background: var(--subcat-accent, var(--brand));
    color: #fff;
    border-color: var(--subcat-accent, var(--brand));
}
.subcat-pill-btn small { font-weight: 600; opacity: 0.82; }

/* ==========================================================================
   SÜTUN DENGELEME (SIFIR BOŞLUK), 2. VE 3. MANŞET SLIDER, DİNAMİK KATEGORİ BLOKLARI,
   YAŞAM/BURÇ/BİLGİ YARIŞMASI KUŞAĞI VE ALT GAZETE FİHRİSTİ
   ========================================================================== */
.portal-two-col {
    align-items: stretch;
}
.portal-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media (min-width: 1061px) {
    .portal-sidebar > .sidebar-sticky-anchor {
        position: sticky;
        top: 64px;
    }
}

/* 2. FARKLI TÜR MANŞET SLIDER (Sol Net Görsel + Sağ Editoryal Kart + Başlıklı Sekmeler) */
.kb-sec-slider-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--brand);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 26px 0;
    box-shadow: var(--shadow-sm);
}
.kb-sec-slider-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    background: var(--navy);
    color: #fff;
}
.kb-sec-slider-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.kb-sec-badge {
    background: var(--brand);
    color: #fff;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .05em;
    padding: 3px 9px;
    border-radius: 3px;
    flex-shrink: 0;
}
.kb-sec-slider-heading h2 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kb-sec-arrows { display: flex; gap: 6px; flex-shrink: 0; }
.kb-sec-arrows button {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}
.kb-sec-arrows button:hover { background: var(--brand); border-color: var(--brand); }

.kb-sec-stage { position: relative; }
.kb-sec-slide {
    display: none;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
}
.kb-sec-slide.is-active { display: grid; }
.kb-sec-photo {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9.2;
    background: #0b1120;
    overflow: hidden;
}
.kb-sec-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.kb-sec-photo:hover img { transform: scale(1.03); }
.kb-sec-step {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.86);
    color: #fde047;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
}
.kb-sec-info {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-surface);
}
.kb-sec-info h3 {
    margin: 6px 0 12px;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 900;
    line-height: 1.26;
}
.kb-sec-info h3 a:hover { color: var(--brand); }
.kb-sec-info p {
    margin: 0 0 16px;
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kb-sec-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 700;
}
.kb-sec-readbtn {
    background: var(--brand);
    color: #fff;
    padding: 7px 15px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 12.5px;
}
.kb-sec-readbtn:hover { opacity: 0.92; color: #fff; }

.kb-sec-tabs-bar {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}
.kb-sec-tab {
    border: none;
    border-right: 1px solid var(--border);
    background: transparent;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    text-align: left;
    color: var(--text-secondary);
    min-width: 0;
}
.kb-sec-tab:last-child { border-right: none; }
.kb-sec-tabnum {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--border-strong);
    color: var(--text-main);
    font-size: 11px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kb-sec-tabtxt {
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kb-sec-tab.is-active, .kb-sec-tab:hover { background: var(--brand-soft); color: var(--brand); }
.kb-sec-tab.is-active .kb-sec-tabnum { background: var(--brand); color: #fff; }

/* 3. MULTİMEDYA STÜDYO SLIDER + 2x2 YAN KART */
.multimedia-band.kb-media-studio {
    overflow: hidden;
}
.kb-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.15fr);
    gap: 15px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
}
@media (min-width: 1061px) {
    .kb-media-grid > .manset-box { height: 100%; }
    .kb-media-grid > .manset-box > .manset-slides-stage { flex: 1 1 auto; min-height: 330px; aspect-ratio: auto; }
}
.kb-media-slider { border-color: rgba(255,255,255,0.15); width: 100%; min-width: 0; }
.kb-media-side4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
}
.kb-media-side4 .surmanset-card {
    width: 100%;
    height: 100%;
    min-height: 155px;
    aspect-ratio: auto;
}

/* DİNAMİK ANA SAYFA KATEGORİ BLOKLARI (3 Farklı Mizanpaj) */
.kb-dyncat-titlewrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
.kb-dyncat-subpills { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-dyncat-subpills a {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
}
.kb-dyncat-subpills a:hover { background: var(--sec-color, var(--brand)); color: #fff; border-color: var(--sec-color, var(--brand)); }

.kb-catlayout-leadlist {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.55fr);
    gap: 16px;
    align-items: stretch;
}
.kb-cat-leadtitle { margin: 0 0 10px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.3; }
.kb-cat-leadtitle a:hover { color: var(--brand-text); }
.kb-cat-rightstack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
    align-content: stretch;
}
.kb-cat-stackrow {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 9px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.kb-cat-stackrow img { width: 96px; height: 66px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.kb-cat-stackbody { min-width: 0; }
.kb-cat-stackkicker { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; margin-bottom: 3px; color: var(--cat-clr, var(--brand-text)); }
.kb-cat-stackbody strong {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kb-cat-stackrow:hover .kb-cat-stackbody strong { color: var(--brand-text); }

.kb-catlayout-stacked2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.kb-horiz-story {
    display: flex;
    gap: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.kb-horiz-thumb { width: 165px; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: #0f172a; }
.kb-horiz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kb-horiz-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.kb-horiz-body h3 { margin: 2px 0 6px; font-size: 15.5px; font-weight: 800; line-height: 1.32; }
.kb-horiz-body h3 a:hover { color: var(--brand-text); }
.kb-horiz-body p { margin: 0; font-size: 12.5px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.kb-catlayout-grid4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* KATEGORİ BLOK ALTI & KATEGORİ SAYFA SONU "TÜM HABERLERİ GÖR" BUTONU VE ARŞİV BAR */
.kb-cat-bottom-cta {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}
.kb-cat-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--bg-surface);
    border: 1.5px solid var(--border-strong);
    border-left: 5px solid var(--btn-cat-clr, var(--brand));
    color: var(--text-main);
    font-size: 13.5px;
    font-weight: 800;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .14s ease;
}
.kb-cat-all-btn strong { color: var(--btn-cat-clr, var(--brand-text)); }
html[data-theme="dark"] .kb-cat-all-btn strong {
    color: color-mix(in srgb, var(--btn-cat-clr, var(--brand)) 58%, #ffffff);
}
.kb-cat-all-arr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--btn-cat-clr, var(--brand));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}
.kb-cat-all-btn:hover {
    background: var(--btn-cat-clr, var(--brand));
    border-color: var(--btn-cat-clr, var(--brand));
    color: #fff;
    transform: translateY(-1px);
}
.kb-cat-all-btn:hover strong { color: #fff; }
.kb-cat-all-btn:hover .kb-cat-all-arr { background: rgba(255,255,255,0.22); }

.kb-cat-explore-footer {
    margin-top: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--cat-exp-clr, var(--brand));
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
}
.kb-cat-explore-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.kb-cat-exp-kicker {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--cat-exp-clr, var(--brand-text));
    margin-bottom: 3px;
}
html[data-theme="dark"] .kb-cat-exp-kicker {
    color: color-mix(in srgb, var(--cat-exp-clr, var(--brand)) 58%, #ffffff);
}
.kb-cat-explore-main h3 {
    margin: 0;
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 900;
}
.kb-cat-all-btn-lg {
    width: auto;
    background: var(--btn-cat-clr, var(--brand));
    border-color: var(--btn-cat-clr, var(--brand));
    color: #fff;
    padding: 13px 22px;
    font-size: 13.5px;
}
.kb-cat-all-btn-lg:hover { opacity: 0.93; color: #fff; }
.kb-cat-explore-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
}
.kb-cat-exp-lbl {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    margin-right: 4px;
}
.kb-cat-exp-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-strong);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    transition: all .15s ease;
}
.kb-cat-exp-chip:hover {
    background: var(--cat-exp-clr, var(--brand));
    border-color: var(--cat-exp-clr, var(--brand));
    color: #fff;
}

/* PORTAL YAŞAM, BURÇLAR, MENÜ & GÜNÜN SORUSU KUŞAĞI */
.kb-lifehub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.kb-life-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.kb-life-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 9px;
    margin-bottom: 11px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 900;
    color: var(--brand-text);
}
.kb-life-hd small { color: var(--text-muted); font-weight: 700; }
.kb-zodiac-select { margin-bottom: 10px; font-weight: 700; font-size: 13.5px; }
.kb-zodiac-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.58; color: var(--text-secondary); flex: 1; }
.kb-life-link { margin-top: auto; font-size: 12px; font-weight: 800; color: var(--brand-text); }
.kb-menu-list { list-style: none; margin: 0 0 12px; padding: 0; flex: 1; }
.kb-menu-list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.kb-menu-list li:last-child { border-bottom: none; }
.kb-menu-list span { color: var(--text-muted); font-weight: 600; flex-shrink: 0; }
.kb-menu-list strong { text-align: right; }

.kb-quiz-q { margin: 0 0 11px; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.kb-quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kb-quiz-opts button {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-subtle);
    color: var(--text-main);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s ease;
}
.kb-quiz-opts button:hover { border-color: var(--brand); }
.kb-quiz-opts button.is-correct { background: #16a34a; color: #fff; border-color: #16a34a; }
.kb-quiz-opts button.is-wrong { background: #dc2626; color: #fff; border-color: #dc2626; }
.kb-quiz-feedback { margin-top: 10px; font-size: 12.5px; font-weight: 700; padding: 8px 10px; border-radius: 5px; background: var(--bg-subtle); }

/* ALT GAZETE KATEGORİ FİHRİSTİ */
.kb-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.kb-dir-col {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}
.kb-dir-catname {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--dir-clr, var(--brand-text));
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--dir-clr, var(--brand));
}
.kb-dir-list { list-style: none; margin: 0; padding: 0; }
.kb-dir-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
}
.kb-dir-list li:last-child { border-bottom: none; padding-bottom: 0; }
.kb-dir-list a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kb-dir-list a:hover { color: var(--brand-text); }

/* Gece Modu Kategori Metin Kontrast Güvencesi */
html[data-theme="dark"] .section-more,
html[data-theme="dark"] .yan-list-header,
html[data-theme="dark"] .kb-cat-stackkicker {
    color: color-mix(in srgb, var(--cat-clr, var(--brand)) 58%, #ffffff);
}
html[data-theme="dark"] .kb-dir-catname {
    color: color-mix(in srgb, var(--dir-clr, var(--brand)) 58%, #ffffff);
}
html[data-theme="dark"] .rank-num {
    color: var(--brand-text);
}
html[data-theme="dark"] .read-more-fade {
    background: linear-gradient(to bottom, rgba(19, 28, 46, 0), var(--bg-surface));
}

@media (max-width: 1060px) {
    .kb-sec-slide { grid-template-columns: minmax(0, 1fr); }
    .kb-sec-tabs-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .kb-media-grid, .kb-catlayout-leadlist { grid-template-columns: minmax(0, 1fr); }
    .kb-catlayout-grid4, .kb-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-lifehub-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .kb-sec-info { padding: 15px; }
    .kb-sec-tabs-bar { display: flex; overflow-x: auto; scrollbar-width: none; }
    .kb-sec-tabs-bar::-webkit-scrollbar { display: none; }
    .kb-sec-tab { flex: 0 0 42px; justify-content: center; padding: 8px 4px; }
    .kb-sec-tabtxt { display: none; }
    .kb-catlayout-stacked2 { grid-template-columns: minmax(0, 1fr); }
    .kb-dyncat-subpills { display: none; }
    .kb-cat-explore-main { flex-direction: column; align-items: stretch; }
    .kb-cat-all-btn-lg { width: 100%; }
}
@media (max-width: 580px) {
    .kb-cat-rightstack,
    .kb-catlayout-grid4,
    .kb-directory-grid,
    .kb-media-side4 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
    .kb-media-side4 .surmanset-card { height: auto; min-height: 0; }
    .kb-horiz-story { flex-direction: column; }
    .kb-horiz-thumb { width: 100%; aspect-ratio: 16 / 9; }
    .kb-cat-explore-footer { padding: 15px; }
}


