/* ============================================================
   Haberim — Modern Dijital Gazete CSS  v5.0
   Kaynak: BBC / CNN / TRT Haber / Habertürk / NTV (Gerçek Analiz)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:       #cf161c;
    --primary-hover: #a81217;
    --primary-dark:  #a6172e;
    --nav-bg:        linear-gradient(90deg, #0f172a 0%, #020617 100%);
    --bg:            #f3f4f6;
    --card-bg:       #ffffff;
    --text:          #111111;
    --text-secondary:#333333;
    --text-muted:    #555555;
    --border:        #e2e5e8;
    --shadow:        0 2px 8px rgba(0,0,0,.07);
    --shadow-hover:  0 6px 24px rgba(0,0,0,.13);
    --radius:        6px;
    --radius-sm:     4px;
    --container:     1280px;
    --font:          'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

::selection { background: rgba(207, 22, 28, 0.18); color: inherit; }

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0.2px;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ═══════════════════════════════════════════════════════════
   TOP BAR — BBC / CNN tarzı koyu şerit
═══════════════════════════════════════════════════════════ */
.top-bar {
    background: var(--nav-bg);
    color: #999;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 100;
}
.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.top-bar-date { color: #bbb; font-weight: 400; letter-spacing: .04em; }
.top-bar-links { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-links a { color: #aaa; transition: color .15s; font-size: 12px; }
.top-bar-links a:hover { color: #fff; }
.dark-toggle {
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
.dark-toggle:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ═══════════════════════════════════════════════════════════
   SON DAKİKA BANDI — TRT Haber / CNN kırmızı bandı
═══════════════════════════════════════════════════════════ */
.breaking-bar {
    background: var(--primary);
    padding: 0;
    overflow: hidden;
    animation: brandSyncBar 30s linear infinite;
}
.breaking-bar .container { padding: 0 20px; }
.breaking-inner {
    display: flex;
    align-items: stretch;
    height: 36px;
}
.breaking-label-wrap {
    flex-shrink: 0;
    background: #900;
    display: flex;
    align-items: center;
    padding: 0 14px;
    margin-right: 0;
    animation: brandSyncLabelWrap 30s linear infinite;
}
.breaking-label {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    white-space: nowrap;
    animation: brandSyncLabel 30s linear infinite;
}
.breaking-ticker-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.breaking-ticker {
    display: flex;
    gap: 60px;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}
.breaking-ticker a {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    animation: brandSyncTicker 30s linear infinite;
}
.breaking-ticker a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes brandSyncBar {
    0%, 33.333% { filter: saturate(.9) brightness(.86); }
    45%, 90%    { filter: saturate(1.05) brightness(1); }
    100%        { filter: saturate(.9) brightness(.86); }
}
@keyframes brandSyncLabelWrap {
    0%, 33.333% { background: #7e0000; }
    45%, 90%    { background: #980303; }
    100%        { background: #7e0000; }
}
@keyframes brandSyncLabel {
    0%, 33.333% { letter-spacing: .12em; opacity: 1; }
    45%, 90%    { letter-spacing: .15em; opacity: 1; text-shadow: 0 0 4px rgba(255,255,255,0.3); }
    100%        { letter-spacing: .12em; opacity: 1; }
}
@keyframes brandSyncTicker {
    0%, 33.333% { opacity: 1; }
    45%, 90%    { opacity: 1; text-shadow: 0 0 6px rgba(255,255,255,0.3); }
    100%        { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER — Logo + Arama
═══════════════════════════════════════════════════════════ */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
    transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); background: rgba(255, 255, 255, 0.98); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 2px;
}
.premium-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.pb-emblem {
    position: relative;
    height: 38px;
    padding: 0 14px;
    background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(159, 18, 57, 0.3);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.pb-letter {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.pb-text {
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    transition: color 0.2s;
}
html[data-theme="dark"] .pb-text {
    color: #f8fafc;
}
.pb-dot {
    color: #ef4444;
    font-size: 34px;
    line-height: 0;
    margin-left: 2px;
}
.site-logo:hover .pb-emblem {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(159, 18, 57, 0.45);
}
.site-logo:hover .pb-text {
    color: #ef4444;
}
.logo-tagline {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-top: 4px;
    margin-left: 2px;
    display: block;
}

/* Header Arama */
.header-search {
    display: flex;
    align-items: center;
    background: #f4f5f7;
    border: 1px solid transparent;
    border-radius: 99px;
    padding: 0 6px 0 18px;
    width: 260px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-search:focus-within {
    border-color: rgba(225, 29, 72, 0.25);
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.12);
    background: #fff;
    width: 320px;
}
.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-family: var(--font);
    color: var(--text);
    padding: 9px 0;
    outline: none;
    min-width: 0;
}
.header-search input::placeholder { color: #555; }
.header-search button {
    color: #111111;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: color .2s, background .2s;
    flex-shrink: 0;
}
.header-search button:hover { color: var(--primary); background: rgba(204,0,0,.07); }

/* ═══════════════════════════════════════════════════════════
   NAVİGASYON — CNN / TRT siyah nav
═══════════════════════════════════════════════════════════ */
.site-nav {
    background: var(--nav-bg);
    border-bottom: 3px solid var(--primary);
    position: relative;
    z-index: 150;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
}
.nav-list li a {
    display: block;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 13px 14px;
    transition: color .15s, background .15s;
    position: relative;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-list li a:hover,
.nav-list li a.active {
    color: #fff;
    background: transparent;
}
.nav-list li a:hover::after,
.nav-list li a.active::after { transform: scaleX(1); }

.nav-mobile-toggle {
    display: none;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 0;
    gap: 8px;
    flex-direction: row;
    align-items: center;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    display: block;
    width: 20px; height: 2px;
    background: #e0e0e0;
    position: relative;
    transition: all .25s;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after  { top:  6px; }
.nav-edition {
    color: #666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 8px 0;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   CANLΙ VERİ ŞERİDİ — Live Bar (Ana sayfa)
═══════════════════════════════════════════════════════════ */
.live-bar {
    background: #e8eaed;
    border-bottom: 1px solid #d4d7dc;
    margin-bottom: 0;
    overflow: hidden;
}
.live-bar .container {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 0;
    overflow: hidden;
}
.lb-section {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    font-size: 12.5px;
    color: var(--text);
    white-space: nowrap;
    min-height: 38px;
    flex-shrink: 0;
}
.lb-sep {
    color: #bfc3c9;
    font-size: 13px;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}
.lb-loc {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--text-muted);
    padding: 0 14px 0 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.lb-loc-flag { font-size: 13px; line-height: 1; }
.lb-loc-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
    gap: 1px;
}
.lb-loc-country {
    font-size: 10px;
    color: var(--text-muted);
    opacity: .95;
}
.lb-loc-city {
    font-size: 11.5px;
    color: var(--text);
    font-weight: 700;
}
.lb-icon  { font-size: 1rem; line-height: 1; }
.lb-temp  { font-size: 14px; font-weight: 700; }
.lb-sub   { color: var(--text-muted); font-size: 11.5px; }
.lb-curr-group { display: flex; align-items: center; gap: 10px; }
.lb-curr-pair  { display: flex; align-items: center; gap: 2px; }
.lb-curr-code  { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.lb-curr-val   { font-size: 13px; font-weight: 700; color: var(--text); }
.lb-curr-unit  { font-size: 10px; color: var(--text-muted); }
.lb-iftar-label{ color: var(--text-muted); font-size: 11px; }
.lb-iftar-val  { font-size: 13px; font-weight: 700; color: var(--primary); }
.lb-qmag       { font-weight: 800; font-size: 12px; }
.lb-qmag.m5    { color: #d97706; }
.lb-qmag.m55   { color: #ea580c; }
.lb-qmag.m6    { color: var(--primary); }
.lb-qplace     { color: var(--text-secondary); font-size: 11.5px;
                 max-width: 160px; overflow: hidden; text-overflow: ellipsis; }

/* Skeleton animasyonu */
@keyframes skeletonPulse {
    0%, 100% { opacity: .45; }
    50%       { opacity: .9;  }
}
.lb-skel {
    display: inline-block;
    background: #c5c8ce;
    border-radius: 4px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}
.lb-skel-w { width: 110px; height: 13px; }
.lb-skel-c { width: 120px; height: 13px; }
.lb-skel-p { width:  80px; height: 13px; }
.lb-skel-q { width: 145px; height: 13px; }
.lb-skel-l { width:  56px; height: 11px; }

/* Dark mode — Live Bar */
html[data-theme="dark"] .live-bar           { background: #131618; border-bottom-color: #2e3133; }
html[data-theme="dark"] .lb-skel            { background: #3a3d42; }
html[data-theme="dark"] .lb-sep             { color: #3a3d42; }
html[data-theme="dark"] .lb-curr-val        { color: #e8e6e3; }
html[data-theme="dark"] .lb-iftar-val       { color: #f07070; }
html[data-theme="dark"] .lb-qplace          { color: #ffffff; }
html[data-theme="dark"] .lb-loc-country,
html[data-theme="dark"] .lb-loc-city { color: #ffffff; }

/* ═══════════════════════════════════════════════════════════
   WİDGET YÜKLEME İSKELETİ
═══════════════════════════════════════════════════════════ */
.wgt-loading {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wgt-loading span {
    display: block;
    background: #e2e5e8;
    border-radius: 4px;
    height: 14px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}
.wgt-loading span:nth-child(2) { width: 75%; animation-delay: .12s; }
.wgt-loading span:nth-child(3) { width: 55%; animation-delay: .24s; }
html[data-theme="dark"] .wgt-loading span { background: #2d3033; }

/* ═══════════════════════════════════════════════════════════
   HAVA DURUMU WİDGETİ
═══════════════════════════════════════════════════════════ */
.ww-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 8px;
}
.ww-icon { font-size: 2.6rem; line-height: 1; flex-shrink: 0; }
.ww-right { display: flex; flex-direction: column; gap: 2px; }
.ww-temp  { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.ww-temp sup { font-size: .75rem; font-weight: 500; vertical-align: super; }
.ww-desc  { padding: 0 16px 6px; font-size: 12.5px; color: var(--text-secondary); }
.ww-details {
    display: flex;
    gap: 14px;
    padding: 7px 16px 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.ww-loc {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(207, 22, 28, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 6px;
    width: fit-content;
    margin: 10px auto 0;
}
html[data-theme="dark"] .ww-loc {
    background: rgba(207, 22, 28, 0.15);
    color: #ff6b6b;
}
/* Yurt dışı rozeti */
.ww-abroad {
    font-size: 10px;
    background: var(--primary);
    color: #fff;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════
   DÖVİZ KURLARI WİDGETİ
═══════════════════════════════════════════════════════════ */
.wc-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
}
.wc-row:last-of-type { border-bottom: none; }
.wc-flag  { font-size: 1.15rem; flex-shrink: 0; }
.wc-label { font-size: 13px; font-weight: 700; color: var(--text); min-width: 38px; }
.wc-val   { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-left: auto; }
.wc-unit  { font-size: 12px; color: var(--text-muted); margin-left: 2px; }
.wc-footer {
    padding: 6px 16px 8px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   NAMAZ / İFTAR WİDGETİ
═══════════════════════════════════════════════════════════ */
.wp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    transition: background .12s;
}
.wp-row:last-of-type { border-bottom: none; }
.wp-row.wp-iftar {
    background: rgba(207, 22, 28, .07);
    border-left: 3px solid var(--primary);
    font-weight: 700;
}
html[data-theme="dark"] .wp-row.wp-iftar { background: rgba(207, 22, 28, .14); }
html[data-theme="dark"] .wp-name { color: #ffffff; }
.wp-name { color: var(--text-secondary); font-weight: 600; }
.wp-time { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.wp-footer {
    padding: 8px 16px 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   SON DEPREMLER WİDGETİ
═══════════════════════════════════════════════════════════ */
.wq-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: background .12s;
}
.wq-item:last-child { border-bottom: none; }
.wq-item:hover { background: rgba(0,0,0,.03); }
html[data-theme="dark"] .wq-item:hover { background: #2a2d30; }
.wq-mag {
    font-size: 1rem;
    font-weight: 900;
    min-width: 40px;
    text-align: center;
    padding: 3px 6px;
    border-radius: 5px;
    line-height: 1.4;
    flex-shrink: 0;
}
.wq-mag.m5  { background: #fef3c7; color: #d97706; }
.wq-mag.m55 { background: #ffedd5; color: #ea580c; }
.wq-mag.m6  { background: #fee2e2; color: #dc2626; }
html[data-theme="dark"] .wq-mag.m5  { background: rgba(217,119,6,.18);  color: #fbbf24; }
html[data-theme="dark"] .wq-mag.m55 { background: rgba(234,88,12,.18);  color: #fb923c; }
html[data-theme="dark"] .wq-mag.m6  { background: rgba(220,38,38,.18);  color: #f87171; }
.wq-body  { flex: 1; min-width: 0; }
.wq-place {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wq-meta  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.wq-alert-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    margin-right: 6px;
    vertical-align: middle;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .16);
}
.wq-empty {
    padding: 18px 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
.wq-source {
    padding: 6px 16px 8px;
    font-size: 10.5px;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid var(--border);
}
html[data-theme="dark"] .wq-place,
html[data-theme="dark"] .wq-source { color: #ffffff; }

/* ════════════════════════════════════════════════════════════
   ALTIN FİYATLARI WİDGETİ
════════════════════════════════════════════════════════════ */
.wg-row {
    display: flex;
    align-items: center;
    padding: 9px 16px;
    border-bottom: 1px solid var(--border);
    gap: 8px;
}
.wg-row:last-of-type { border-bottom: none; }
.wg-label {
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 80px;
}
.wg-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-left: auto;
}
.wg-unit  { font-size: 11px; color: var(--text-muted); margin-left: 2px; }
.wg-footer {
    padding: 6px 16px 8px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: right;
    border-top: 1px solid var(--border);
}
/* BIST satiri */
.wg-row.wg-bist .wg-label { color: var(--text); font-weight: 700; }
.wg-row.wg-bist .wg-val   { color: #16a34a; }
html[data-theme="dark"] .wg-row.wg-bist .wg-val { color: #4ade80; }

/* ════════════════════════════════════════════════════════════
   ŞEHİR SEÇİCİ (City Picker)
════════════════════════════════════════════════════════════ */
.city-picker-drop {
    position: fixed;
    z-index: 99999;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    min-width: 220px;
    animation: fadeInDown .15s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.city-picker-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.city-picker-row {
    display: flex;
    gap: 6px;
    align-items: center;
}
.city-picker-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color .15s;
}
.city-picker-input:focus { border-color: var(--primary); }
.city-picker-ok {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background .15s;
}
.city-picker-ok:hover { background: var(--primary-hover); }
.city-picker-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    align-items: center;
}
.city-picker-cancel {
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font);
}
.city-picker-cancel:hover { color: var(--primary); }
.city-picker-reset {
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font);
    text-decoration: underline;
}
.city-picker-reset:hover { color: var(--primary); }
/* Konum edit ikonu */
.lb-loc-edit {
    font-size: 11px;
    opacity: .55;
    cursor: pointer;
    margin-left: 3px;
    transition: opacity .15s;
    background: none;
    border: none;
    color: inherit;
    font-family: var(--font);
    padding: 0;
    line-height: 1;
}
.lb-loc:hover .lb-loc-edit { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   SITE MAIN
═══════════════════════════════════════════════════════════ */
.site-main { padding: 0 0 48px; }

/* ═══════════════════════════════════════════════════════════
   HERO / ÖNE ÇIKAN — CNN 2/3 + 1/3 grid
═══════════════════════════════════════════════════════════ */
.featured-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 12px;
    margin-bottom: 28px;
    min-height: 500px;
}
.featured-main { position: relative; overflow: hidden; border-radius: var(--radius); }
.featured-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.featured-card { display: block; position: relative; overflow: hidden; border-radius: var(--radius); }
.featured-card img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.featured-card:hover img { transform: scale(1.04); }
.featured-placeholder { background: #ccc; width: 100%; height: 100%; min-height: 200px; }

.featured-large { height: 500px; }
.featured-large .featured-placeholder { height: 500px; }

.featured-small { min-height: 0; overflow: hidden; }
.featured-small .featured-placeholder { min-height: 0; height: 100%; }

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 45%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.featured-large .featured-overlay { padding: 28px 32px; }

.featured-category {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    width: fit-content;
}

.featured-large .featured-overlay h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    color: #ffffff;
    letter-spacing: -.02em;
    margin-bottom: 10px;
}
.featured-large .featured-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-small .featured-overlay h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

/* ═══════════════════════════════════════════════════════════
   BÖLÜM BAŞLIKLARI
═══════════════════════════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}
.section-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--text);
    padding-left: 14px;
    position: relative;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0; bottom: 0;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.section-header a {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-header a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   HOME LAYOUT — Ana + Kenar Çubuğu
═══════════════════════════════════════════════════════════ */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
.home-main { min-width: 0; }
.home-sidebar { position: sticky; top: 72px; }

/* ═══════════════════════════════════════════════════════════
   HABER LİSTESİ (Habertürk yatay kart)
═══════════════════════════════════════════════════════════ */
.news-list-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 28px;
}
.news-list-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .2s, transform .2s;
}
.news-list-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.news-list-img-link { display: block; overflow: hidden; }
.news-list-img-link img {
    width: 140px; height: 105px; object-fit: cover; display: block;
    transition: transform .4s;
}
.news-list-item:hover .news-list-img-link img { transform: scale(1.06); }
.news-list-img-placeholder { width: 140px; height: 105px; background: #dde1e6; }

.news-list-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}
.news-category-tag {
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    width: fit-content;
    transition: opacity .15s;
}
.news-category-tag:hover { opacity: .85; }
.news-list-title { margin: 0; }
.news-list-title a {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.news-list-title a:hover { color: var(--primary); }
.news-list-summary {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    color: var(--text-muted);
}
.news-card-meta span + span::before {
    content: '·';
    margin-right: 10px;
    opacity: .4;
}

/* ═══════════════════════════════════════════════════════════
   HABER GRID KARTI (NTV / TRT 3 sütun)
═══════════════════════════════════════════════════════════ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.news-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.news-card-img-link { display: block; overflow: hidden; }
.news-card-img {
    width: 100%; height: 190px; object-fit: cover; display: block;
    transition: transform .4s;
}
.news-card:hover .news-card-img { transform: scale(1.05); }
.news-card-img-placeholder { height: 190px; background: #dde1e6; }

.news-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.news-card-title { margin: 0; }
.news-card-title a {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.news-card-title a:hover { color: var(--primary); }
.news-card-summary {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Diğer Haberler — metin direkt görsel üzerinde */
.other-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.other-news-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.other-news-link {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
}
.other-news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.other-news-img-placeholder {
    height: 220px;
    background: #dde1e6;
}
.other-news-card:hover .other-news-img { transform: scale(1.05); }
.other-news-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
}
.other-news-title {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.75);
}
.other-news-meta {
    margin-top: 6px;
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR WİDGETLER
═══════════════════════════════════════════════════════════ */
.sidebar-widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.widget-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: #fafafa;
}
.widget-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
    padding-left: 10px;
    position: relative;
}
.widget-title::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.widget-body { padding: 12px 0; }

/* Trend / En Çok Okunanlar */
.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #f4f4f4;
    transition: background .15s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: #fafafa; }
.trending-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(0,0,0,.12);
    line-height: 1;
    min-width: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}
.trending-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.trending-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.trending-title:hover { color: var(--primary); }
.trending-meta { font-size: 11px; color: var(--text-muted); }

/* Kategoriler */
.sidebar-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-left: 4px solid #ccc;
    border-bottom: 1px solid #f4f4f4;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    transition: background .15s, color .15s;
}
.sidebar-category-link:last-child { border-bottom: none; }
.sidebar-category-link:hover { background: #f8f8f8; color: var(--primary); }
.cat-count {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    background: #f0f0f0;
    padding: 1px 7px;
    border-radius: 12px;
}

/* ═══════════════════════════════════════════════════════════
   PAGİNASYON
═══════════════════════════════════════════════════════════ */
.pagination-wrap { margin: 24px 0; }

/* ═══════════════════════════════════════════════════════════
   HABER DETAY SAYFASI
═══════════════════════════════════════════════════════════ */
.news-detail-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
}
.news-article {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    min-width: 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); transition: text-decoration .15s; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #ccc; }

/* Makale Header */
.article-header { margin-bottom: 24px; }
.breaking-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.article-category {
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    transition: opacity .15s;
}
.article-category:hover { opacity: .85; }
.article-title {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: 14px;
}
.article-summary {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 24px;
    font-weight: 400;
    font-style: italic;
}
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.author-info { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-transform: uppercase; font-family: 'Roboto', sans-serif; letter-spacing: 0.5px; }
.author-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.author-initials {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reading-time { display: flex; align-items: center; gap: 4px; }
.news-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 3px 10px 3px 8px;
    border-radius: 4px;
    letter-spacing: .03em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.news-source-badge a {
    color: #fff;
    text-decoration: none;
}
.news-source-badge a:hover { text-decoration: underline; }
html[data-theme="dark"] .news-source-badge { background: #b91c1c; }

/* Paylaş Çubuğu */
.share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.share-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: opacity .15s, transform .15s;
    cursor: pointer;
}
.share-btn:hover { opacity: .88; transform: translateY(-1px); }
.share-twitter  { background: #000; color: #fff; }
.share-facebook { background: #1877f2; color: #fff; }
.share-whatsapp { background: #25d366; color: #fff; }
.share-copy     { background: #f0f2f5; color: var(--text); border: 1px solid var(--border); }

/* Kapak Fotoğrafı */
.article-cover {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-cover img { width: 100%; max-height: 500px; object-fit: cover; }

/* İçerik Araç Çubuğu */
.article-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.article-toolbar-label { font-size: 12px; color: var(--text-muted); }
.font-btn {
    width: 30px; height: 30px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    transition: border-color .15s, background .15s;
}
.font-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(204,0,0,.05); }

/* Makale İçerik */
.article-content {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text);
    word-wrap: break-word;
    transition: font-size .2s;
}
.article-content[data-fontsize="sm"] { font-size: 15px; }
.article-content[data-fontsize="lg"] { font-size: 19px; }
.article-content h2,
.article-content h3,
.article-content h4 {
    font-weight: 800;
    margin: 1.6em 0 .6em;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.article-content h2 { font-size: 1.4rem; }
.article-content h3 { font-size: 1.2rem; }
.article-content p   { margin-bottom: 1.1em; }
.article-content p:first-of-type::first-letter {
    font-size: 3.2em;
    font-weight: 900;
    float: left;
    line-height: .85;
    margin: .05em .14em 0 0;
    color: var(--primary);
}
.article-content ul { list-style: disc outside !important; margin-bottom: 1.2em; padding-left: 2.5em !important; }
.article-content ol { list-style: decimal outside !important; margin-bottom: 1.2em; padding-left: 2.5em !important; }
.article-content li { margin-bottom: 0.5em; display: list-item !important; }
.article-content a   { color: var(--primary); text-decoration: underline; }
.article-content blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border-left: 5px solid var(--primary);
    background: #fff8f8;
    font-size: 1.1em;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content img { border-radius: var(--radius); margin: 1em 0; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 14px;
}
.article-content th,
.article-content td  { border: 1px solid var(--border); padding: 8px 12px; }
.article-content th  { background: #f4f5f7; font-weight: 700; }

/* Etiketler */
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
}
.tag {
    background: #f0f2f5;
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: background .15s, color .15s;
    cursor: pointer;
}
.tag:hover { background: var(--primary); color: #fff; }

/* Detay Sayfası Sağ Sidebar */
.article-aside { position: sticky; top: 72px; }
.related-news { margin-bottom: 0; }
.related-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.related-card:last-child { border-bottom: none; }
.related-card:hover { background: #fafafa; }
.related-card img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.related-card-placeholder { width: 80px; height: 60px; background: #dde1e6; border-radius: var(--radius-sm); }
.related-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card:hover .related-card-title { color: var(--primary); }

/* İlgili Haberler Kartı (Resimli Blok) */
.related-item {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
    transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .25s ease;
}
.related-item:last-child { margin-bottom: 0; }
.related-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.related-item:hover img {
    transform: scale(1.05);
}
.related-body {
    padding: 14px 16px;
    background: var(--card-bg);
    position: relative;
    z-index: 2;
}
.related-body p {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 8px;
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-item:hover .related-body p { color: var(--primary); }
.related-body small {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.sidebar-category-widget { padding: 0; }

/* ═══════════════════════════════════════════════════════════
   YORUMLAR
═══════════════════════════════════════════════════════════ */
.comments-section {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 2px solid var(--border);
}
.comments-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; }
.comment {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.comment-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.comment-author { font-size: 14px; font-weight: 700; color: var(--text); }
.comment-date   { font-size: 11.5px; color: var(--text-muted); }
.comment-body   { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.comment-reply-toggle { font-size: 12px; color: var(--primary); cursor: pointer; margin-top: 8px; display: inline-block; }
.comment-replies { margin-left: 28px; border-left: 2px solid var(--border); padding-left: 16px; }

/* Yorum Formu */
.comment-form-section { padding-top: 28px; margin-top: 8px; }
.comment-form-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input,
.form-group textarea {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,0,0,.08);
}
.form-group textarea { min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit, .btn-primary {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    transition: background .2s, transform .15s;
    cursor: pointer;
    border: none;
}
.btn-submit:hover, .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ═══════════════════════════════════════════════════════════
   KATEGORİ & ARAMA SAYFASI
═══════════════════════════════════════════════════════════ */
.page-header {
    margin-bottom: 24px;
    padding: 18px 22px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
}
.page-header h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.page-header .page-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.page-header-label {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 15px;
}
.search-form-lg {
    margin-bottom: 24px;
}
.search-form-lg-inner {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
}
.search-form-lg input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 16px;
    font-family: var(--font);
    outline: none;
    background: #fff;
    color: var(--text);
}
.search-form-lg button {
    background: var(--primary);
    color: #fff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background .15s;
}
.search-form-lg button:hover { background: var(--primary-hover); }

/* ═══════════════════════════════════════════════════════════
   FOOTER — BBC / CNN koyu 4 sütun
═══════════════════════════════════════════════════════════ */
.site-footer { 
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%); 
    color: #cbd5e1; 
    margin-top: 60px; 
    border-top: 4px solid var(--primary);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 44px 0 32px;
}
.footer-brand .premium-brand-logo {
    margin-bottom: 12px;
}
.footer-brand .premium-brand-logo .pb-text {
    color: #f8fafc;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
}
.footer-brand .premium-brand-logo .pb-dot {
    display: inline-block;
    animation: heartbeat 2.5s infinite;
}
.footer-brand p { font-size: 13px; color: #ffffff; line-height: 1.6; margin-bottom: 16px; max-width: 240px; }
.footer-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}
.footer-quick-tags a {
    font-size: 11px;
    font-weight: 700;
    color: #d5d5d5;
    border: 1px solid #2f2f2f;
    border-radius: 999px;
    padding: 5px 10px;
    text-decoration: none;
    transition: all .15s;
}
.footer-quick-tags a:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(207, 22, 28, .18);
}
.footer-social { display: flex; gap: 10px; }
.social-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
    transition: all .25s ease;
}
@keyframes bounceCute {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(-7px); }
}
.social-icon:hover { 
    background: var(--primary); 
    color: #fff; 
    border-color: var(--primary); 
    animation: bounceCute 0.6s cubic-bezier(0.28, 0.84, 0.42, 1) infinite alternate;
    box-shadow: 0 4px 12px rgba(207, 22, 28, 0.4);
}
.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #f8fafc;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-col ul { list-style: none; }
.footer-col ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #94a3b8;
    padding: 6px 0;
    transition: all .2s ease;
    text-decoration: none;
}
.footer-col ul li a:hover { 
    color: #fff; 
    transform: translateX(6px);
}
.footer-count {
    font-size: 10.5px;
    font-weight: 700;
    color: #cfcfcf;
    background: #222;
    border: 1px solid #303030;
    border-radius: 999px;
    padding: 1px 7px;
    line-height: 1.4;
}
.footer-static {
    display: block;
    font-size: 12px;
    color: #f8fafc;
    padding: 5px 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #f8fafc;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom-info { display: flex; flex-direction: column; gap: 4px; }
.made-with-love { font-size: 12.5px; color: #e2e8f0; margin: 0; }
.made-with-love .heart { 
    color: #ef4444; 
    display: inline-block; 
    animation: heartbeat 1.5s infinite; 
}
.footer-bottom a { color: #f8fafc; transition: opacity .15s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE  — 3.png + 4.png referansı (#181A1B temel)
═══════════════════════════════════════════════════════════ */
html[data-theme="dark"] ::selection { background: rgba(240, 96, 96, 0.28); color: inherit; }

html[data-theme="dark"] {
    --bg:             #181A1B;
    --card-bg:        #242628;
    --text:           #ffffff;
    --text-secondary: #f0f0f0;
    --text-muted:     #e0e0e0;
    --border:         #2e3133;
    --shadow:         0 2px 10px rgba(0,0,0,.5);
    --shadow-hover:   0 6px 24px rgba(0,0,0,.65);
    --nav-bg:         #181A1B;
}

/* Top bar: yoğun koyu (4.png: #181A1B topbar) */
html[data-theme="dark"] .top-bar {
    background: #0d0f10;
    border-bottom-color: #2e3133;
}
html[data-theme="dark"] .top-bar-date { color: #d0d0d0; }
html[data-theme="dark"] .top-bar-links a { color: #d0d0d0; }

/* Breaking bar: parlak kırmızı (4.png: #B50303) */
html[data-theme="dark"] .breaking-bar { background: #B50303; }
html[data-theme="dark"] .breaking-label-wrap { background: #8c0202; }
html[data-theme="dark"] .breaking-bar { animation-name: brandSyncBar; }
html[data-theme="dark"] .breaking-label-wrap { animation-name: brandSyncLabelWrap; }
html[data-theme="dark"] .breaking-label { animation-name: brandSyncLabel; }
html[data-theme="dark"] .breaking-ticker a { animation-name: brandSyncTicker; }

/* Site header: koyu (#1C1E20) */
html[data-theme="dark"] .site-header {
    background: rgba(28, 30, 32, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255,255,255,0.08);
    box-shadow: 0 2px 14px rgba(0,0,0,.25);
}
html[data-theme="dark"] .site-header.scrolled {
    background: rgba(28, 30, 32, 0.96);
    box-shadow: 0 4px 24px rgba(0,0,0,.45);
}
html[data-theme="dark"] .logo-text { color: #ffffff; }
html[data-theme="dark"] .logo-tagline { color: #ffffff; }
html[data-theme="dark"] .logo-tagline::after {
    background: linear-gradient(90deg, rgba(240,112,112,.22) 0%, rgba(240,112,112,.62) 50%, rgba(240,112,112,.22) 100%);
}
html[data-theme="dark"] .header-search {
    background: #2a2d30;
    border-color: transparent;
}
html[data-theme="dark"] .header-search:focus-within {
    background: #242628;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(207,22,28,.18);
}
html[data-theme="dark"] .header-search input { color: #e8e6e3; }
html[data-theme="dark"] .header-search input::placeholder { color: #555860; }
html[data-theme="dark"] .header-search button { color: #686b6f; }

/* Nav: koyu (4.png: #181A1B) + kırmızı alt çizgi korunuyor */
html[data-theme="dark"] .site-nav {
    background: #181A1B;
    border-bottom-color: var(--primary);
}
html[data-theme="dark"] .nav-list li a { color: #f8f8f8; }
html[data-theme="dark"] .nav-list li a:hover,
html[data-theme="dark"] .nav-list li a.active {
    color: #ffffff;
    background: rgba(255,255,255,.05);
}
html[data-theme="dark"] .nav-list.open { background: #181A1B; border-top-color: #2e3133; }
html[data-theme="dark"] .nav-edition { color: #555860; }

/* İçerik kartları */
html[data-theme="dark"] .news-article { background: #242628; border-color: #2e3133; }
html[data-theme="dark"] .news-card     { background: #242628; }
html[data-theme="dark"] .news-list-item { background: #242628; }
html[data-theme="dark"] .news-list-item:hover,
html[data-theme="dark"] .news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.5); }
html[data-theme="dark"] .other-news-card { box-shadow: 0 4px 20px rgba(0,0,0,.5); }

/* Sidebar & widget */
html[data-theme="dark"] .sidebar-widget,
html[data-theme="dark"] .page-header    { background: #242628; border-color: #2e3133; }
html[data-theme="dark"] .widget-header  { background: #2d3033; }
html[data-theme="dark"] .related-card   { border-bottom-color: #2e3133; }
html[data-theme="dark"] .related-card:hover { background: #2d3033; }
html[data-theme="dark"] .related-card-title { color: #f8f8f8; }
html[data-theme="dark"] .related-card:hover .related-card-title { color: var(--primary); }

/* Makale içeriği */
html[data-theme="dark"] .article-content { color: #ffffff; }
html[data-theme="dark"] .article-content blockquote {
    background: rgba(166,23,46,.1);
    border-left-color: var(--primary);
    color: #e0e0e0;
}
html[data-theme="dark"] .article-content th { background: #2d3033; color: #c8c5c2; }
html[data-theme="dark"] .article-content td { border-color: #3a3d42; }
html[data-theme="dark"] .article-content th { border-color: #3a3d42; }

/* Makale meta */
html[data-theme="dark"] .article-meta,
html[data-theme="dark"] .share-bar,
html[data-theme="dark"] .article-tags {
    border-color: #2e3133;
}
html[data-theme="dark"] .breadcrumb { color: #6b6e72; }
html[data-theme="dark"] .breadcrumb-sep { color: #3a3d42; }

/* Formlar */
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea {
    background: #1c1e20;
    color: #e8e6e3;
    border-color: #3a3d42;
}
html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,0,0,.15);
}
html[data-theme="dark"] .btn-primary, 
html[data-theme="dark"] .btn-submit {
    background: var(--primary) !important;
    color: #fff !important;
}
html[data-theme="dark"] .search-form-lg input {
    background: #1c1e20;
    color: #e8e6e3;
}
html[data-theme="dark"] .search-form-lg-inner { border-color: var(--primary); }

/* Tag & sayaç */
html[data-theme="dark"] .tag { background: #2a2d30; color: #adadad; border: 1px solid #3a3d42; }
html[data-theme="dark"] .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
html[data-theme="dark"] .cat-count { background: #2a2d30; color: #6b6e72; }

/* Placeholder kutular */
html[data-theme="dark"] .news-list-img-placeholder,
html[data-theme="dark"] .news-card-img-placeholder,
html[data-theme="dark"] .featured-placeholder,
html[data-theme="dark"] .related-card-placeholder { background: #2d3033; }

/* Paylaş & pagination */
html[data-theme="dark"] .share-copy { background: #2a2d30; color: #adadad; border-color: #3a3d42; }
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .pagination span {
    background: #242628;
    border-color: #3a3d42;
    color: #adadad;
}
html[data-theme="dark"] .pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(207,22,28,.08);
}
html[data-theme="dark"] .pagination span.active { background: var(--primary); border-color: var(--primary); color: #fff; }
html[data-theme="dark"] .pagination span[aria-disabled] { color: #3a3d42; }

/* Auth formu */
html[data-theme="dark"] .auth-card { background: #242628; box-shadow: 0 8px 40px rgba(0,0,0,.5); }

/* Yorum */
html[data-theme="dark"] .comment { border-bottom-color: #2e3133; }
html[data-theme="dark"] .comment-reply-toggle { color: var(--primary); }
html[data-theme="dark"] .comment-replies { border-left-color: #3a3d42; }
html[data-theme="dark"] .alert-success { background: #0d2e1a; color: #6fcf97; border-color: #1a5c33; }
html[data-theme="dark"] .alert-error   { background: #2e0d10; color: #eb5757; border-color: #5c1a1e; }

/* Footer: koyu ama #181A1B'den biraz daha koyu */
html[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #090a0f 0%, #000000 100%); }
html[data-theme="dark"] .footer-social .social-icon { background: #242628; border-color: #3a3d42; }
html[data-theme="dark"] .footer-bottom { border-top-color: #2e3133; }
html[data-theme="dark"] .footer-quick-tags a { border-color: #383b40; color: #d6d9dc; }
html[data-theme="dark"] .footer-count { background: #222428; border-color: #3a3d42; color: #e8e6e3; }

/* Back to top */
html[data-theme="dark"] #backToTop { background: #242628; color: #adadad; border-color: #3a3d42; }
html[data-theme="dark"] #backToTop:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Trend widget dark */
html[data-theme="dark"] .trending-item { border-bottom-color: #2e3133; }
html[data-theme="dark"] .trending-item:hover { background: #2d3033; }
html[data-theme="dark"] .trending-num { color: rgba(255,255,255,.15); }

/* Data strip + popular row + drawer dark */
html[data-theme="dark"] .ds-card { box-shadow: none; }
html[data-theme="dark"] .popular-row-item:hover { background: rgba(255,255,255,.04); }
html[data-theme="dark"] .popular-row-num { color: #ffffff; }
html[data-theme="dark"] .popular-row-item { border-left-color: #2e3133; }
html[data-theme="dark"] .cat-drawer-link:hover { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .cat-drawer-count { background: #2e3133; }

/* Sidebar kategori dark */
html[data-theme="dark"] .sidebar-category-link {
    border-bottom-color: #2e3133;
    color: var(--text);
}
html[data-theme="dark"] .sidebar-category-link:hover { background: #2d3033; color: var(--primary); }
html[data-theme="dark"] .widget-header { border-bottom-color: #2e3133; }

/* Article toolbar dark */
html[data-theme="dark"] .article-toolbar { border-bottom-color: #2e3133; }
html[data-theme="dark"] .font-btn { border-color: #3a3d42; color: #6b6e72; }
html[data-theme="dark"] .font-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(207,22,28,.08); }

/* Footer — koyu modda metin okunabilirliği (#555 çok koyu, #888 borderline) */
html[data-theme="dark"] .footer-bottom      { color: #8a8d90; }
html[data-theme="dark"] .footer-bottom a     { color: #9ba0a6; }
html[data-theme="dark"] .footer-bottom a:hover { color: #fff; }
html[data-theme="dark"] .footer-brand p      { color: #9ba0a6; }
html[data-theme="dark"] .footer-col ul li a  { color: #9ba0a6; }
html[data-theme="dark"] .footer-col ul li a:hover { color: #fff; }

/* Bağlantı renkleri — kırmızı (#cf161c) koyu zeminde ~3.1:1 kontrast, daha açık kullan */
html[data-theme="dark"] .breadcrumb a          { color: #e85454; }
html[data-theme="dark"] .breadcrumb a:hover    { color: #f07070; }
html[data-theme="dark"] .article-content a     { color: #e85454; }
html[data-theme="dark"] .article-content a:hover { color: #f07070; }
html[data-theme="dark"] .comment-reply-toggle  { color: #e85454; }

/* Toast — koyu modda zemin (#1a1a1a) body ile karışıyor */
html[data-theme="dark"] .toast {
    background: #3d4147;
    color: #e8e6e3;
    box-shadow: 0 6px 24px rgba(0,0,0,.65);
}

/* ═══════════════════════════════════════════════════════════
   ANİMASYON — scroll reveal
═══════════════════════════════════════════════════════════ */
.reveal, .reveal-left, .reveal-scale {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}
.reveal-left { transform: translateX(-18px); }
.reveal-scale { transform: scale(.97); }
.reveal-d2 { transition-delay: .1s; }
.reveal-d3 { transition-delay: .2s; }

.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════
   LOADING PROGRESS BAR
═══════════════════════════════════════════════════════════ */
#pageProgress {
    position: fixed;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--primary);
    z-index: 9999;
    transition: width .25s;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   READING PROGRESS (makale detay üst çizgi)
═══════════════════════════════════════════════════════════ */
#readingProgress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--primary);
    z-index: 9998;
    transition: width .15s linear;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 28px; right: 24px;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
    z-index: 9000;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   FLOATING KATEGORİ BUTONU
═══════════════════════════════════════════════════════════ */
.cat-fab {
    position: fixed;
    bottom: 80px; right: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text);
    border: 1.5px solid var(--border);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    opacity: 0;
    transform: scale(.7) translateY(10px);
    transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
    z-index: 500;
    pointer-events: none;
}
.cat-fab.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}
.cat-fab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(204,0,0,.35);
    transform: scale(1.08);
}
html[data-theme="dark"] .cat-fab { background: #242628; color: #adadad; border-color: #3a3d42; }
html[data-theme="dark"] .cat-fab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   GERİ DÖN BUTONU
═══════════════════════════════════════════════════════════ */
#backToTop {
    position: fixed;
    bottom: 28px; right: 24px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(204,0,0,.4);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .3s, transform .3s, background .2s;
    z-index: 500;
}
#backToTop.show    { opacity: 1; transform: scale(1); }
#backToTop:hover   { background: var(--primary-hover); transform: scale(1.08); }

/* ═══════════════════════════════════════════════════════════
   HATA SAYFALARI
═══════════════════════════════════════════════════════════ */
.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.error-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -.05em;
    line-height: 1;
    margin-bottom: 16px;
}
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.error-desc  { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: background .15s, transform .15s;
}
.btn-home:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* AUTH */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,.12);
    padding: 36px 40px;
    width: 100%;
    max-width: 440px;
}
.auth-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 22px; text-align: center; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Tek kart — tam genişlik */
.data-strip--solo {
    grid-template-columns: 1fr;
}

/* Orta şerit: deprem kartı tam genişlik + daha kompakt yükseklik */
#dataStripMid.data-strip--solo {
    margin: 18px 0;
}
#dataStripMid.data-strip--solo .ds-card {
    width: 100%;
    padding: 12px 14px;
}
#dataStripMid.data-strip--solo .ds-card-head {
    margin-bottom: 8px;
}
#dataStripMid.data-strip--solo .wq-item {
    padding: 8px 12px;
}
/* ═══════════════════════════════════════════════════════════
   HAVA DURUMU — YATAY BANT
═══════════════════════════════════════════════════════════ */
.weather-strip {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 28px;
    overflow: hidden;
}
/* wgtWeatherBody içindeki mevcut .ww-* el̈eler yatay düzenünde göster */
.weather-strip .ww-main {
    padding: 0;
    border-bottom: none;
}
.weather-strip #wgtWeatherBody {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 0;
}
.weather-strip #wgtWeatherBody .ww-main {
    padding: 14px 20px;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}
.weather-strip #wgtWeatherBody .ww-desc {
    padding: 0 20px;
    border-top: none;
    font-size: 13px;
    flex-shrink: 0;
}
.weather-strip #wgtWeatherBody .ww-details {
    padding: 0 20px;
    border-top: none;
    border-left: 1px solid var(--border);
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin: 0;
}
.weather-strip #wgtWeatherBody .ww-loc {
    border-top: none;
    border-left: none;
    margin: 0 24px 0 0;
}
.weather-strip .wgt-loading {
    padding: 20px;
}
@media (max-width: 640px) {
    .weather-strip #wgtWeatherBody {
        flex-direction: column;
        align-items: stretch;
    }
    .weather-strip #wgtWeatherBody .ww-main,
    .weather-strip #wgtWeatherBody .ww-details {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
    }
    .weather-strip #wgtWeatherBody .ww-desc { padding: 8px 16px; }
    .weather-strip #wgtWeatherBody .ww-loc { border-bottom: none; margin: 16px auto; padding: 6px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   VERİ KARTI ŞERİDİ (Data Strip)
═══════════════════════════════════════════════════════════ */
.data-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.ds-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.ds-card-head {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ds-icon { font-size: 14px; }
.ds-card-body { font-size: 13px; }
.ds-sub-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    padding: 10px 0 6px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}

/* Orta şerit tek kart: genel .data-strip kuralını override et */
#dataStripMid.data-strip,
#dataStripMid.data-strip.data-strip--solo {
    grid-template-columns: minmax(0, 1fr);
}

#dataStripMid .ds-card {
    width: 100%;
}
/* currency footer'ı combined kart içinde gizle */
/* currency footer kartlarda görünür */

/* ═══════════════════════════════════════════════════════════
   TAM GENİŞLİK LAYOUT
═══════════════════════════════════════════════════════════ */
.home-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   EN ÇOK OKUNANLAR — Yatay Şerit
═══════════════════════════════════════════════════════════ */
.popular-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}
.popular-row-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px;
    border-left: 1px solid var(--border);
    transition: background .15s;
}
.popular-row-item:first-child { border-left: none; }
.popular-row-item:hover { background: rgba(0,0,0,.025); }
.popular-row-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #000000;
    line-height: 1;
}
.popular-row-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.popular-row-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s;
}
.popular-row-title:hover { color: var(--primary); }
.popular-row-meta { font-size: 11px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   KATEGORİ DRAWER
═══════════════════════════════════════════════════════════ */
.cat-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.cat-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cat-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: calc(100vw - 40px);
    height: 100%;
    background: var(--card-bg);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cat-drawer.open { transform: translateX(0); }
.cat-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: var(--nav-bg);
    color: #fff;
    flex-shrink: 0;
}
.cat-drawer-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text);
}
.cat-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: 4px;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
}
.cat-drawer-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cat-drawer-body { flex: 1; overflow-y: auto; padding: 8px 0; }
.cat-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    border-left: 3px solid transparent;
    transition: background .15s, border-color .15s;
    text-decoration: none;
}
.cat-drawer-link:hover {
    background: rgba(0,0,0,.04);
    border-left-color: var(--cat-color, var(--primary));
}
.cat-drawer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cat-drawer-name { flex: 1; }
.cat-drawer-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--border);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSİVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .featured-section { grid-template-columns: 1fr 300px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .other-news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
    .home-layout { grid-template-columns: 1fr 280px; }
    .popular-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .featured-section { grid-template-columns: 1fr; }
    .featured-sidebar { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .featured-large { height: 360px; }
    .news-detail-layout { grid-template-columns: 1fr; }
    .article-aside { position: static; }
    .home-layout { grid-template-columns: 1fr; }
    .home-sidebar { position: static; }
}

@media (max-width: 768px) {
    /* Canlı veri şeridi — mobilde sadece hava + şehir */
    #lbSep1, #lbSep3,
    #lbCurrency, #lbQuake { display: none !important; }
    .lb-loc { margin-left: auto; }
    .nav-mobile-toggle { display: flex; }
    .data-strip { gap: 12px; margin: 18px 0; }
    .popular-row { grid-template-columns: repeat(2, 1fr); }
    .cat-drawer-link:hover { background: rgba(0,0,0,.04); }
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--nav-bg);
        padding: 8px 0 12px;
        border-top: 1px solid #222;
    }
    .nav-list.open { display: flex; }
    .nav-list li a { padding: 10px 16px; }
    .nav-edition { display: none; }
    .nav-inner { flex-wrap: wrap; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .other-news-grid { grid-template-columns: repeat(2, 1fr); }
    .header-search { width: 100%; max-width: 200px; flex-shrink: 0; }
    .header-search input { font-size: 13px; }
    .featured-large { height: 280px; }
    .featured-large .featured-overlay h2 { font-size: 1.2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 20px; }
    .news-detail-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .article-title { font-size: 1.5rem; }
    .news-article { padding: 20px 16px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .featured-sidebar { grid-template-columns: 1fr; }
    .featured-large { height: 260px; }
    .data-strip { grid-template-columns: 1fr; gap: 10px; margin: 14px 0; }
    .news-grid { grid-template-columns: 1fr; }
    .other-news-grid { grid-template-columns: 1fr; }
    .search-form-lg-inner {
        flex-direction: column;
        gap: 10px;
        border: none;
        overflow: visible;
    }
    .search-form-lg input {
        width: 100%;
        border: 2px solid var(--primary);
        border-radius: var(--radius);
        font-size: 14px;
        padding: 12px 14px;
    }
    .search-form-lg button {
        width: 100%;
        border-radius: var(--radius);
        padding: 12px 14px;
        font-size: 14px;
    }
    .pb-emblem { height: 26px; padding: 0 8px; }
    .pb-letter { font-size: 15px; }
    .pb-text { font-size: 18px; }
    .pb-dot { font-size: 20px; }
    .logo-tagline { font-size: 9px; letter-spacing: 0.5px; margin-top: 1px; }

    .header-inner { gap: .5rem; flex-wrap: nowrap; }
    .logo-text { font-size: 1.5rem; }
    .header-search { width: 100%; max-width: 140px; flex-shrink: 1; }
    .header-search input { font-size: 12px; padding: 8px 10px; }
    .header-search button { width: 32px; height: 32px; }
    .news-list-item { grid-template-columns: 110px 1fr; }
    .news-list-img-link img { width: 110px; height: 82px; }
    .news-list-img-placeholder { width: 110px; height: 82px; }
    .top-bar-date { display: none; }
    .share-bar { gap: 6px; }
    .share-btn { padding: 5px 10px; font-size: 11px; }
    .breaking-ticker-wrap { padding: 0 10px; }

    /* 480px altı — yine sadece hava + şehir (zaten 768'de gizlendi, bu sadece emin olmak için) */
    .lb-section { padding: 0 8px; font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION blade bileşeni
═══════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 14px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-weight: 500;
    transition: background .15s, border-color .15s, color .15s;
    background: var(--card-bg);
}
.pagination span[aria-disabled] { color: #ccc; cursor: not-allowed; }

/* Sabit üst menü (sticky header) için anchor scroll düzeltmesi */
#liveBar, #weatherStrip, #dataStripTop, #dataStripMid, #mainContent {
    scroll-margin-top: 100px;
}
