﻿.logo a,
body.dark-theme .logo a,
footer .footer-logo a {
    background-size: contain
}

.footer-content,
.news-grid {
    grid-template-columns: repeat(4, 1fr)
}

.author-card:hover,
.news-haber-item:hover,
.side-card:hover {
    transform: translateY(-5px)
}

.breaking-news-label,
.btn,
.currency-info,
.news-ticker,
.team-button,
.team-buttons,
.weather {
    white-space: nowrap
}

.overlay,
.popup-overlay {
    opacity: 0;
    visibility: hidden
}

.breadcrumb a,
.news-category a,
.prayer-times-link,
.side-card a,
.slide-category a,
.team-button,
a {
    text-decoration: none
}

* {
    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
}

@font-face {
    font-family: 'Roboto Local';
    src: url('https://cdn.haberium.media/assets/fonts/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Roboto Local';
    src: url('https://cdn.haberium.media/assets/fonts/roboto/Roboto-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Roboto Local';
    src: url('https://cdn.haberium.media/assets/fonts/roboto/Roboto-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Roboto Local';
    src: url('https://cdn.haberium.media/assets/fonts/roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

body {
    font-family: 'Roboto Local', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: color .3s, background-color .3s
}

.weather,
a {
    transition: color .3s
}

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)
}

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

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

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

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

a {
    color: inherit
}

.author-article:hover h4,
.breadcrumb a:hover,
.footer-links li a:hover,
.menu-social a:hover,
.nav-menu li a:hover,
.news-haber-item:hover h3,
.news-item:hover h3,
.post-content h4:hover,
.slide-content:hover h2,
a:hover {
    color: var(--primary-color)
}

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

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

ul {
    list-style: none
}

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

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

@media (max-width:768px) {

    .logo,
    body,
    main {
        margin: 0 auto
    }

    .container,
    footer,
    header {
        width: 100%;
        max-width: 100%
    }

    .container {
        padding: 0 25px
    }

    footer .container,
    header .container {
        padding-left: 25px;
        padding-right: 25px
    }

    main {
        width: calc(100% - 20px);
        overflow: hidden
    }

    .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
    }

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

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

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

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

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

    .header-buttons,
    .search-box,
    .theme-switch {
        display: none !important
    }
}

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

.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
}

.breaking-news,
.top-bar-left {
    align-items: center;
    display: flex
}

.top-bar-left {
    width: 33%;
    overflow: hidden
}

.breaking-news {
    margin-right: 15px;
    position: relative
}

.breaking-news-label,
.news-ticker-time {
    border-radius: 3px;
    margin-right: 10px;
    font-weight: 700
}

.breaking-news-label {
    background-color: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    text-transform: uppercase
}

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

.currency-info,
.prayer-times {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.news-ticker-time {
    background-color: rgba(255, 255, 255, .2);
    padding: 2px 6px;
    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, .7);
    transition: color .3s;
    padding: 2px
}

.currency-info span,
.weather {
    color: rgba(255, 255, 255, .9);
    border-radius: 4px;
    font-size: 12px
}

.breaking-news-controls i:hover,
.prayer-times-mini .prayer-time.active .prayer-hour,
.prayer-times-mini .prayer-time.active .prayer-name,
body.dark-theme .author-card.author-home .author-name,
body.dark-theme .author-name,
body.dark-theme .prayer-times-mini .prayer-hour,
body.dark-theme .widget-header h3 {
    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;
    padding: 0 8px;
    margin-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .2);
    flex: 1;
    text-align: center
}

.currency-info::-webkit-scrollbar {
    display: none
}

.currency-info span {
    display: inline-flex;
    align-items: center;
    margin: 0 8px;
    transition: color .3s, background-color .3s;
    padding: 2px 6px
}

.currency-info span:hover,
.weather:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .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;
    margin-right: 12px;
    padding: 2px 5px;
    cursor: pointer
}

.btn,
.nav-menu li a {
    transition: .3s;
    font-weight: 500
}

.weather i {
    font-size: 16px
}

.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: 0 0;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101
}

.logo,
.theme-switch {
    display: flex;
    align-items: center
}

.main-nav,
.menu-header {
    border-bottom: 1px solid var(--border-color)
}

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

.menu-toggle.active span:first-child {
    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 {
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .2);
    color: var(--text-color);
    cursor: pointer
}

.btn-dark,
footer {
    background-color: var(--secondary-color)
}

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

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

.footer-logo a,
.logo a,
.slide.active,
body.dark-theme .theme-switch .fa-sun {
    display: block
}

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

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

.logo {
    margin-right: 20px
}

.logo a {
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    width: 180px;
    height: 50px
}

.logo a svg path[fill="#231f20"],
.logo a svg path[stroke="#231f20"] {
    fill: var(--text-color);
    stroke: var(--text-color)
}

body.dark-theme .logo a svg path[fill="#231f20"],
body.dark-theme .logo a svg path[stroke="#231f20"] {
    fill: #fff;
    stroke: #fff
}

.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: 0;
    background-color: var(--card-bg);
    color: var(--text-color)
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: 0 0;
    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;
    cursor: pointer
}

.badge,
.featured-news .news-author,
.footer-logo,
.nav-menu,
.news-date,
.prayer-trigger {
    align-items: center;
    display: flex
}

.badge,
.btn-icon {
    border-radius: 50%
}

.btn-dark {
    color: #fff
}

.btn-icon {
    width: 40px;
    height: 40px;
    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;
    justify-content: center
}

.hamburger-menu,
.main-nav {
    background-color: var(--card-bg)
}

.card-content h3,
.menu-close,
.menu-list a,
.menu-social a,
.nav-menu li a,
.side-card a {
    color: var(--text-color)
}

.main-nav {
    border-top: 1px solid var(--border-color)
}

.card-image,
.featured-news .news-image,
.menu-list li,
.nav-menu li,
.slide-image {
    position: relative
}

.nav-menu li a {
    display: inline-flex;
    align-items: center;
    padding: 15px;
    font-size: 14px;
    white-space: nowrap;
}

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

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

.hamburger-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    z-index: 1000;
    box-shadow: 0 0 10px var(--shadow-color);
    transition: left .3s;
    overflow-y: auto
}

.overlay,
.slide,
.slider-container {
    height: 100%
}

.hamburger-menu.active {
    left: 0
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px
}

.menu-close {
    background: 0 0;
    border: none;
    font-size: 20px;
    cursor: pointer
}

.menu-list {
    padding: 15px 0
}

.menu-list a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    transition: background-color .3s, color .3s
}

.menu-list a:hover {
    background-color: rgba(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 {
    font-size: 18px
}

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

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

.prayer-times {
    background-color: #1e1e1e;
    color: #fff;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 10px
}

.location,
.prayer-time,
.sahur-countdown {
    padding: 12px 10px;
    transition: .3s;
    display: flex
}

.prayer-times::-webkit-scrollbar {
    display: none
}

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

.prayer-time {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    background-color: #2a2a2a;
    position: relative
}

.prayer-time:hover,
body.dark-theme .progress-container {
    background-color: #333
}

.prayer-time.active {
    background-color: rgba(14, 165, 233, .2);
    box-shadow: 0 0 10px rgba(14, 165, 233, .3)
}

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

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

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

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

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

.sahur-countdown {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    min-width: 200px;
    position: relative
}

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

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

.location {
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    min-width: 180px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 10px 10px 0
}

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

.location:hover,
.newsletter-form button:hover,
.popup-btn-primary:hover {
    background-color: #c00
}

.main-slider {
    margin: 40px 0 30px
}

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

.slide,
.slider-pagination .page-number {
    display: none
}

.slider-main {
    width: 66.66%;
    flex-shrink: 0
}

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

.slide {
    position: relative
}

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

.slider-side-cards {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.side-card {
    height: calc(50% - 10px);
    transition: transform .3s;
    max-height: 195px
}

.side-card a {
    display: block;
    height: 100%
}

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

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

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

.featured-news .news-category,
.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
}

.news-category.ekonomi,
.side-card-category.gundem,
.slide-category.siyaset,
body.dark-theme .poll-submit {
    background-color: #e74c3c
}

.news-category.saglik,
.side-card-category.teknoloji,
.slide-category.teknoloji {
    background-color: #3498db
}

.news-category.spor,
.side-card-category.ekonomi,
.slide-category.ekonomi {
    background-color: #2ecc71
}

.news-category.siyaset,
.side-card-category.spor,
.slide-category.spor {
    background-color: #f39c12
}

.news-category.teknoloji,
.side-card-category.saglik,
.slide-category.saglik {
    background-color: #9b59b6
}

.news-category.dunya,
.side-card-category.seyahat,
.slide-category.dunya,
.slide-category.seyahat {
    background-color: #1abc9c
}

body.dark-theme .side-card-content {
    background-color: var(--dark-bg-secondary)
}

.footer-widget h3::after,
.slide-nav button:hover,
.social-media a:hover,
body.dark-theme .slider-pagination .dot.active {
    background-color: var(--primary-color)
}

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

@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
    }
}

.footer-bottom,
.footer-top {
    justify-content: space-between
}

.news-cards,
.sidebar-section {
    margin: 30px 0
}

.news-grid {
    display: grid;
    gap: 20px
}

.footer-links,
.footer-top,
.newsletter-form,
.social-media {
    display: flex
}

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

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

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

.card-content,
.news-details,
.news-haber-item .news-details,
.news-item-small .news-details {
    padding: 15px
}

.card-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px
}

footer {
    color: #fff;
    padding: 50px 0 20px
}

.footer-top {
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

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

.section-nav button,
.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: .3s
}

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

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .1);
    margin-left: 10px
}

.footer-content {
    display: grid;
    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
}

.footer-widget ul li,
.poll-option {
    margin-bottom: 10px
}

.footer-links li a,
.footer-widget ul li a {
    color: #ccc;
    transition: .3s
}

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

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

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: 0;
    background-color: rgba(255, 255, 255, .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: .3s
}

.news-item,
.section-nav button {
    background-color: var(--card-bg)
}

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

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

.category-section,
.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
}

.kunye-section h2::before,
.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 {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

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

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

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

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

.authors-section,
.news-category {
    background-color: var(--primary-color)
}

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

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

.more-authors,
.slide-category {
    top: 20px;
    text-transform: uppercase
}

.news-category a,
.slide-category a {
    color: #fff
}

.news-category a:hover,
.prayer-dropdown:hover,
.slide-category a:hover {
    color: rgba(255, 255, 255, .8)
}

.news-category.seyahat {
    background-color: #e67e22
}

.news-category.magazin,
.slide-category.magazin {
    background-color: #e84393
}

.news-category.egitim,
.slide-category.egitim {
    background-color: #0984e3
}

.news-category.kultur,
.slide-category.kultur {
    background-color: #6c5ce7
}

.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
}

.featured-news .news-meta i,
.news-date i,
.prayer-trigger i {
    margin-right: 5px
}

.authors-section {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative
}

.authors-container,
.slider-pagination .page-dots {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: 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;
    letter-spacing: 1px;
    transition: .3s;
    position: absolute;
    z-index: 5;
    right: 30px;
    background-color: rgba(255, 255, 255, .2);
    padding: 8px 15px;
    border-radius: 20px
}

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

.authors-container {
    display: flex;
    gap: 20px;
    padding: 0 30px 30px
}

.authors-container::-webkit-scrollbar {
    display: none
}

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

.article-excerpt,
.news-item-small .news-details h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.author-card:hover {
    box-shadow: 0 10px 20px rgba(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
}

.slide-nav,
.slider-pagination {
    position: absolute;
    display: flex
}

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

.news-category.gundem,
.slide-category.gundem {
    background-color: #d63031
}

.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, .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 {
    top: 50%;
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3
}

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

.slider-pagination {
    left: 0;
    right: 0;
    bottom: 10px;
    justify-content: center;
    z-index: 10;
    padding: 5px 0
}

.slider-pagination .page-dots {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 5px 10px;
    max-width: 90%;
    justify-content: center
}

.slider-pagination .page-dots::-webkit-scrollbar {
    display: none
}

.slider-pagination .dot {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 4px;
    margin: 0 4px;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    position: relative
}

.slide::before,
.team-buttons:after {
    position: absolute;
    top: 0;
    content: ''
}

.slider-pagination .dot::before {
    content: attr(data-slide);
    position: relative;
    z-index: 2
}

.slider-pagination .dot.active {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.05)
}

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

.slide::before {
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    z-index: 1
}

.news-section .row,
.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: .3s
}

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

.view-all:hover {
    opacity: .8
}

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

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

.featured-news .news-details,
.news-haber-content,
.popup-content {
    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: .8
}

.breadcrumb,
.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
}

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

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

.news-item-small .news-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4
}

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

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

.poll-options,
.poll-question {
    margin-bottom: 15px
}

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

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

.poll-submit,
.post-content h4 {
    font-weight: 600;
    font-size: 14px
}

.widget-subtitle {
    display: block;
    margin-top: 5px
}

.league-table,
.poll-widget,
.popular-posts,
.table-info {
    margin-top: 15px
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center
}

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

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

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

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

.kunye-text p:last-child,
.table-info p:last-child {
    margin-bottom: 0
}

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

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

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

    .slide-image img {
        height: 300px
    }

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

    .league-table td,
    .league-table th {
        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
    }
}

body.dark-theme .table-info {
    background-color: #2a2a2a;
    color: #ddd
}

.haber-category,
body.dark-theme .author-card.author-home .author-description,
body.dark-theme .author-description,
body.dark-theme .breadcrumb,
body.dark-theme .breadcrumb a,
body.dark-theme .data-disclaimer,
body.dark-theme .last-update {
    color: #aaa
}

body.dark-theme .loading-data,
body.dark-theme .news-item-small .news-details h3,
body.dark-theme .playoff-legend,
body.dark-theme .post-content h4,
body.dark-theme .promotion-legend {
    color: #ddd
}

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

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

.poll-option input,
.post-number {
    margin-right: 10px
}

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

    to {
        transform: rotate(360deg)
    }
}

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

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

.news-haber-item.small .news-details h3,
.post-content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

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

.poll-submit,
.post-number,
.progress-bar {
    background-color: var(--primary-color)
}

.progress-bar {
    height: 100%
}

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

.poll-submit {
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 8px 15px;
    transition: .3s
}

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

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

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

.post-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700
}

.post-content {
    flex: 1
}

.post-content h4 {
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    text-overflow: ellipsis
}

.news-section {
    padding: 10px 0;
    margin-bottom: 0
}

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

.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, .1)
}

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

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

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

.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: .3s
}

.news-haber-item:hover {
    box-shadow: 0 10px 20px rgba(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 .3s
}

.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;
    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, .1)
}

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

.btn-more:hover,
.prayer-times-link:hover,
.prayer-times-mini .prayer-time.active,
body.dark-theme .prayer-times-link:hover {
    background-color: rgba(255, 255, 255, .1)
}

.sidebar-widget:first-child,
.team-button {
    background-color: #333;
    color: #fff;
    text-align: center
}

.news-haber-item.small:nth-child(3)::after,
.news-haber-item.small:nth-child(3)::before,
.sidebar-widget:first-child::after,
.sidebar-widget:first-child::before {
    display: none !important
}

.sidebar-widget:first-child {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    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: .7
}

.team-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 5px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative
}

.team-buttons::-webkit-scrollbar {
    display: none
}

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

.team-buttons.active {
    cursor: grabbing
}

.team-button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
    border: 1px solid #444;
    box-shadow: 0 2px 4px rgba(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, .3)
}

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

.league-table th,
.league-table tr:hover,
.table-footer {
    background-color: #f8f9fa
}

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

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

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

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

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

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

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

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

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

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

.playoff-legend {
    background-color: rgba(0, 123, 255, .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
}

.dark-mode .team-button {
    background-color: #222;
    color: #f8f9fa;
    border-color: #444
}

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

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

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

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

.kunye-section,
.page-header {
    border-bottom: 1px solid var(--border-color)
}

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

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

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

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

.page-header {
    margin: 30px 0;
    padding-bottom: 15px
}

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

.breadcrumb a {
    color: #777;
    transition: .3s
}

.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
}

.popup-container,
.prayer-dropdown-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    overflow: hidden
}

.kunye-section {
    margin-bottom: 30px;
    padding-bottom: 20px
}

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

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

.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
}

body.dark-theme .kunye-item,
body.dark-theme .kunye-section,
body.dark-theme .page-header {
    border-bottom-color: rgba(255, 255, 255, .1)
}

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

body.dark-theme .kunye-value,
body.dark-theme .poll-question {
    color: #eee
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: .3s
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 8px;
    transform: scale(.8);
    transition: .3s
}

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

.popup-btn,
.popup-close {
    transition: .2s;
    cursor: pointer
}

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

.popup-header {
    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
}

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

.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
}

.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 .league-option:hover,
body.dark-theme .popup-btn-secondary:hover {
    background-color: #444
}

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

.prayer-dropdown-content {
    position: absolute;
    top: 100%;
    right: -10px;
    width: 180px;
    background-color: #222;
    border-radius: 6px;
    z-index: 1060;
    display: none;
    padding: 0;
    margin-top: 8px;
    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 .prayer-time {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: background-color .2s
}

.prayer-times-mini .prayer-time:hover,
body.dark-theme .currency-info span:hover,
body.dark-theme .prayer-dropdown:hover,
body.dark-theme .prayer-times-mini .prayer-time.active,
body.dark-theme .weather:hover {
    background-color: rgba(255, 255, 255, .05)
}

.league-option-group:last-child,
.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, .7)
}

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

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

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

.prayer-times-link {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    transition: .3s
}

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

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

body.dark-theme .league-table table,
body.dark-theme .poll-widget,
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, .05)
}

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

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, .1)
}

.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, .2);
    color: #fff
}



.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 .3s
}

.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 .3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.league-group-title,
.league-option:hover {
    background-color: #f5f5f5
}

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

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

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

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

.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[data-selected=true] {
    background-color: #1e3a5f;
    color: #90caf9
}

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

    .desktop-menu {
        display: none
    }

    .header-buttons,
    .search-box,
    .theme-switch {
        display: none !important
    }

    .logo {
        margin: 0 auto
    }

    .main-header .container {
        justify-content: space-between;
        max-height: 40px
    }
}

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

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

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

    .authors-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px
    }

    .selected-league h3 {
        font-size: 14px
    }

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

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

    .footer-logo img {
        width: 150px;
        height: 42px
    }
}

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

    .selected-league h3 {
        font-size: 13px
    }

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

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

    .footer-logo img {
        width: 120px;
        height: 33px
    }
}

body.dark-theme .author-card,
body.dark-theme .author-card.author-home {
    background-color: var(--card-bg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2)
}

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

body.dark-theme .article-excerpt,
body.dark-theme .author-card.author-home .article-excerpt,
body.dark-theme .legend,
body.dark-theme .poll-option label,
body.dark-theme .table-info p,
body.dark-theme .widget-subtitle {
    color: #bbb
}

body.dark-theme .league-table,
body.dark-theme .sidebar-widget {
    background-color: #222;
    border-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2)
}

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

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

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

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

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

body.dark-theme .league-table tr:hover,
body.dark-theme .news-list .news-item-small:hover {
    background-color: #2a2a2a
}

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

body.dark-theme .league-table th {
    border-color: #444
}

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

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

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

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

/* ============================
   ANKET WIDGET - MODERN STYLE
   ============================ */

.anket-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

html.dark .anket-widget,
body.dark-theme .anket-widget {
    background: #1e1e1e;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Anket Header */
.anket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

html.dark .anket-header,
body.dark-theme .anket-header {
    border-bottom-color: #2a2a2a;
}

.anket-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.anket-icon {
    font-size: 16px;
    color: var(--primary-color, #e30613);
}

.anket-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

html.dark .anket-title,
body.dark-theme .anket-title {
    color: #f0f0f0;
}

/* Anket Toast Notification */
.anket-toast {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.anket-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.anket-toast-icon {
    font-size: 20px;
}

.anket-toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.anket-toast-title {
    font-size: 14px;
    font-weight: 700;
}

.anket-toast-message {
    font-size: 12px;
    opacity: 0.9;
}

/* Poll Question */
.anket-widget .poll-question {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

html.dark .anket-widget .poll-question,
body.dark-theme .anket-widget .poll-question {
    color: #e0e0e0;
}

/* Poll Options Form */
.anket-widget .poll-options-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Poll Option Card */
.poll-option-card {
    position: relative;
}

.poll-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.poll-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.poll-option-label:hover {
    background: #f0f1f3;
    border-color: #e0e0e0;
}

.poll-radio-input:checked+.poll-option-label {
    background: color-mix(in srgb, var(--primary-color, #333) 8%, transparent);
    border-color: var(--primary-color, #333);
}

html.dark .poll-option-label,
body.dark-theme .poll-option-label {
    background: #252525;
}

html.dark .poll-option-label:hover,
body.dark-theme .poll-option-label:hover {
    background: #2a2a2a;
    border-color: #3a3a3a;
}

html.dark .poll-radio-input:checked+.poll-option-label,
body.dark-theme .poll-radio-input:checked+.poll-option-label {
    background: color-mix(in srgb, var(--primary-color, #999) 12%, transparent);
    border-color: var(--primary-color, #999);
}

/* Poll Custom Radio */
.poll-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.poll-radio-input:checked+.poll-option-label .poll-radio-custom {
    border-color: var(--primary-color, #333);
}

.poll-radio-input:checked+.poll-option-label .poll-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color, #333);
    border-radius: 50%;
    animation: pollRadioPopIn 0.2s ease;
}

@keyframes pollRadioPopIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

html.dark .poll-radio-custom,
body.dark-theme .poll-radio-custom {
    border-color: #555;
}

html.dark .poll-radio-input:checked+.poll-option-label .poll-radio-custom,
body.dark-theme .poll-radio-input:checked+.poll-option-label .poll-radio-custom {
    border-color: var(--primary-color, #999);
}

html.dark .poll-radio-input:checked+.poll-option-label .poll-radio-custom::after,
body.dark-theme .poll-radio-input:checked+.poll-option-label .poll-radio-custom::after {
    background: var(--primary-color, #999);
}

/* Poll Option Text */
.poll-option-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

html.dark .poll-option-text,
body.dark-theme .poll-option-text {
    color: #ccc;
}

/* Poll Submit Button */
.anket-widget .poll-submit {
    margin-top: 12px;
    padding: 14px 24px;
    background: var(--primary-color, #333);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.anket-widget .poll-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.anket-widget .poll-submit:active {
    transform: translateY(0);
}

html.dark .anket-widget .poll-submit,
body.dark-theme .anket-widget .poll-submit {
    background: var(--primary-color, #999);
}

html.dark .anket-widget .poll-submit:hover,
body.dark-theme .anket-widget .poll-submit:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Poll Results */
.poll-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-results-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
}

.poll-results-header i {
    color: var(--primary-color, #333);
}

.poll-total-votes {
    margin-left: auto;
    font-weight: 500;
    color: #999;
}

html.dark .poll-results-header,
body.dark-theme .poll-results-header {
    color: #888;
}

html.dark .poll-total-votes,
body.dark-theme .poll-total-votes {
    color: #666;
}

/* Poll Result Item */
.poll-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poll-result-bar-wrap {
    position: relative;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    min-height: 44px;
}

html.dark .poll-result-bar-wrap,
body.dark-theme .poll-result-bar-wrap {
    background: #252525;
}

.poll-result-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: color-mix(in srgb, var(--primary-color, #333) 15%, transparent);
    border-radius: 8px;
    transition: width 0.6s ease;
}

html.dark .poll-result-bar,
body.dark-theme .poll-result-bar {
    background: color-mix(in srgb, var(--primary-color, #999) 20%, transparent);
}

.poll-result-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
}

.poll-result-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

html.dark .poll-result-text,
body.dark-theme .poll-result-text {
    color: #ccc;
}

.poll-result-stats {
    display: flex;
    align-items: center;
    gap: 6px;
}

.poll-result-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #333);
}

html.dark .poll-result-percent,
body.dark-theme .poll-result-percent {
    color: var(--primary-color, #999);
}

.poll-result-votes {
    font-size: 12px;
    color: #999;
}

html.dark .poll-result-votes,
body.dark-theme .poll-result-votes {
    color: #666;
}

/* Poll Empty State */
.poll-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 30px 20px;
    color: #999;
    text-align: center;
}

.poll-empty i {
    font-size: 32px;
    opacity: 0.5;
}

.poll-empty span {
    font-size: 14px;
}

html.dark .poll-empty,
body.dark-theme .poll-empty {
    color: #666;
}

/* ============================
   AD BLOCK STYLES (CLS/FCP Optimized)
   ============================ */
.ad-slot {
    width: var(--ad-w-web);
    height: var(--ad-h-web);
    margin: 10px auto;
    display: block;
    text-align: center;
    overflow: hidden;
    position: relative;
    /* ReklamÄ±n LCP olmasÄ±nÄ± engellemek iÃ§in render erteleme ve yer tutucu */
    content-visibility: auto;
    contain-intrinsic-size: var(--ad-w-web) var(--ad-h-web);
    background-color: transparent;
}

.ad-slot img {
    max-width: 100%;
    height: auto;
    fetchpriority: low !important;
}

.ad-slot iframe {
    max-width: 100%;
    fetchpriority: low !important;
}

@media (max-width: 820px) {
    .ad-slot {
        width: var(--ad-w-mob);
        height: var(--ad-h-mob);
        contain-intrinsic-size: var(--ad-w-mob) var(--ad-h-mob);
    }
}

.ad-slot__placeholder {
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    font-size: 10px;
    letter-spacing: 1px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.ad-slot__placeholder::after {
    content: "REKLAM ALANI";
    font-weight: 600;
}

/* Dark Mode DesteÄŸi */
html.dark .ad-slot__placeholder,
body.dark-theme .ad-slot__placeholder {
    background: #1e1e1e;
    border-color: #333;
    color: #555;
}

/* ============================
   NAMAZ VAKÄ°TLERÄ° YATAY WIDGET
   ============================ */
.namaz-yatay-widget {
    /* Global deÄŸiÅŸken kullanÄ±mÄ± */
    background-color: var(--card-bg, #ffffff) !important;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    padding: 16px;
    margin-bottom: 24px;
    font-family: inherit;
    color: var(--text-color, #333);
    border: 1px solid var(--border-color, transparent);
}

.namaz-yatay-widget .prayer-widget-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Sol Taraf: Header */
.namaz-yatay-widget .widget-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 180px;
    padding-right: 20px;
    border-right: 1px solid var(--border-color, #eee);
}

.namaz-yatay-widget .city-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #ddd);
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    background-color: var(--bg-color, #f9f9f9);
    /* Ä°Ã§ kutu rengi */
    color: var(--text-color, #333);
    outline: none;
    transition: all 0.2s;
}

.namaz-yatay-widget .city-select:hover {
    border-color: #aaa;
}

.namaz-yatay-widget .header-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.namaz-yatay-widget .next-prayer {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #e30613);
}

.namaz-yatay-widget .namaz-link {
    font-size: 12px;
    color: var(--text-color, #333);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.2s;
}

.namaz-yatay-widget .namaz-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* SaÄŸ Taraf: Vakitler */
.namaz-yatay-widget .prayer-row-horizontal {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
}

.namaz-yatay-widget .prayer-box {
    background: var(--bg-color, #f9f9f9);
    /* Ä°Ã§ kutu rengi */
    color: var(--text-color, #333);
    padding: 12px 8px;
    border-radius: 12px;
    flex: 1;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.namaz-yatay-widget .prayer-box strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.namaz-yatay-widget .prayer-box span {
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.namaz-yatay-widget .prayer-box.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.namaz-yatay-widget .prayer-box.active strong {
    opacity: 0.9;
}

/* Mobil / Responsive */
@media (max-width: 991px) {
    .namaz-yatay-widget .prayer-widget-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .namaz-yatay-widget .widget-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color, #eee);
        padding-bottom: 12px;
        width: 100%;
    }

    .namaz-yatay-widget .city-select {
        width: auto;
        min-width: 140px;
    }

    .namaz-yatay-widget .header-right {
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 600px) {
    .namaz-yatay-widget {
        padding: 12px;
        border-radius: 12px;
    }

    .namaz-yatay-widget .widget-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .namaz-yatay-widget .header-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .namaz-yatay-widget .prayer-row-horizontal {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .namaz-yatay-widget .prayer-box {
        min-width: 0;
        padding: 10px 4px;
    }
}

/* ============================
   BURÃ‡ VÄ°DGET YATAY (Horoscope)
   ============================ */
.burc-tab-container {
    background-color: var(--card-bg, #ffffff);
    color: var(--text-color, #333);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    margin-bottom: 24px;
    border: 1px solid var(--border-color, transparent);
    font-family: inherit;
}

.burc-tabs {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color, #ccc) transparent;
}

.burc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    min-width: 72px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    border: 1px solid transparent;
}

.burc-tab:hover {
    background-color: var(--bg-color, #f9f9f9);
}

.burc-tab.active {
    background-color: var(--bg-color, #f1f5f9);
    border-color: var(--border-color, #e2e8f0);
    box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.05));
    transform: translateY(-2px);
}

.burc-tab img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    transition: transform 0.2s;
    object-fit: contain;
}

.burc-tab.active img {
    transform: scale(1.1);
}

.burc-tab span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray, #666);
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.burc-tab.active span {
    color: var(--primary-color, #e30613);
}

.burc-tab-detail {
    animation: fadeIn 0.3s ease-out;
    padding: 0 4px;
}

.burc-tab-detail h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color, #333);
}

.burc-tab-detail p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color, #555);
    margin-bottom: 12px;
    opacity: 0.9;
}

.burc-detail-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #e30613);
    text-decoration: none;
    transition: opacity 0.2s;
}

.burc-detail-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .burc-tab-container {
        padding: 16px;
    }

    .burc-tabs {
        gap: 8px;
    }

    .burc-tab {
        min-width: 60px;
        padding: 8px 4px;
    }

    .burc-tab img {
        width: 32px;
        height: 32px;
    }
}

/* ============================
   BURÃ‡LAR GRID WIDGET (TÃ¼m BurÃ§lar)
   ============================ */
/* ============================
   BURÃ‡LAR GRID WIDGET (TÃ¼m BurÃ§lar)
   ============================ */
.horoscope-grid-widget {
    background-color: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color, transparent);
}

/* Header Style matching Survey widget */
.horoscope-grid-widget .hgw-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.horoscope-grid-widget .hgw-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color, #e30613);
    /* Red background */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.horoscope-grid-widget .hgw-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0;
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns */
    gap: 12px;
    width: 100%;
}

.horoscope-card {
    background: var(--bg-color, #f8fafc);
    /* Light gray background like survey options */
    border-radius: 12px;
    padding: 16px 8px;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    min-height: 110px;
    position: relative;
    overflow: hidden;
}

.horoscope-card:hover {
    background: var(--card-bg, #ffffff);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.1));
    border-color: var(--border-color, #e2e8f0);
}

.horoscope-card::before {
    display: none;
    /* Remove red top border to match clean survey look */
}

/* Icon style adjustments */
.horoscope-card .sign-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

/* EÄŸer icon img ise */
.horoscope-card img.sign-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    font-size: 0;
    /* Alt metin gizle */
}

.horoscope-card:hover .sign-icon {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.horoscope-card .sign-name {
    color: var(--text-color, #333);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s;
}

.horoscope-card:hover .sign-name {
    color: var(--primary-color, #e30613);
    font-weight: 600;
}

@media (max-width: 600px) {
    .horoscope-grid-widget {
        padding: 16px;
    }

    .horoscope-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Mobile: 3 columns */
        gap: 8px;
    }

    .horoscope-card {
        padding: 12px 4px;
        min-height: 90px;
    }

    .horoscope-card .sign-name {
        font-size: 12px;
    }
}

/* ============================
   HAVA DURUMU WIDGET
   ============================ */
.widget-hava {
    background-color: var(--card-bg, #ffffff);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    border: 1px solid var(--border-color, transparent);
    margin-bottom: 24px;
}

/* Header */
.widget-hava .weather-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.widget-hava .header-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color, #e30613);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.widget-hava .header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0;
}

/* Content */
.widget-hava .city-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #ddd);
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    background: var(--bg-color, #f9f9f9);
    color: var(--text-color, #333);
    transition: all 0.2s;
    cursor: pointer;
    appearance: none;
    /* Custom arrow can be added with background-image */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.widget-hava .city-select:hover,
.widget-hava .city-select:focus {
    border-color: #aaa;
    background-color: var(--card-bg, #fff);
}

.widget-hava .weather-card {
    background: var(--bg-color, #f8fafc);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.widget-hava .weather-card:hover {
    background: var(--card-bg, #fff);
    border-color: var(--border-color, #eee);
    box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.05));
    transform: translateY(-2px);
}

.widget-hava .weather-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.widget-hava .weather-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.widget-hava .weather-temp {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color, #333);
    line-height: 1;
}

.widget-hava .weather-desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray, #666);
    text-transform: capitalize;
    margin-bottom: 4px;
}

.widget-hava .weather-city {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color, #e30613);
    opacity: 0.8;
}

.widget-hava .detail-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-gray, #666);
    text-decoration: none;
    transition: color 0.2s;
}

.widget-hava .detail-link:hover {
    color: var(--primary-color, #e30613);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .widget-hava {
        padding: 16px;
    }
}

/* ============================
   NÃ–BETÃ‡Ä° ECZANE WIDGET
   ============================ */
.widget-eczane {
    background-color: var(--card-bg, #ffffff);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    border: 1px solid var(--border-color, transparent);
    margin-bottom: 24px;
    max-width: 100%;
}

/* Header */
.widget-eczane .eczane-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.widget-eczane .header-icon {
    width: 24px;
    height: 24px;
    background: #059669;
    /* Emerald Green */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.widget-eczane .header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0;
}

/* List */
.widget-eczane .pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-eczane .pharmacy-item {
    background: var(--bg-color, #f8fffe);
    border: 1px solid transparent;
    /* veya #d1fae5 */
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-eczane .pharmacy-item:hover {
    background: var(--card-bg, #fff);
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
    transform: translateY(-2px);
}

.widget-eczane .pharmacy-name {
    font-size: 16px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 2px;
}

.widget-eczane .pharmacy-address {
    font-size: 13px;
    color: var(--text-gray, #555);
    line-height: 1.4;
}

.widget-eczane .pharmacy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-eczane .pharmacy-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #059669;
    text-decoration: none;
    transition: color 0.2s;
}

.widget-eczane .pharmacy-phone:hover {
    color: #047857;
}

.widget-eczane .pharmacy-actions {
    display: flex;
    gap: 8px;
}

.widget-eczane .action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: var(--card-bg, white);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.widget-eczane .action-btn:hover {
    background: #059669;
    color: white;
    border-color: #059669;
}

.widget-eczane .all-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 10px;
    background: #ecfdf5;
    color: #047857;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.widget-eczane .all-link:hover {
    background: #d1fae5;
}

@media (max-width: 600px) {
    .widget-eczane {
        padding: 16px;
    }
}

/* ============================
   NAMAZ VAKÄ°TLERÄ° KARE WIDGET
   ============================ */
.widget-namaz-kare {
    background-color: var(--card-bg, #ffffff);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.06));
    border: 1px solid var(--border-color, transparent);
    margin-bottom: 24px;
    max-width: 100%;
}

/* Header */
.widget-namaz-kare .namaz-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.widget-namaz-kare .header-icon {
    width: 24px;
    height: 24px;
    background: #1e293b;
    /* Dark Blue/Slate */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.widget-namaz-kare .header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #333);
    margin: 0;
}

/* Controls */
.widget-namaz-kare .city-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #ddd);
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    background: var(--bg-color, #f9f9f9);
    color: var(--text-color, #333);
    cursor: pointer;
}

.widget-namaz-kare .city-select:focus {
    border-color: #aaa;
    background: var(--card-bg, #fff);
}

.widget-namaz-kare .countdown-box {
    background: #f1f5f9;
    color: #334155;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Times List */
.widget-namaz-kare .vakit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-namaz-kare .vakit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg-color, #f8fafc);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color, #333);
    transition: all 0.2s;
}

.widget-namaz-kare .vakit-row:hover {
    background: var(--card-bg, #fff);
    border-color: #cbd5e1;
}

.widget-namaz-kare .vakit-row.active {
    background: #198754 !important;
    /* Green */
    color: white;
    border-color: #198754 !important;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.2);
    font-weight: 700;
}

.widget-namaz-kare .vakit-name {
    text-transform: capitalize;
}

.widget-namaz-kare .vakit-time {
    font-family: monospace;
    /* SayÄ±sal hizalama iÃ§in */
    font-size: 15px;
}

.widget-namaz-kare .all-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-gray, #666);
    text-decoration: none;
}

.widget-namaz-kare .all-link:hover {
    color: var(--primary-color, #e30613);
    text-decoration: underline;
}

/* =======================
 * 14) Namaz Vakitleri YATAY Widget
 * ======================= */
.widget-namaz-yatay {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color, #e2e8f0);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .widget-namaz-yatay {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.widget-namaz-yatay .namaz-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.widget-namaz-yatay .namaz-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color, #1e293b);
}

.widget-namaz-yatay .city-select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background-color: var(--bg-color, #f8fafc);
    color: var(--text-color, #333);
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

.widget-namaz-yatay .countdown-text {
    font-size: 13px;
    color: var(--primary-color, #e30613);
    font-weight: 600;
}

.widget-namaz-yatay .vakit-list-horizontal {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    /* Scrollbar payÄ± */
    flex-grow: 1;
    justify-content: space-between;
}

.widget-namaz-yatay .vakit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-color, #f8fafc);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 80px;
    transition: all 0.2s;
}

.widget-namaz-yatay .vakit-item.active {
    background: #198754;
    /* Green */
    color: white;
    border-color: #198754;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

.widget-namaz-yatay .vakit-item .vakit-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.widget-namaz-yatay .vakit-item .vakit-time {
    font-size: 18px;
    font-weight: 700;
}

/* =======================
 * 15) Puan Durumu Widget (Standings)
 * ======================= */
.widget-puan-durumu {
    /* DÄ±ÅŸ stil parenttan geliyor */
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.widget-puan-durumu .widget-header {
    display: flex;
    justify-content: center;
    /* Ortala */
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}

.widget-puan-durumu h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color, #1e293b);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-puan-durumu .league-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 13px;
    background-color: var(--bg-color, #f8fafc);
    color: var(--text-color, #333);
    max-width: 100%;
    cursor: pointer;
}

.widget-puan-durumu .table-header {
    display: grid;
    grid-template-columns: 35px 1fr 30px 30px;
    /* GeniÅŸletildi */
    padding: 8px 0;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.widget-puan-durumu .team-row {
    display: grid;
    grid-template-columns: 35px 1fr 30px 30px;
    /* GeniÅŸletildi */
    padding: 8px 0;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    transition: background 0.2s;
    font-size: 13px;
    color: var(--text-color, #333);
}

.widget-puan-durumu .team-row:last-child {
    border-bottom: none;
}

.widget-puan-durumu .team-row:hover {
    background: #f8fafc;
}

.widget-puan-durumu .team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.widget-puan-durumu .team-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.widget-puan-durumu .team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.widget-puan-durumu .col-o {
    color: #64748b;
    text-align: center;
}

.widget-puan-durumu .col-p {
    font-weight: 700;
    color: var(--primary-color, #e30613);
    text-align: center;
}

.widget-puan-durumu .detail-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-gray, #666);
    text-decoration: none;
    padding-top: 10px;
    border-top: 1px solid var(--border-color, #f0f0f0);
}

.widget-puan-durumu .detail-link:hover {
    color: var(--primary-color, #e30613);
}

.widget-puan-durumu .loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    z-index: 10;
}

.widget-namaz-yatay .vakit-item.active .vakit-label {
    opacity: 1;
}

/* =======================
 * 17) Gazete WidgetlarÄ±
 * ======================= */
/* --- Yatay Gazete --- */
.widget-gazete-yatay {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    /* DÄ±ÅŸ border/bg parenttan geliyor */
}

.widget-gazete-yatay .slider-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    /* Scrollbar ve gÃ¶lge payÄ± */
    scrollbar-width: thin;
}

.widget-gazete-yatay .slider-container::-webkit-scrollbar {
    height: 4px;
}

.widget-gazete-yatay .slider-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.widget-gazete-yatay .item {
    scroll-snap-align: start;
    flex: 0 0 140px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: transform 0.2s;
    background: none;
    border: none;
    display: block;
}

.widget-gazete-yatay .item:hover {
    transform: translateY(-3px);
}

.widget-gazete-yatay img {
    width: 100%;
    aspect-ratio: 200/285;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    padding: 4px;
    display: block;
}

.widget-gazete-yatay span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-gazete-yatay .nav-btn {
    position: absolute;
    top: 40%;
    /* GÃ¶rÃ¼ntÃ¼ ortasÄ±na */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    font-size: 18px;
    line-height: 1;
    padding-bottom: 2px;
}

.widget-gazete-yatay .nav-btn:hover {
    background: var(--primary-color, #e30613);
    color: white;
    border-color: var(--primary-color);
}

.widget-gazete-yatay .nav-prev {
    left: -10px;
}

.widget-gazete-yatay .nav-next {
    right: -10px;
}

/* --- Kare Gazete (Carousel) --- */
/* --- Kare Gazete (Scroll Layout) --- */
.widget-gazete-kare {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    background: white !important;
}

.widget-gazete-kare .wrapper {
    position: relative;
    background: white !important;
}

/* Widget Header */
.widget-gazete-kare .widget-header h3 {
    color: var(--primary-color, #e30613) !important;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

/* Slider Container - Yatay Scroll */
.widget-gazete-kare .slider {
    display: flex !important;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 5px;
    scrollbar-width: thin;
    align-items: flex-start;
    background: white !important;
}

.widget-gazete-kare .slider::-webkit-scrollbar {
    height: 4px;
}

.widget-gazete-kare .slider::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Slide Items */
.widget-gazete-kare .slide {
    scroll-snap-align: start;
    flex: 0 0 150px !important;
    width: 150px !important;
    text-align: center;
    padding: 0;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: white !important;
}

.widget-gazete-kare .slide a {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    cursor: pointer !important;
    background: white !important;
    text-decoration: none;
}

.widget-gazete-kare img {
    width: 100% !important;
    height: auto !important;
    min-height: 180px;
    aspect-ratio: 200/285;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: none;
    background: transparent;
    display: block !important;
    margin: 0 auto;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.widget-gazete-kare .slide span {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #333);
    background: white !important;
    padding: 0 !important;
}

.widget-gazete-kare .caption {
    margin-top: 8px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-color, #333);
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigasyon Butonları */
.widget-gazete-kare .nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 1px solid #e2e8f0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.widget-gazete-kare .nav-btn:hover {
    background: var(--primary-color, #e30613);
    color: white;
    border-color: var(--primary-color);
}

.widget-gazete-kare .nav-prev {
    left: -10px;
}

.widget-gazete-kare .nav-next {
    right: -10px;
}

/* Desktop için ekstra zorla */
@media (min-width: 768px) {

    .widget-gazete-kare .slide,
    .widget-gazete-kare .slide a,
    .widget-gazete-kare .slide span {
        background: white !important;
        background-color: white !important;
    }
}

/* --- Tag Cloud Widget --- */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: var(--bg-white, #fff);
    color: var(--text-gray, #666);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color, #eee);
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.news-tag:hover {
    background: var(--primary-color, #e30613);
    color: #fff;
    border-color: var(--primary-color, #e30613);
    box-shadow: 0 4px 10px rgba(227, 6, 19, 0.25);
    transform: translateY(-2px);
}

/* Dark Mode Support for Tags */
body.dark-theme .news-tag {
    background: var(--card-bg, #1e1e1e);
    color: #bbb;
    border-color: #333;
}

body.dark-theme .news-tag:hover {
    background: var(--primary-color, #ff4d4d);
    color: #fff;
    border-color: var(--primary-color, #ff4d4d);
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.25);
}


/* --- Modern Footer Styles --- */
footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding-top: 60px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: #999;
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-logo img {
    height: 40px;
    object-fit: contain;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color, #e30613);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.footer-column h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--primary-color, #e30613);
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.footer-links-list a:hover {
    color: var(--primary-color, #e30613);
    transform: translateX(5px);
}

.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #777;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}



/* =======================
 * Author Slider Section
 * ======================= */
.article-excerpt {
    display: none !important;
}

.authors-section {
    padding: 10px 0 !important;
    position: relative;
    overflow: hidden;
    margin: 20px 0 !important;
    border-radius: 12px;
}

.authors-section .container {
    position: relative;
}

/* Header Layout - Flex & Centered */
.authors-header {
    margin-bottom: 15px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 5px !important;
    position: relative;
    z-index: 20;
    min-height: 40px;
}

.authors-header h2 {
    font-size: 1.3rem !important;
    margin: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 700;
    line-height: 1.2 !important;
}

/* Actions Wrapper - Right Aligned & Vertically Centered */
.header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 12px !important;
    height: 36px;
    /* Explicit height matching children */
}

/* Nav Buttons Wrapper - Reset & Align */
.authors-nav {
    display: flex !important;
    align-items: center !important;
    /* Center buttons vertically */
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 25;
    position: static !important;
    height: 100% !important;
    /* Fill parent height */
}

/* Nav Buttons - Zero Margins & explicit dimensions */
.authors-nav button {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 1 !important;
    backdrop-filter: blur(4px);
    margin: 0 !important;
    /* FORCE REMOVE MARGINS */
    padding: 0 !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
}

.authors-nav button:hover {
    transform: scale(1.05) !important;
    background: #fff !important;
    color: #d32f2f !important;
    border-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.authors-nav i {
    font-size: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

/* More Authors Link - Align & Match Button Height */
.more-authors {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.2) !important;
    font-size: 0.75rem !important;
    padding: 0 16px !important;
    height: 36px !important;
    /* Exact match with buttons */
    border-radius: 18px !important;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    /* Flex for centering text */
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
}

.more-authors:hover {
    background: #fff !important;
    color: #333 !important;
    opacity: 1;
}

/* Slider Container */
.authors-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 5px 15px 5px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

/* Compact Vertical Cards */
.author-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 180px !important;
    width: 180px !important;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Colored Borders */
.author-card:nth-child(5n+1) {
    border-top: 3px solid #e74c3c !important;
}

.author-card:nth-child(5n+2) {
    border-top: 3px solid #3498db !important;
}

.author-card:nth-child(5n+3) {
    border-top: 3px solid #2ecc71 !important;
}

.author-card:nth-child(5n+4) {
    border-top: 3px solid #9b59b6 !important;
}

.author-card:nth-child(5n+5) {
    border-top: 3px solid #f39c12 !important;
}

/* Compact Image Area */
.author-image {
    padding: 8px 0 4px 0 !important;
    display: flex;
    justify-content: center;
    background: none !important;
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
    flex: none !important;
}

.author-image img {
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid #f0f0f0 !important;
    transition: border-color 0.3s;
}

.author-card:hover .author-image img {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Content Area */
.author-info {
    padding: 6px 10px 10px 10px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.author-name {
    font-size: 0.85rem !important;
    font-weight: 700;
    color: #333;
    margin: 0 0 1px 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-description {
    font-size: 0.6rem !important;
    color: #999;
    text-transform: uppercase;
    margin: 0 0 6px 0 !important;
    letter-spacing: 0.5px;
}

.author-article {
    border-top: 1px solid #f5f5f5;
    padding-top: 6px;
    margin-top: auto;
}

.article-title {
    font-size: 0.75rem !important;
    font-weight: 600;
    line-height: 1.3;
    color: #444;
    display: -webkit-box;
    display: -moz-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    margin: 0 !important;
    transition: color 0.2s;
}

.author-card:hover .article-title {
    color: #c00;
}