/* FAQ Block Styling */
/* FAQ Block - Minimal Düz Tasarım */
.odak-faq { margin: 28px 0; }
.odak-faq > h3 { font-size: 20px; font-weight: 700; color: var(--dark-color); margin-bottom: 18px; }
.odak-faq .odak-faq-row { background:#fff; border:1px solid #e9eef5; border-left:4px solid var(--primary-color); border-radius:6px; padding:14px 16px; margin-bottom:12px; }
.odak-faq .odak-faq-q { font-size:20px; font-weight:700; color:#203656; margin-bottom:8px; line-height:1.35; }
.odak-faq .odak-faq-a { font-size:15px; color:#5b6b81; line-height:1.7; margin:0; }

@media (prefers-color-scheme: dark) {
  .odak-faq .odak-faq-row { background:#0b1324; border-color:#1f2a3a; }
  .odak-faq .odak-faq-q { color:#e5eefc; }
  .odak-faq .odak-faq-a { color:#b9c5d6; }
}

/*
Theme Name: OdakBlog
Description: Bootstrap 5 tabanlı modern blog teması
Author: OdakBlog Team
Version: 1.0
*/

/* Değişkenler */
:root {
    --primary-color: #fe4f70;
    --background-color: #ffffff;
    --dark-color: #203656;
    --text-color: #8f9bad;
    --border-color: #ebebeb;
    --background-light: #f9f9f9;
    --font-family-base: 'Inter', sans-serif;
}

/* Genel Sayfa Ayarları */
body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: #fff;
    font-size: 15px;
    line-height: 1.7;
}

/* Lazy Loading Stilleri */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Core Web Vitals Optimizasyonları */
/* CLS (Cumulative Layout Shift) Önleme */
img, video, iframe {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* LCP (Largest Contentful Paint) Optimizasyonu */
.hero-slider .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FID/INP Optimizasyonu */
button, a, input, select, textarea {
    touch-action: manipulation;
}

/* Preload kritik kaynaklar */
.hero-slider {
    contain: layout style paint;
}

/* Görsel boyutları önceden belirt */
.post-image, .side-post-img, .card-img-top, .featured-image-full {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Anasayfa kartları için eşit görsel boyutları */
.home .card-img-top,
.home .post-image,
.home .side-post-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Hero slider için özel boyut */
.hero-slider .carousel-item {
    min-height: 540px;
    background-size: cover;
    background-position: center;
}

/* Sidebar görselleri için sabit boyut */
.comment-avatar, .author-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* FID/INP Optimizasyonu - JavaScript yükleme */
script[src] {
    loading: lazy;
}

/* Critical CSS - Above the fold */
.site-header {
    position: relative;
    z-index: 1000;
}

.hero-slider {
    min-height: 540px;
}

/* Author avatar styles */
.author-img,
.author-avatar {
    border-radius: 50%;
    border: 2px solid #e6ebf1;
    object-fit: cover;
    display: inline-block;
}

/* Home cards typically use 32px avatar size via get_avatar; ensure crisp circle */
.author-img { width: 32px; height: 32px; }

/* Author box avatar keeps requested larger size via get_avatar arg (80px) */
.author-box .author-avatar { width: 80px; height: 80px; }

/* Force WordPress default avatar classes to be circular and bordered */
img.avatar, .avatar {
    border-radius: 50% !important;
    border: 2px solid #e6ebf1;
    object-fit: cover;
}

/* Size-specific normalization */
.avatar-32 { width: 32px !important; height: 32px !important; }
.avatar-48 { width: 48px !important; height: 48px !important; }
.avatar-80 { width: 80px !important; height: 80px !important; }

/* Context-specific enforcement */
.post-card-horizontal .avatar, .post-card-horizontal .author-img { width: 32px !important; height: 32px !important; }
.author-box .avatar, .author-box .author-avatar { width: 80px !important; height: 80px !important; }

/* HowTo Block Styling */
.odak-howto { margin: 32px 0; }

/* Önemli Blok Styling */
.odak-important {
    margin: 24px 0;
    padding: 20px;
    border-left: 4px solid;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.odak-important:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Blok Tipleri */
.odak-important-info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
}

.odak-important-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
}

.odak-important-success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
}

.odak-important-error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #991b1b;
}

.odak-important-tip {
    border-left-color: #8b5cf6;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #6b21a8;
}

/* Özel Renk */
.odak-important-custom {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
}

/* İkon */
.odak-important-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 2px;
}

.odak-important-icon i {
    font-size: 20px;
}

/* İçerik */
.odak-important-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.odak-important-content p {
    margin: 0;
}

.odak-important-content strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .odak-important {
        padding: 16px;
        gap: 12px;
    }
    
    .odak-important-content {
        font-size: 15px;
    }
    
    .odak-important-icon {
        width: 20px;
        height: 20px;
    }
    
    .odak-important-icon i {
        font-size: 16px;
    }
}
.odak-howto > h3 { font-size: 22px; font-weight: 800; color: var(--dark-color); margin-bottom: 14px; letter-spacing: .2px; }
.odak-howto > p { color: #5b6b81; margin-bottom: 18px; }
.odak-howto ol { list-style: none; counter-reset: odak-step; margin: 0; padding-left: 0; }
.odak-howto .odak-howto-step {
  position: relative;
  counter-increment: odak-step;
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 10px;
  padding: 16px 16px 16px 56px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(32,54,86,.06);
}
.odak-howto .odak-howto-step::before {
  content: counter(odak-step);
  position: absolute; left: 16px; top: 16px;
  width: 28px; height: 28px; line-height: 28px; text-align: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff; font-weight: 800; font-size: 14px;
}
.odak-howto .odak-howto-step strong { display: block; color: #203656; margin-bottom: 6px; font-size: 17px; }
.odak-howto .odak-howto-step div { color: #5b6b81; line-height: 1.8; }

@media (prefers-color-scheme: dark) {
  .odak-howto .odak-howto-step { background:#0b1324; border-color:#1f2a3a; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
  .odak-howto .odak-howto-step strong { color:#e5eefc; }
  .odak-howto .odak-howto-step div { color:#b9c5d6; }
}

/* Responsive media (images & videos) */
.post-content img,
.post-content iframe,
.post-content video,
.post-content .wp-video,
.post-content .wp-block-embed__wrapper iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e9eef5;
    display: block;
}

/* Make embeds and videos same width/style as images */
.post-content .wp-block-embed,
.post-content figure.wp-block-embed,
.post-content .wp-block-video { margin: 16px 0; }

.post-content .wp-block-embed__wrapper,
.post-content figure.wp-block-embed .wp-block-embed__wrapper { width: 100%; }

.post-content .wp-block-embed__wrapper iframe,
.post-content iframe,
.post-content video { 
    width: 100% !important; 
    aspect-ratio: 16 / 9; 
    height: auto; 
    border-radius: 8px; 
    border: 1px solid #e9eef5; 
}

/* Maintain 16:9 ratio for embeds (YouTube, etc.) */
.embed-responsive { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.embed-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    font-weight: 700;
    color: var(--dark-color);
}

/* Modern Header Tasarımı - Bootstrap 5 Stili */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    flex-shrink: 0;
}

.main-logo {
    max-height: var(--header-logo-height, 60px);
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-title:hover {
    color: var(--primary-color);
}

/* Ana Menü - Modern Bootstrap Stili */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    color: #555;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary-color);
    background-color: rgba(254, 79, 112, 0.1);
    transform: translateY(-1px);
}

/* Header Sağ Taraf */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--background-light);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 79, 112, 0.3);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    padding: 8px;
    cursor: pointer;
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-logo {
        max-height: 45px;
    }
    
    .social-links {
        display: none;
    }
    
    .header-right {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .main-logo {
        max-height: 35px;
    }
    
    .site-title {
        font-size: 20px;
    }
}

/* Sosyal Medya İconları */
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--background-light);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 79, 112, 0.3);
}

/* Modern Açılır Menü Tasarımı - Bootstrap 5 Stili */
.main-menu .dropdown {
    position: relative;
}

.main-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #fff;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    list-style: none;
    animation: fadeIn 0.2s ease-out;
}

.main-menu .dropdown:hover .dropdown-menu,
.main-menu .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.main-menu .dropdown-item:hover {
    background-color: #f0f2f5;
    color: var(--primary-color);
    padding-left: 1.75rem;
    transform: translateX(4px);
}

.main-menu .dropdown-toggle::after {
    content: "";
    margin-left: 0;
    font-size: 0;
    transition: none;
}

.main-menu .dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

/* FadeIn animasyonu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Mobil Menü */
@media (max-width: 991px) {
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0.75rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        margin-top: 1rem;
        padding: 0.5rem 0;
    }
    
    .main-menu.show {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        margin: 0;
        padding: 0;
        display: none;
        border-top: 1px solid #e9ecef;
    }
    
    .main-menu .dropdown-menu.show {
        display: block;
        animation: slideIn 0.3s ease-out;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .main-menu .dropdown-item {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #e9ecef;
        font-size: 14px;
        font-weight: 600;
        margin: 0 0.5rem;
        border-radius: 0.5rem;
    }
    
    .main-menu .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .main-menu .dropdown-toggle::after {
        content: "";
        transform: none;
        transition: none;
    }
    
    .main-menu .dropdown.show .dropdown-toggle::after {
        transform: none;
    }
}

/* Manşet (Hero) Alanı */
.hero-slider {
    height: 485px;
    border-radius: 0.625rem; /* 10px */
}

.hero-slider .carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 40%);
    border-radius: inherit; /* Parent'tan border-radius al */
}
.slide-content { 
    position: absolute; 
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2; 
}
.slide-content h1 { font-size: 24px; margin: 10px 0; color: #fff; font-weight: 700; }
.slide-content h1 a { color: #fff; text-decoration: none; }
.slide-content .meta { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.slide-content .meta span:first-child::after { content: '•'; margin: 0 10px; }

.hero-slider .carousel-control-prev, 
.hero-slider .carousel-control-next {
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}
.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }

.hero-slider .carousel-control-prev:hover, 
.hero-slider .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-side-posts .side-post-item {
    position: relative;
    height: 232px;
    border-radius: 0.625rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.side-post-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.side-post-item h5 {
    position: relative; z-index: 2; font-size: 16px; margin: 0;
}
.side-post-item h5 a { color: #fff; }

/* Editörün Seçtikleri Alanı */
.section-title h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.pick-card {
    position: relative;
    border-radius: 0.625rem;
    overflow: hidden;
    height: 300px;
}
.pick-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.pick-card:hover img {
    transform: scale(1.05);
}
.pick-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent 40%);
}
.pick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    z-index: 1;
    transition: all 0.3s ease;
}
.pick-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    z-index: 2;
    color: #fff;
}
.pick-content h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}
.pick-content h3 a {
    color: #fff;
    text-decoration: none;
}
.pick-content .category-badge {
    font-size: 11px;
    padding: 4px 10px;
}

/* Blog Kartları - YATAY TASARIM */
.category-badge {
    background-color: var(--primary-color);
    background-size: 200% auto;
    color: #fff;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

.post-card-horizontal {
    border: 1px solid var(--border-color);
    border-radius: 0.625rem;
    overflow: hidden;
}
.post-card-horizontal .post-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.post-card-horizontal .card-title a {
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}
.author-img { width: 32px; height: 32px; border-radius: 50%; }

/* Sidebar */
.widget {
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 0.625rem;
}
.widget-title { font-size: 20px; margin-top: 0; text-align: center; }

.popular-post-item, .comment-item {
    display: flex; align-items: center; gap: 15px;
}
.popular-post-item img, .comment-avatar {
    width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
}
.post-info h6, .comment-body h6 { font-size: 15px; margin: 0 0 5px 0; line-height: 1.4; }
.post-info h6 a, .comment-body h6 a { color: var(--dark-color); }
.post-info span, .comment-body span { font-size: 13px; }
.comment-body span { font-style: italic; }

.widget-categories .list-group-item {
    border-bottom: 1px dashed var(--border-color) !important;
    border-left: 0; border-right: 0; border-top: 0;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget-categories .list-group-item:last-child { border-bottom: none !important; }
.widget-categories .list-group-item:hover {
    background-color: var(--background-light);
    transform: translateX(5px);
}
.widget-categories a { 
    color: var(--dark-color); 
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    flex: 1;
}
.widget-categories a:hover {
    color: var(--primary-color);
}
.widget-categories .badge {
    background-color: var(--primary-color) !important;
    color: #fff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Okuma İlerleme Çubuğu */
.progress-bar-container {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 5px; 
    z-index: 1050;
}
.reading-progress-bar {
    height: 5px; 
    background-color: var(--primary-color); 
    width: 0%;
}

/* Tekli Yazı Stilleri */
.post-header .meta {
    font-size: 14px;
}
.post-header h1 {
    font-size: 2.2rem;
    margin: 0.5rem 0 1rem 0;
}
.post-content-wrapper { 
    max-width: 750px; 
    margin: 0 auto; 
}
.featured-image-full { 
    border-radius: 0.625rem; 
}

/* Yazı İçeriği */
.post-content {
    margin-top: 2rem;
}
.post-content h2 {
    margin-top: 3rem; 
    margin-bottom: 1.5rem; 
    font-size: 1.8rem; 
    position: relative;
    padding-left: 20px; 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 0.5rem;
}
.post-content h2::before {
    content: '';
    position: absolute; 
    left: 0; 
    top: 5px;
    width: 5px; 
    height: 28px; 
    background-color: var(--primary-color);
}
.post-content h3 {
    font-size: 1.5rem; /* 24px */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.post-content p {
    margin-bottom: 1.5rem;
}
.post-content blockquote {
    background-color: var(--background-light); 
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem; 
    margin: 2rem 0; 
    font-size: 1.1rem; 
    font-style: italic;
}

/* İçindekiler Tablosu */
.table-of-contents {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}
.table-of-contents h5 {
    margin-top: 0;
}
.table-of-contents ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}
.table-of-contents ul ul {
    padding-left: 1.5rem;
}
.table-of-contents li a {
    display: block;
    padding: 0.25rem 0;
    color: var(--dark-color);
    font-weight: 500;
}
.table-of-contents li a:hover {
    color: var(--primary-color);
}

/* Yazar Kutusu */
.author-box {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.author-box .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* İlgili Yazılar */
.related-posts .post-card {
    border: 1px solid var(--border-color);
    border-radius: 0.625rem;
}

/* Yüzen Paylaşım Butonları */
.social-share-sticky { 
    position: sticky; 
    top: 150px; 
}
.social-share-sticky a {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px;
    border-radius: 50%; 
    background-color: var(--background-light); 
    color: var(--text-color);
    margin-bottom: 0.5rem; 
    font-size: 16px;
}
.social-share-sticky a:hover { 
    background-color: var(--primary-color); 
    color: #fff; 
}

/* Yatay Sosyal Medya Paylaşım Butonları */
.social-share-horizontal h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.social-share-horizontal .btn {
    border-radius: 25px;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}
.social-share-horizontal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Sosyal paylaşım - mobil uyum */
.social-share-horizontal .share-list {
    flex-wrap: wrap;
}
.social-share-horizontal .share-list .btn {
    flex: 1 1 calc(50% - 12px);
}
@media (max-width: 480px) {
    .social-share-horizontal .share-list .btn {
        flex: 1 1 100%;
    }
}

/* İlgili Yazılar */
.related-post-card { 
    border: 1px solid var(--border-color); 
    border-radius: 0.5rem; 
    overflow: hidden; 
    height: 100%; 
}
.related-post-card img { 
    height: 220px; 
    object-fit: cover; 
    width: 100%;
}
.related-post-card .card-title { 
    font-size: 1.1rem; 
    min-height: 2.6rem; /* ~2 satır */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* İlgili Yazılar eşit yükseklik ve grid uyumu */
.related-posts .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.related-posts .row > div {
    display: flex;
}
.related-posts .row > div .related-post-card {
    width: 100%;
}
.related-posts .col-md-6 { /* Grid ile çakışmayı önlemek için reset */
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
}
.related-post-card { /* zaten height:100% var */
    display: flex;
    flex-direction: column;
}
.related-post-card .card-body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1 1 auto;
}
@media (max-width: 576px) {
    .related-posts .row {
        grid-template-columns: 1fr;
    }
}

/* Sesli Okuma Butonları */
.audio-reader-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.audio-reader-controls .btn {
    border-radius: 25px;
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.audio-reader-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.audio-reader-controls .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.audio-reader-controls .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.audio-reader-controls .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.audio-reader-controls .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.audio-reader-progress {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.audio-reader-progress .progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.audio-reader-progress .progress-bar {
    background: linear-gradient(45deg, var(--primary-color), #ff6b8a);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.audio-reader-progress small {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Yorumlar Alanı */
.comment {
    display: flex;
    gap: 1rem;
}
.comment .comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.comment .comment-body {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    width: 100%;
}
.comment .comment-reply {
    margin-left: 66px; /* Avatar + gap */
}

/* Etiket Bulutu */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.tag-cloud .btn-outline-secondary {
    --bs-btn-color: var(--text-color);
    --bs-btn-border-color: var(--border-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    font-size: 14px;
    border-radius: 25px;
}

/* Breadcrumb */
.breadcrumb {
    --bs-breadcrumb-divider-color: var(--text-color);
    --bs-breadcrumb-item-active-color: var(--text-color);
}
.breadcrumb-item a {
    color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    background-size: 200% auto;
    border: none;
    transition: all 0.3s ease;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(254, 79, 112, 0.3);
}

/* Sade link */
.simple-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: none;
}

/* View All button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: #203656;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.view-all-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(32, 54, 86, .08);
    transform: translateY(-1px);
}
.view-all-btn .label { letter-spacing: .2px; }
.view-all-btn i { color: var(--primary-color); }

.simple-link:hover {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

/* Header Logo Responsive */
.main-logo {
    max-height: var(--header-logo-height, 60px);
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-logo {
        max-height: 45px;
    }
}

@media (max-width: 576px) {
    .main-logo {
        max-height: 35px;
    }
}

/* Minimal Footer */
.site-footer-minimal {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    margin-top: 60px;
}

.footer-brand {
    margin-bottom: 0;
}

.footer-logo-img {
    max-height: var(--footer-logo-height);
    width: auto;
    transition: all 0.3s ease;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-brand-text:hover {
    color: var(--primary-color);
}

.footer-right {
    text-align: right;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.footer-social .social-link {
    width: 32px;
    height: 32px;
    background-color: var(--background-light);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(254, 79, 112, 0.3);
}

.copyright {
    color: var(--text-color);
    font-size: 13px;
    margin: 0;
    text-align: right;
}

/* Footer Menü */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #79889e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    position: relative;
}

.footer-menu a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-menu a::before {
    content: "→";
    opacity: 0;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-menu a:hover::before {
    opacity: 1;
}

/* Footer Menü Blok Renkleri */
.col-md-2:nth-child(2) .footer-menu-title {
    color: #e74c3c;
}

.col-md-2:nth-child(3) .footer-menu-title {
    color: #3498db;
}

.col-md-2:nth-child(4) .footer-menu-title {
    color: #f39c12;
}

.col-md-2:nth-child(2) .footer-menu a:hover {
    color: #e74c3c;
}

.col-md-2:nth-child(3) .footer-menu a:hover {
    color: #3498db;
}

.col-md-2:nth-child(4) .footer-menu a:hover {
    color: #f39c12;
}

.footer-description {
    color: #79889e;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Footer Layout Düzenlemesi */
.site-footer-minimal .row {
    align-items: flex-start;
}

.site-footer-minimal .col-md-6:first-child { flex: 0 0 25%; }
.site-footer-minimal .col-md-2 { flex: 0 0 16.66%; }
.site-footer-minimal .col-md-3 { flex: 0 0 25%; }

/* Footer menü bloklarının eşit başlangıç yüksekliği */
/* Menüler aynı hizada başlasın ve eşit yükseklik alsın */
.site-footer-minimal .col-md-2 { display: flex; }
.site-footer-minimal .col-md-2 > * { display:flex; flex-direction:column; width:100%; }
.footer-menu { margin-top: 0; }

/* Footer Menü Başlığı */
.footer-menu-title {
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Minimal Footer Responsive */
@media (max-width: 768px) {
    .site-footer-minimal {
        padding: 25px 0;
        margin-top: 40px;
    }
    
    .footer-logo-img {
        max-height: 35px;
    }
    
    .site-footer-minimal .col-md-6,
    .site-footer-minimal .col-md-2,
    .site-footer-minimal .col-md-3 {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .footer-right {
        text-align: center;
        margin-top: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .footer-menu {
        text-align: center;
    }
    
.footer-menu-title {
    text-align: center;
    }
}

/* Breadcrumb özel tasarım kaldırıldı - Bootstrap varsayılanı kullanılacak */

@media (max-width: 576px) {
    .footer-logo-img {
        max-height: 30px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .footer-social .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}
