/* ==========================================================================
   KUBBE HABER SİSTEMLERİ — ÖZEL TEMA STİL MİMARİSİ v4.0: Ulusal Gündem Gazete Pro (01-ulusal-gundem)
   Platform: Ulusal Gazete & Ana Akım | Başlık: Plus Jakarta Sans | Gövde: Inter
   Kusursuz Gündüz / Gece Modu + Sıfır Boşluklu Çoklu Sütun + Tam Mobil/Tablet Uyum
   ========================================================================== */
:root {
    --brand: #c8102e;
    --navy: #111827;
    --radius: 6px;
    --radius-sm: 6px;
}
html:not([data-theme="dark"]) {
    --bg-body: #f1f3f6;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
}
html[data-theme="dark"] {
    --bg-body: #0b1120;
    --bg-surface: #131c2e;
    --bg-subtle: #1a263d;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
h1, h2, h3, h4, .brand-mark, .brand-title, .manset-headline, .surmanset-title, .section-title, .news-card-title, .cat-nav-list li a {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (min-width: 900px) {
    .tp-center-capable .header-main-row { display: grid; grid-template-columns: 1fr auto 1fr; }
    .tp-center-capable .brand-logo { grid-column: 2; justify-content: center; text-align: center; }
    .tp-center-capable .header-ad-wrap { display: none; }
    .tp-center-capable .header-actions { grid-column: 3; justify-content: flex-end; }
}

/* Hızlı Konu / İlçe / Branş Şeridi */
.tp-subtopic-ribbon {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 5px 0;
    font-size: 12px;
}
.tp-subtopic-track { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tp-subtopic-lbl { color: var(--brand-text); font-weight: 800; margin-right: 4px; }
.tp-subtopic-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 11.5px;
}
.tp-subtopic-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 1. PORTAL SEARCH HEADER (Mynet / Kamu / Emlak / Eğitim) */
.tp-portal-topbar, .tp-fin-topbar, .tp-agency-worldbar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 12px;
    padding: 6px 0;
}
html[data-theme="dark"] .tp-portal-topbar,
html[data-theme="dark"] .tp-fin-topbar,
html[data-theme="dark"] .tp-agency-worldbar {
    background: #060a13;
}
.tp-portal-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.tp-portal-toplinks { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.tp-portal-toplinks a:hover { color: #fff; text-decoration: underline; }
.tp-inline-weather { margin-left: 10px; color: #fde047; font-weight: 700; }
.tp-portal-header { background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 12px 0; }
.tp-portal-mainrow { display: grid; grid-template-columns: auto minmax(0, 520px) auto; align-items: center; justify-content: space-between; gap: 16px; }
.tp-portal-searchbox { display: flex; width: 100%; border: 2px solid var(--brand); border-radius: var(--radius); overflow: hidden; background: var(--bg-surface); }
.tp-portal-searchbox input { flex: 1 1 auto; min-width: 0; border: none; padding: 9px 13px; background: transparent; color: var(--text-main); font-size: 13.5px; outline: none; }
.tp-portal-searchbox button { border: none; background: var(--brand); color: #fff; font-weight: 800; padding: 0 18px; cursor: pointer; }

/* 2. SERT KIRMIZI MANŞET HEADER (Sözcü / Sabah / SonDakika) */
.tp-tabloid-strip { background: #0a0a0a; color: #f8fafc; font-size: 11.5px; font-weight: 700; padding: 5px 0; }
.tp-tabloid-strip-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-tabloid-crimson-hdr { background: var(--brand); color: #fff; padding: 14px 0; }
.tp-tabloid-hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tp-tabloid-crimson-hdr .brand-mark { background: #fff; color: var(--brand); box-shadow: none; }
.tp-tabloid-crimson-hdr .brand-title { color: #fff; font-size: 28px; text-transform: uppercase; }
.tp-tabloid-crimson-hdr .brand-sub { color: rgba(255,255,255,0.85); }
.tp-live-clock-pill { background: #fde047; color: #0a0a0a; font-weight: 900; font-size: 12px; padding: 6px 10px; }
.tp-tabloid-btn { background: rgba(0,0,0,0.28); color: #fff; border-color: rgba(255,255,255,0.3); }
.tp-tabloid-btn:hover { background: rgba(0,0,0,0.45); color: #fff; border-color: #fff; }
.tp-tabloid-blacknav { background: #111111; border-bottom: 3px solid var(--brand); }

/* 3. BAĞIMSIZ MİNİMAL EDİTORYAL HEADER (BirGün / T24 / Kültür) */
.tp-indie-header { background: var(--bg-surface); border-bottom: 2px solid var(--border-strong); }
.tp-indie-toprow { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-muted); gap: 10px; }
.tp-indie-actions { display: flex; align-items: center; gap: 12px; }
.tp-indie-iconbtn { background: var(--bg-subtle); border: 1px solid var(--border-strong); color: var(--text-main); padding: 4px 10px; font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 3px; }
.tp-indie-iconbtn:hover { border-color: var(--brand); color: var(--brand-text); }
.tp-indie-brandrow { padding: 18px 0; display: flex; justify-content: center; text-align: center; }
.tp-indie-brandrow .brand-logo { justify-content: center; flex: 0 1 auto; }
.tp-indie-brandrow .brand-title { font-size: 32px; }
.tp-indie-nav { border-top: 1px solid var(--border-strong); background: var(--bg-surface); }
.tp-indie-nav .cat-nav-list li a { color: var(--text-main); padding: 10px 12px; }
.tp-indie-nav .cat-nav-list li a:hover, .tp-indie-nav .cat-nav-list li a.active { background: var(--brand-soft); color: var(--brand-text); border-bottom-color: var(--brand); }
.tp-indie-nav .cat-nav-special { background: transparent; }
.tp-indie-nav .kubbe-nav-arrow { background: var(--bg-subtle); color: var(--text-main); border-color: var(--border-strong); }

/* 4. BASILI GAZETE (BROADSHEET) & RESMİ İLAN (BİK) BAŞLIĞI */
.tp-paper-topstrip { border-bottom: 1px solid var(--border-strong); font-size: 12px; padding: 5px 0; color: var(--text-secondary); background: var(--bg-surface); }
.tp-paper-top-in { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tp-broadsheet-masthead { background: var(--bg-surface); padding: 16px 0; border-bottom: 4px double var(--border-strong); }
html:not([data-theme="dark"]) .tp-broadsheet-masthead { border-bottom-color: var(--text-main); }
.tp-broadsheet-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.tp-ear-box { border: 1px solid var(--border-strong); padding: 8px 11px; font-size: 11.5px; background: var(--bg-subtle); line-height: 1.35; }
.tp-ear-kicker { display: block; font-size: 10px; font-weight: 900; color: var(--brand-text); letter-spacing: .05em; margin-bottom: 2px; }
.tp-ear-right { text-align: right; border: none; background: transparent; padding: 0; }
.tp-broadsheet-center .brand-logo { justify-content: center; }
.tp-broadsheet-center .brand-title { font-size: 31px; }
.tp-broadsheet-nav { background: var(--navy); }

/* 5. SPOR STADYUM & CANLI SKOR HEADER */
.tp-stadium-scorebar { background: #040b07; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 7px 0; }
.tp-score-track { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tp-score-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 5px; padding: 5px 10px; font-size: 12px; }
.tp-score-chip.is-live { border-color: #22c55e; background: rgba(34,197,94,0.14); }
.tp-sc-status { font-size: 10px; font-weight: 900; padding: 2px 5px; border-radius: 3px; background: rgba(255,255,255,0.14); color: #fde047; }
.tp-score-chip.is-live .tp-sc-status { background: #16a34a; color: #fff; }
.tp-sc-res { font-weight: 900; color: #4ade80; font-size: 13px; }
.tp-stadium-header { background: #07130d; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tp-stadium-header .brand-title { color: #fff; font-size: 28px; letter-spacing: .01em; }
.tp-stadium-header .brand-sub { color: #86efac; }
.tp-stadium-pill { background: rgba(255,255,255,0.09); color: #fff; border-color: rgba(255,255,255,0.2); }
.tp-stadium-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* 6. FİNANS / AJANS / WEBTV / DERGİ / TEKNOLOJİ ÖZEL HEADERLAR */
.tp-fin-matrix-wrap { background: var(--navy); color: #fff; padding: 6px 0; border-bottom: 2px solid var(--brand); }
html[data-theme="dark"] .tp-fin-matrix-wrap { background: #080d18; }
.tp-fin-matrix-wrap .market-item { border-right-color: rgba(255,255,255,0.12); }
.tp-fin-matrix-wrap .market-label { color: #94a3b8; }
.tp-fin-matrix-wrap .market-val { color: #fff; font-size: 13.5px; }
.tp-fin-matrix-wrap .kubbe-mkt-arrow { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.22); }
.tp-world-clocks { display: flex; align-items: center; gap: 14px; font-size: 11.5px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.tp-world-clocks strong { color: #38bdf8; }
.tp-agency-header { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.tp-agency-desk-badges { display: flex; gap: 8px; }
.tp-agency-desk-badges a { font-size: 11.5px; font-weight: 800; padding: 5px 10px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--bg-subtle); }
.tp-agency-desk-badges a:hover { border-color: var(--brand); color: var(--brand-text); }

.tp-webtv-header { background: #070a12; color: #fff; border-bottom: 1px solid #1e293b; }
.tp-webtv-header .brand-title { color: #fff; }
.tp-webtv-header .brand-sub { color: #94a3b8; }
.tp-webtv-header .btn-icon-action { background: rgba(255,255,255,0.09); color: #fff; border-color: rgba(255,255,255,0.2); }
.tp-webtv-header .btn-icon-action:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.tp-webtv-live-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(225,29,72,0.18); border: 1px solid #e11d48; color: #fff; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }

.tp-mag-topbar { background: var(--bg-subtle); border-bottom: 1px solid var(--border); font-size: 12px; padding: 6px 0; color: var(--text-muted); }
.tp-mag-header { background: var(--bg-surface); padding: 18px 0; border-bottom: 1px solid var(--border); }
.tp-mag-hdr-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.tp-mag-logo-center .brand-logo { justify-content: center; }
.tp-mag-logo-center .brand-title { font-size: 30px; }
.tp-mag-pill { display: inline-block; padding: 6px 13px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg-subtle); color: var(--text-main); }
.tp-mag-pill:hover { border-color: var(--brand); color: var(--brand-text); }

.tp-tech-header { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); }
html[data-theme="dark"] .tp-tech-header { background: #070b14; }
.tp-tech-header .brand-title { color: #fff; }
.tp-tech-header .brand-sub { color: #94a3b8; }
.tp-tech-headchips { display: flex; gap: 8px; flex-wrap: nowrap; overflow: hidden; }
.tp-tech-headchips a { font-size: 12px; font-weight: 700; color: #cbd5e1; background: rgba(255,255,255,0.08); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.tp-tech-headchips a:hover { background: var(--brand); color: #fff; }
.tp-tech-act { background: rgba(255,255,255,0.09); color: #fff; border-color: rgba(255,255,255,0.18); }
.tp-tech-act:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   ANA SAYFA ÖZEL MİMARİ BLOKLARI VE SIFIR BOŞLUKLU SÜTUN DENGELEME
   ========================================================================== */
.tp-home-wrap { padding-top: 12px; }

/* Hikaye Balonları + Küçük Resimli (Thumbnail) Manşet */
.tp-story-bubbles-bar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 16px;
}
.tp-story-bubble {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 11px 5px 5px;
    min-width: 0;
}
.tp-story-ring {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid var(--brand);
    flex-shrink: 0;
    overflow: hidden;
}
.tp-story-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tp-story-txt { font-size: 11.5px; font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.tp-thumb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1.15fr); gap: 15px; margin-bottom: 18px; align-items: stretch; }
.tp-manset-thumbs-bar { display: flex; background: var(--navy); padding: 6px; gap: 5px; overflow-x: auto; scrollbar-width: none; }
html[data-theme="dark"] .tp-manset-thumbs-bar { background: #070b14; }
.tp-manset-thumbs-bar::-webkit-scrollbar { display: none; }
.tp-thumb-tab { position: relative; flex: 1 0 58px; height: 42px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: #000; }
.tp-thumb-tab img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; }
.tp-thumb-tab span { position: absolute; right: 3px; bottom: 2px; background: rgba(0,0,0,0.75); color: #fff; font-size: 10px; font-weight: 900; padding: 0 4px; border-radius: 2px; }
.tp-thumb-tab.is-active, .tp-thumb-tab:hover { border-color: var(--brand); }
.tp-thumb-tab.is-active img { opacity: 1; }
.tp-quad-sidegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; align-content: stretch; min-width: 0; }
.tp-quad-sidegrid .surmanset-card { width: 100%; height: 100%; min-height: 165px; aspect-ratio: auto; }

/* Süper Portal 3 Sütunlu Vitrin & Sekmeler */
.tp-superportal-hero { display: grid; grid-template-columns: 255px minmax(0, 1fr) 295px; gap: 14px; margin: 12px 0 18px; align-items: stretch; }
.tp-sp-leftcol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tp-sp-leftcol .surmanset-card { flex: 1; width: 100%; aspect-ratio: auto; min-height: 160px; }
.tp-sp-tabbox { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.tp-sp-tabbtns { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--border); background: var(--bg-subtle); }
.tp-sp-tabbtns button { border: none; background: transparent; padding: 11px 8px; font-weight: 800; font-size: 12.5px; cursor: pointer; color: var(--text-muted); }
.tp-sp-tabbtns button.is-active { background: var(--brand); color: #fff; }
.tp-sp-tabpanel { display: none; }
.tp-sp-tabpanel.is-active { display: block; }
.tp-sp-tabbox .tp-sp-tabpanel.is-active { padding: 8px 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tp-sp-minirow { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12.5px; font-weight: 700; line-height: 1.35; }
.tp-sp-minirow:last-child { border-bottom: none; }
.tp-sp-minirow:hover { color: var(--brand-text); }
.tp-sp-time { background: var(--brand-soft); color: var(--brand-text); font-weight: 900; font-size: 11px; padding: 2px 6px; border-radius: 3px; flex-shrink: 0; }
.tp-sp-rank { width: 22px; height: 22px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tp-interactive-catbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--border-strong); }
.tp-cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-cat-tabs button { border: 1px solid var(--border-strong); background: var(--bg-surface); color: var(--text-main); padding: 6px 13px; border-radius: var(--radius); font-size: 12.5px; font-weight: 800; cursor: pointer; }
.tp-cat-tabs button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tp-grid-4col { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Sert Manşet Gazetesi (İkili Sürmanşet + Tam Boy Manşet + Siyah Özel Dosya) */
.tp-twin-surmanset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 10px 0 14px; }
.tp-twin-card { aspect-ratio: 16 / 8.8; }
.tp-twin-h2 { font-size: clamp(17px, 1.9vw, 24px); text-transform: uppercase; }
.tp-fullwidth-impact-manset { margin-bottom: 18px; }
.tp-wide-stage { aspect-ratio: 21 / 9.2; }
.tp-impact-kicker { display: inline-block; background: #fde047; color: #0a0a0a; font-weight: 900; font-size: 11.5px; padding: 3px 9px; margin-bottom: 6px; }
.tp-impact-h2 { font-size: clamp(22px, 2.8vw, 36px); text-transform: uppercase; }
.tp-black-dossier-strip { background: #0f1115; color: #fff; padding: 18px; margin: 18px 0; border-top: 4px solid var(--brand); }
.tp-black-dossier-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.tp-black-dossier-hd span { background: var(--brand); color: #fff; font-weight: 900; font-size: 11px; padding: 3px 8px; }
.tp-black-dossier-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); padding: 13px; }
.tp-black-dossier-card small { color: #fde047; font-weight: 800; font-size: 10.5px; display: block; margin-bottom: 4px; }
.tp-black-dossier-card h3 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.tp-black-dossier-card p { margin: 0; font-size: 12.5px; color: #cbd5e1; }

/* Bağımsız Editoryal Bölünmüş Manşet (Fotoğraf Üzerinde Gölge Yok!) */
.tp-indie-hero-slider { background: var(--bg-surface); border: 1px solid var(--border-strong); margin: 12px 0 20px; }
.tp-indie-slides { position: relative; }
.tp-indie-split-slide { position: relative; display: none; opacity: 1; visibility: visible; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
.tp-indie-split-slide.is-active { display: grid; }
.tp-indie-textside { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.tp-indie-kicker { font-size: 11.5px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; color: var(--cat-clr, var(--brand-text)); }
html[data-theme="dark"] .tp-indie-kicker { color: color-mix(in srgb, var(--cat-clr, var(--brand)) 58%, #ffffff); }
.tp-indie-textside h2 { font-size: clamp(21px, 2.3vw, 30px); line-height: 1.24; margin: 0 0 12px; }
.tp-indie-textside h2 a:hover { color: var(--brand-text); }
.tp-indie-textside p { margin: 0 0 14px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }
.tp-indie-byline { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.tp-indie-photoside { display: block; background: #0f172a; min-height: 290px; }
.tp-indie-photoside img { width: 100%; height: 100%; object-fit: cover; }

/* 3 Panelli Finans / Kripto / Ajans Terminali (Sol + Orta + Sağ Milimetrik Hizalı — Sıfır Boşluk!) */
.tp-terminal-3col { display: grid; grid-template-columns: 265px minmax(0, 1fr) 305px; gap: 14px; margin: 12px 0 20px; align-items: stretch; }
.tp-term-wire, .tp-mag-topranked { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.tp-term-hd { background: var(--navy); color: #fff; padding: 10px 13px; font-size: 12px; font-weight: 900; letter-spacing: .04em; border-bottom: 2px solid var(--brand); flex-shrink: 0; }
html[data-theme="dark"] .tp-term-hd { background: #070b14; }
.tp-term-wirelist { padding: 6px 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tp-wire-item { display: flex; gap: 9px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); }
.tp-wire-item:last-child { border-bottom: none; }
.tp-wire-time { font-size: 11px; font-weight: 800; color: var(--brand-text); background: var(--brand-soft); padding: 2px 6px; border-radius: 3px; flex-shrink: 0; margin-top: 2px; }
.tp-wire-item small { display: block; font-size: 10px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
.tp-wire-item strong { font-size: 12.5px; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-wire-item:hover strong { color: var(--brand-text); }
.tp-term-right { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.tp-term-right > * { margin: 0 !important; flex: 1 1 auto; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.tp-term-right .niche-cards-strip { flex: 1; align-content: space-between; }
.tp-desks-3grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
.tp-desk-col { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; display: flex; flex-direction: column; justify-content: space-between; }

/* Teknoloji 5'li Bento Mozaik */
.tp-bento-mosaic { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 13px; margin: 12px 0 18px; align-items: stretch; }
.tp-bento-lead { width: 100%; height: 100%; min-height: 310px; aspect-ratio: auto; }
.tp-bento-lead-title { color: #fff; font-size: clamp(20px, 2.2vw, 27px); font-weight: 900; line-height: 1.22; margin: 0; }
.tp-bento-sub4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; min-width: 0; }

/* Dergi 3 Dikey Kapak + Büyük Serif Sıralama */
.tp-mag-3covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 12px 0 18px; }
.tp-mag-covercard { aspect-ratio: 4 / 4.5; }
.tp-mag-cover-title { color: #fff; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.28; margin: 0; }
.tp-mag-rankitem { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13.5px; flex: 1; }
.tp-mag-rankitem:last-child { border-bottom: none; }
.tp-big-serif-num { font-family: 'Plus Jakarta Sans', serif; font-size: 26px; font-weight: 900; color: var(--brand-text); opacity: 0.9; line-height: 1; flex-shrink: 0; }

/* Klasik Basılı Gazete 3 Sütunlu Birinci Sayfa */
.tp-print-authors-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 12px 0; border-bottom: 2px solid var(--border-strong); margin-bottom: 16px; }
html:not([data-theme="dark"]) .tp-print-authors-top { border-bottom-color: var(--text-main); }
.tp-print-author { display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--border-strong); padding-right: 10px; min-width: 0; }
.tp-print-author:last-child { border-right: none; }
.tp-print-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; filter: contrast(1.05); flex-shrink: 0; }
.tp-pa-name { display: block; font-size: 12px; font-weight: 900; color: var(--brand-text); text-transform: uppercase; }
.tp-pa-title { font-size: 13px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tp-broadsheet-frontpage { display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; gap: 20px; margin-bottom: 26px; align-items: stretch; }
.tp-bs-col { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.tp-bs-left { border-right: 1px solid var(--border-strong); padding-right: 18px; }
.tp-bs-right { border-left: 1px solid var(--border-strong); padding-left: 18px; }
.tp-bs-sec { font-size: 13px; font-weight: 900; letter-spacing: .06em; border-bottom: 2px solid var(--border-strong); padding-bottom: 5px; margin: 0 0 12px; }
html:not([data-theme="dark"]) .tp-bs-sec { border-bottom-color: var(--text-main); }
.tp-bs-story { padding-bottom: 13px; margin-bottom: 13px; border-bottom: 1px solid var(--border-strong); }
.tp-bs-story:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tp-bs-kicker { font-size: 10.5px; font-weight: 900; color: var(--brand-text); text-transform: uppercase; }
.tp-bs-story h3 { margin: 3px 0 6px; font-size: 16px; line-height: 1.3; }
.tp-bs-story h3 a:hover { color: var(--brand-text); }
.tp-bs-story p { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.tp-bs-sub2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }

/* Web TV Sinema Sahnesi & Oynatma Listesi */
.tp-webtv-stage { display: grid; grid-template-columns: minmax(0, 2fr) 340px; gap: 14px; margin: 12px 0 18px; background: #070a12; border: 1px solid #1e293b; border-radius: var(--radius); overflow: hidden; align-items: stretch; }
.tp-webtv-screen { aspect-ratio: 16 / 9.2; }
.tp-big-playbtn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -65%); width: 62px; height: 62px; border-radius: 50%; background: rgba(225,29,72,0.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 25px rgba(225,29,72,0.5); pointer-events: none; }
.tp-webtv-playlist { display: flex; flex-direction: column; max-height: 440px; overflow-y: auto; border-left: 1px solid #1e293b; }
.tp-playlist-row { display: flex; align-items: center; gap: 9px; padding: 8px 11px; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.08); color: #cbd5e1; text-align: left; cursor: pointer; width: 100%; }
.tp-playlist-row img { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.tp-pl-idx { font-weight: 900; font-size: 12px; color: #94a3b8; width: 18px; flex-shrink: 0; }
.tp-pl-txt { font-size: 12px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-playlist-row.is-active, .tp-playlist-row:hover { background: rgba(225,29,72,0.18); color: #fff; }
.tp-playlist-row.is-active .tp-pl-idx { color: #fb7185; }

/* Son Dakika Kırmızı Dikey Zaman Tüneli */
.tp-flash-hero { display: grid; grid-template-columns: 335px minmax(0, 1fr); gap: 16px; margin: 12px 0 18px; align-items: stretch; }
.tp-red-timeline { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.tp-timeline-rail { padding: 12px 14px 12px 24px; position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tp-timeline-rail::before { content: ""; position: absolute; left: 17px; top: 16px; bottom: 16px; width: 2px; background: rgba(220, 38, 38, 0.35); }
.tp-tl-node { display: block; position: relative; padding: 0 0 10px 14px; border-bottom: 1px dashed var(--border); margin-bottom: 8px; }
.tp-tl-node:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tp-tl-dot { position: absolute; left: -11px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.2); }
.tp-tl-node time { font-size: 11px; font-weight: 900; color: var(--down); display: block; }
.tp-tl-node strong { font-size: 13px; line-height: 1.32; display: block; }
.tp-tl-node:hover strong { color: var(--brand-text); }

/* Masaüstü Çok Sütunlu Ana Manşet Birebir Boy Eşitleme (Sıfır Boşluk!) */
.tp-arena-sidepanel { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.tp-arena-sidepanel > * { margin: 0 !important; flex: 1 1 auto; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.tp-arena-sidepanel .tp-spec-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1; }

@media (min-width: 1081px) {
    .tp-terminal-3col > .manset-box,
    .tp-flash-hero > .manset-box,
    .tp-superportal-hero > .manset-box,
    .tp-thumb-hero-grid > .manset-box {
        height: 100%;
    }
    .tp-terminal-3col > .manset-box > .manset-slides-stage,
    .tp-flash-hero > .manset-box > .manset-slides-stage,
    .tp-superportal-hero > .manset-box > .manset-slides-stage,
    .tp-thumb-hero-grid > .manset-box > .manset-slides-stage {
        flex: 1 1 auto;
        min-height: 360px;
        aspect-ratio: auto;
    }
    .tp-bs-center > .manset-box { flex: 1 1 auto; }
    .tp-bs-center > .manset-box > .manset-slides-stage { flex: 1 1 auto; min-height: 300px; aspect-ratio: auto; }
    .tp-webtv-screen { height: 100%; min-height: 410px; aspect-ratio: auto; }
}

/* Sektörel Araçlar: Kent Rehberi, Döviz/VKİ/Kredi Hesaplayıcı, BİK/Kripto/Kamu Tabloları */
.tp-city-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 10px 0 16px; }
.tp-city-card { background: var(--bg-surface); border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius); padding: 13px; }
.tp-city-card-hd { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 900; color: var(--brand-text); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.tp-city-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: 12.5px; }
.tp-city-row:last-child { border-bottom: none; }
.tp-city-row small { display: block; color: var(--text-muted); font-size: 11px; }
.tp-city-tag { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.tp-prayer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; text-align: center; }
.tp-prayer-grid > div { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 6px; padding: 8px 4px; }
.tp-prayer-grid > div.is-next { background: var(--brand); color: #fff; border-color: var(--brand); }
.tp-prayer-grid span { display: block; font-size: 11px; opacity: 0.85; }
.tp-prayer-grid strong { font-size: 14px; font-weight: 900; }

.tp-fx-calc-card, .tp-bmi-card, .tp-loan-card { background: var(--bg-surface); border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius); padding: 14px; }
.tp-fx-hd { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 11px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.tp-fx-form { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 700; }
.tp-fx-output, .tp-bmi-res { background: var(--brand-soft); border: 1px solid var(--brand); border-radius: var(--radius); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; color: var(--brand-text); font-size: 15px; margin-top: 4px; }
.tp-fx-mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tp-fx-metric { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 4px; padding: 7px 9px; }
.tp-fx-metric span { display: block; font-size: 10.5px; color: var(--text-muted); }
.tp-fx-metric strong { font-size: 13.5px; }
.tp-fx-metric small { display: block; font-size: 10.5px; color: var(--up); font-weight: 700; }

.tp-bik-board, .tp-spec-showcase { background: var(--bg-surface); border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 15px; margin: 14px 0 18px; }
.tp-bik-head, .tp-spec-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.tp-bik-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-bik-filters .form-control { width: auto; min-width: 170px; padding: 7px 11px; font-size: 12.5px; }
.tp-table-scroll { width: 100%; overflow-x: auto; }
.tp-data-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 540px; }
.tp-data-table th, .tp-data-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.tp-data-table th { background: var(--bg-subtle); font-size: 11.5px; text-transform: uppercase; color: var(--text-muted); font-weight: 800; }
.tp-tbl-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--bg-subtle); border: 1px solid var(--border-strong); font-size: 11.5px; font-weight: 800; }
.tp-tbl-badge.is-up { color: var(--up); background: rgba(21,128,61,0.12); border-color: rgba(21,128,61,0.35); }
.tp-tbl-badge.is-dn { color: var(--down); background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.35); }
.tp-tbl-btn { font-weight: 800; color: var(--brand-text); font-size: 12px; white-space: nowrap; }

.tp-spec-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tp-spec-card { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.tp-spec-tag { align-self: flex-start; font-size: 10.5px; font-weight: 900; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 3px; }
.tp-spec-name { margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.tp-spec-val { font-size: 13px; font-weight: 800; color: var(--brand-text); }

.tp-health-tool-grid, .tp-re-dashboard { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 15px; margin: 14px 0 18px; align-items: stretch; }
.tp-bmi-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.tp-doctor-tips-grid, .tp-re-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.tp-doc-tip, .tp-re-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.tp-doc-badge { display: inline-block; font-size: 10.5px; font-weight: 800; color: var(--brand-text); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; margin-bottom: 5px; }
.tp-doc-tip strong, .tp-re-box strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.tp-doc-tip p { margin: 0; font-size: 12.5px; color: var(--text-secondary); }
.tp-re-box span { font-size: 11.5px; color: var(--text-muted); font-weight: 700; display: block; }
.tp-re-box small { color: var(--up); font-weight: 800; font-size: 11.5px; }
.tp-loan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; font-size: 12px; font-weight: 700; }
.tp-loan-grid .tp-fx-output { grid-column: 1 / -1; }

.tp-light-standings { background: var(--navy); color: #fff; height: 100%; }
html[data-theme="dark"] .tp-light-standings { background: #080d18; }

/* Kategori Sayfası Başlığı ve Yatay Kart Dizilimi */
.tp-cat-banner {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-left: 5px solid var(--cat-theme-clr, var(--brand));
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tp-cat-kicker { font-size: 10.5px; font-weight: 900; color: var(--cat-theme-clr, var(--brand-text)); letter-spacing: .06em; display: block; }
html[data-theme="dark"] .tp-cat-kicker { color: color-mix(in srgb, var(--cat-theme-clr, var(--brand)) 58%, #ffffff); }
.tp-cat-banner h1 { margin: 2px 0 4px; font-size: clamp(20px, 2.4vw, 26px); }
.tp-cat-banner p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.tp-cat-count { background: var(--bg-subtle); border: 1px solid var(--border-strong); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; }

.tp-cat-horizontal-list { display: flex; flex-direction: column; gap: 13px; }
.tp-cat-horizontal-list .tp-cat-item { flex-direction: row; align-items: stretch; }
.tp-cat-horizontal-list .tp-cat-item .news-card-thumb { width: 250px; flex-shrink: 0; aspect-ratio: 16 / 10; }

/* %100 MASAÜSTÜ, LAPTOP, TABLET (2 SÜTUN) VE MOBİL (1 SÜTUN) UYUM */
@media (max-width: 1080px) {
    .tp-hide-md { display: none !important; }
    .tp-portal-mainrow { grid-template-columns: 1fr auto; }
    .tp-portal-searchbox { grid-column: 1 / -1; order: 3; }
    .tp-thumb-hero-grid,
    .tp-superportal-hero,
    .tp-terminal-3col,
    .tp-bento-mosaic,
    .tp-broadsheet-frontpage,
    .tp-webtv-stage,
    .tp-flash-hero,
    .tp-health-tool-grid,
    .tp-re-dashboard { grid-template-columns: minmax(0, 1fr); }
    .tp-bs-left, .tp-bs-right { border: none; padding: 0; }
    .tp-webtv-playlist { border-left: none; border-top: 1px solid #1e293b; max-height: 260px; }
    .tp-grid-4col, .tp-spec-grid4, .tp-city-dashboard, .tp-desks-3grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-story-bubbles-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tp-print-authors-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-print-author { border-right: none; }
}

@media (max-width: 768px) {
    .tp-hide-sm, .tp-portal-toplinks { display: none !important; }
    .tp-broadsheet-grid, .tp-mag-hdr-grid { grid-template-columns: minmax(0, 1fr) auto; }
    .tp-broadsheet-center .brand-logo, .tp-mag-logo-center .brand-logo, .tp-indie-brandrow .brand-logo { justify-content: flex-start; }
    .tp-broadsheet-center .brand-title, .tp-mag-logo-center .brand-title, .tp-indie-brandrow .brand-title, .tp-tabloid-crimson-hdr .brand-title, .tp-stadium-header .brand-title { font-size: 20px; }
    .tp-indie-toprow { flex-wrap: wrap; }
    .tp-story-bubbles-bar { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; }
    .tp-story-bubbles-bar::-webkit-scrollbar { display: none; }
    .tp-story-bubble { flex: 0 0 210px; }
    .tp-mag-3covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-indie-split-slide.is-active { display: flex; flex-direction: column-reverse; }
    .tp-indie-photoside { min-height: 0; aspect-ratio: 16 / 9; }
    .tp-indie-textside { padding: 15px; }
    .tp-mag-covercard, .tp-bento-lead, .tp-twin-card, .tp-wide-stage { aspect-ratio: auto; min-height: 0; }
    .tp-webtv-screen { aspect-ratio: auto; min-height: 0; }
    .tp-big-playbtn { top: 28%; transform: translate(-50%, -50%); width: 48px; height: 48px; font-size: 18px; }
}

@media (max-width: 580px) {
    .tp-twin-surmanset,
    .tp-mag-3covers,
    .tp-grid-4col,
    .tp-spec-grid4,
    .tp-city-dashboard,
    .tp-desks-3grid,
    .tp-doctor-tips-grid,
    .tp-re-metrics,
    .tp-bs-sub2,
    .tp-print-authors-top,
    .tp-quad-sidegrid,
    .tp-bento-sub4,
    .tp-arena-sidepanel .tp-spec-grid4 { grid-template-columns: minmax(0, 1fr); }
    .tp-quad-sidegrid .surmanset-card { height: auto; min-height: 0; }
    .tp-cat-horizontal-list .tp-cat-item { flex-direction: column; }
    .tp-cat-horizontal-list .tp-cat-item .news-card-thumb { width: 100%; aspect-ratio: 16 / 9; }
    .tp-loan-grid { grid-template-columns: minmax(0, 1fr); }
}