/*
Theme Name: Hizli SEO
Author: Senin Kankan
Version: 1.0
*/

/* Temel Reset ve Ayarlar */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }
a { text-decoration: none; color: #333; }
a:hover { color: #0073aa; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e9ecef; 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: bold; color: #000; letter-spacing: -0.5px; }

/* Menü */
.main-navigation ul { list-style: none; display: flex; gap: 20px; }
.main-navigation ul li a { font-weight: 500; font-size: 15px; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Arama İkonu */
.search-trigger { cursor: pointer; margin-left: 20px; }
.header-search { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 15px; border-top: 1px solid #eee; text-align: center; }
.header-search input { padding: 10px; width: 80%; border: 1px solid #ddd; border-radius: 4px; }
.header-search.active { display: block; }

/* Anasayfa Grid */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; } /* 4 Sütun */
.post-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.post-thumb { height: 180px; overflow: hidden; background: #eee; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-content { padding: 15px; }
.post-cat { font-size: 11px; text-transform: uppercase; color: #0073aa; font-weight: bold; margin-bottom: 5px; display: block; }
.post-title { font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.post-title a { color: #111; }

/* Detay Sayfası & Sidebar */
/* Detay Sayfası Izgarası */
/* --- SAYFA DÜZENİ (Genişlik Ayarı) --- */
/* Detay Sayfası Izgarası */
.content-area { 
    display: grid; 
    /* 1fr: Kalan boşluğu içerik alsın */
    /* 350px: Sidebar sabit genişlik olsun */
    grid-template-columns: 1fr 350px; 
    gap: 40px; /* İki sütun arası boşluk */
    align-items: start; /* Yukarı hizala */
}

/* Mobilde tek sütuna düşür */
@media (max-width: 900px) {
    .content-area { grid-template-columns: 1fr; }
}
.single-post-content h1 { font-size: 32px; margin-bottom: 20px; line-height: 1.2; }
.post-meta { font-size: 13px; color: #666; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.entry-content { font-size: 18px; line-height: 1.8; color: #222; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { margin: 30px 0 15px; font-size: 24px; }

/* Sidebar Widget */
.widget-title { font-size: 18px; border-bottom: 2px solid #0073aa; padding-bottom: 10px; margin-bottom: 20px; display: inline-block; }
/* --- GÖRSELLİ YATAY SIDEBAR WIDGET (Modern & Ferah) --- */
.sidebar .widget {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: sticky;
    top: 30px;
    z-index: 10;
}

/* --- YENİ MODERN BAŞLIK TASARIMI --- */
.widget-title {
    font-size: 20px; /* Biraz daha kompakt ve şık boyut */
    font-weight: 700; /* 800'den 700'e düşürdük, kabalık gitti */
    color: #2d3436; /* Modern, yumuşak bir koyu gri/antrasit */
    margin-bottom: 30px; /* Başlık ile içerik arasını açtık */
    padding-bottom: 12px; /* Yazı ile alttaki çizgi arası boşluk */
    position: relative;
    letter-spacing: -0.3px; /* Harfleri hafifçe yaklaştırdık */
    /* border-bottom kodunu kaldırdık, kalabalık yapmasın */
}

/* Başlığın altındaki modern vurgu çizgisi */
.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px; /* Daha kısa, daha net bir çizgi */
    height: 3px; /* Biraz daha kalın ve belirgin */
    background: var(--main-color, #0073aa);
    border-radius: 1px; /* Köşeleri hafif yumuşattık */
}

/* --- Liste Yapısı (Aynı kalıyor) --- */
.sidebar-list { list-style: none; padding: 0; margin: 0; }

.sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 0;
    border: none;
}

.sidebar-list li:last-child { margin-bottom: 0; }

/* Görsel Alanı */
.sidebar-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 85px;
    border-radius: 6px; /* Resim köşelerini de başlık çizgisine uydurduk */
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Hafif bir derinlik */
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.sidebar-list li:hover .sidebar-thumb img { transform: scale(1.08); }

/* Yazı Alanı */
.sidebar-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85px;
}

.sidebar-list a {
    font-size: 16px;
    font-weight: 700; /* Linkleri de başlığa uyumlu modern kalınlıkta yaptık */
    line-height: 1.4;
    color: #2d3436; /* Başlık rengiyle aynı */
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list li:hover a { color: var(--main-color, #0073aa); }

.sidebar-list .time {
    font-size: 12px;
    color: #95a5a6; /* Tarih rengini de modernleştirdik */
    margin-top: 5px;
    font-weight: 500;
}
/* Liste Yapısı */
.sidebar-list { list-style: none; padding: 0; margin: 0; }

.sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Resim ile yazı arasını biraz açtık ferahlasın */
    margin-bottom: 25px; /* Maddeler arası boşluk */
    padding-bottom: 0;
    border: none; /* Maddeler arası çizgiyi de kaldırdık (daha sade olsun diye) */
}

/* İstersen maddeler arasına çizgi koymak için üstteki border:none'ı silip bunu açabilirsin:
.sidebar-list li { border-bottom: 1px solid #eee; padding-bottom: 20px; } 
*/

.sidebar-list li:last-child { margin-bottom: 0; }

/* Görsel Alanı */
.sidebar-thumb {
    flex-shrink: 0;
    width: 120px;   /* Genişliği biraz artırdık */
    height: 85px;   /* Yüksekliği oranladık */
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.sidebar-list li:hover .sidebar-thumb img { transform: scale(1.1); }

/* Yazı Alanı */
.sidebar-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Başlık ve tarihi ayır */
    min-height: 85px; /* Resim yüksekliğiyle eşitle */
}

.sidebar-list a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
    /* Başlık 2 satırdan fazla olursa ... koysun (çok şık durur) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-list li:hover a { color: var(--main-color, #0073aa); }

.sidebar-list .time {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    font-weight: 500;
}

/* Mobilde Tek Sütuna Düşür (Zaten vardı ama garanti olsun) */
@media (max-width: 900px) {
    .content-area { grid-template-columns: 1fr; }
}
.sidebar-list li a { font-weight: 500; display: block; margin-bottom: 5px; }
.sidebar-list .time { font-size: 11px; color: #999; }

/* Footer */
.site-footer { background: #222; color: #fff; padding: 40px 0; margin-top: 50px; text-align: center; }

/* Responsive / Mobil */
@media (max-width: 900px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .content-area { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .main-navigation.active { display: flex; }
    .main-navigation ul { flex-direction: column; gap: 15px; text-align: center; }
    .mobile-menu-toggle { display: block; }
    .post-grid { grid-template-columns: 1fr; } /* Mobilde tek sütun */
    .header-inner { padding: 10px 15px; }
}

/* Arşiv ve Sayfa Başlıkları */
.page-title { font-size: 24px; color: #222; margin: 0; }
.page-title span { color: #0073aa; } /* "Kategori:" yazısı vs otomatik gelirse renklendirir */
.archive-description { font-size: 16px; color: #666; margin-top: 10px; }

/* --- ZARİF & MİNİMALİST YAZAR KARTI (V3) --- */

.author-box {
    display: flex;
    gap: 35px;
    align-items: flex-start; /* Resmi yukarı hizala */
    /* Arka plan: Çok hafif bir gri tonu (veya #fff yapabilirsin) */
    background: #fdfdfd; 
    /* Kenarlık yok, sadece çok hafif bir ayrım */
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 35px;
    margin-top: 60px;
    margin-bottom: 40px;
    /* Gölge: Yok denecek kadar az, sadece derinlik hissi */
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
}

/* --- SOL Taraf: Resim --- */
/* --- RESİM DÜZELTME (Yumurta Kafa Fix) --- */
.author-img-wrapper img {
    /* Boyutları sabitle */
    width: 100px;
    height: 100px;
    
    /* Ezilmemesi için minimum boyutlar */
    min-width: 100px;
    min-height: 100px;
    
    /* Tam Daire */
    border-radius: 50%;
    
    /* Resim kare değilse bile içini doldurarak kırp (Sündürme yapmaz) */
    object-fit: cover; 
    
    /* Modern tarayıcılar için kesin çözüm: En-boy oranını 1'e 1 kilitler */
    aspect-ratio: 1 / 1; 

    /* Hafif gölge ve efektler */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

/* Resme gelince hafif oynasın */
.author-box:hover .author-img-wrapper img {
    transform: scale(1.05) rotate(-2deg);
}

/* --- SAĞ Taraf: İçerik --- */
.author-info {
    flex-grow: 1;
}

/* Başlık Alanı */
.author-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-info h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    font-family: inherit; /* Temanın kendi fontunu kullansın */
}

/* Zarif Rozet (Outline Style) */
.author-badge {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--main-color, #0073aa);
    border: 1px solid var(--main-color, #0073aa); /* İçi boş, sadece çerçeve */
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Biyografi Metni */
.author-bio {
    font-size: 15px;
    line-height: 1.8; /* Satır arasını açtık, ferahlasın */
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}

/* --- Zarif Link (Buton Yerine) --- */
.author-footer {
    display: flex;
    justify-content: flex-start;
}

.author-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-color, #0073aa);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

/* Linkin altına gelen çizgi efekti */
.author-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--main-color, #0073aa);
    transition: width 0.3s ease;
}

.author-link:hover::after {
    width: 100%; /* Üzerine gelince çizgi uzasın */
}

.author-link:hover {
    opacity: 0.8;
}

/* --- MOBİL --- */
@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 30px;
        gap: 20px;
    }
    
    .author-header {
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
    
    .author-link::after {
        width: 100%; /* Mobilde çizgi hep olsun, basılabildiği anlaşılsın */
        opacity: 0.3;
    }
}

/* --- BENZER HABERLER (Related Posts) --- */
.related-posts { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.related-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; position: relative; display: inline-block; }
.related-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--main-color, #0073aa); margin-top: 5px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { text-decoration: none; color: #333; group: transition; }
.related-card:hover h4 { color: var(--main-color, #0073aa); }

.related-thumb { height: 120px; overflow: hidden; border-radius: 8px; margin-bottom: 10px; background: #f0f0f0; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-thumb img { transform: scale(1.05); }

.related-card h4 { font-size: 15px; margin: 0; line-height: 1.4; font-weight: 600; }
.no-img { display: block; width: 100%; height: 100%; background: #eee; }

@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* --- YAPIŞKAN SIDEBAR --- */
aside.sidebar {
    position: -webkit-sticky; /* Safari için */
    position: sticky;
    top: 20px; /* Üstten 20px boşluk bırakıp yapışsın */
    height: fit-content; /* İçeriği kadar yer kaplasın */
}

/* --- TRENDING BAR (UK STYLE) --- */
.trending-bar-wrapper {
    background: #f8f9fa; /* Çok açık gri zemin */
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 30px;
}

.trending-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.trending-label {
    background: #2d3436; /* Koyu antrasit */
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trending-list {
    display: flex;
    gap: 25px;
    overflow: hidden;
    white-space: nowrap;
}

.trending-item {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.trending-item:hover {
    color: var(--main-color, #0073aa);
}

.trend-icon {
    color: #f1c40f; /* Sarı şimşek ikonu */
}

/* Mobilde sadece 1 tanesini göster veya kaydırılabilir yap */
@media (max-width: 768px) {
    .trending-list {
        overflow-x: auto; /* Yana kaydırma */
        padding-bottom: 5px; /* Scrollbar için yer */
    }
    .trending-label { display: none; } /* Mobilde yer kaplamasın */
}

/* --- BRITISH NEWS FOOTER (Dark Authority Style) --- */

.site-footer {
    background-color: #121212; /* Tam siyah değil, çok koyu antrasit */
    color: #e0e0e0; /* Göz yormayan kırık beyaz */
    padding: 60px 0 20px;
    font-size: 14px;
    border-top: 4px solid var(--main-color, #0073aa); /* Üstte marka rengi çizgi */
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Yapısı */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* Sol taraf (logo) daha geniş */
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2a2a2a; /* Bölücü çizgi */
}

/* Başlıklar (Serif Font - İngiliz Stili) */
.footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Merriweather', serif; /* Eğer panelden seçmediysen buraya fallback koyduk */
    letter-spacing: 0.5px;
}

/* Linkler ve Menüler */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline; /* Klasik gazete stili hover */
    text-decoration-thickness: 1px;
}

/* Marka Sütunu */
.footer-logo { margin-bottom: 20px; }
.text-logo { font-size: 24px; font-weight: 900; color: #fff; font-family: 'Merriweather', serif; }

.footer-desc {
    color: #999;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 13px;
    max-width: 300px;
}

/* Sosyal İkonlar (Metin Tabanlı Modern Stil) */
.footer-social { display: flex; gap: 15px; }
.footer-social a {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #444;
    padding: 6px 12px;
    border-radius: 4px;
    transition: 0.2s;
}
.footer-social a:hover { background: #fff; color: #000; border-color: #fff; }

/* Alt Kısım */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.uk-badge {
    font-weight: bold;
    color: #888;
    background: #1a1a1a;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 30px;
    }
    .footer-desc { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* --- FOOTER HİZALAMA DÜZELTMESİ (SOLA YASLA) --- */

/* 1. Tüm footer metinlerini sola zorla */
.site-footer, 
.footer-container, 
.footer-grid, 
.footer-col {
    text-align: left !important;
    align-items: flex-start !important; /* Flex yapısı varsa sola çek */
}

/* 2. Logo resminin ortalanmasını engelle */
.footer-logo, 
.footer-logo a {
    display: block; /* Blok yap ki genişlik alabilsin */
    text-align: left;
}

.footer-logo img {
    margin: 0 !important; /* Sağdan soldan itmeyi iptal et */
    display: block;
    /* Eğer hala ortadaysa margin-right: auto ekle */
}

/* 3. Açıklama metnini sola yasla */
.footer-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important; /* Sağı boş bırak */
}

/* 4. Sol kenar boşluğunu ana içerikle eşitle (Gerekirse padding ile oyna) */
.footer-container {
    padding-left: 20px; /* Eğer içerik daha içerideyse bunu artırabilirsin (örn: 30px) */
    padding-right: 20px;
}

/* Mobilde ortalı kalsın istersen (İsteğe bağlı) */
@media (max-width: 900px) {
    .site-footer { text-align: center !important; }
    .footer-logo img { margin: 0 auto !important; }
    .footer-desc { margin: 0 auto 20px auto !important; }
    .footer-social { justify-content: center; }
}

/* --- HERO SECTION (MANŞET ALANI) --- */
.hero-section {
    margin-bottom: 50px;
    margin-top: 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol 2 birim, Sağ 1 birim (Asimetrik) */
    grid-template-rows: 250px 250px; /* Toplam 500px yükseklik */
    gap: 5px; /* Araları çok az açık, modern birleştirilmiş görünüm */
    border-radius: 12px;
    overflow: hidden; /* Köşeleri yuvarla */
}

/* 1. Yazı (Büyük Olan) - Sol tarafı komple kaplasın */
.main-hero {
    grid-column: 1 / 2;
    grid-row: 1 / 3; /* İki satırı da kapla */
    position: relative;
}

/* 2. ve 3. Yazı (Küçük Olanlar) - Sağ tarafta alt alta */
.sub-hero {
    grid-column: 2 / 3;
    position: relative;
}

/* Ortak Kart Yapısı */
.hero-card {
    position: relative;
    overflow: hidden;
}

.hero-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* Resim Ayarları */
.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Zoom Efekti */
.hero-card:hover .hero-image img {
    transform: scale(1.05);
}

/* Overlay (Resmin üzerine binen karartma) */
.hero-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    /* Aşağıdan yukarıya doğru koyulaşan gradient */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.85) 100%);
}

/* İçerik (Yazılar) */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Küçük kutularda padding'i azalt */
.sub-hero .hero-content { padding: 20px; }

.hero-cat {
    background: var(--main-color, #0073aa);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    display: inline-block;
}

.hero-title {
    color: #fff;
    font-size: 32px; /* Büyük başlık */
    font-weight: 800; /* Kalın manşet */
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Okunabilirlik gölgesi */
}

/* Küçük kutularda başlık boyutu */
.sub-hero .hero-title { font-size: 18px; font-weight: 700; line-height: 1.3; }

.hero-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* --- ALT HABER AKIŞI (NEWS GRID) --- */
.section-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.section-head h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    color: #222;
}

.head-line {
    width: 100%;
    height: 2px;
    background: #eee;
    position: relative;
}
/* Çizginin başına renkli vurgu */
.head-line::after { content:''; position: absolute; left:0; top:0; height:100%; width:50px; background: var(--main-color, #0073aa); }

/* Grid Yapısı (2'li Sütun) */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Sütun */
    gap: 30px;
}

.news-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-thumb {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }

.news-cat {
    color: var(--main-color, #0073aa);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.news-title { font-size: 18px; margin: 0 0 10px 0; line-height: 1.35; }
.news-title a { color: #222; text-decoration: none; font-weight: 700; transition: color 0.2s; }
.news-card:hover .news-title a { color: var(--main-color, #0073aa); }

.news-excerpt { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.news-date { font-size: 12px; color: #999; }

/* Mobilde Düzenleme */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Tek sütuna düş */
        grid-template-rows: auto;
        height: auto;
    }
    .main-hero, .sub-hero { grid-column: auto; grid-row: auto; height: 250px; }
    .news-grid { grid-template-columns: 1fr; } /* Haberler alt alta */
}

/* --- V6 BLOK SİSTEMİ CSS --- */

.block-section { margin-bottom: 50px; }
.section-title { font-size: 20px; font-weight: 800; margin-bottom: 25px; border-left: 4px solid var(--main-color); padding-left: 15px; }

/* 1. HERO BLOK (Asimetrik) */
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; height: 500px; }
.hero-card { position: relative; overflow: hidden; border-radius: var(--global-radius); }
.main-hero { grid-row: span 2; }
.hero-image { height: 100%; width: 100%; }
.hero-image img { height: 100%; width: 100%; object-fit: cover; transition: 0.5s; }
.hero-card:hover .hero-image img { transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.hero-content { position: absolute; bottom: 0; padding: 25px; width: 100%; box-sizing: border-box; }
.hero-title { color: #fff; margin: 0; font-size: 24px; text-shadow: 0 2px 5px rgba(0,0,0,0.3); }
.main-hero .hero-title { font-size: 36px; }
.cat-badge { background: var(--main-color); color: #fff; padding: 3px 8px; font-size: 10px; font-weight: bold; border-radius: 4px; text-transform: uppercase; margin-bottom: 8px; display: inline-block; }

/* 2. GRID BLOK (3'lü) */
.news-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-card { display: flex; flex-direction: column; gap: 15px; }
.grid-thumb { height: 180px; overflow: hidden; border-radius: var(--global-radius); }
.grid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.grid-card:hover .grid-thumb img { transform: scale(1.05); }
.grid-body h4 { margin: 0; font-size: 17px; line-height: 1.4; }
.grid-body a { text-decoration: none; color: #222; font-weight: 700; }

/* 3. FOCUS BLOK (Karanlık Özel Seçim) */
.block-focus { background: #1a1a1a; padding: 30px; border-radius: var(--global-radius); color: #fff; }
.focus-inner { display: flex; gap: 30px; align-items: center; }
.focus-img { flex: 1; height: 300px; border-radius: var(--global-radius); overflow: hidden; }
.focus-img img { width: 100%; height: 100%; object-fit: cover; }
.focus-content { flex: 1; }
.focus-label { color: var(--main-color); font-weight: 900; letter-spacing: 2px; font-size: 12px; }
.focus-content h2 a { color: #fff; text-decoration: none; font-size: 32px; font-weight: 800; line-height: 1.2; }
.focus-content p { color: #ccc; margin: 15px 0 25px; line-height: 1.6; }
.focus-btn { background: #fff; color: #000; padding: 10px 25px; text-decoration: none; font-weight: bold; border-radius: 30px; display: inline-block; }

/* 4. LIST BLOK (Yatay) */
.list-layout { display: flex; flex-direction: column; gap: 20px; }
.list-item { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.list-item:last-child { border: none; padding: 0; }
.list-thumb { width: 120px; height: 80px; flex-shrink: 0; border-radius: var(--global-radius); overflow: hidden; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-info h4 { margin: 0; font-size: 16px; }
.list-info a { text-decoration: none; color: #333; font-weight: 600; }
.cat-small { font-size: 10px; color: #999; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 5px; }

/* Mobil */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; height: auto; }
    .main-hero, .sub-hero { grid-row: auto; height: 250px; }
    .news-grid-3 { grid-template-columns: 1fr; }
    .focus-inner { flex-direction: column; }
    .focus-img { width: 100%; height: 200px; }
}

/* --- SIDEBARSIZ MOD (Full Width) --- */

/* 1. Normalde Grid sistemimiz (Sidebar VARKEN) */
.content-area {
    display: grid;
    grid-template-columns: 1fr 350px; /* İçerik + Sidebar */
    gap: 40px;
}

/* 2. Sidebar YOKSA (Panelden kapattıysan) */
.content-area.no-sidebar {
    grid-template-columns: 1fr; /* Tek sütun, tam genişlik */
}

/* Sidebar yoksa Grid bloğu 4 sütun olsun */
.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Sidebar yoksa List bloğu da 2'li grid olsun (çok yayvan durmasın) */
.list-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.list-layout-grid .list-item { border: 1px solid #eee; padding: 15px; border-radius: var(--global-radius); }
.list-layout-grid .list-item:last-child { border: 1px solid #eee; } /* Çizgiyi geri getir */

/* Mobilde her şeyi tek sütuna düşür */
@media (max-width: 900px) {
    .content-area, .content-area.no-sidebar { grid-template-columns: 1fr; }
    .news-grid-4 { grid-template-columns: 1fr; }
    .list-layout-grid { grid-template-columns: 1fr; }
}

/* --- CORNER RADIUS FIX (KÖŞE DÜZELTME YAMASI) --- */

/* 1. Manşet Alanı (Hero) Kapsayıcısı */
.hero-grid {
    border-radius: var(--global-radius) !important;
    /* Eğer kapsayıcı ovalse taşanları gizle, değilse serbest bırak */
    overflow: hidden !important; 
}

/* 2. Tüm Kartlar ve Resim Kutuları */
.hero-card,
.news-thumb,
.grid-thumb,
.list-thumb,
.focus-img,
.block-focus,
.sidebar-thumb,
.sidebar .widget, /* Sidebar widget'ı (arka plan varsa) */
.related-thumb {
    border-radius: var(--global-radius) !important;
}

/* 3. İçerideki Resimler (Gerekirse) */
.hero-image img,
.news-thumb img,
.grid-thumb img,
.list-thumb img {
    border-radius: var(--global-radius) !important;
}

/* 4. Focus Blok Özel Düzeltme */
.block-focus {
    overflow: hidden !important; /* Köşelerin keskinleşmesi için taşmayı gizle */
}

/* --- YENİ MAKALE DÜZENİ (Grid) --- */
.article-container {
    display: grid;
    /* Sol: 50px (ikonlar için), Sağ: 1fr (kalan alan metin için) */
    grid-template-columns: 50px 1fr; 
    gap: 10px; /* Metin ile ikonlar arasındaki "nefes alma" boşluğu */
    position: relative;
    margin-top: 30px;
}

/* Sol Sütun ve Yapışkanlık */
.share-column {
    display: block;
    height: 100%; /* İçerik boyunca uzasın */
}

.sticky-share-box {
    position: sticky;
    top: 100px; /* Üstten 100px boşlukla yapışsın (Header'a çarpmasın) */
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* --- ZARİF PAYLAŞIM İKONLARI (Minimalist) --- */
.clean-share {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0; /* Varsayılan: Açık Gri (Çok soft) */
    border: 1px solid #e0e0e0; /* İncecik bir çerçeve */
    border-radius: 50%; /* Tam yuvarlak */
    background: transparent; /* Arka plan yok */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak animasyon */
}

.clean-share svg {
    width: 16px; /* İkonlar küçük ve kibar */
    height: 16px;
    fill: currentColor;
}

/* Hover Efektleri (Üzerine gelince marka rengini alır) */
.clean-share:hover {
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px); /* Hafifçe yukarı kalkar */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Soft gölge */
}

.clean-share.tw:hover { background-color: #000; }
.clean-share.fb:hover { background-color: #1877f2; }
.clean-share.wa:hover { background-color: #25d366; }

/* Okuma Süresi (İkonların altında minik bilgi) */
.mini-read-time {
    font-size: 10px;
    color: #ccc;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    writing-mode: vertical-rl; /* Dikey yazı (çok havalı durur) */
    text-orientation: mixed;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- MOBİL UYUM (Mobilde yapışkan alt bar'a dönüş) --- */
@media (max-width: 900px) {
    .article-container {
        display: block; /* Grid'i iptal et */
        gap: 0;
    }
    
    .share-column {
        display: none; /* Mobilde sol tarafı gizle, içerik genişlesin */
    }
    
    /* Mobilde içerik tam genişlik */
    .article-container .entry-content {
        width: 100%;
    }

    /* Mobilde Alt Sabit Bar (Önceki kodu koruyabilir veya bunu kullanabilirsin) */
    /* ... Mobilde sabit bar kodu ... */
}

/* --- EDITORIAL TIMELINE TOC (Modern & Minimalist) --- */

.editorial-toc-wrapper {
    margin: 40px 0 50px 0;
    padding-left: 10px; /* Soldan hafif boşluk */
    font-family: 'Inter', -apple-system, sans-serif; /* Okunaklı modern font */
    position: relative;
    max-width: 800px;
}

/* Başlık: İtalik ve Zarif (New York Times stili) */
.toc-label {
    font-family: 'Merriweather', serif; /* Senin Serif fontun */
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    color: #222;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Başlığın altına minik bir vurgu çizgisi */
.toc-label::after {
    content: '';
    display: block;
    width: 40%;
    height: 3px;
    background: var(--main-color, #0073aa);
    margin-top: 5px;
    border-radius: 2px;
}

/* Timeline Çizgisi */
.toc-timeline {
    position: relative;
    padding-left: 15px; /* Çizgi için yer aç */
}

/* Sol Taraftaki Gri Çizgi (Yol) */
.toc-list {
    border-left: 2px solid #e0e0e0; /* İnce gri yol */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.toc-list li {
    list-style: none !important;
    margin-bottom: 0 !important; /* Birleşsinler diye */
    padding-bottom: 20px; /* Maddeler arası dikey mesafe */
    padding-left: 25px; /* Çizgiden uzaklık */
    position: relative;
}

/* --- NOKTALAR (DURAKLAR) --- */

/* Ortak Nokta Ayarı */
.toc-list li::before {
    content: '';
    position: absolute;
    left: -7px; /* Çizginin tam ortasına oturt (Çizgi 2px, Nokta 12px -> -6 + -1) */
    top: 5px; /* Metinle hizala */
    border-radius: 50%;
    background: #fff; /* İçi boş görünsün */
    border: 2px solid #ccc; /* Gri çerçeve */
    transition: all 0.3s ease;
    z-index: 1;
}

/* H2 (Ana Başlık) Noktası */
.toc-node-main::before {
    width: 12px;
    height: 12px;
    border-width: 2px;
}

/* H3 (Alt Başlık) Noktası - Daha küçük */
.toc-node-sub::before {
    width: 8px;
    height: 8px;
    left: -5px; /* Ortalama ayarı */
    top: 7px;
    background: #e0e0e0; /* İçi dolu gri */
    border: none;
}

/* H3 Girintisi */
.toc-node-sub {
    margin-left: 10px;
}

/* --- ETKİLEŞİM (HOVER) --- */

/* Link Tasarımı */
.toc-link {
    text-decoration: none !important;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
    display: block;
    border: none !important;
}

/* Hover Efekti: Link */
.toc-list li:hover .toc-link {
    color: var(--main-color, #0073aa);
    transform: translateX(5px); /* Hafif sağa kayar */
}

/* Hover Efekti: Nokta Rengi Değişir */
.toc-list li:hover::before {
    border-color: var(--main-color, #0073aa);
    background: var(--main-color, #0073aa); /* İçi dolar */
    transform: scale(1.2); /* Hafif büyür */
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); /* Glow efekti */
}

/* Mobilde Uyum */
@media (max-width: 600px) {
    .editorial-toc-wrapper {
        margin: 30px 0;
        padding: 0;
    }
}

/* --- READING PROGRESS BAR --- */
.read-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px; /* Çok ince ve zarif */
    background: var(--main-color, #0073aa); /* Tema rengi */
    z-index: 99999; /* Her şeyin üstünde */
    transition: width 0.1s; /* Takılmadan aksın */
    box-shadow: 0 0 0px var(--main-color, #0073aa); /* Hafif neon parlama */
}

/* --- SMART SCROLL TOP BUTTON --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #fff;
    color: #333;
    border-radius: 50%; /* Tam yuvarlak */
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column; /* Yazı ve ikon alt alta */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
    border: 2px solid transparent;
}

/* Görünür Olduğunda (JS ekler) */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover Durumu */
.scroll-top-btn:hover {
    background: var(--main-color, #0073aa);
    color: #fff;
    transform: scale(1.1); /* Biraz büyüsün */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: #fff;
}

/* Yüzde Metni */
.scroll-val {
    font-size: 9px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    margin-bottom: 2px;
}

/* Ok İkonu */
.scroll-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Mobilde Butonu Küçült (Çok yer kaplamasın) */
@media (max-width: 600px) {
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    .scroll-val { font-size: 8px; }
    .scroll-icon { width: 12px; height: 12px; }
}
/* --- COPY LINK BUTTON --- */
.clean-share.cp {
    border: 1px solid #e0e0e0; /* İncecik bir çerçeve */
    cursor: pointer;
    background: transparent;
}
.clean-share.cp:hover {
	width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0; /* Varsayılan: Açık Gri (Çok soft) */
    border: 1px solid #e0e0e0; /* İncecik bir çerçeve */
    border-radius: 50%; /* Tam yuvarlak */
    background: transparent; /* Arka plan yok */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak animasyon */

}

/* --- TOAST NOTIFICATION (Bildirim) --- */
#toast-message {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 50px; /* Hap şeklinde */
    padding: 12px 20px;
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

#toast-message.toast-visible {
    visibility: visible;
    opacity: 1;
    bottom: 50px; /* Yukarı doğru kayarak gelir */
}

/* --- MEDIUM STYLE LIGHTBOX (Zoom) --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95); /* Çok hafif şeffaf beyaz */
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
}

.lightbox-close:hover { color: red; }

/* --- FLAT DESIGN MODE (NO SHADOWS) --- */

/* 1. Tüm Kartlar, Kutular, Header ve Sidebar */
.site-header,
.grid-card,
.list-item,
.sidebar .widget,
.premium-toc,           /* İçindekiler Tablosu */
.related-card,          /* Benzer Yazılar */
.author-box,            /* Yazar Kutusu */
.sticky-share-box,      /* Paylaşım Kutusu */
.scroll-top-btn,        /* Yukarı Çık Butonu */
#toast-message,         /* Bildirim Baloncuğu */
.lightbox-overlay img { /* Zoom yapılan resim */
    box-shadow: none !important; /* Gölgeyi SİL */
}

/* 2. Butonlar ve Form Alanları */
.s-btn, 
.clean-share,
.read-time,
.toc-toggle,
input[type=text], 
input[type=url], 
textarea, 
select,
button {
    box-shadow: none !important;
}

/* 3. Yazı Gölgeleri (Varsa siler) */
h1, h2, h3, h4, h5, h6, body, a {
    text-shadow: none !important;
}

/* 4. Admin Panelindeki Kartlar (Opsiyonel: Panelde de gölge istemiyorsan) */
.panel-card {
    box-shadow: none !important;
    border: 0px solid #ddd !important;
}

/* --- %100 GARANTİLİ CSS MENÜ (V4.0) --- */

/* 1. Checkbox'ı Gizle (Motor bu ama görünmesin) */
.nav-toggle { display: none; }
.mobile-overlay { display: none; }

/* 2. Masaüstü Varsayılanlar */
.nav-toggle-label { display: none; }
.menu-close-btn { display: none; }
.header-search { display: none; position: absolute; top: 100%; right: 0; background: #fff; padding: 15px; border: 1px solid #eee; z-index: 2000; width: 300px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.header-search.open { display: block; }

/* 3. MOBİL GÖRÜNÜM (900px ALTI) */
@media (max-width: 900px) {

    /* --- HAMBURGER İKONU TASARIMI --- */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        margin-left: auto;
        cursor: pointer;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 10002;
    }
    /* Çizgiler */
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: #333;
        height: 2px;
        width: 100%;
        position: absolute;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .nav-toggle-label span { top: 14px; }
    .nav-toggle-label span::before { content: ''; top: -8px; }
    .nav-toggle-label span::after { content: ''; top: 8px; }

    /* Arama İkonunu Gizle (Mobilde kalabalık etmesin) */
    .search-trigger { display: none !important; }

    /* --- MENÜ KUTUSU (BAŞLANGIÇTA GİZLİ) --- */
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%; /* Ekran dışı */
        width: 280px;
        height: 100vh;
        background: #ffffff !important; /* Arkaplan kesin beyaz */
        z-index: 10005; /* En tepede */
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 20px rgba(0,0,0,0.1);
        display: block !important; /* JS gizlemesin diye */
    }

    .nav-inner {
        padding: 60px 20px 20px;
        height: 100%;
        overflow-y: auto;
    }

    /* Link Tasarımları */
    .main-navigation ul { margin: 0; padding: 0; list-style: none; }
    .main-navigation li { border-bottom: 1px solid #f5f5f5; }
    .main-navigation a { display: block; padding: 15px 0; color: #333; text-decoration: none; font-weight: 600; }

    /* --- SİHİRLİ KISIM: AÇILMA MANTIĞI --- */
    /* Checkbox işaretliyse (checked) menüyü getir */
    #nav-toggle:checked ~ .main-navigation {
        left: 0;
    }

    /* --- OVERLAY (KARARTMA) --- */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 10004;
        display: none; /* Başlangıçta yok */
        backdrop-filter: blur(2px);
    }

    /* Checkbox işaretliyse Overlay'i göster */
    #nav-toggle:checked ~ .mobile-overlay {
        display: block;
    }

    /* --- İÇERİDEKİ KAPATMA BUTONU --- */
    .menu-close-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 30px;
        background: #f5f5f5;
        border-radius: 50%;
        cursor: pointer;
        line-height: 1;
        color: #333;
    }

    /* Menü açılınca body kaymasın (Opsiyonel ama iyi olur) */
    body:has(#nav-toggle:checked) {
        overflow: hidden;
    }
}

/* --- ARAMA KUTUSU DÜZELTMESİ (SON VE KESİN) --- */

.header-search { 
    display: none; 
    position: absolute !important; 
    top: 100% !important; 
    
    /* İŞTE SİHİR BURADA: */
    right: 0 !important; /* Sağa yapıştır */
    left: auto !important; /* Sola gitmesini yasakla */
    
    background: #fff; 
    padding: 15px; 
    border: 1px solid #eee; 
    z-index: 9999; 
    width: 300px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border-radius: 0 0 8px 8px;
}

/* JS ile açıldığında */
.header-search.open { 
    display: block !important; 
    animation: slideDown 0.2s ease;
}

/* Mobilde gizle */
@media (max-width: 900px) {
    .header-search { display: none !important; }
}

/* --- MODERN ARCHIVE / KATEGORİ TASARIMI --- */

/* 1. Başlık Alanı */
.archive-header {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #eee;
}

.archive-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.archive-title {
    font-size: 32px;
    margin: 0 0 10px;
    color: #222;
}

.archive-desc {
    color: #666;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

/* 2. Grid Yapısı (Izgara) */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Varsayılan 2 sütun */
    gap: 25px;
}

/* Sidebar yoksa 3 sütun yap */
.full-width .archive-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* 3. Kart Tasarımı */
.archive-card h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.archive-card .excerpt {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* 4. Sayfalama (Pagination) */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 5px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0 10px;
    transition: 0.2s;
}

.pagination a:hover, .pagination span.current {
    background: var(--main-color, #0073aa);
    color: #fff;
    border-color: var(--main-color, #0073aa);
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .archive-grid, .full-width .archive-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .archive-title { font-size: 24px; }
}

/* --- LAYOUT FIX (KATEGORİ SAYFASI DÜZELTME) --- */

/* 1. Ana Taşıyıcıyı Esnek Yap */
.site-content .main-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start; /* Yukarı hizala */
    width: 100%;
}

/* 2. İçerik Alanı (Sol Taraf) */
.content-area {
    flex: 1; /* Kalan tüm boşluğu doldur */
    min-width: 0; /* CSS Grid taşmasını önlemek için kritik */
    width: 100%; /* Garanti olsun */
}

/* 3. Grid Kart Görünümü Düzeltmesi */
.archive-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden; /* Taşmaları gizle */
}

.archive-card .grid-thumb img {
    width: 100%;
    height: 200px; /* Görseller eşit boyda olsun */
    object-fit: cover; /* Resmi sündürmeden kırp */
    display: block;
}

/* 4. Sidebar (Sağ Taraf - Eğer Varsa) */
.sidebar {
    width: 300px; /* Sabit genişlik */
    flex-shrink: 0; /* Asla küçülme */
}

/* Sidebar kapalıysa (full-width) */
.full-width .content-area {
    flex: 100%;
}

/* MOBİL UYUMU */
@media (max-width: 900px) {
    .site-content .main-grid {
        flex-direction: column; /* Alt alta indir */
    }
    .sidebar {
        width: 100%;
        margin-top: 30px;
    }
    /* Mobilde grid tek sütun olsun */
    .archive-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   💎 PREMIUM UI UPGRADE (CİLALAMA PAKETİ)
   ========================================= */

/* 1. KARTLARA DERİNLİK KATALIM (SOFT SHADOWS) */
/* Eski sert çizgileri (border) kaldırıp, havalı gölgeler ekliyoruz */
.post-card, .grid-card, .archive-card {
    border: none !important; /* Çizgiyi sil */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08) !important; /* Yumuşak gölge */
    transition: all 0.3s ease;
}

.post-card:hover, .grid-card:hover {
    transform: translateY(-5px); /* Yukarı kalkış */
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15) !important; /* Gölge uzasın */
}

/* 2. HERO ALANINI "SİNEMATİK" YAPALIM */
.hero-overlay {
    /* Basit karartma yerine, profesyonel 'scrim' gradient */
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.2) 40%, 
        rgba(0,0,0,0.8) 80%, 
        rgba(0,0,0,0.95) 100%
    ) !important;
}

.hero-title {
    /* Başlık harflerini biraz sıkılaştır (Modern görünüm) */
    letter-spacing: -0.5px;
    line-height: 1.15;
    /* Yazının altına hafif gölge at ki resim beyazsa bile okunsun */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}

/* Kategori Etiketlerini (Badge) Özelleştir */
.cat-badge, .news-cat, .hero-cat {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important; /* Harfleri aç */
    text-transform: uppercase;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    /* Neon etkisi (Hafif parlama) */
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.2); 
}

/* 3. LİSTE (LIST) GÖRÜNÜMÜNÜ TEMİZLE */
/* Alt çizgileri daha zarif yapalım */
.list-item {
    border-bottom: 1px solid rgba(0,0,0,0.05) !important; /* Çok silik çizgi */
    padding-bottom: 25px !important;
    margin-bottom: 25px !important;
}

.list-thumb {
    /* Resimlere hafif kavis verelim */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 4. FOCUS (EDITOR'S PICK) ALANINI "PATLAT" */
.block-focus {
    /* Simsiyah yerine çok koyu lacivert/antrasit daha zengin durur */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3436 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Focus alanına hafif bir parlama efekti */
.block-focus::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.focus-content h2 a {
    /* Focus başlığına altını çizme efekti */
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
    padding-bottom: 5px;
}

.focus-content h2 a:hover {
    background-size: 100% 2px;
}

/* 5. SIDEBAR WIDGET BAŞLIKLARI (Minimalist & Modern) */
.widget-title {
    font-size: 14px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888 !important; /* Gri yap */
    border-bottom: none !important; /* Çizgiyi kaldır */
    position: relative;
    padding-left: 15px;
    margin-bottom: 25px !important;
}

/* Soluna dikey çizgi koy (Dergi stili) */
.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    background: var(--main-color);
    border-radius: 2px;
}
.widget-title::after { display: none; } /* Eski yatay çizgiyi sil */

/* 6. GÖRSEL DÜZELTMELERİ (Resimler daha canlı dursun) */
img {
    /* Resimlerin kontrastını çok hafif artır */
    filter: contrast(1.02); 
}

/* Grid kartlarındaki yazı fontlarını hiyerarşiye sok */
.grid-body h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 10px !important;
}

.date-meta {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
}

/* =========================================
   🚑 GRID CARD SPACING FIX (YAMA)
   ========================================= */

/* 1. Anasayfa Grid Kartlarını Düzenle */
.grid-card {
    background: #fff;       /* Kartın içi kesinlikle beyaz olsun */
    overflow: hidden;       /* Resim köşelerden taşmasın */
    gap: 0 !important;      /* Eski boşluğu sıfırla, padding ile vereceğiz */
    border-radius: var(--global-radius) !important; /* Panelden gelen ovallik */
}

/* 2. Yazı Alanına Nefes Aldır (Padding) */
.grid-body {
    padding: 10px 15px;     /* Üst/Alt: 20px, Sağ/Sol: 25px */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3. Tarih ve Başlık Arasını Aç */
.grid-body .date-meta {
    margin-bottom: 5px !important;
    display: block;
}

/* 4. Resim İle Yazı Arasındaki Boşluk Dengesi */
.grid-thumb {
    margin: 0 !important;   /* Resimde dış boşluk olmasın */
    width: 100%;
    display: block;
}

/* 5. List Görünümü İçin de Benzer Koruma (Eğer orada da varsa) */
.list-item {
    background: #fff;
    padding: 10px !important; /* Dış çerçeve boşluğu */
    border-radius: var(--global-radius);
    align-items: center; /* Dikeyde ortala */
}

/* =========================================
   ✨ MICRO-INTERACTIONS (CANLILIK PAKETİ)
   ========================================= */

/* 1. RESİMLERE 'NEFES ALDIRAN' ZOOM EFEKTİ */
/* Kartın üzerine gelince resim çok hafif yaklaşsın */
.grid-card:hover .grid-thumb img,
.post-card:hover .post-thumb img,
.list-item:hover .list-thumb img,
.hero-card:hover .hero-image img {
    transform: scale(1.06) !important; /* %6 Büyüme */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Çok yumuşak geçiş */
}

/* Resim kapsayıcılarında taşmayı gizle ki dışarı çıkmasın */
.grid-thumb, .post-thumb, .list-thumb, .hero-image {
    overflow: hidden !important; 
}

/* 2. LİNKLER İÇİN 'MAGNETİK' ALT ÇİZGİ */
/* Yazı içerisindeki linklerin altı hover'da soldan sağa dolsun */
.entry-content p a {
    position: relative;
    text-decoration: none;
    color: var(--main-color);
    font-weight: 600;
}

.entry-content p a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--main-color);
    transition: width 0.3s ease-in-out;
}

.entry-content p a:hover::after {
    width: 100%; /* Çizgi uzar */
}

/* 3. BUTONLARA 'TIKLAMA' HİSSİ (PRESS EFFECT) */
/* Butona basınca (active) hafifçe içeri göçsün */
.s-btn, .submit-button, button, .focus-btn {
    transition: all 0.2s;
}

.s-btn:active, .submit-button:active, button:active, .focus-btn:active {
    transform: scale(0.96); /* Hafif küçülme */
    opacity: 0.9;
}

/* 4. KART BAŞLIKLARINA RENK GEÇİŞİ */
/* Başlığa gelince renk aniden değil, yumuşakça değişsin */
.grid-card h4 a, .post-card h2 a, .list-item h4 a {
    transition: color 0.2s ease-in-out;
}

/* 5. AVATARLARA 'POP' EFEKTİ (Single.php'deki Yazar) */
.author-img-wrapper img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Yaylanma efekti */
}

.author-box:hover .author-img-wrapper img {
    transform: scale(1.1) rotate(3deg); /* Hem büyür hem hafif döner */
}

/* 6. LOGO PARLAMASI */
/* Logoya gelince hafif flu olup netleşsin (Apple tarzı) */
.logo a:hover {
    opacity: 0.7;
    transition: opacity 0.3s;
}

/* =========================================
   🏗️ NEW HYBRID LAYOUT (MELEZ DÜZEN)
   ========================================= */

/* 1. Kapsayıcı Ayarları */
.section-full-width {
    width: 100%;
    position: relative;
    /* Hero ve Grid alanlarını birbirinden ayır */
    margin-bottom: 0; 
}

/* 2. Vitrin Grid (4'lü Tam Boyut) */
.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 3. Split Layout (Sol İçerik + Sağ Sidebar) */
.section-split {
    padding: 50px 0; /* Üstten alttan boşluk */
    background: #fff;
}

.split-layout {
    display: grid;
    /* Sol: Esnek, Sağ: 350px Sabit */
    grid-template-columns: 1fr 350px; 
    gap: 50px; /* İki sütun arasını ferah tut */
    align-items: start;
}

/* 4. Liste Görünümünü İyileştirme */
.list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Yukarı hizala */
}

.list-thumb {
    width: 160px; /* Biraz büyüttük */
    height: 110px;
    flex-shrink: 0;
}

.list-info h4 {
    font-size: 19px; /* Başlığı büyüt */
    margin-bottom: 8px;
    font-weight: 700;
}

/* 5. MOBİL UYUM (RESPONSIVE) */
@media (max-width: 900px) {
    /* 4'lü gridi 2'ye düşür */
    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Split yapıyı tek sütuna düşür */
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Sidebar'ı biraz ayır */
    .sidebar {
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid #eee;
    }
}

@media (max-width: 600px) {
    /* En küçük ekranda 4'lü grid tek sütun olsun */
    .news-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .list-item {
        flex-direction: row; /* Mobilde de yan yana kalsın (daha şık) */
    }
    
    .list-thumb {
        width: 100px; /* Mobilde biraz küçült */
        height: 75px;
    }
    
    .list-info h4 { font-size: 16px; }
}

/* =========================================
   🎨 MODERN ICONS & WIDGET STYLES
   ========================================= */

/* 1. İkon Boyutları ve Hizalama */
.w-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle; /* Metinle ortala */
    margin-right: 4px; /* Yazıdan biraz uzaklaş */
    position: relative;
    top: -1px; /* İnce ayar */
    opacity: 0.7; /* Çok bağırmasın */
}

/* 2. Resim Olmayan Alan (Placeholder) */
.no-img-icon {
    display: flex;
    width: 100%;
    height: 100%;
    background: #f7f9fa;
    align-items: center;
    justify-content: center;
    border-radius: var(--global-radius);
}

/* 3. Tarih ve Meta Metinleri */
.sidebar-content .time {
    display: flex;
    align-items: center; /* İkon ve metni dikey ortala */
    font-size: 11px;
    color: #999;
    margin-top: 6px;
    font-weight: 600;
}

/* Link üzerine gelince ikon parlasın */
.sidebar-list li:hover .w-icon {
    color: var(--main-color);
    opacity: 1;
}

/* =========================================
   🔶 AL JAZEERA WIDGET - FIXED & ALIGNED
   ========================================= */

/* 1. BAŞLIK VE KIRMIZI ÇİZGİ HİZALAMASI */
.aj-title {
    display: flex !important;      /* Esnek kutu yap */
    align-items: center !important; /* Dikeyde tam ortala */
    gap: 12px;                     /* Çizgi ile yazı arası boşluk */
    margin-bottom: 25px !important;
    position: relative;
    /* Global stilden gelen paddingleri sıfırla ki kaymasın */
    padding: 0 !important; 
    border: none !important;
}

/* Temanın Global Kırmızı Çizgisini (varsa) Kontrol Altına Al */
.aj-title::before {
    position: static !important; /* Absolute olmasın, akışa girsin */
    display: inline-block;
    content: '';
    width: 4px;        /* Çizgi kalınlığı */
    height: 24px;      /* Çizgi yüksekliği (Yazı boyuna eşitledik) */
    background: var(--main-color, #d32f2f); /* Kırmızı renk */
    border-radius: 2px;
    margin: 0 !important; /* Dış boşlukları sıfırla */
}

/* Turuncu Nokta (İsteğe bağlı, kırmızı çizgi varsa bunu silebilirsin) */
.aj-dot {
    width: 6px;
    height: 6px;
    background-color: #ff9e22;
    border-radius: 50%;
    margin-left: 5px;
    display: inline-block;
}

/* 2. LİSTE YAPISI (CSS GRID İLE KESİN HİZALAMA) */
.aj-list {
    list-style: none !important;
    counter-reset: aj-counter;
    padding: 0 !important;
    margin: 0 !important;
}

.aj-item {
    display: grid;
    /* Sol: 40px (Numara Alanı), Sağ: 1fr (Yazı Alanı) */
    grid-template-columns: 40px 1fr; 
    gap: 15px; /* Numara ile yazı arası boşluk */
    align-items: start; /* Yukarı hizala */
    padding: 20px 0 !important; /* Dikey boşluk */
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.aj-item:last-child { border-bottom: none; }

/* 3. NUMARALAR (DEVASA VE ŞIK) */
.aj-item::before {
    counter-increment: aj-counter;
    content: counter(aj-counter);
    
    font-family: 'Times New Roman', serif; /* Al Jazeera fontuna benzer */
    font-size: 50px;       /* Puntosu büyük */
    line-height: 0.8;      /* Satır yüksekliğini kıs ki yukarı çıkmasın */
    font-weight: 400;
    color: #ccc;           /* Soluk gri */
    text-align: center;    /* Ortala */
    
    /* Optik hizalama için ince ayar */
    position: relative;
    top: 5px; 
}

/* 4. HABER BAŞLIĞI */
.aj-item a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    
    /* Başlığı numaranın tepesine optik olarak hizalamak için */
    margin-top: 5px; 
    display: block;
}

/* Hover Efekti */
.aj-item:hover a {
    color: var(--main-color, #d32f2f);
}

.aj-item:hover::before {
    color: var(--main-color, #d32f2f);
    opacity: 0.5;
}

/* =========================================
   🔶 AL JAZEERA WIDGET - OPTICAL FIX (V2)
   ========================================= */

/* 1. BAŞLIK VE KIRMIZI ÇUBUK DENGESİ */
.aj-title {
    display: flex !important;
    align-items: center !important; /* Dikeyde tam ortala */
    gap: 15px;                      /* Çizgi ile yazı arasını biraz aç */
    margin-bottom: 25px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1;                 /* Satır yüksekliğini sabitle */
}

/* Kırmızı Çubuğu Yazı Boyutuna Eşitle */
.aj-title::before {
    content: '';
    display: inline-block;
    width: 5px;             /* Biraz daha tok bir çizgi */
    height: 18px;           /* Yazı puntosuna (font-size) yakın yükseklik */
    background: var(--main-color, #d32f2f);
    border-radius: 1px;     /* Köşeleri hafif yumuşat */
    flex-shrink: 0;         /* Asla ezilmesin */
}

/* Başlık Yazısı */
.aj-title {
    font-family: 'Merriweather', serif; /* Varsa Serif font çok yakışır */
    font-size: 20px !important;
    font-weight: 400 !important;        /* İnce ve zarif */
    color: #333;
    letter-spacing: 0.5px;              /* Harfleri hafif aç */
    text-transform: uppercase;
}

/* Turuncu Nokta */
.aj-dot {
    width: 6px;
    height: 6px;
    background-color: #ff9e22;
    border-radius: 50%;
    margin-left: 2px;
    transform: translateY(-2px); /* Optik olarak yukarı kaldır */
}

/* 2. LİSTE VE NUMARA HİZALAMASI */
.aj-list {
    list-style: none !important;
    counter-reset: aj-counter;
    padding: 0 !important;
    margin: 0 !important;
}

.aj-item {
    display: grid;
    /* Sol: 50px (Numara), Sağ: Esnek (Yazı) */
    grid-template-columns: 50px 1fr; 
    gap: 10px;
    padding: 20px 0 !important;
    border-bottom: 1px solid #f5f5f5;
    align-items: start; /* Her ikisi de yukarıdan başlasın */
    position: relative;
}

.aj-item:last-child { border-bottom: none; }

/* 3. NUMARA (YUKARI ÇEKME OPERASYONU) */
.aj-item::before {
    counter-increment: aj-counter;
    content: counter(aj-counter);
    
    font-family: 'Georgia', 'Times New Roman', serif; /* Serif font şart */
    font-size: 48px;        /* Büyük punto */
    line-height: 0.7;       /* Satır aralığını daralt (Boşluğu al) */
    font-weight: 400;
    color: #e0e0e0;         /* Soluk gri */
    text-align: center;
    
    /* KRİTİK AYAR: Numarayı başlık hizasına çekmek için */
    margin-top: -6px;       /* Yukarı itele */
    display: block;
}

/* 4. HABER BAŞLIĞI */
.aj-item a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.4;       /* Okunabilir satır aralığı */
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    
    /* Başlığın tepesini numaranın tepesiyle eşitle */
    margin-top: 0; 
    display: block;
}

/* Hover Efektleri */
.aj-item:hover a {
    color: var(--main-color, #d32f2f);
}

.aj-item:hover::before {
    color: var(--main-color, #d32f2f); /* Numarayı da renklendir */
    opacity: 0.4;
}

/* =========================================
   🏗️ SİDEBAR KURTARMA OPERASYONU (LAYOUT FIX)
   ========================================= */

/* 1. Kapsayıcıyı İkiye Böl */
.split-layout {
    display: grid !important;
    /* Sol: Esnek, Sağ: 340px Sabit */
    grid-template-columns: 1fr 340px !important; 
    gap: 40px !important;
    align-items: start !important;
    width: 100%;
}

/* 2. Sidebar'a Görünürlük Ver */
aside.sidebar {
    display: block !important;
    width: 100% !important;
    min-height: 200px; /* Boş olsa bile yer kaplasın */
    position: sticky;
    top: 20px;
    z-index: 9;
}

/* 3. Sidebar İçeriğini Düzenle */
.sidebar-inner {
    width: 100%;
}

/* 4. Sol İçerik (Liste) Alanı */
.site-main {
    min-width: 0; /* Grid taşmasını önler */
}

/* 5. MOBİL UYUMU (Zorunlu) */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr !important; /* Mobilde tek sütun */
        gap: 30px !important;
    }
    aside.sidebar {
        position: static; /* Mobilde yapışmasın */
        margin-top: 20px;
        border-top: 1px solid #eee;
        padding-top: 30px;
    }
}

/* =========================================
   🏗️ FINAL LAYOUT CONTROLLER
   ========================================= */

/* 1. SEÇENEK: SPLIT LAYOUT (SIDEBAR VAR) */
.split-layout {
    display: grid !important;
    grid-template-columns: 1fr 340px !important; /* Sol Esnek, Sağ Sabit */
    gap: 50px !important;
    align-items: start !important;
    width: 100%;
}

/* Sidebar Görünürlüğü */
.split-layout aside.sidebar {
    display: block !important;
    position: sticky;
    top: 30px;
}

/* 2. SEÇENEK: CENTERED LAYOUT (SIDEBAR YOK) */
.centered-layout {
    display: block !important; /* Grid iptal */
    max-width: 900px !important; /* Okuma kolaylığı için daralt */
    margin: 0 auto !important;   /* Ortala */
}

/* Sidebar yoksa listeler biraz daha geniş yayılsın */
.centered-layout .list-item {
    padding: 30px 0 !important;
}

/* 3. MOBİL UYUMU (HER İKİSİ İÇİN) */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr !important; /* Tek sütuna düş */
        gap: 30px !important;
    }
    .split-layout aside.sidebar {
        position: static !important; /* Yapışkanlığı kapat */
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #eee;
    }
}

/* =========================================
   📱 MOBİL LİSTE İYİLEŞTİRMESİ (COMPACT MODE)
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. Özeti (Excerpt) Mobilde Gizle */
    .list-info p {
        display: none !important;
    }

    /* 2. Liste Elemanını Sıkılaştır */
    .list-item {
        align-items: center !important; /* Dikeyde ortala */
        padding: 15px 0 !important;     /* Boşlukları azalt */
        gap: 15px !important;           /* Resim ile yazı arasını ayarla */
    }

    /* 3. Resim Boyutunu Sabitle (Karemsi ve Net) */
    .list-thumb {
        width: 90px !important;     /* Genişlik sabit */
        height: 70px !important;    /* Yükseklik sabit */
        flex-shrink: 0;             /* Asla ezilme! */
    }
    
    /* 4. Başlık Fontunu Mobilde Optimize Et */
    .list-info h4 {
        font-size: 15px !important; /* Bir tık küçült */
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
        /* Başlık 3 satırı geçerse ... koysun (opsiyonel) */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 5. Kategori Yazısını Mobilde Küçült */
    .cat-small {
        font-size: 9px !important;
        margin-bottom: 3px !important;
    }
}

/* =========================================
   📱 MOBILE HERO FIX (ACİL DÜZELTME)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Hero Kart Yüksekliği */
    .hero-card.main-hero {
        height: 400px !important; /* Görsele biraz boy verelim */
    }

    /* 2. Başlık Boyutunu Küçült */
    /* Panelden 50px gelse bile mobilde 24px'e zorla */
    .hero-title {
        font-size: 24px !important; 
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    /* 3. İçerik Alanı */
    .hero-content {
        padding: 15px !important;
        /* Yazının arkasına daha koyu bir perde çekelim ki okunsun */
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%) !important;
    }

    /* 4. Alt Hero Kartları */
    .sub-hero .hero-title {
        font-size: 16px !important;
    }
}

/* =========================================
   🇬🇧 UK PREMIUM NEWS STYLE (V1.0)
   ========================================= */

/* --- TEMEL AYARLAR --- */
:root {
    --uk-dark: #1a1a1a;
    --uk-gray: #666;
    --uk-border: #e6e6e6;
    --uk-accent: #c00; /* İngiliz Kırmızısı */
    --font-head: 'Georgia', 'Merriweather', serif; /* Tırnaklı Font */
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-wrapper-premium { background: #f9f9f9; width: 100%; overflow-x: hidden; }
.uk-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.uk-section { padding: 50px 0; }
.bg-white { background: #fff; }
.bg-dark { background: #111; color: #fff; }
.border-top { border-top: 1px solid var(--uk-border); }

/* BAŞLIKLAR */
.uk-headline-xl { font-family: var(--font-head); font-size: 38px; font-weight: 700; line-height: 1.1; margin: 10px 0; color: #000; letter-spacing: -0.5px; }
.uk-headline-md { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.3; margin: 5px 0 10px; color: #000; }
.uk-headline-sm { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; color: #000; margin: 0; }

.uk-excerpt { font-family: var(--font-body); font-size: 16px; color: var(--uk-gray); line-height: 1.6; margin-bottom: 15px; }
.uk-cat-label { font-size: 10px; font-weight: 800; color: var(--uk-accent); text-transform: uppercase; letter-spacing: 1px; }
.uk-badge { background: var(--uk-accent); color: #fff; padding: 4px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; position: absolute; top: 0; left: 0; }

/* --- 1. HERO (SOL BÜYÜK + SAĞ LİSTE) --- */
.uk-hero { background: #fff; border-bottom: 1px solid var(--uk-border); padding-top: 40px; }
.uk-hero-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; }

/* Sol Taraf */
.hero-main .hero-link-main { text-decoration: none; color: inherit; display: block; }
.hero-img-wrap { position: relative; margin-bottom: 20px; overflow: hidden; }
.hero-img-wrap img { width: 100%; height: auto; display: block; transition: 0.5s; }
.hero-link-main:hover .hero-img-wrap img { transform: scale(1.03); }

/* Sağ Taraf (Haber Listesi) */
.hero-sub-list { display: flex; flex-direction: column; border-top: 1px solid #000; /* Üst Siyah Çizgi */ }
.hero-small-item { border-bottom: 1px solid var(--uk-border); padding: 15px 0; transition: 0.2s; }
.hero-small-item:hover { background: #fafafa; padding-left: 10px; }
.hero-link-small { text-decoration: none; display: flex; align-items: center; justify-content: space-between; }
.hero-link-small:hover .uk-headline-sm { color: var(--uk-accent); }

/* --- 2. GRID (VİTRİN) --- */
.uk-section-head { display: flex; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #000; padding-bottom: 10px; }
.uk-section-head h3 { font-family: var(--font-body); font-weight: 900; font-size: 18px; text-transform: uppercase; margin: 0; color: var(--uk-accent); }

.uk-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.uk-card { background: #fff; transition: 0.3s; }
.uk-card:hover { transform: translateY(-5px); }
.uk-card-img { display: block; height: 180px; overflow: hidden; margin-bottom: 15px; position: relative; }
.uk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.uk-card:hover img { transform: scale(1.1); }
.uk-cat-up { font-size: 10px; font-weight: 800; color: var(--uk-gray); text-transform: uppercase; display: block; margin-bottom: 5px; }
.uk-headline-md a { text-decoration: none; color: #000; transition: 0.2s; }
.uk-headline-md a:hover { color: var(--uk-accent); }
.uk-time { font-size: 11px; color: #999; }

/* --- 3. FOCUS (DARK) --- */
.uk-focus { padding: 60px 0; }
.focus-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.focus-content .uk-badge-outline { border: 1px solid var(--uk-accent); color: var(--uk-accent); padding: 4px 10px; font-size: 10px; font-weight: 800; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.focus-image img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.text-white { color: #fff !important; }
.text-gray { color: #aaa !important; }
.uk-btn-white { display: inline-block; margin-top: 20px; padding: 12px 25px; background: #fff; color: #000; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 12px; transition: 0.2s; }
.uk-btn-white:hover { background: var(--uk-accent); color: #fff; }

/* --- 4. LIST (SPLIT) --- */
.uk-split-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; }
.uk-full-layout { max-width: 800px; margin: 0 auto; }

.uk-feed-item { display: flex; gap: 25px; padding: 25px 0; border-bottom: 1px solid var(--uk-border); }
.uk-feed-item:last-child { border: none; }
.uk-feed-img { width: 220px; height: 140px; flex-shrink: 0; overflow: hidden; }
.uk-feed-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.uk-feed-item:hover .uk-feed-img img { opacity: 0.8; }
.uk-cat-up-sm { font-size: 10px; font-weight: 800; color: var(--uk-accent); text-transform: uppercase; }

/* Sidebar */
.uk-sidebar-sticky { position: sticky; top: 30px; border-top: 4px solid #000; padding-top: 20px; background: #f9f9f9; padding: 20px; }

/* --- RESPONSIVE (MOBİL) --- */
@media (max-width: 900px) {
    .uk-hero-grid { grid-template-columns: 1fr; }
    .hero-sub-list { border-top: none; margin-top: 20px; }
    
    .uk-grid-4 { grid-template-columns: 1fr; gap: 30px; }
    .uk-card { border-bottom: 1px solid var(--uk-border); padding-bottom: 20px; }
    .uk-card-img { height: 220px; }
    
    .focus-wrap { grid-template-columns: 1fr; text-align: center; }
    
    .uk-split-layout { grid-template-columns: 1fr; }
    .uk-feed-item { flex-direction: column; gap: 15px; }
    .uk-feed-img { width: 100%; height: 220px; }
    .uk-feed-txt { display: none; } /* Mobilde özeti kapat, sade olsun */
}

/* =========================================
   🚑 ACİL MÜDAHALE: TEMİZLİK & MOBİL AYARLAR
   ========================================= */

/* 1. GRİ ALANLARI YOK ET (BEYAZA ÇEK) */
body, 
.site-wrapper-premium, 
.site-content-wrapper {
    background-color: #ffffff !important; /* Arka planı bembeyaz yap */
}

/* Bölümler arası boşlukları ve renkleri sıfırla */
.uk-section {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important; /* Çok hafif çizgi kalsın */
    padding: 40px 0 !important; /* Dikey boşluğu biraz kıs */
}

/* Sadece Focus alanı koyu kalsın (Tercihen) */
.uk-focus {
    background-color: #111 !important; 
    margin-top: 0 !important;
    border-bottom: none !important;
}

/* 2. MOBİL FONT VE YAPI AYARLARI (GODZILLA'YI EVCİLLEŞTİRME) */
@media (max-width: 768px) {
    
    /* --- HERO BÖLÜMÜ --- */
    .hero-main .uk-headline-xl {
        font-size: 24px !important; /* 38px'den 24px'e düşür */
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    .hero-main .uk-excerpt {
        display: none !important; /* Mobilde özeti kapat, yer aç */
    }
    .hero-img-wrap {
        height: 220px !important; /* Görsel boyunu sabitle */
    }
    
    /* Yan Haberler (Hero Altı) */
    .uk-headline-sm {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* --- GRID BÖLÜMÜ --- */
    .uk-grid-4 {
        grid-template-columns: 1fr !important; /* Tek sütun */
        gap: 20px !important;
    }
    .uk-card {
        display: flex !important; /* Yan yana diz */
        align-items: center !important;
        gap: 15px !important;
        border-bottom: 1px solid #f5f5f5 !important;
        padding-bottom: 15px !important;
        background: transparent !important;
        border-top: none !important; /* Grid üst çizgisini mobilde kaldır */
    }
    .uk-card:last-child { border-bottom: none !important; }
    
    .uk-card-img {
        width: 110px !important;
        height: 80px !important;
        flex-shrink: 0 !important; /* Görsel ezilmesin */
        margin-bottom: 0 !important;
    }
    
    .uk-headline-md {
        font-size: 15px !important; /* Başlığı küçült */
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1.35 !important;
    }
    
    /* Kategori ve Tarih Gizle/Küçült */
    .uk-cat-up, .uk-time {
        display: none !important; /* Kalabalık yapmasın */
    }

    /* --- FOCUS ALANI --- */
    .uk-headline-xl.text-white {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
    .uk-excerpt.text-gray {
        font-size: 14px !important;
        display: block !important; /* Focus'ta özet kalsın */
    }

    /* --- LISTE ALANI --- */
    .uk-feed-title .uk-headline-md {
        font-size: 18px !important;
    }
    .uk-feed-item {
        padding: 15px 0 !important;
    }
    
    /* --- GENEL BOŞLUKLAR --- */
    .uk-container {
        padding: 0 15px !important;
    }
    .uk-section {
        padding: 30px 0 !important;
    }
}

/* =========================================
   ✂️ SPACING FIX: COMPACT & PROFESSIONAL
   ========================================= */

/* 1. GENEL BÖLÜM BOŞLUKLARINI AZALT */
.uk-section {
    padding: 25px 0 !important; /* Eskiden 50px idi, yarıya indirdik */
}

/* 2. İLK BLOK (HEADER İLE ARASI) */
/* Sitenin en tepesindeki ilk bölümün üst boşluğunu al */
.site-wrapper-premium > .uk-section:first-child {
    padding-top: 10px !important; 
}

/* 3. SON BLOK (FOOTER İLE ARASI) */
/* Sitenin en altındaki bölümün alt boşluğunu ve çizgisini al */
.site-wrapper-premium > .uk-section:last-child {
    padding-bottom: 20px !important;
    border-bottom: none !important;
}

/* 4. MOBİL İÇİN EKSTRA SIKIŞTIRMA */
@media (max-width: 768px) {
    .uk-section {
        padding: 15px 0 !important; /* Mobilde aralar daha da kapansın */
    }
    
    /* Header altı mobilde biraz nefes alsın ama çok değil */
    .site-wrapper-premium > .uk-section:first-child {
        padding-top: 15px !important;
    }
    
    /* Grid/Liste elemanları arası boşluklar */
    .uk-hero-grid, .uk-grid-4, .uk-split-layout {
        gap: 20px !important;
    }
}

/* 5. GEREKSİZ MARGIN SIFIRLAMA */
/* Eğer temadan gelen global wrapper marginleri varsa ezer */
.site-content-wrapper, 
.site-wrapper-premium {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* =========================================
   📐 LAYOUT ALIGNMENT FIX (HEADER/FOOTER SYNC)
   ========================================= */

/* 1. Konteyner Genişliğini Standartlaştır (1200px) */
.uk-container, 
.site-wrapper-premium .container,
.site-content-wrapper .container {
    max-width: 1200px !important; /* Geniş ekran standardı */
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* 2. Header ve Footer ile Hizalama */
/* Eğer temanın header'ı .container sınıfını kullanıyorsa yukarıdaki kod zaten çözer.
   Eğer özel bir sınıf varsa (örn: .wrapper), onu da buraya dahil edebilirsin. */

/* 3. Fontların Ezilmesini Önle (Google Fonts Önceliği) */
.uk-headline-xl, 
.uk-headline-md, 
.uk-headline-sm,
.section-title {
    /* Style.css içindeki font tanımlarını dynamic css'in ezmesine izin ver */
    /* font-family satırını buradan siliyoruz ki functions.php'den gelen işlesin */
    color: #111; /* Sadece renk kalsın */
}

/* 4. Blok İçi Hizalama Temizliği */
.uk-hero-grid, 
.uk-grid-4, 
.layout-split {
    width: 100%; /* Taşmaları önle */
}

/* =========================================
   🌍 AL JAZEERA STYLE LIST (V3.0)
   ========================================= */

/* --- GENEL DÜZEN --- */
.aj-split-layout {
    display: grid;
    grid-template-columns: 1fr 340px; /* Sol İçerik, Sağ Sidebar */
    gap: 60px;
    align-items: start;
}
.aj-full-layout {
    max-width: 900px;
    margin: 0 auto;
}

/* Başlık Alanı */
.aj-section-head {
    display: flex; align-items: center; margin-bottom: 30px;
    border-bottom: 1px solid #000; padding-bottom: 15px;
}
.aj-section-head h3 { margin: 0; color: #000; font-weight: 900; font-size: 20px; }

/* --- KART YAPISI (Text Left - Img Right) --- */
.aj-feed-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0; /* Araları border ile ayıracağız */
}

.aj-card-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Yukarı hizala */
    padding: 35px 0;
    border-bottom: 1px solid #e6e6e6; /* İnce gri çizgi */
    gap: 30px;
}

.aj-card-item:first-child { padding-top: 0; }
.aj-card-item:last-child { border-bottom: none; }

/* 1. Metin Alanı (%65) */
.aj-card-content {
    flex: 1; /* Esnek genişlik */
    display: flex;
    flex-direction: column;
}

/* Kategori (Üstte, Gri/Turuncu) */
.aj-meta-top { margin-bottom: 8px; }
.aj-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666; /* Al Jazeera Grisi */
    letter-spacing: 0.5px;
}
/* Opsiyonel: Hover'da kategori renklensin */
.aj-card-item:hover .aj-cat { color: var(--main-color, #d32f2f); }

/* Başlık (Büyük, Serif) */
.aj-headline {
    font-family: 'Merriweather', 'Georgia', serif;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.aj-headline a {
    color: #121212;
    text-decoration: none;
    transition: color 0.2s;
}
.aj-headline a:hover {
    color: var(--main-color, #d32f2f);
}

/* Özet (Temiz Okunabilir) */
.aj-excerpt {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

/* Alt Meta (Tarih) */
.aj-meta-bottom { font-size: 12px; color: #888; }

/* 2. Görsel Alanı (%30 - %35) */
.aj-card-img-wrap {
    width: 260px; /* Sabit genişlik */
    flex-shrink: 0; /* Asla küçülme */
    aspect-ratio: 16 / 10; /* Orantı koruma */
    overflow: hidden;
    border-radius: 8px; /* Köşeleri yumuşat */
    background: #f0f0f0;
}

.aj-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Efekti */
.aj-card-item:hover .aj-card-img-wrap img {
    transform: scale(1.05); /* Hafif yakınlaşma */
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 768px) {
    .aj-split-layout { grid-template-columns: 1fr; gap: 40px; }
    
    .aj-card-item {
        flex-direction: column-reverse; /* Mobilde: Resim Üste, Yazı Alta */
        gap: 15px;
        padding: 25px 0;
    }
    
    .aj-card-img-wrap {
        width: 100%; /* Tam genişlik */
        aspect-ratio: 16 / 9;
        margin-bottom: 5px;
    }
    
    .aj-headline { font-size: 20px; }
    .aj-excerpt { display: block; font-size: 14px; margin-bottom: 10px; }
    
    /* Sidebar Mobilde */
    .uk-sidebar-sticky { position: static; border-top: 4px solid #000; padding-top: 30px; }
}