/* Genel Ayarlar */
body { background-color: #fff; font-family: 'Roboto', sans-serif; }
.container { max-width: 1200px; }
a { text-decoration: none; color: #333; transition: color 0.2s; }
a:hover { color: #c0392b; }
.widget { margin-bottom: 25px; } 
.widget-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #333; margin-bottom: 15px; }
.widget-title { font-family: 'Teko', sans-serif; font-size: 1.4rem; margin: 0; padding-bottom: 5px; color: #333; }

/* Header Alanı */
.site-header {}
.header-top { background-color: #f8f9fa; border-bottom: 1px solid #e9ecef; padding: 8px 0; font-size: 14px; }
.header-top-left { gap: 1rem; }
.whatsapp-line { color: #555; font-weight: 500; }
.social-icons a { color: #6c757d; margin: 0 8px; font-size: 16px; }
.top-menu-container, .top-menu { display: flex; align-items: center; }
.top-menu { list-style: none; padding: 0; margin: 0; }
.top-menu li { margin-left: 20px; }
.top-menu a, .search-icon { color: #6c757d; }
.top-menu i { margin-right: 5px; }
.search-icon { font-size: 16px; margin-left: 20px; padding-left: 20px; border-left: 1px solid #e0e0e0; }
.main-navbar { padding: 15px 0; }
.navbar-brand { padding: 0; }
.navbar-brand img { max-height: 55px; }
.logo-text, .main-navbar .nav-link, .sidebar .widget-title, .slider-caption h3, .breaking-title, .comments-section .section-title, .block-header-modern a, .pharmacy-text .title { font-family: 'Teko', sans-serif; }
.logo-text { font-size: 3rem; font-weight: 600; color: #000; line-height: 1; }
.main-navbar .nav-link { font-size: 1.2rem; font-weight: 500; color: #333; text-transform: uppercase; padding: 5px 15px; }
.main-navbar .nav-link:hover, .main-navbar .nav-item.active .nav-link { color: #c0392b; }
.dropdown-menu { border-radius: 0; border: 1px solid #ddd; border-top: 2px solid #c0392b; font-size: 0.9rem; }

/* Finans Bar */
.finance-bar { background-color: #f8f9fa; padding: 8px 0; border: 1px solid #e9ecef; border-left: 0; border-right: 0; }
.finance-bar-desktop, .finance-bar-mobile { text-align: center; }
.finance-bar-content { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-size: 13px; color: #555; }
.finance-bar-mobile { position: relative; height: 18px; overflow: hidden; font-size: 13px; color: #555; }
.finance-item { position: absolute; width: 100%; opacity: 0; transform: translateY(100%); transition: all 0.5s ease-in-out; }
.finance-item.active { opacity: 1; transform: translateY(0); }
.finance-bar b { color: #000; }
.finance-bar .text-danger { color: #c0392b !important; }
.finance-bar .text-success { color: #27ae60 !important; }

/* Son Dakika Şeridi */
.breaking-news-bar { background-color: #343a40; color: #fff; padding: 10px 0; }
.breaking-news-container, .breaking-item { display: flex; align-items: center; }
.breaking-title { background-color: #c0392b; padding: 5px 15px; font-size: 1.2rem; flex-shrink: 0; }
.breaking-content { overflow: hidden; position: relative; height: 24px; flex-grow: 1; margin-left: 15px; }
.breaking-item { position: absolute; top: 0; left: 0; width: 100%; color: #fff; opacity: 0; transform: translateX(30%); transition: transform 0.4s ease-out, opacity 0.4s ease-out; white-space: nowrap; line-height: 24px; font-size: 14px; }
.breaking-item.active { opacity: 1; transform: translateX(0); }
.breaking-item .breaking-time { font-weight: 500; margin-right: 8px; }
a.breaking-item:hover { color: #f1c40f; transition: none; }

/* Ana Sayfa Reklam Alanları */
.homepage-ad-section .ad-container { display: flex; justify-content: center; align-items: center; width: 100%; padding: 0; background-color: #f8f9fa; line-height: 0; max-height: 100px; overflow: hidden; }
.homepage-ad-section .ad-container a { display: block; width: 100%; }
.homepage-ad-section .ad-container img { width: 100%; max-height: 100px; object-fit: cover; }
.homepage-ad-section .ad-container iframe { width: 100% !important; height: 100px !important; }

/* Öne Çıkan Haberler Bölümü */
.featured-posts-section { padding: 20px 0; }
.post-card { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; }
.post-card-image { display: block; position: relative; padding-top: 66.66%; background-color: #f0f0f0; }
.post-card-image img, .video-preview-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.post-card-image img { object-fit: cover; transition: transform 0.4s ease; }
.video-preview-wrapper { pointer-events: none; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 50%; }
.post-category { display: inline-block; background-color: #c0392b; color: #fff; padding: 4px 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; border-radius: 4px; margin-bottom: 10px; align-self: flex-start; }
.post-category:hover { background-color: #a93226; color: #fff; }
.post-title { font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.3; }
.post-title a { color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.post-title a:hover { color: #f1c40f; }

/* Ana Manşet & Kategori Blokları */
.main-slider-container { position: relative; width: 100%; overflow: hidden; }
.slider-images { position: relative; width: 100%; padding-top: 56.25%; background-color: #e0e0e0; }
.slider-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transition: opacity 0.5s ease-in-out, visibility 0.5s; }
.slider-item.active { opacity: 1; visibility: visible; z-index: 10; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; }
.slider-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; padding-bottom: 60px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); color: #fff; z-index: 11; box-sizing: border-box; }
.slider-caption h3 { font-size: 1.8rem; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.slider-nav { position: absolute; bottom: 0; left: 0; width: 100%; background-color: rgba(0,0,0,0.5); display: flex; justify-content: center; padding: 8px 5px; height: 50px; box-sizing: border-box; z-index: 12; }
.slider-nav-button { background-color: #333; color: #fff; border: 1px solid #555; padding: 8px 15px; margin: 0 3px; cursor: pointer; font-weight: 700; transition: background-color 0.3s; }
.slider-nav-button:hover { background-color: #555; }
.slider-nav-button.active { background-color: #c0392b; border-color: #c0392b; }
.block-header-modern { border-bottom: 2px solid #333; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.block-header-modern a { display: inline-block; background-color: #c0392b; color: #fff; padding: 5px 25px; font-size: 1.6rem; text-transform: uppercase; text-decoration: none; line-height: 1.2; position: relative; top: 2px; }
.block-header-modern a:hover { background-color: #333; color: #fff; }
.block-header-modern a.spor { background-color: #27ae60; }
.block-header-modern a.spor:hover { background-color: #229954; }
.main-story-card { display: block; position: relative; border-radius: 8px; overflow: hidden; height: 100%; min-height: 350px; }
.main-story-image { width: 100%; height: 100%; background-color: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.main-story-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.main-story-card:hover .main-story-image img { transform: scale(1.03); }
.main-story-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px 20px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%); color: #fff; }
.main-story-caption h3 { margin: 0; font-size: 1.6rem; font-weight: 700; line-height: 1.3; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); color: #fff; }
.main-story-card:hover .main-story-caption h3 { color: #f1c40f; }
.secondary-story-list { display: flex; flex-direction: column; height: 100%; }
.secondary-story-item { display: flex; align-items: center; text-decoration: none; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; flex-grow: 1; }
.secondary-story-list a:last-child { border-bottom: none; margin-bottom: 0; }
.secondary-story-image { flex: 0 0 100px; height: 70px; margin-right: 15px; }
.secondary-story-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.secondary-story-title { font-size: 1rem; font-weight: 500; line-height: 1.4; color: #212529; margin: 0; }
.secondary-story-item:hover .secondary-story-title { color: #c0392b; }

/* Sidebar Widget'ları */
.sidebar .widget-header { border-bottom: 2px solid #c0392b; }
.sidebar .widget-tabs { border-bottom: none; font-size: 0.8rem; font-weight: 500; }
.sidebar .widget-tabs .nav-link { border: none; color: #888; padding: 5px 10px; text-transform: uppercase; }
.sidebar .widget-tabs .nav-link.active { background-color: #c0392b; color: #fff; border-radius: 3px; }
.most-read-list { list-style: none; padding: 0; margin: 0; }
.most-read-list li { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.most-read-list li:last-child { border-bottom: none; }
.most-read-list .list-number { background-color: #f0f0f0; color: #555; font-weight: 700; min-width: 28px; height: 28px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; }
.most-read-list a { color: #333; font-weight: 500; line-height: 1.4; }
.most-read-list a:hover { color: #c0392b; }
.poll-container { padding: 15px; }
.poll-question { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.poll-option { margin-bottom: 10px; }
.poll-option .form-check-label { cursor: pointer; }
.poll-result-item { margin-bottom: 15px; }
.result-label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 5px; font-weight: 500; }
.progress-bar { background-color: #c0392b; font-size: 0.8rem; font-weight: 700; color: white; }
.total-votes { font-size: 0.9rem; text-align: right; color: #555; }
#weather-widget .widget-header, #horoscope-widget .widget-header, #league-table-widget .widget-header { border-bottom-color: #6c757d; }
.pharmacy-link-widget { display: flex; align-items: center; padding: 20px; background-color: #c0392b; border-radius: 8px; color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: background-color 0.3s ease; }
.pharmacy-link-widget:hover { background-color: #a93226; color: #fff; }
.pharmacy-link-widget::before { content: 'E'; font-family: 'Teko', sans-serif; font-size: 120px; font-weight: 700; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.1); line-height: 1; z-index: 1; }
.pharmacy-icon, .pharmacy-text { position: relative; z-index: 2; }
.pharmacy-icon { font-size: 3rem; margin-right: 20px; opacity: 0.5; }
.pharmacy-text .title { font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
.pharmacy-text .subtitle { display: block; font-size: 0.9rem; opacity: 0.8; }
.horoscope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 15px 5px; }
.horoscope-item { display: flex; align-items: center; padding: 8px 5px; border-radius: 6px; transition: background-color 0.2s; text-decoration: none; color: #333; }
.horoscope-item:hover { background-color: #f1f3f5; color: #c0392b; }
.horoscope-item img { width: 32px; height: 32px; margin-right: 8px; flex-shrink: 0; }
.horoscope-item span { font-size: 0.9rem; font-weight: 500; line-height: 1.2; }
#horoscopeModal .modal-content { border-radius: 10px; border: none; }
#horoscopeModal .modal-header { background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; }
#horoscopeModal .modal-title { font-size: 1.5rem; }
.horoscope-modal-icon { text-align: center; margin-bottom: 20px; }
.horoscope-modal-icon img { width: 80px; height: 80px; }
#horoscopeModal .modal-body p { font-size: 1.1rem; line-height: 1.7; color: #555; text-align: center; }
.league-table-loader { padding: 40px 0; text-align: center; }
.league-table { width: 100%; font-size: 0.85rem; border-collapse: collapse; }
.league-table th { font-weight: 700; color: #555; padding: 10px 5px; border-bottom: 1px solid #ddd; }
.league-table td { padding: 8px 5px; vertical-align: middle; border-bottom: 1px solid #f0f0f0; }
.league-table tbody tr:last-child td { border-bottom: none; }
.league-table .rank { font-weight: 700; color: #888; }
.league-table .team-name { display: flex; align-items: center; }
.team-logo { width: 24px; height: 24px; margin-right: 8px; }
.league-table .points { font-weight: 700; }

/* Haber İçerik Sayfası Stilleri */
.news-article { padding: 0; }
.news-article > *:not(.news-media-container):not(.in-article-ad-container) { margin-bottom: 1.5rem; padding-left: 15px; padding-right: 15px; }
.news-media-container, .in-article-ad-container { padding: 0; margin: 1.5rem 0; width: 100%; }
.news-article .entry-meta-details, .social-share-buttons { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding-top: 15px !important; padding-bottom: 15px !important; }
.news-article .entry-meta { font-size: 0.9rem; color: #666; }
.news-article .news-category { background-color: #c0392b; color: #fff; padding: 5px 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; border-radius: 4px; text-decoration: none; }
.news-article .news-category:hover { background-color: #a93226; color: #fff; }
.news-article .news-title { font-size: 2.5rem; font-weight: 600; line-height: 1.2; }
.entry-meta-details { font-size: 0.85rem; color: #6c757d; gap: 1rem; }
.entry-meta-details i { margin-right: 5px; }
.entry-meta-details a { color: #555; font-weight: 500; text-decoration: none; }
.entry-meta-details a:hover { color: #c0392b; text-decoration: underline; }
.news-article .news-spot { font-size: 1.2rem; font-weight: 400; color: #444; border-left: 3px solid #c0392b; padding-left: 15px; }
.news-article .news-image-figure { margin: 0; }
.news-article .news-content { font-size: 1.1rem; line-height: 1.8; color: #333; }
.news-article .news-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.news-article .news-content h1, .news-article .news-content h2, .news-article .news-content h3, .news-article .news-content h4 { font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.news-article .news-tags .badge { font-size: 0.8rem; font-weight: 500; margin-right: 5px; background-color: #6c757d !important; }
.news-article .news-tags .badge:hover { background-color: #5a6268 !important; }
.news-video-wrapper iframe { border-radius: 8px; }
.in-article-ad-container { display: flex; justify-content: center; align-items: center; }
.in-article-ad-container > * { max-width: 100%; }
.social-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-share { display: inline-flex; align-items: center; justify-content: center; padding: 8px 15px; border-radius: 5px; color: #fff; font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: opacity 0.3s; }
.btn-share:hover { opacity: 0.85; color: #fff; }
.btn-share i { margin-right: 8px; font-size: 1.1rem; }
.btn-share.facebook { background-color: #3b5998; } .btn-share.twitter { background-color: #1da1f2; } .btn-share.whatsapp { background-color: #25d366; }
.btn-share.instagram { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.btn-share.linkedin { background-color: #0077b5; } .btn-share.email { background-color: #7f8c8d; }

/* Kategori Sayfası Stilleri */
.category-header { border-bottom: 2px solid #333; margin-bottom: 25px; padding-bottom: 10px; }
.category-header h1 { font-family: 'Teko', sans-serif; font-size: 2.5rem; margin: 0; color: #c0392b; text-transform: uppercase; }
.news-list-item { display: flex; gap: 20px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.news-list-item:last-child { border-bottom: none; margin-bottom: 0; }
.news-item-image { flex: 0 0 220px; height: 140px; }
.news-item-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform 0.3s ease; }
.news-list-item:hover .news-item-image img { transform: scale(1.05); }
.news-item-content { flex-grow: 1; display: flex; flex-direction: column; }
.news-item-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 10px 0; line-height: 1.4; }
.news-item-title a { color: #212529; text-decoration: none; }
.news-item-title a:hover { color: #c0392b; }
.news-item-meta { font-size: 0.85rem; color: #888; margin-bottom: 10px; }
.news-item-meta i { margin-right: 5px; }
.news-item-spot { font-size: 1rem; color: #555; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.pagination-container .pagination .page-link { color: #c0392b; }
.pagination-container .pagination .page-item.active .page-link { background-color: #c0392b; border-color: #c0392b; color: #fff; }



/* =======================================================
   YATAY SLIDER BLOKLARI İÇİN NİHAİ VE BASİT STİLLER
   ======================================================= */

/* Swiper ana container'ı: Genel div stilini ezerek dikey dizilimi engeller. */
.swiper-wrapper {
    display: flex !important;
}

/* Slider'ların genel container stili */
.horizontal-slider-block { 
    padding-top: 2rem; 
    border-top: 1px solid #f0f0f0; 
}
.horizontal-slider-block .swiper {
    padding-top: 20px;
    overflow: hidden; /* Dışarı taşmaları ve kaydırma çubuğunu gizle */
}

/* Navigasyon okları (Masaüstünde görünür, mobilde gizli) */
.slider-nav-arrows { display: flex; }
.swiper-button-prev, .swiper-button-next {
    display: none; /* Varsayılan olarak gizli */
}
@media (min-width: 768px) {
    .swiper-button-prev, .swiper-button-next {
        display: flex; /* Sadece masaüstünde göster */
        position: static; width: 35px; height: 35px; margin-top: 0;
        background-color: #e9ecef; border-radius: 50%; color: #333;
        transition: background-color 0.2s;
    }
    .swiper-button-prev:hover, .swiper-button-next:hover { background-color: #ced4da; }
    .swiper-button-prev::after, .swiper-button-next::after { font-size: 14px; font-weight: 900; }
    .swiper-button-prev { margin-right: 5px; }
}


/* Slider içindeki haber kartlarının stili */
.slider-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.slider-post-image {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.slider-post-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.slider-post-card:hover .slider-post-image img {
    transform: scale(1.05);
}
.slider-post-content {
    padding-top: 12px;
    flex-grow: 1;
}
.slider-post-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}
.slider-post-title a { color: inherit; text-decoration: none; }
.slider-post-title a:hover { color: #c0392b; }

/* !! MOBİLDE YATAY KAYDIRMA İÇİN EN ÖNEMLİ KURAL !! */
@media (max-width: 767px) {
    .swiper-slide {
        width: 45% !important; /* Her slayt ekranın %45'ini kaplasın */
        flex-shrink: 0;
    }
}




/* ==========================================================
   Namaz Vakitleri Widget Stilleri (NİHAİ - HEM ORİJİNAL HEM DİNAMİK İÇİN)
   ========================================================== */
/* Genel Widget Konteyner Stili */
#prayer-times-widget, 
.prayer-times-widget-dynamic {
    background-color: #4CAF50; color: #fff; padding: 20px;
    border-radius: 8px; font-family: 'Roboto', sans-serif;
}
.prayer-widget-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 15px;
}
.prayer-widget-title {
    font-family: 'Teko', sans-serif; font-size: 1.6rem;
    margin: 0; line-height: 1;
}
#prayer-city-select, 
.prayer-city-select-dynamic {
    background-color: rgba(255, 255, 255, 0.2); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5); max-width: 120px;
}
#prayer-city-select:focus, 
.prayer-city-select-dynamic:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}
#prayer-city-select option, 
.prayer-city-select-dynamic option { color: #000; }
.prayer-widget-body { text-align: center; }

/* Geri Sayım Alanı (Ortak Stil) */
#prayer-countdown-container, 
[id^="prayer-countdown-container-"] { 
    margin-bottom: 20px; 
}
.prayer-next-label, 
#prayer-next-label {
    font-size: 1rem; font-weight: 500; opacity: 0.9;
}
.prayer-countdown, 
#prayer-countdown {
    font-size: 3rem; font-weight: 700; font-family: 'Teko', sans-serif;
    letter-spacing: 2px; line-height: 1.1;
}

/* Vakit Listesi (Ortak Stil) */
.prayer-times-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}
.prayer-time-item {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.prayer-time-item.active {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4CAF50;
    font-weight: 700;
}
.prayer-time-item .p-name,
.prayer-time-item span:first-child {
    font-size: 0.8rem;
    font-weight: 500;
}
.prayer-time-item .p-time,
.prayer-time-item span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
}



/* =================================
   Nöbetçi Eczane Sayfaları Düzeltmeleri
   ================================= */

/* Ana Eczane Sayfası (şehir listesi) */
.page-header.pharmacy-main-header .page-title {
    font-family: 'Teko', sans-serif;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 5px;
}
.page-header.pharmacy-main-header .page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}
.city-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}
.city-button:hover {
    background-color: #c0392b;
    color: #fff;
    border-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.city-plate-code {
    font-weight: 700;
    color: #c0392b;
    margin-right: 12px;
    font-size: 1.1rem;
}
.city-button:hover .city-plate-code {
    color: #fff;
}
.city-name {
    flex-grow: 1;
}

/* Nöbetçi Eczane Detay Sayfası */
.pharmacy-page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.pharmacy-page-header .back-button {
    font-size: 1.5rem;
    color: #6c757d;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
}
.pharmacy-page-header .back-button:hover {
    background-color: #c0392b;
    color: #fff;
    border-color: #c0392b;
}
.pharmacy-page-header h1 {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    line-height: 1;
}
.pharmacy-page-header h1 span {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: #6c757d;
    margin-left: 10px;
    font-weight: 400;
}
.district-group {
    margin-bottom: 40px;
}
.district-title {
    font-family: 'Teko', sans-serif;
    font-size: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0392b;
    margin-bottom: 20px;
}
.pharmacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.pharmacy-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.pharmacy-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.pharmacy-address {
    color: #555;
    flex-grow: 1;
    margin-bottom: 15px;
}
.pharmacy-phone {
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s;
}
.pharmacy-phone:hover {
    background-color: #45a049;
    color: #fff;
}







/* =================================
   İlginizi Çekebilir Widget Stilleri
   ================================= */
.related-news-widget .widget-header {
    border-bottom-color: #3498db; /* Farklı bir renk kullanalım */
}
.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}
.related-news-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-decoration: none;
}
.related-news-image {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
}
.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.3s;
}
.related-news-item:hover .related-news-image img {
    opacity: 0.85;
}
.related-news-content {
    flex-grow: 1;
}
.related-news-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0;
}
.related-news-item:hover .related-news-title {
    color: #c0392b;
}


/* =================================
   Sekmeli Slider Bloğu Stilleri
   ================================= */
.tabbed-slider-block { 
    padding-top: 5px; 
    border-top: 1px solid #f0f0f0; 
}
.block-header-tabs {
    border-bottom: 2px solid #eee;
}
.block-header-tabs .nav-link {
    font-family: 'Teko', sans-serif;
    font-size: 1.6rem;
    color: #888; /* Aktif olmayanların rengi sönük */
    background-color: transparent; /* Arka plan yok */
    border: none;
    border-bottom: 3px solid transparent; /* Gizli alt çizgi */
    padding: 5px 20px;
    margin-bottom: -2px; /* Ana çizginin üzerine gelsin */
    transition: all 0.2s;
    border-radius: 0;
}
.block-header-tabs .nav-link.active {
    color: #c0392b; /* Yazı rengi kırmızı */
    border-bottom-color: #c0392b; /* Alt çizgi kırmızı */
}

.block-header-tabs .nav-link:not(.active):hover {
    color: #333; /* Rengi canlansın */
}
.tab-content .swiper {
    padding-top: 20px;
}


/* =================================
   Slider Kart ve Resim Boyutları Düzeltmesi
   ================================= */

/* Swiper'ın her bir slaytına sabit bir genişlik verelim */
.tabbed-swiper .swiper-slide {
    width: 180px; /* Her bir haber kartının genişliği - bu değeri değiştirebilirsiniz */
    flex-shrink: 0; /* Kartların sıkışıp küçülmesini engelle */
}

/* Kartın içindeki resmin, kartın genişliğine uymasını sağla */
.slider-post-card .slider-post-image img {
    width: 100%;
    height: 120px;
    object-fit: cover; /* Bu, resmin orantısını bozmadan alanı doldurmasını sağlar */
}

/* =================================
   Kategori Sayfası Sidebar Ayarı
   ================================= */
.page-kategori .sidebar {
    margin-top: 25px; /* Sidebar'ı aşağı kaydıracak boşluk. Bu değeri istediğiniz gibi değiştirebilirsiniz. */
}

/* Sidebar Reklam Alanı */
.sidebar-ad-container {
    text-align: center; /* Reklamı ortala */
    line-height: 0; /* Resim altındaki istenmeyen boşluğu kaldır */
}
.sidebar-ad-container img {
    max-width: 100%;
    height: auto;
}


/* =================================
   YENİ VE ŞIK ARAMA ARAYÜZÜ STİLLERİ
   ================================= */
.search-icon-btn {
    background: none;
    border: none;
    font-size: 16px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
    color: #6c757d;
    cursor: pointer;
}
.search-icon-btn:hover {
    color: #c0392b;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.95); /* Yarı şeffaf koyu arka plan */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.search-overlay-close:hover {
    color: #fff;
}

.search-overlay-content {
    width: 90%;
    max-width: 700px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.search-overlay.active .search-overlay-content {
    transform: scale(1);
}

.search-overlay-content form {
    position: relative;
}

.search-overlay-input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid #aaa;
    padding: 15px 50px 15px 0;
    font-size: 1.8rem;
    color: #fff;
    outline: none;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}
.search-overlay-input::placeholder {
    color: #aaa;
}
.search-overlay-input:focus {
    border-bottom-color: #c0392b;
}

.search-overlay-submit-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 15px;
    transition: color 0.2s;
}
.search-overlay-input:focus + .search-overlay-submit-btn {
    color: #c0392b;
}






/* =================================
   RESPONSIVE AYARLAMALAR
   ================================= */
@media (max-width: 991px) {
    .top-menu-container { display: none !important; }
    .header-top-left { width: 100%; justify-content: space-between; }
    .whatsapp-line { font-size: 13px; }
    .social-icons a { margin: 0 5px; }
    .main-navbar { padding: 10px 0; }
    .main-navbar .navbar-nav { margin-top: 15px; }
    .main-navbar .nav-link { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
    .finance-bar-content { gap: 10px; font-size: 12px; overflow-x: auto; justify-content: flex-start; white-space: nowrap; -ms-overflow-style: none; scrollbar-width: none; }
    .finance-bar-content::-webkit-scrollbar { display: none; }
    .breaking-title { font-size: 1rem; padding: 4px 10px; }
    .breaking-content { margin-left: 10px; }
    .breaking-item { font-size: 13px; }
    .row.g-3 > div:not(:last-child) { margin-bottom: 1rem; }
    .main-slider-container { margin-bottom: 30px; }
    .slider-caption h3 { font-size: 1.4rem; }
    .news-article .news-title { font-size: 2rem; }
    .sidebar { margin-top: 30px; }
}

@media (max-width: 767px) {
    .btn-share { width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 1rem; }
    .btn-share i { margin-right: 0; }
    .btn-share .d-none.d-md-inline { display: none !important; }
    .entry-meta-details { gap: 0.5rem; }
    .entry-meta-details > span { margin-bottom: 5px; }
}

@media (max-width: 576px) {
    .news-list-item {
        flex-direction: column;
    }
    .news-item-image {
        flex-basis: auto;
        width: 100%;
        height: 200px;
    }
}


/* ========================================================
   YUKARI KAYDIR BUTONU
======================================================== */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #c0392b;
    color: #fff;
    border-radius: 50%;
    display: none; /* JS ile kontrol edilecek */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    text-decoration: none;
    transition: opacity 0.3s, background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
}






/* ========================================================
   SWIPER SLIDER OKLARI İÇİN GENEL KURALLAR
   ======================================================== */

/* Ana Manşet Slider'ı Okları */
.main-slider-container .swiper-button-next,
.main-slider-container .swiper-button-prev {
    display: none; /* Varsayılan olarak (mobilde) gizli */
}

/* Yatay Blok Slider Okları */
.tabbed-slider-block .swiper-button-next,
.tabbed-slider-block .swiper-button-prev {
    display: flex !important; /* Her zaman görünür yap (JS gizleyip gösterecek) */
    position: static;
    width: 35px;
    height: 35px;
    margin-top: 0;
    background-color: #e9ecef;
    border-radius: 50%;
    color: #333;
    transition: background-color 0.2s;
}

.tabbed-slider-block .swiper-button-prev:hover,
.tabbed-slider-block .swiper-button-next:hover {
    background-color: #ced4da;
}

.tabbed-slider-block .swiper-button-prev::after,
.tabbed-slider-block .swiper-button-next::after {
    font-size: 14px;
    font-weight: 900;
}

.tabbed-slider-block .swiper-button-prev {
    margin-right: 5px;
}


/* ========================================================
   EKRAN BOYUTUNA GÖRE GÖRÜNÜRLÜK AYARLARI (MEDIA QUERIES)
   ======================================================== */

/* Tablet ve üzeri (768px) için */
@media (min-width: 768px) {
    /* Yatay Blok oklarının görünür olduğundan emin ol */
    .tabbed-slider-block .swiper-button-next,
    .tabbed-slider-block .swiper-button-prev {
        display: flex !important;
    }
}


/* Masaüstü (992px) için */
@media (min-width: 992px) {
    /* Ana Manşet oklarını görünür yap ve stillendir */
    .main-slider-container .swiper-button-next,
    .main-slider-container .swiper-button-prev {
        display: flex !important;
        background-color: rgba(0, 0, 0, 0.4);
        color: #fff;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-slider-container .swiper-button-next { right: 20px; }
    .main-slider-container .swiper-button-prev { left: 20px; }

    .main-slider-container .swiper-button-next::after,
    .main-slider-container .swiper-button-prev::after {
        font-size: 1rem;
    }
}




/* ====================================================== */
/* YAZARLAR SAYFASI VE YAZAR DETAY SAYFASI STİLLERİ (v2)   */
/* ====================================================== */

/* --- Ortak Başlık Stili --- */
.custom-page-header {
    margin-bottom: 25px;
}
.custom-page-header h1 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    padding-bottom: 8px;
    margin-bottom: 0;
    position: relative;
    display: inline-block; /* Çizginin sadece metin kadar olmasını sağlar */
}
.custom-page-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* Kırmızı çizgi uzunluğu */
    height: 3px; /* Kırmızı çizgi kalınlığı */
    background-color: #c0392b; /* Kırmızı renk */
}

/* --- Tüm Yazarlar Sayfası (yazarlar.php) --- */
.authors-grid {
    display: grid;
    /* Görseldeki gibi 5 sütunlu bir yapı için */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
}

.author-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0; /* Kenarlık rengi */
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.2s ease-in-out;
}
.author-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.author-card .author-avatar {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
}

.author-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card .author-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}
.author-card .author-name a {
    text-decoration: none;
    color: #333;
}
.author-card .author-name a:hover {
    color: #c0392b;
}

.author-card .latest-article {
    font-size: 0.85rem;
    color: #555;
    min-height: 48px; /* Yaklaşık 3 satır için */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.author-card .latest-article.no-article {
    color: #999;
}

/* --- Yazar Makaleleri Sayfası (yazar_makaleleri.php) --- */
.author-detail-content .list-group-item {
    border: 1px solid #e0e0e0 !important;
    border-top-width: 0 !important;
}
.author-detail-content .list-group-item:first-child {
    border-top-width: 1px !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.author-detail-content h5 a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.author-detail-content h5 a:hover {
    color: #c0392b;
}

.author-sidebar .author-avatar img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Hafif yuvarlak köşe */
}

.author-sidebar .author-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
}

/* Farklı ekran boyutları için yazar ızgarasını ayarla */
@media (max-width: 1200px) {
    .authors-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .authors-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .authors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .authors-grid { grid-template-columns: 1fr; }
}




/* ... Önceki yazar stilleriniz burada ... */


/* ====================================================== */
/* TEKİL MAKALE SAYFASI STİLLERİ (makale.php)             */
/* ====================================================== */

.article-detail-header {
    margin-bottom: 20px;
}

.article-detail-header .article-title {
    font-size: 2.5rem; /* Başlık fontunu büyütüyoruz */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-detail-header .article-meta {
    font-size: 0.85rem;
    color: #6c757d; /* Gri tonu */
}

.article-content {
    font-size: 1.1rem; /* Okunabilirliği artırmak için yazı boyutu */
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-sidebar .author-box {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
    position: sticky; /* Sayfa kaydırılsa bile yerinde kalması için */
    top: 20px;
}

.article-sidebar .author-box .author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0392b; /* Kırmızı çizgi */
    display: inline-block;
}
.article-sidebar .author-box .author-name a {
    text-decoration: none;
    color: #333;
}

.article-sidebar .author-box .author-avatar img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.article-sidebar .author-box .author-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}




/* ====================================================== */
/* SABİT (STICKY) MENÜ ÇUBUĞU STİLLERİ                    */
/* ====================================================== */

/* Menü çubuğu sabitlendiğinde eklenecek olan class */
.main-navbar.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Diğer elementlerin üzerinde kalmasını sağlar */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* Altına gölge efekti verir */
    
    /* Yumuşak bir geçişle görünmesi için animasyon */
    animation: slideDown 0.35s ease-in-out;
}

/* Menünün yukarıdan kayarak gelme animasyonu */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 
   Menü sabitlendiğinde, sayfa içeriğinin aniden menünün altına kaymasını 
   (zıplamasını) engellemek için body etiketine eklenecek boşluk.
*/
body.navbar-is-sticky {
    /* Bu değeri kendi menünüzün yüksekliğine göre ayarlamanız gerekebilir. */
    /* Tarayıcınızın "İncele" (Inspect) aracını kullanarak .main-navbar'ın 
       tam yüksekliğini (height + padding) bulabilirsiniz. */
    padding-top: 72px; 
}




/* Arama Modalı Stilleri */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-modal.active {
    opacity: 1;
    visibility: visible;
}
.search-modal-content {
    width: 90%;
    max-width: 700px;
}
.search-form {
    position: relative;
}
.search-form input {
    width: 100%;
    height: 60px;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1.5rem;
    padding: 0 60px 0 20px;
    border-radius: 5px;
}
.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.search-form button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.close-search-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}


/* ====================================================== */
/* RÖPORTAJLAR SAYFASI STİLLERİ                          */
/* ====================================================== */
.interviews-grid {
    display: grid;
    grid-template-columns: 1fr; /* Tek sütunlu liste */
    gap: 20px;
}
.interview-card {
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.interview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.interview-card-image {
    flex: 0 0 300px; /* Sabit resim genişliği */
    max-width: 300px;
}
.interview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.interview-card-content {
    padding: 20px;
}
.interview-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}
.interview-card-spot {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 15px;
}
.interview-card-meta {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    .interview-card {
        flex-direction: column;
    }
    .interview-card-image {
        flex-basis: auto;
        max-width: 100%;
        height: 200px;
    }
}


/* ====================================================== */
/* ANA SAYFA YAZARLAR BARI STİLLERİ                       */
/* ====================================================== */

.authors-slider-block {
    margin-top: 40px;
    padding-top: 5px; 
    border-top: 1px solid #f0f0f0; 
}

.authors-slider-block .block-header-modern {
    /* Sitenizdeki diğer başlıklarla aynı olması için kırmızı alt çizgi */
    border-bottom-color: #c0392b; 
}

.authors-slider-block .block-header-modern a {
    /* Sitenizin ana rengi olan kırmızı arka plan */
    background-color: #c0392b; 
}
.authors-slider-block .block-header-modern a:hover {
    /* Hover rengi olarak da koyu gri kullanalım */
    background-color: #333;
}

/* Swiper Slider'ın genel container'ı */
.authors-swiper-container {
    padding: 20px 5px; /* Üstten ve alttan boşluk */
    overflow: hidden;
}

/* Tek bir yazar kartı */
.author-slide-card {
    text-align: center;
    text-decoration: none;
    display: block;
    color: #333;
}

.author-slide-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.author-slide-card:hover .author-slide-avatar {
    transform: scale(1.05);
}

.author-slide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-slide-name {
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}
.author-slide-card:hover .author-slide-name {
    color: #c0392b;
}

/* Swiper navigasyon okları */
.authors-slider-block .swiper-button-prev,
.authors-slider-block .swiper-button-next {
    color: #8e44ad; /* Başlık rengiyle aynı */
}

/* Swiper sayfalama noktaları (dots) */
.authors-slider-block .swiper-pagination-bullet {
    background-color: #8e44ad;
}



/* ====================================================== */
/* MAKALE/HABER İÇERİĞİNDEKİ RESİMLERİ MOBİL UYUMLU YAPMA  */
/* ====================================================== */

.article-content img,
.news-content img {
    max-width: 100%;      /* En önemli kural: Resmin genişliği asla kendi kapsayıcısını aşamaz. */
    height: auto;         /* Genişlik değiştikçe, orantıyı korumak için yükseklik otomatik ayarlanır. */
    display: block;       /* Resmin altında oluşabilecek istenmeyen boşlukları engeller. */
    margin-left: auto;    /* Resmi kendi satırında ortalamak için */
    margin-right: auto;   /* Resmi kendi satırında ortalamak için */
    border-radius: 8px;   /* Resimlerin köşelerini yumuşatır, daha modern bir görünüm verir. */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Resme hafif bir gölge efekti ekler. */
}



/* ========================================================
   ÇEREZ ONAY BANDI STİLLERİ
======================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.95); /* Koyu, yarı şeffaf arka plan */
    color: #f8f9fa; /* Açık renk yazı */
    padding: 15px 20px;
    z-index: 1055; /* Diğer her şeyin üzerinde görünmesi için */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    transform: translateY(100%); /* Başlangıçta ekranın altında gizli */
}

.cookie-consent-banner.show {
    transform: translateY(0); /* Görünür hale getirme animasyonu */
}

.cookie-consent-banner p {
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-banner a {
    color: #f1c40f; /* Vurgulu bir link rengi */
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-banner .btn-accept-cookie {
    background-color: #c0392b; /* Sitenizin ana kırmızı rengi */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap; /* "Kabul Et" yazısının kırılmasını engelle */
    flex-shrink: 0; /* Butonun küçülmesini engelle */
    transition: background-color 0.2s;
}

.cookie-consent-banner .btn-accept-cookie:hover {
    background-color: #a93226; /* Kırmızının koyu tonu */
}

/* Mobil cihazlar için */
@media (max-width: 767px) {
    .cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}





/* Mobil Cihazlarda Slider Oklarını Gizleme Kuralı */
@media (max-width: 768px) {
    
    /* Swiper.js için (En Yaygın) */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    /* Slick Carousel için */
    .slick-prev,
    .slick-next,
    .slick-arrow {
        display: none !important;
    }
    
    /* Owl Carousel için */
    .owl-nav {
        display: none !important;
    }

    /* Bootstrap Carousel için (Eğer özel oklar eklendiyse) */
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

/* ====================================================== */
/* MODERN GALERİ VE VİDEO BLOKLARI STİLLERİ              */
/* ====================================================== */

/* Ana Sayfa ve Liste Sayfaları için Ortak Kart Stili */
.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    height: 100%;
    min-height: 250px; /* Kartların aynı yükseklikte olmasını sağlar */
}

.gallery-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    transition: background 0.3s ease;
}

.gallery-card:hover::after {
     background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 75%);
}

.gallery-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image {
    transform: scale(1.05);
}

.gallery-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px;
    z-index: 2;
    width: 100%;
}

.gallery-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-card-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-card-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    transition: color 0.3s ease;
}

.gallery-card:hover .gallery-card-title {
    color: #f1c40f; /* Vurgu rengi */
}

/* Ana Sayfa Blok Başlığı */
.gallery-block .block-header-modern a {
    transition: background-color 0.3s ease;
}
.gallery-block .block-header-modern a:hover {
    background-color: #333;
}


/* ====================================================== */
/* FOTO GALERİ DETAY SAYFASI (LIGHTGALLERY) STİLLERİ      */
/* ====================================================== */
.gallery-detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.gallery-thumbnail-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}
.gallery-thumbnail-item:hover {
    transform: scale(1.03);
    border-color: #c0392b;
}
.gallery-thumbnail-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}


/* ====================================================== */
/* GÖRSELE UYGUN VİDEO DETAY SAYFASI STİLLERİ           */
/* ====================================================== */

/* Sayfanın ana container'ını genişletiyoruz */
@media (min-width: 1200px) {
    .container-video {
        max-width: 1140px;
    }
}

/* Videoyu ve başlığı saran tam genişlikli alan */
.video-full-width-header {
    margin-bottom: 2rem;
}
.video-full-width-header .page-title {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.video-player-wrapper {
    background-color: #000;
    line-height: 0;
}

/* Video altındaki ana içerik ve sidebar'ı hizalayan satır */
.video-body-row {}

/* Video altı sol içerik sütunu */
.video-content-column {
    padding-left: 0;
    padding-right: 0;
}
.video-content-column .news-spot {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Video meta bilgileri (kategori, tarih, izlenme) */
.video-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem; /* elemanlar arası boşluk */
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #6c757d;
}
.video-meta-bar .news-category {
    font-size: 0.85rem;
    padding: 4px 12px;
}
.video-meta-bar i {
    margin-right: 6px;
    color: #999;
}

/* Video etiket (#tag) stilleri */
.video-tags-list {
    margin-bottom: 2rem;
}
.video-tags-list a {
    color: #555;
    text-decoration: none;
    margin-right: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.video-tags-list a::before {
    content: '#';
    color: #c0392b;
    margin-right: 2px;
}
.video-tags-list a:hover {
    color: #c0392b;
}

/* Yorumlar Bölümü */
.video-comments-section {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

/* Sağ Sidebar */
.video-sidebar .widget {
    border: 1px solid #eee;
    padding: 15px;
}
.video-sidebar .widget-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem;
    padding-bottom: 8px;
    margin-bottom: 15px;
    position: relative;
}
.video-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #c0392b;
}

.video-sidebar .sidebar-ad-container {
    text-align: center;
    background-color: #f8f9fa;
    padding: 10px;
}

.video-sidebar .sidebar-ad-container img {
    max-width: 100%;
    height: auto;
}

/* ====================================================== */
/* REKLAM ALANINI TAM Sığdırma STİLİ (Nihai Versiyon)   */
/* ====================================================== */

/* Reklamı saran ana container */
.video-bottom-ad-container {
    /* Videodan ayırmak için sadece üstten boşluk bırak */
    margin-top: 1.5rem;
    
    /* Arka plan rengini ve padding'i tamamen kaldırıyoruz. 
       Bu, resmin kenarlara tam yapışmasını sağlar. */
    background-color: transparent;
    padding: 0;

    /* Resmin altında oluşabilecek istenmeyen boşlukları engellemek için */
    line-height: 0; 
}

/* Reklam linkinin (<a> etiketi) container'ı tamamen kaplamasını sağlıyoruz */
.video-bottom-ad-container a {
    display: block;
    width: 100%;
}

/* Reklam resminin (<img> etiketi) linki tam olarak doldurmasını sağlıyoruz */
.video-bottom-ad-container img {
    /* Genişliği %100 yapıyoruz (max-width değil, direkt width) */
    width: 100%; 
    
    /* Yüksekliği orantılı olarak otomatik ayarla */
    height: auto; 
    
    /* Resmin alt boşluk sorunlarını gidermek için */
    display: block;
}



/* ====================================================== */
/* VİDEO LİSTELEME SAYFASI (GÖRSELE UYGUN) STİLLERİ      */
/* ====================================================== */

/* Sayfa ana başlığı (VİDEOLAR) */
.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.page-header h1 {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    display: inline-block;
}
.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -11px; /* Ana çizginin üzerine gelsin */
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #c0392b;
}

/* Üst yatay reklam alanı */
.video-top-ad-container {
    text-align: center;
    background-color: #f8f9fa;
    padding: 10px;
    margin-bottom: 2rem;
}

/* Videoların listelendiği kartlar */
.video-list-card {
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
}
.video-card-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
}
.video-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.video-list-card:hover .video-card-image img {
    transform: scale(1.05);
}

.video-card-image .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(0,0,0,0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
}
.video-list-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 10px;
    transition: color 0.2s;
}
.video-list-card:hover .video-card-title {
    color: #c0392b;
}

/* Sağ Sidebar */
.video-list-sidebar .widget {
    border: 1px solid #f0f0f0;
    padding: 20px;
    margin-bottom: 1.5rem;
}
.video-list-sidebar .widget-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    padding-bottom: 8px;
    position: relative;
}
.video-list-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c0392b;
}

/* Kategori Listesi Widget'ı */
.category-list-widget ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki sütunlu yapı */
    gap: 10px;
}
.category-list-widget li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    display: block;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.category-list-widget li a:hover {
    background-color: #f8f9fa;
    color: #c0392b;
}
.category-list-widget li i {
    font-size: 0.8rem;
    margin-right: 8px;
    color: #999;
}

/* Sidebar Reklam Alanı */
.sidebar-ad-container {
    text-align: center;
}
.sidebar-ad-container img {
    max-width: 100%;
    height: auto;
}

/* ================================================================= */
/* VİDEO LİSTE SAYFASI ÜST REKLAM ALANI (NİHAİ VE DOĞRU YÖNTEM)      */
/* ================================================================= */

/* Reklamı saran ana container */
.video-top-ad-container {
    margin-bottom: 2rem;
    background-color: transparent; /* Arka plan tamamen şeffaf */
    padding: 0;
    line-height: 0; /* Resim altı boşluklarını engeller */
}

/* Reklam resminin kendisi */
.video-top-ad-container img,
.video-top-ad-container iframe {
    /* Genişliği %100 yap, yükseklik otomatik ayarlansın.
       Eğer yüklediğiniz resim zaten doğru oranda ise (örn: 728x90),
       bu kod resmi mükemmel bir şekilde alana yerleştirecektir. */
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================================= */
/* VİDEO DETAY SAYFASI - NİHAİ VE MOBİL UYUMLU STİLLER (Boşluk Düzeltmeli) */
/* ================================================================= */

/* BÖLÜM 1: TAM GENİŞLİK ALANI (Video ve Yatay Reklam) */
.video-full-width-wrapper {
    width: 100%;
    margin-bottom: 1.5rem; /* Video ile altındaki içerik arasına boşluk koy */
}
.video-player-wrapper {
    background-color: #000;
    line-height: 0;
}
.video-bottom-ad-container-full {
    text-align: center;
    background-color: #f8f9fa;
    padding: 10px 0;
}

/* BÖLÜM 2: İÇERİK ALANI (.container içinde) */

/* Masaüstü Başlığı */
.video-page-title-desktop {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Mobil Başlığı */
.video-page-title-mobile {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* 
   !!! DÜZELTME: video-content-column için eklenmiş olan ve hataya neden olan
   padding: 0; kuralları bu bloktan tamamen kaldırılmıştır. 
*/

/* Meta barı (tarih, izlenme ve sosyal ikonlar) */
.video-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem; /* Hem dikey hem yatay boşluk */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}
.video-meta-bar .meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem; /* dikey ve yatay boşluk */
}
.video-meta-bar .meta-left i { margin-right: 5px; }
.video-meta-bar .meta-right a {
    color: #555;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.2s, transform 0.2s;
}
.video-meta-bar .meta-right a:hover { transform: scale(1.1); }
.video-meta-bar .meta-right a:hover .fa-facebook-f { color: #1877F2; }
.video-meta-bar .meta-right a:hover .fa-twitter { color: #1DA1F2; }
.video-meta-bar .meta-right a:hover .fa-linkedin-in { color: #0077B5; }
.video-meta-bar .meta-right a:hover .fa-whatsapp { color: #25D366; }

/* Sidebar */
.video-sidebar {
    /* Mobil cihazlarda sidebar ile içerik arasına boşluk koy */
    margin-top: 2rem;
}
@media (min-width: 992px) {
    .video-sidebar {
        margin-top: 0;
    }
}


/* ====================================================== */
/* VİDEO META BARI VE CANLI SOSYAL İKON STİLLERİ (NİHAİ)  */
/* ====================================================== */

/* Bilgi barının ana yapısı */
.video-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Sol taraf (Tarih, izlenme vs.) */
.video-meta-bar .meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}
.video-meta-bar .meta-left .news-category {
    font-size: 0.85rem;
    padding: 4px 12px;
}
.video-meta-bar .meta-left i {
    margin-right: 6px;
    color: #999;
}

/* Sağ taraf (Sosyal Medya İkonları) */
.video-meta-bar .meta-right a {
    color: #555; /* Normal rengi */
    font-size: 1.2rem;
    margin-left: 15px;
    transition: transform 0.2s ease-in-out; /* Hafif bir büyüme efekti */
}
/* Üzerine gelince ikonun içindeki 'i' etiketinin rengini değiştir */
.video-meta-bar .meta-right a:hover {
    transform: scale(1.1); /* İkonu hafifçe büyüt */
}

/* --- CANLI HOVER RENKLERİ --- */
.video-meta-bar .meta-right a:hover .fa-facebook-f { color: #1877F2; }
.video-meta-bar .meta-right a:hover .fa-twitter { color: #1DA1F2; }
.video-meta-bar .meta-right a:hover .fa-linkedin-in { color: #0077B5; }
.video-meta-bar .meta-right a:hover .fa-whatsapp { color: #25D366; }

/* ================================================================= */
/* VİDEO ALTI YATAY REKLAM ALANI (NİHAİ VE KESİN ÇÖZÜM)             */
/* ================================================================= */

.video-bottom-ad-container-full {
    text-align: center;
    /* 1. ADIM: Video ile arasına tekrar boşluk ekliyoruz. */
    margin-top: 1.5rem; 
    
    /* Arka planı ve iç boşlukları kaldırıyoruz. */
    background-color: transparent;
    padding: 0;
    
    /* Resim altındaki istenmeyen boşlukları engeller. */
    line-height: 0; 
}

/* Reklam resminin kendisi */
.video-bottom-ad-container-full img,
.video-bottom-ad-container-full iframe {
    /* 2. ADIM: Genişliği %100 yap, yükseklik otomatik ayarlansın.
       Bu, resmin en-boy oranını koruyarak ve kırpılmadan
       alanın genişliğine tam olarak sığmasını sağlar. */
    width: 100%;
    height: auto;
    display: block;
}