/* ============================================================
   TEK CSS DOSYASI - TÜM SİTELER İÇİN
   :root değişkeni PHP tarafından her sayfa yüklemesinde
   veritabanındaki tema_rengi ile inline <style> olarak override
   edilir (bkz. templates/_head.php). Böylece 400+ site tek CSS
   dosyasını paylaşır, tarayıcı önbelleğinden faydalanır.
   ============================================================ */

:root {
    --ana-renk: #1a73e8;      /* index.php içinde site rengine göre ezilir */
    --ana-renk-koyu: #14509e;
    --arka-plan: #f2f4f7;
    --kart-arka: #ffffff;
    --metin: #111827;
    --metin-soluk: #6b7280;
    --border: #e5e7eb;
    --radius: 12px;
    --golge-kart: 0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
    --golge-hover: 0 10px 24px rgba(16,24,40,.12);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--arka-plan);
    color: var(--metin);
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; width: 100%; }
@media (max-width: 600px) {
    .container { padding: 0 12px; }
}

/* ---- Navigasyon linkleri ---- */
.nav-link {
    display: block;
    padding: 13px 14px;
    color: var(--metin);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.nav-link:hover { color: var(--ana-renk); border-bottom-color: var(--ana-renk); }
.nav-rehber { color: var(--ana-renk) !important; font-weight: 600 !important; }
.nav-rehber:hover { border-bottom-color: var(--ana-renk); }

/* ---- Header ---- */
.site-header {
    background: var(--ana-renk);
    color: #fff;
    padding: 14px 0;
}
.site-header .container { display: flex; align-items: center; gap: 12px; }
.site-header img.logo { height: 40px; }
.site-header h1 { font-size: 20px; margin: 0; }

/* ---- Kart / Haber Kutusu ---- */
.haber-kart {
    background: var(--kart-arka);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .15s;
}
.haber-kart { box-shadow: var(--golge-kart); }
.haber-kart:hover { box-shadow: var(--golge-hover); transform: translateY(-3px); }
.haber-kart img { transition: transform .4s; }
.haber-kart:hover img { transform: scale(1.04); }
.haber-kart img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.haber-kart .icerik-alani { padding: 12px; }
.haber-kart .baslik { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.haber-kart .ozet { font-size: 13px; color: var(--metin-soluk); }
.haber-kart .tarih { font-size: 11px; color: var(--metin-soluk); margin-top: 8px; display: block; }

/* ---- Grid Yardımcıları (Şablonlar bunları kullanır) ---- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Profesyonel Haber Sitesi Layout (Şablon 1) ---- */
.hero-manset { position: relative; border-radius: var(--radius); overflow: hidden; }
.hero-link { display: block; }
.hero-manset img { width: 100%; height: 450px; object-fit: cover; }
@media (max-width: 768px) {
    .hero-manset img { height: 300px; }
}
.hero-overlay {
    position: absolute; left: 0; bottom: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.9));
    padding: 32px 20px 20px;
    color: #fff;
}
.hero-overlay h1 { margin: 8px 0; font-size: 32px; line-height: 1.2; }
@media (max-width: 768px) {
    .hero-overlay h1 { font-size: 22px; }
    .hero-overlay { padding: 20px 16px 60px; }
}
.hero-ozet { font-size: 16px; opacity: 0.9; margin: 0; }
@media (max-width: 768px) {
    .hero-ozet { font-size: 14px; }
}

.manset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .manset-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .manset-grid { grid-template-columns: 1fr; } }

.manset-kart { background: var(--kart-arka); border-radius: var(--radius); overflow: hidden; }
.manset-kart img { width: 100%; height: 180px; object-fit: cover; }
@media (max-width: 600px) {
    .manset-kart img { height: 200px; }
}
.manset-icerik { padding: 12px; }
.manset-icerik h3 { margin: 8px 0 0; font-size: 15px; font-weight: 600; }

.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 900px) { .main-layout { grid-template-columns: 1fr; } }

.section-title {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 10px; margin-bottom: 18px;
    border-bottom: 2px solid var(--border);
}
.section-title h2 {
    margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
    color: var(--metin); position: relative; padding-bottom: 10px; margin-bottom: -12px;
    border-bottom: 3px solid var(--ana-renk);
}

.haber-listesi { display: flex; flex-direction: column; gap: 16px; }
.haber-satir { display: flex; gap: 16px; padding: 16px; background: var(--kart-arka); border-radius: var(--radius); border: 1px solid var(--border); width: 100%; box-shadow: var(--golge-kart); transition: box-shadow .2s, transform .2s; }
.haber-satir:hover { box-shadow: var(--golge-hover); transform: translateY(-2px); }
.haber-satir img { width: 200px; height: 140px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
@media (max-width: 600px) { 
    .haber-satir { flex-direction: column; gap: 12px; padding: 12px; } 
    .haber-satir img { width: 100%; height: 180px; } 
}
.haber-satir-icerik { flex: 1; min-width: 0; }
.haber-satir-icerik h3 { margin: 8px 0; font-size: 18px; font-weight: 600; word-wrap: break-word; }
@media (max-width: 600px) {
    .haber-satir-icerik h3 { font-size: 16px; }
}
.haber-satir-icerik .ozet { font-size: 14px; color: var(--metin-soluk); margin: 8px 0; word-wrap: break-word; }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-bolum { background: var(--kart-arka); padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--golge-kart); }
.sidebar-bolum h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--metin); border-bottom: 2px solid var(--ana-renk); padding-bottom: 8px; }

.yan-haber { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.yan-haber:last-child { border-bottom: none; }
.yan-haber img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.yan-haber h4 { margin: 0; font-size: 14px; font-weight: 600; }

.son-dakika { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.son-dakika:last-child { border-bottom: none; }
.sd-saat { font-size: 12px; color: var(--ana-renk); font-weight: 600; min-width: 50px; }
.sd-baslik { font-size: 14px; flex: 1; }

/* ---- Manşet (Büyük vitrin haber) ---- */
.manset-buyuk { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; }
.manset-buyuk img { width: 100%; height: 420px; object-fit: cover; }
.manset-buyuk .ustune-yazi {
    position: absolute; left: 0; bottom: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    padding: 24px 16px 16px;
}
.manset-buyuk .ustune-yazi h2 { margin: 0; font-size: 26px; }

/* ---- Liste satırı stili (Sablon 2 tarzı siteler) ---- */
.haber-satir-eski { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.haber-satir-eski img { width: 110px; height: 78px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { margin-top: 48px; background: #111827; color: #9ca3af; font-size: 13px; }
.site-footer .footer-ust { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px 0 28px; }
.site-footer .footer-ust h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer .footer-ust ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-ust li { margin-bottom: 8px; }
.site-footer .footer-alt { border-top: 1px solid #1f2937; padding: 16px 0; text-align: center; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }
@media (max-width: 768px) { .site-footer .footer-ust { grid-template-columns: 1fr; gap: 20px; } }
.site-footer .footer-baglantilar { border-top: 1px solid #1f2937; padding: 14px 0; text-align: center; font-size: 12px; line-height: 2; color: #6b7280; }
.site-footer .footer-baglantilar a { color: #9ca3af; }
.site-footer .footer-baglantilar .fb-baslik { color: #d1d5db; font-weight: 600; margin-right: 4px; }
.site-footer .footer-baglantilar .fb-kod { margin-top: 6px; }

/* ---- Kategori rozeti ---- */
.rozet {
    display: inline-block; background: var(--ana-renk); color: #fff;
    font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 6px;
    letter-spacing: .02em;
}

/* ============================================================
   ORTAK BİLEŞENLER (üst bölüm, son dakika, slider, kartlar)
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
.sayfa-govde { padding-top: 20px; padding-bottom: 8px; }

/* Görsel kutusu: oran sabit → sayfa kayması (CLS) yok */
.gk { position: relative; display: block; overflow: hidden; background: #e5e7eb; aspect-ratio: 16 / 9; }
.gk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .gk img { transform: scale(1.04); }

/* Satır kırpma */
.kirp-2, .kirp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.kirp-2 { -webkit-line-clamp: 2; } .kirp-3 { -webkit-line-clamp: 3; }

/* Kategori etiketi */
.kat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ana-renk); }
.kat-dolu { background: var(--ana-renk); color: #fff; padding: 3px 8px; border-radius: 4px; align-self: flex-start; }
.zaman { font-size: 12px; color: var(--metin-soluk); }

/* Nabız (canlı) noktası */
.nabiz { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 7px; animation: nabiz 1.6s infinite; }
@keyframes nabiz { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .nabiz { animation: none; } .gk img, .ticker-oge { transition: none; } }

/* ── Son dakika şeridi (ticker) ── */
.sd-etiket { flex-shrink: 0; display: inline-flex; align-items: center; background: #dc2626; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 0 12px; height: 28px; border-radius: 4px; }
.ticker { position: relative; flex: 1; min-width: 0; height: 28px; overflow: hidden; }
.ticker-oge { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(100%); transition: opacity .35s, transform .35s; white-space: nowrap; font-size: 14px; font-weight: 500; pointer-events: none; }
.ticker-oge.aktif { opacity: 1; transform: none; pointer-events: auto; }
.ticker-oge time { flex-shrink: 0; font-weight: 700; font-size: 12px; opacity: .85; }
.ticker-oge span { overflow: hidden; text-overflow: ellipsis; }
.ticker-oklar { display: flex; gap: 4px; flex-shrink: 0; }
.ticker-oklar button { width: 28px; height: 28px; border: 1px solid rgba(0,0,0,.12); background: #fff; border-radius: 4px; cursor: pointer; font-size: 16px; line-height: 1; color: #111827; }

/* ── Kaydırılabilir menü (mobilde hamburger yerine) ── */
.nav-kaydir { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav-kaydir::-webkit-scrollbar { display: none; }
.nav-kaydir li { flex-shrink: 0; }
.nav-kaydir a { display: block; padding: 13px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--metin); border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.nav-kaydir a:hover, .nav-kaydir a.aktif { color: var(--ana-renk); border-bottom-color: var(--ana-renk); }

/* ── STANDART üst bölüm ── */
.sd-serit { background: var(--ana-renk-koyu); color: #fff; padding: 7px 0; }
.sd-serit-ic { display: flex; align-items: center; gap: 12px; }
.sd-serit .sd-etiket { background: #fff; color: var(--ana-renk-koyu); }
.sd-serit .sd-etiket .nabiz { background: #dc2626; animation: none; }
.sd-serit .ticker-oge { color: #fff; }
.st-header { background: var(--ana-renk); color: #fff; }
.st-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.st-logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.st-logo img { height: 36px; width: auto; }
.st-logo span { font-size: 20px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-tarih { font-size: 13px; opacity: .85; white-space: nowrap; }
.st-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.nav-rehber { color: var(--ana-renk) !important; }
@media (max-width: 640px) {
    .st-header-ic { min-height: 54px; }
    .st-logo img { height: 30px; }
    .st-logo span { font-size: 17px; }
    .st-tarih { display: none; }
    .nav-kaydir a { padding: 12px; font-size: 13.5px; }
    .ticker-oge { font-size: 13px; }
    .sd-etiket { padding: 0 8px; font-size: 10px; }
}

/* ── PREMIUM üst bölüm (şablon 2) ── */
.tema-premium { --arka-plan: #f4f5f7; background: #f4f5f7; }
.p-ustbar { background: #0b1220; color: #cbd5e1; font-size: 12px; }
.p-ustbar-ic { display: flex; align-items: center; gap: 18px; height: 34px; }
.p-ustbar-guncel { color: #94a3b8; }
.p-ustbar-link { margin-left: auto; color: #fff; font-weight: 600; }
.p-header { background: #fff; border-bottom: 1px solid var(--border); }
.p-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.p-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.p-logo img { height: 44px; width: auto; }
.p-logo-ad { font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--ana-renk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-slogan { margin: 0; font-size: 13px; color: var(--metin-soluk); max-width: 420px; text-align: right; }
.p-nav { background: var(--ana-renk); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.p-nav .nav-kaydir a { color: #fff; opacity: .92; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.p-nav .nav-kaydir a:hover, .p-nav .nav-kaydir a.aktif { opacity: 1; color: #fff; border-bottom-color: #fff; background: rgba(255,255,255,.1); }
.p-sondakika { background: #fff; border-bottom: 1px solid var(--border); padding: 9px 0; }
.p-sondakika-ic { display: flex; align-items: center; gap: 14px; }
.p-sondakika .ticker-oge { color: var(--metin); }
.p-sondakika .ticker-oge time { color: #dc2626; }
@media (max-width: 760px) {
    .p-ustbar-guncel, .p-slogan { display: none; }
    .p-header-ic { min-height: 60px; }
    .p-logo img { height: 34px; }
    .p-logo-ad { font-size: 22px; }
    .p-nav .nav-kaydir a { padding: 12px 11px; font-size: 12.5px; }
    .p-sondakika-ic { gap: 8px; }
    .ticker-oklar { display: none; }
}

/* ── Manşet slider (CSS scroll-snap: mobilde parmakla doğal kaydırma) ── */
.sl { position: relative; background: #0b1220; border-radius: var(--radius); overflow: hidden; }
.sl-iz { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sl-iz::-webkit-scrollbar { display: none; }
.sl-oge { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: block; color: #fff; aspect-ratio: 16 / 9; background: #1f2937; }
.sl-oge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-yazi { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.55) 35%, rgba(0,0,0,.92)); }
.sl-yazi h2 { margin: 8px 0 0; font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.sl-ok { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111827; font-size: 22px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; }
.sl:hover .sl-ok { opacity: 1; }
.sl-geri { left: 14px; } .sl-ileri { right: 14px; }
.sl-sayfa { display: flex; overflow-x: auto; scrollbar-width: none; background: #0b1220; }
.sl-sayfa::-webkit-scrollbar { display: none; }
.sl-sayfa a { flex: 1 0 auto; min-width: 40px; text-align: center; padding: 10px 6px; font-size: 14px; font-weight: 800; color: #94a3b8; border-top: 3px solid transparent; transition: background .15s, color .15s; }
.sl-sayfa a:hover { color: #fff; }
.sl-sayfa a.aktif { color: #fff; background: var(--ana-renk); border-top-color: #fff; }
@media (max-width: 760px) {
    .sl { border-radius: 0; margin-left: -16px; margin-right: -16px; }
    .sl-oge { aspect-ratio: 4 / 3; }
    .sl-yazi { padding: 50px 14px 14px; }
    .sl-yazi h2 { font-size: 20px; }
    .sl-ok { display: none; }
    .sl-sayfa a { min-width: 36px; padding: 9px 4px; font-size: 13px; }
}
@media (max-width: 600px) {
    .sl { margin-left: -12px; margin-right: -12px; }
}

/* ── Bölüm başlığı ── */
.bolum-baslik { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; border-bottom: 2px solid var(--border); }
.bolum-baslik h2 { margin: 0 0 -2px; padding-bottom: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; border-bottom: 3px solid var(--ana-renk); }
.bolum-baslik a { font-size: 13px; font-weight: 600; color: var(--ana-renk); }

/* ── Kart ── */
.kart { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--golge-kart); transition: box-shadow .2s, transform .2s; }
.kart:hover { box-shadow: var(--golge-hover); transform: translateY(-2px); }
.kart-ic { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kart h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.35; }

/* ── Yatay liste satırı (mobilde de yan yana, kompakt) ── */
.satir { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.satir:last-child { border-bottom: 0; }
.satir .gk { flex: 0 0 34%; max-width: 230px; border-radius: 8px; }
.satir-ic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.satir h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.satir p { margin: 0; font-size: 14px; color: var(--metin-soluk); }
@media (max-width: 640px) {
    .satir { gap: 12px; padding: 11px 0; }
    .satir .gk { flex-basis: 38%; aspect-ratio: 4 / 3; }
    .satir h3 { font-size: 15px; }
    .satir p { display: none; }
}

/* ── Numaralı liste (çok okunanlar) ── */
.no-liste { list-style: none; margin: 0; padding: 0; counter-reset: no; }
.no-liste li { counter-increment: no; border-bottom: 1px solid var(--border); }
.no-liste li:last-child { border-bottom: 0; }
.no-liste a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.no-liste a::before { content: counter(no); flex-shrink: 0; width: 30px; font-size: 26px; font-weight: 900; line-height: 1; color: var(--ana-renk); }

/* ── Zaman akışı (son dakika listesi) ── */
.akis { list-style: none; margin: 0; padding: 0 0 0 4px; }
.akis li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--border); }
.akis li:last-child { padding-bottom: 0; }
.akis li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 3px #fee2e2; }
.akis time { display: block; font-size: 12px; font-weight: 800; color: #dc2626; margin-bottom: 2px; }
.akis a { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.akis a:hover { color: var(--ana-renk); }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--golge-kart); padding: 16px; }

/* ============================================================
   ŞABLON ÜST BÖLÜMLERİ: gazete (3) · koyu (4) · vitrin (5) · rehber (11-12)
   ============================================================ */
:root { --serif: Georgia, "Times New Roman", "Noto Serif", serif; }

/* ── GAZETE (editoryal) ── */
.tema-gazete { --arka-plan: #faf8f3; background: #faf8f3; }
.gz-header { background: #faf8f3; text-align: center; }
.gz-ust { display: flex; justify-content: space-between; font-size: 12px; color: var(--metin-soluk); padding: 10px 0 0; text-transform: uppercase; letter-spacing: .05em; }
.gz-ust a { color: var(--ana-renk); font-weight: 700; }
.gz-logo-alan { padding: 14px 0 6px; }
.gz-logo { display: inline-flex; align-items: center; gap: 14px; }
.gz-logo img { height: 52px; width: auto; }
.gz-logo span { font-family: var(--serif); font-size: 52px; font-weight: 700; letter-spacing: -.02em; line-height: 1; color: #111; }
.gz-slogan { margin: 6px 0 14px; font-family: var(--serif); font-style: italic; color: #57534e; font-size: 15px; }
.gz-nav { background: #faf8f3; border-top: 3px double #111; border-bottom: 1px solid #111; position: sticky; top: 0; z-index: 50; }
.gz-nav .nav-kaydir { justify-content: center; }
.gz-nav .nav-kaydir a { font-family: var(--serif); font-weight: 700; font-size: 15px; color: #111; padding: 11px 14px; border-bottom: 0; }
.gz-nav .nav-kaydir a:hover, .gz-nav .nav-kaydir a.aktif { color: var(--ana-renk); }
.gz-sondakika { border-bottom: 1px solid #d6d3cb; padding: 7px 0; background: #fff; }
.gz-sondakika-ic { display: flex; align-items: center; gap: 12px; }
.gz-sd-etiket { flex-shrink: 0; font-family: var(--serif); font-weight: 700; font-style: italic; color: #b91c1c; font-size: 15px; padding-right: 12px; border-right: 1px solid #d6d3cb; }
.gz-sondakika .ticker-oge { font-family: var(--serif); font-size: 15px; color: #1c1917; }
.gz-sondakika .ticker-oge time { color: #b91c1c; font-family: var(--font); }
@media (max-width: 760px) {
    .gz-logo span { font-size: 34px; }
    .gz-logo img { height: 38px; }
    .gz-slogan { display: none; }
    .gz-nav .nav-kaydir { justify-content: flex-start; }
    .gz-nav .nav-kaydir a { font-size: 14px; padding: 10px 11px; }
}

/* ── KOYU VİTRİN ── */
.ky-header { background: #07080c; color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1c1f2a; }
.ky-header-ic { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.ky-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ky-logo img { height: 36px; width: auto; }
.ky-logo span { font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
.ky-logo span::after { content: "."; color: var(--ana-renk); }
.ky-nav { flex: 1; min-width: 0; }
.ky-nav .nav-kaydir a { color: #cbd5e1; font-size: 14px; padding: 21px 12px 18px; }
.ky-nav .nav-kaydir a:hover, .ky-nav .nav-kaydir a.aktif { color: #fff; border-bottom-color: var(--ana-renk); }
.ky-sondakika { background: #11131a; color: #e2e8f0; border-bottom: 1px solid #1c1f2a; padding: 8px 0; }
.ky-sondakika-ic { display: flex; align-items: center; gap: 12px; }
.ky-sondakika .sd-etiket { background: var(--ana-renk); }
.ky-sondakika .ticker-oge { color: #e2e8f0; }
.ky-sondakika .ticker-oge time { color: #fff; opacity: .6; }
.ky-sondakika .ticker-oklar button { background: #1c1f2a; color: #fff; border-color: #2a2f3d; }
@media (max-width: 760px) {
    .ky-header-ic { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; }
    .ky-logo { width: 100%; }
    .ky-logo span { font-size: 20px; }
    .ky-nav .nav-kaydir a { padding: 12px 10px; font-size: 13px; }
    .ky-sondakika .ticker-oklar { display: none; }
}

/* ── MANŞET VİTRİN ── */
.vt-header { background: #fff; }
.vt-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.vt-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vt-logo img { height: 42px; width: auto; }
.vt-logo span { font-size: 28px; font-weight: 900; letter-spacing: -.03em; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-header-sag { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.vt-tarih { font-size: 13px; color: var(--metin-soluk); }
.vt-rehber-btn { background: var(--ana-renk-acik); color: var(--ana-renk); font-weight: 700; font-size: 13px; padding: 9px 14px; border-radius: 999px; }
.vt-nav { background: var(--ana-renk); position: sticky; top: 0; z-index: 50; }
.vt-nav .nav-kaydir a { color: #fff; font-weight: 700; font-size: 14px; border-bottom: 0; padding: 13px 15px; }
.vt-nav .nav-kaydir a:hover, .vt-nav .nav-kaydir a.aktif { background: var(--ana-renk-koyu); color: #fff; }
.vt-nav .nav-rehber, .p-nav .nav-rehber, .ky-nav .nav-rehber { color: #fff !important; }
.vt-sondakika { background: #b91c1c; color: #fff; padding: 6px 0; }
.vt-sondakika-ic { display: flex; align-items: center; gap: 12px; }
.vt-sd-etiket { flex-shrink: 0; display: inline-flex; align-items: center; font-size: 12px; font-weight: 900; letter-spacing: .06em; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.35); }
.vt-sondakika .ticker-oge { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
    .vt-header-ic { min-height: 58px; }
    .vt-logo span { font-size: 21px; }
    .vt-logo img { height: 32px; }
    .vt-tarih { display: none; }
    .vt-rehber-btn { padding: 7px 11px; font-size: 12px; }
    .vt-nav .nav-kaydir a { padding: 12px 11px; font-size: 13px; }
}

/* ── FİRMA REHBERİ ── */
.tema-rehber { --arka-plan: #f5f7fb; background: #f5f7fb; }
.rh-header { background: #fff; border-bottom: 1px solid var(--border); }
.rh-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.rh-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rh-logo img { height: 40px; width: auto; }
.rh-logo span { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rh-ara { display: flex; flex: 0 1 460px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 4px; }
.rh-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 14px; font-size: 14px; font-family: inherit; }
.rh-ara button { border: 0; background: var(--ana-renk); color: #fff; border-radius: 999px; width: 40px; height: 36px; cursor: pointer; font-size: 15px; }
.rh-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.rh-nav .nav-kaydir a { font-size: 14px; color: #334155; }
.rh-nav .nav-rehber { color: var(--ana-renk) !important; }
@media (max-width: 760px) {
    .rh-header-ic { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
    .rh-logo span { font-size: 20px; }
    .rh-ara { flex: 1 1 100%; }
}

/* ── Firma kartı (rehber şablonları + rehber sayfaları) ── */
.fk-kart { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8edf5; border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.fk-kart:hover { box-shadow: 0 14px 30px rgba(15,23,42,.10); transform: translateY(-3px); border-color: var(--ana-renk-acik); }
.fk-kart .gk { aspect-ratio: 16 / 10; }
.fk-kart-ic { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fk-kart h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; color: #0f172a; }
.fk-kart p { margin: 0; font-size: 13.5px; color: #64748b; }
.fk-rozet { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; background: var(--ana-renk-acik); color: var(--ana-renk); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.fk-incele { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--ana-renk); }
.kat-ikon-izgara { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kat-ikon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border: 1px solid #e8edf5; border-radius: 14px; padding: 18px 8px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.kat-ikon:hover { border-color: var(--ana-renk); box-shadow: 0 10px 22px rgba(15,23,42,.08); transform: translateY(-2px); }
.kat-ikon i { font-style: normal; font-size: 26px; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--ana-renk-acik); }
.kat-ikon b { font-size: 13px; line-height: 1.25; color: #0f172a; }
.kat-ikon small { font-size: 11.5px; color: #64748b; }
@media (max-width: 1000px) { .kat-ikon-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kat-ikon-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .kat-ikon { padding: 12px 4px; } .kat-ikon i { width: 44px; height: 44px; font-size: 22px; } .kat-ikon b { font-size: 12px; } }

/* Görünmez ama ekran okuyucu/SEO için sayfada (ör. logo varken gizlenen site başlığı) */
.gorunmez { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── TABLOİD (şablon 6) ── */
.tb-header { background: var(--ana-renk); color: #fff; }
.tb-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.tb-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tb-logo img { height: 46px; width: auto; }
.tb-logo span { font-size: 34px; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: .18em; }
.tb-sag { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tb-tarih { font-size: 13px; font-weight: 600; opacity: .9; }
.tb-rehber { background: #ffd500; color: #111; font-weight: 900; font-size: 12px; letter-spacing: .04em; padding: 8px 12px; border-radius: 4px; }
.tb-nav { background: #fff; border-bottom: 4px solid #111; position: sticky; top: 0; z-index: 50; }
.tb-nav .nav-kaydir a { font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: #111; padding: 13px 14px 10px; border-bottom-width: 4px; margin-bottom: -4px; }
.tb-nav .nav-kaydir a:hover, .tb-nav .nav-kaydir a.aktif { color: var(--ana-renk); border-bottom-color: var(--ana-renk); }
.tb-nav .nav-rehber { color: #111 !important; }
.tb-sondakika { background: #ffd500; color: #111; padding: 6px 0; }
.tb-sondakika-ic { display: flex; align-items: center; gap: 12px; }
.tb-flas { flex-shrink: 0; background: #111; color: #ffd500; font-weight: 900; font-size: 12px; letter-spacing: .12em; padding: 5px 10px; border-radius: 3px; animation: tb-yanip 1.2s steps(2) infinite; }
@keyframes tb-yanip { 50% { color: #fff; } }
.tb-sondakika .ticker-oge { color: #111; font-weight: 700; }
.tb-sondakika .ticker-oklar button { background: #111; color: #ffd500; border: 0; }
@media (prefers-reduced-motion: reduce) { .tb-flas { animation: none; } }
@media (max-width: 760px) {
    .tb-header-ic { min-height: 60px; }
    .tb-logo span { font-size: 24px; }
    .tb-logo img { height: 34px; }
    .tb-tarih { display: none; }
    .tb-rehber { font-size: 11px; padding: 6px 9px; }
    .tb-nav .nav-kaydir a { font-size: 13px; padding: 12px 11px 9px; }
    .tb-sondakika .ticker-oklar { display: none; }
}

/* ── MİNİMAL (şablon 7, 10) ── */
.tema-minimal { --arka-plan: #fff; background: #fff; }
.mn-header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #ececec; position: sticky; top: 0; z-index: 50; }
.mn-header-ic { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.mn-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mn-logo img { height: 38px; width: auto; }
.mn-logo span { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #0a0a0a; }
.mn-nav { flex: 1; min-width: 0; }
.mn-nav .nav-kaydir { justify-content: flex-end; }
.mn-nav .nav-kaydir a { font-weight: 500; font-size: 14.5px; color: #525252; padding: 23px 11px 21px; border-bottom-width: 2px; }
.mn-nav .nav-kaydir a:hover, .mn-nav .nav-kaydir a.aktif { color: #0a0a0a; border-bottom-color: #0a0a0a; }
.mn-nav .nav-rehber { color: var(--ana-renk) !important; }
.mn-sondakika { border-bottom: 1px solid #ececec; padding: 9px 0; }
.mn-sondakika-ic { display: flex; align-items: center; gap: 14px; }
.mn-sd-etiket { flex-shrink: 0; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: #dc2626; text-transform: uppercase; letter-spacing: .08em; }
.mn-sd-etiket .nabiz { background: #dc2626; animation: none; }
.mn-sondakika .ticker-oge { color: #262626; font-size: 14px; }
.mn-sondakika .ticker-oge time { color: #a3a3a3; }
.mn-tarih { flex-shrink: 0; font-size: 12.5px; color: #a3a3a3; }
@media (max-width: 860px) {
    .mn-header-ic { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 12px; }
    .mn-logo { width: 100%; }
    .mn-nav .nav-kaydir { justify-content: flex-start; }
    .mn-nav .nav-kaydir a { padding: 12px 10px; font-size: 14px; }
    .mn-tarih { display: none; }
}

/* Görünür konum (breadcrumb) */
.ekmek { font-size: 13px; color: var(--metin-soluk); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px; }
.ekmek a { color: var(--metin-soluk); }
.ekmek a:hover { color: var(--ana-renk); }
.ekmek span[aria-current] { color: var(--metin); }

/* ── FİRMA REHBERİ KOYU (şablon 13 · B2B) ── */
.tema-rehber_koyu { --arka-plan: #f3f5f9; background: #f3f5f9; }
.rk-header { background: #0b1b34; color: #fff; }
.rk-header-ic { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.rk-logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rk-logo img { height: 38px; width: auto; }
.rk-logo span { font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-ara { display: flex; flex: 0 1 480px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; overflow: hidden; }
.rk-ara input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; padding: 11px 14px; font-size: 14px; font-family: inherit; }
.rk-ara input::placeholder { color: #94a3b8; }
.rk-ara button { border: 0; background: #f59e0b; color: #0b1b34; font-weight: 800; padding: 0 20px; cursor: pointer; font-family: inherit; }
.rk-nav { background: #102544; border-top: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 50; }
.rk-nav .nav-kaydir a { color: #cbd5e1; font-size: 14px; font-weight: 600; border-bottom-color: transparent; }
.rk-nav .nav-kaydir a:hover, .rk-nav .nav-kaydir a.aktif { color: #fff; border-bottom-color: #f59e0b; }
.rk-nav .nav-rehber { color: #fbbf24 !important; }
@media (max-width: 760px) {
    .rk-header-ic { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
    .rk-logo span { font-size: 19px; }
    .rk-ara { flex: 1 1 100%; }
}

/* ── Premium firma kartı (şablon 12-14) ── */
.fp-kart { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8edf5; border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.fp-kart:hover { box-shadow: 0 16px 34px rgba(15,23,42,.10); transform: translateY(-3px); border-color: var(--ana-renk-acik); }
.fp-gorsel { aspect-ratio: 16 / 10; }
.fp-cip { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.94); color: #0f172a; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12); max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-ic { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.fp-ic h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; color: #0f172a; }
.fp-ic h3 a:hover { color: var(--ana-renk); }
.fp-konum { font-size: 12.5px; font-weight: 600; color: #64748b; }
.fp-ic p { margin: 0; font-size: 13.5px; color: #64748b; line-height: 1.5; }
.fp-alt { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.fp-alt a { flex: 1; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 0; border-radius: 10px; }
.fp-ara { background: var(--ana-renk); color: #fff; }
.fp-incele { background: #f1f5f9; color: #0f172a; }
.fp-incele:hover { background: var(--ana-renk-acik); color: var(--ana-renk); }
