/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e30613;
    --secondary-color: #222;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --border-color: #eee;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    --text-dark: #333;
    --text-gray: #666;
    --border-light: #ddd;
    --text-white: #fff;
    --primary-dark: #c00;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    body {
        margin: 0 auto;
    }
}

/* Dark Theme */
body.dark-theme {
    --text-color: #f5f5f5;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

.logo-dark {
    display: none;
}

body.dark-theme .logo-light {
    display: none;
}

body.dark-theme .logo-dark {
    display: inline;
}

.footer-logo-light,
.footer-logo-dark {
    display: inline-block;
    max-height: 60px;
}

.footer-logo-dark {
    display: none;
}

body.dark-theme .footer-logo-light {
    display: none;
}

body.dark-theme .footer-logo-dark {
    display: inline-block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.news-item a,
.news-haber-item a,
.author-article a,
.slide-content a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-item:hover,
.news-haber-item:hover,
.author-article:hover,
.slide-content:hover {
    opacity: 0.9;
}

.news-item:hover h3,
.news-haber-item:hover h3,
.author-article:hover h4,
.slide-content:hover h2 {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 768px) {

    /* Genel Container Boşlukları */
    .container {
        padding: 0 25px;
        width: 100%;
        /* Containerların genişliğini tam yap */
        max-width: 100%;
        /* Max genişliği kaldır */
    }

    /* Header ve Footer Tam Genişlik */
    header,
    footer {
        width: 100%;
        max-width: 100%;
    }

    /* Header/Footer içindeki container'lar için padding sıfırlama (isteğe bağlı) */
    header .container,
    footer .container {
        padding-left: 25px;
        /* Kenar boşluğunu koru */
        padding-right: 25px;
        /* Kenar boşluğunu koru */
    }

    /* Main İçeriğe Kenar Boşluğu */
    main {
        width: calc(100% - 20px);
        /* Kenarlarda 10px boşluk */
        margin: 0 auto;
        /* Ortala */
        overflow: hidden;
        /* İçeriğin taşmasını önle */
    }

    /* Menü Öğelerini Tek Satırda Göster */
    .nav-menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 5px 0;
        /* Dikey boşlukları ayarla */
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu li {
        flex: 0 0 auto;
    }

    .nav-menu li a {
        padding: 10px 15px;
        font-size: 13px;
    }

    /* Header'daki toggle butonu ve logo hizalaması */
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        /* Hamburger menü butonunu göster */
        order: -1;
        /* Butonu sola al */
    }

    .logo {
        margin: 0 auto;
        /* Logoyu ortala */
    }

    /* Gereksiz mobil stilleri kaldır (önceki denemelerden kalmış olabilir) */
    .header-buttons,
    .search-box,
    .theme-switch {
        display: none !important;
        /* Masaüstü öğelerini gizle */
    }

    .top-bar .container {
        /* padding: 0 25px; Zaten genel .container kuralı var */
    }

    .main-nav .container {
        /* padding: 0 25px; Zaten genel .container kuralı var */
    }

    .news-section .container {
        /* padding: 0 25px; Zaten genel .container kuralı var */
    }

    .footer-content .container {
        /* padding: 0 25px; Zaten genel .container kuralı var */
    }
}

/* Header Styles */
header {
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px var(--shadow-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding-left: 35px;
    padding-right: 35px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    width: 33%;
    overflow: hidden;
}

.breaking-news {
    display: flex;
    align-items: center;
    margin-right: 15px;
    position: relative;
}

.breaking-news-label {
    background-color: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 10px;
    white-space: nowrap;
}

.news-ticker {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    max-width: 600px;
    text-overflow: ellipsis;
}

.news-ticker-time {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 10px;
    font-weight: 700;
    font-size: 12px;
}

.news-ticker-text {
    font-weight: 500;
}

.breaking-news-controls {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.breaking-news-controls i {
    font-size: 10px;
    line-height: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    padding: 2px;
}

.breaking-news-controls i:hover {
    color: #fff;
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1005;
    width: 67%;
}

.currency-info {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 8px;
    margin-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    scrollbar-width: none;
    /* Firefox için */
    -ms-overflow-style: none;
    /* IE ve Edge için */
    flex: 1;
    text-align: center;
}

.currency-info::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari ve Opera için */
}

.currency-info span {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 2px 6px;
    border-radius: 4px;
}

.currency-info span:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.currency-info span i {
    margin-right: 3px;
    font-size: 11px;
}

.currency-info .rate-value {
    font-weight: 700;
    margin: 0 2px;
}

.currency-info .rate-change {
    font-size: 10px;
    margin-left: 2px;
}

.currency-info .rate-change.up {
    color: #4cd137;
}

.currency-info .rate-change.down {
    color: #e84118;
}

.weather {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    margin-right: 12px;
    padding: 2px 5px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.weather:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.weather i {
    font-size: 16px;
}

/* Main Header */
.main-header {
    padding: 15px 0;
    background-color: var(--card-bg);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.theme-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    cursor: pointer;
}

.theme-switch i {
    font-size: 18px;
}

.theme-switch .fa-sun {
    color: #f39c12;
    display: none;
}

.theme-switch .fa-moon {
    color: #34495e;
    display: block;
}

body.dark-theme .theme-switch .fa-sun {
    display: block;
}

body.dark-theme .theme-switch .fa-moon {
    display: none;
}

/* Logo Stilleri */
.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo a {
    display: block;

    background-size: contain;
    width: 180px;
    height: 50px;
}

/* Dark theme için beyaz logo */
body.dark-theme .logo a {

    background-size: contain;
}



.logo a {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;

    background-size: contain;
    width: 180px;
    height: 50px;
}

/* Dark theme ve footer için beyaz logo */
body.dark-theme .logo a,
footer .footer-logo a {

    background-size: contain;
}

/* Beyaz alanda siyah logo (varsayılan) */
.logo a svg path[fill="#231f20"],
.logo a svg path[stroke="#231f20"] {
    fill: var(--text-color);
    stroke: var(--text-color);
}

/* Koyu alanda beyaz logo (dark mode) */
body.dark-theme .logo a svg path[fill="#231f20"],
body.dark-theme .logo a svg path[stroke="#231f20"] {
    fill: #fff;
    stroke: #fff;
}

/* İnegöl yazısını her zaman kırmızı tutuyoruz */
.logo a svg path[fill="#ee322d"],
.logo a svg path[stroke="#ee322d"] {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-box form {
    display: flex;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
    padding: 10px;
}

.header-buttons {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 30px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-dark {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navigation */
.main-nav {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a i {
    margin-left: 5px;
    font-size: 12px;
}

.has-dropdown>a::after {
    content: '';
    margin-left: 5px;
}

/* Hamburger Menü */
.hamburger-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--card-bg);
    z-index: 1000;
    box-shadow: 0 0 10px var(--shadow-color);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.hamburger-menu.active {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.menu-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
}

.menu-list {
    padding: 15px 0;
}

.menu-list li {
    position: relative;
}

.menu-list a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-list a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.menu-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.menu-social {
    display: flex;
    gap: 15px;
}

.menu-social a {
    color: var(--text-color);
    font-size: 18px;
}

.menu-social a:hover {
    color: var(--primary-color);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .desktop-menu {
        display: none;
    }
}

/* Prayer Times Section */
.prayer-times {
    background-color: #1e1e1e;
    color: #fff;
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE ve Edge için */
    scrollbar-width: none;
    /* Firefox için */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 10px;
}

.prayer-times::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari ve Opera için */
}

.prayer-times-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-width: 800px;
}

.prayer-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    min-width: 70px;
    background-color: #2a2a2a;
    position: relative;
    transition: all 0.3s ease;
}

.prayer-time:hover {
    background-color: #333;
}

/* Aktif namaz vakti için stil */
.prayer-time.active {
    background-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

.prayer-time.active .prayer-name {
    color: #7dd3fc;
}

.prayer-time.active .prayer-hour {
    color: #ffffff;
    font-weight: 700;
}

.prayer-time::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.prayer-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prayer-hour {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sahur-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    padding: 12px 10px;
    min-width: 200px;
    position: relative;
    transition: all 0.3s ease;
}

.sahur-countdown::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.sahur-countdown:hover {
    background-color: #111;
}

.sahur-text {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(227, 6, 19, 0.3);
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    padding: 12px 10px;
    min-width: 180px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
}

.location:hover {
    background-color: #c00;
}

/* Main Slider */
.main-slider {
    margin: 40px 0 30px;
}

.slider-row {
    display: flex;
    gap: 20px;
}

.slider-main {
    width: 66.66%;
    /* 3/2 oranı */
    flex-shrink: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    height: 100%;
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: relative;
    display: none;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide-image {
    position: relative;
}

.slide-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Slider Yan Kartlar */
.slider-side-cards {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    height: calc(50% - 10px);
    transition: transform 0.3s ease;
    max-height: 195px;
}

.side-card:hover {
    transform: translateY(-5px);
}

.side-card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
}

.side-card-image {
    height: 60%;
    overflow: hidden;
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.side-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.side-card-content {
    padding: 12px;
    background-color: var(--bg-color);
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-card-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Kategori Renkleri */
.side-card-category.gundem {
    background-color: #e74c3c;
}

.side-card-category.teknoloji {
    background-color: #3498db;
}

.side-card-category.ekonomi {
    background-color: #2ecc71;
}

.side-card-category.spor {
    background-color: #f39c12;
}

.side-card-category.saglik {
    background-color: #9b59b6;
}

.side-card-category.seyahat {
    background-color: #1abc9c;
}

/* Dark Theme Overrides */
body.dark-theme .side-card-content {
    background-color: var(--dark-bg-secondary);
}

body.dark-theme .side-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .slider-row {
        flex-direction: column;
    }

    .slider-main,
    .slider-side-cards {
        width: 100%;
    }

    .slider-side-cards {
        flex-direction: row;
    }

    .side-card {
        height: 180px;
        width: calc(50% - 10px);
    }

    .slide-image img {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .slider-side-cards {
        flex-direction: column;
    }

    .side-card {
        width: 100%;
        height: 160px;
    }

    .slide-image img {
        height: 300px;
    }
}

/* News Cards */
.news-cards {
    margin: 30px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.card-image {
    position: relative;
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo a {
    display: block;
    background-size: contain;
    width: 180px;
    height: 50px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.social-media {
    display: flex;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-widget p {
    color: #ccc;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 30px 30px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #c00;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-links {
    display: flex;
}

.footer-links li {
    margin-left: 20px;
}

.footer-links li a {
    color: #ccc;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

/* Yatay Kaydırılabilir Haberler */
.horizontal-news {
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.section-nav {
    display: flex;
    gap: 10px;
}

.section-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-nav button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.horizontal-news-container {
    position: relative;
    overflow: hidden;
}

.horizontal-news-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.news-item {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.news-category a {
    color: #fff;
    text-decoration: none;
}

.news-category a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Kategori renkleri */
.news-category.ekonomi {
    background-color: #e74c3c;
    /* Kırmızı */
}

.news-category.spor {
    background-color: #2ecc71;
    /* Yeşil */
}

.news-category.saglik {
    background-color: #3498db;
    /* Mavi */
}

.news-category.teknoloji {
    background-color: #9b59b6;
    /* Mor */
}

.news-category.siyaset {
    background-color: #f39c12;
    /* Turuncu */
}

.news-category.dunya {
    background-color: #1abc9c;
    /* Turkuaz */
}

.news-category.seyahat {
    background-color: #e67e22;
    /* Turuncu-Kahverengi */
}

.news-category.magazin {
    background-color: #e84393;
    /* Pembe */
}

.news-category.egitim {
    background-color: #0984e3;
    /* Koyu Mavi */
}

.news-category.kultur {
    background-color: #6c5ce7;
    /* Mor-Mavi */
}

.news-category.gundem {
    background-color: #d63031;
    /* Koyu Kırmızı */
}

.news-details {
    padding: 15px;
}

.news-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #777;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
}

/* Yazarlar Bölümü */
.authors-section {
    margin: 40px 0;
    background-color: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

/* Gradienti kaldırıyorum
.authors-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to left, var(--primary-color), transparent);
    z-index: 1;
    pointer-events: none;
}
*/

.authors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.authors-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.more-authors {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
}

.more-authors:hover {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.3);
}

.authors-container {
    display: flex;
    gap: 20px;
    padding: 0 30px 30px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox için */
    -ms-overflow-style: none;
    /* IE ve Edge için */
}

.authors-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari ve Opera için */
}

.author-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    min-width: 500px;
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.author-image {
    flex: 0 0 120px;
    padding: 15px;
}

.author-image img {
    width: 100%;
    height: auto;
}

.author-info {
    flex: 1;
    padding: 15px 15px 15px 0;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--text-color);
}

.author-description {
    font-size: 14px;
    color: #777;
    margin: 0 0 15px;
}

.author-article {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Slider kategori renkleri */
.slide-category {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
}

.slide-category a {
    color: #fff;
    text-decoration: none;
}

.slide-category a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.slide-category.ekonomi {
    background-color: #2ecc71;
    /* Yeşil */
}

.slide-category.spor {
    background-color: #f39c12;
    /* Turuncu */
}

.slide-category.saglik {
    background-color: #9b59b6;
    /* Mor */
}

.slide-category.teknoloji {
    background-color: #3498db;
    /* Mavi */
}

.slide-category.siyaset {
    background-color: #e74c3c;
    /* Kırmızı */
}

.slide-category.dunya {
    background-color: #1abc9c;
    /* Turkuaz */
}

.slide-category.seyahat {
    background-color: #1abc9c;
    /* Turkuaz */
}

.slide-category.magazin {
    background-color: #e84393;
    /* Pembe */
}

.slide-category.egitim {
    background-color: #0984e3;
    /* Koyu Mavi */
}

.slide-category.kultur {
    background-color: #6c5ce7;
    /* Mor-Mavi */
}

.slide-category.gundem {
    background-color: #d63031;
    /* Koyu Kırmızı */
}

.slide-content {
    position: absolute;
    bottom: auto;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    z-index: 2;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.slide-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.slide-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-nav button:hover {
    background-color: var(--primary-color);
}

.slider-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    /* Tekrar biraz aşağı alalım */
    display: flex;
    justify-content: center;
    z-index: 10;
    padding: 5px 0;
}

.slider-pagination .page-number {
    display: none;
    /* Bunu gizli tutalım */
}

.slider-pagination .page-dots {
    display: flex;
    flex-wrap: nowrap;
    /* Satır atlamasını engelle */
    overflow-x: auto;
    /* Yatay kaydırma */
    white-space: nowrap;
    /* Numaraların yan yana kalmasını sağla */
    -webkit-overflow-scrolling: touch;
    /* Mobil için akıcı kaydırma */
    scrollbar-width: none;
    /* Firefox scrollbar gizle */
    -ms-overflow-style: none;
    /* IE/Edge scrollbar gizle */
    padding: 5px 10px;
    /* İç boşluk */
    max-width: 90%;
    /* Ekranın %90'ını kaplasın */
    justify-content: center;
    /* Numaraları ortala */
}

.slider-pagination .page-dots::-webkit-scrollbar {
    display: none;
    /* Webkit scrollbar gizle */
}

.slider-pagination .dot {
    flex: 0 0 auto;
    /* Numaraların sıkışmasını engelle */
    width: 26px;
    /* Genişlik */
    height: 26px;
    /* Yükseklik */
    background-color: rgba(0, 0, 0, 0.6);
    /* Arka plan */
    border-radius: 4px;
    /* Hafif yuvarlak köşe */
    margin: 0 4px;
    /* Numaralar arası boşluk */
    cursor: pointer;
    transition: all 0.3s ease;
    /* Numara stilleri */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    /* Font boyutunu küçült */
    font-weight: 600;
    position: relative;
    /* ::before için gerekli */
}

.slider-pagination .dot::before {
    content: attr(data-slide);
    /* Numarayı data-slide attribute'undan al */
    position: relative;
    z-index: 2;
}

.slider-pagination .dot.active {
    background-color: var(--primary-color);
    /* Aktif numara rengi */
    color: #fff;
    transform: scale(1.05);
    /* Hafif büyüt */
}

.slider-pagination .dot:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Kategoriler ve Sidebar Bölümü */
.category-section {
    margin: 40px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0 15px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 0 15px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.view-all i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.view-all:hover {
    opacity: 0.8;
}

.view-all:hover i {
    transform: translateX(3px);
}

.category-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.featured-news {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.featured-news .news-image {
    position: relative;
}

.featured-news .news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-news .news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.featured-news .news-details {
    padding: 20px;
}

.featured-news .news-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.featured-news .news-details p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.8;
}

.featured-news .news-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.featured-news .news-date {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.featured-news .news-author {
    display: flex;
    align-items: center;
}

.featured-news .news-meta i {
    margin-right: 5px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item-small {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.news-item-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-hover);
}

.news-item-small .news-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-item-small .news-details {
    padding: 15px;
}

.news-item-small .news-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-small .news-meta {
    font-size: 12px;
    color: #777;
}

.news-category.gundem {
    background-color: #d63031;
    /* Koyu Kırmızı */
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 15px;
}

.widget-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.widget-header h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.widget-subtitle {
    color: #666;
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

/* Lig Tablosu Stilleri */
.league-table {
    margin-top: 15px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.league-table table {
    width: 100%;
    border-collapse: collapse;
}

.league-table th,
.league-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.league-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #444;
    position: sticky;
    top: 0;
}

.league-table td:nth-child(2) {
    text-align: left;
    font-weight: 500;
}

.league-table tr:hover {
    background-color: #f5f5f5;
}

.league-table .promotion {
    background-color: rgba(76, 175, 80, 0.1);
}

.league-table .playoff {
    background-color: rgba(33, 150, 243, 0.1);
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 12px;
}

.legend {
    display: flex;
    align-items: center;
    gap: 15px;
}

.promotion-legend,
.playoff-legend {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 2px;
}

.promotion-legend {
    background-color: rgba(76, 175, 80, 0.3);
}

.playoff-legend {
    background-color: rgba(33, 150, 243, 0.3);
}

.last-update {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
}

.table-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.table-info p {
    margin: 0 0 5px 0;
}

.table-info p:last-child {
    margin-bottom: 0;
}

.data-disclaimer {
    font-style: italic;
    color: #666;
}

/* Responsive tasarım için yardımcı sınıflar */
@media (max-width: 767.98px) {
    .d-none {
        display: none !important;
    }

    .d-md-table-cell {
        display: none !important;
    }

    .league-table th,
    .league-table td {
        padding: 8px 5px;
        font-size: 13px;
    }

    .league-table td:nth-child(2) {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
    .d-md-table-cell {
        display: table-cell !important;
    }
}

/* Dark theme için stiller */
body.dark-theme .table-info {
    background-color: #2a2a2a;
    color: #ddd;
}

body.dark-theme .data-disclaimer {
    color: #aaa;
}

body.dark-theme .last-update {
    color: #aaa;
}

body.dark-theme .loading-data {
    color: #ddd;
}

.loading-data {
    text-align: center !important;
    padding: 20px !important;
    color: #666;
}

.loading-data i {
    margin-right: 8px;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.poll-widget {
    margin-top: 15px;
}

.poll-question {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.poll-options {
    margin-bottom: 15px;
}

.poll-option {
    margin-bottom: 10px;
}

.poll-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.poll-option input {
    margin-right: 10px;
}

.progress-container {
    background-color: #f0f0f0;
    border-radius: 5px;
    height: 8px;
    margin-top: 5px;
    overflow: hidden;
    width: 100%;
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
}

.percentage {
    color: #666;
    font-size: 12px;
    margin-left: 5px;
}

.poll-submit {
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.poll-submit:hover {
    background-color: var(--primary-dark);
}

.popular-posts {
    margin-top: 15px;
}

.popular-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin-right: 10px;
}

.post-content {
    flex: 1;
}

.post-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-content h4:hover {
    color: var(--primary-color);
}

/* Haber Gündem Bölümü Stilleri */
.news-section {
    padding: 10px 0;
    margin-bottom: 0;
}

.news-section+.news-section {
    margin-top: -30px;
    padding-top: 0;
}

.news-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.news-section .main-content {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.news-section .sidebar {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;

}

.news-haber {
    background-color: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-haber-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.haber-title {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 500;
}

.haber-dot {
    margin: 0 8px;
    color: #aaa;
}

.haber-category {
    color: #aaa;
}

.news-haber-content {
    padding: 20px;
}

.news-haber-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.news-haber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
}

.news-haber-item {
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-haber-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-haber-item.large .news-image img {
    height: 300px;
}

.news-haber-item.small .news-image img {
    height: 160px;
}

.news-haber-item .news-image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-haber-item:hover .news-image img {
    transform: scale(1.05);
}

.news-haber-item .news-details {
    padding: 15px;
}

.news-haber-item.large .news-details h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.news-haber-item.small .news-details {
    padding: 15px;
    min-height: 80px;
}

.news-haber-item.small .news-details h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.news-haber-item .news-details p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-haber-item .news-meta {
    padding: 0 15px 15px;
    color: #999;
    font-size: 12px;
    height: 30px;
}

.news-haber-footer {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-more {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sidebar Bölümü */
.sidebar-section {
    margin: 30px 0;
}

/* Yeşil çarpı işaretlerini kaldırmak için eklenen stil */
.news-haber-item.small:nth-child(3)::before,
.news-haber-item.small:nth-child(3)::after,
.sidebar-widget:nth-child(1)::before,
.sidebar-widget:nth-child(1)::after {
    display: none !important;
}

/* Reklam alanı için arka plan rengi */
.sidebar-widget:nth-child(1) {
    background-color: #333;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}

.ad-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ad-content span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Takım Butonları */
.team-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 5px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 10px;
    position: relative;
}

.team-buttons::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.team-buttons:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, rgba(51, 51, 51, 0), rgba(51, 51, 51, 0.8));
    pointer-events: none;
    border-radius: 0 30px 30px 0;
}

.team-buttons.active {
    cursor: grabbing;
}

.team-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #444;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.team-button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Puan Tablosu Stilleri */
.league-table {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.league-table table {
    width: 100%;
    border-collapse: collapse;
}

.league-table th,
.league-table td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.league-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.league-table td:nth-child(2) {
    text-align: left;
    font-weight: 500;
}

.league-table tr:hover {
    background-color: #f8f9fa;
}

.league-table .promotion {
    background-color: rgba(40, 167, 69, 0.1);
}

.league-table .playoff {
    background-color: rgba(0, 123, 255, 0.1);
}

.table-footer {
    padding: 10px;
    font-size: 12px;
    color: #6c757d;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.legend {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.promotion-legend,
.playoff-legend {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 2px;
}

.promotion-legend {
    background-color: rgba(40, 167, 69, 0.3);
}

.playoff-legend {
    background-color: rgba(0, 123, 255, 0.3);
}

.last-update {
    margin-top: 5px;
    font-style: italic;
}

.widget-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.widget-header h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.widget-subtitle {
    font-size: 14px;
    color: #6c757d;
}

/* Karanlık Tema için Spor Bölümü Stilleri */
.dark-mode .team-button {
    background-color: #222;
    color: #f8f9fa;
    border-color: #444;
}

.dark-mode .team-button:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.dark-mode .league-table {
    background-color: #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dark-mode .league-table th {
    background-color: #2d2d2d;
    color: #f8f9fa;
}

.dark-mode .league-table td {
    border-bottom-color: #444;
    color: #f8f9fa;
}

.dark-mode .league-table tr:hover {
    background-color: #2d2d2d;
}

.dark-mode .league-table .promotion {
    background-color: rgba(40, 167, 69, 0.2);
}

.dark-mode .league-table .playoff {
    background-color: rgba(0, 123, 255, 0.2);
}

.dark-mode .table-footer {
    background-color: #2d2d2d;
    border-top-color: #444;
    color: #adb5bd;
}

.dark-mode .widget-subtitle {
    color: #adb5bd;
}

/* Künye Sayfası Stilleri */
.page-header {
    margin: 30px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #777;
}

.breadcrumb a {
    color: #777;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

.kunye-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    margin-bottom: 40px;
}

.kunye-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.kunye-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.kunye-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.kunye-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.kunye-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.kunye-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.kunye-label {
    flex: 0 0 250px;
    font-weight: 600;
    color: #555;
}

.kunye-value {
    flex: 1;
    color: #333;
}

.kunye-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.kunye-text p:last-child {
    margin-bottom: 0;
}

/* Dark Theme için Künye Stilleri */
body.dark-theme .page-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .breadcrumb {
    color: #aaa;
}

body.dark-theme .breadcrumb a {
    color: #aaa;
}

body.dark-theme .kunye-section {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .kunye-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .kunye-label {
    color: #ccc;
}

body.dark-theme .kunye-value {
    color: #eee;
}

/* Pop-up Stilleri */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    position: relative;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-close:hover {
    transform: scale(1.1);
}

.popup-content {
    padding: 20px;
}

.popup-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.5;
}

.popup-image {
    width: 100%;
    margin-bottom: 15px;
}

.popup-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.popup-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.popup-btn-primary:hover {
    background-color: #c00;
}

.popup-btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.popup-btn-secondary:hover {
    background-color: #e0e0e0;
}

body.dark-theme .popup-container {
    background-color: #222;
    color: #eee;
}

body.dark-theme .popup-btn-secondary {
    background-color: #333;
    color: #eee;
}

body.dark-theme .popup-btn-secondary:hover {
    background-color: #444;
}

/* Prayer Dropdown */
.prayer-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    z-index: 1050;
    font-size: 14px;
    color: #fff;
}

.prayer-dropdown:hover {
    color: rgba(255, 255, 255, 0.8);
}

.prayer-trigger {
    display: flex;
    align-items: center;
}

.prayer-trigger i {
    margin-right: 5px;
}

.prayer-dropdown-content {
    position: absolute;
    top: 100%;
    right: -10px;
    width: 180px;
    background-color: #222;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1060;
    display: none;
    padding: 0;
    margin-top: 8px;
    overflow: hidden;
    border: none;
}

.prayer-dropdown-content:before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background-color: #222;
    transform: rotate(45deg);
    border: none;
    box-shadow: none;
}

.prayer-times-mini {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.prayer-times-mini .prayer-time {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.prayer-times-mini .prayer-time:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.prayer-times-mini .prayer-time:last-child {
    border-bottom: none;
}

.prayer-times-mini .prayer-name {
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.prayer-times-mini .prayer-hour {
    font-weight: 700;
    font-size: 12px;
    color: #fff;
}

.prayer-times-mini .prayer-time.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.prayer-times-mini .prayer-time.active .prayer-name,
.prayer-times-mini .prayer-time.active .prayer-hour {
    color: #fff;
}

.prayer-location {
    text-align: center;
    padding: 8px 0;
    color: #999;
    display: none;
}

.prayer-times-link {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.prayer-times-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.prayer-times-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.prayer-times-link:hover i {
    transform: translateX(3px);
}

body.dark-theme .prayer-times-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .prayer-times-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
    .prayer-dropdown-content {
        width: 220px;
        right: -10px;
    }

    .prayer-dropdown-content:before {
        right: 15px;
    }
}

body.dark-theme .prayer-dropdown-content {
    background-color: #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

body.dark-theme .prayer-dropdown-content:before {
    background-color: #222;
}

body.dark-theme .prayer-times-mini .prayer-time {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .prayer-times-mini .prayer-name {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .prayer-times-mini .prayer-hour {
    color: #fff;
}

body.dark-theme .prayer-times-mini .prayer-time.active {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .prayer-location {
    color: #aaa;
    display: none;
}

body.dark-theme .top-bar {
    background-color: var(--secondary-color);
}


body.dark-theme .currency-info {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .currency-info span:hover,
body.dark-theme .weather:hover,
body.dark-theme .prayer-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.prayer-dropdown:hover .prayer-dropdown-content {
    display: block;
    visibility: visible;
    opacity: 1;
    border: none;
}

.prayer-times-mini {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

body.dark-theme .slider-pagination .dot {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.dark-theme .slider-pagination .dot.active {
    background-color: var(--primary-color);
}

/* Yazarlar için yön okları */
.authors-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 3;
    transform: translateY(-50%);
    pointer-events: none;
}

.authors-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.authors-nav button:hover {
    background-color: #fff;
    transform: scale(1.1);
}

body.dark-theme .authors-nav button {
    background-color: rgba(50, 50, 50, 0.8);
    color: #fff;
}

body.dark-theme .authors-nav button:hover {
    background-color: rgba(70, 70, 70, 0.9);
}

@media (max-width: 767.98px) {
    .authors-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .authors-nav button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Lig Dropdown Menüsü */
.league-dropdown {
    position: relative;
    width: 100%;
}

.selected-league {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
}

.selected-league h3 {
    margin: 0;
    font-size: 16px;
}

.selected-league i {
    transition: transform 0.3s ease;
}

.league-dropdown.active .selected-league i {
    transform: rotate(180deg);
}

.league-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.league-dropdown.active .league-options {
    max-height: 400px;
    overflow-y: auto;
}

.league-option-group {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
}

.league-option-group:last-child {
    border-bottom: none;
}

.league-group-title {
    font-weight: 600;
    padding: 10px 15px;
    color: #666;
    background-color: #f5f5f5;
    font-size: 14px;
}

.league-option {
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
}

.league-option:hover {
    background-color: #f5f5f5;
}

.league-option[data-selected="true"] {
    background-color: #e3f2fd;
    font-weight: 500;
    color: #1976d2;
}

body.dark-theme .league-options {
    background-color: #333;
    border-color: #444;
}

body.dark-theme .league-group-title {
    background-color: #444;
    color: #ccc;
}

body.dark-theme .league-option:hover {
    background-color: #444;
}

body.dark-theme .league-option[data-selected="true"] {
    background-color: #1e3a5f;
    color: #90caf9;
}

@media (max-width: 767.98px) {
    .selected-league h3 {
        font-size: 14px;
    }

    .league-option {
        padding: 6px 12px;
        font-size: 13px;
    }

    .league-group-title {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 575.98px) {
    .selected-league h3 {
        font-size: 13px;
    }

    .league-option {
        padding: 5px 10px;
        font-size: 12px;
    }

    .league-group-title {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media screen and (max-width: 768px) {
    .header-buttons {
        display: none !important;
    }

    .search-box {
        display: none !important;
    }

    .theme-switch {
        display: none !important;
    }

    .logo {
        margin: 0 auto;
    }

    .main-header .container {
        justify-content: space-between;

        max-height: 40px;
    }

    .menu-toggle {
        order: -1;
    }
}

/* Footer Logo Stilleri */
.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo a {
    display: block;
}

.footer-logo img {
    width: 180px;
    height: 50px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .footer-logo img {
        width: 150px;
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .footer-logo img {
        width: 120px;
        height: 33px;
    }
}

/* Dark Theme için author-card stilleri */
body.dark-theme .author-card {
    background-color: var(--card-bg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.dark-theme .author-name {
    color: #fff;
}

body.dark-theme .author-description {
    color: #aaa;
}

body.dark-theme .author-article {
    border-top-color: #444;
}

body.dark-theme .article-excerpt {
    color: #bbb;
}

/* Ana Sayfadaki Author Card Dark Theme Uyumu */
body.dark-theme .author-card.author-home {
    background-color: var(--card-bg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.dark-theme .author-card.author-home .author-name {
    color: #fff;
}

body.dark-theme .author-card.author-home .author-description {
    color: #aaa;
}

body.dark-theme .author-card.author-home .author-article {
    border-top-color: #444;
}

body.dark-theme .author-card.author-home .article-excerpt {
    color: #bbb;
}

/* Dark Theme için Sidebar Widget Stilleri */
body.dark-theme .sidebar-widget {
    background-color: #222;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-theme .widget-header {
    border-bottom-color: #444;
}

body.dark-theme .widget-header h3 {
    color: #fff;
}

body.dark-theme .widget-subtitle {
    color: #bbb;
}

body.dark-theme .popular-post {
    border-bottom-color: #333;
}

body.dark-theme .post-number {
    background-color: #333;
    color: #fff;
}

body.dark-theme .post-content h4 {
    color: #ddd;
}

body.dark-theme .post-content h4:hover {
    color: #e74c3c;
}

body.dark-theme .poll-widget {
    background-color: #222;
}

body.dark-theme .poll-question {
    color: #eee;
}

body.dark-theme .poll-option label {
    color: #bbb;
}

body.dark-theme .progress-container {
    background-color: #333;
}

body.dark-theme .poll-submit {
    background-color: #e74c3c;
}

body.dark-theme .poll-submit:hover {
    background-color: #c0392b;
}

body.dark-theme .news-list .news-item-small {
    border-bottom-color: #333;
}

body.dark-theme .news-list .news-item-small:hover {
    background-color: #2a2a2a;
}

body.dark-theme .news-item-small .news-details h3 {
    color: #ddd;
}

body.dark-theme .news-item-small .news-meta {
    color: #888;
}

/* Dark Theme için League Table Stilleri */
body.dark-theme .league-table {
    background-color: #222;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-theme .league-table table {
    background-color: #222;
}

body.dark-theme .league-table th {
    background-color: #333;
    color: #fff;
    border-color: #444;
}

body.dark-theme .league-table td {
    color: #ddd;
    border-color: #444;
}

body.dark-theme .league-table tr:hover {
    background-color: #2a2a2a;
}

body.dark-theme .league-table .promotion {
    background-color: rgba(46, 204, 113, 0.2);
}

body.dark-theme .league-table .playoff {
    background-color: rgba(241, 196, 15, 0.2);
}

body.dark-theme .table-footer {
    background-color: #222;
    border-color: #444;
}

body.dark-theme .legend {
    color: #bbb;
}

body.dark-theme .promotion-legend,
body.dark-theme .playoff-legend {
    color: #ddd;
}

body.dark-theme .table-info p {
    color: #bbb;
}