/* ============================================================
   ADANABZI - Adana Nabzi Haber Temasi
   Renk paleti: koyu lacivert + turuncu + acik gri (modern yerel haber)
   ============================================================ */
:root {
    --red: #dc2626;
    --red-dark: #b91c1c;
    --dark: #1e293b;
    --dark-2: #111827;
    --text: #1f2937;
    --muted: #64748b;
    --light: #f3f4f6;
    --border: #e5e7eb;
    --radius: 4px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #f2f4f8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
/* ==== GORSEL / MEDYA TASMA KORUMASI (evrensel) ==== */
img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
img { display: block; }
iframe { border: 0; }
.single-content img, .single-content iframe, .single-content video,
.entry-content img, .entry-content iframe { max-width: 100%; height: auto; }
.single-content table, .entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.single-content pre, .entry-content pre { overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }
.single-content, .entry-content { overflow-wrap: break-word; word-wrap: break-word; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* ============ UST BAR ============ */
.top-bar { background: var(--dark-2); color: #cbd5e1; font-size: 13px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.top-bar-date { color: #94a3b8; }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.top-nav ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.top-nav a { color: #ccc; }
.top-nav a:hover { color: #fff; }
.search-toggle { background: none; border: 0; color: #ccc; cursor: pointer; font-size: 15px; padding: 4px; }

/* ============ ARAMA ============ */
.search-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92);
    z-index: 999; align-items: center; justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay .container { position: relative; width: 100%; max-width: 640px; }
.search-form { display: flex; }
.search-input {
    flex: 1; padding: 14px 18px; font-size: 18px; border: 0;
    border-radius: var(--radius) 0 0 var(--radius); outline: none;
}
.search-submit {
    padding: 14px 24px; background: var(--red); color: #fff; border: 0;
    border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 16px; font-weight: 700;
}
.search-close {
    position: absolute; top: -46px; right: 0; background: none; border: 0;
    color: #fff; font-size: 26px; cursor: pointer;
}

/* ============ HEADER / LOGO ============ */
.site-header { background: var(--dark); border-bottom: 3px solid var(--red); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px; }
.site-title { margin: 0; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.25; font-weight: 900; letter-spacing: -0.5px; white-space: normal; overflow-wrap: break-word; max-width: 100%; }
.site-title a { color: #fff; }
.site-title a:hover { color: var(--red); }
.site-description { margin: 4px 0 0; font-size: 12px; color: #94a3b8; }
.site-branding { flex: 1; min-width: 0; }
.header-ad { max-width: 728px; }
.header-ad img, .header-ad iframe { max-height: 90px; }

/* ============ ANA MENU ============ */
.main-nav {
    background: var(--dark); position: sticky; top: 0; z-index: 500;
    box-shadow: 0 2px 8px rgba(10,20,40,.25);
    border-bottom: 2px solid var(--red);
}
.nav-inner { display: flex; align-items: center; min-height: 46px; position: relative; }
.main-menu { display: flex; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.main-menu > li { position: relative; }
.main-menu > li > a {
    display: block; padding: 13px 15px; color: #e2e8f0; font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.3px;
}
.main-menu > li > a:hover, .main-menu > li.current-menu-item > a { color: #fff; background: transparent; box-shadow: inset 0 -3px 0 var(--red); }
.main-menu .sub-menu {
    display: none; position: absolute; top: 100%; left: 0; background: var(--dark);
    min-width: 200px; list-style: none; margin: 0; padding: 6px 0;
    box-shadow: 0 6px 16px rgba(0,0,0,.25); border-radius: 0 0 var(--radius) var(--radius);
    z-index: 600;
}
.main-menu li:hover > .sub-menu { display: block; }
.main-menu .sub-menu a { display: block; padding: 9px 16px; color: #cbd5e1; font-size: 14px; }
.main-menu .sub-menu a:hover { background: rgba(249,115,22,.15); color: #fff; }
.nav-search { margin-left: auto; color: #e2e8f0; font-size: 16px; padding: 0 8px; }
.mobile-menu-toggle {
    display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-right: 6px;
}
.mobile-menu-toggle .hamburger {
    display: block; width: 22px; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px;
}

/* ============ SON DAKIKA ============ */
.breaking-bar { background: #fff; border-bottom: 2px solid var(--red); }
.breaking-inner { display: flex; align-items: center; min-height: 38px; position: relative; overflow: hidden; }
.breaking-label {
    background: var(--red); color: #fff; font-weight: 800; font-size: 12px;
    padding: 6px 12px; margin-right: 12px; letter-spacing: 1px; white-space: nowrap; flex-shrink: 0;
    border-radius: 0 0 var(--radius) var(--radius); z-index: 2;
}
.breaking-ticker { overflow: hidden; white-space: nowrap; flex: 1; padding-right: 50px; }
.breaking-inner::after {
    content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 50px; z-index: 1;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff);
}
.breaking-item {
    display: inline-block; color: var(--dark); font-size: 14px; font-weight: 600;
    padding-right: 26px; vertical-align: middle;
}
.breaking-item::after { content: "•"; margin-left: 26px; color: #ccc; }
.breaking-item:last-child::after { content: ""; margin-left: 0; }
.breaking-item:hover { color: var(--red); }

/* ============ SAYFA YERLESIMI ============ */
.site-content { padding: 20px 0 40px; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.content-main { min-width: 0; }

/* ============ SPOTLIGHT ============ */
.spotlight { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 28px; }
.spot-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.spot-main-link { display: block; }
.spot-main-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.spot-main-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-main-img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%);
}
.spot-cat {
    position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff;
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 3px; z-index: 2;
}
.spot-main-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 2; }
.spot-main-title { margin: 0 0 6px; font-size: 24px; line-height: 1.25; }
.spot-main-title a, .spot-main-title { color: #fff; }
.spot-meta { color: #ccc; font-size: 13px; }
.spot-side { display: block; gap: 16px; }
.spot-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spot-item a { display: flex; gap: 12px; align-items: center; }
.spot-item-img { flex: 0 0 120px; aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.spot-item-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-item-title { margin: 0; font-size: 14px; line-height: 1.35; color: var(--dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-item-title:hover { color: var(--red); }

/* ============ KATEGORI BLOKLARI ============ */
.cat-block { margin-bottom: 30px; }
.cat-block-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 3px solid var(--red); margin-bottom: 14px; padding-bottom: 6px;
}
.cat-block-title { margin: 0; font-size: 20px; font-weight: 800; }
.cat-block-title a { color: var(--dark); }
.cat-block-title a::before {
    content: ""; display: inline-block; width: 5px; height: 20px; background: var(--red);
    margin-right: 8px; vertical-align: -3px; border-radius: 2px;
}
.cat-block-more { font-size: 13px; font-weight: 600; }
.cat-block-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-news { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cat-news-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.cat-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.cat-news:hover .cat-news-img img { transform: scale(1.04); }
.cat-news-title { margin: 0; padding: 10px 12px 4px; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-news-title a { color: var(--dark); }
.cat-news-title a:hover { color: var(--red); }
.cat-news-meta { display: block; padding: 0 12px 10px; font-size: 12px; color: var(--muted); }

/* ============ SON HABERLER LISTESI ============ */
.latest-block { margin-top: 8px; }
.latest-list { display: flex; flex-direction: column; gap: 14px; }
.latest-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.latest-img { flex: 0 0 200px; aspect-ratio: 16/10; overflow: hidden; background: var(--light); border-radius: 3px; }
.latest-img img { width: 100%; height: 100%; object-fit: cover; }
.latest-title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-title a { color: var(--dark); }
.latest-title a:hover { color: var(--red); }
.latest-excerpt { margin: 0 0 8px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.latest-meta { font-size: 12px; color: var(--muted); }
.latest-cat { color: var(--red); font-weight: 700; }

/* ============ SAYFALAMA ============ */
.pagination { margin: 24px 0; }
.pagination ul {
    list-style: none !important; margin: 0 !important; padding: 0 !important;
    display: flex !important; flex-wrap: wrap !important; gap: 6px;
}
.pagination li { margin: 0 !important; display: inline-block; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 13px; border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--dark); font-size: 14px;
}
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }

/* ============ TEKIL HABER ============ */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.crumb-sep { margin: 0 6px; }
.single-title { margin: 0 0 12px; font-size: 32px; line-height: 1.2; font-weight: 900; color: var(--dark); }
.single-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.meta-author { font-weight: 700; color: var(--red); }
.single-featured { margin: 0 0 18px; }
.single-featured img { width: 100%; border-radius: var(--radius); }
.single-content { font-size: 17px; line-height: 1.75; }
.single-content p { margin: 0 0 18px; }
.single-content h2 { font-size: 24px; margin: 28px 0 12px; line-height: 1.3; }
.single-content h3 { font-size: 20px; margin: 24px 0 10px; }
.single-content h4 { font-size: 17px; margin: 20px 0 8px; }
.single-content img { border-radius: var(--radius); }
.single-content a { text-decoration: underline; text-underline-offset: 3px; }
.single-content blockquote {
    margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--red);
    background: var(--light); font-style: italic; border-radius: 0 var(--radius) var(--radius) 0;
}
.single-content ul, .single-content ol { margin: 0 0 18px 22px; }
.single-tags { margin: 22px 0; font-size: 13px; }
.single-tags a {
    display: inline-block; background: var(--light); color: var(--dark);
    padding: 4px 10px; border-radius: 3px; margin: 0 4px 4px 0; font-size: 12px;
}
.single-tags a:hover { background: var(--red); color: #fff; }

/* ============ PAYLASIM BUTONLARI ============ */
.share-buttons { display: flex; align-items: center; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.share-label { font-weight: 700; font-size: 14px; color: var(--dark); margin-right: 4px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border-radius: 3px; color: #fff !important; font-size: 13px; font-weight: 600;
    text-decoration: none !important; transition: opacity .15s;
}
.share-btn:hover { opacity: .85; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #000; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-linkedin { background: #0a66c2; }

/* ============ YAZAR KUTUSU ============ */
.author-box {
    display: flex; gap: 16px; background: var(--light); border-radius: var(--radius);
    padding: 18px; margin: 24px 0; border: 1px solid var(--border);
}
.author-avatar img { border-radius: 50%; }
.author-name { font-weight: 800; font-size: 17px; color: var(--dark); }
.author-bio { margin: 6px 0 0; font-size: 14px; color: var(--muted); }

/* ============ ILGILI HABERLER ============ */
.block-title {
    margin: 0 0 14px; font-size: 20px; font-weight: 800; color: var(--dark);
    border-bottom: 3px solid var(--red); padding-bottom: 6px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.related-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.related-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--light); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-title { margin: 0; padding: 10px 12px; font-size: 14px; line-height: 1.35; }
.related-title a { color: var(--dark); }
.related-title a:hover { color: var(--red); }

/* ============ YORUMLAR ============ */
.comments-area { margin-top: 30px; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; margin-left: 44px; }
.comment-body { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; background: #fff; }
.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-avatar img { border-radius: 50%; }
.comment-author { font-weight: 700; font-size: 15px; color: var(--dark); }
.comment-date { font-size: 12px; color: var(--muted); }
.comment-content { font-size: 15px; }
.comment-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.comment-like-btn {
    background: var(--light); border: 1px solid var(--border); border-radius: 3px;
    padding: 4px 12px; cursor: pointer; font-size: 13px; color: var(--dark);
}
.comment-like-btn:hover { background: #ffecec; border-color: var(--red); }
.comment-like-btn.liked { background: #ffecec; border-color: var(--red); }
.comment-reply-link { font-size: 13px; font-weight: 600; }
.comments-closed { font-size: 14px; color: var(--muted); }
.comment-form .comment-form-comment label { display: block; margin-bottom: 6px; font-weight: 600; }
.comment-form textarea {
    width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 15px; min-height: 120px;
}
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 15px; margin-bottom: 10px;
}
.submit-btn {
    background: var(--red); color: #fff; border: 0; padding: 12px 28px;
    border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer;
}
.submit-btn:hover { background: var(--red-dark); }

/* ============ KATEGORI RENKLERI (evrensel - tum portfoy slug'lari) ============ */
.cat-clr { --cat: var(--red); }
.cat-siyaset { --cat: #7c3aed; }
.cat-asayis { --cat: #dc2626; }
.cat-saglik { --cat: #059669; }
.cat-ekonomi { --cat: #d97706; }
.cat-son-dakika { --cat: var(--red); }
.cat-spor { --cat: #2563eb; }
.cat-gundem, .cat-guncel { --cat: #0f1e3d; }
.cat-teknoloji { --cat: #0891b2; }
.cat-kripto { --cat: #ca8a04; }
.cat-oyun { --cat: #7c3aed; }
.cat-otomobil { --cat: #ea580c; }
.cat-magazin { --cat: #db2777; }
.cat-dunya, .cat-dunyadan-haberler { --cat: #0284c7; }
.cat-yasam { --cat: #16a34a; }
.cat-egitim { --cat: #f59e0b; }
.cat-bilim, .cat-bilim-uzay, .cat-uzay { --cat: #6366f1; }
.cat-yapay-zeka { --cat: #8b5cf6; }
.cat-siber-guvenlik { --cat: #0ea5e9; }
.cat-dijital-yasam, .cat-mobil-teknoloji { --cat: #14b8a6; }
.cat-yazilim, .cat-yazilim-internet { --cat: #3b82f6; }
.cat-donanim, .cat-bilgisayar-donanim, .cat-teknoloji-dunyasi { --cat: #64748b; }
.cat-kultur-ve-sanat { --cat: #ec4899; }
.cat-yerel-haberler { --cat: #10b981; }
.cat-dizi, .cat-dizi-haberleri, .cat-film-haberleri, .cat-oyuncular-ve-magazin, .cat-cemiyet { --cat: #db2777; }
.cat-futbol-analiz, .cat-spor-gundemi { --cat: #2563eb; }
.cat-devlet-islemleri, .cat-sik-sorulan-sorular, .cat-nasil-yapilir, .cat-hata-kodlari, .cat-sosyal-medya-cozumleri, .cat-devlet-ve-bankacilik-islemleri, .cat-teknoloji-cozumleri, .cat-gunluk-sorunlar, .cat-internet-ve-sosyal-medya, .cat-teknoloji-sorunlari { --cat: #475569; }
.cat-politika { --cat: #b91c1c; }
.cat-default { --cat: var(--red); }

/* Kategori etiketi renkli */
.spot-cat.cat-clr { background: var(--cat); }
.latest-cat.cat-clr { color: var(--cat); }
.cat-block { --cat: var(--red); }
.cat-block.cat-block-siyaset { --cat: #7c3aed; }
.cat-block.cat-block-asayis { --cat: #dc2626; }
.cat-block.cat-block-saglik { --cat: #059669; }
.cat-block.cat-block-ekonomi { --cat: #d97706; }
.cat-block.cat-block-son-dakika { --cat: var(--red); }
.cat-block.cat-block-spor { --cat: #2563eb; }
.cat-block.cat-block-gundem, .cat-block.cat-block-guncel { --cat: #0f1e3d; }
.cat-block.cat-block-teknoloji { --cat: #0891b2; }
.cat-block.cat-block-kripto { --cat: #ca8a04; }
.cat-block.cat-block-oyun { --cat: #7c3aed; }
.cat-block.cat-block-otomobil { --cat: #ea580c; }
.cat-block.cat-block-magazin { --cat: #db2777; }
.cat-block.cat-block-dunya, .cat-block.cat-block-dunyadan-haberler { --cat: #0284c7; }
.cat-block.cat-block-yasam { --cat: #16a34a; }
.cat-block.cat-block-egitim { --cat: #f59e0b; }
.cat-block.cat-block-bilim, .cat-block.cat-block-bilim-uzay, .cat-block.cat-block-uzay { --cat: #6366f1; }
.cat-block.cat-block-yapay-zeka { --cat: #8b5cf6; }
.cat-block.cat-block-siber-guvenlik { --cat: #0ea5e9; }
.cat-block.cat-block-dijital-yasam, .cat-block.cat-block-mobil-teknoloji { --cat: #14b8a6; }
.cat-block.cat-block-yazilim, .cat-block.cat-block-yazilim-internet { --cat: #3b82f6; }
.cat-block.cat-block-donanim, .cat-block.cat-block-bilgisayar-donanim, .cat-block.cat-block-teknoloji-dunyasi { --cat: #64748b; }
.cat-block.cat-block-kultur-ve-sanat { --cat: #ec4899; }
.cat-block.cat-block-yerel-haberler { --cat: #10b981; }
.cat-block.cat-block-dizi, .cat-block.cat-block-dizi-haberleri, .cat-block.cat-block-film-haberleri, .cat-block.cat-block-oyuncular-ve-magazin, .cat-block.cat-block-cemiyet { --cat: #db2777; }
.cat-block.cat-block-futbol-analiz, .cat-block.cat-block-spor-gundemi { --cat: #2563eb; }
.cat-block.cat-block-devlet-islemleri, .cat-block.cat-block-sik-sorulan-sorular, .cat-block.cat-block-nasil-yapilir, .cat-block.cat-block-hata-kodlari, .cat-block.cat-block-sosyal-medya-cozumleri, .cat-block.cat-block-devlet-ve-bankacilik-islemleri, .cat-block.cat-block-teknoloji-cozumleri, .cat-block.cat-block-gunluk-sorunlar, .cat-block.cat-block-internet-ve-sosyal-medya, .cat-block.cat-block-teknoloji-sorunlari { --cat: #475569; }
.cat-block.cat-block-politika { --cat: #b91c1c; }
.cat-block-header { border-bottom-color: var(--cat); }
.cat-block-title a::before { background: var(--cat); }
.cat-block-more { color: var(--cat); }

/* ============ PAYLASIM BUTONLARI (SVG) ============ */
.share-buttons { display: flex; align-items: center; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.share-label { font-weight: 700; font-size: 14px; color: var(--dark); margin-right: 4px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
    border-radius: 3px; color: #fff !important; font-size: 13px; font-weight: 600;
    text-decoration: none !important; border: 0; cursor: pointer;
    transition: opacity .15s, transform .15s;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn svg { flex-shrink: 0; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #000; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }
.share-linkedin { background: #0a66c2; }
.share-feed { background: #f26522; }
.share-embed { background: #37474f; }

/* Embed kodu kutusu */
.embed-code-wrap { margin: 4px 0 18px; }
.embed-code-box {
    background: var(--light); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; max-width: 620px;
}
.embed-code-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.embed-code-text {
    width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 4px;
    background: #fff; color: var(--text); resize: vertical; min-height: 70px;
}
.embed-copy-btn {
    margin-top: 8px; background: var(--red); color: #fff; border: 0; padding: 8px 18px;
    border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.embed-copy-btn:hover { background: var(--red-dark); }

/* ============ WIDGET MODULLERI (profesyonel tasarim) ============ */
.sidebar { position: sticky; top: 56px; align-self: start; }
.sidebar .widget {
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: 18px; margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}
.sidebar .widget:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.sidebar .widget-title {
    margin: 0 0 14px; font-size: 15px; font-weight: 800; color: var(--dark);
    letter-spacing: .3px; display: flex; align-items: center; gap: 8px;
}
.sidebar .widget-title::before {
    content: ""; width: 4px; height: 18px; background: var(--red);
    border-radius: 2px; display: inline-block;
}

/* Son Haberler widget - timeline gorunum */
.gercek24-widget-list { list-style: none; margin: 0; padding: 0; }
.gercek24-widget-item {
    border-bottom: 1px dashed var(--border); padding: 10px 0; transition: background .15s;
}
.gercek24-widget-item:first-child { padding-top: 0; }
.gercek24-widget-item:last-child { border-bottom: 0; padding-bottom: 0; }
.gercek24-widget-link { display: flex; gap: 12px; align-items: center; }
.gercek24-widget-thumb { flex: 0 0 82px; border-radius: 6px; overflow: hidden; position: relative; }
.gercek24-widget-thumb::after {
    content: ""; position: absolute; inset: 0; border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.gercek24-widget-thumb img { width: 82px; height: 54px; object-fit: cover; display: block; }
.gercek24-widget-title-text { font-size: 13px; line-height: 1.4; color: var(--dark); font-weight: 600; display: block; }
.gercek24-widget-link:hover .gercek24-widget-title-text { color: var(--red); }
.gercek24-widget-date { font-size: 11px; color: #999; display: block; margin-top: 3px; }

/* Populer Haberler widget */
.gercek24-populer-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.gercek24-populer-item {
    display: flex; gap: 12px; align-items: baseline; padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}
.gercek24-populer-item:first-child { padding-top: 0; }
.gercek24-populer-item:last-child { border-bottom: 0; padding-bottom: 0; }
.gercek24-populer-num {
    font-size: 20px; font-weight: 900; color: transparent; flex: 0 0 30px;
    -webkit-text-stroke: 1.5px var(--red); line-height: 1;
}
.gercek24-populer-link { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; }
.gercek24-populer-link:hover { color: var(--red); }

/* Kategoriler widget - chip gorunum */
.sidebar .widget_categories ul, .sidebar .wp-block-categories-list, .sidebar ul.categories {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.sidebar .widget_categories ul li, .sidebar .wp-block-categories-list li, .sidebar ul.categories li {
    padding: 0; border: 0; margin: 0;
}
.sidebar .widget_categories ul a, .sidebar .wp-block-categories-list a, .sidebar ul.categories a {
    display: inline-block; background: var(--light); color: var(--dark);
    font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px;
    transition: all .15s;
}
.sidebar .widget_categories ul a:hover, .sidebar .wp-block-categories-list a:hover, .sidebar ul.categories a:hover {
    background: var(--red); color: #fff; transform: translateY(-1px);
}
.sidebar .widget_categories ul .children { padding: 0; margin: 0; }

/* Etiketler widget - pill gorunum */
.sidebar .tagcloud a, .sidebar .wp-block-tag-cloud a {
    display: inline-block; background: var(--light); color: var(--dark); font-size: 12px !important;
    padding: 4px 11px; border-radius: 20px; margin: 0 4px 6px 0;
    transition: all .15s;
}
.sidebar .tagcloud a:hover, .sidebar .wp-block-tag-cloud a:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.site-footer .tagcloud a, .site-footer .wp-block-tag-cloud a { background: #333; color: #ddd; border-radius: 20px; padding: 4px 11px; margin: 0 4px 6px 0; display: inline-block; font-size: 12px !important; transition: all .15s; }
.site-footer .tagcloud a:hover, .site-footer .wp-block-tag-cloud a:hover { background: var(--red); color: #fff; }

/* Footer kategoriler - pill gorunum */
.site-footer .widget_categories ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.site-footer .widget_categories ul li { margin: 0; padding: 0; border: 0; }
.site-footer .widget_categories ul a {
    display: inline-block; background: #333; color: #ddd;
    font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 20px;
    transition: all .15s;
}
.site-footer .widget_categories ul a:hover { background: var(--red); color: #fff; }
.sidebar select { width: 100%; padding: 9px; border: 1px solid var(--border); border-radius: var(--radius); }

/* ============ LIVE SEARCH ============ */
.live-search-results {
    margin-top: 14px; background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.25); max-height: 420px; overflow-y: auto;
}
.live-search-status {
    padding: 10px 16px; font-size: 12px; color: var(--muted);
    background: var(--light); border-bottom: 1px solid var(--border);
}
.live-search-item {
    display: flex; gap: 12px; align-items: center; padding: 12px 16px;
    border-bottom: 1px solid var(--border); color: var(--dark); transition: background .12s;
}
.live-search-item:last-child { border-bottom: 0; }
.live-search-item:hover { background: #fafafa; }
.live-search-thumb {
    flex: 0 0 56px; height: 40px; border-radius: 6px; background-size: cover; background-position: center;
    background-color: var(--light);
}
.live-search-meta { display: flex; flex-direction: column; min-width: 0; }
.live-search-title { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-search-date { font-size: 11px; color: #999; margin-top: 2px; }

/* ============ MOBIL ALT NAV (BOTTOM NAV) ============ */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
    background: #fff; border-top: 1px solid var(--border);
    display: none; grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
    padding-bottom: env(safe-area-inset-bottom);
    transition: transform .25s ease;
}
.bottom-nav.hidden { transform: translateY(100%); }
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 4px; color: var(--muted); font-size: 10.5px; font-weight: 600;
    background: none; border: 0; cursor: pointer; text-decoration: none;
    transition: color .15s;
}
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--red); }
.bottom-nav-item svg { color: currentColor; }

/* ============ MOBIL MENU IYILESTIRME ============ */
.mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0; width: 290px; background: #fff;
    z-index: 950; transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; box-shadow: 2px 0 12px rgba(0,0,0,.2);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--red); color: #fff; padding: 16px; font-size: 16px;
    position: sticky; top: 0; z-index: 2;
}
.mobile-menu-close { background: none; border: 0; color: #fff; cursor: pointer; display: flex; }
.mobile-menu-list { list-style: none; margin: 0; padding: 8px 0; }
.mobile-menu-list a { display: flex; align-items: center; gap: 10px; padding: 13px 20px; color: var(--dark); font-weight: 600; border-bottom: 1px solid var(--light); transition: background .12s, padding-left .12s; }
.mobile-menu-list a:hover { background: var(--light); color: var(--red); padding-left: 24px; }
.mobile-menu-list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 20px; }
.mobile-menu-social {
    padding: 14px 20px; border-top: 1px solid var(--light); margin-top: 8px;
}
.mobile-menu-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mobile-menu-social a:hover { color: var(--red); }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: #bbb; margin-top: 30px; padding: 36px 0 0; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 24px; }
.site-footer .widget-title {
    margin: 0 0 14px; font-size: 16px; font-weight: 800; color: #fff;
    border-bottom: 2px solid var(--red); padding-bottom: 8px;
}
.site-footer .gercek24-widget-title-text { color: #ddd; }
.site-footer .gercek24-widget-link:hover .gercek24-widget-title-text { color: #fff; }
.site-footer .gercek24-widget-item { border-color: #333; }
.site-footer .gercek24-populer-link { color: #ddd; }
.site-footer .gercek24-populer-link:hover { color: #fff; }
.site-footer .gercek24-populer-item { border-color: #333; }
.site-footer .wp-block-categories-list li { border-color: #333; }
.site-footer .wp-block-categories-list a { color: #ddd; }
.site-footer .wp-block-categories-list a:hover { color: #fff; }
.site-footer .wp-block-tag-cloud a { background: #333; color: #ddd; }
.site-footer .wp-block-tag-cloud a:hover { background: var(--red); color: #fff; }
.footer-bottom {
    border-top: 1px solid #333; padding: 16px 0; display: flex;
    justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: #bbb; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 13px; color: #999; line-height: 1.5; overflow-wrap: break-word; }
.footer-copy a { color: #ccc; }

/* ============ MOBIL MENU ============ */
.mobile-menu-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 900;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
    position: fixed; top: 0; left: 0; bottom: 0; width: 290px; background: #fff;
    z-index: 950; transform: translateX(-100%); transition: transform .25s ease;
    overflow-y: auto; box-shadow: 2px 0 12px rgba(0,0,0,.2);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    background: var(--red); color: #fff; padding: 14px 16px; font-size: 16px;
}
.mobile-menu-close { background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }
.mobile-menu-list { list-style: none; margin: 0; padding: 8px 0; }
.mobile-menu-list a { display: block; padding: 12px 18px; color: var(--dark); font-weight: 600; border-bottom: 1px solid var(--light); }
.mobile-menu-list a:hover { background: var(--light); color: var(--red); }
.mobile-menu-list .sub-menu { list-style: none; margin: 0; padding: 0 0 0 18px; }

/* ============ ARSIV / ARAMA ============ */
.archive-header { margin-bottom: 20px; border-bottom: 3px solid var(--red); padding-bottom: 8px; }
.archive-title { margin: 0; font-size: 26px; font-weight: 900; color: var(--dark); }
.archive-desc { margin-top: 8px; font-size: 14px; color: var(--muted); }
.no-results { font-size: 16px; color: var(--muted); }

/* ============ 404 ============ */
.error-layout { padding: 60px 16px; text-align: center; }
.error-code { font-size: 80px; margin: 0; color: var(--red); font-weight: 900; }
.error-text { font-size: 18px; color: var(--muted); }
.error-home { display: inline-block; margin: 16px 0 24px; background: var(--red); color: #fff; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; }
.search-form-404 { display: flex; max-width: 460px; margin: 0 auto; }
.search-form-404 input {
    flex: 1; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); font-size: 15px;
}
.search-form-404 button {
    padding: 12px 22px; background: var(--red); color: #fff; border: 0;
    border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-weight: 700;
}

.thumb-ph {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; min-height: 90px;
    background: linear-gradient(135deg, #f7f7f7, #ececec);
    color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: 2px;
    text-transform: uppercase; border: 1px dashed #e0e0e0; border-radius: 3px;
}

/* ==== GORSEL KAPSAYICILARI: tasma imkansiz (ortak kural) ==== */
.spot-main-img, .spot-item-img, .cat-news-img, .latest-img,
.related-img, .gercek24-widget-thumb, .single-featured {
    overflow: hidden; position: relative; flex-shrink: 0;
}
.spot-main-img img, .spot-item-img img, .cat-news-img img,
.latest-img img, .related-img img, .single-featured img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Flex tasma kilidi: icerik ne olursa olsun item container disina cikamaz */
.spot-item, .spot-item a, .cat-news, .latest-item, .related-item,
.spot-main, .spot-main-link, .cat-news-title, .latest-title,
.spot-item-title, .spot-main-title, .related-title, .widget-title a {
    min-width: 0; overflow-wrap: anywhere; word-wrap: break-word;
}
.spot-item-title, .spot-main-title, .cat-news-title, .latest-title, .related-title {
    overflow: hidden;
}
.spot-main-img { aspect-ratio: 16/10; }
.spot-item-img { aspect-ratio: 16/10; }
.cat-news-img { aspect-ratio: 16/10; }
.latest-img { aspect-ratio: 16/10; }
.related-img { aspect-ratio: 16/10; }
.single-featured { aspect-ratio: 16/9; border-radius: var(--radius); }
.gercek24-widget-thumb { aspect-ratio: 3/2; }

/* ============ GECIS ANIMASYONLARI ============ */
/* NOT: .site-content fade-in KALDIRILDI — animation baslangici opacity:0 oldugu icin
   animasyon takilirsa sayfa BEYAZ kaliyordu (kullanici mobilde beyaz sayfa gormustu).
   Icerik her zaman opacity:1 gorunur; sadece hover gecisleri kalir. */
.cat-news, .latest-item, .related-item, .spot-item {
    transition: transform .18s ease, box-shadow .18s ease;
}
.cat-news:hover, .latest-item:hover, .related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.09);
}
.site-content { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .cat-news, .latest-item, .related-item, .spot-item { transition: none; }
}

/* ============ RESPONSIVE ============ */
/* Tablet (1024px) */
@media (max-width: 1024px) {
    .cat-block-grid { grid-template-columns: repeat(3, 1fr); }
    .content-grid { grid-template-columns: 1fr 280px; gap: 20px; }
    .spotlight { grid-template-columns: 1fr; }
    .spot-side { flex-direction: row; flex-wrap: wrap; }
    .spot-item { flex: 1 1 45%; }
    .header-ad { display: none; }
}

/* Mobil (768px) */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 10px; text-align: center; padding: 14px 16px; }
    .site-title { font-size: 22px; }
    .site-description { font-size: 11px; }
    .content-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .cat-block-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mobile-menu-toggle { display: block; }
    .main-menu { display: none; }
    .single-title { font-size: 26px; }
    .spot-main-title { font-size: 19px; }
    .spot-main-text { padding: 14px; }
    .spot-meta { font-size: 12px; }
    .latest-item { flex-direction: column; }
    .latest-img { flex: none; width: 100%; }
    .top-bar-clock { display: none; }
    .top-bar-date { font-size: 12px; }
    .cat-news-title { font-size: 14px; }
    .latest-title { font-size: 16px; }
    .single-content { font-size: 16.5px; }
    .single-meta { gap: 10px; font-size: 12px; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .share-btn { padding: 8px 12px; font-size: 12.5px; }
    .search-input { font-size: 16px; }
    .breaking-item { font-size: 13px; }
    .comment-list .children { margin-left: 20px; }

    /* Bottom nav mobilde gorunur */
    .bottom-nav { display: grid; }
    body { padding-bottom: 58px; }
    .site-footer { margin-bottom: 0; }
}

/* Kucuk telefon (480px) */
@media (max-width: 480px) {
    .cat-block-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: 1fr; }
    .top-bar-date { display: none; }
    .spot-side { flex-direction: column; }
    .spot-item { flex: 1 1 100%; }
    .spot-item a { flex-direction: column; align-items: flex-start; }
    .spot-item-img { flex: none; width: 100%; }
    .spot-item-title { font-size: 15px; }
    .share-btn { font-size: 12px; padding: 7px 10px; gap: 5px; }
    .share-label { display: none; }
    .single-content { font-size: 16px; }
    .single-title { font-size: 23px; }
    .archive-title { font-size: 22px; }
    .block-title { font-size: 18px; }
    .cat-block-title { font-size: 18px; }
    .container { padding: 0 12px; }
    .embed-code-text { font-size: 11px; }
    .live-search-item { padding: 10px 12px; }
    .bottom-nav-item { font-size: 10px; padding: 8px 2px; }
    .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { font-size: 16px; }
    .comment-form textarea { font-size: 16px; }
    .search-submit { padding: 14px 18px; font-size: 15px; }
}

/* Cok kucuk (360px) */
@media (max-width: 360px) {
    .site-title { font-size: 19px; }
    .share-btn span { display: none; } /* sadece ikon */
    .share-btn { padding: 8px 10px; }
    .breaking-label { padding: 6px 8px; font-size: 11px; }
    .cat-block-grid { gap: 10px; }
    .latest-excerpt { -webkit-line-clamp: 1; }
}

/* ============ ADANABZI OZEL GORUNUM ============ */
/* Modern kartlari: gri zemin uzerinde beyaz kartlar + yumusak golge */
.spot-item, .cat-news, .latest-item, .related-item,
.sidebar .widget, .single-article, .archive-list article,
.search-list article, .page-404, .content-main > .block-title-wrap {
    background: #fff;
    box-shadow: 0 1px 3px rgba(15,30,61,.08);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.single-article, .archive-list article, .search-list article, .page-404 {
    padding: 22px;
    margin-bottom: 22px;
}
.spot-item, .cat-news, .latest-item, .related-item { overflow: hidden; }

/* Kategori blok basligi: turuncu sol cizgi */
.cat-block-header { border-left: 4px solid var(--cat, var(--red)); padding-left: 10px; }
.block-title { border-left: 4px solid var(--red); padding-left: 10px; }
.widget-title, .gercek24-widget-title {
    border-left: 4px solid var(--red); padding-left: 10px;
}

/* Footer koyu lacivert */
.site-footer { background: var(--dark-2); }
.site-footer .widget-title, .site-footer .gercek24-widget-title { border-left-color: var(--red); }

/* Mobil menu lacivert */
.mobile-menu { background: var(--dark); }
.mobile-menu a { color: #cbd5e1; }
.mobile-menu a:hover { color: #fff; background: rgba(249,115,22,.15); }
.mobile-menu .mobile-menu-head { border-bottom-color: #1e3a5f; color: #e2e8f0; }
.mobile-menu-close { color: #e2e8f0; }

/* Bottom nav aktif: turuncu */
.bottom-nav-item.active, .bottom-nav-item:active { color: var(--red); }

/* Okuma metni hafif koyu */
.single-content { color: #374151; }

/* Spot item: gorsel solda + metin sagda (her ekranda) */
.spot-item a { flex-direction: row; align-items: center; }
.spot-item-img { flex: 0 0 118px; }
@media (max-width: 480px) {
    .spot-item a { flex-direction: row; align-items: center; }
    .spot-item-img { flex: 0 0 96px; width: auto; }
}
