/* Premium Ajans1 Styles - High End Version */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
    --primary: #c2410c;
    --primary-hover: #9a3412;
    --secondary: #ea580c;
    --accent: #f59e0b;
    --dark: #000000;
    --light: #f8fafc;
    --text-main: #000000;
    --text-muted: #4b5563;
    --text-light: #6b7280;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--light);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Card Enhancements */
.card {
    border: none !important;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    background-color: #fff;
    padding-bottom: 10px;
    margin-bottom: 15px !important;
}

.bg-white.border.shadow-sm, 
.bg-white.shadow-sm, 
.news-article-card, 
.sidebar-module,
.category-block-header {
    margin-bottom: 15px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Button Styling */
.btn {
    border-radius: 0;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Features */
.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 24px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

/* Pricing */
.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 40px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

/* Footer */
footer {
    background: #111827 !important; /* Richer dark color */
    color: #9ca3af;
    padding: 60px 0 30px;
    overflow-x: hidden !important;
}

footer h6 {
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 13px !important;
}

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

footer .footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    display: inline-block;
}

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

.hover-white:hover {
    color: #ffffff !important;
}

.social-icon-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 14px;
}

.social-icon-link:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px);
}

/* Logo Dynamic Switching */
body.dark-mode .logo-light { display: none !important; }
body.dark-mode .logo-dark { display: block !important; }

/* Responsive */
@media (max-width: 991px) {
    .pricing-card.popular {
        transform: scale(1);
        margin: 20px 0;
    }
}

/* Technological Infrastructure Section Styles */
.bg-dark-deep {
    background: radial-gradient(circle at 0% 0%, #1a1c2c 0%, #0f101a 100%);
}

.pulse-green {
    width: 10px;
    height: 10px;
    background: #00ff80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 255, 128, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 128, 0); }
}

.pulse-red-signal {
    background: #dc3545;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    animation: red-signal-pulse 1.5s infinite;
    display: inline-flex;
    align-items: center;
    border: none;
}

@keyframes red-signal-pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.ls-2 { letter-spacing: 2px; }

.tech-icon-sm {
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0d6efd;
}

.terminal-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-body {
    background: #0d0d0d;
    font-family: monospace;
}

.animate-cursor {
    animation: blink 1s infinite;
    font-weight: bold;
    color: #0d6efd;
}

@keyframes blink {
    50% { opacity: 0; }
}

.bg-glow {
    position: absolute;
    top: 50%;
    right: 0%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.bg-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Back to Top Button - Enhanced */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    border: 2px solid white;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: btt-pulse 2s infinite;
}

@keyframes btt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

#backToTop:hover {
    background: #0052cc;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.5);
}

/* News Portal Styles */
.top-info-bar { background: #f8f9fa; border-bottom: 1px solid #eee; padding: 5px 0; font-size: 13px; font-weight: 500; }
.finance-item { display: inline-flex; align-items: center; margin-right: 20px; }
.finance-up { color: #28a745; }
.finance-down { color: #dc3545; }

.news-ticker-container { background: #fff; border-bottom: 1px solid #eee; height: 40px; display: flex; align-items: center; overflow: hidden; }
.ticker-label { background: #dc3545; color: #fff; padding: 0 15px; height: 100%; display: flex; align-items: center; font-weight: 700; font-size: 12px; white-space: nowrap; z-index: 10; }
.ticker-news { flex-grow: 1; padding: 0 20px; }
.ticker-news marquee { font-size: 14px; font-weight: 500; color: #333; }

.news-category-nav .nav-link { color: #1a1a1a; font-weight: 700; font-size: 14px; text-transform: uppercase; padding: 15px 12px !important; border-bottom: 3px solid transparent; transition: 0.2s; }
.news-category-nav .nav-link:hover, .news-category-nav .nav-link.active { color: #0056b3; border-bottom-color: #0056b3; }

/* Hero Slider Section */
.hero-news-container { display: flex; gap: 10px; margin-bottom: 30px; }
.main-slider { flex: 2; height: 450px; border-radius: 0; overflow: hidden; position: relative; }
.slider-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 40px 20px 20px; color: #fff; }
.slider-caption h2 { font-size: 28px; line-height: 1.2; margin-bottom: 10px; color: #fff; }

.latest-news-sidebar { flex: 1; background: #fff; border: 1px solid #eee; border-radius: 0; display: flex; flex-direction: column; }
.sidebar-header { padding: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.sidebar-header h5 { margin: 0; font-size: 16px; color: #0056b3; }
.latest-news-list { flex-grow: 1; overflow-y: auto; max-height: 400px; }
.latest-news-item { padding: 12px 15px; border-bottom: 1px solid #f8f9fa; display: flex; gap: 10px; transition: 0.2s; cursor: pointer; text-decoration: none; }
.latest-news-item:hover { background: #f0f7ff; }
.latest-news-time { font-size: 11px; font-weight: 700; color: #0056b3; min-width: 50px; }
.latest-news-title { font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; }

.news-card-small { border: none !important; transition: 0.3s; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; background-color: #fff; padding-bottom: 10px; }
.news-card-small .card-img-top { border-radius: 0; height: 160px; object-fit: cover; }
.news-card-small .card-title { font-size: 15px; line-height: 1.4; margin-top: 10px; }
.news-card-small:hover { transform: translateY(-5px); }

.category-block-header { border-bottom: 2px solid #0f172a; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 5px; }
.category-block-header h3 { font-size: 18px; margin: 0; text-transform: uppercase; }
.category-block-header a { font-size: 10px; font-weight: 700; color: #666; text-decoration: none; letter-spacing: 0.5px; }

/* AA Header Specific Styles */
.aa-nav .nav-link {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    letter-spacing: -0.2px;
}
.aa-nav .nav-link:hover { color: #0056b3 !important; }

.trending-bar { background-color: #f6f6f6 !important; }
.extra-small { font-size: 10px !important; }

.search-box input {
    height: 32px;
    font-size: 13px;
}
.edition-selector { cursor: pointer; color: #333; }
.theme-toggle { cursor: pointer; color: #666; }

/* Hero Adjustments */
.display-6 { font-size: 2.2rem !important; line-height: 1.1; letter-spacing: -1px; }
.hero-news-container h1 { font-family: 'Outfit', sans-serif; }
.badge.bg-danger { font-size: 10px; padding: 4px 8px; }
.ls-1 { letter-spacing: 1px; }

/* Global Alignment */
.site-wrapper {
max-width: 1330px !important; /* Expanded width */
margin: 0 auto;
background: #fff;
padding: 0 3px; /* Fixed gap of 3px from the lines */
overflow-x: hidden !important;
}

.container {
max-width: 1320px !important; /* Expanded container width */
}

/* Dark Mode (Gece Modu) Styles */
body.dark-mode {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .site-wrapper {
    background-color: #334155 !important;
    border-color: #4b5563 !important;
}

body.dark-mode .bg-white,
body.dark-mode .featured-small-box {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

/* Clean Header - No Bottom Line */
.category-block-header-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.category-block-header-clean h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Text & Typography Standardization Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.time-tag {
    font-size: 11px !important;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
.time-tag i {
    font-size: 10px;
}

body.dark-mode header,
body.dark-mode .trending-bar {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .border,
body.dark-mode .border-bottom,
body.dark-mode .border-top,
body.dark-mode .border-end {
    border-color: #334155 !important;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6,
body.dark-mode .text-dark,
body.dark-mode .nav-link {
    color: #f1f5f9 !important;
}

body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

.sub-news-bg {
    background-color: #fafafa;
}

body.dark-mode .bg-light,
body.dark-mode .bg-white,
body.dark-mode .sub-news-bg,
body.dark-mode .card,
body.dark-mode .top-info-bar {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .search-box input,
body.dark-mode .search-input-field {
    background-color: #334155 !important;
    color: #fff !important;
}
body.dark-mode .search-box input::placeholder,
body.dark-mode .search-input-field::placeholder {
    color: #aaa !important;
}

body.dark-mode .ticker-icon,
body.dark-mode .ticker-text {
    color: #f1f5f9 !important;
}

body.dark-mode .finance-val,
body.dark-mode .hero-summary {
    color: #f1f5f9 !important;
}

body.dark-mode .extra-small.text-dark {
    color: #f1f5f9 !important;
}

body.dark-mode .hover-red:hover {
    color: #ef4444 !important;
}

body.dark-mode .offcanvas {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
}

body.dark-mode .offcanvas-header {
    border-bottom-color: #334155 !important;
}

body.dark-mode .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

body.dark-mode .fa-bars {
    color: #f1f5f9 !important;
}

body.dark-mode .timeline-progress {
    background-color: #334155 !important;
}

body.dark-mode .category-block-header {
    border-bottom-color: #3b82f6;
}

body.dark-mode .ticker-sleek {
    background-color: #334155 !important;
    border-color: #4b5563 !important;
}

body.dark-mode .ticker-sleek marquee {
    color: #f1f5f9 !important;
}

body.dark-mode .ticker-sleek .text-danger {
    color: #ff4d4d !important;
}

body.dark-mode .ticker-sleek div[style*="border-right"] {
    border-right-color: #334155 !important;
}

/* Elite Sports Module - Premium Dark Theme */
.spor-module-elite {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.spor-module-elite .accent-line {
    height: 4px;
    width: 100%;
    background-color: #10b981;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.spor-module-elite .hover-bg-opacity-20 {
    transition: background-color 0.2s ease;
}

.spor-module-elite .hover-bg-opacity-20:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.spor-module-elite .featured-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
}

/* ==========================================================================
   Mobile & Tablet Responsive Utilities
   ========================================================================== */

@media (max-width: 991px) {
    .hero-news-container { flex-direction: column; }
    .main-slider { height: 250px; flex: none; }
    .latest-news-sidebar { height: 300px; flex: none; }
    .display-6 { font-size: 1.5rem !important; }
}

/* News Image Container Classes */
.news-img-container { height: 160px; overflow: hidden; }
.news-img-container-mid { height: 200px; overflow: hidden; }
.news-img-container-large { height: 368px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; }
.news-img-container-gal-thumb { height: 180px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important; }
.thumb-container { width: 90px; height: 60px; flex-shrink: 0; overflow: hidden; }

@media (max-width: 767px) {
    .news-img-container, .news-img-container-mid, .news-img-container-large, .news-img-container-gal-thumb {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
    .thumb-container {
        width: 100px;
        height: auto !important;
        aspect-ratio: 4 / 3;
    }
}

/* Global Image Optimization */
.card-img-top, .img-fluid {
    object-fit: cover;
}
.hero-main-img {
    height: 480px;
    object-fit: cover;
    display: block;
}
.hero-side-col {
    height: 480px;
}
@media (max-width: 991px) {
    .hero-main-img {
        height: auto !important;
        aspect-ratio: 16 / 9;
    }
    .hero-side-col {
        height: auto !important;
    }
}

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

@media (max-width: 767.98px) {
    .container, .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .ticker-sleek {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Timeline Horizontal Scroll for Mobile */
@media (max-width: 767.98px) {
    .timeline-scroll-wrapper {
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .timeline-scroll-wrapper > .d-flex {
        width: 800px; /* Force minimum width to prevent squishing */
    }
    .timeline-progress {
        width: 800px;
    }
}

/* Responsive Borders */
.responsive-border-end {
    border-right: 1px solid #dee2e6;
}
@media (max-width: 991.98px) {
    .responsive-border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    /* Remove bottom border on the last item when stacked */
    .responsive-border-end:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}
@media (max-width: 991.98px) {
    /* Mobile Header Breathing Room */
    .d-lg-none .btn.ps-0 {
        padding-left: 10px !important;
    }
    #themeToggle.pe-0 {
        padding-right: 10px !important;
    }
}

/* --- Mobile Menu (Offcanvas) Enhancements --- */
.offcanvas {
    background-color: var(--light);
    border-right: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8); /* Inset shadow for depth */
}

.mobile-menu-item:last-child {
    border-bottom: none;
    box-shadow: none;
}

.mobile-menu-item .nav-link {
    color: var(--text-main);
    transition: all 0.2s ease;
}

.mobile-menu-item .nav-link:active {
    background-color: rgba(0,0,0,0.02);
    color: var(--primary);
}

.mobile-menu-footer {
    background: rgba(0,0,0,0.01);
    margin: 0 -1rem -1rem -1rem;
    padding: 1.5rem 1rem;
}

.mobile-social-icon {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.mobile-social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- Dark Mode Support --- */
body.dark-mode .offcanvas {
    background-color: #0f172a;
    border-right: 1px solid rgba(255,255,255,0.05);
}

body.dark-mode .mobile-menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
}

body.dark-mode .mobile-menu-item .nav-link {
    color: rgba(255,255,255,0.8);
}

body.dark-mode .mobile-menu-footer {
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

body.dark-mode .mobile-social-icon {
    background: #1e293b;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- Global Dark Mode Overrides --- */
body.dark-mode {
    background-color: #0f172a !important;
    color: rgba(255,255,255,0.9);
}

body.dark-mode .bg-white, 
body.dark-mode .card,
body.dark-mode .world-news-card {
    background-color: #1e293b !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: white !important;
}

body.dark-mode .text-dark,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .nav-link,
body.dark-mode .navbar-brand {
    color: rgba(255,255,255,0.95) !important;
}

body.dark-mode .text-muted,
body.dark-mode .time-tag {
    color: rgba(255,255,255,0.5) !important;
}

body.dark-mode .border,
body.dark-mode .border-bottom,
body.dark-mode .border-top {
    border-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode .bg-light {
    background-color: #0f172a !important;
}

body.dark-mode .navbar {
    background-color: #1e293b !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
}

body.dark-mode .footer-links a,
body.dark-mode .text-white-50 {
    color: rgba(255,255,255,0.5) !important;
}

body.dark-mode .card-body a {
    color: white !important;
}

/* --- News Detail Page & Corporate Sidebar --- */
.news-detail-container {
    background-color: transparent;
}

.news-article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 2rem;
}

body.dark-mode .news-article-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.05);
}

.article-header-full {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

body.dark-mode .article-header-full {
    border-bottom-color: rgba(255,255,255,0.05);
}

.article-meta-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 2rem;
}

body.dark-mode .article-meta-bar {
    background: #0f172a;
    border-color: rgba(255,255,255,0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

body.dark-mode .meta-item {
    color: rgba(255,255,255,0.6);
}

.meta-badge {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-toolbar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

body.dark-mode .share-toolbar {
    background: #0f172a;
    border-color: rgba(255,255,255,0.05);
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    border-radius: 2px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.share-btn:hover { opacity: 0.8; }
.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-li { background: #0077b5; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }

/* Sidebar Premium Modules */
.sidebar-module {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

body.dark-mode .sidebar-module {
    background: #1e293b;
    border-color: rgba(255,255,255,0.05);
}

.sidebar-module-title {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #0d47a1;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .sidebar-module-title {
    color: #60a5fa;
    border-bottom-color: rgba(255,255,255,0.05);
}

.trend-module {
    background: #e11d48;
    color: #fff;
}

.trend-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.trend-number {
    font-size: 24px;
    font-weight: 900;
    opacity: 0.5;
    min-width: 30px;
}

/* Related News */
.related-news-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

body.dark-mode .related-news-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.05);
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.related-news-card .cat-label {
    font-size: 10px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 5px;
    display: block;
}

/* Timeline Small (Sidebar Son Haberler) */
.timeline-mini-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
}

body.dark-mode .timeline-mini-item {
    border-bottom-color: rgba(255,255,255,0.05);
}

.timeline-mini-img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

/* --- News Detail Page & Timeline Sidebar --- */
.news-detail-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

body.dark-mode .news-detail-card {
    background-color: #1e293b !important;
}

.timeline-sidebar {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
}

body.dark-mode .timeline-sidebar {
    background: #1e293b !important;
}

.timeline-item {
    position: relative;
    padding-left: 25px;
    padding-bottom: 25px;
    border-left: 1px solid #dee2e6;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

body.dark-mode .timeline-item {
    border-left-color: rgba(255,255,255,0.1);
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-dot {
    position: absolute;
    left: -5.5px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #0d47a1;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #fff;
    z-index: 2;
}

body.dark-mode .timeline-dot {
    box-shadow: 0 0 0 4px #1e293b;
    background-color: #3b82f6;
}

.timeline-time {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

body.dark-mode .timeline-time {
    color: rgba(255,255,255,0.5);
}

.timeline-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #334155;
    transition: color 0.2s ease;
}

body.dark-mode .timeline-title {
    color: rgba(255,255,255,0.9);
}

.timeline-item:hover .timeline-title {
    color: #0d47a1;
}

body.dark-mode .timeline-item:hover .timeline-title {
    color: #60a5fa;
}

.social-share-pill {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-share-pill:hover {
    transform: scale(1.1) rotate(5deg);
}

.news-content p {
    margin-bottom: 1.5rem;
    color: #334155;
}

body.dark-mode .news-content p {
    color: rgba(255,255,255,0.8);
}

/* Responsive Nav Links to fit all 10 categories without wrapping or hiding */
@media (max-width: 1400px) {
    .aa-nav .nav-link {
        font-size: 12.5px !important;
        padding: 0 8px !important;
    }
    .logo-light, .logo-dark {
        height: 60px !important;
    }
}
@media (max-width: 1200px) {
    .aa-nav .nav-link {
        font-size: 11.5px !important;
        padding: 0 6px !important;
    }
    .logo-light, .logo-dark {
        height: 50px !important;
    }
    .search-box input {
        width: 140px !important;
    }
}
@media (max-width: 1100px) {
    .aa-nav .nav-link {
        font-size: 10.5px !important;
        padding: 0 4px !important;
    }
    .logo-light, .logo-dark {
        height: 45px !important;
    }
    .search-box input {
        width: 120px !important;
    }
}

/* ==========================================================================
   BLUE ACCENTS & DESIGN ENHANCEMENTS (ajans1.com.tr)
   ========================================================================== */

/* 1. Category Headers Accent Line */
.category-block-header {
    border-bottom: 2px solid #e2e8f0 !important;
    position: relative !important;
    padding-bottom: 8px !important;
}
.category-block-header::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background-color: #0d6efd !important;
    z-index: 10 !important;
}
body.dark-mode .category-block-header {
    border-bottom-color: #334155 !important;
}
body.dark-mode .category-block-header::after {
    background-color: #3b82f6 !important;
}

/* 2. Category block "TÜMÜ" Link Style */
.category-block-header a {
    color: #0d6efd !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    transition: opacity 0.2s ease !important;
}
.category-block-header a:hover {
    opacity: 0.8 !important;
}
body.dark-mode .category-block-header a {
    color: #3b82f6 !important;
}

/* 3. News Headlines Hover Transition & Blue Accent Color */
.hover-red {
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.hover-red:hover {
    color: #0d6efd !important;
}
body.dark-mode .hover-red:hover {
    color: #3b82f6 !important;
}

/* 4. Ticker Icon Color */
.ticker-icon i {
    color: #0d6efd !important;
}
body.dark-mode .ticker-icon i {
    color: #3b82f6 !important;
}

/* 5. Time Tag Clock Icon Blue Accent */
.time-tag i {
    color: #0d6efd !important;
}
body.dark-mode .time-tag i {
    color: #3b82f6 !important;
}

/* 6. Trend numbers in sidebar */
.trend-number {
    color: #0d6efd !important;
    opacity: 0.9 !important;
}
body.dark-mode .trend-number {
    color: #3b82f6 !important;
}

/* pulse-blue-signal for premium button */
.pulse-blue-signal {
    background: #0d6efd !important;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    animation: blue-signal-pulse 1.5s infinite;
    display: inline-flex;
    align-items: center;
    border: none;
}

@keyframes blue-signal-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Mobile styling overrides for #backToTop to prevent overlapping floating buttons */
@media (max-width: 768px) {
    #backToTop {
        bottom: 20px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
}

/* Advertisement Top & Side Banners */
.reklam-top-container {
    margin-top: 0px !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.reklam-top-container a {
    display: inline-block;
    line-height: 0;
}
.reklam-top-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reklam-side-banner {
    position: fixed;
    top: 120px;
    z-index: 1000;
    width: 160px;
    height: 600px;
}
.reklam-left {
    left: 10px;
}
.reklam-right {
    right: 10px;
}

/* Responsive Hide for Side Banners under 1400px screen width */
@media (max-width: 1400px) {
    .reklam-side-banner {
        display: none !important;
    }
}

/* Hero Section Container Custom Background */
.hero-section-container {
    background-color: #ffefe269 !important;
}

body.dark-mode .hero-section-container {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Video Hover Play Styles */
.video-thumb-wrapper {
    position: relative;
}
.video-static-img, .play-icon-overlay {
    transition: opacity 0.3s ease;
}
.video-hover-iframe {
    z-index: 5;
    background-color: #000;
}



/* Global Mobile Horizontal Scroll Prevention */
html, body, .site-wrapper, footer {
    overflow-x: hidden !important;
    width: 100% !important;
}
