@import './tokens.css';


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

html {
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: var(--line-height-body);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--easing-standard);
}

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

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}


:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-breaking);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 9999;
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-sm);
    transition: top var(--duration-fast);
}

.skip-to-content:focus {
    top: 1rem;
}


.entv-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 768px) {
    .entv-container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}


.entv-topbar {
    background-color: var(--color-brand-primary);
    color: var(--color-text-secondary);
    font-size: var(--font-size-body-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.entv-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-topbar-height);
}

.topbar-link {
    color: #cbd5e1;
    font-weight: var(--font-weight-medium);
    margin-left: var(--space-4);
    font-size: 0.8125rem;
}

.topbar-link:hover {
    color: #ffffff;
}


.entv-header {
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: background-color var(--duration-normal);
}

.entv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-main-height);
}


.entv-brand-wordmark {
    display: inline-flex;
    align-items: center;
    font-weight: var(--font-weight-heavy);
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    line-height: 1;
}

.entv-brand-wordmark .accent-tv {
    color: var(--color-breaking);
    margin-right: 4px;
}

.entv-brand-wordmark .tag-medya {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    background: var(--color-brand-primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    margin-left: 6px;
    text-transform: uppercase;
}


.entv-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-1);
}

.entv-nav-item .nav-link {
    font-weight: var(--font-weight-bold);
    font-size: 0.9375rem;
    text-transform: uppercase;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    white-space: nowrap;
}

.entv-nav-item .nav-link:hover,
.entv-nav-item .nav-link.active {
    background-color: var(--color-surface-muted);
    color: var(--color-breaking);
}

.nav-link-sports {
    color: var(--color-sport-contrast) !important;
    background-color: var(--color-sport) !important;
    font-weight: var(--font-weight-heavy) !important;
}

.nav-link-sports:hover {
    filter: brightness(0.95);
}

@media (min-width: 992px) and (max-width: 1240px) {
    .entv-nav-item .nav-link {
        font-size: 0.8rem;
        padding: var(--space-1-5) var(--space-2);
    }
    .entv-nav-list {
        gap: var(--space-0-5);
    }
}


.mega-menu-wrapper {
    position: relative;
}

.mega-menu-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 820px; /* Perfect desktop width to avoid screen cut-off */
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: var(--space-5);
    z-index: 1030;
    margin-top: 12px; /* Smooth gap from the header line */
    
    /* Smooth Transition & Fade-in Fade-out */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.22s;
}

/* Invisible hover bridge to prevent premature closing when moving mouse */
.mega-menu-panel::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 1;
}

/* Arrow indicator pointing up from mega menu */
.mega-menu-panel::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 48px;
    width: 14px;
    height: 14px;
    background-color: var(--color-surface);
    border-left: 2px solid var(--color-border);
    border-top: 2px solid var(--color-border);
    transform: rotate(45deg);
    z-index: 2;
}

.mega-menu-wrapper:hover .mega-menu-panel,
.mega-menu-wrapper:focus-within .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-title {
    color: var(--color-brand-primary) !important;
    border-color: var(--color-border) !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-menu-list a {
    color: var(--color-text-secondary) !important;
    text-decoration: none;
    display: inline-block;
    transition: color var(--duration-fast) var(--easing-standard), transform var(--duration-fast) var(--easing-standard);
    font-size: 0.92rem;
}

.mega-menu-list a:hover {
    color: var(--color-brand-primary) !important;
    transform: translateX(4px);
}

.small-icon {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Premium Divider borders between desktop mega-menu columns */
@media (min-width: 768px) {
    .mega-menu-panel .col-md-3:not(:last-child) {
        border-right: 1px solid var(--color-border);
    }
}

@media (max-width: 991.98px) {
    .mega-menu-panel {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: var(--space-3) 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: block;
    }
    .mega-menu-panel::before,
    .mega-menu-panel::after {
        display: none;
    }
}


.breaking-news-bar {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) 0;
}

.breaking-news-inner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.breaking-badge {
    background-color: var(--color-breaking);
    color: var(--color-breaking-contrast);
    font-weight: var(--font-weight-heavy);
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.breaking-title-link {
    font-weight: var(--font-weight-bold);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.headline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.headline-grid > div {
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    .headline-grid {
        grid-template-columns: 8fr 4fr;
        gap: var(--space-6);
    }
}

.card-news-base {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-fast) var(--easing-standard), box-shadow var(--duration-fast) var(--easing-standard);
}

.card-news-base:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-border-dark);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-surface-muted);
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-normal) var(--easing-standard);
}

.news-image-placeholder {
    background: linear-gradient(135deg, #102A4C 0%, #163A66 58%, #B13A2E 100%);
}

.news-image-placeholder-logo {
    width: min(78%, 180px);
    max-height: 58%;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
}

.card-news-base:hover .card-image-wrapper img {
    transform: scale(1.03);
}

.card-body-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category-badge {
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: var(--color-brand-primary);
    margin-bottom: var(--space-2);
}

.card-title-text {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    margin-bottom: var(--space-2);
    color: var(--color-text-primary);
}

.card-title-text a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.card-title-text a:hover {
    color: var(--color-brand-primary);
}

.card-meta-bar {
    font-size: var(--font-size-caption);
    color: var(--color-text-muted);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}


.sports-section-dark {
    background-color: #0b1220;
    color: #ffffff;
    border-top: 4px solid var(--color-sport);
    padding: var(--space-8) 0;
    margin-top: var(--space-8);
}

.sports-section-title {
    color: var(--color-sport);
    font-weight: var(--font-weight-heavy);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}


.ad-slot-wrapper {
    background-color: var(--color-surface-muted);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
    padding: var(--space-4);
    margin: var(--space-6) 0;
    position: relative;
}

.ad-label {
    font-size: 0.6875rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}


/* --- Modern & Premium Colorful Footer --- */
.entv-footer-modern {
    background: var(--color-footer-bg) !important;
    color: var(--color-footer-text) !important;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    font-size: var(--font-size-body-sm);
}

.footer-gradient-bar {
    height: 4px;
    background: linear-gradient(90deg, #d97706 0%, #ef4444 30%, #3b82f6 70%, #10b981 100%);
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.5);
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md, 8px);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    color: #B13A2E;
    font-size: 1rem;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-heading-modern {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.heading-accent {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    display: inline-block;
}

.bg-amber { background-color: #f59e0b; }
.bg-cyan { background-color: #06b6d4; }
.bg-red { background-color: #ef4444; }

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

.footer-links-list li {
    margin-bottom: 0.65rem;
}

.footer-links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.badge-spor-link {
    color: #B13A2E !important;
    font-weight: 700 !important;
    background: rgba(245, 158, 11, 0.12);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-spor-link:hover {
    background: rgba(245, 158, 11, 0.25);
    border-color: #f59e0b;
}

.footer-admin-btn {
    color: #ef4444 !important;
    font-weight: 600 !important;
    opacity: 0.85;
}

.footer-admin-btn:hover {
    opacity: 1;
    color: #f87171 !important;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
    margin: 1.5rem 0 1rem;
}

.copyright-text {
    color: #64748b;
    font-size: 0.8125rem;
}

.developer-signature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.sig-label {
    color: #64748b;
}

.orbis-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15));
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #B13A2E !important;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.orbis-badge:hover {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}



.search-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 24, 40, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.search-overlay-backdrop.active {
    display: flex;
}

.search-modal-card {
    background: var(--color-surface);
    width: 100%;
    max-width: 640px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-overlay);
    overflow: hidden;
}

.search-input-field {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-text-primary);
}

.search-input-field:focus {
    outline: none;
}


.table-scroll-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: var(--space-4);
}

@media (max-width: 767.98px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; 
    }

    .btn, button, .nav-link {
        min-height: var(--touch-target-min);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .modal-dialog {
        margin: var(--space-2);
        max-width: calc(100vw - 16px);
    }

    .modal-content {
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }
}


a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
}


/* Afyon Kampüs Haber CORPORATE IDENTITY CSS OVERRIDES */

/* Header & Mobile Drawer */
.entv-header {
    background-color: rgba(36, 32, 31, 0.96) !important;
    backdrop-filter: blur(8px);
    border-bottom: 3px solid var(--color-brand-primary) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.entv-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    overflow: visible;
}

.entv-brand-logo {
    width: auto !important;
    height: 80px !important;
    max-width: 160px;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform var(--duration-fast) var(--easing-standard);
    flex-shrink: 0 !important;
    margin: 0;
}
.entv-brand-logo:hover {
    transform: scale(1.03);
}
@media (max-width: 767.98px) {
    .entv-brand-logo {
        height: 58px !important;
        max-width: 128px;
    }
}

/* Centered & Premium Navigation Links */
.entv-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: var(--space-2) !important;
}

.entv-nav-item {
    position: relative;
}

.entv-nav-item .nav-link {
    color: var(--color-header-text) !important;
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: var(--space-2) var(--space-2-5) !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--duration-fast);
}

/* Premium Gold Underline Animation */
.entv-nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-brand-primary);
    transition: width var(--duration-fast) var(--easing-standard), left var(--duration-fast) var(--easing-standard);
}

.entv-nav-item .nav-link:hover::after,
.entv-nav-item .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.entv-nav-item .nav-link:hover {
    color: var(--color-brand-primary) !important;
    background-color: transparent !important; /* Remove grey block background */
}

.entv-nav-item .nav-link.active {
    color: var(--color-brand-primary) !important;
    background-color: var(--color-header-active-item-bg) !important;
}

/* Footer styling */
.entv-footer {
    background-color: var(--color-footer-bg) !important;
    border-top: 5px solid var(--color-brand-primary) !important;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

.footer-heading {
    position: relative;
    padding-bottom: var(--space-2);
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-brand-primary);
}
@media (max-width: 991.98px) {
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Brand Primary Button Mapping (Gold CTA) */
.btn-primary {
    background-color: var(--color-brand-primary) !important;
    border-color: var(--color-brand-primary) !important;
    color: var(--color-brand-primary-contrast) !important;
    font-weight: var(--font-weight-bold);
    transition: background-color var(--duration-fast), border-color var(--duration-fast);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--color-brand-primary-hover) !important;
    border-color: var(--color-brand-primary-hover) !important;
    color: var(--color-brand-primary-contrast) !important;
}
.btn-primary:active {
    background-color: var(--color-brand-primary-active) !important;
    border-color: var(--color-brand-primary-active) !important;
}

/* Brand Danger Button Mapping (Son Dakika Kırmızısı) */
.btn-danger {
    background-color: var(--color-breaking) !important;
    border-color: var(--color-breaking) !important;
    color: #ffffff !important;
    font-weight: var(--font-weight-bold);
}
.btn-danger:hover, .btn-danger:focus {
    background-color: #8F2B22 !important;
    border-color: #8F2B22 !important;
    color: #ffffff !important;
}

/* Outlines mapping */
.btn-outline-primary {
    color: var(--color-brand-primary) !important;
    border-color: var(--color-brand-primary) !important;
}
.btn-outline-primary:hover {
    background-color: var(--color-brand-primary) !important;
    color: var(--color-brand-primary-contrast) !important;
}
.btn-outline-danger {
    color: var(--color-breaking) !important;
    border-color: var(--color-breaking) !important;
}
.btn-outline-danger:hover {
    background-color: var(--color-breaking) !important;
    color: #ffffff !important;
}

/* Form inputs styling */
.form-control:focus, .form-select:focus {
    border-color: var(--color-brand-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(217, 161, 40, 0.25) !important;
}

/* Tabs & Pagination overrides */
.nav-tabs .nav-link.active {
    border-color: var(--color-border) var(--color-border) var(--color-brand-primary) !important;
    color: var(--color-brand-primary) !important;
}
.pagination .page-item.active .page-link {
    background-color: var(--color-brand-primary) !important;
    border-color: var(--color-brand-primary) !important;
    color: var(--color-brand-primary-contrast) !important;
}
.pagination .page-link {
    color: var(--color-text-primary);
}
.pagination .page-link:hover {
    color: var(--color-brand-primary);
}

/* --- Premium Revisions Styles --- */

/* 1. Breaking News Ticker */
.breaking-ticker-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 32px;
    min-width: 0 !important;
    overflow: hidden !important;
}
.breaking-ticker-wrap {
    display: inline-flex;
    animation: ticker 35s linear infinite;
}
.breaking-ticker-wrap:hover {
    animation-play-state: paused;
}
.breaking-ticker-item {
    color: var(--color-text-primary) !important;
    font-weight: var(--font-weight-bold);
    font-size: 0.92rem;
    padding-right: var(--space-8);
    display: inline-flex;
    align-items: center;
    transition: color var(--duration-fast);
}
.breaking-ticker-item:hover {
    color: var(--color-brand-primary) !important;
}
.bullet-separator {
    color: var(--color-breaking);
    margin-right: var(--space-3);
    font-size: 1.25rem;
    font-weight: bold;
}
@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* 2. Hero Overlay Card & Overlay styling */
.hero-overlay-card {
    height: 480px !important;
}
.hero-overlay-card .card-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0.98) 100%);
    padding: var(--space-8) var(--space-5) var(--space-5);
    display: flex;
    flex-direction: column;
    z-index: 5;
}
.hero-card-overlay .card-title-text a {
    color: #ffffff !important;
}
.hero-card-overlay .card-title-text a:hover {
    color: var(--color-brand-primary) !important;
}

/* 3. Live Stream Button Pulse Animation */
.animate-pulse {
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* 4. Afyon Kampüs Haber TV (Video) Section Dark Theme Overrides */
[data-theme="dark"] .entv-tv-section-dark .card {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
[data-theme="dark"] .entv-tv-section-dark .card-title,
[data-theme="dark"] .entv-tv-section-dark .text-dark,
[data-theme="dark"] .entv-tv-section-dark h5,
[data-theme="dark"] .entv-tv-section-dark h6,
[data-theme="dark"] .entv-tv-section-dark p {
    color: #ffffff !important;
}
[data-theme="dark"] .entv-tv-section-dark .card-footer {
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
}

/* 5. Theme adaptive utilities for articles and cards */
.bg-theme-card {
    background-color: var(--color-surface) !important;
}
.text-theme-primary {
    color: var(--color-text-primary) !important;
}
.text-theme-secondary {
    color: var(--color-text-secondary) !important;
}

/* 6. Header Action Buttons Uniformity styling */
.header-action-btn {
    height: 38px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 0 14px;
    border-radius: 6px !important;
    line-height: 1 !important;
}
.header-action-btn .spinner-grow {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
}

/* 7. Modal Dark Theme Overrides */
[data-theme="dark"] .modal-content .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

/* 8. News Cards Title Wrapping & Multiline Truncation */
.card-title-text, 
.card-title-text a, 
.compact-card-title, 
.compact-card-title a,
.card-news-base h2,
.card-news-base h2 a,
.card-news-base h5,
.card-news-base h5 a {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.compact-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 9. Premium Modern Footer Styling */
.entv-footer-modern {
    background: var(--color-footer-bg) !important;
    color: var(--color-footer-text) !important;
    font-family: 'Outfit', sans-serif;
    position: relative;
    border-top: 1px solid var(--color-footer-border) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.footer-gradient-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d91414 0%, #B13A2E 50%, #d91414 100%);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #8c8c8c;
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.85rem;
    color: #a3a3a3;
}

.contact-icon {
    color: var(--color-brand-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast);
}

.contact-item a:hover {
    color: var(--color-brand-primary) !important;
}

.footer-heading-modern {
    color: var(--color-footer-heading) !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-5);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.heading-accent {
    width: 6px;
    height: 14px;
    display: inline-block;
    border-radius: 2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: #8c8c8c !important;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: all var(--duration-fast) ease;
    display: inline-flex;
    align-items: center;
}

.footer-links-list li a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.badge-spor-link {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #B13A2E !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem !important;
    transition: all 0.3s ease !important;
}

.badge-spor-link:hover {
    background: var(--color-brand-primary) !important;
    color: #000000 !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
    transform: translateY(-2px) !important;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: var(--space-6) 0 var(--space-4);
}

.footer-bottom-bar {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Mobile & Tablet Specific Styling */
@media (max-width: 991.98px) {
    .entv-footer-modern {
        padding-bottom: 76px !important; /* Spacing for bottom nav */
    }
    
    .brand-column {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact-card {
        text-align: left;
        width: 100%;
        max-width: 500px;
    }
    
    .footer-heading-modern {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: var(--space-4);
        margin-bottom: var(--space-3);
    }
}

@media (max-width: 575.98px) {
    .footer-heading-modern {
        font-size: 0.85rem;
    }
    
    .footer-links-list li a {
        font-size: 0.82rem;
    }
}

/* 10. Theme Adaptive Core Overrides (Header, Footer, Live Banner) */
:root {
    --color-header-bg: #FFFFFF !important;
    --color-header-text: #132132 !important;
    --color-header-border: #D7DEE8 !important;
    --color-header-active-item-bg: rgba(0, 0, 0, 0.04) !important;
    --color-header-btn-border: rgba(0, 0, 0, 0.15) !important;
    
    --color-footer-bg: #F5F7FA !important;
    --color-footer-text: #5C6B7A !important;
    --color-footer-desc: #8c8c8c !important;
    --color-footer-border: rgba(0, 0, 0, 0.08) !important;
    --color-footer-card-bg: rgba(0, 0, 0, 0.02) !important;
    --color-footer-card-border: rgba(0, 0, 0, 0.05) !important;
    --color-footer-heading: #132132 !important;
    
    --color-live-banner-bg: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%) !important;
    --color-live-banner-text: #1E293B !important;
    --color-live-banner-desc: #475569 !important;
}

[data-theme="dark"] {
    --color-header-bg: #1e293b !important;
    --color-header-text: #F8FAFC !important;
    --color-header-border: #334155 !important;
    --color-header-active-item-bg: rgba(255, 255, 255, 0.04) !important;
    --color-header-btn-border: rgba(255, 255, 255, 0.25) !important;
    
    --color-footer-bg: #0c0b0a !important;
    --color-footer-text: #a3a3a3 !important;
    --color-footer-desc: #8c8c8c !important;
    --color-footer-border: rgba(255, 255, 255, 0.05) !important;
    --color-footer-card-bg: rgba(255, 255, 255, 0.02) !important;
    --color-footer-card-border: rgba(255, 255, 255, 0.05) !important;
    --color-footer-heading: #ffffff !important;
    
    --color-live-banner-bg: linear-gradient(135deg, #181411 0%, #0d0b09 100%) !important;
    --color-live-banner-text: #F8FAFC !important;
    --color-live-banner-desc: #cbd5e1 !important;
}

/* Header Adaptive Styles */
.entv-header {
    background-color: var(--color-header-bg) !important;
    border-bottom: 1px solid var(--color-header-border) !important;
}

.header-btn-adaptive {
    border: 1px solid var(--color-header-btn-border) !important;
    background-color: transparent !important;
    color: var(--color-header-text) !important;
}

.header-btn-adaptive i,
.header-btn-adaptive span {
    color: var(--color-header-text) !important;
}

.header-btn-adaptive:hover {
    background-color: var(--color-brand-primary) !important;
    color: var(--color-brand-primary-contrast) !important;
    border-color: transparent !important;
}

.header-btn-adaptive:hover i,
.header-btn-adaptive:hover span {
    color: var(--color-brand-primary-contrast) !important;
}

/* Footer Adaptive Styles */
.entv-footer-modern {
    background-color: var(--color-footer-bg) !important;
    color: var(--color-footer-text) !important;
    border-top: 1px solid var(--color-footer-border) !important;
}

.entv-footer-modern .footer-desc {
    color: var(--color-footer-desc) !important;
}

.entv-footer-modern .footer-contact-card {
    background: var(--color-footer-card-bg) !important;
    border: 1px solid var(--color-footer-card-border) !important;
}

.entv-footer-modern .contact-item {
    color: var(--color-footer-text) !important;
}

.entv-footer-modern .footer-links-list li a {
    color: var(--color-footer-text) !important;
}

.entv-footer-modern .footer-links-list li a:hover {
    color: var(--color-brand-primary) !important;
    transform: translateX(3px) !important;
}

.entv-footer-modern .footer-divider {
    background: var(--color-footer-border) !important;
}

/* Live Banner Adaptive Styles */
.live-stream-home-banner {
    background: var(--color-live-banner-bg) !important;
    border-left: 5px solid #d91414 !important;
}

.live-banner-title {
    color: var(--color-live-banner-text) !important;
}

.live-banner-desc {
    color: var(--color-live-banner-desc) !important;
}

/* 11. Sports & Video Sections Adaptive Styling */
:root {
    --color-sports-section-bg: #f8fafc !important;
    --color-sports-section-text: #1e293b !important;
    --color-sports-section-card-bg: #ffffff !important;
    --color-sports-section-card-border: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="dark"] {
    --color-sports-section-bg: #0b1220 !important;
    --color-sports-section-text: #f8fafc !important;
    --color-sports-section-card-bg: rgba(255, 255, 255, 0.04) !important;
    --color-sports-section-card-border: rgba(255, 255, 255, 0.08) !important;
}

.sports-section-dark {
    background-color: var(--color-sports-section-bg) !important;
    color: var(--color-sports-section-text) !important;
    border-top: 4px solid var(--color-sport) !important;
}

.sports-section-dark .card,
.sports-section-dark .card-news-base {
    background-color: var(--color-sports-section-card-bg) !important;
    border: 1px solid var(--color-sports-section-card-border) !important;
    color: var(--color-sports-section-text) !important;
}

.sports-section-dark h1,
.sports-section-dark h2,
.sports-section-dark h3,
.sports-section-dark h4,
.sports-section-dark h5,
.sports-section-dark h6,
.sports-section-dark p,
.sports-section-dark a:not(.btn) {
    color: var(--color-sports-section-text) !important;
}

.sports-section-dark .text-secondary,
.sports-section-dark .text-muted,
.sports-section-dark .card-meta-bar,
.sports-section-dark .card-footer {
    color: var(--color-sports-section-text) !important;
    opacity: 0.75 !important;
    border-color: var(--color-sports-section-card-border) !important;
}

/* 12. Footer Link Lists Symmetry & Spacing alignment */
.footer-links-list li a i {
    display: inline-block !important;
    width: 24px !important;
    text-align: left !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
}

.badge-spor-link i {
    width: auto !important;
    margin-right: 6px !important;
}

/* Mobile Alignment & Symmetry */
@media (max-width: 991.98px) {
    .footer-links-list {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-links-list li {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .footer-links-list li a {
        justify-content: center !important;
        transform: none !important; /* Disable translateX animation on mobile for symmetry */
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .footer-links-list li a i {
        text-align: center !important;
        width: auto !important;
        margin-right: 8px !important;
    }
}

/* 13. Mega Menu Panel Theme Adaptive Contrast Styling */
:root {
    --color-mega-menu-bg: #ffffff !important;
    --color-mega-menu-border: #ddd8ce !important;
    --color-mega-menu-text: #334155 !important;
    --color-mega-menu-title: #b45309 !important; /* Amber-700 (dark gold) for high readability on white */
}

[data-theme="dark"] {
    --color-mega-menu-bg: #102A4C !important;
    --color-mega-menu-border: rgba(255, 255, 255, 0.12) !important;
    --color-mega-menu-text: #cbd5e1 !important;
    --color-mega-menu-title: #B13A2E !important; /* Gold on dark background */
}

.mega-menu-panel {
    background: var(--color-mega-menu-bg) !important;
    border: 2px solid var(--color-mega-menu-border) !important;
}

.mega-menu-panel::before {
    background-color: var(--color-mega-menu-bg) !important;
    border-left: 2px solid var(--color-mega-menu-border) !important;
    border-top: 2px solid var(--color-mega-menu-border) !important;
}

.mega-menu-title {
    color: var(--color-mega-menu-title) !important;
    border-color: var(--color-mega-menu-border) !important;
}

.mega-menu-list a {
    color: var(--color-mega-menu-text) !important;
}

.mega-menu-list a:hover {
    color: var(--color-brand-primary) !important;
}

/* Custom class icon/text inside mega menu overrides for light theme contrast */
.mega-menu-panel a.text-primary, 
.mega-menu-panel .text-primary i,
.mega-menu-panel .mega-menu-list a.fw-bold.text-primary {
    color: var(--color-mega-menu-title) !important;
}

.mega-menu-panel a.text-primary:hover,
.mega-menu-panel .mega-menu-list a.fw-bold.text-primary:hover {
    color: var(--color-brand-primary-hover) !important;
}

/* 14. Mobile Drawer Panel Theme Adaptive Styling */
.mobile-drawer-panel {
    background-color: var(--color-header-bg) !important;
    color: var(--color-header-text) !important;
    border-left: 1px solid var(--color-header-border) !important;
}

.mobile-drawer-header {
    border-bottom: 1px solid var(--color-header-border) !important;
}

.mobile-drawer-header .btn-close {
    color: var(--color-header-text) !important;
}

[data-theme="dark"] .mobile-drawer-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

.mobile-drawer-body a {
    color: var(--color-header-text) !important;
    opacity: 0.85 !important;
}

.mobile-drawer-body a:hover {
    color: var(--color-brand-primary) !important;
    opacity: 1 !important;
}

.mobile-drawer-panel h6 {
    color: var(--color-header-text) !important;
    border-color: var(--color-header-border) !important;
    opacity: 0.8 !important;
}

/* 15. Premium 3D Logo Contrast Shadow Rules for Light Theme */
html[data-theme="light"] .entv-brand-img-logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.22)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18)) !important;
}

/* 16. Topbar Elements Forced White Color (Both Themes) */
.entv-topbar,
.entv-topbar span,
.entv-topbar i,
.entv-topbar a,
.entv-topbar button {
    color: #ffffff !important;
}
.entv-topbar span.text-dark {
    color: #ffffff !important;
}
.entv-topbar i.text-danger {
    color: #ffffff !important;
}
.entv-topbar i.text-warning {
    color: #ffffff !important;
}
.entv-topbar span.opacity-50 {
    opacity: 0.5 !important;
}

/* 17. Light Theme Accent Badges Contrast Custom Styling (Kampüs Spor & Orbis Ajans) */
html[data-theme="light"] .badge-spor-link {
    background: rgba(180, 83, 9, 0.08) !important;
    border: 1px solid rgba(180, 83, 9, 0.25) !important;
    color: #b45309 !important;
}

html[data-theme="light"] .badge-spor-link:hover {
    background: #b45309 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25) !important;
}

html[data-theme="light"] .orbis-badge {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.08), rgba(220, 38, 38, 0.08)) !important;
    border: 1px solid rgba(180, 83, 9, 0.25) !important;
    color: #b45309 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

html[data-theme="light"] .orbis-badge:hover {
    background: linear-gradient(135deg, #b45309, #dc2626) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.25) !important;
}

/* 18. Footer Layout Alignment & Contact Card Contrast Custom Styling */
.entv-footer-modern .row {
    align-items: flex-start !important;
}

.entv-footer-modern .footer-heading-modern {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (min-width: 992px) {
    .entv-footer-modern .col-lg-2,
    .entv-footer-modern .col-lg-3,
    .entv-footer-modern .col-lg-4 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .entv-footer-modern .col-lg-2 {
        max-width: 160px !important;
    }
    .entv-footer-modern .col-lg-3 {
        max-width: 230px !important;
    }
}

html[data-theme="light"] .entv-footer-modern .contact-item a,
html[data-theme="light"] .entv-footer-modern .contact-item i {
    color: var(--color-footer-text) !important;
}

html[data-theme="light"] .entv-footer-modern .contact-item a:hover {
    color: var(--color-brand-primary) !important;
}

/* 19. Afyon Districts Filter Button Custom Hover Style */
.btn-district-filter {
    transition: all var(--duration-fast) var(--easing-standard) !important;
}
.btn-district-filter:hover {
    background-color: var(--color-brand-primary) !important;
    border-color: var(--color-brand-primary) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.25) !important;
}

/* 20. Tüm Spor Haberleri Button Custom Style */
.btn-sports-more {
    color: #b45309 !important;
    border: 1px solid #b45309 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    transition: all var(--duration-fast) var(--easing-standard) !important;
    border-radius: var(--radius-sm, 6px);
    padding: 0.35rem 1rem !important;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
}

.btn-sports-more:hover {
    background-color: #b45309 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.25) !important;
}

/* Dark theme overrides for sports more button */
html[data-theme="dark"] .btn-sports-more {
    color: #B13A2E !important;
    border: 1px solid rgba(251, 191, 36, 0.5) !important;
}

html[data-theme="dark"] .btn-sports-more:hover {
    background-color: #B13A2E !important;
    color: #000000 !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3) !important;
}

/* 21. Specific Hover Text Color Overrides for Kampüs Spor badge (Specificity Fix) */
html[data-theme="dark"] .entv-footer-modern .footer-links-list li a.badge-spor-link:hover {
    color: #000000 !important;
}

html[data-theme="light"] .entv-footer-modern .footer-links-list li a.badge-spor-link:hover {
    color: #ffffff !important;
}

/* 22. Search Overlay Popular Tags Theme Adaptive Styling */
.search-popular-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-sm, 6px) !important;
    text-decoration: none !important;
    background-color: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    transition: all var(--duration-fast) var(--easing-standard) !important;
}

.search-popular-tag:hover {
    background-color: var(--color-brand-primary) !important;
    color: #000000 !important;
    border-color: var(--color-brand-primary) !important;
}

/* Dark theme overrides for popular search tags */
html[data-theme="dark"] .search-popular-tag {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .search-popular-tag:hover {
    background-color: var(--color-brand-primary) !important;
    color: #000000 !important;
    border-color: var(--color-brand-primary) !important;
}

/* Horizontal scrolling for district filters on mobile, wrap on desktop */
.custom-horizontal-scroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
.custom-horizontal-scroll {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

@media (min-width: 768px) {
    .custom-horizontal-scroll {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }
}

/* 23. Afyon Kampüs Haber premium footer, imprint and district contrast pass */
.akh-premium-footer {
    background:
        linear-gradient(180deg, rgba(245, 247, 250, 0.96), rgba(238, 243, 249, 0.98)) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -18px 52px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="dark"] .akh-premium-footer {
    background:
        radial-gradient(circle at top left, rgba(177, 58, 46, 0.16), transparent 30%),
        linear-gradient(180deg, #101827 0%, #070b12 100%) !important;
}

.akh-footer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(1rem, 3vw, 2.25rem);
    align-items: stretch;
    margin-bottom: 2rem;
}

.akh-footer-brand,
.akh-footer-newsletter,
.akh-footer-panel {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.akh-footer-brand {
    padding: 1.35rem;
}

.akh-premium-footer .footer-logo-wrapper {
    display: inline-flex;
    margin-bottom: 0.75rem;
}

.akh-premium-footer .footer-desc {
    color: #475569 !important;
    max-width: 720px;
    margin-bottom: 1rem;
}

.akh-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.akh-footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #14213d;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 61, 0.1);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.akh-footer-badges i {
    color: #b91c1c;
}

.akh-footer-newsletter {
    padding: 1.35rem;
}

.akh-footer-newsletter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.akh-footer-newsletter input {
    min-width: 0;
    height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    padding: 0 0.9rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
}

.akh-footer-newsletter button {
    height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 0 1rem;
    background: #b91c1c;
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.akh-footer-newsletter p {
    color: #64748b;
    margin: 0.75rem 0 0;
    font-size: 0.83rem;
}

.akh-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(150px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.akh-footer-panel {
    padding: 1.1rem;
}

.akh-premium-footer .footer-contact-card {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    gap: 0.65rem !important;
}

.akh-premium-footer .contact-item,
.akh-premium-footer .footer-links-list li a,
.akh-premium-footer .contact-item a {
    color: #475569 !important;
}

.akh-premium-footer .contact-item strong,
.akh-premium-footer .footer-heading-modern {
    color: #0f172a !important;
}

.akh-premium-footer .footer-links-list {
    gap: 0.58rem !important;
}

.akh-premium-footer .footer-links-list li {
    margin-bottom: 0 !important;
}

.akh-premium-footer .footer-links-list li a {
    width: 100%;
    gap: 0.55rem;
    min-height: 34px;
    padding: 0.28rem 0;
    font-size: 0.92rem !important;
}

.akh-premium-footer .footer-links-list li a:hover,
.akh-premium-footer .contact-item a:hover {
    color: #b91c1c !important;
}

.akh-premium-footer .badge-spor-link {
    background: #fff7ed !important;
    color: #9a3412 !important;
    border-color: rgba(154, 52, 18, 0.2) !important;
}

.akh-premium-footer .footer-divider {
    background: rgba(15, 23, 42, 0.1) !important;
}

.akh-premium-footer .footer-bottom-bar {
    color: #475569 !important;
}

.akh-premium-footer .copyright-text,
.akh-premium-footer .sig-label {
    color: #475569 !important;
}

.akh-premium-footer .orbis-badge {
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid rgba(185, 28, 28, 0.2) !important;
    color: #b91c1c !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.akh-premium-footer .orbis-badge:hover {
    background: #b91c1c !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .akh-footer-brand,
html[data-theme="dark"] .akh-footer-newsletter,
html[data-theme="dark"] .akh-footer-panel {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}

html[data-theme="dark"] .akh-premium-footer .footer-desc,
html[data-theme="dark"] .akh-premium-footer .contact-item,
html[data-theme="dark"] .akh-premium-footer .footer-links-list li a,
html[data-theme="dark"] .akh-premium-footer .contact-item a,
html[data-theme="dark"] .akh-premium-footer .copyright-text,
html[data-theme="dark"] .akh-premium-footer .sig-label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .akh-premium-footer .footer-heading-modern,
html[data-theme="dark"] .akh-premium-footer .contact-item strong {
    color: #ffffff !important;
}

html[data-theme="dark"] .akh-footer-badges span,
html[data-theme="dark"] .akh-footer-newsletter input,
html[data-theme="dark"] .akh-premium-footer .orbis-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}

.akh-district-hero {
    position: relative;
    isolation: isolate;
}

.akh-district-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 15, 28, 0.18), rgba(7, 15, 28, 0.72)),
        radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--district-accent) 34%, transparent), transparent 34%);
    z-index: -1;
}

.akh-district-hero .card-body {
    position: relative;
    z-index: 1;
}

.akh-district-hero .akh-district-title,
.akh-district-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.akh-district-motto {
    color: #fde68a !important;
    opacity: 1 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.akh-district-desc {
    color: #eaf2ff !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

.akh-district-stats {
    color: #f8fafc !important;
}

.akh-district-stats h3 {
    color: #ffffff !important;
    opacity: 1 !important;
}

.akh-district-stats span:first-child {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

.akh-district-stats span:last-child {
    color: #ffffff !important;
}

.akh-imprint-page {
    background:
        linear-gradient(180deg, rgba(241, 245, 249, 0.7), rgba(255, 255, 255, 0.98));
}

.akh-imprint-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: end;
    background: linear-gradient(135deg, #0f2743 0%, #132132 64%, #8d2b24 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.akh-section-kicker {
    display: inline-flex;
    align-items: center;
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.akh-imprint-hero h1 {
    color: #ffffff !important;
    font-weight: 900;
    margin: 0;
}

.akh-imprint-hero p {
    color: #dbeafe;
    margin: 0.8rem 0 0;
    max-width: 760px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.akh-imprint-status {
    min-width: 150px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.akh-imprint-status span {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.82rem;
    color: #dbeafe;
    font-weight: 800;
}

.akh-imprint-status strong {
    display: block;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.1;
    margin-top: 0.25rem;
}

.akh-imprint-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.akh-imprint-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    padding: clamp(1rem, 2.6vw, 1.5rem);
}

.akh-imprint-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.akh-card-heading {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.akh-card-heading > span {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #fee2e2;
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.akh-card-heading h2 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0;
}

.akh-card-heading p {
    color: #64748b;
    margin: 0.2rem 0 0;
    line-height: 1.45;
}

.akh-imprint-list,
.akh-mini-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.akh-imprint-list div,
.akh-mini-list div {
    display: grid;
    grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
    gap: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.65rem;
}

.akh-imprint-list dt,
.akh-mini-list dt {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
}

.akh-imprint-list dd,
.akh-mini-list dd {
    color: #0f172a;
    font-weight: 800;
    margin: 0;
}

.akh-address {
    color: #334155;
    line-height: 1.7;
    margin: 0;
}

.akh-contact-actions {
    display: grid;
    gap: 0.55rem;
}

.akh-contact-actions a,
.akh-principle-grid a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    min-width: 0;
    overflow-wrap: anywhere;
    align-items: center;
    gap: 0.55rem;
    min-height: 40px;
    color: #14213d;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

.akh-contact-actions a:hover,
.akh-principle-grid a:hover {
    color: #b91c1c;
    border-color: rgba(185, 28, 28, 0.2);
}

.akh-editorial-principles {
    display: grid;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.akh-editorial-principles h2 {
    color: #0f172a;
    font-weight: 900;
    margin: 0;
}

.akh-editorial-principles .akh-section-kicker {
    color: #8a4b08;
    letter-spacing: 0;
}

html[data-theme="dark"] .akh-editorial-principles .akh-section-kicker {
    color: #fbbf24;
}

.akh-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 1199.98px) {
    .akh-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .akh-footer-hero,
    .akh-imprint-layout,
    .akh-editorial-principles {
        grid-template-columns: 1fr;
    }

    .akh-principle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .akh-premium-footer .footer-heading-modern {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

@media (max-width: 575.98px) {
    .akh-footer-grid,
    .akh-footer-newsletter-row,
    .akh-principle-grid,
    .akh-imprint-hero,
    .akh-imprint-list div,
    .akh-mini-list div {
        grid-template-columns: 1fr;
    }

    .akh-footer-newsletter button {
        width: 100%;
        justify-content: center;
    }

    .akh-district-hero .display-5 {
        font-size: 2rem;
    }
}

.live-player-shell {
    position: relative;
    overflow: hidden;
    background: #060b14;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(10, 23, 42, 0.18);
}

.live-player-shell-compact {
    box-shadow: 0 14px 32px rgba(10, 23, 42, 0.2);
}

.live-player-shell iframe,
.live-player-shell mux-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #060b14;
}

.live-player-placeholder {
    position: relative;
    min-height: 100%;
    background:
        linear-gradient(135deg, rgba(10, 27, 48, 0.94), rgba(9, 18, 34, 0.98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
    background-size: cover;
    background-position: center;
}

.live-player-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 80px rgba(239, 51, 64, 0.14);
}

.live-player-placeholder > * {
    position: relative;
    z-index: 1;
}

.live-player-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #ef3340;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    padding: 8px 14px;
}

.live-player-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

/* Premium polish and overflow hardening */
body {
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 193, 7, 0.1), transparent 28rem),
        radial-gradient(circle at 92% 8%, rgba(215, 38, 56, 0.08), transparent 26rem),
        linear-gradient(180deg, var(--akh-surface-tint, #f3f7fb) 0%, #ffffff 42%, #f8fafc 100%) !important;
}

body.site-header-static .entv-header {
    position: relative !important;
}

body .entv-topbar {
    background: var(--akh-admin-primary, var(--color-brand-primary)) !important;
}

body .entv-header {
    border-bottom-color: var(--akh-admin-primary, var(--color-brand-primary)) !important;
}

body .btn-danger,
body .breaking-badge,
body .live-player-status {
    background-color: var(--akh-admin-breaking, var(--color-breaking)) !important;
    border-color: var(--akh-admin-breaking, var(--color-breaking)) !important;
}

body .nav-link-sports {
    background-color: var(--akh-admin-sport, var(--color-sport)) !important;
}

.btn,
button:not(.btn-close),
.badge,
.header-action-btn,
.breaking-badge,
.akh-footer-newsletter button,
.akh-mode-tile,
.btn-district-filter,
.btn-sports-more {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
    line-height: 1.22 !important;
}

.btn,
button:not(.btn-close),
.header-action-btn,
.akh-footer-newsletter button,
.akh-mode-tile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
}

.btn i,
button:not(.btn-close) i,
.badge i,
.akh-mode-tile i {
    flex: 0 0 auto;
}

.header-action-btn {
    height: auto !important;
    min-height: 38px !important;
    padding: 0.45rem 0.72rem !important;
}

.card-title-text,
.card-title-text a,
.compact-card-title,
.compact-card-title a,
.list-group-item,
.footer-links-list a,
.mega-menu-list a {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    min-width: 0;
}

.akh-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--akh-admin-breaking, #d72638), var(--akh-admin-sport, #ffc107));
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 3000;
    box-shadow: 0 0 18px rgba(215, 38, 56, 0.35);
}

.akh-premium-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 1rem;
    align-items: stretch;
    padding: clamp(1.1rem, 2.2vw, 1.75rem);
    background:
        linear-gradient(135deg, rgba(16, 42, 76, 0.96), rgba(7, 20, 38, 0.98)),
        linear-gradient(90deg, rgba(255, 193, 7, 0.12), transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.16);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.akh-premium-rail::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 58%);
    transform: translateX(-100%);
    pointer-events: none;
}

.premium-motion-on .akh-premium-rail::before {
    animation: akhRailSheen 5.8s ease-in-out infinite;
}

.akh-premium-rail-copy,
.akh-premium-mode-panel {
    position: relative;
    z-index: 1;
}

.akh-premium-eyebrow,
.akh-premium-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    color: #071426;
    background: var(--akh-admin-sport, #ffc107);
    padding: 0.46rem 0.72rem;
    line-height: 1.2;
}

.akh-premium-rail h1 {
    margin: 0.85rem 0 0.55rem;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: clamp(1.45rem, 3vw, 2.75rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.akh-premium-rail p {
    margin: 0;
    max-width: 780px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.65;
}

.akh-premium-mode-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.akh-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.akh-mode-tile {
    min-height: 62px;
    border-radius: 8px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 850;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.akh-mode-tile i {
    color: var(--akh-admin-sport, #ffc107);
    font-size: 1.15rem;
}

.akh-mode-tile:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.akh-mode-live {
    background: rgba(215, 38, 56, 0.26);
    border-color: rgba(215, 38, 56, 0.45);
}

.premium-motion-on .headline-grid,
.premium-motion-on .card-news-base,
.premium-motion-on .akh-footer-panel,
.premium-motion-on .live-stream-home-banner {
    animation: akhFadeUp 560ms ease both;
}

.premium-motion-on .card-news-base,
.premium-motion-on .akh-footer-panel,
.premium-motion-on .akh-contact-card {
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.premium-motion-on .card-news-base:hover,
.premium-motion-on .akh-footer-panel:hover,
.premium-motion-on .akh-contact-card:hover {
    transform: translateY(-3px);
}

@keyframes akhFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes akhRailSheen {
    0%, 42% {
        transform: translateX(-100%);
    }
    74%, 100% {
        transform: translateX(100%);
    }
}

@media (max-width: 991.98px) {
    .akh-premium-rail {
        grid-template-columns: 1fr;
    }

    .akh-premium-mode-panel {
        padding: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .btn,
    button:not(.btn-close),
    .header-action-btn,
    .akh-mode-tile {
        font-size: 0.9rem !important;
    }

    .akh-mode-grid {
        grid-template-columns: 1fr;
    }

    .akh-premium-rail {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-motion-on .headline-grid,
    .premium-motion-on .card-news-base,
    .premium-motion-on .akh-footer-panel,
    .premium-motion-on .live-stream-home-banner,
    .premium-motion-on .akh-premium-rail::before {
        animation: none !important;
    }

    .premium-motion-on .card-news-base:hover,
    .premium-motion-on .akh-footer-panel:hover,
    .premium-motion-on .akh-contact-card:hover,
    .akh-mode-tile:hover {
        transform: none !important;
    }
}

/* Final header and dark-theme UX hardening */
.entv-header .entv-container {
    max-width: min(100%, 1640px);
}

.entv-header-inner {
    height: 72px !important;
    gap: clamp(0.55rem, 1vw, 1.15rem);
    min-width: 0;
}

.entv-logo-link {
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.entv-header .entv-brand-logo {
    width: clamp(126px, 9vw, 164px) !important;
    height: auto !important;
    max-width: none !important;
    max-height: 56px !important;
    object-fit: contain;
}

.entv-header nav {
    flex: 1 1 auto;
    min-width: 0;
}

.entv-header .entv-nav-list {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: clamp(0.1rem, 0.35vw, 0.45rem) !important;
    min-width: 0;
}

.entv-header .entv-nav-item {
    flex: 0 0 auto;
}

.entv-header .entv-nav-item .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    min-height: 38px !important;
    padding: 0.45rem 0.55rem !important;
    border-radius: 8px !important;
    font-size: clamp(0.78rem, 0.72vw, 0.9rem) !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

.entv-header .entv-nav-item .nav-link i {
    flex: 0 0 auto;
}

.entv-header-actions {
    flex: 0 0 auto;
    min-width: max-content;
}

.entv-header .header-action-btn,
.entv-header #mobileMenuBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0.45rem 0.68rem !important;
    border-radius: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    text-align: center !important;
}

.entv-header .header-action-btn span,
.entv-header .header-action-btn i,
.entv-header #mobileMenuBtn i {
    flex: 0 0 auto;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

.entv-header .header-icon-btn,
.entv-header #mobileMenuBtn.header-icon-btn {
    width: 40px !important;
    padding: 0 !important;
}

.entv-header .header-live-btn {
    min-width: 72px !important;
    font-size: 0.88rem !important;
    font-weight: 900 !important;
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .entv-header .entv-brand-logo {
        width: 132px !important;
    }

    .entv-header .entv-nav-item .nav-link {
        font-size: 0.78rem !important;
        padding: 0.42rem 0.42rem !important;
    }

    .entv-header .header-action-btn,
    .entv-header #mobileMenuBtn {
        padding: 0.42rem 0.54rem !important;
    }
}

@media (max-width: 575.98px) {
    .entv-header-inner {
        height: 68px !important;
        gap: 8px;
        justify-content: space-between;
    }

    .entv-logo-link {
        padding: 0;
        flex: 0 1 118px !important;
    }

    .entv-header .entv-brand-logo {
        width: 118px !important;
        max-width: 100% !important;
        max-height: 48px !important;
    }

    .entv-header .header-action-btn,
    .entv-header #mobileMenuBtn {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
    }

    .entv-header .header-live-btn > span {
        display: none !important;
    }

    .entv-header .header-live-btn > i {
        margin: 0 !important;
        font-size: 18px !important;
    }

    .entv-header-actions {
        gap: 4px !important;
    }

    .entv-header .header-action-btn.animate-pulse {
        animation: none;
    }
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 34rem),
        #071426 !important;
    color: #eaf2ff !important;
}

html[data-theme="dark"] .entv-logo-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html[data-theme="dark"] .entv-logo-link img {
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px rgba(255, 255, 255, 0.75));
}

html[data-theme="dark"] .entv-topbar .text-dark,
html[data-theme="dark"] .entv-topbar .topbar-link,
html[data-theme="dark"] .entv-topbar .topbar-link.text-dark,
html[data-theme="dark"] .entv-topbar .weather-mini-card,
html[data-theme="dark"] .entv-topbar .weather-mini-card * {
    color: rgba(255, 255, 255, 0.9) !important;
}

html[data-theme="dark"] .entv-header,
html[data-theme="dark"] .mega-menu-panel,
html[data-theme="dark"] .dropdown-menu {
    background-color: rgba(7, 20, 38, 0.96) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="dark"] .entv-nav-item .nav-link {
    color: rgba(248, 250, 252, 0.94) !important;
}

html[data-theme="dark"] .entv-nav-item .nav-link:hover,
html[data-theme="dark"] .entv-nav-item .nav-link.active {
    color: #ffc107 !important;
    background-color: rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .nav-link-sports,
html[data-theme="dark"] .nav-link-sports:hover,
html[data-theme="dark"] .badge.bg-warning.text-dark,
html[data-theme="dark"] .btn-warning.text-dark,
html[data-theme="dark"] .akh-premium-eyebrow,
html[data-theme="dark"] .akh-premium-badge {
    color: #071426 !important;
}

html[data-theme="dark"] .akh-imprint-page {
    background: #071426;
}

html[data-theme="dark"] .akh-imprint-card,
html[data-theme="dark"] .akh-editorial-principles,
html[data-theme="dark"] .akh-contact-actions a,
html[data-theme="dark"] .akh-principle-grid a {
    background: #0f2238;
    color: #eaf2ff;
    border-color: #34465c;
}

html[data-theme="dark"] .akh-imprint-list dt,
html[data-theme="dark"] .akh-mini-list dt {
    color: #b8c7dc;
}

html[data-theme="dark"] .akh-contact-actions a,
html[data-theme="dark"] .akh-principle-grid a {
    color: #dbeafe !important;
}

html[data-theme="dark"] .akh-contact-actions a:hover,
html[data-theme="dark"] .akh-principle-grid a:hover {
    color: #fbbf24 !important;
    background: #18334f;
}

html[data-theme="dark"] .akh-imprint-list dd,
html[data-theme="dark"] .akh-mini-list dd {
    color: #f8fafc;
}

html[data-theme="dark"] .akh-imprint-list div,
html[data-theme="dark"] .akh-mini-list div {
    border-color: #34465c;
}

html[data-theme="dark"] .breadcrumb {
    --bs-breadcrumb-divider-color: #b8c7dc;
}

html[data-theme="dark"] main a.text-primary,
html[data-theme="dark"] main .text-primary:not(.btn) {
    color: #85baff !important;
}

html[data-theme="dark"] main a.text-success,
html[data-theme="dark"] main .text-success:not(.btn) {
    color: #64d99a !important;
}

.akh-imprint-card,
.akh-card-heading > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .table,
html[data-theme="dark"] .table-light {
    background-color: #0f2238 !important;
    color: #eaf2ff !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="dark"] .text-dark,
html[data-theme="dark"] .text-theme-primary,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .card-title a,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .text-secondary,
html[data-theme="dark"] .text-theme-secondary,
html[data-theme="dark"] .card-text,
html[data-theme="dark"] .small,
html[data-theme="dark"] small,
html[data-theme="dark"] p {
    color: #b8c7dc !important;
}

html[data-theme="dark"] a:not(.btn):not(.nav-link-sports):not(.akh-mode-tile):not(.orbis-badge) {
    color: #dbeafe;
}

html[data-theme="dark"] a:not(.btn):not(.nav-link-sports):not(.akh-mode-tile):not(.orbis-badge):hover {
    color: #ffc107;
}

html[data-theme="dark"] .btn-outline-primary,
html[data-theme="dark"] .btn-outline-secondary,
html[data-theme="dark"] .header-btn-adaptive {
    border-color: rgba(255, 255, 255, 0.26) !important;
    color: #f8fafc !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

html[data-theme="dark"] .btn-outline-primary:hover,
html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .header-btn-adaptive:hover {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #071426 !important;
}

html[data-theme="dark"] .btn-outline-primary:hover i,
html[data-theme="dark"] .btn-outline-primary:hover span,
html[data-theme="dark"] .btn-outline-secondary:hover i,
html[data-theme="dark"] .btn-outline-secondary:hover span,
html[data-theme="dark"] .header-btn-adaptive:hover i,
html[data-theme="dark"] .header-btn-adaptive:hover span {
    color: #071426 !important;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] input {
    background-color: #071426 !important;
    color: #f8fafc !important;
    border-color: rgba(148, 163, 184, 0.3) !important;
}

html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] textarea::placeholder,
html[data-theme="dark"] input::placeholder {
    color: #8ea4bd !important;
}

html[data-theme="dark"] .search-modal-card,
html[data-theme="dark"] .search-overlay-backdrop .bg-light,
html[data-theme="dark"] .mobile-menu-drawer,
html[data-theme="dark"] .mobile-drawer-content,
html[data-theme="dark"] .mobile-bottom-nav {
    background-color: #0b1b2f !important;
    color: #f8fafc !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-start,
html[data-theme="dark"] .border-end {
    border-color: rgba(148, 163, 184, 0.18) !important;
}

html[data-theme="dark"] .shadow-sm,
html[data-theme="dark"] .shadow,
html[data-theme="dark"] .shadow-lg {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32) !important;
}

.breaking-news-inner {
    min-width: 0;
}

.breaking-badge {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    padding: 0.48rem 0.8rem !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    line-height: 1 !important;
}

.breaking-ticker-container {
    min-width: 0;
}

.breaking-ticker-item {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

@media (max-width: 575.98px) {
    .breaking-news-inner {
        gap: 0.45rem;
    }

    .breaking-badge {
        font-size: 0.68rem !important;
        padding: 0.45rem 0.55rem !important;
    }
}
