/*
Theme Name: Fragman
Description: Profesyonel Film ve Dizi Fragman Teması - Responsive tasarım, SEO optimizasyonu, film kartları ve taxonomy desteği ile.
Author: Film Tema Geliştiricisi
Version: 2.3
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fragman
Tags: blog, entertainment, movies, responsive, custom-colors, featured-images, theme-options
*/

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === GENEL HİZALAMA MERKEZİ === */
/* Header, Slider ve İçerik bu sınıfa göre hizalanır */
.container-fixed,
.header-inner,
.fragman-slider,
.content-area,
.footer-content {
    max-width: 1280px; /* Toplam genişlik */
    margin: 0 auto !important;
    padding: 0 15px !important; /* Her yerde eşit kenar payı */
    width: 100%;
    overflow-x: hidden; /* Horizontal scroll'u önle */
}

/* Global horizontal scroll önleme */
html, body {
    overflow-x: hidden;
    width: 100%;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* === HEADER === */
.site-header {
    background: rgba(15, 20, 25, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 0; /* İçerik dikey boşluğu */
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
}

.site-title-text {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
    text-decoration: none;
}

.site-title-text:hover {
    color: #f59e0b;
}

/* Custom Logo Stilleri */
.custom-logo-link {
    display: inline-block;
    text-decoration: none;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.custom-logo:hover {
    opacity: 0.8;
}

/* Logo varken site başlığını gizle */
.custom-logo-link + .site-title-text {
    display: none;
}

/* === MOBİL HAMBURGER MENÜ === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animasyonları */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Ana navigasyon */
.main-nav {
    position: relative;
}

.main-nav ul,
.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-nav a:hover {
    color: #fbbf24;
}

/* Mobil navigasyon - başlangıçta gizli */
.mobile-nav {
    display: none;
}

.mobile-nav .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background: rgba(15, 20, 25, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    padding: 70px 20px 20px 20px;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Mobil menü açık durumu */
.mobile-nav .mobile-menu.mobile-menu-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Mobil menü linklerini küçült */
.mobile-nav .mobile-menu.mobile-menu-open a {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 40px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    margin: 2px 0;
}

.mobile-nav .mobile-menu.mobile-menu-open a:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    transform: scale(1.02);
}

.search-form {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.search-field {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: #e2e8f0;
    width: 200px;
    outline: none;
}

.search-submit {
    background: #fbbf24;
    border: none;
    padding: 8px 15px;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px; /* Touch-friendly minimum */
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* === SLIDER SECTION WRAPPER (Header ile aynı hiza) === */
.slider-section-outer {
    width: 100%;
    background: rgba(15, 20, 25, 0.4);
    padding: 20px 0 0;
    margin-bottom: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.slider-section-inner {
    max-width: 1280px;   /* Header .header-inner ile aynı */
    margin: 0 auto;
    padding: 0 15px;     /* Header padding ile aynı */
    width: 100%;
    box-sizing: border-box;
}

/* Slider şablonlarının wrapper'ları slider-section-inner içinde tam genişlik kullanır */
.slider-section-inner .numbered-slider-wrapper,
.slider-section-inner .hero-slider-wrapper,
.slider-section-inner .magazine-slider-wrapper,
.slider-section-inner .carousel-slider-wrapper,
.slider-section-inner .fullwidth-slider-wrapper,
.slider-section-inner .mega-slider-wrapper,
.slider-section-inner .dual-slider-wrapper,
.slider-section-inner .fragman-slider-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 0;
}

/* === SLIDER (Genişlik Sorunu Çözüldü) === */
.fragman-slider-wrapper {
    background: rgba(15, 20, 25, 0.4);
    padding: 0 0 20px 0;
    margin-bottom: 0;
}

.fragman-slider {
    position: relative;
    padding: 0 !important;
}

/* slider-section-inner içinde zaten 15px padding var, .fragman-slider'da sıfırla */
.slider-section-inner .fragman-slider {
    padding: 0 !important;
}

.fragman-container {
    overflow: hidden;
    position: relative;
}

.fragman-track {
    display: flex;
    transition: transform 0.5s ease;
}

.fragman-slide {
    flex: 0 0 16.666%; /* 6 kart için kesin eşit boyut */
    padding: 0 5px; /* Kartlar arası boşluk */
    box-sizing: border-box;
    min-width: 0; /* Flexbox sorunu çözümü */
}

.fragman-poster {
    position: relative;
    width: 100%; /* Tam genişlik */
    height: 250px; /* Boy büyültüldü */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    background: #000;
}

.fragman-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important; /* Kesin genişlik */
    height: 100% !important; /* Kesin yükseklik */
    object-fit: cover !important; /* Görseli kartın içine sığdır */
    object-position: center center !important; /* Ortala */
    display: block !important;
}

/* Slider Butonları - Kartların İçinde Konumlandırma */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    min-width: 44px; /* Touch-friendly minimum */
    min-height: 44px; /* Touch-friendly minimum */
}

.slider-btn:hover {
    background: rgba(251, 191, 36, 0.9);
    border-color: rgba(251, 191, 36, 1);
    color: #0f172a;
    transform: translateY(-50%) scale(1.1);
}

/* Sol ok - İlk görünen kartın içinde sol tarafta */
.slider-prev {
    left: 30px;
}

/* Sağ ok - Son görünen kartın içinde sağ tarafta */
.slider-next {
    right: 30px;
}

/* === ANA İÇERİK VE SİDEBAR (Eşitlendi) === */
.content-area {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.main-content {
    flex: 1; /* Kalan tüm alanı kapla */
    min-width: 0;
}

.content-wrapper {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.sidebar {
    width: 300px; /* Sidebar genişliği */
    flex-shrink: 0;
}

/* === FİLM IZGARASI (GRID) - Landscape/Yatay Kart Tasarımı === */
.film-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.film-card {
    background: #16213a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.film-card > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.film-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(251, 191, 36, 0.25);
}

/* Film posteri — 70% oran (biraz daha uzun) */
.film-card .film-poster {
    position: relative;
    width: 100%;
    padding-top: 70%; /* ~10:7 - daha uzun görsel */
    overflow: hidden;
    background: #0a0f1a;
}

.film-card .film-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.film-card:hover .film-poster img {
    transform: scale(1.04);
}

/* Film bilgileri */
.film-info {
    padding: 9px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #16213a;
}

.film-year {
    display: none;
}

.film-title {
    font-size: 13px;
    font-weight: 700;
    color: #f0f4f8;
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.film-genre {
    display: none;
}

/* Alt meta satır: sezon/bölüm + bayrak + tarih */
.film-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 2px;
}

.film-episode {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.film-season {
    color: #94a3b8;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.film-bolum {
    color: #fbbf24;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}


/* === OYUNCU KARTI SATIRI (Actor Strip) === */
.actor-strip-section {
    margin-bottom: 20px;
}

.actor-strip-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #fbbf24);
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.actor-strip-title::before {
    content: '▶';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #1a1f2e;
    color: var(--primary-color, #fbbf24);
    font-size: 9px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1;
    padding-left: 2px; /* optik merkez */
}

/* Yatay kaydırmalı şerit */
.actor-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar gizle ama işlevsel tut */
.actor-strip::-webkit-scrollbar {
    height: 4px;
}
.actor-strip::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}
.actor-strip::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.4);
    border-radius: 2px;
}

/* Tekil oyuncu kartı */
.actor-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform 0.2s ease;
    width: 72px;
}

.actor-card:hover {
    transform: translateY(-3px);
}

/* Yuvarlak fotoğraf */
.actor-card-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(251, 191, 36, 0.4);
    background: #0f1419;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.actor-card:hover .actor-card-photo {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

.actor-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* İsim etiketi — tek satır, taşarsa ellipsis */
.actor-card-name {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.3;
    width: 72px;
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.2s ease;
}

.actor-card:hover .actor-card-name {
    color: #fbbf24;
}

/* Yönetmen şeridi — ana renge uyumlu */
.director-strip-section .actor-strip-title {
    color: var(--primary-color, #fbbf24);
    border-bottom-color: rgba(251, 191, 36, 0.3);
}

.director-strip-section .actor-card-photo {
    border-color: rgba(167, 139, 250, 0.4);
}

.director-strip-section .actor-card:hover .actor-card-photo {
    border-color: #a78bfa;
    box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.25);
}

.director-strip-section .actor-card:hover .actor-card-name {
    color: #a78bfa;
}

.director-strip-section {
    margin-top: 24px;
}

/* Mobil uyumluluk */
@media (max-width: 600px) {
    .actor-card {
        width: 60px;
    }
    .actor-card-photo {
        width: 54px;
        height: 54px;
    }
    .actor-card-name {
        font-size: 10px;
        width: 60px;
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .actor-strip {
        gap: 10px;
    }
}

/* === WIDGETLAR === */
.widget {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    padding-bottom: 8px;
}

.widget ul { list-style: none; }
.widget li { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.widget a { color: #cbd5e1; font-size: 14px; }

/* === SAYFA BAŞLIĞI VE İÇERİK === */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.page-title span {
    color: #e2e8f0;
}

.no-content {
    text-align: center;
    padding: 50px 20px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.no-content p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
}

/* === SAYFALAMA (PAGINATION) === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background: rgba(251, 191, 36, 0.9);
    color: #0f172a;
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.pagination .current {
    background: #fbbf24;
    color: #0f172a;
    border-color: #fbbf24;
}

.pagination .prev,
.pagination .next {
    padding: 8px 16px;
    font-weight: 600;
}

/* === SINGLE POST (FILM DETAY) === */
.single-film {
    margin-bottom: 40px;
}

/* Film Header Card */
.film-header-card {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 25px;
    overflow: hidden;
}

.film-poster-single {
    position: relative;
    flex-shrink: 0;
    width: 280px;
}

.film-poster-single img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Film Badges - Single Page */
.film-poster-single .film-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.film-poster-single .badge {
    background: rgba(0, 0, 0, 0.8);
    color: #fbbf24;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.film-info-card {
    flex: 1;
    min-width: 0;
}

.film-ozet {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 10px 0 18px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border-left: 3px solid #fbbf24;
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.film-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    line-height: 1.2;
}

.film-meta-grid {
    display: grid;
    gap: 12px;
}

.meta-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 14px;
}

.meta-value {
    color: #e2e8f0;
    font-size: 14px;
    word-wrap: break-word;
}

/* Section Titles */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

/* Film Description */
.film-description-section {
    margin-bottom: 30px;
}

.film-description-content {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

/* === İÇERİK TİPOGRAFİSİ (WordPress editör çıktısı) === */
/* .film-description-content → single.php film içeriği            */
/* .content-body            → single-oyuncu.php / single-yonetmen.php biyografi */

.film-description-content p,
.content-body p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #cbd5e1;
    font-size: 15px;
}

.film-description-content h1, .content-body h1,
.film-description-content h2, .content-body h2,
.film-description-content h3, .content-body h3,
.film-description-content h4, .content-body h4,
.film-description-content h5, .content-body h5,
.film-description-content h6, .content-body h6 {
    color: #fbbf24;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 28px;
    margin-bottom: 12px;
}

.film-description-content h1, .content-body h1 { font-size: 26px; }
.film-description-content h2, .content-body h2 { font-size: 22px; border-bottom: 1px solid rgba(251,191,36,0.25); padding-bottom: 6px; }
.film-description-content h3, .content-body h3 { font-size: 19px; }
.film-description-content h4, .content-body h4 { font-size: 16px; color: #e2e8f0; }
.film-description-content h5, .content-body h5 { font-size: 14px; color: #94a3b8; }
.film-description-content h6, .content-body h6 { font-size: 13px; color: #94a3b8; }

.film-description-content ul, .content-body ul,
.film-description-content ol, .content-body ol {
    margin: 12px 0 16px 24px;
    padding: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}

.film-description-content ul, .content-body ul {
    list-style: disc;
}

.film-description-content ol, .content-body ol {
    list-style: decimal;
}

.film-description-content ul ul,
.film-description-content ol ol,
.film-description-content ul ol,
.film-description-content ol ul,
.content-body ul ul,
.content-body ol ol,
.content-body ul ol,
.content-body ol ul {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 20px;
}

.film-description-content li,
.content-body li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.film-description-content strong,
.film-description-content b,
.content-body strong,
.content-body b {
    color: #e2e8f0;
    font-weight: 700;
}

.film-description-content em,
.film-description-content i,
.content-body em,
.content-body i {
    color: #94a3b8;
    font-style: italic;
}

.film-description-content a,
.content-body a {
    color: #fbbf24;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.film-description-content a:hover,
.content-body a:hover {
    color: #f59e0b;
}

.film-description-content blockquote,
.content-body blockquote {
    border-left: 3px solid #fbbf24;
    margin: 20px 0;
    padding: 12px 16px;
    background: rgba(251,191,36,0.05);
    border-radius: 0 6px 6px 0;
    color: #94a3b8;
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
}

.film-description-content blockquote p:last-child,
.content-body blockquote p:last-child {
    margin-bottom: 0;
}

.film-description-content hr,
.content-body hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 24px 0;
}

.film-description-content pre,
.film-description-content code,
.content-body pre,
.content-body code {
    background: rgba(15,20,25,0.8);
    color: #a78bfa;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.film-description-content pre,
.content-body pre {
    padding: 14px 16px;
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid rgba(255,255,255,0.07);
}

.film-description-content code,
.content-body code {
    padding: 2px 6px;
}

.film-description-content img,
.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
    display: block;
}

.film-description-content table,
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    color: #cbd5e1;
}

.film-description-content th,
.film-description-content td,
.content-body th,
.content-body td {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.film-description-content th,
.content-body th {
    background: rgba(251,191,36,0.1);
    color: #fbbf24;
    font-weight: 700;
}

.film-description-content tr:nth-child(even) td,
.content-body tr:nth-child(even) td {
    background: rgba(255,255,255,0.03);
}

/* İlk başlık üst boşluk sıfırla */
.film-description-content > h1:first-child,
.film-description-content > h2:first-child,
.film-description-content > h3:first-child,
.content-body > h1:first-child,
.content-body > h2:first-child,
.content-body > h3:first-child {
    margin-top: 0;
}

/* Son paragraf alt boşluk sıfırla */
.film-description-content > p:last-child,
.film-description-content > ul:last-child,
.film-description-content > ol:last-child,
.content-body > p:last-child,
.content-body > ul:last-child,
.content-body > ol:last-child {
    margin-bottom: 0;
}

/* Video Section */
.fragman-video-section {
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Related Films */
.related-films {
    margin-bottom: 30px;
}

.related-films .film-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Comments Section */
.comments-section {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.comments-list {
    margin-bottom: 30px;
}

.comment-item {
    background: rgba(15, 20, 25, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-author img {
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: #fbbf24;
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: #94a3b8;
}

.comment-actions a {
    color: #94a3b8;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.comment-actions a:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.comment-text {
    color: #cbd5e1;
    line-height: 1.6;
}

.comment-reply {
    margin-left: 40px;
    border-left: 2px solid rgba(251, 191, 36, 0.3);
    padding-left: 20px;
}

/* Comment Form */
.comment-form-wrapper {
    background: rgba(15, 20, 25, 0.5);
    border-radius: 8px;
    padding: 20px;
}

.comment-reply-title {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 20px;
}

.comment-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.comment-form-field label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 14px;
}

.comment-form-field input,
.comment-form-field textarea {
    padding: 10px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.comment-submit-btn {
    background: #fbbf24;
    color: #0f172a;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    min-height: 44px; /* Touch-friendly minimum */
    min-width: 120px;
}

.comment-submit-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

.no-comments {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 20px;
}

.logged-in-user {
    background: rgba(251, 191, 36, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.logged-in-user strong {
    color: #fbbf24;
}

/* Responsive Single Page */
@media (max-width: 900px) {
    .film-header-card {
        flex-direction: column;
        gap: 20px;
        padding: 15px; /* Mobil için padding azalt */
        overflow: hidden; /* Taşmayı önle */
    }
    
    .film-poster-single {
        width: 100%;
        max-width: 250px; /* Mobil için daha küçük */
        margin: 0 auto;
        overflow: hidden; /* Taşmayı önle */
    }
    
    .film-poster-single img {
        width: 100%;
        height: auto;
        max-width: 100%; /* Kesinlikle taşmasın */
        object-fit: contain; /* Cover yerine contain */
    }
    
    .meta-row {
        grid-template-columns: 120px 1fr;
        gap: 10px;
    }
    
    .related-films .film-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comment-form-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .film-main-title {
        font-size: 20px; /* Daha küçük mobil için */
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .meta-row {
        grid-template-columns: 100px 1fr; /* Daha dar label */
        gap: 8px;
    }
    
    .meta-label {
        font-weight: 700;
        font-size: 12px; /* Küçük label */
    }
    
    .meta-value {
        font-size: 13px; /* Küçük değer */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .related-films .film-grid {
        grid-template-columns: 1fr;
    }
    
    .film-header-card {
        padding: 10px; /* Daha küçük padding */
        margin: 10px; /* Kenar boşluğu */
    }
    
    .film-poster-single {
        max-width: 200px; /* Çok küçük mobiller için */
    }
}

/* === FOOTER === */
.site-footer {
    border-top: 1px solid rgba(251, 191, 36, 0.3);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    background: #0f1419;
}

/* Footer Navigasyon */
.footer-nav {
    margin-bottom: 20px;
}

.footer-nav .footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav .footer-menu li {
    margin: 0;
    padding: 0;
    border: none;
}

.footer-nav .footer-menu a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
}

.footer-nav .footer-menu a:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-1px);
}

/* Footer içerik düzenlemesi */
.footer-content {
    margin-top: 20px;
}

.footer-content p {
    margin: 8px 0;
    color: #94a3b8;
    font-size: 14px;
}

.footer-extra-text {
    font-style: italic;
    color: #cbd5e1;
}

/* Footer Sosyal Medya İkonları — Gerçekçi marka renkli tam yuvarlak butonlar */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--social-color, #555);
    color: #ffffff;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Üstten hafif parlaklık şeridi — 3D görünüm */
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50% 50% 0 0;
    pointer-events: none;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: brightness(1.15);
    color: #fff;
}

.social-link:active {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(0.92);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}

/* Mobil sosyal ikonlar */
@media (max-width: 600px) {
    .footer-social {
        gap: 7px;
        margin: 14px 0 8px;
    }
    .social-link {
        width: 36px;
        height: 36px;
    }
    .social-link svg {
        width: 17px;
        height: 17px;
    }
}

/* === RESPONSIVE DÜZENLEMELER === */
@media (max-width: 1100px) {
    .film-grid { grid-template-columns: repeat(4, 1fr); } /* 5'ten 4'e düşür */
    .fragman-slide { flex: 0 0 20%; } /* 5 kart göster */
    
    /* Tablet için film kartları - slider */
    .fragman-poster {
        height: 220px;
    }
    
    /* Tablet için slider butonları */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .slider-prev { left: 25px; }
    .slider-next { right: 25px; }
}

@media (max-width: 900px) {
    .home .content-area { flex-direction: column; }
    .home .sidebar { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .fragman-slide { flex: 0 0 25%; } /* 4 kart göster */
    .film-grid { grid-template-columns: repeat(3, 1fr); } /* 4'ten 3'e düşür */
    
    /* Küçük tablet için film kartları - slider */
    .fragman-poster {
        height: 200px;
    }
    
    /* Küçük tablet için slider butonları */
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .slider-prev { left: 20px; }
    .slider-next { right: 20px; }
}

@media (max-width: 600px) {
    .film-grid { grid-template-columns: repeat(2, 1fr); }
    .home .sidebar { grid-template-columns: 1fr; }
    .fragman-slide { flex: 0 0 33.33%; } /* 3 kart göster */
    
    /* Mobil hamburger menüyü göster */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Desktop menüyü gizle */
    .main-nav .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        background: rgba(15, 20, 25, 0.98);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 4px;
        padding: 70px 20px 20px 20px;
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    /* Mobil menü açık durumu */
    .main-nav .nav-menu.mobile-menu-open {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobil menü linklerini küçült */
    .main-nav .nav-menu.mobile-menu-open a {
        font-size: 16px;
        font-weight: 600;
        color: #e2e8f0;
        padding: 8px 20px;
        border-radius: 6px;
        transition: all 0.3s ease;
        min-height: 40px;
        min-width: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 2px 0;
    }
    
    .main-nav .nav-menu.mobile-menu-open a:hover {
        background: rgba(251, 191, 36, 0.1);
        color: #fbbf24;
        transform: scale(1.02);
    }
    
    /* Header düzenlemesi */
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .site-title {
        flex: 1;
        font-size: 20px; /* Mobil için küçült */
    }
    
    .site-title-text {
        font-size: 20px; /* Mobil için küçült */
    }
    
    /* Header search'ü mobil için ayarla */
    .header-search {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-field {
        width: calc(100% - 80px);
        padding: 10px 15px;
        font-size: 16px; /* iOS zoom'u önlemek için 16px */
        min-height: 44px; /* Touch-friendly */
    }
    
    .search-submit {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 44px; /* Touch-friendly */
        min-width: 80px;
    }
    
    /* Mobil için film kartları - slider */
    .fragman-poster {
        height: 180px;
    }
    
    /* Mobil için slider butonları - Touch-friendly */
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
        border-radius: 6px;
        min-width: 44px;
        min-height: 44px;
    }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    
    /* Font boyutları mobil optimizasyonu */
    body {
        font-size: 16px; /* iOS zoom'u önlemek için 16px */
        line-height: 1.5;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .film-title {
        font-size: 13px;
        line-height: 1.3;
    }
    
    /* Touch-friendly pagination */
    .pagination a,
    .pagination span {
        padding: 12px 16px;
        min-width: 44px;
        min-height: 44px;
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .fragman-slide { flex: 0 0 50%; }
    .film-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    
    .fragman-poster { height: 160px; }
    
    .slider-btn { width: 32px; height: 32px; font-size: 13px; border-width: 1px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    
    .film-title { font-size: 12px; }
    .film-season, .film-bolum, .film-pub-date { font-size: 10px; }
}

body:not(.home) .content-area{
    margin-top: 30px !important;
}

/* SINGLE SAYFALAR İÇİN KESAN SIDEBAR DÜZENLEMESİ */
/* Tüm single post sayfalarında sidebar sağda kalacak */
body.single .site-content .container .content-area,
body.single-post .site-content .container .content-area,
.single .site-content .container .content-area,
.single-post .site-content .container .content-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 25px !important;
}

body.single .site-content .container .content-area .main-content,
body.single-post .site-content .container .content-area .main-content,
.single .site-content .container .content-area .main-content,
.single-post .site-content .container .content-area .main-content {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.single .site-content .container .content-area .sidebar,
body.single-post .site-content .container .content-area .sidebar,
.single .site-content .container .content-area .sidebar,
.single-post .site-content .container .content-area .sidebar {
    width: 300px !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    float: none !important;
}

/* Yorum bölümü düzenlemesi */
body.single .comments-section,
body.single-post .comments-section,
.single .comments-section,
.single-post .comments-section {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    float: none !important;
    clear: none !important;
}

/* Content wrapper güçlendirmesi */
body.single .content-wrapper,
body.single-post .content-wrapper,
.single .content-wrapper,
.single-post .content-wrapper {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
}

/* Responsive override - MÖBİL HARİÇ SIDEBAR SAĞDA KALACAK */
@media (min-width: 769px) {
    body.single .site-content .container .content-area,
    body.single-post .site-content .container .content-area,
    .single .site-content .container .content-area,
    .single-post .site-content .container .content-area {
        display: flex !important;
        flex-direction: row !important;
    }
    
    body.single .site-content .container .content-area .sidebar,
    body.single-post .site-content .container .content-area .sidebar,
    .single .site-content .container .content-area .sidebar,
    .single-post .site-content .container .content-area .sidebar {
        width: 300px !important;
        display: block !important;
    }
}

/* Sadece çok küçük ekranlarda sidebar alta geçsin */
@media (max-width: 768px) {
    body.single .site-content .container .content-area,
    body.single-post .site-content .container .content-area,
    .single .site-content .container .content-area,
    .single-post .site-content .container .content-area {
        flex-direction: column !important;
    }
    
    body.single .site-content .container .content-area .sidebar,
    body.single-post .site-content .container .content-area .sidebar,
    .single .site-content .container .content-area .sidebar,
    .single-post .site-content .container .content-area .sidebar {
        width: 100% !important;
        margin-top: 30px !important;
    }
}

/* === İLETİŞİM SAYFASI STİLLERİ === */

/* İletişim Sayfası Genel */
.contact-page {
    width: 100%;
}

.contact-page .page-header {
    margin-bottom: 30px;
    text-align: center;
}

.contact-page .page-title {
    font-size: 28px;
    color: #fbbf24;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    display: inline-block;
}

.contact-description {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    text-align: center;
}

.contact-description p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

/* İletişim Form Wrapper */
.contact-form-wrapper {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Mesajları */
.contact-message {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid;
}

.contact-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.contact-success h3 {
    color: #16a34a;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.contact-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-error h3 {
    color: #dc2626;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.contact-message p {
    margin: 0;
    font-size: 14px;
}

/* Form Stilleri */
.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-field label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 14px;
}

.form-field .required {
    color: #ef4444;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 12px 15px;
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
    background: rgba(15, 20, 25, 0.9);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-field select {
    cursor: pointer;
}

.form-field select option {
    background: #1e293b;
    color: #e2e8f0;
}

/* Checkbox Stilleri */
.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.checkmark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 4px;
    background: rgba(15, 20, 25, 0.8);
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #fbbf24;
    border-color: #fbbf24;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0f172a;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label a {
    color: #fbbf24;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #f59e0b;
}

/* Form Gönder Butonu */
.form-submit {
    margin-top: 30px;
    margin-bottom: 0;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-width: 180px;
    min-height: 44px; /* Touch-friendly minimum */
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
}

/* İletişim Bilgileri Bölümü */
.contact-info-section {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
}

.contact-info-section .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(15, 20, 25, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
}

.contact-details h4 {
    color: #fbbf24;
    font-size: 16px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.contact-details p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.contact-details a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* İletişim Notları */
.contact-notice {
    background: rgba(15, 20, 25, 0.5);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.contact-notice h4 {
    color: #fbbf24;
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.contact-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-notice li {
    color: #94a3b8;
    font-size: 14px;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.contact-notice li:before {
    content: '•';
    color: #fbbf24;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Düzenlemeler */
@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-page .page-title {
        font-size: 24px;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-page .page-title {
        font-size: 22px;
    }
    
    .contact-submit-btn {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 160px;
    }
}

/* İletişim Sayfası Mobil Responsive Düzenlemeleri */
@media (max-width: 768px) {
    /* İletişim sayfası genel layout düzenlemesi - tüm class'ları kapsayalım */
    body.page-template .site-content .container .content-area,
    .contact-page .content-area {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* Sidebar'ı tamamen gizle */
    body.page-template .site-content .container .content-area .sidebar,
    .contact-page .sidebar {
        display: none !important;
    }

    /* Main content düzenlemesi - tam genişlik */
    body.page-template .site-content .container .content-area .main-content,
    .contact-page .main-content {
        width: 100% !important;
        margin-right: 0 !important;
        order: 1;
        flex: none !important;
        max-width: 100% !important;
    }

    /* Form wrapper düzenlemesi */
    .contact-form-wrapper {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 25px !important;
        box-sizing: border-box;
    }

    /* Container genişliği */
    .site-content .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 600px) {
    /* Form wrapper mobil optimizasyonu */
    .contact-form-wrapper {
        padding: 20px !important;
        margin: 15px 0 !important;
        border-radius: 8px;
    }
    
    /* Başlık düzenlemesi */
    .contact-page .page-title {
        font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    /* Buton düzenlemesi */
    .contact-submit-btn {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        min-width: 100% !important;
        min-height: 50px !important;
        margin-top: 20px !important;
        box-sizing: border-box;
    }
    
    /* Form elemanları mobil için optimize et */
    .form-field {
        margin-bottom: 20px;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px !important; /* iOS zoom'u önlemek için */
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 50px !important; /* Touch-friendly */
        border-radius: 8px;
    }
    
    .form-field textarea {
        min-height: 120px !important;
        padding: 15px !important;
        resize: vertical;
    }
    
    /* Form row düzenlemesi */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    
    /* Container padding */
    .site-content .container {
        padding: 0 10px !important;
    }
}

@media (max-width: 480px) {
    /* Küçük mobil cihazlar */
    .contact-description,
    .contact-form-wrapper {
        padding: 15px !important;
        margin: 10px 0 !important;
    }
    
    .form-field {
        margin-bottom: 18px;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 14px 15px !important;
        font-size: 16px !important;
        min-height: 48px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .form-field textarea {
        min-height: 110px !important;
        padding: 14px 15px !important;
    }
    
    .contact-submit-btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 16px !important;
        min-height: 52px !important;
        margin-top: 20px !important;
        border-radius: 8px;
    }
    
    /* Mobilde form row'ları tek sütuna çevir */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .contact-page .page-title {
        font-size: 20px;
        text-align: center;
        margin-bottom: 18px;
    }
    
    .contact-description {
        padding: 15px !important;
        margin-bottom: 18px !important;
        text-align: center;
    }
    
    /* Label düzenlemesi */
    .form-field label {
        margin-bottom: 8px;
        display: block;
        font-size: 14px;
        font-weight: 600;
    }
    
    /* Container minimum padding */
    .site-content .container {
        padding: 0 8px !important;
    }
}

/* Ekstra küçük ekranlar için */
@media (max-width: 375px) {
    .contact-form-wrapper {
        padding: 12px !important;
        margin: 8px 0 !important;
        border-radius: 6px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 12px !important;
        font-size: 16px !important;
        min-height: 46px !important;
    }

    .contact-page .page-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .site-content .container {
        padding: 0 6px !important;
    }
    
    .contact-description {
        padding: 12px !important;
        font-size: 14px;
    }
}

/* === OYUNCU VE YÖNETMEN ETİKETLERİ === */

/* Meta Tags (Oyuncu/Yönetmen Etiketleri) */
.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.meta-tag {
    display: inline-block;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: rgba(251, 191, 36, 0.5);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.meta-tag:hover {
    color: #f59e0b;
    text-decoration-color: #f59e0b;
}

/* Oyuncu ve yönetmen etiketleri için aynı stil */
.oyuncu-tag,
.yonetmen-tag {
    color: #fbbf24;
    text-decoration: underline;
    text-decoration-color: rgba(251, 191, 36, 0.5);
}

.oyuncu-tag:hover,
.yonetmen-tag:hover {
    color: #f59e0b;
    text-decoration-color: #f59e0b;
}

/* Static meta tags (taxonomy'ye dönüştürülmemiş) */
.meta-tag-static {
    color: #cbd5e1;
    font-style: italic;
}

/* Archive Pages Stilleri */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.archive-header .page-title {
    font-size: 28px;
    color: #fbbf24;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.oyuncu-icon,
.yonetmen-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.archive-description {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.archive-description p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.archive-meta {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 15px;
}

.archive-count {
    background: rgba(15, 20, 25, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

/* Related Terms Bölümü */
.related-terms {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.term-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.term-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(30, 41, 59, 0.5);
    color: #cbd5e1;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.term-tag:hover {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.2);
}

.term-count {
    font-size: 12px;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.btn-home {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-home:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* === SİDEBAR FİLM WİDGET'LARI === */

/* Sidebar Film Listesi */
.sidebar-film-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-film-item {
    background: rgba(15, 20, 25, 0.5);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.sidebar-film-item:hover {
    background: rgba(15, 20, 25, 0.7);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-film-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

.sidebar-film-poster {
    flex-shrink: 0;
    width: 50px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.sidebar-film-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.sidebar-film-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.sidebar-film-title {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sidebar-film-year {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

.sidebar-film-item:hover .sidebar-film-title {
    color: #fbbf24;
}

.sidebar-film-item:hover .sidebar-film-year {
    color: #cbd5e1;
}

/* Son Eklenenler başlık sınırlaması */
.recent-posts li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Responsive Sidebar Film Widget'ları */
@media (max-width: 900px) {
    .home .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .sidebar-film-poster {
        width: 45px;
        height: 65px;
    }
    
    .sidebar-film-title {
        font-size: 12px;
    }
    
    .sidebar-film-year {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .home .sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-film-list {
        gap: 12px;
    }
    
    .sidebar-film-link {
        padding: 10px;
        gap: 10px;
    }
    
    .sidebar-film-poster {
        width: 40px;
        height: 60px;
    }
    
    .sidebar-film-title {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
}

/* === SİDEBAR EK STİLLERİ === */

/* Post Date Stili */
.post-date {
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
    display: block;
    margin-top: 2px;
}

/* Category Count Stili */
.category-count {
    font-size: 11px;
    color: #94a3b8;
    opacity: 0.8;
}

/* Sidebar Film Meta */
.sidebar-film-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.sidebar-film-comments {
    font-size: 10px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Tag Cloud Stili */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(30, 41, 59, 0.5);
    color: #cbd5e1;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
    transform: translateY(-1px);
}

.tag-count {
    font-size: 10px;
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.2);
    padding: 1px 4px;
    border-radius: 6px;
}

/* Widget Başlıkları İyileştirme */
.widget-title {
    position: relative;
    padding-left: 20px;
}

.widget-title:before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-size: 12px;
    top: 2px;
}

/* Archives Listesi */
.widget ul li {
    transition: all 0.3s ease;
}

.widget ul li:hover {
    background: rgba(251, 191, 36, 0.05);
    padding-left: 5px;
    border-radius: 4px;
}

/* Content Meta Stili (ana sayfa için) */
.content-meta {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-count {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Admin Actions */
.admin-actions {
    margin: 20px 0;
}

/* Suggestions List */
.suggestions {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.suggestions h3 {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    color: #94a3b8;
    font-size: 14px;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.suggestions li:before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 12px;
}

/* Page Header */
.page-header {
    margin-bottom: 20px;
}

/* Responsive Sidebar Improvements */
@media (max-width: 900px) {
    .sidebar-film-meta {
        gap: 6px;
    }
    
    .tag-cloud {
        gap: 4px;
    }
    
    .tag-link {
        font-size: 11px;
        padding: 3px 6px;
    }
}

@media (max-width: 600px) {
    .widget-title:before {
        display: none;
    }
    
    .widget-title {
        padding-left: 0;
        font-size: 15px;
    }
    
    .post-date {
        font-size: 10px;
    }
    
    .sidebar-film-comments {
        font-size: 9px;
    }
    
    .tag-link {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .tag-count {
        font-size: 9px;
        padding: 1px 3px;
    }
}

/* Responsive için Oyuncu/Yönetmen Etiketleri */
@media (max-width: 600px) {
    .meta-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .archive-header .page-title {
        font-size: 24px;
        flex-direction: column;
        gap: 5px;
    }
    
    .term-tags {
        gap: 8px;
    }
    
    .term-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .meta-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .oyuncu-icon,
    .yonetmen-icon {
        font-size: 28px;
    }
}

/* === TÜM ARŞİV SAYFALARINDA MOBİL UYUMLULUK === */
@media (max-width: 900px) {
    /* Ana sayfa harici tüm sayfalar için mobil düzen */
    body:not(.home) .content-area {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    body:not(.home) .sidebar {
        width: 100% !important;
        order: 2 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    body:not(.home) .main-content {
        order: 1 !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    /* Mobil ana sayfa harici tüm sayfalar */
    body:not(.home) .content-area {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    body:not(.home) .sidebar {
        grid-template-columns: 1fr !important;
        margin-top: 20px !important;
    }
    
    body:not(.home) .page-title {
        font-size: 20px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    body:not(.home) .film-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    body:not(.home) .content-wrapper {
        padding: 15px !important;
    }
    
    /* Archive header düzenlemeleri */
    .archive-header {
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    
    .related-terms {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
    
    .term-tags {
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .term-tag {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 480px) {
    /* Çok küçük mobil ana sayfa harici tüm sayfalar */
    body:not(.home) .page-title {
        font-size: 18px !important;
    }
    
    body:not(.home) .film-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    body:not(.home) .content-wrapper {
        padding: 12px !important;
        margin: 0 5px !important;
    }
    
    body:not(.home) .container {
        padding: 0 5px !important;
    }
    
    /* Archive sayfaları küçük mobil */
    .archive-header {
        margin-bottom: 20px !important;
    }
    
    .section-title {
        font-size: 18px !important;
        text-align: center !important;
    }
    
    .term-tag {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }
}

/* === MOBİL UYUMLULUK EK STİLLERİ === */

/* Screen Reader Text */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}

.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #21759b;
display: block;
font-size: 14px;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

/* Archive Type Icons */
.archive-type {
font-size: 1.2em;
margin-right: 8px;
display: inline-block;
vertical-align: middle;
}

/* Search Term Highlighting */
.search-term {
color: #fbbf24;
font-weight: 700;
background: rgba(251, 191, 36, 0.1);
padding: 2px 6px;
border-radius: 4px;
}

/* Search Suggestions */
.search-suggestions {
background: rgba(30, 41, 59, 0.3);
border-radius: 8px;
padding: 20px;
margin: 20px 0;
border: 1px solid rgba(251, 191, 36, 0.1);
}

.search-suggestions h3 {
color: #fbbf24;
font-size: 16px;
margin-bottom: 15px;
}

.search-suggestions ul {
list-style: none;
padding: 0;
margin: 0;
}

.search-suggestions li {
color: #94a3b8;
font-size: 14px;
padding: 5px 0;
position: relative;
padding-left: 20px;
}

.search-suggestions li:before {
content: '•';
color: #fbbf24;
font-weight: bold;
position: absolute;
left: 0;
}

/* New Search Form */
.new-search-form {
background: rgba(15, 20, 25, 0.5);
border-radius: 8px;
padding: 20px;
margin: 25px 0;
border: 1px solid rgba(255, 255, 255, 0.05);
}

.new-search-form h3 {
color: #fbbf24;
font-size: 16px;
margin-bottom: 15px;
}

.new-search-form .search-form {
width: 100%;
max-width: 400px;
}

.new-search-form .search-field {
width: calc(100% - 80px);
padding: 12px 15px;
font-size: 16px;
min-height: 44px;
border-radius: 8px 0 0 8px;
}

.new-search-form .search-submit {
padding: 12px 16px;
font-size: 14px;
min-height: 44px;
min-width: 80px;
border-radius: 0 8px 8px 0;
}

/* Enhanced Archive Headers */
.archive-header {
text-align: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.archive-header .page-title {
font-size: 24px;
color: #fbbf24;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 8px;
line-height: 1.3;
}

.archive-description {
background: rgba(30, 41, 59, 0.3);
border-radius: 8px;
padding: 15px;
margin: 15px 0;
border: 1px solid rgba(251, 191, 36, 0.1);
}

.archive-description p {
color: #cbd5e1;
margin: 0;
line-height: 1.6;
}

.archive-meta {
color: #94a3b8;
font-size: 14px;
margin-top: 10px;
}

.archive-count {
background: rgba(15, 20, 25, 0.5);
padding: 6px 12px;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.1);
display: inline-block;
font-size: 13px;
}

/* Enhanced No Content Section */
.no-content {
text-align: center;
padding: 40px 20px;
background: rgba(30, 41, 59, 0.3);
border-radius: 12px;
border: 1px solid rgba(251, 191, 36, 0.1);
}

.no-content h2 {
color: #fbbf24;
font-size: 20px;
margin-bottom: 15px;
}

.no-content p {
font-size: 16px;
color: #94a3b8;
margin-bottom: 15px;
line-height: 1.6;
}

/* Related Terms Styling */
.related-terms {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-terms .section-title {
font-size: 18px;
color: #fbbf24;
margin-bottom: 15px;
text-align: center;
}

.term-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
margin-top: 15px;
}

.term-tag {
display: inline-flex;
align-items: center;
gap: 5px;
background: rgba(30, 41, 59, 0.5);
color: #cbd5e1;
padding: 6px 12px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
text-decoration: none;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
}

.term-tag:hover {
background: rgba(251, 191, 36, 0.2);
color: #fbbf24;
border-color: rgba(251, 191, 36, 0.3);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.term-count {
font-size: 11px;
opacity: 0.7;
background: rgba(0, 0, 0, 0.2);
padding: 1px 5px;
border-radius: 8px;
margin-left: 3px;
}

/* Enhanced Button Styles */
.btn-home {
display: inline-block;
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
color: #0f172a;
padding: 12px 20px;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
margin-top: 20px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
min-height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
}

.btn-home:hover {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
color: #0f172a;
}

/* Mobile Specific Improvements */
@media (max-width: 900px) {
.archive-header .page-title {
    font-size: 22px;
    flex-direction: column;
    gap: 5px;
}

.archive-type {
    font-size: 1.5em;
}

.new-search-form .search-form {
    flex-direction: column;
    gap: 10px;
}

.new-search-form .search-field {
    width: 100%;
    border-radius: 8px;
}

.new-search-form .search-submit {
    width: 100%;
    border-radius: 8px;
    min-width: 100%;
}

.term-tags {
    gap: 8px;
}

.term-tag {
    font-size: 12px;
    padding: 5px 10px;
}
}

@media (max-width: 600px) {
.archive-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.archive-header .page-title {
    font-size: 20px;
}

.archive-type {
    font-size: 1.3em;
}

.no-content {
    padding: 30px 15px;
}

.no-content h2 {
    font-size: 18px;
}

.search-suggestions,
.new-search-form {
    padding: 15px;
    margin: 15px 0;
}

.related-terms {
    margin-top: 20px;
    padding-top: 15px;
}

.related-terms .section-title {
    font-size: 16px;
}

.btn-home {
    width: 100%;
    max-width: 280px;
    margin: 20px auto;
    display: flex;
}
}

@media (max-width: 480px) {
.archive-header .page-title {
    font-size: 18px;
}

.archive-type {
    font-size: 1.2em;
}

.archive-count {
    padding: 4px 10px;
    font-size: 12px;
}

.no-content {
    padding: 25px 12px;
}

.no-content h2 {
    font-size: 16px;
}

.no-content p {
    font-size: 14px;
}

.search-suggestions li,
.term-tag {
    font-size: 11px;
}

.new-search-form .search-field,
.new-search-form .search-submit {
    padding: 10px 12px;
    min-height: 42px;
}
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
/* Ensure all interactive elements are at least 44px */
.search-submit,
.btn-home,
.term-tag,
.pagination a,
.pagination span {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

/* Prevent double-tap zoom on buttons */
button,
input[type="submit"],
input[type="button"],
.btn-home,
.search-submit {
    touch-action: manipulation;
}

/* Better spacing for touch */
.term-tags {
    gap: 12px;
}

.pagination {
    gap: 10px;
}

/* Footer menü mobil düzenlemesi */
.footer-nav .footer-menu {
    flex-direction: column;
    gap: 10px;
}

.footer-nav .footer-menu a {
    padding: 10px 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
}

/* === MOBİL MENÜ EK STİLLERİ === */
@media (max-width: 600px) {
    /* Mobil menü JavaScript ile kontrol edilecek */
    .mobile-nav {
        display: block;
    }
    
    /* Footer menü responsive */
    .footer-nav .footer-menu {
        gap: 8px;
    }
    
    .footer-nav .footer-menu a {
        padding: 8px 12px;
        font-size: 14px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    /* Çok küçük mobil cihazlar için footer menü */
    .footer-nav .footer-menu a {
        padding: 6px 10px;
        font-size: 13px;
        min-height: 36px;
    }
}

/* === AVATAR SİSTEMİ STİLLERİ === */

/* Yorum Avatar Stilleri - Geliştirilmiş */
.comment-author img.avatar {
    border-radius: 50% !important;
    border: 2px solid #fbbf24 !important;
    object-fit: cover !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3) !important;
    display: block !important;
}

.comment-author img.avatar:hover {
    border-color: #f59e0b !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5) !important;
}

/* Avatar boyutları - WordPress standartları */
.avatar-32 {
    width: 32px !important;
    height: 32px !important;
}

.avatar-40 {
    width: 40px !important;
    height: 40px !important;
}

.avatar-48 {
    width: 48px !important;
    height: 48px !important;
}

.avatar-50 {
    width: 50px !important;
    height: 50px !important;
}

.avatar-60 {
    width: 60px !important;
    height: 60px !important;
}

.avatar-64 {
    width: 64px !important;
    height: 64px !important;
}

.avatar-96 {
    width: 96px !important;
    height: 96px !important;
}

/* Default avatar stilleri */
.comment-author img.avatar[src*="default.png"] {
    border-color: #64748b !important;
    opacity: 0.8 !important;
}

.comment-author img.avatar[src*="default.png"]:hover {
    border-color: #94a3b8 !important;
    opacity: 1 !important;
}

/* Yorum meta düzenlemesi avatar ile */
.comment-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 15px !important;
}

.comment-author {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.author-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.author-name {
    color: #f8fafc !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    margin: 0 !important;
}

.comment-date {
    color: #94a3b8 !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
    margin: 0 !important;
}

/* Yorum item hover efekti */
.comment-item {
    transition: all 0.3s ease !important;
}

.comment-item:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Yorum beklemede durumu */
.comment-awaiting {
    color: #fbbf24 !important;
    font-style: italic !important;
    margin-bottom: 10px !important;
    background: rgba(251, 191, 36, 0.1) !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border-left: 3px solid #fbbf24 !important;
}

/* Yorum text stilleri */
.comment-text {
    color: #e2e8f0 !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
    margin: 0 !important;
}

/* Yorum actions */
.comment-actions a {
    color: #fbbf24 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

.comment-actions a:hover {
    color: #f59e0b !important;
    background: rgba(251, 191, 36, 0.1) !important;
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.5) !important;
}

/* Mobil Responsive Avatar Stilleri */
@media (max-width: 768px) {
    .comment-reply {
        margin-left: 20px !important;
    }
    
    .comment-author {
        gap: 8px !important;
    }
    
    .comment-author img.avatar {
        width: 32px !important;
        height: 32px !important;
    }
    
    .author-name {
        font-size: 14px !important;
    }
    
    .comment-date {
        font-size: 11px !important;
    }
    
    .comment-text {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .comment-author img.avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .author-name {
        font-size: 13px !important;
    }
    
    .comment-date {
        font-size: 10px !important;
    }
    
    .comment-text {
        font-size: 13px !important;
    }
    
    .comment-actions a {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }
}

/* Avatar loading placeholder */
.avatar-loading {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.8) 25%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 41, 59, 0.8) 75%) !important;
    background-size: 200% 100% !important;
    animation: avatar-loading 1.5s infinite !important;
}

@keyframes avatar-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Avatar error fallback */
.avatar-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: #ef4444 !important;
}

.avatar-error::before {
    content: '👤' !important;
}

/* Yorum form avatar preview */
.comment-form-avatar-preview {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    padding: 10px !important;
    background: rgba(30, 41, 59, 0.3) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(251, 191, 36, 0.1) !important;
}

.comment-form-avatar-preview img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #fbbf24 !important;
    object-fit: cover !important;
}

.comment-form-avatar-preview .preview-text {
    color: #cbd5e1 !important;
    font-size: 14px !important;
}

.comment-form-avatar-preview .preview-name {
    color: #fbbf24 !important;
    font-weight: 600 !important;
}

/* === POPÜLER İÇERİKLER BÖLÜMÜ (KART GRID) === */
.popular-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.popular-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #fbbf24);
    margin: 0 0 14px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-section-title::before {
    content: '▶';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #1a1f2e;
    color: var(--primary-color, #fbbf24);
    font-size: 9px;
    border-radius: 4px;
    flex-shrink: 0;
    line-height: 1;
    padding-left: 2px; /* optik merkez */
}

/* Kart grid — film-grid ile aynı sütun yapısı */
.popular-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* Kart wrapper */
.popular-film-card {
    background: #16213a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.popular-film-card > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.popular-film-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border-color: rgba(251, 191, 36, 0.35);
}

/* Poster alan — film-card ile aynı oran */
.popular-film-poster {
    position: relative;
    width: 100%;
    padding-top: 70%;
    overflow: hidden;
    background: #0a0f1a;
}

.popular-film-poster img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.popular-film-card:hover .popular-film-poster img {
    transform: scale(1.04);
}

/* Sıralama rozeti — sol üst köşe */
.popular-badge-rank {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 5;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.85);
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    line-height: 1;
}

/* İlk 3 sıra altın/gümüş/bronz */
.popular-film-card:nth-child(1) .popular-badge-rank { background: rgba(251, 191, 36, 0.9); color: #0f172a; }
.popular-film-card:nth-child(2) .popular-badge-rank { background: rgba(148, 163, 184, 0.9); color: #0f172a; }
.popular-film-card:nth-child(3) .popular-badge-rank { background: rgba(180, 120, 60, 0.9); color: #fff; }

/* İzlenme sayısı — sağ alt overlay */
.popular-film-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    padding: 18px 6px 6px;
    display: flex;
    justify-content: flex-end;
}

.popular-view-badge {
    font-size: 10px;
    font-weight: 600;
    color: #f0f4f8;
    background: rgba(0,0,0,0.5);
    padding: 2px 6px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
}

/* Başlık alanı */
.popular-film-info {
    padding: 8px 10px 10px;
    background: #16213a;
}

.popular-film-title {
    font-size: 12px;
    font-weight: 700;
    color: #f0f4f8;
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-film-card:hover .popular-film-title {
    color: var(--primary-color, #fbbf24);
}

/* Responsive */
@media (max-width: 1100px) {
    .popular-card-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .popular-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .popular-card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
    .popular-card-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .popular-film-title { font-size: 11px; }
}

/* ============================================================
   SİDEBAR WIDGET BAŞLIKLARI — dynamic_sidebar() + Gutenberg block widget dahil
   ============================================================ */
.sidebar .widget-title,
.sidebar h2.widget-title,
.sidebar h3.widget-title,
.sidebar .widgettitle,
.sidebar h2.widgettitle,
.sidebar h3.widgettitle,
.sidebar .wp-block-heading,
.sidebar h2.wp-block-heading,
.sidebar h3.wp-block-heading,
.sidebar .widget_block h2,
.sidebar .widget_block h3,
.sidebar .wp-block-group h2,
.sidebar .wp-block-group h3 {
    color: var(--primary-color, #fbbf24) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3) !important;
    padding-left: 0 !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.sidebar .widget-title::before,
.sidebar h2.widget-title::before,
.sidebar h3.widget-title::before,
.sidebar .widgettitle::before,
.sidebar h2.widgettitle::before,
.sidebar h3.widgettitle::before,
.sidebar .wp-block-heading::before,
.sidebar h2.wp-block-heading::before,
.sidebar h3.wp-block-heading::before,
.sidebar .widget_block h2::before,
.sidebar .widget_block h3::before,
.sidebar .wp-block-group h2::before,
.sidebar .wp-block-group h3::before {
    content: '▶' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    background: #1a1f2e !important;
    color: var(--primary-color, #fbbf24) !important;
    font-size: 9px !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    padding-left: 2px !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

/* ============================================================
   SİDEBAR WIDGET BAŞLIK KARTI (.widget-header-card)
   ============================================================ */

/* Negatif margin'in çalışması için overflow: hidden zorunlu */
.widget--has-header {
    overflow: hidden;
    padding-top: 0;
}

.widget-header-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    margin: 0 -20px 16px -20px; /* Üstten sıfır: padding-top:0 ile hizalı */
    padding: 14px 20px;
    border-radius: 10px 10px 0 0;
}

.widget-header-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.widget-header-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1.3;
}

/* widget-title ::before üçgen ikonunu bu başlıkta gizle */
.widget-header-card + ul,
.widget-header-card ~ * {
    padding-left: 0;
}

/* ============================================================
   SİDEBAR KART GRİD (görsel üstte, başlık tek satır altta)
   ============================================================ */
/* ============================================================
   📋 BÖLÜM LİSTESİ WİDGET'I (ep-list)
   ============================================================ */
.ep-list-widget .widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fbbf24;
}

.ep-list-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #444 #1a1a2e;
}

.ep-list-container::-webkit-scrollbar {
    width: 4px;
}
.ep-list-container::-webkit-scrollbar-track {
    background: #1a1a2e;
}
.ep-list-container::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.ep-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #151c25;
    border-radius: 4px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}

.ep-list-item:hover {
    background: #1e293b;
    color: #fbbf24;
    border-left-color: #fbbf24;
}

.ep-list-item--active {
    background: #1e2d20;
    color: #fbbf24;
    border-left-color: #22c55e;
    font-weight: 700;
}

.ep-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #475569;
    border-radius: 3px;
    background: #0f1419;
    font-size: 10px;
    color: #22c55e;
}

.ep-list-item--active .ep-checkbox {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.ep-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-list-item--active .ep-label {
    color: #fbbf24;
}

.sb-card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sb-card-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 7px;
    overflow: hidden;
    background: #16213a;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sb-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.sb-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0f172a;
}

.sb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.sb-card-item:hover .sb-card-img img {
    transform: scale(1.06);
}

.sb-card-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    padding: 7px 8px 8px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #16213a;
}

.sb-card-item:hover .sb-card-title {
    color: #a78bfa;
}

/* ============================================================
   SİDEBAR POPÜLER DİZİLER WİDGET
   ============================================================ */
.sidebar-series-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-series-item {
    border-bottom: 1px solid #1e2d4a;
    padding-bottom: 10px;
}

.sidebar-series-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-series-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: #e2e8f0;
    transition: color 0.2s;
}

.sidebar-series-link:hover {
    color: #a78bfa;
}

.sidebar-series-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1e293b;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid #334155;
}

.sidebar-series-rank.rank-top {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    border-color: #7c3aed;
}

.sidebar-series-item:nth-child(1) .sidebar-series-rank {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1a2e;
    border-color: #f59e0b;
}

.sidebar-series-item:nth-child(2) .sidebar-series-rank {
    background: linear-gradient(135deg, #64748b, #94a3b8);
    color: #0f172a;
    border-color: #64748b;
}

.sidebar-series-item:nth-child(3) .sidebar-series-rank {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #fff;
    border-color: #b45309;
}

.sidebar-series-poster {
    width: 54px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    background: #1e293b;
}

.sidebar-series-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.sidebar-series-link:hover .sidebar-series-poster img {
    transform: scale(1.05);
}

.sidebar-series-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.sidebar-series-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #e2e8f0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-series-link:hover .sidebar-series-title {
    color: #a78bfa;
}

.sidebar-series-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sidebar-series-date {
    font-size: 11px;
    color: #64748b;
}

.sidebar-series-views {
    font-size: 11px;
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    padding: 1px 6px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

/* === ETİKET ALANI (Single Sayfa) === */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 14px 16px;
    background: rgba(30, 41, 59, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.tags-label {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 4px;
}

.post-tags .tag-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(251, 191, 36, 0.08);
    color: #fbbf24;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.post-tags .tag-link:hover {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-1px);
    color: #fbbf24;
}

/* === SOSYAL PAYLAŞIM BUTONLARI (Single Sayfa) === */
.share-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
    padding: 16px 18px;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 10px;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-label svg {
    fill: #94a3b8;
    flex-shrink: 0;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Buton temel stili */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3),
                inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

/* Üst parlaklık şeridi */
.share-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: rgba(255,255,255,0.1);
    border-radius: 6px 6px 50% 50%;
    pointer-events: none;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.share-btn span {
    position: relative;
    z-index: 1;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 5px 14px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
}

.share-btn:active {
    transform: translateY(0);
    filter: brightness(0.93);
}

/* Platform renkleri */
.share-facebook  { background: #1877f2; }
.share-twitter   { background: #000000; }
.share-whatsapp  { background: #25d366; }
.share-telegram  { background: #2ca5e0; }
.share-linkedin  { background: #0a66c2; }
.share-pinterest { background: #e60023; }
.share-copy      { background: #475569; }

/* Mobil responsive */
@media (max-width: 768px) {
    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }
    .share-buttons {
        gap: 6px;
    }
    .share-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .share-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        gap: 5px;
    }
    .share-btn {
        padding: 7px 10px;
        font-size: 11px;
        gap: 4px;
    }
    .share-btn svg {
        width: 13px;
        height: 13px;
    }
}

/* ============================================================
   REKLAM ALANLARI — Tüm sayfa konumları
   ============================================================ */

/* Genel reklam kutusu */
[class^="ad-"],
[class*=" ad-"] {
    text-align: center;
    overflow: hidden;
    background: transparent !important;
}

/* Header reklam alanı — tam genişlik, ortala, beyaz arka plan yok */
.ad-header-area {
    width: 100%;
    background: transparent !important;
    text-align: center;
    padding: 8px 0;
    line-height: 0;
    font-size: 0;
}

.ad-header-area > * {
    display: inline-block !important;
    background: transparent !important;
    vertical-align: middle;
}

.ad-header-area img,
.ad-header-area iframe,
.ad-header-area ins,
.ad-header-area a {
    display: inline-block !important;
    background: transparent !important;
    max-width: 100%;
}

/* Anasayfa: Header altı */
.ad-home-header {
    margin: 0 0 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Anasayfa: Slider sonrası */
.ad-home-after-slider {
    margin: 10px 0 18px;
    padding: 8px 0;
}

/* Anasayfa: İçerik arası */
.ad-home-content {
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Single: Yazı üstü */
.ad-single-top {
    margin: 0 0 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Single: İçerik başı */
.ad-single-content-top {
    margin: 0 0 18px;
    padding: 10px 0;
}

/* Single: Orta reklam */
.ad-single-mid {
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Single: Alt reklam */
.ad-single-bottom {
    margin: 20px 0 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Single: İlgili yazılar üstü */
.ad-single-related {
    margin: 0 0 20px;
    padding: 10px 0;
}

/* Sidebar reklam alanları */
.ad-sidebar-top,
.ad-sidebar-middle,
.ad-sidebar-bottom {
    padding: 6px 0;
}

/* Footer reklam */
.ad-footer-area {
    margin: 20px 0 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Mobil sadece görünür sınıflar */
.d-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .d-mobile-only {
        display: block;
    }
    .ad-mobile-header {
        margin: 0 0 14px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .ad-mobile-content {
        margin: 16px 0;
        padding: 8px 0;
    }
    .ad-mobile-footer {
        margin: 14px 0;
        padding: 8px 0;
    }
}

/* ============================================================
   YAPIŞKAN (STICKY / POP) REKLAM ALANLARI — Sol & Sağ
   ============================================================ */
.ad-sticky-wrapper {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990;
}

.ad-sticky {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    pointer-events: all;
    max-width: 160px;
    background: transparent;
}

.ad-sticky-left  { left: 0; }
.ad-sticky-right { right: 0; }

.ad-sticky img,
.ad-sticky iframe,
.ad-sticky ins {
    display: block;
    max-width: 160px;
}

.ad-sticky-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    transition: background 0.2s;
}

.ad-sticky-close:hover {
    background: rgba(0,0,0,0.88);
}

/* 1300px altında sticky reklamları gizle — ekran içeriği sığdırmak için */
@media (max-width: 1300px) {
    .ad-sticky-wrapper,
    .ad-sticky {
        display: none !important;
    }
}
