/**
 * PisiHaber - Önyüz (Frontend) CSS
 * Modern, Responsive, Dark Mode Uyumlu Stil Dosyası
 */

:root {
    --bs-body-font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --primary-color: #ff3838;
    --primary-hover: #eb2f06;
    --primary-light: rgba(255, 56, 56, 0.1);
    --ticker-bg: #0f172a;
    --card-border-radius: 14px;
    --card-transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --bs-secondary-color: #4b5563; /* WCAG AAA uyumlu yüksek kontrast gri (7.0:1) */
    --bs-secondary-rgb: 75, 85, 99;
}

/* Yüksek Kontrast Desteği (WCAG AA & AAA) */
.text-secondary,
.text-muted {
    color: var(--bs-secondary-color) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Genel Gövde ve Geçişler */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
}

/* Navbar & Marka */
.navbar-brand {
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: -0.5px;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
}

/* Karanlık Mod Değiştirme Butonu (44x44px Erişilebilir Dokunma Hedefi) */
.theme-toggle-btn {
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: rotate(15deg);
    background-color: var(--primary-light);
}

/* Son Dakika Kayan Bant (Ticker) */
.ticker-bar {
    background-color: var(--ticker-bg);
    color: #fff;
    font-size: 0.85rem;
}

.ticker-badge {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 5px 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* Manşet Slider (Featured Carousel) */
.featured-carousel-item {
    height: 560px;
    background-color: #0b0f19;
    position: relative;
}

.featured-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%; /* Yüzlerin ve kafaların kesilmesini önler, odağı üst bölüme odaklar */
    transition: transform 0.4s ease;
}

@media (max-width: 991px) {
    .featured-carousel-item {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .featured-carousel-item {
        height: 360px;
    }
}

.featured-carousel-caption {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.92) 100%);
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: auto;
}

.featured-carousel-read-btn {
    position: relative;
    z-index: 6;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-carousel-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 56, 56, 0.35);
}

/* Şık ve butonları engellemeyen manşet okları (Prev / Next - 48x48px Dokunma Hedefi) */
#featuredCarousel .carousel-control-prev,
#featuredCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0.85;
    transition: all 0.2s ease;
    z-index: 10;
}

/* Gösterge Çubukları Dokunma Alanı Genişletmesi */
.carousel-indicators [data-bs-target] {
    box-sizing: content-box !important;
    height: 6px !important;
    padding: 10px 0 !important;
    margin: 4px 4px !important;
    min-width: 32px !important;
}

#featuredCarousel .carousel-control-prev {
    left: 18px;
}

#featuredCarousel .carousel-control-next {
    right: 18px;
}

#featuredCarousel .carousel-control-prev:hover,
#featuredCarousel .carousel-control-next:hover {
    background: var(--primary-color, #ff3838);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#featuredCarousel .carousel-control-prev-icon,
#featuredCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Kartlar ve Efektler */
.card {
    border: none;
    border-radius: var(--card-border-radius);
    transition: var(--card-transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.news-card-thumb-wrapper {
    height: 200px;
}

.news-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.card:hover .news-card-thumb {
    transform: scale(1.03);
}

/* Butonlar */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* En Çok Okunanlar (Sidebar) */
.popular-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: #94a3b8;
    opacity: 0.6;
    min-width: 32px;
}

.popular-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
}

/* Haber Detay Sayfası */
.news-detail-image-wrapper {
    max-height: 520px;
    overflow: hidden;
    border-radius: 16px;
}

.news-detail-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-body {
    font-size: 1.15rem;
    line-height: 1.85;
}

.news-body p {
    margin-bottom: 1.5rem;
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.news-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Sosyal Medya Paylaşım Butonları */
.btn-social-circle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.88rem;
    padding: 0;
    transition: transform 0.2s ease;
}

.btn-social-circle:hover {
    transform: translateY(-2px);
}

.btn-social-circle.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff !important;
    border: none;
}

.btn-social-circle.btn-instagram:hover {
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.4);
}

/* Kategori Başlık Afişi */
.category-banner {
    border-radius: 16px;
}

/* Footer */
footer a:hover {
    color: var(--primary-color) !important;
}

/* -------------------------------------------------------------
   Canlı Piyasa & Finans Bandı
------------------------------------------------------------- */
.finance-ticker-bar {
    background: rgba(15, 23, 42, 0.03);
    font-size: 0.84rem;
}

[data-bs-theme="dark"] .finance-ticker-bar {
    background: rgba(255, 255, 255, 0.04);
}

.finance-rate-item {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* -------------------------------------------------------------
   Canlı Arama Çubuğu ve Sonuç Açılır Listesi (Live Search)
------------------------------------------------------------- */
.live-search-wrapper {
    min-width: 220px;
}

@media (min-width: 992px) {
    .live-search-wrapper {
        min-width: 240px;
    }
}

.live-search-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1060;
    border: 1px solid var(--bs-border-color);
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   Sesli Haber Dinleme Oynatıcısı (Text-to-Speech)
------------------------------------------------------------- */
.audio-player-box {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.audio-ctrl-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audio-ctrl-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(255, 56, 56, 0.35);
}

/* Animasyonlu Ses Dalgaları */
.sound-wave-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.sound-wave-bars span {
    width: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: soundWave 1.2s infinite ease-in-out;
}

.sound-wave-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.sound-wave-bars span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.sound-wave-bars span:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.sound-wave-bars span:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes soundWave {
    0%, 100% { height: 4px; }
    50% { height: 14px; }
}

/* -------------------------------------------------------------
   Yazar & Makale Kartları
------------------------------------------------------------- */
.author-card-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--bs-border-color);
}

.author-detail-avatar {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-sidebar-avatar {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-meta-label {
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------
   Foto Galeri Kartları (Responsive & Tam Görünüm)
------------------------------------------------------------- */
.news-gallery-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    background-color: var(--bs-card-bg, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px;
    overflow: hidden;
}

[data-bs-theme="dark"] .news-gallery-card {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.news-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 53, 69, 0.35) !important;
}

.news-gallery-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 160px;
    display: block;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

[data-bs-theme="dark"] .news-gallery-img-box {
    background-color: #0f172a;
}

.news-gallery-img-box img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover !important;
    object-position: center center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.news-gallery-card:hover .news-gallery-img-box img {
    transform: scale(1.06);
}

.news-gallery-zoom-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

.news-gallery-card:hover .news-gallery-zoom-btn {
    opacity: 1;
    transform: translateY(0);
}

.news-gallery-caption {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 65%, transparent 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 10px 8px 10px;
    font-size: 0.78rem;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------
   Görünmez Bot / Spam Koruması (Honeypot)
------------------------------------------------------------- */
.hp-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* -------------------------------------------------------------
   Haber Tepki Emojileri (Reactions)
------------------------------------------------------------- */
.reactions-box {
    transition: background-color 0.2s ease;
}

.btn-reaction {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-reaction:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.btn-reaction.active {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.btn-reaction.active .reaction-name {
    color: var(--primary-color);
    font-weight: 700;
}

.reaction-emoji {
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-reaction:active .reaction-emoji {
    transform: scale(1.35) rotate(-10deg);
}

.reaction-name {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
}

.reaction-count {
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
}

.btn-reaction.active .reaction-count {
    background-color: var(--primary-color);
    color: #fff;
}

/* -------------------------------------------------------------
   Anket Bileşeni (Poll Widget)
------------------------------------------------------------- */
.poll-widget {
    background-color: var(--bs-body-bg);
}

.poll-option-label {
    cursor: pointer;
    background-color: var(--bs-tertiary-bg);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.poll-option-label:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color) !important;
}

/* -------------------------------------------------------------
   Yazı Boyutu Araç Çubuğu (Font Resize Toolbar)
------------------------------------------------------------- */
.font-size-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: 700;
    font-size: 0.85rem;
}

/* -------------------------------------------------------------
   Mobil Web Stories (Günün Hikayeleri)
------------------------------------------------------------- */
.stories-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 4px 16px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.story-avatar-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #ff3838, #f39c12, #eb2f06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.story-item:hover .story-avatar-ring {
    transform: scale(1.08);
}

.story-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-body-bg);
}

.story-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-top: 6px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Story Tam Ekran Modal */
.story-modal-dialog {
    max-width: 440px;
}

.story-modal-content {
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 80vh;
    max-height: 720px;
}

.story-modal-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.story-modal-progress-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    border-radius: 2px;
}

/* -------------------------------------------------------------
   Hava Durumu & Namaz Vakitleri Üst Bandı
------------------------------------------------------------- */
.weather-prayer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}

.dropdown-menu-scrollable {
    max-height: 320px;
    overflow-y: auto;
}

.newspaper-cover-wrapper {
    height: 380px;
}

/* -------------------------------------------------------------
   Yazdırma Modu (@media print)
------------------------------------------------------------- */
@media print {
    .navbar,
    .finance-ticker-bar,
    .ticker-bar,
    .audio-player-box,
    .reactions-box,
    .related-news-box,
    .news-gallery-section,
    section.bg-body, /* Yorumlar */
    .col-lg-4, /* Sidebar */
    footer,
    .btn,
    .theme-toggle-btn,
    .live-search-wrapper,
    .stories-wrapper {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt !important;
    }

    .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .news-body {
        font-size: 12pt !important;
        line-height: 1.6 !important;
    }

    .news-detail-image {
        max-height: 380px !important;
    }
}

/* -------------------------------------------------------------
   Haber İçi Etiketler (News Tags) Stilleri
------------------------------------------------------------- */
.news-tags-box {
    margin-top: 2rem;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-bs-theme="dark"] .news-tags-box {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.news-tags-heading {
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.news-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-tag-pill .tag-hash {
    color: var(--primary-color, #ff3838);
    font-weight: 700;
    font-family: monospace;
    font-size: 0.95rem;
}

.news-tag-pill:hover {
    background-color: var(--primary-color, #ff3838);
    border-color: var(--primary-color, #ff3838);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 56, 56, 0.25);
}

.news-tag-pill:hover .tag-hash {
    color: #ffffff;
}

[data-bs-theme="dark"] .news-tag-pill {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

[data-bs-theme="dark"] .news-tag-pill:hover {
    background-color: var(--primary-color, #ff3838);
    border-color: var(--primary-color, #ff3838);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 56, 56, 0.35);
}

/* -------------------------------------------------------------
   Ana Sayfa Köşe Yazarları Vitrini (Authors Showcase)
------------------------------------------------------------- */
.authors-showcase-section {
    position: relative;
}

.authors-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff3838, #eb2f06);
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 56, 56, 0.25);
}

.authors-section-title {
    letter-spacing: -0.2px;
    font-size: 1.25rem;
}

.authors-view-all-btn {
    transition: all 0.2s ease-in-out;
    border-color: rgba(255, 56, 56, 0.3);
}

.authors-view-all-btn:hover {
    background-color: var(--primary-color, #ff3838);
    border-color: var(--primary-color, #ff3838);
    color: #ffffff;
    transform: translateX(2px);
}

.author-showcase-card {
    background-color: var(--bs-card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.author-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(255, 56, 56, 0.35) !important;
}

.author-showcase-avatar-wrapper {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.author-showcase-avatar {
    width: 100%;
    height: 100%;
    border: 2px solid var(--bs-card-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}

.author-showcase-card:hover .author-showcase-avatar {
    transform: scale(1.06);
}

.author-showcase-avatar-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff3838;
    color: #ffffff;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bs-card-bg);
}

.author-showcase-name {
    font-size: 0.95rem;
    color: var(--bs-body-color);
}

.author-showcase-title {
    font-size: 0.78rem;
}

.author-showcase-article-title {
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color 0.15s ease;
    min-height: 2.7rem;
}

.author-showcase-card:hover .author-showcase-article-title {
    color: var(--primary-color, #ff3838) !important;
}

.author-showcase-read-btn {
    transition: transform 0.2s ease;
}

.author-showcase-card:hover .author-showcase-read-btn {
    transform: translateX(3px);
}

.author-showcase-date {
    font-size: 0.78rem;
}

/* Dark Mode Uyum - Showcase */
[data-bs-theme="dark"] .author-showcase-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: var(--bs-card-bg);
}

[data-bs-theme="dark"] .author-showcase-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(255, 56, 56, 0.45) !important;
}

/* -------------------------------------------------------------
   Yazarlar Sayfası Kart Stilleri (yazarlar.php)
------------------------------------------------------------- */
.author-detail-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.author-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

.author-card-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid rgba(255, 56, 56, 0.15);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.author-detail-card:hover .author-card-avatar {
    transform: scale(1.05);
    border-color: var(--primary-color, #ff3838);
}

[data-bs-theme="dark"] .author-detail-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .author-detail-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
}

/* -------------------------------------------------------------
   Alt Manşet Numaralı Slider & Reklam Alanı
------------------------------------------------------------- */
.subfeatured-section {
    position: relative;
}

.subfeatured-carousel {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.subfeatured-item {
    height: 400px;
    background-color: #0b0f19;
    position: relative;
}

@media (max-width: 991px) {
    .subfeatured-item {
        height: 340px;
    }
}

@media (max-width: 576px) {
    .subfeatured-item {
        height: 250px;
    }
}

.subfeatured-img {
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.4s ease;
}

.subfeatured-item:hover .subfeatured-img {
    transform: scale(1.02);
}

.subfeatured-caption {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 2;
    pointer-events: auto;
}

.subfeatured-badge {
    background: #ff3838;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.subfeatured-title {
    font-size: 1.25rem;
    line-height: 1.35;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .subfeatured-title {
        font-size: 1rem;
    }
}

.hover-text-danger:hover {
    color: #ff3838 !important;
}

.subfeatured-nav-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: stretch;
    gap: 2px;
    background-color: var(--bs-card-bg) !important;
    padding: 3px !important;
}

.subfeatured-num-btn {
    flex: 1 1 0;
    min-width: 28px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: transparent;
    color: var(--bs-body-color);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    border-radius: 4px;
}

.subfeatured-num-btn:hover {
    background-color: rgba(255, 56, 56, 0.12);
    border-color: rgba(255, 56, 56, 0.3);
    color: var(--primary-color, #ff3838);
}

.subfeatured-num-btn.active {
    background-color: var(--primary-color, #ff3838) !important;
    border-color: var(--primary-color, #ff3838) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 56, 56, 0.35);
}

/* Sağ Reklam Alanı */
.subfeatured-ad-box {
    background-color: var(--bs-card-bg);
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    min-height: 442px;
}

.subfeatured-ad-placeholder {
    border: 2px dashed rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.02);
}

/* Dark Mode */
[data-bs-theme="dark"] .subfeatured-carousel {
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .subfeatured-num-btn {
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .subfeatured-num-btn:hover {
    background-color: rgba(255, 56, 56, 0.2);
    color: #ffffff;
}

[data-bs-theme="dark"] .subfeatured-ad-box {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .subfeatured-ad-placeholder {
    border-color: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------------
   SweetAlert2 Tema & Koyu Mod (Dark Mode) Uyumu
------------------------------------------------------------- */
.swal2-popup {
    border-radius: 18px !important;
    font-family: inherit !important;
}

.swal2-styled.swal2-confirm {
    background-color: var(--primary-color, #ff3838) !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 12px rgba(255, 56, 56, 0.3) !important;
}

.swal2-styled.swal2-cancel {
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 10px 22px !important;
}

[data-bs-theme="dark"] .swal2-popup {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .swal2-title {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .swal2-html-container {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .swal2-popup.swal2-toast {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* -------------------------------------------------------------
   Kullanıcı Profil ve Gezinme Stilleri (profil.php & header)
------------------------------------------------------------- */
.user-header-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-card {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.profile-avatar-xl {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.profile-avatar-preview {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

[data-bs-theme="dark"] .profile-avatar-preview {
    border-color: rgba(255, 255, 255, 0.15);
}

.profile-nav-pills .nav-link {
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    color: var(--bs-body-color);
    transition: all 0.2s ease;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-nav-pills .nav-link.active {
    background-color: var(--primary-color, #ff3838);
    color: #ffffff;
}

.profile-nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] .profile-nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.05);
}

.social-input-group-text {
    width: 44px;
    justify-content: center;
}

.social-icon-badge {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon-badge:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color, #ff3838);
    color: #ffffff;
}

[data-bs-theme="dark"] .social-icon-badge {
    background-color: rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------------------
   Reklam Dönüşüm (Rotasyon) & Slider Stilleri
------------------------------------------------------------- */
.ad-rotator-carousel {
    overflow: hidden;
    border-radius: 12px;
}

.ad-rotator-carousel .carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.ad-banner-link {
    text-decoration: none;
    display: block;
    outline: none;
}

.ad-banner-img {
    max-height: 450px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.ad-banner-link:hover .ad-banner-img {
    opacity: 0.94;
}

.ad-carousel-indicators {
    bottom: 2px;
    margin-bottom: 0;
}

.ad-carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ff3838;
    opacity: 0.45;
    border: none;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.ad-carousel-indicators .active {
    opacity: 1;
    transform: scale(1.3);
}

/* -------------------------------------------------------------
   Sidebar Bileşenleri (Dikey Yazar Slider & Trend Haberler)
   Sistem Tasarımına ve Temaya Uygun Kart Stili
------------------------------------------------------------- */
.sidebar-widget-card,
.sidebar-blue-card {
    background-color: var(--bs-card-bg, #ffffff);
    color: var(--bs-body-color);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.08));
    position: relative;
    overflow: hidden;
}

.sidebar-widget-header,
.sidebar-blue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.sidebar-widget-title,
.sidebar-blue-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-heading-color, #1a1a1a);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-title i,
.sidebar-blue-title i {
    color: var(--primary-color, #ff3838);
    font-size: 1.1rem;
}

.sidebar-widget-controls,
.sidebar-blue-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-widget-ctrl-btn,
.sidebar-blue-ctrl-btn {
    background: var(--bs-tertiary-bg, #f8f9fa);
    color: var(--bs-secondary-color, #6c757d);
    border: 1px solid var(--bs-border-color, #dee2e6);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    padding: 0;
}

.sidebar-widget-ctrl-btn:hover,
.sidebar-blue-ctrl-btn:hover {
    background: var(--primary-color, #ff3838);
    border-color: var(--primary-color, #ff3838);
    color: #ffffff;
    transform: scale(1.08);
}

/* Dikey Yazar Slider Alanı */
.author-vertical-slider-wrapper {
    height: 330px;
    overflow: hidden;
    position: relative;
}

.author-vertical-slider-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.author-slider-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 8px;
    text-decoration: none;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06));
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-radius: 10px;
    min-height: 82px;
}

.author-slider-item:hover {
    background-color: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.03));
}

.author-slider-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color, #ff3838);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.author-slider-info {
    flex-grow: 1;
    min-width: 0;
}

.author-slider-name {
    color: var(--bs-heading-color, #1a1a1a);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.author-slider-item:hover .author-slider-name {
    color: var(--primary-color, #ff3838);
}

.author-slider-article {
    color: var(--bs-secondary-color, #555555);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* -------------------------------------------------------------
   Turuncu Sidebar Kartı (Dikey Yazar Slider Özel Stili)
   Canlı ve Sıcak Turuncu Gradyan & Yüksek Kontrastlı Beyaz Metinler
------------------------------------------------------------- */
.sidebar-orange-card {
    background: linear-gradient(135deg, #f26419 0%, #d84315 100%) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    box-shadow: 0 6px 20px rgba(216, 67, 21, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.sidebar-orange-card .sidebar-widget-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.sidebar-orange-card .sidebar-widget-title {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-orange-card .sidebar-widget-title i {
    color: #ffffff !important;
    font-size: 1.1rem;
}

.sidebar-orange-card .sidebar-widget-ctrl-btn {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.sidebar-orange-card .sidebar-widget-ctrl-btn:hover {
    background: #ffffff !important;
    color: #d84315 !important;
    transform: scale(1.1);
}

.sidebar-orange-card .author-slider-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sidebar-orange-card .author-slider-item:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.sidebar-orange-card .author-slider-avatar {
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.sidebar-orange-card .author-slider-name {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.94rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar-orange-card .author-slider-item:hover .author-slider-name {
    color: #fff3bf !important;
}

.sidebar-orange-card .author-slider-article {
    color: #ffffff !important;
    opacity: 0.96 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Trend Haberler Listesi */
.trend-news-list {
    display: flex;
    flex-direction: column;
}

.trend-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.06));
    transition: background-color 0.2s ease;
    border-radius: 10px;
}

.trend-news-item:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.trend-news-item:hover {
    background-color: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.03));
}

.trend-thumb-wrapper {
    position: relative;
    width: 76px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: visible;
}

.trend-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.08));
    display: block;
}

.trend-rank-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color, #ff3838);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 56, 56, 0.35);
    border: 2px solid var(--bs-card-bg, #ffffff);
    z-index: 2;
}

.trend-news-title {
    color: var(--bs-heading-color, #1a1a1a);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.2s ease;
}

.trend-news-item:hover .trend-news-title {
    color: var(--primary-color, #ff3838);
}

/* -------------------------------------------------------------
   Karanlik Mod (Dark Mode) Kapsamli Stil Uyarlamalari
------------------------------------------------------------- */
[data-bs-theme="dark"] {
    --bs-body-bg: #0f172a;
    --bs-body-color: #e2e8f0;
    --bs-tertiary-bg: #1e293b;
    --bs-secondary-bg: #1e293b;
    --bs-secondary-color: #cbd5e1; /* slate-300, koyu temada >9:1 kontrast */
    --bs-secondary-rgb: 203, 213, 225;
    --bs-border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] body {
    background-color: #0f172a;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .bg-white {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .card {
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .navbar.bg-body-tertiary {
    background-color: #111827 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .footer {
    background-color: #090d16 !important;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .dropdown-item {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #1e293b;
    border-color: rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #1e293b;
    border-color: var(--primary-color, #ff3838);
    color: #ffffff;
}

[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .weather-prayer-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
}

/* ========================================================
   MODERN HAVA DURUMU SİDEBAR WİDGETI
======================================================== */
.weather-widget-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.weather-city-dropdown-wrapper .weather-widget-city-select {
    font-size: 0.78rem;
    border-radius: 20px;
    padding: 0.2rem 1.7rem 0.2rem 0.75rem;
    cursor: pointer;
    background-color: var(--bs-body-bg);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] .weather-city-dropdown-wrapper .weather-widget-city-select {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Hero Kart Gradyanları */
.weather-hero-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.weather-hero-bg-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.weather-gradient-sunny {
    background: linear-gradient(135deg, #1e528e 0%, #2980b9 40%, #e67e22 100%);
}

.weather-gradient-night {
    background: linear-gradient(135deg, #09131b 0%, #1a2a3a 50%, #2c3e50 100%);
}

.weather-gradient-cloudy {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
}

.weather-gradient-overcast {
    background: linear-gradient(135deg, #37474f 0%, #546e7a 100%);
}

.weather-gradient-rainy {
    background: linear-gradient(135deg, #1f3c58 0%, #305473 60%, #1e3040 100%);
}

.weather-gradient-snowy {
    background: linear-gradient(135deg, #1d4350 0%, #a43931 100%);
}

.weather-gradient-fog {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
}

.weather-gradient-storm {
    background: linear-gradient(135deg, #141e30 0%, #243b55 70%, #4b1248 100%);
}

.weather-hero-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    animation: weatherIconFloat 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes weatherIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.drop-shadow {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* 4'lü Metrik Kutuları */
.weather-metric-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weather-metric-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 5 Günlük Tahmin Şeritleri */
.weather-forecast-pill {
    transition: all 0.2s ease;
}

.weather-forecast-pill:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color, #ff3838) !important;
}

.weather-forecast-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.weather-forecast-pill:hover .weather-forecast-icon {
    transform: scale(1.15);
}

/* ========================================================
   MODÜLER ANA SAYFA HABER BLOKLARI (HOME BLOCKS) STİLLERİ
======================================================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.transition-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.hover-text-danger:hover {
    color: var(--primary-color, #ff3838) !important;
}

.hero-block-card {
    transition: all 0.3s ease;
}

.hero-block-card .hero-block-img {
    transition: transform 0.5s ease;
}

.hero-block-card:hover .hero-block-img {
    transform: scale(1.04);
}

.cursor-pointer {
    cursor: pointer;
}

/* ========================================================
   SİTE LOGO STİLLERİ & DARK MODE GEÇİŞİ
======================================================== */
.site-logo-img {
    max-height: 46px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

/* Açık / Koyu Tema Seçicilerine Göre Otomatik Logo Gösterimi */
[data-bs-theme="dark"] .site-logo-light {
    display: none !important;
}

[data-bs-theme="dark"] .site-logo-dark {
    display: inline-block !important;
}

[data-bs-theme="light"] .site-logo-dark {
    display: none !important;
}

[data-bs-theme="light"] .site-logo-light {
    display: inline-block !important;
}

/* ========================================================
   WHATSAPP HABER İHBAR HATTI BUTONLARI
======================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.floating-whatsapp-btn i {
    font-size: 1.35rem;
    line-height: 1;
}

.floating-whatsapp-btn:hover {
    background: #20ba59;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .floating-whatsapp-btn {
        bottom: 18px;
        right: 18px;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }
    .floating-whatsapp-btn .floating-whatsapp-text {
        display: none;
    }
    .floating-whatsapp-btn i {
        font-size: 1.45rem;
    }
}

/* ========================================================
   VİDEO HABERLER & VİDEO GALERİ WİDGETI
======================================================== */
.video-gallery-section {
    position: relative;
}

.video-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 56, 56, 0.15);
    margin-bottom: 20px;
}

.video-gallery-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-gallery-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #ff3838 0%, #eb2f06 100%);
    color: #ffffff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 56, 56, 0.35);
}

.video-gallery-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0;
    color: var(--bs-heading-color, #1e293b);
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-gallery-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Canlı Pulse Rozeti */
.video-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3838;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.video-pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ff3838;
    border-radius: 50%;
    animation: videoPulse 1.8s infinite ease-out;
}

@keyframes videoPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Sol Büyük Spotlight Kartı */
.video-spotlight-card {
    position: relative;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #0b0f19;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.video-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.video-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-spotlight-card:hover .video-card-img,
.video-grid-card:hover .video-card-img {
    transform: scale(1.06);
}

/* Karartma Katmanı */
.video-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(11, 15, 25, 0.95) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Cam Efektli (Glassmorphism) Play Butonu */
.video-play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.video-play-btn {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 4px; /* play ikonunu ortalamak için */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-spotlight-card:hover .video-play-btn,
.video-grid-card:hover .video-play-btn {
    background: #ff3838;
    border-color: #ff3838;
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255, 56, 56, 0.75);
    color: #ffffff;
}

/* Sağ Izgara Kartları (2x2) */
.video-grid-card {
    position: relative;
    height: 222px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #0b0f19;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.video-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.video-grid-card .video-play-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    padding-left: 3px;
}

/* Kart İçerik Bilgileri */
.video-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 18px;
    z-index: 3;
    pointer-events: auto;
}

.video-spotlight-card .video-card-content {
    padding: 22px 24px;
}

.video-card-badge {
    background: rgba(255, 56, 56, 0.95);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 56, 56, 0.35);
}

.video-card-title {
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.35;
    margin: 8px 0 6px 0;
    transition: color 0.2s ease;
}

.video-spotlight-card .video-card-title {
    font-size: 1.25rem;
}

.video-grid-card .video-card-title {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-spotlight-card:hover .video-card-title,
.video-grid-card:hover .video-card-title {
    color: #ff7675 !important;
}

.video-card-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-card-meta i {
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .video-spotlight-card {
        height: 380px;
        margin-bottom: 16px;
    }
    .video-grid-card {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .video-spotlight-card {
        height: 300px;
    }
    .video-spotlight-card .video-card-title {
        font-size: 1.05rem;
    }
    .video-grid-card {
        height: 180px;
    }
    .video-grid-card .video-card-title {
        font-size: 0.85rem;
    }
}

/* -------------------------------------------------------------
   Günlük Burç Yorumları (Horoscope Module & Widget)
------------------------------------------------------------- */
.horoscope-hero-banner {
    background: linear-gradient(135deg, #1e1e2f 0%, #2d1b4e 50%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.horoscope-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.2), transparent 50%);
    pointer-events: none;
}

/* 12 Burç Seçim Kartları Izgarası (Modern Grid Layout) */
.horoscope-nav-card {
    background-color: var(--bs-tertiary-bg);
}

.horoscope-sign-card-btn {
    border: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    text-align: left;
    outline: none;
    user-select: none;
}

.horoscope-sign-card-btn:hover {
    transform: translateY(-4px);
    border-color: #ff3838 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.horoscope-sign-card-btn.active {
    border-color: #ff3838 !important;
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.08), rgba(245, 158, 11, 0.05)) !important;
    box-shadow: 0 0 0 2px #ff3838, 0 10px 25px rgba(255, 56, 56, 0.15) !important;
    position: relative;
}

.horoscope-sign-card-btn .sign-card-symbol-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.horoscope-sign-card-btn:hover .sign-card-symbol-box,
.horoscope-sign-card-btn.active .sign-card-symbol-box {
    transform: scale(1.1);
}

.horoscope-sign-card-btn .sign-card-active-indicator {
    display: none;
}

.horoscope-sign-card-btn.active .sign-card-active-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ff3838;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.65rem;
}

.horoscope-main-card {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color) !important;
    position: relative;
    overflow: hidden;
}

.horoscope-watermark-symbol {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 14rem;
    font-weight: 900;
    opacity: 0.04;
    user-select: none;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.horoscope-avatar-box {
    width: 68px;
    height: 68px;
}

.horoscope-motto-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(139, 92, 246, 0.05));
}

.horoscope-aspect-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--bs-border-color) !important;
}

.horoscope-aspect-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.horoscope-mini-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.horoscope-mini-card:hover {
    transform: translateY(-4px);
    border-color: #f59e0b !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.horoscope-lucky-card {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid var(--bs-border-color) !important;
    background-color: var(--bs-tertiary-bg);
}

.horoscope-lucky-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 56, 56, 0.3) !important;
}

.horoscope-lucky-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.horoscope-widget-card {
    border: 1px solid var(--bs-border-color);
}

/* Ana Sayfa Burçlar Hızlı Şerit */
.horoscopes-home-strip .hover-shadow-sm {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.horoscopes-home-strip .hover-shadow-sm:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 56, 56, 0.4) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

[data-bs-theme="dark"] .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

/* Gizli Kaydırma Çubuğu (Mobilde Akıcı & Kusursuz Deneyim) */
.hide-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.hide-scrollbar,
.no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .finance-ticker-bar marquee,
    .ticker-bar marquee {
        font-size: 0.82rem;
    }
}

/* -------------------------------------------------------------
   Haber Kaynağı / Ajans & Muhabir Künyesi (News Source Attribution)
------------------------------------------------------------- */
.news-source-card {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-source-card:hover {
    border-color: rgba(255, 56, 56, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.news-source-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.news-source-badge-label {
    background: rgba(255, 56, 56, 0.1);
    color: var(--primary-color, #ff3838);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.news-source-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bs-body-color);
}

.news-source-link-btn {
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 5px 16px;
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .news-source-badge-label {
    background: rgba(255, 56, 56, 0.2);
    color: #ff6b6b;
}

[data-bs-theme="dark"] .news-source-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   WEB PUSH (ANLIK BİLDİRİM) BANNER & YÜZEN ZİL BUTONU
======================================================== */
.floating-push-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff3838;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 56, 56, 0.45);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.floating-push-btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.floating-push-btn:hover {
    background: #eb2f06;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255, 56, 56, 0.6);
}

.floating-push-btn.is-subscribed {
    background: #10b981;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.floating-push-btn.is-subscribed:hover {
    background: #059669;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
}

.push-badge-pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background-color: #facc15;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: pushPulse 2s infinite;
}

.floating-push-btn.is-subscribed .push-badge-pulse {
    display: none;
}

@keyframes pushPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(250, 204, 21, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

@media (max-width: 576px) {
    .floating-push-btn {
        bottom: 18px;
        left: 18px;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }
    .floating-push-btn .floating-push-text {
        display: none;
    }
    .floating-push-btn i {
        font-size: 1.35rem;
    }
}

/* Push Prompt Slide-up Bar */
.push-prompt-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 520px;
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 18px;
    padding: 16px 20px;
    z-index: 1055;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.push-prompt-bar.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.push-prompt-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.push-prompt-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 56, 56, 0.12);
    color: var(--primary-color, #ff3838);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.push-prompt-content {
    flex: 1;
    min-width: 200px;
}

.push-prompt-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--bs-body-color);
}

.push-prompt-desc {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #64748b);
    line-height: 1.35;
}

.push-prompt-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
    margin-top: 6px;
}

@media (min-width: 576px) {
    .push-prompt-actions {
        width: auto;
        margin-top: 0;
    }
}

[data-bs-theme="dark"] .push-prompt-bar {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

[data-bs-theme="dark"] .push-prompt-icon {
    background: rgba(255, 56, 56, 0.2);
    color: #ff6b6b;
}

/* PWA Install Prompt Bar */
.pwa-install-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 520px;
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 18px;
    padding: 16px 20px;
    z-index: 1056;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.pwa-install-bar.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pwa-install-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-install-content {
    flex: 1;
    min-width: 200px;
}

.pwa-install-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--bs-body-color);
}

.pwa-install-desc {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #64748b);
    line-height: 1.35;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
    margin-top: 6px;
}

@media (min-width: 576px) {
    .pwa-install-actions {
        width: auto;
        margin-top: 0;
    }
}

[data-bs-theme="dark"] .pwa-install-bar {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* ==========================================================================
   AI 60 Saniye Günün Özeti & Sesli Bülten Stilleri
   ========================================================================== */
.ai-digest-card {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.03) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(236, 72, 153, 0.03) 100%);
    border: 1px solid rgba(229, 9, 20, 0.18);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(229, 9, 20, 0.07);
    transition: all 0.3s ease;
}

.ai-digest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff3838, #8b5cf6, #ec4899, #3b82f6);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ai-sparkle-badge {
    background: linear-gradient(135deg, #ff3838 0%, #a855f7 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ai-digest-player {
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-ai-play {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3838, #e50914);
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
    flex-shrink: 0;
}

.btn-ai-play:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.55);
    color: #ffffff;
}

.btn-ai-play.is-playing {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    animation: playPulse 1.8s infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Ses Dalga (Waveform Equalizer) Animasyonu */
.waveform-container {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 24px;
    padding: 0 4px;
}

.equalizer-bar {
    width: 3px;
    background: #cbd5e1;
    border-radius: 3px;
    height: 6px;
    transition: height 0.15s ease, background-color 0.2s ease;
}

.ai-digest-player.is-active .equalizer-bar {
    background: linear-gradient(180deg, #ff3838, #8b5cf6);
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.ai-digest-player.is-active .equalizer-bar:nth-child(1) { animation-delay: 0.1s; height: 14px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(2) { animation-delay: 0.3s; height: 22px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(3) { animation-delay: 0.15s; height: 18px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(4) { animation-delay: 0.45s; height: 24px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(5) { animation-delay: 0.2s; height: 16px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(6) { animation-delay: 0.35s; height: 20px; }
.ai-digest-player.is-active .equalizer-bar:nth-child(7) { animation-delay: 0.25s; height: 12px; }

@keyframes eqBounce {
    0% { height: 6px; }
    50% { height: 24px; }
    100% { height: 8px; }
}

/* 5'li Hap Bilgi Kartları */
.ai-story-item {
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ai-story-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    border-color: rgba(229, 9, 20, 0.35);
}

.ai-story-item.is-speaking {
    border-color: #8b5cf6 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.04)) !important;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35), 0 8px 20px rgba(139, 92, 246, 0.15) !important;
}

.ai-story-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(229, 9, 20, 0.1);
    color: #e50914;
    font-weight: 800;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-takeaway-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--bs-body-color);
}

.ai-speed-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    border: 1px solid var(--bs-border-color, #cbd5e1);
    background: transparent;
    color: var(--bs-secondary-color);
    cursor: pointer;
    transition: all 0.15s ease;
}

.ai-speed-btn.active {
    background: #e50914;
    color: #ffffff;
    border-color: #e50914;
}

/* Header Glow Butonu */
.nav-ai-digest-btn {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.12), rgba(139, 92, 246, 0.15));
    color: #e50914 !important;
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.nav-ai-digest-btn:hover {
    background: linear-gradient(135deg, #e50914, #8b5cf6);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.35);
}

[data-bs-theme="dark"] .ai-digest-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .ai-digest-player {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .ai-story-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .ai-story-num {
    background: rgba(229, 9, 20, 0.25);
    color: #ff6b6b;
}

.hover-danger {
    transition: color 0.2s ease;
}
.hover-danger:hover {
    color: #e50914 !important;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   Çerez Uyarısı & KVKK / GDPR Onay Bandı (Cookie Consent Bar)
   ========================================================================== */
.cookie-consent-bar {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 500px;
    width: calc(100% - 32px);
    background: var(--bs-body-bg, #ffffff);
    border: 1px solid var(--bs-border-color, #e2e8f0);
    border-radius: 20px;
    padding: 16px 20px;
    z-index: 1060;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    transform: translateY(130%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cookie-consent-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-consent-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.cookie-consent-content {
    flex: 1;
    min-width: 220px;
}

.cookie-consent-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-body-color);
    margin-bottom: 4px;
}

.cookie-consent-desc {
    font-size: 0.82rem;
    color: var(--bs-secondary-color, #64748b);
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
}

@media (max-width: 575.98px) {
    .cookie-consent-bar {
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%) translateY(130%);
    }
    .cookie-consent-bar.show {
        transform: translateX(-50%) translateY(0);
    }
    .cookie-consent-actions {
        flex-direction: column-reverse;
        width: 100%;
    }
    .cookie-consent-actions .btn {
        width: 100%;
    }
}

[data-bs-theme="dark"] .cookie-consent-bar {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

[data-bs-theme="dark"] .cookie-consent-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

/* ==========================================================================
   Otomatik İç Linkler (Auto Internal Links) Stilleri
   ========================================================================== */
.auto-internal-link {
    color: var(--primary-color, #e50914);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.auto-internal-link:hover {
    color: #b80710;
    text-decoration-style: solid;
    background: rgba(229, 9, 20, 0.07);
    border-radius: 4px;
    padding: 0 3px;
    margin: 0 -3px;
}

[data-bs-theme="dark"] .auto-internal-link {
    color: #ff6b6b;
}

[data-bs-theme="dark"] .auto-internal-link:hover {
    color: #ff8787;
    background: rgba(255, 107, 107, 0.15);
}

/* ==========================================================================
   Yazı İçi Video, YouTube Shorts & Medya Embedleri
   ========================================================================== */
.news-content iframe,
.news-body iframe,
.page-body iframe,
.typography iframe,
.note-video-clip {
    max-width: 100%;
    border: 0;
    border-radius: 12px;
    margin: 1.75rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Standart Yatay Videolar (16:9) */
.news-content iframe:not(.note-video-shorts),
.news-body iframe:not(.note-video-shorts),
.page-body iframe:not(.note-video-shorts),
.typography iframe:not(.note-video-shorts) {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* YouTube Shorts & Dikey Videolar (9:16) */
.news-content iframe.note-video-shorts,
.news-body iframe.note-video-shorts,
.page-body iframe.note-video-shorts,
.typography iframe.note-video-shorts,
iframe[src*="shorts"],
iframe[width="360"][height="640"] {
    aspect-ratio: 9 / 16;
    max-width: 380px;
    width: 100%;
    height: auto;
    max-height: 675px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Köşe Yazarı Telif & Fikir Eseri Bilgi Notu Kartı
   ========================================================================== */
.author-copyright-notice-box {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.03) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-color: rgba(255, 56, 56, 0.18) !important;
    border-left: 4px solid var(--primary-color, #ff3838) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.author-copyright-notice-box:hover {
    box-shadow: 0 6px 20px rgba(255, 56, 56, 0.08);
    border-color: rgba(255, 56, 56, 0.28) !important;
}

.author-copyright-icon-badge {
    width: 44px;
    height: 44px;
}

[data-bs-theme="dark"] .author-copyright-notice-box {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.06) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-left-color: var(--primary-color, #ff3838) !important;
}

[data-bs-theme="dark"] .author-copyright-notice-box .author-copyright-text {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   Yazı & Haber İçi Görseller İçin Lightbox & Responsive Taşma Koruması
   ========================================================================== */
article.bg-body,
.news-body,
.news-content,
#articleContentBody,
#newsContentBody,
.typography {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.news-body *,
.news-content *,
#articleContentBody *,
#newsContentBody * {
    max-width: 100% !important;
    box-sizing: border-box;
}

#articleContentBody a.glightbox img,
#newsContentBody a.glightbox img,
.news-body a.glightbox img,
.news-content a.glightbox img,
.news-body img,
.news-content img,
#articleContentBody img,
#newsContentBody img,
.content-image-lightbox-link,
.content-image-lightbox-link img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1rem auto;
}

.content-image-lightbox-link {
    cursor: zoom-in;
    display: block !important;
    max-width: 100% !important;
    text-decoration: none;
    line-height: 0;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.content-image-lightbox-link:hover {
    filter: brightness(0.96);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.news-body blockquote,
.news-content blockquote,
.typography blockquote {
    max-width: 100% !important;
    overflow: hidden;
}

.news-body table,
.news-content table {
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
}

/* -------------------------------------------------------------
 * 3 Maddede Hızlı Özet (AI TL;DR - Görsel Altı Zengin Tasarım)
 * ------------------------------------------------------------- */
.tldr-summary-card {
    background: #ffffff;
    border: 1.5px solid rgba(255, 56, 56, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 28px -6px rgba(255, 56, 56, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.tldr-summary-card:hover {
    border-color: rgba(255, 56, 56, 0.45);
    box-shadow: 0 14px 34px -4px rgba(255, 56, 56, 0.14), 0 4px 10px rgba(0, 0, 0, 0.04);
}

.tldr-card-header {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.07) 0%, rgba(245, 158, 11, 0.05) 50%, rgba(255, 255, 255, 0.8) 100%);
    border-bottom: 1.5px solid rgba(255, 56, 56, 0.12);
}

.tldr-badge-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff3838 0%, #eb2f06 100%);
    color: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(255, 56, 56, 0.35);
    flex-shrink: 0;
}

.tldr-card-title {
    font-size: 1.12rem;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    color: #0f172a;
}

.tldr-card-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
}

.tldr-pill-badge {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.12) 0%, rgba(235, 47, 6, 0.08) 100%);
    color: #ff3838;
    border: 1px solid rgba(255, 56, 56, 0.22);
    font-weight: 700;
    font-size: 0.78rem;
    border-radius: 50px;
    padding: 5px 12px;
    letter-spacing: 0.2px;
}

.tldr-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ff3838;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 2px rgba(255, 56, 56, 0.2);
    animation: tldrPulse 1.8s infinite ease-out;
}

@keyframes tldrPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 56, 56, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 56, 56, 0); }
}

.tldr-points-container {
    background: #ffffff;
}

.tldr-point-row {
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.tldr-point-row:hover {
    background: #ffffff;
    border-color: rgba(255, 56, 56, 0.35);
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(255, 56, 56, 0.07);
}

.tldr-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, #ff3838 0%, #eb2f06 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.84rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    box-shadow: 0 3px 8px rgba(255, 56, 56, 0.3);
    flex-shrink: 0;
}

.tldr-text {
    color: #1e293b;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.6;
}

.tldr-card-footer {
    background: rgba(248, 250, 252, 0.6);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-size: 0.78rem;
}

/* Karanlık Mod */
[data-bs-theme="dark"] .tldr-summary-card {
    background: #1e293b;
    border-color: rgba(255, 56, 56, 0.32);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] .tldr-summary-card:hover {
    border-color: rgba(255, 56, 56, 0.55);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 56, 56, 0.15);
}

[data-bs-theme="dark"] .tldr-card-header {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.14) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.09);
}

[data-bs-theme="dark"] .tldr-card-title {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .tldr-card-subtitle {
    color: #94a3b8;
}

[data-bs-theme="dark"] .tldr-pill-badge {
    background: rgba(255, 56, 56, 0.18);
    border-color: rgba(255, 56, 56, 0.35);
    color: #ff6b6b;
}

[data-bs-theme="dark"] .tldr-points-container {
    background: #1e293b;
}

[data-bs-theme="dark"] .tldr-point-row {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .tldr-point-row:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 56, 56, 0.45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .tldr-text {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .tldr-card-footer {
    background: rgba(15, 23, 42, 0.5);
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
}

@media (max-width: 576px) {
    .tldr-card-header,
    .tldr-points-container,
    .tldr-card-footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .tldr-point-row {
        padding: 0.85rem !important;
    }
    .tldr-text {
        font-size: 0.92rem;
    }
    .tldr-card-title {
        font-size: 1.02rem;
    }
}

/* -------------------------------------------------------------
 * Anlamsal Benzer Haber Önerisi (Smart Recommendation Grid)
 * ------------------------------------------------------------- */
.related-news-box {
    background: var(--bs-tertiary-bg);
    border-color: var(--bs-border-color) !important;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.related-box-title {
    font-size: 1.15rem;
    color: var(--bs-heading-color, #0f172a);
}

.related-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.15) 0%, rgba(235, 47, 6, 0.08) 100%);
    color: var(--primary-color, #ff3838);
    font-size: 1.1rem;
}

.smart-rec-badge {
    background: linear-gradient(135deg, rgba(255, 56, 56, 0.12) 0%, rgba(235, 47, 6, 0.06) 100%);
    color: var(--primary-color, #ff3838);
    border: 1px solid rgba(255, 56, 56, 0.25);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    letter-spacing: 0.2px;
}

.related-rec-card {
    background-color: var(--bs-card-bg, #ffffff);
    border-radius: 14px !important;
    border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.08)) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.related-rec-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 56, 56, 0.35) !important;
    box-shadow: 0 12px 26px rgba(255, 56, 56, 0.09) !important;
}

.related-rec-img-wrap {
    background-color: #0f172a;
    border-radius: 14px 14px 0 0;
}

.related-rec-img {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.related-rec-title {
    font-size: 0.92rem;
    line-height: 1.45;
    transition: color 0.18s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}

.related-rec-card:hover .related-rec-title {
    color: var(--primary-color, #ff3838) !important;
}

.related-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.related-arrow-icon {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.related-rec-card:hover .related-arrow-icon {
    transform: translateX(4px);
}

/* Karanlık Mod Desteği */
[data-bs-theme="dark"] .related-news-box {
    background: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .related-rec-card {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .related-rec-card:hover {
    border-color: rgba(255, 56, 56, 0.45) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 15px rgba(255, 56, 56, 0.15) !important;
}

[data-bs-theme="dark"] .smart-rec-badge {
    background: rgba(255, 56, 56, 0.18);
    border-color: rgba(255, 56, 56, 0.35);
    color: #ff6b6b;
}

[data-bs-theme="dark"] .related-box-title {
    color: #f8fafc !important;
}

/* ============================================================= */
/* E-GAZETE (DİJİTAL PDF BASKI & ARŞİV) STILLERI                 */
/* ============================================================= */
.epaper-page-wrapper {
    position: relative;
}

/* 3D Kitap / Gazete Kapağı Efekti */
.epaper-3d-book-wrapper {
    perspective: 1000px;
    display: inline-block;
}

.epaper-3d-cover {
    max-height: 440px;
    width: auto;
    border-radius: 8px;
    box-shadow: -8px 12px 30px rgba(0, 0, 0, 0.28), -1px 2px 5px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.epaper-3d-book-wrapper:hover .epaper-3d-cover {
    transform: translateY(-6px) rotateY(-4deg) scale(1.02);
    box-shadow: -12px 18px 36px rgba(0, 0, 0, 0.35), -2px 4px 8px rgba(0, 0, 0, 0.18);
}

.epaper-cover-showcase-bg {
    background: radial-gradient(circle at center, rgba(255, 56, 56, 0.06) 0%, rgba(0, 0, 0, 0.02) 70%);
    border-right: 1px solid var(--bs-border-color, #e9ecef);
}

@media (max-width: 991.98px) {
    .epaper-cover-showcase-bg {
        border-right: none;
        border-bottom: 1px solid var(--bs-border-color, #e9ecef);
    }
}

/* Etkileşimli PDF Okuyucu Kartı */
.epaper-reader-card {
    border: 1px solid var(--bs-border-color, #e2e8f0);
}

.epaper-reader-card:fullscreen,
.epaper-reader-card:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0 !important;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.epaper-reader-card:fullscreen .epaper-viewer-stage,
.epaper-reader-card:-webkit-full-screen .epaper-viewer-stage {
    flex-grow: 1;
    height: calc(100vh - 120px) !important;
    background: #111111 !important;
}

.epaper-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
}

.epaper-viewer-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: thin;
}

.epaper-canvas-shadow-container {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

/* Sayfa Minyatür Butonları */
.epaper-page-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.epaper-page-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Arşiv Izgara Kartları */
.epaper-archive-card {
    border: 1px solid var(--bs-border-color, #e2e8f0) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.epaper-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12), 0 6px 12px rgba(0, 0, 0, 0.08) !important;
}

.epaper-archive-cover-wrapper {
    aspect-ratio: 1 / 1.414;
    background-color: #f1f5f9;
}

.epaper-archive-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.epaper-archive-card:hover .epaper-archive-cover {
    transform: scale(1.04);
}

.epaper-archive-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.epaper-archive-card:hover .epaper-archive-overlay {
    opacity: 1;
}

/* E-Gazete Karanlık Mod Uyumu */
[data-bs-theme="dark"] .epaper-cover-showcase-bg {
    background: radial-gradient(circle at center, rgba(255, 56, 56, 0.12) 0%, rgba(255, 255, 255, 0.01) 70%);
}

[data-bs-theme="dark"] .epaper-viewer-stage {
    background: rgba(0, 0, 0, 0.35) !important;
}

[data-bs-theme="dark"] .epaper-archive-cover-wrapper {
    background-color: #0f172a;
}

/* -------------------------------------------------------------
   Ana Sayfa E-Gazete Vitrini (Homepage E-Paper Showcase)
------------------------------------------------------------- */
.epaper-showcase-section {
    position: relative;
}

.epaper-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff3838, #eb2f06);
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(255, 56, 56, 0.25);
}

.epaper-section-title {
    letter-spacing: -0.2px;
    font-size: 1.25rem;
}

.epaper-view-all-btn {
    transition: all 0.2s ease-in-out;
    border-color: rgba(255, 56, 56, 0.3);
}

.epaper-view-all-btn:hover {
    background-color: var(--primary-color, #ff3838);
    border-color: var(--primary-color, #ff3838);
    color: #ffffff;
    transform: translateX(2px);
}

.epaper-showcase-card {
    background-color: var(--bs-card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    overflow: hidden;
}

.epaper-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.09) !important;
    border-color: rgba(255, 56, 56, 0.35) !important;
}

.epaper-showcase-stage {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.015) 0%, rgba(0, 0, 0, 0.04) 100%);
    padding: 16px 12px 14px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.epaper-showcase-cover-box {
    position: relative;
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.epaper-showcase-card:hover .epaper-showcase-cover-box {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.epaper-showcase-cover {
    height: 210px !important;
    max-height: 210px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.epaper-badge-mini {
    font-size: 0.65rem !important;
    padding: 0.18rem 0.45rem !important;
}

.epaper-showcase-title {
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.epaper-showcase-card:hover .epaper-showcase-title a {
    color: var(--primary-color, #ff3838) !important;
}

.epaper-meta-text {
    font-size: 0.8rem;
}

/* Dark Mode Uyum - E-Gazete Showcase */
[data-bs-theme="dark"] .epaper-showcase-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background-color: var(--bs-card-bg);
}

[data-bs-theme="dark"] .epaper-showcase-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(255, 56, 56, 0.45) !important;
}

[data-bs-theme="dark"] .epaper-showcase-stage {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.25) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .epaper-showcase-cover-box {
    background-color: #1e293b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}






