/*
Theme Name: Kadence Child
Theme URI: https://kadencewp.com/
Description: subeadresi.com - Premium UI/UX & SEO Performance Custom Engine
Author: Webmaster
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

/* ==========================================================================
   SUBEADRESI.COM - PREMIUM UI / UX REFRESH (CUSTOM CSS)
   ========================================================================== */

body {
    background-color: #f8fafc !important;
}

/* ======================================================
   KADENCE ÇİFT BAŞLIK KESİLMESİ VE DUPLICATE ENGELLEME
   ====================================================== */
.single-bankalar header.entry-header,
.single-bankalar .hero-section,
.single-bankalar .entry-hero,
.single-bankalar .post-header,
.single-bankalar .title-area {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
}

/* SEO Çekirdek H1 Başlık Biçimlendirmesi */
.sube-ana-baslik {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 20px 0 25px 0;
    letter-spacing: -0.5px;
}

/* ======================================================
   REKLAM ALANLARI YERLEŞİM VE CLS OPTİMİZASYONU
   ====================================================== */
.kb-branch-top-ad-slot {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    text-align: center;
    clear: both;
    min-height: 90px; /* Masaüstü standart banner için yer ayırır, zıplamayı önler */
    display: flex;
    justify-content: center;
    align-items: center;
}

.kb-branch-bottom-ad-slot {
    max-width: 1200px;
    margin: 25px auto;
    text-align: center;
    clear: both;
    min-height: 250px; /* Alt kısım esnek/kare reklamlar için ideal alan */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Eğer reklam kodu boş dönerse veya yüklenmezse alanı tamamen gizler */
.kb-branch-top-ad-slot:empty,
.kb-branch-bottom-ad-slot:empty {
    display: none !important;
    min-height: 0 !important;
    margin: 0 !important;
}

/* ======================================================
   BREADCRUMB (YOL HARİTASI) PREMIUM STYLES
   ====================================================== */
.kb-breadcrumb-wrapper {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.kb-breadcrumb {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.kb-breadcrumb a {
    color: #e25c46;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 2px 0;
    display: inline-block; /* Mobil tıklama alanı optimizasyonu */
}
.kb-breadcrumb a:hover {
    color: #cc4934;
    text-decoration: underline;
}
.kb-breadcrumb .sep {
    color: #cbd5e1;
}
.kb-breadcrumb .current {
    color: #334155;
    font-weight: 700;
    padding: 2px 0;
    display: inline-block;
}

/* ======================================================
   ŞUBE DETAY KUTUSU VE SATIRLARI (UI REFRESH)
   ====================================================== */
.sube-detay-kutu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}
.sube-detay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}
.sube-detay-row:last-child {
    border-bottom: none;
}
.sube-detay-label {
    font-weight: 700;
    color: #475569;
    font-size: 14px;
}
.sube-detay-value {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    text-align: right;
    max-width: 60%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap; /* Buton ve uzun metinlerin taşmasını engeller */
}
.sube-detay-value a {
    color: #e25c46;
    text-decoration: none;
}

/* Telefon numaraları için tıklama alanı (Tap Target) optimizasyonu */
.sube-detay-value a[href^="tel:"] {
    background: #fff1f0;
    color: #e25c46;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid #ffe4e1;
    transition: all 0.2s ease;
}
.sube-detay-value a[href^="tel:"]:hover {
    background: #e25c46;
    color: #ffffff;
}

/* ======================================================
   DİNAMİK KOPYALAMA BUTONU VE AKSİYONLARI
   ====================================================== */
.sube-copy-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sube-copy-btn:hover {
    background: #e2e8f0;
    transform: scale(1.05);
}
.sube-copy-btn.copied {
    background: #22c55e;
    color: #ffffff;
}

/* ======================================================
   YOL TARİFİ BUTONU
   ====================================================== */
.sube-btn-wrap {
    margin-top: 20px;
    text-align: center;
}
.sube-yol-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.sube-yol-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* ======================================================
   HARİTA ALANI VE RESPONSIVE YAPISI
   ====================================================== */
.sube-harita-wrapper {
    margin: 30px 0;
}
.sube-harita-baslik {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}
.sube-harita-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 350px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}
/* Harita iframe'inin kutuya tam oturması ve taşmaması için */
.sube-harita-box iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
}

/* ======================================================
   SEO & METİN BLOKLARI KUTULARI
   ====================================================== */
.sube-seo-box {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin: 20px 0;
}
.sube-seo-box p {
    margin-bottom: 15px;
    text-align: justify; /* Okunabilirliği artırır */
}
.sube-seo-box strong {
    color: #0f172a;
    font-weight: 700;
}
.sube-yakinlar-baslik {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 35px 0 15px 0;
}

/* ======================================================
   YASAL UYARI (DISCLAIMER) PREMIUM STİLLERİ
   ====================================================== */
.site-general-disclaimer-wrapper {
    background: #241814;
    border-top: 1px solid #3d2a23;
    padding: 25px 15px;
    text-align: center;
    clear: both;
}
.site-general-disclaimer-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
.site-general-disclaimer-container .disclaimer-text {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
    color: #bca8a1;
    text-align: justify;
}
.site-general-disclaimer-container .disclaimer-copyright {
    margin: 15px 0 0 0;
    font-size: 11px;
    color: #8c736a;
    font-weight: 600;
}

/* ======================================================
   MOBİL CİHAZLAR İÇİN TAM UYUM (RESPONSIVE)
   ====================================================== */
@media (max-width: 768px) {
    .sube-ana-baslik { 
        font-size: 24px; 
    }
    .sube-detay-row { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 6px; 
    }
    .sube-detay-value { 
        text-align: left; 
        max-width: 100%; 
        justify-content: flex-start;
        width: 100%;
        margin-top: 2px;
    }
    .sube-harita-box { 
        height: 260px; 
    }
    
    /* Mobil reklam alanları optimizasyonu (320x50 veya mobil esnek reklamlar için) */
    .kb-branch-top-ad-slot { 
        min-height: 50px; 
        margin-bottom: 15px; 
    }
    .kb-branch-bottom-ad-slot { 
        min-height: 250px; 
        margin: 20px auto; 
    }
}
/* ======================================================
   ARCHIVE-BANKALAR.PHP - ARŞİV VE FİLTRE PANELİ STİLLERİ
   ====================================================== */

/* Filtre Paneli Wrapper */
.banka-filtre-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Bankalar Listesi Izgara Yapısı */
.bankalar-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Banka Kartı Görünümü */
.banka-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banka-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.banka-title a {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.banka-title a:hover {
    color: #e25c46;
}

.entry-summary {
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Sayfalama (Pagination) */
.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin: 0 4px;
    text-decoration: none;
    color: #475569;
}
.pagination .current {
    background: #0f172a;
    color: #ffffff;
}

/* NOTHING FOUND ALANI */
.nothing-found {
    background: #fff5f5;
    border: 1px dashed #feb2b2 !important;
    border-radius: 12px;
    padding: 40px !important;
}
.sube-faq-wrapper {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}
/* İçerik hizalama ve düzenleme */
.single-footer-content {
    max-width: 1000px; /* İçerik genişliğini sabitler */
    margin: 40px auto 0 auto; /* Ortalar */
    padding: 0 20px;
}

/* --- Sıkça Sorulan Sorular - Yeni Tasarım (Çakışmasız) --- */
.sube-faq-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: left;
}

.sube-faq-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

.faq-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.faq-q {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.faq-a {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}