/*
 * MODERN NEWS THEME
 * Clean, Minimal, Professional Design
 * Primary Color: #f5d233 (Yellow/Gold)
 * Text Color: #281740 (Dark Purple)
 * Version: 1.0
 */

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
    /* Brand Colors */
    --primary-color: #f5d233;
    --primary-dark: #d4b52a;
    --text-primary: #281740;
    --text-secondary: #4a3a5c;
    --text-light: #6b5b7d;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    
    /* Border & Shadow */
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(40, 23, 64, 0.08);
    --shadow-md: 0 4px 12px rgba(40, 23, 64, 0.12);
    --shadow-lg: 0 8px 24px rgba(40, 23, 64, 0.15);
    
    /* Transitions */
    --transition: 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */

.modern-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

/* Top Bar */
.top-bar {
    background: var(--text-primary);
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: white;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Main Header */
.main-header {
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-svg {
    height: 60px;
    width: auto;
    display: block;
    overflow: visible;
}

/* ---- Circular badge + P monogram ---- */
.logo-badge {
    transform-origin: 35px 35px;
    transform: scale(0) rotate(-90deg);
    opacity: 0;
    animation: logoBadgePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.logo-monogram {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 900;
    fill: #281740;
    opacity: 0;
    animation: logoFadeIn 0.4s ease-out 0.55s forwards;
}

/* ---- Broadcast waves ---- */
.logo-wave {
    opacity: 0;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: logoWaveDraw 0.55s ease-out forwards;
}
.logo-wave-1 { animation-delay: 0.70s; }
.logo-wave-2 { animation-delay: 0.82s; }
.logo-wave-3 { animation-delay: 0.94s; }

/* ---- Wordmark letters ---- */
.logo-letter {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    fill: var(--text-primary);
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(8px);
    transform-box: fill-box;
    transform-origin: center;
    animation: logoLetterIn 0.4s ease-out forwards;
    animation-delay: var(--d, 0.9s);
}

/* ---- .biz suffix ---- */
.logo-suffix-text {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    fill: var(--primary-color);
    letter-spacing: -0.5px;
    opacity: 0;
    animation: logoFadeIn 0.4s ease-out 1.5s forwards;
}

.logo-underline {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: logoUnderlineDraw 0.6s ease-out 1.75s forwards;
}

/* ---- Keyframes (no loops, fill-mode forwards) ---- */
@keyframes logoBadgePop {
    0% {
        transform: scale(0) rotate(-90deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.12) rotate(8deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes logoFadeIn {
    to { opacity: 1; }
}

@keyframes logoWaveDraw {
    0% {
        opacity: 0;
        stroke-dashoffset: 60;
    }
    100% {
        opacity: 0.85;
        stroke-dashoffset: 0;
    }
}

@keyframes logoLetterIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoUnderlineDraw {
    to { stroke-dashoffset: 0; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    .logo-badge,
    .logo-monogram,
    .logo-wave,
    .logo-letter,
    .logo-suffix-text,
    .logo-underline {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Search Toggle in Nav */
.nav-search-toggle {
    margin-left: auto;
}

.nav-search-toggle a {
    padding: 1.1rem 1.5rem !important;
    background: var(--primary-color) !important;
    color: var(--text-primary) !important;
    border-bottom: none !important;
}

.nav-search-toggle a:hover {
    background: var(--primary-dark) !important;
    color: var(--text-primary) !important;
}

.nav-search-toggle a i {
    font-size: 1.1rem;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 23, 64, 0.97);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    transform: rotate(90deg);
    background: white;
}

.search-overlay-content {
    width: 90%;
    max-width: 700px;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s ease 0.1s;
}

.search-overlay.active .search-overlay-content {
    transform: translateY(0);
}

.search-overlay-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.search-overlay-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.search-overlay-form {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.search-overlay-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    background: transparent;
    outline: none;
    font-family: inherit;
}

.search-overlay-input::placeholder {
    color: var(--text-light);
}

.search-overlay-btn {
    background: var(--primary-color);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-overlay-hint {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1a0f2e 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 1.1rem 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 3px solid transparent;
}

.nav-item a:hover {
    color: var(--primary-color);
    background: rgba(245, 210, 51, 0.08);
    border-bottom-color: var(--primary-color);
}

.nav-item a.active {
    color: var(--primary-color);
    background: rgba(245, 210, 51, 0.12);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a i {
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-primary);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0.3px;
    border-bottom: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(245, 210, 51, 0.15);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

/* ============================================
   SLIDER
   ============================================ */

.slider-section {
    padding: 2rem 0;
}

.slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.slider-wrapper {
    position: relative;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(40, 23, 64, 0.95), transparent);
    color: white;
}

.slide-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.slide-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 2rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.view-all {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all:hover {
    color: var(--primary-color);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Compact News Card */
.news-card-compact {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.news-card-compact:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card-compact .news-image {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-card-compact .news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title:hover {
    color: var(--primary-color);
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.news-meta i {
    margin-right: 0.25rem;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.widget-list {
    list-style: none;
}

.widget-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.widget-item:last-child {
    border-bottom: none;
}

.widget-item a {
    display: block;
}

.widget-news-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-news-title:hover {
    color: var(--primary-color);
}

.widget-news-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */

.modern-footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   NEWS SOURCE (Mənbə)
   ============================================ */

.news-source {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, #1a0f2e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(40, 23, 64, 0.15);
}

.news-source::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 210, 51, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.news-source-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(245, 210, 51, 0.3);
    position: relative;
    z-index: 1;
}

.news-source-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.news-source-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
}

.news-source-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-source-link:hover {
    color: var(--primary-color);
    gap: 0.9rem;
}

.news-source-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.news-source-link:hover i {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Mobile */
@media (max-width: 768px) {
    .news-source {
        padding: 1.25rem 1.25rem;
        gap: 1rem;
    }
    
    .news-source-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .news-source-link {
        font-size: 1rem;
    }
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-svg {
        height: 46px;
    }
    
    .nav-search-toggle {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--text-primary) 0%, #1a0f2e 100%);
        transition: left var(--transition);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.mobile-active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 2rem 0;
        justify-content: flex-start;
    }
    
    .nav-item a {
        padding: 1.2rem 2rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 3px solid transparent;
    }
    
    .nav-item a:hover,
    .nav-item a.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.mobile-open .dropdown-menu {
        max-height: 300px;
    }
    
    .nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-menu a {
        padding: 1rem 2.5rem;
        font-size: 0.85rem;
    }
    
    .slider-wrapper {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card-compact {
        flex-direction: column;
    }
    
    .news-card-compact .news-image {
        width: 100%;
        height: 180px;
    }
    
    .search-overlay-title {
        font-size: 1.75rem;
    }
    
    .search-overlay-input {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .search-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   LOADING
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
