/*
Theme Name: Kırıkkale Son Haber
Description: Kırıkkale Son Haber WordPress theme.
Version: 1.0
Author: Oğuzhan Ünver
Theme URI: https://www.wordpress.org
Author URI: https://www.wordpress.org
*/

:root {
	--primary-color: #f30000;
	--secondary-color: #000;
    --dark-color: #1a1a1a;
    --bg-color: #ffffff; /* Arkaplan tam beyaz yapıldı */
    --card-shadow: none; /* Beyaz tasarımda temizlik için gölgeler kaldırıldı */
    --border-color: #eeeeee; /* Bölmeleri ayırmak için çok hafif gri çizgi */
}

/* WORDPRESS ADMIN BAR VE STICKY HEADER UYUMU */

/* Masaüstü (Admin bar 32px yüksekliğindedir) */
body.admin-bar .main-header {
    top: 32px !important;
}

/* Mobil (Admin bar mobilde 46px yüksekliğindedir ve scroll ile hareket eder) */
@media screen and (max-width: 782px) {
    body.admin-bar .main-header {
        top: 46px !important;
    }
}

/* Eğer header içerisinde farklı bir katman kullanıyorsan 
   (örneğin .header-mid), top değerini ona da verebilirsin. */

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-color); 
    color: #222; 
    margin: 0; 
}

/* TÜM SİTE İÇİN GENEL FONT TANIMI */
html, body {
    font-family: 'Inter', sans-serif !important;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased; /* Fontun daha pürüzsüz görünmesini sağlar */
    -moz-osx-font-smoothing: grayscale;
}

/* FONT VARYANTLARININ KULLANIMI */

/* 1. Normal Okuma Metni (İçerik) */
.single-entry-content p {
    font-weight: 400; /* Regular */
    letter-spacing: -0.011em; /* Inter için ideal okunabilirlik ayarı */
}

/* 2. Haber Başlıkları (Manşet ve Single) */
.single-post-title, .main-slider-title, .widget-title {
    font-weight: 800; /* Extra Bold - Haber başlığı vurucu olmalı */
    letter-spacing: -0.022em;
}

/* 3. Alt Başlıklar (H2, H3) */
.single-entry-content h2 {
    font-weight: 700; /* Bold */
}

.single-entry-content h3 {
    font-weight: 600; /* Semi Bold */
}

/* 4. Spot veya Alıntılar */
.post-excerpt, .single-entry-content blockquote {
    font-weight: 500; /* Medium */
}

/* 5. Meta Bilgileri (Tarih, Kategori) */
.single-post-meta, .side-date {
    font-weight: 300; /* Light */
    font-size: 13px;
    text-transform: uppercase;
}


/* Tüm ana kapsayıcılar ve kartlar beyaz yapıldı */
.info-card, 
.mid-item, 
.news-item, 
.header-mid, 
.main-navigation {
    background-color: #ffffff !important;
    box-shadow: none !important; /* Gölgeleri tamamen siliyoruz */
    border: 1px solid var(--border-color); /* Gölgeler yerine ince çizgiler */
}

/* Sayfa genelindeki ayırıcı çizgileri netleştirelim */
hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

/* Metin seçme rengini kırmızı yap */
::selection {
    background-color: var(--primary-color); /* Seçili alanın arka plan rengi */
    color: #ffffff;            /* Seçili metnin rengi (beyaz) */
}

/* Safari ve eski tarayıcılar için */
::-moz-selection {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Kırıkkale Son Haber Özel Yükleme Halkası */
.ksh-loader {
    width: 18px;
    height: 18px;
    border: 3px solid #FFF;
    border-bottom-color: #cc0000; /* Kırıkkale Kırmızısı */
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: kshRotation 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes kshRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Sadece Masaüstünde Göster */
@media (min-width: 992px) {
    .back-to-top {
        position: fixed;
        right: 30px;
        bottom: 30px;
        height: 46px;
        width: 46px;
        cursor: pointer;
        display: block;
        border-radius: 50px;
        box-shadow: inset  0 0 0 2px rgba(204, 0, 0, 0.2);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 200ms linear;
    }

    .back-to-top.active-progress {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        color: var(--primary-color); /* Kırıkkale Haber Kırmızısı */
        transition: all 200ms linear;
    }

    .back-to-top:hover i {
        transform: translate(-50%, -60%); /* Hafif yukarı zıplama efekti */
        color: #000;
    }
	
	.back-to-top:hover .progress-circle path {
		stroke: var(--secondary-color); /* Dolacak olan renk */
    }

    /* İlerleme Dairesi */
    .progress-circle path { 
        fill: none; 
        stroke: var(--primary-color); /* Dolacak olan renk */
        stroke-width: 4; 
        box-sizing: border-box; 
        transition: all 200ms linear; 
    }

    .progress-circle {
        width: 100%;
        height: 100%;
    }
}

/* Mobilde tamamen gizle */
@media (max-width: 991px) {
    .back-to-top { display: none !important; }
}

/* Drawer ve Popup arkaplanlarını da beyaz tutalım */
.drawer {
    background: #ffffff;
}

/* Footer alanını da istersen beyaz yapabilirsin ama haber sitelerinde 
   alt kısmın koyu kalması (zıtlık için) daha profesyonel durur. 
   Yine de tam beyaz istersen aşağıyı da güncelleyebilirsin: */
.main-footer {
    background: #ffffff;
    border-top: 2px solid var(--primary-color);
    color: #444;
}

.footer-title {
    color: var(--dark-color);
}
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* HEADER TASARIMI */
.top-bar { background: #222; color: #fff; padding: 8px 0; font-size: 12px; }
.breaking-news-wrapper { display: flex; align-items: center; width: 70%; overflow: hidden; }
.breaking-label { background: var(--primary-color); padding: 2px 10px; border-radius: 4px; font-weight: bold; margin-right: 15px; }
.breaking-news-wrapper a { color: #fff; text-decoration: none; margin-right: 20px; white-space: nowrap; }

.header-mid { padding: 30px 0; background: #fff; border: none; }

.main-navigation { background: #fff; border-bottom: 4px solid var(--primary-color); position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-list li a { display: block; padding: 18px 20px; font-weight: 800; color: #222; font-size: 14px; }
.nav-list li a:hover { color: var(--primary-color); }

/* HEADER SABİTLEME (STICKY) */
.main-header {
    position: fixed;
    top: 0;
    z-index: 1000; /* Diğer tüm içeriklerin üstünde kalması için */
    background: #ffffff;
    width: 100%;
    /* Sayfa kaydırıldığında header'ın altında hafif bir derinlik çizgisi oluşsun */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

/* Üst bant (Tarih/Hava Durumu) genellikle sabitlenmez, 
   ama istersen onu da header içine dahil edebilirsin. 
   Eğer sadece logo ve menü kalsın istersen yapı bu şekilde kalmalı. */

.header-mid {
    background: #ffffff;
    padding: 15px 0; /* Sabitlendiğinde çok kaba durmaması için padding'i biraz daralttık */
    transition: all 0.3s ease;
}

/* Sayfa kaydırıldığında header'ı biraz daraltmak istersen (isteğe bağlı) 
   JS ile bir 'scrolled' class'ı ekleyerek bunu daha da kibarlaştırabilirsin. */

/* Header Grid Sistemi */
.header-grid-nav {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Sol, Orta, Sağ dengesi */
    align-items: center;
    padding: 20px 0;
}

/* Logo */
.logo-centered { text-align: center; }
.logo-centered img { width: 11%; height: auto;  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.main-logo { font-size: 50px; font-weight: 900; letter-spacing: -3px; margin:0; }
.main-logo span { color: var(--primary-color); }

/* Buton Tasarımları */
.nav-trigger, .search-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
}
.search-trigger { justify-content: flex-end; }
.hamburger-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background: #222;
    margin: 4px 0;
    transition: 0.3s;
}

/* OVERLAY SİSTEMİ (Menü ve Arama İçin) */
.overlay-nav, .overlay-search {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-search { background-color: rgba(211, 47, 47, 0.95); } /* Arama ekranı kırmızımsı */

.overlay-content, .search-form-wrapper { width: 80%; text-align: center; }

/* Kapat Butonu */
.close-btn {
    position: absolute;
    top: 30px;
    right: 45px;
    font-size: 60px;
    background: none;
    border: none;
    cursor: pointer;
    color: #222;
}
.overlay-search .close-btn { color: #fff; }

/* Arama Pop-Up Temeli */
.search-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgb(0 0 0 / 90%); /* Şeffaf Siyah */
    backdrop-filter: blur(10px); /* Arkayı bulanıklaştırma (Modern efekt) */
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

/* Aktif Olduğunda */
.search-popup.active {
    opacity: 1;
    visibility: visible;
}

/* İçerik Alanı */
.search-popup-content {
    width: 90%;
    max-width: 800px;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}
.search-popup.active .search-popup-content {
    transform: translateY(0);
}

/* Arama Inputu */
.popup-search-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    padding: 20px 0;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}
.popup-search-form input:focus {
    border-color: var(--primary-color);
}
.search-hint { color: rgba(255,255,255,0.4); margin-top: 15px; font-size: 14px; }

/* Popüler Aramalar */
.popular-searches { margin-top: 50px; }
.popular-searches h4 { color: #fff; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin-bottom: 20px; }
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tag-cloud a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    transition: 0.3s;
}
.tag-cloud a:hover { background: var(--primary-color); }

/* Kapatma Butonu */
.close-search {
    position: absolute;
    top: 40px; right: 40px;
    font-size: 50px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}
.close-search:hover { transform: rotate(90deg); color: var(--primary-color); }

/* Drawer (Kayar Panel) Temeli */
.drawer {
    position: fixed;
    top: 0;
    width: 350px; /* Panel genişliği */
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.drawer-left { left: 0; transform: translateX(-100%); } /* Soldan gizli */
.drawer-right { right: 0; transform: translateX(100%); } /* Sağdan gizli */

/* Aktiflik Sınıfları */
.drawer.active { transform: translateX(0); }

/* Karartma Efekti */
#body-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
	backdrop-filter: blur(3px);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}
#body-overlay.active { visibility: visible; opacity: 1; }

/* Drawer İçerik Tasarımı */
.drawer-header {
    padding: 30px 30px 30px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.drawer-logo { font-weight: 900; color: var(--primary-color); font-size: 20px; }
.drawer-logo img { width: 22%; height: auto; }
.close-drawer { font-size: 35px; background: none; border: none; cursor: pointer; line-height: 1; }

.drawer-body { padding: 30px; overflow-y: auto; flex-grow: 1; }

/* Menü Listesi */
.mega-menu-list { list-style: none; padding: 0; margin: 0; }
.mega-menu-list li { border-bottom: none; }
.mega-menu-list li a { 
    display: flex; align-items: center; gap: 15px;
    padding: 15px 0; font-size: 18px; font-weight: 700; color: #222;
}
.mega-menu-list li a:hover { color: var(--primary-color); padding-left: 5px; }

/* Arama Formu Tasarımı */
.search-inner-form input {
    width: 100%; border: 2px solid #eee; padding: 15px;
    border-radius: 8px; font-size: 16px; margin-bottom: 15px;
    outline: none; transition: 0.3s;
}
.search-inner-form input:focus { border-color: var(--primary-color); }
.search-submit {
    width: 100%; background: var(--primary-color); color: #fff;
    border: none; padding: 15px; border-radius: 8px; font-weight: 800; cursor: pointer;
}

/* Kurumsal Bölüm Kapsayıcı */
.menu-corporate-section {
    margin: 20px 0 0 0;
    padding: 20px 0 0 0;
    border-top: 1px solid #eee;
}

/* Küçük Başlık (Kurumsal) */
.menu-sub-title {
	font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-left: 0;
}

/* Kurumsal Link Listesi */
.corporate-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Yan yana dizilmeleri için */
    padding: 0 15px;
}

.corporate-links li {
    width: 100%; /* İkişerli sütun şeklinde dizilir */
    margin-bottom: 15px;
}

.corporate-links li a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.corporate-links li a:hover {
    color: #cc0000; /* Kırmızı vurgu */
}

/* Sosyal Medya İkonları Altındaki Boşluk */
.menu-social-wrapper {
    padding: 10px 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* HAMBURGER MENÜ SOSYAL MEDYA ALANI */
.menu-social-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 5px 0 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
}

/* MENÜ İÇİ POPÜLER HABERLER */
.menu-popular-news {
    padding: 0;
}

.menu-popular-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #222;
    text-transform: uppercase;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.menu-popular-title::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    background-color: #cc0000; /* İkon rengi */
    /* Trend yükseliş ikonu (SVG maske yöntemi) */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
}

.menu-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none !important;
}

.menu-news-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
}

.menu-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menü Haber Görsel Kapsayıcısı */
.menu-news-thumb {
    position: relative; /* Numaranın resme göre konumlanması için */
    display: block;
}

/* Kırmızı Yuvarlak Numara Tasarımı */
.menu-rank-number {
	position: absolute;
    bottom: 0px;
    left: -1px;
    background-color: #cc0000;
    color: #ffffff !important;
    width: 26px;
    height: 26px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 5;
}

/* Menü item'larının hizası bozulmasın diye */
.menu-news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
}

.menu-news-info h4 {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

/* FOOTER TASARIMI */
.main-footer { background: #1a1a1a; color: #ccc; padding: 60px 0 20px; margin-top: 60px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 59%;
    margin: 0 auto;
 }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 800; }
.footer-logo { text-align: center; margin: 0 0 20px 0; }
.footer-logo img { width: 17%; height: auto; }
.footer-col { 
	text-align: center;
    margin: 0 auto;
}
.footer-col p { 
    text-align: center;
    float: left;
    margin: 0 auto;
 }
.footer-col ul { 
    list-style: none;
    padding: 0;
    margin: 0 auto;
    float: left;
    width: 100%;
 }
.footer-col ul li { float:left;  margin: 0 23px 0 0; }
.footer-col ul li a { color: #999; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: 16px; font-weight: 400; text-align: center; }
.footer-bottom { 
	text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 11px;
    width: 56%;
    margin: 50px auto;
    font-weight: 300;
    color: #fff;
 }

/* Ana Kaplama */
.container {
	width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
}

/* --- 3 SÜTUNLU DEV MANŞET ALANI --- */
.hero-wrapper {
    display: grid !important;
    grid-template-columns: 29% 1fr 27% !important;
    gap: 20px !important;
    max-width: 1440px;
    margin: 120px 0 0 0;
    align-items: stretch !important;
}

/* SÜTUNLARIN YERLEŞİMİ */
.middle-news-column { 
    grid-column: 1; 
    order: 1;
}

.main-slider-box{ 
    grid-column: 2; 
    order: 2;
    min-width: 0; /* Slider'ın taşmasını ve gridi bozmasını engeller */
}

.side-widget-column { 
    grid-column: 3; 
    order: 3;
}

/* HİZALAMA HATASINI GİDEREN KRİTİK KOD */
.middle-news-column, 
.main-swiper-container, 
.side-widget-column {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Slider'ın içindeki Swiper'ın tam oturması için */
.main-swiper-container .swiper-container {
    width: 100% !important;
    height: 100% !important;
}

/* 1. SÜTUN: 1080x1080 SLIDER */
.main-slider-box {
    width: 100%;
    height: 510px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.main-slider-box .swiper { width: 100%; height: 100%; }
.main-slider-box img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 80px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    color: #fff;
	padding-bottom: 70px !important; /* Butonların üzerine binmemesi için */
}
.slide-overlay h2 { font-size: 35px; line-height: 1.1; font-weight: 800; margin: 0; }

/* Swiper Konteynırı */
.main-swiper { position: relative; }

/* OKLAR: Başlangıçta gizli ve keskin köşeli */
.custom-nav {
    color: #fff !important;
    background: none;
    width: 50px !important;
    height: 80px !important;
    top: 55% !important;
    margin-top: -65px !important;
    opacity: 0; /* Gizli */
    transition: all 0.3s ease;
    border-radius: 0 !important; /* Keskin köşeli */
}

.custom-nav::after { font-size: 24px !important; font-weight: bold; }

/* Üzerine gelince okları göster */
.main-slider-box:hover .custom-nav { opacity: 1; }
.swiper-button-next { right: 0 !important; }
.swiper-button-prev { left: 0 !important; }
.custom-nav:hover { background: none; }

/* NUMARALI BUTONLARI EN ALTA SIFIRLAMA */
.custom-pagination {
    position: absolute !important;
    bottom: 0 !important; /* Slider'ın tam tabanına yapıştır */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    z-index: 25 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
	background-image: linear-gradient(to top, #000000, #58585817);
}

/* Buton Tasarımı (Bitişik ve Hareketsiz) */
.custom-pagination .swiper-pagination-bullet {
    pointer-events: auto;
    width: 55px !important; /* Genişliği ihtiyacına göre artırabilirsin */
    height: 45px !important;
    line-height: 45px !important;
    background: none !important;
    color: #fff !important;
    border-radius: 0 !important; /* Keskin köşeler */
    font-weight: 800 !important;
    font-size: 16px !important;
    opacity: 1 !important;
    margin: 0 !important; /* Aradaki boşluk SIFIR */
    cursor: pointer;
    border: none !important;
    border-bottom: 2px solid rgba(0,0,0,0.1) !important; /* Aralarına çok ince ayırıcı çizgi */
    transition: background 0.2s ease, color 0.2s ease !important; /* SADECE RENK GEÇİŞİ */
    transform: none !important; /* HAREKETİ TAMAMEN İPTAL ETTİK */
}

/* Son butonun sağ çizgisini kaldıralım */
.custom-pagination .swiper-pagination-bullet:last-child {
    border-right: none !important;
}

/* Mouseover ve Aktif Durumu */
.custom-pagination .swiper-pagination-bullet:hover,
.custom-pagination .swiper-pagination-bullet-active {
    background: none !important; /* Senin ana rengin (Kırmızı) */
    color: var(--primary-color) !important;
    transform: none !important; /* Hiçbir zıplama/kayma yapmaz */
    height: 45px !important; /* Yüksekliği sabit tutar */
	border-bottom: 3px solid var(--primary-color) !important; /* Aralarına çok ince ayırıcı çizgi */
}

/* 2. SÜTUN: KÜÇÜK YATAY LİSTE DÜZENİ */
.middle-news-column {
	display: flex;
    flex-direction: column;
    gap: 15px;
    /* height: 1080px; <-- BU SATIRI SİLİN VEYA YORUMA ALIN */
    height: auto !important; /* İçeriğe göre uzasın */
    max-height: 1080px; /* Slider'dan daha uzun olmasın */
}

/* Her bir haber satırı */
.mid-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 0;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100px; /* Sabit küçük yükseklik */
}

.mid-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

/* Küçük Yatay Resim */
.mid-thumbnail {
    flex: 0 0 120px; /* Resim genişliği piyasalar kutusuyla orantılı */
    height: 98px;
    border-radius: 0;
    overflow: hidden;
}

.mid-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mid-badge {
    position: relative;
    left: 4px;
    bottom: 27px;
    background-color: #cc0000;
    color: #fff !important;
    padding: 3px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1.4;
    letter-spacing: 0.5px;
    float: left;
}

/* Başlık Alanı */
.mid-item-text {
    flex: 1;
}

.mid-item-text h3 {
	font-size: 15px;
    line-height: 1.4;
    margin: 0;
    color: #222;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* YEREL BİLGİ KUTULARI GENEL STİL */
.local-widget {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-top: 3px solid var(--primary-color);
}

.widget-title {
    background: #f8f8f8;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 800;
    color: #222;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

/* SOL SÜTUN BANNER BUTONLARI */
.sidebar-action-btn {
	display: flex;
    align-items: center;
    padding: 19px 15px;
    margin-bottom: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border-radius: 0;
    border: 1px solid #eee;
}

/* Vefat Butonu Özel Renk (Koyu/Ciddi) */
.btn-vefat {
    background: #ffffff;
    color: #000000 !important;
}

/* Hover durumunda biraz daha canlı görünsün */
.btn-vefat:hover {
    border: 1px solid #000000;
}

/* Namaz Vakitleri Butonu Özel Renk (Kurumsal Mavi veya Yeşil) */
.btn-namaz {
    color: #b98409;
}

/* Hover durumunda biraz daha canlı görünsün */
.btn-namaz:hover {
    border: 1px solid #b98409;
}

.sidebar-action-btn:hover {
    filter: brightness(1.2);
    padding-left: 20px;
}

.btn-icon {
    font-size: 26px;
    margin-right: 15px;
    width: 35px;
    text-align: center;
    opacity: 0.9;
}

.btn-content {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.btn-desc {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 3px;
    font-weight: 400;
}

/* Sağdaki küçük ok işareti */
.sidebar-action-btn::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    opacity: 0.3;
}

/* Nöbetçi Eczane Butonu Özel Rengi */
.btn-eczane {
    color: #ff0000 !important;
}

/* Hover durumunda biraz daha canlı görünsün */
.btn-eczane:hover {
    border: 1px solid #ff0000;
}

/* İkonun nabız gibi hafifçe atması (Dikkat çekmesi için) */
.btn-eczane .btn-icon i {
    animation: heartBeat 2s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
}

/* 3. SÜTUN: WIDGETLAR */
.side-widget-column {
	display: flex;
    flex-direction: column;
    gap: 15px;
    /* height: 1080px; <-- BU SATIRI SİLİN VEYA YORUMA ALIN */
    height: auto !important; /* İçeriğe göre uzasın */
    max-height: 1080px; /* Slider'dan daha uzun olmasın */
}
.info-card {
    background: #fff;
    border-radius: 0;
    padding: 22px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.info-card-header {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary-color);
    border-left: 15px solid #f30000;
    margin-bottom: 15px;
    padding: 0 0 0 5px;
}
.data-row {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid #f9f9f9;
    font-size: 15px; font-weight: 600;
}
.data-row span { color: #777; }

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.data-row:last-child { border-bottom: none; }

.data-row span {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

.data-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-value strong {
    font-size: 14px;
    color: #000;
}

/* Renkler */
.trend.up { color: #2ecc71 !important; }
.trend.down { color: #e74c3c !important; }

.weather-card {
        padding: 15px 20px;
        min-height: 110px;
        transition: all 0.3s ease;
    }
    /* Arka plana hafif bir parıltı efekti */
    .weather-card::after {
        content: "";
        position: absolute;
        top: -50%;
        right: -10%;
        width: 120px;
        height: 120px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
    }

/* SOSYAL MEDYA KUTUSU GENEL */
.social-media-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    justify-content: center;
}

.social-btn {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f4f4f4;
    color: #555;
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

/* Her mecranın kendi rengi */
.social-btn.facebook:hover { background: #3b5998; color: #fff; transform: translateY(-3px); }
.social-btn.twitter:hover { background: #000000; color: #fff; transform: translateY(-3px); } /* X (Twitter) */
.social-btn.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); color: #fff; transform: translateY(-3px); }
.social-btn.rss:hover { background: #ee802f; color: #fff; transform: translateY(-3px); }
.social-btn.gnews:hover { background: #4285F4; color: #fff; transform: translateY(-3px); }

/* Tooltip (İpucu) Eklentisi (İsteğe bağlı) */
.social-btn:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contained-ad-banner {
    width: 100%;
    background-color: #ffffff;
    margin: 25px 0 25px 0;
    display: grid !important;
    grid-template-columns: 100%;
    gap: 10px !important;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    overflow: hidden;
}

.contained-ad-banner a {
    display: block;
    width: 100%;
}

.contained-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Görselin tamamını kutuya sığdırır */
}

/* Alt Haber Listesi */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
    gap: 30px; margin-top: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-item img {
	width:100%; height:220px; object-fit:cover;
}

.news-item h3 {
    font-size: 21px;
    margin: 0 0 10px;
    font-weight: 700;
}

#load-more-btn {
    background-color: #ffffff;
    color: #282828;
    padding: 15px 40px;
    border: 1px solid;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 75px;
    font-size: 11px;
}

#load-more-btn:hover {
    background-color: var(--primary-color); /* Hover'da kırmızı */
    color: #fff;
}

/* LOADING SPINNER TASARIMI */
.loader-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff; /* Çemberin dönen ucu */
    animation: spin 0.8s ease-in-out infinite;
    margin-right: 10px; /* Metinle arasındaki boşluk */
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Butonun içindeki metni ve spinner'ı ortalamak için */
#load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px; /* Spinner gelince butonun boyu oynamasın */
}

/* 1. Viewport Ayarı: Her şeyin kutu modeline sığmasını sağlar */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Sağa doğru kaymayı (yatay scroll) engeller */
    width: 100%;
}

/* SINGLE SAYFASI ÖZEL STİLLERİ */
.single-post-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-category a {
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.post-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0;
    color: #1a1a1a;
}

.post-excerpt {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* BAŞLIK ALTI BİLGİ ALANI */
.post-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-size: 13px;
    color: #777;
}

.breadcrumbs a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.breadcrumbs i { font-size: 10px; margin: 0 5px; color: #ccc; }

.post-date-info { font-weight: 500; color: #555; }

/* SOSYAL PAYLAŞIM BUTONLARI */
.post-tools-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin: 15px 0 30px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* Editör Kısmı */
.post-editor-info { display: flex; align-items: center; gap: 10px; }
.editor-avatar { width: 35px; height: 35px; background: #f5f5f5; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #888; }
.editor-label { display: block; font-size: 10px; color: #999; text-transform: uppercase; }
.editor-name { display: block; font-size: 14px; font-weight: 700; color: #333; }

/* Sağ Araçlar */
.post-actions-right { display: flex; align-items: center; gap: 12px; }
.tool-group { display: flex; gap: 6px; padding-right: 12px; border-right: 1px solid #eee; }

/* Buton Tasarımları */
.tool-round-btn {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #eee;
    background: #fff; color: #555; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.2s; font-size: 14px; text-decoration: none;
}
.tool-round-btn:hover { background: #f9f9f9; border-color: #ccc; }

/* Sosyal Renkler */
.wa:hover { color: #25d366; border-color: #25d366; }
.fb:hover { color: #1877f2; border-color: #1877f2; }
.x-tw:hover { color: #000; border-color: #000; }

/* GNews Buton */
.gnews-btn {
    display: flex; align-items: center; gap: 8px; padding: 5px 12px;
    border-radius: 20px; border: 1px solid #eee; text-decoration: none; color: #333; font-size: 12px; font-weight: 600;
}
.gnews-btn img { width: 16px; }

/* Dropdown (Açılır Menü) */
.tool-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; right: 0; top: 40px; background: #fff; border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 8px; display: none; width: 180px; z-index: 100;
}
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 15px; text-decoration: none; color: #444; font-size: 13px; }
.dropdown-menu a:hover { background: #f5f5f5; }

/* TOOLTIP ANA YAPISI */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

/* Tooltip Kutusu */
[data-tooltip]::before {
    content: attr(data-tooltip); /* Veriyi HTML'den çeker */
    position: absolute;
    bottom: 125%; /* Butonun üstünde durması için */
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 6px 10px;
    background-color: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Küçük Ok İşareti */
[data-tooltip]::after {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

/* Mouse Üzerine Geldiğinde Göster */
[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Ana Konteyner */
.gdh-style-footer {
    margin: 40px 0;
    font-family: 'Inter', sans-serif;
}

/* Sosyal Takip Kartı */
.gdh-follow-card {
	background: #ffffff;
    border: 1px solid #f0f2f5;
    border-radius: 0;
    padding: 30px 0 50px 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.gdh-follow-text {
    font-size: 21px;
    margin-bottom: 50px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Sosyal Linkler Grid */
.gdh-social-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.gdh-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.gdh-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* İkon Renkleri */
.gdh-link img { width: 24px; height: 24px; }
.gdh-link i { font-size: 24px; }

.instagram-gd i { color: #E1306C; }
.x-twitter i { color: #000000; }
.youtube i { color: #FF0000; }
.telegram i { color: #0088cc; }
.facebook-gd i { color: #3b5998; }



/* Mobil Düzenleme */
@media (max-width: 768px) {
    .gdh-social-grid { gap: 25px; }
    .gdh-link span { display: none; } /* Mobilde sadece ikonlar kalsın */
    .gdh-follow-card {padding: 20px 20px 50px 20px;}
}

/* Mobilde Tooltip'leri Gizle (Karmaşayı önlemek için) */
@media (max-width: 768px) {
    [data-tooltip]::before, [data-tooltip]::after {
        display: none !important;
    }
}
/* İçerik Alanı */
.entry-content {
    font-size: 19px; /* Okuma kolaylığı için ideal boyut */
    line-height: 1.8;
    color: #333;
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2, .entry-content h3 {
    margin-top: 40px;
    font-weight: 800;
}

/* Yazı içindeki tüm iframe'leri kapsar */
.entry-content iframe, 
.post-content iframe,
.single-post iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%; /* Mobilde dışarı taşmayı engeller */
    border-radius: 0px; /* Köşeleri hafif yumuşatır, daha kaliteli durur */
}

/* YouTube gibi 16:9 videoların mobilde yamuk görünmemesi için opsiyonel: */
@media (max-width: 768px) {
    .entry-content iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9; /* Videonun oranını korur */
    }
}

/* Mobilde Görsel Taşmaması İçin */
.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Grid Düzeni */
.post-container {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 40px;
}

/* GENEL YAPI */
.single-main-container { background: #fff; padding: 120px 0; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.single-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.sidebar {
    width: 340px !important;
    float: right; /* Varsa flex kullanıyorsan kalsın */
    position: relative; /* Sticky olmasın, kütüphane yönetecek */
}

/* BAŞLIK VE META */
.single-post-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    color: #111;
    margin-bottom: 20px;
    margin-block-start: 0;
    margin-block-end: 20px;
}

.single-post-meta {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.single-post-meta i { color: var(--primary-color); margin-right: 5px; }

/* Breadcrumb içindeki en sondaki ayırıcıyı veya boş kalan alanları gizle */
#breadcrumbs span span {
    display: inline-flex;
    align-items: center;
}

/* Sondaki karakteri (genellikle >) hedef alır */
#breadcrumbs span span:last-of-type {}

/* RESİM */
/* HABER DETAY RESİM ÇERÇEVESİ */
.single-featured-image {
    width: 100%;
    margin: 20px 0;
    overflow: hidden; /* Dışarı taşmaları engeller */
    border-radius: 0; /* Köşeleri biraz yumuşatmak modern gösterir */
}

.single-post-image {
    width: 100% !important;
    height: auto !important; /* TÜM RESİMLER BU YÜKSEKLİKTE OLACAK */
    object-fit: cover; /* Resmi keserek çerçeveye tam oturtur, yayılmasını önler */
    object-position: center; /* Resim kesilirken tam ortayı baz alır */
    display: block;
}

.wp-caption-text {
    font-size: 13px;
    color: #777;
    font-style: italic;
    padding: 10px 0;
    text-align: center;
}

/* İÇERİK METNİ */
.single-entry-content {
    font-size: 19px;
    line-height: 1.8;
    color: #333;
}

/* HABER İÇERİĞİ TİPOGRAFİ KİTİ */

/* Alt Başlıklar (H2, H3, H4) */
.single-entry-content h2 {
	font-size: 21px;
    font-weight: 700;
    color: #111;
    margin: 40px 0 20px 0;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    line-height: 1.8;
}

.single-entry-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 35px 0 15px 0;
    line-height: 1.3;
}

/* Alıntı (Blockquote) Tasarımı */
.single-entry-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f9f9f9;
    border-left: 6px solid #333; /* Şık bir siyah vurgu */
    font-style: italic;
    font-size: 21px;
    color: #444;
    position: relative;
    line-height: 1.6;
}

/* Alıntının başına tırnak işareti ekleyelim (Font Awesome ile) */
.single-entry-content blockquote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: #ddd;
    opacity: 0.5;
}

/* Listeler (UL, OL) */
.single-entry-content ul, 
.single-entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.single-entry-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 1. YAZI İÇİNDEKİ LİSTE İŞARETÇİLERİ (KESİN ÇÖZÜM) */
.single .entry-content ul li::marker, 
.single .entry-content ol li::marker,
.single .post-content ul li::marker,
.single .post-content ol li::marker,
article li::marker {
    color: #ff0000 !important; /* Saf kırmızı */
    font-family: sans-serif !important;
}

/* 2. EĞER MARKER ÇALIŞMAZSA (BAZI TEMALARDA LİSTE TİPİNE GÖRE) */
.single .entry-content ul, 
.single .entry-content ol {
    list-style-image: none !important; /* Varsa ikonları iptal eder */
}

/* 3. LİSTE NUMARALARINI VE NOKTALARINI TEKRAR RENGİNE ZORLA */
.single .entry-content li {
    color: #333; /* Yazı rengi siyah kalsın */
}

.single .entry-content li::marker {
    color: #ff0000 !important;
}

/* Yazı İçindeki Resimler ve Galeri */
.single-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    margin: 0;
}

.wp-block-image figcaption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Vurgulu Yazı (Strong / Bold) */
.single-entry-content strong, 
.single-entry-content b {
    color: #000;
    font-weight: 700;
}

/* Linkler */
.single-entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.single-entry-content a:hover {
    color: #333;
}

/* Minimalist İlgili Haber Kutusu */
.gdh-related-mini {
    display: flex;
    align-items: center;
    background: #222; /* Koyu gri/siyah zemin */
    margin: 25px 0;
    text-decoration: none !important;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    height: 130px;
    transition: transform 0.3s ease;
}

.gdh-related-mini:hover .gdh-related-mini-img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.gdh-related-mini-img {
    transition: transform 0.5s ease;
}

/* Sol taraftaki Resim */
.gdh-related-mini-img {
    width: 200px;
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Sağ taraftaki İçerik (Gradient/Geçişli Gri) */
.gdh-related-mini-content {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(34,34,34,1) 0%, rgba(68,68,68,0.9) 100%);
    height: 100%;
}

.gdh-related-label {
    color: #bbb;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 5px;
    display: block;
}

.gdh-related-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .gdh-related-mini { height: 80px; }
    .gdh-related-mini-img { width: 120px; }
    .gdh-related-title { font-size: 14px !important; }
}

/* Başlangıçta görünmez ve aşağıda */
.ajax-post-loader {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Akıcı bir geçiş */
    margin-bottom: 40px;
}

/* JavaScript 'is-visible' eklediğinde devreye girer */
.ajax-post-loader.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* YÜKLENİYOR BARI İÇİN ŞIK BİR TASARIM */
.loading-dots {
    text-align: center;
    padding: 30px;
    display: none; /* JS ile açılacak */
}

.loading-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background: #c00; /* Kırıkkale Haber Kırmızısı */
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    to { transform: translateY(-15px); opacity: 0.5; }
}


/* SIDEBAR WIDGETLARI */
/* Widget Genel Yapısı */
.premium-sidebar-widget {
    background: #fff;
    padding: 0; /* İç paddingi aşağıda dağıtacağız */
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Başlık ve Pulse İkonu */
.sidebar-header-wrapper {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fdfdfd;
    border-bottom: 2px solid var(--border-color);
    gap: 15px;
}

.sidebar-modern-title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* DALGA YAYAN İKON (PULSE EFFECT) */
.pulse-icon-container {
    position: relative;
    width: 12px;
    height: 12px;
}

.pulse-dot {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #f30000;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #f30000;
    border-radius: 50%;
    bottom: 0px;
    z-index: 1;
    animation: pulse-wave 2s infinite ease-out;
}

@keyframes pulse-wave {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

/* Haber Listesi */
.modern-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-item {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.recent-item:last-child { border-bottom: none; }

.recent-link {
    display: flex;
    padding: 18px 20px;
    text-decoration: none;
    gap: 12px;
}

.recent-item:hover {
    background-color: #f9f9f9;
}

.recent-title {
    margin: 0 0 6px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    transition: color 0.2s;
}

.recent-item:hover .recent-title { color: var(--primary-red); }

.recent-meta {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Tümünü Gör Butonu */
.view-all-news {
    display: block;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.view-all-news:hover {
    background: var(--primary-red);
    color: #f30000;
}

/* Reklam Alanı Sadeleştirme */
.premium-ad {
    border-radius: 0;
    background: #f1f1f1;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}
.ad-label { color: #aaa; font-size: 12px; font-weight: bold; }


/* SIRADAKİ HABER AYIRICI STİLİ */
.next-post-separator {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.separator-text {
    background: var(--primary-color);
    color: #fff;
    display: inline-block;
    padding: 5px 20px;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50px;
    z-index: 2;
    position: relative;
}

/* YÜKLENİYOR NOKTALARI */
.loading-dots span {
    width: 8px;
    height: 8px;
    background: #c00;
    border-radius: 50%;
    display: inline-block;
    animation: dots 0.6s infinite alternate;
    margin: 0 3px;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dots {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

/* MOUSE HOVER EFEKTİ (Haberlere hafif derinlik verir) */
.single-post-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .single-wrapper { 
	grid-template-columns: 1fr;
        max-width: 100%;
        gap: 0;
        padding: 0;	}
    .single-post-title { font-size: 28px; }
	
}


@media (max-width: 992px) {
    .post-container { grid-template-columns: 1fr; }
    .post-title { font-size: 28px; }
}


/* KATEGORİ SAYFASI */
.category-wrapper {
    display: grid;
    margin: 120px 0 0 0;
}

.category-header {
text-align: left;
padding: 0 0 10px 0;
}

.category-title {
    font-size: 25px;
    font-weight: 900;
    border-left: 20px solid var(--primary-color);
    padding: 0 0 0 5px;
    margin-block-start: 10px;
    margin-block-end: 10px;
}

.category-description {
    background: #f1f1f1;
    padding: 1px 0 1px 20px;
    border-left: 6px solid #ccc;
    font-size: 15px;
    font-weight: 300;
}

/* ARAMA SAYFASI (SEARCH) */
.search-main-container {
    padding: 110px 0;
}

.search-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px; /* Sol geniş, sağ dar */
    gap: 30px;
}

.search-header {
    background: #fff;
    padding: 20px;
    border-bottom: 3px solid #cc0000;
    margin-bottom: 20px;
}

.search-title { font-size: 24px; color: #333; }
.search-title span { color: #cc0000; }

.search-news-item {
    display: flex;
    background: #fff;
    margin-bottom: 15px;
    transition: transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.search-item-thumb {
    width: 85%;
    min-width: 400px;
    height: auto;
}
.search-item-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;	
}

.search-item-content { padding: 15px; position: relative; }

.search-item-cat {
    background: #cc0000;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.search-item-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    margin-block-start: 0;
    margin-block-end: 0;	
}
.search-item-content h3 a { color: #222; text-decoration: none; }
.search-item-content h3 a:hover { color: #cc0000; }

.search-item-excerpt { font-size: 14px; color: #666; line-height: 1.5; }

.search-item-date { font-size: 12px; color: #999; display: block; margin-top: 10px; }

/* Sidebar */
.search-sidebar .sidebar-widget { background: #fff; padding: 20px; position: sticky; top: 20px; }
.widget-title { border-bottom: 2px solid #222; margin-bottom: 15px; padding-bottom: 10px; font-weight: bold; }

.trend-tags a {
    display: inline-block;
    background: #eee;
    padding: 5px 12px;
    margin: 3px;
    font-size: 13px;
    color: #444;
    border-radius: 20px;
    text-decoration: none;
}
.trend-tags a:hover { background: #cc0000; color: #fff; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .search-wrapper { grid-template-columns: 1fr; }
    .search-news-item { flex-direction: column; }
    .search-item-thumb { width: 100%; }
    .search-sidebar { display: none; }
}



/* ÖZEL SAYFALAR */

/* Kurumsal Sayfa Genel Arkaplan */
.corporate-premium-container {
    background: #fff; /* Haber sayfasından farklı, hafif gri-mavi bir ton */
    padding: 120px 0;
    min-height: 80vh;
}

.corporate-inner {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigasyon Butonları (Pills) */
.corp-nav-pills {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.corp-pill {
    padding: 12px 24px;
    background: #fff;
    color: #343434;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    border: none;
}

.corp-pill i { margin-right: 8px; }

.corp-pill:hover {
    color: #f30000;
}

.corp-pill.is-active {
    background: none;
    color: #f30000;
    border-bottom: 3px solid;
}

/* Ana Kart Yapısı */
.corp-main-card {
    background: #fff;
    border-radius: 0;
    padding: 50px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 12%);
    border: 1px solid #efefef;
}

.corp-page-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #1e293b;
    margin-bottom: 15px;
}

.corp-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.corp-divider span {
    width: 60px;
    height: 4px;
    background: #f30000;
    border-radius: 10px;
}

/* Künye Grid (Profesyonel) */
.kunye-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.k-item {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 16px;
    transition: 0.3s;
}

.k-item:hover { background: #e2e8f0; }
.k-item.full-w { grid-column: span 2; }

.k-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.k-val {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

/* Alt Bilgi */
.corp-card-footer {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
    font-size: 13px;
    color: #94a3b8;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .corp-inner { padding: 0; width: 100%; }
    .corp-main-card { padding: 30px 10px; border-top: 1px solid #efefef; border-left: none; border-right: none; border-bottom: none; box-shadow: none; }
    .kunye-premium-grid {grid-template-columns: 1fr;}
    .k-item.full-w { grid-column: span 1; }
    .corp-pill { padding: 10px 5px; font-size: 13px; }
}

/* Künye İçi Sosyal Medya */
.kunye-social-wrapper { background: #fff; border: 2px solid #f1f5f9; text-align: center; }
.kunye-social-icons { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.ks-icon { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; transition: 0.3s; text-decoration: none; }
.ks-icon.fbk { background: #1877F2; }
.ks-icon.igk { background: #E4405F; }
.ks-icon.x-twk { background: #000; }
.ks-icon.ytk { background: #CD201F; }
.ks-icon.ttk { background: #24A1DE; }
.ks-icon:hover { transform: scale(1.1); filter: brightness(1.1); }

/* Hakkımızda Sayfası Stilleri */
.about-premium-box {
    margin-top: 30px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    text-align: center;
}
.about-icon {
    font-size: 30px;
    color: #cc0000;
    margin-bottom: 10px;
    margin-top: 20px;
}
.about-premium-box h3 {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

/* İletişim Sayfası Stilleri */
.contact-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}
.c-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    padding: 25px 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: 0.3s;
}
.c-item:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
.c-item i { font-size: 28px; color: #cc0000; margin-bottom: 15px; display: block; }
.c-item span { display: block; font-size: 12px; color: #64748b; text-transform: uppercase; font-weight: 700; }
.c-item strong { display: block; font-size: 15px; color: #0f172a; margin-top: 5px; }

.contact-map-info {
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
}

/* Gizlilik Sayfası Stili */
.privacy-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #eff6ff;
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid #3b82f6;
    margin-bottom: 25px;
}
.privacy-notice i { font-size: 24px; color: #3b82f6; }

@media (max-width: 768px) {
    .contact-premium-grid { grid-template-columns: 1fr; }
}


/* 404 Sayfa Bulunamadı Stilleri */ 

.error-404-container {
    padding: 80px 20px;
    text-align: center;
    background: #f9f9f9;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-content {
    max-width: 600px;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.error-code {
    font-size: 100px;
    font-weight: 900;
    color: #ff0000; /* Senin Kırmızın */
    margin: 0;
    line-height: 1;
}

.error-divider {
    width: 50px;
    height: 4px;
    background: #ff0000;
    margin: 20px auto;
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.error-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.back-home-btn {
    display: inline-block;
    background: #ff0000;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Öneri Haberleri Bölümü */
.recent-posts-404 {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.recent-posts-404 h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #999;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.mini-item {
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.mini-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .mini-grid { grid-template-columns: 1fr; }
    .error-404-content { padding: 30px; }
}



/* 2. Ana Taşıyıcıyı (Hero) Esnek Yap */
@media (max-width: 1200px) {

/* Mobilde manşet resminin çok küçük kalmaması için minimum yükseklik */
.main-swiper-container .swiper-slide img {
    height: 250px !important; 
    object-fit: cover;
}

    .container {
        padding: 0 15px; /* Kenar boşluklarını daralt */
    }
}

/* 3. Tablet ve Büyük Telefonlar */
@media (max-width: 768px) {
	.container {
    width: 100%;
    max-width: 100%;
	}
	
    .main-logo {
        font-size: 35px; /* Logo boyutunu küçült */
    }
	
	.logo-centered img { width: 25%; height: auto; }
	
    .hero-wrapper { 
        margin: 100px 0 0 0;
        display: flex !important;
        flex-direction: column;
        gap: 25px !important;
}

/* SIRALAMAYI ELLE BELİRLEYELİM */
.main-slider-box { 
    order: 1 !important; /* MANŞET EN ÜSTTE */
    width: 100% !important;
    height: 455px !important;
}

.middle-news-column { 
    order: 2 !important; /* SOLDAKİ LİSTE İKİNCİ SIRADA */
    width: 100% !important;
}

.mid-item-text h3 {
    font-size: 18px;
}

.mid-badge {
    font-size: 6px;
}

.side-widget-column { 
    order: 3 !important; /* SAĞ SÜTUN EN ALTTA */
    width: 100% !important;
}

/* Mobilde manşet resminin çok küçük kalmaması için minimum yükseklik */
.main-swiper-container .swiper-slide img {
    height: 250px !important; 
    object-fit: cover;
}

	.custom-pagination {
        bottom: 20px !important; /* Mobilde biraz daha aşağı çekelim */
		background-image: none;
    }

    .custom-pagination .swiper-pagination-bullet {
		width: 11px !important;    /* Genişlik */
        height: 11px !important;   /* Yükseklik */
        border-radius: 50% !important; /* Tam yuvarlak yapar */
        background-color: #b1b1b1 !important; /* Yarı şeffaf beyaz */
        opacity: 1;
        display: inline-block;
        margin: 0 5px !important;
        text-indent: -9999px; /* Eğer içinde rakam varsa gizler, sadece yuvarlak görünür */
        border: none;
    }

    .custom-pagination .swiper-pagination-bullet:hover, .custom-pagination .swiper-pagination-bullet-active {
		background-color: var(--primary-color) !important; /* Aktif renk */
        width: 11px !important; /* Aktif olanı biraz daha büyük yapabilirsin */
        height: 11px !important;
    }

    .slide-overlay h2 {
        font-size: 24px; /* Manşet başlığını küçült */
        padding: 20px;
    }

    /* 2. Sütun (Küçük Liste) */
    .middle-news-column {
        height: auto !important; /* Sabit yüksekliği kaldır */
    }

    .mid-item {
        height: auto;
        padding: 10px;
    }
	
	.contained-ad-banner {
        margin: 20px 0;
        min-height: 80px;
    }
	
	.single-wrapper {
        gap: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
}	

.sidebar {display:none;}

.editor-avatar, .gnews-btn {
	display: none;
}

.footer-grid, .footer-bottom {
    width: 100%;
}	

.footer-logo img {
    width: 23%;
}
}

/* 4. Küçük Telefonlar */
@media (max-width: 480px) {
	.container {
    width: 100%;
    max-width: 100%;
	}

    .header-grid-nav {
        grid-template-columns: 50px 1fr 50px; /* Kenarları daralt */
    }
	
	.logo-centered img { width: 25%; height: auto; }
	
  .hero-wrapper { 
        margin: 100px 0 0 0;
        display: flex !important; 
        flex-direction: column;
        gap: 25px !important;
}

/* SIRALAMAYI ELLE BELİRLEYELİM */
.main-slider-box { 
    order: 1 !important; /* MANŞET EN ÜSTTE */
    width: 100% !important;
    height: 400px !important;
}

.middle-news-column { 
    order: 2 !important; /* SOLDAKİ LİSTE İKİNCİ SIRADA */
    width: 100% !important;
}

.mid-item-text h3 {
    font-size: 18px;
}

.side-widget-column { 
    order: 3 !important; /* SAĞ SÜTUN EN ALTTA */
    width: 100% !important;
}

/* Mobilde manşet resminin çok küçük kalmaması için minimum yükseklik */
.main-swiper-container .swiper-slide img {
    height: 250px !important; 
    object-fit: cover;
}
	
	.custom-pagination {
        bottom: 5px !important; /* Mobilde biraz daha aşağı çekelim */
    }

    .custom-pagination .swiper-pagination-bullet {
		width: 11px !important;    /* Genişlik */
        height: 11px !important;   /* Yükseklik */
        border-radius: 50% !important; /* Tam yuvarlak yapar */
        background-color: #b1b1b1 !important; /* Yarı şeffaf beyaz */
        opacity: 1;
        display: inline-block;
        margin: 0 5px !important;
        text-indent: -9999px; /* Eğer içinde rakam varsa gizler, sadece yuvarlak görünür */
        border: none;
    }

    .custom-pagination .swiper-pagination-bullet:hover, .custom-pagination .swiper-pagination-bullet-active {
		background-color: var(--primary-color) !important; /* Aktif renk */
        width: 11px !important; /* Aktif olanı biraz daha büyük yapabilirsin */
        height: 11px !important;
    }

    .mid-thumbnail {
        flex: 0 0 100px; /* Resimleri mobilde biraz daha küçült */
        height: 70px;
    }

    .news-grid {
        grid-template-columns: 1fr; /* Alt haberleri tek sıra yap */
    }
	
	.contained-ad-banner {
        margin: 20px 0;
        min-height: 80px;
    }
	
	.single-wrapper {
    gap: 0;
    max-width: 100%;
	flex-direction: column;
}

.sidebar {display:none;}

.editor-avatar, .gnews-btn {
	display: none;
}

.footer-grid, .footer-bottom {
    width: 100%;
}	

.footer-logo img {
    width: 23%;
}
}

@media (min-width: 576px) {
.logo-centered img {
    width: 21%;
}       
    
.container {
        max-width: 540px;
    }

.single-main-container  {
    max-width: 540px;
    margin:0 auto;
    }
    
    .hero-wrapper {
        margin: 100px 0 0 0;
        display: flex !important;
        gap: 25px !important;
    }    
    
.main-slider-box {
        height: 510px;
        order: 1 !important;  
}

.middle-news-column { 
        order: 2 !important;
        width: 100% !important;
}

.side-widget-column { 
    order: 3 !important; /* SAĞ SÜTUN EN ALTTA */
    width: 100% !important;
    display: flex;
}


.info-card-header {
        font-size: 14px;
        display: block;
    }

.social-btn {
    width: 34px;
    height: 34px;
}

.data-row {
   padding: 10px 0;
   font-size: 15px;
}

.data-row span {
    font-size: 15px;
}

.mid-item {
        height: 99px;
        padding: 0 10px 0 0;
}

.mid-thumbnail {
   height: 97px;
}

.mid-item-text h3 {
    font-size: 18px;
}

.sidebar-action-btn {
    padding: 13.5px 15px;
}

.btn-title {
    font-size: 14px;
}

.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.news-item h3 {
    font-size: 19px;
}

.single-post-image {
        height: 286px !important; 
    }
    
}

@media (min-width: 768px) {
.logo-centered img {
    width: 16%;
}       
    
.container {
        max-width: 720px;
    }

.single-main-container  {
    max-width: 720px;
    margin:0 auto;
    }
    
    .hero-wrapper {
        display: grid !important;        
        margin: 100px 0 0 0;
        grid-template-columns: 37% 1fr !important;
        gap: 25px !important;
    }    
    
.main-slider-box {
        height: 410px;
        order: 2 !important;  
}

.middle-news-column { 
        order: 1 !important;
        width: 100% !important;
}

.side-widget-column { 
    order: 3 !important; /* SAĞ SÜTUN EN ALTTA */
    width: 100% !important;
    display: none;
}


.info-card-header {
        font-size: 12px;
        display: none;
    }

.social-btn {
    width: 34px;
    height: 34px;
}

.data-row {
    padding: 5.5px 0;
    font-size: 12px;
}

.data-row span {
    font-size: 15px;
}

.mid-item {
   height: 86px;
}

.mid-thumbnail {
   height: 84px;
}

.mid-item-text h3 {
    font-size: 13px;
}

.sidebar-action-btn {
    padding: 13.5px 15px;
}

.btn-title {
    font-size: 14px;
}

.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.news-item h3 {
    font-size: 19px;
}

.single-post-image {
        height: 259px !important; 
    }
    
}

@media (min-width: 992px) {
.logo-centered img {
    width: 11%;
}   

.container{
        max-width: 960px;
    }

.single-main-container  {
    max-width: 960px;
    margin:0 auto;
    }
    
    .hero-wrapper {
        display: grid !important;        
        margin: 100px 0 0 0;
        grid-template-columns: 27% 1fr 28% !important;
        gap: 25px !important;
    }    
    
.main-slider-box {
    height: 368px;
    order: 2 !important;    
}

.middle-news-column { 
    order: 1 !important; /* SOLDAKİ LİSTE İKİNCİ SIRADA */
    width: 100% !important;
}

.side-widget-column { 
    order: 3 !important; /* SAĞ SÜTUN EN ALTTA */
    width: 100% !important;
    display: flex;
}


.info-card-header {
        font-size: 12px;
        display: none;
    }

.social-btn {
    width: 34px;
    height: 34px;
}

.data-row {
    padding: 7.5px 0;
    font-size: 12px;
}

.data-row span {
    font-size: 13px;
}

.mid-item {
   height: 86px;
}

.mid-thumbnail {
   height: 84px;
}

.mid-item-text h3 {
    font-size: 13px;
}

.sidebar-action-btn {
   padding: 6px 15px;
}

.btn-title {
    font-size: 14px;
}

.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.news-item h3 {
    font-size: 19px;
}

.single-post-image {
        height: 318px !important; 
    }
    
}

@media (min-width: 1200px) {
.logo-centered img {
    width: 11%;
}    
    
.container {
        max-width: 1040px;
    }

.single-main-container  {
    max-width: 1040px;
    margin:0 auto;
    }
    
        .hero-wrapper {
        display: grid !important;            
        margin: 120px 0 0 0;
        grid-template-columns: 28% 1fr 28% !important;
        gap: 25px !important;
    } 
    
.side-widget-column { 
    display: flex;
}
    
.main-slider-box {
    height: 407px;
}

.info-card-header {
    font-size: 12px;
    display: block;
}

.social-btn {
    width: 38px;
    height: 38px;
}

.data-row {
    padding: 3.5px 0;
    font-size: 12px;
}

.data-row span {
    font-size: 13px;
}

.mid-item {
    height: 95px;
}

.mid-thumbnail {
    height: 93px;
}

.mid-item-text h3 {
    font-size: 14px;
}

.sidebar-action-btn {
    padding: 10px 15px;
}

.btn-title {
    font-size: 14px;
}

.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}

.news-item h3 {
    font-size: 19px;
}

.single-post-image {
        height: 360px !important; 
    }
    
}

@media (min-width: 1550px) {
    
.logo-centered img {
    width: 11%;
}
    
.container  {
    max-width: 1250px;
    }

    .single-main-container  {
    max-width: 1250px;
    margin:0 auto;
    }
    
        .hero-wrapper {
        display: grid !important;
        margin: 120px 0 0 0;
        grid-template-columns: 29% 1fr 27% !important;
        gap: 25px !important;
    }
    
.side-widget-column { 
    display: flex;
}    
    
.main-slider-box {
    height: 500px;
}

.info-card-header {
    font-size: 13px;
    display: block;
}

.social-btn {
    width: 42px;
    height: 42px;
}

.data-row {
        padding: 17px 0;
        font-size: 15px;
}

.data-row span {
    font-size: 15px;
}

.mid-item {
    height: 100px;
}

.mid-thumbnail {
    height: 98px;
}

.mid-item-text h3 {
    font-size: 15px;
}

.sidebar-action-btn {
    padding: 23px 15px;
}

.btn-title {
    font-size: 15px;
}

.news-grid {
    grid-template-columns: repeat(auto-fill, minmax(335px, 1fr));
}

.news-item h3 {
    font-size: 21px;
}

.single-post-image {
        height: 395px !important; 
    }
}