/**
 * Burcu Özbek V2 - Modern Blog, AdSense ve Zengin İçerik Stilleri
 * Sıfır eklenti prensibiyle saf CSS3 ve Bootstrap 4 entegrasyonu.
 */

/* ==========================================================================
   1. Okuma İlerleme Çubuğu (Reading Progress Bar)
   ========================================================================== */
.bo-reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #e2a03f 0%, #343148 100%);
    z-index: 999999;
    pointer-events: none;
    transition: width 0.08s ease-out;
    box-shadow: 0 1px 4px rgba(226, 160, 63, 0.4);
}

/* ==========================================================================
   2. Google AdSense & Reklam Çerçeveleri
   ========================================================================== */
.bo-ad-wrapper {
    position: relative;
    margin: 26px auto;
    text-align: center;
    width: 100%;
    max-width: 100%;
    min-width: 250px;
    clear: both;
    box-sizing: border-box;
}

.bo-ad-label {
    display: block;
    margin-bottom: 6px;
    line-height: 1;
}

.bo-ad-label span {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    user-select: none;
}

.bo-ad-inner {
    display: block;
    width: 100%;
    min-width: 250px;
    min-height: 50px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.bo-ad-inner ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-width: 250px;
    margin: 0 auto;
}

.bo-ad-in_feed {
    background: #fcfdfe;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 22px 14px;
    margin-bottom: 30px;
    width: 100%;
}

/* Akış İçi (In-Feed) Blog Kartı Şeklinde Reklam Alanı (2'li Grid) */
.bo-ad-feed-col {
    display: flex;
}

.bo-blog-card-ad {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 28px 16px 20px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.bo-blog-card-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    border-color: #94a3b8;
}

.bo-blog-card-ad .bo-ad-label {
    position: absolute;
    top: 12px;
    left: 14px;
    margin: 0;
    z-index: 2;
}

.bo-blog-card-ad .bo-ad-label span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.bo-blog-card-ad .bo-ad-inner {
    width: 100%;
    min-width: 250px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bo-blog-card-ad .bo-ad-inner ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-width: 250px;
    margin: 0 auto;
}

/* Tam Genişlik Satır Arası Banner Modu (col-12) */
.bo-ad-feed-full-banner {
    width: 100%;
    clear: both;
}

.bo-ad-feed-full-banner .bo-ad-wrapper {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 10px 0 30px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.bo-ad-sidebar_sticky {
    background: #fafbfc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 16px 8px;
    margin-top: 20px;
}

.bo-ad-in_article {
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 0;
}

.bo-ad-after_content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 10px;
}

/* ==========================================================================
   3. Dinamik İçindekiler Tablosu (Table of Contents - TOC)
   ========================================================================== */
.bo-toc-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.bo-toc-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.bo-toc-header {
    background: #ffffff;
    padding: 12px 18px;
    border-bottom: 1px solid #edf2f7;
    cursor: pointer;
    user-select: none;
}

.bo-toc-title {
    font-size: 15px;
    color: #1e293b;
    letter-spacing: 0.2px;
}

.bo-toc-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bo-toc-toggle-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.bo-toc-icon {
    transition: transform 0.25s ease;
    font-size: 11px;
}

.bo-toc-card.collapsed .bo-toc-icon {
    transform: rotate(180deg);
}

.bo-toc-card.collapsed .bo-toc-body {
    display: none;
}

.bo-toc-body {
    padding: 16px 22px 18px 22px;
}

.bo-toc-list {
    margin: 0;
    padding-left: 20px;
}

.bo-toc-item {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14.5px;
}

.bo-toc-item:last-child {
    margin-bottom: 0;
}

.bo-toc-link {
    color: #334155;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}

.bo-toc-link:hover {
    color: #e2a03f;
    text-decoration: none;
    padding-left: 3px;
}

.bo-toc-subitem {
    font-size: 13.5px;
    color: #64748b;
    list-style-type: circle;
    margin-top: 4px;
}

/* ==========================================================================
   4. Öne Çıkan Notlar & Hızlı Özet (TL;DR)
   ========================================================================== */
.bo-tldr-box {
    background: #fdfbf7;
    border: 1px solid #f6ebd8;
    border-left: 5px solid #e2a03f;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(226, 160, 63, 0.08);
}

.bo-tldr-header {
    border-bottom: 1px solid #f9edd7;
    padding-bottom: 8px;
}

/* ==========================================================================
   5. Kaynakça & Referanslar
   ========================================================================== */
.bo-references-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.bo-references-list li {
    word-break: break-word;
}

/* ==========================================================================
   6. Modern Blog Listeleme & Kart Izgarası (Grid Layout)
   ========================================================================== */
/* Vitrin / Hero Kartı */
.bo-hero-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bo-hero-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.1);
}

.bo-hero-thumb-wrap {
    height: 380px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

.bo-hero-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bo-hero-blog-card:hover .bo-hero-thumb-wrap img {
    transform: scale(1.04);
}

.bo-hero-blog-card .bo-hero-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: linear-gradient(135deg, #e2a03f, #c7862a);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.bo-hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.bo-hero-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bo-hero-title a:hover {
    color: #e2a03f;
}

.bo-hero-desc {
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
}

/* Vitrin / Blog Kartı 'Devamı' Butonu (Temaya Uyumlu) */
.single-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #F7CAC9 !important;
    background: #343148 !important;
    border: 1px solid rgba(247, 202, 201, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 12px rgba(52, 49, 72, 0.15);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none !important;
}

.single-btn:hover {
    color: #343148 !important;
    background: #F7CAC9 !important;
    border-color: #F7CAC9 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(247, 202, 201, 0.45);
    text-decoration: none !important;
}

/* Blog Carousel Navigasyon Butonları (Temaya Uyumlu) */
.blog .owl-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 36px auto 0 auto !important;
    width: auto !important;
}

.blog .owl-nav .owl-prev,
.blog .owl-nav .owl-next {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #F7CAC9 !important;
    background: #343148 !important;
    border: 2px solid rgba(247, 202, 201, 0.45) !important;
    font-size: 16px !important;
    margin: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 4px 14px rgba(52, 49, 72, 0.16) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.blog .owl-nav .owl-prev:hover,
.blog .owl-nav .owl-next:hover {
    color: #343148 !important;
    background: #F7CAC9 !important;
    border-color: #F7CAC9 !important;
    transform: translateY(-3px) scale(1.06) !important;
    box-shadow: 0 8px 24px rgba(247, 202, 201, 0.5) !important;
}

.blog .owl-nav .owl-prev:active,
.blog .owl-nav .owl-next:active {
    transform: translateY(-1px) scale(0.98) !important;
}

.blog .owl-nav .owl-prev.disabled,
.blog .owl-nav .owl-next.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Okuma Süresi Rozeti */
.bo-reading-time {
    display: inline-flex;
    align-items: center;
    background: #eef2f5;
    color: #555;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    vertical-align: middle;
}

.bo-reading-time i {
    color: #343148;
    font-size: 12px;
}

/* 2-Sütunlu Standart Blog Kartları */
.bo-blog-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.bo-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.bo-blog-thumb-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.bo-blog-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.bo-blog-card:hover .bo-blog-thumb-wrap img {
    transform: scale(1.06);
}

.bo-blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(52, 49, 72, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.bo-blog-card-body {
    padding: 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bo-blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
}

.bo-blog-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bo-blog-card-title a:hover {
    color: #e2a03f;
}

.bo-blog-card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 16px;
}

.bo-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    font-size: 13px;
    color: #94a3b8;
}

.bo-blog-card-btn {
    font-size: 13.5px;
    font-weight: 700;
    color: #343148;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bo-blog-card-btn:hover {
    color: #e2a03f;
    text-decoration: none;
    transform: translateX(3px);
}

/* ==========================================================================
   7. Sticky Sidebar (Yapışkan Kenar Çubuğu) & Menü Katman Koruması
   ========================================================================== */
.bo-sticky-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    z-index: 10;
}

/* Navbar menüsünün kenar çubuğu (sidebar) veya içeriklerin altında kalmasını engelle */
.navbar {
    z-index: 1030 !important;
}

.navbar.nav-sticky {
    z-index: 1050 !important;
}

/* ==========================================================================
   8. Benzer Yazılar (Related Posts)
   ========================================================================== */
.bo-related-posts {
    border-top: 1px solid #e2e8f0;
}

.bo-related-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    overflow: hidden;
}

.bo-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.bo-related-card:hover img {
    transform: scale(1.05);
}

.bo-related-title-link:hover {
    color: #e2a03f !important;
}

/* ==========================================================================
   9. Yazı İçi ve Öne Çıkan Görseller (Modern Köşeler & Derinlik)
   ========================================================================== */
.single .single-featured-img img,
.single .single-content img,
.single .single-content figure img,
.single-content .wp-block-image img,
.single-content .wp-block-image {
    border-radius: 12px;
}

.single .single-featured-img img,
.single .single-content img,
.single .single-content figure img,
.single-content .wp-block-image img {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    max-width: 100%;
    height: auto;
}

.single .single-content a > img:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.single .single-content figure {
    margin: 25px 0 20px;
}

.single .single-content figure.aligncenter {
    text-align: center;
}

.single .single-content figcaption,
.single .single-content .wp-caption-text {
    font-size: 13.5px;
    color: #64748b;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* Mobil Uyumluluk */
@media (max-width: 767.98px) {
    .bo-hero-thumb-wrap {
        height: 230px;
    }
    .bo-hero-title {
        font-size: 20px;
    }
    .bo-hero-desc {
        font-size: 14px;
    }
    .bo-blog-thumb-wrap {
        height: 190px;
    }
    .bo-sticky-sidebar {
        position: static;
    }
}

/* Footer Copyright - Çizgileri Tamamen Kaldır */
.footer .copyright,
.footer .copyright .row {
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
}
