/* ========================================
   100% SATYA NEWS — Design System
   Primary Stylesheet
   ======================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
    /* Brand Colors */
    --primary: #D32F2F;
    --primary-dark: #B71C1C;
    --primary-light: #EF5350;
    --primary-bg: #FFEBEE;
    
    /* Neutrals */
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --gray-900: #212121;
    --gray-800: #333333;
    --gray-700: #555555;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #aaaaaa;
    --gray-300: #cccccc;
    --gray-200: #e0e0e0;
    --gray-100: #f0f0f0;
    --gray-50: #f8f8f8;
    --white: #ffffff;
    
    /* Accents */
    --success: #2e7d32;
    --success-bg: #e8f5e9;
    --warning: #f57f17;
    --warning-bg: #fff8e1;
    --info: #1565c0;
    --info-bg: #e3f2fd;
    --error: #c62828;
    --error-bg: #ffebee;
    
    /* Typography */
    --font-marathi: 'Noto Sans Devanagari', 'Mangal', sans-serif;
    --font-english: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: var(--font-marathi);
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    
    /* Layout */
    --container-max: 1280px;
    --container-wide: 1400px;
    --sidebar-width: 350px;
    --header-height: 60px;
    --nav-height: 48px;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative;
}

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

a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--dark);
    color: var(--gray-300);
    font-size: var(--text-xs);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
    .top-bar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
}

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

.top-bar__date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.top-bar__location {
    color: var(--gray-400);
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.top-bar__social span {
    color: var(--gray-400);
    margin-right: var(--space-2);
}

.top-bar__social a {
    color: var(--gray-400);
    font-size: 14px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.top-bar__social a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: var(--z-sticky);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo__main {
    font-family: var(--font-english);
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.site-logo__main span {
    color: var(--dark);
}

.site-logo__marathi {
    font-family: var(--font-marathi);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.site-logo__tagline {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.header-search__input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all var(--transition-fast);
    outline: none;
}

.header-search__input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.header-search__input::placeholder {
    color: var(--gray-400);
}

.header-search__btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.header-search__btn:hover {
    background: var(--primary-dark);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.btn-live {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.btn-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse-live 1.5s ease infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.btn-live:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-800);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   MAIN NAVIGATION
   ======================================== */
.main-nav {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

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

.nav-list {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.nav-list li {
    flex-shrink: 0;
}

.nav-list li a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
    color: rgba(255,255,255,0.9);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
    border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-bottom-color: var(--white);
}

.nav-list li a svg {
    width: 16px;
    height: 16px;
}

.nav-local {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-local a {
    color: rgba(255,255,255,0.9);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-local a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ========================================
   BREAKING NEWS TICKER
   ======================================== */
.breaking-ticker {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.breaking-ticker .container {
    display: flex;
    align-items: center;
    height: 40px;
}

.breaking-ticker__label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: var(--space-4);
    position: relative;
    z-index: 2;
}

.breaking-ticker__dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: blink-dot 1s ease infinite;
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.breaking-ticker__content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.breaking-ticker__track {
    display: flex;
    animation: ticker-scroll 14s linear infinite;
    white-space: nowrap;
}

.breaking-ticker__track:hover {
    animation-play-state: paused;
}

.breaking-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4);
    padding: 0 var(--space-8);
    font-size: var(--text-sm);
    color: var(--gray-800);
    font-weight: 500;
}

.breaking-ticker__item a {
    color: var(--gray-800);
}

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

.breaking-ticker__separator {
    color: var(--primary);
    font-weight: 700;
}

.breaking-ticker__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    color: var(--primary);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.breaking-ticker__link:hover {
    text-decoration: underline;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   HERO / FEATURED SECTION
   ======================================== */
.section {
    padding: var(--space-8) 0;
}

.section--gray {
    background: var(--gray-100);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 3px solid var(--primary);
}

.section-header h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.section-header h2 svg {
    color: var(--primary);
}

.section-header__more {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 600;
}

.section-header__more:hover {
    text-decoration: underline;
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-5);
}

/* Featured Main Card */
.featured-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
}

.featured-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-main__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-8) var(--space-6) var(--space-6);
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    color: var(--white);
}

.featured-main:hover .featured-main__image {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.featured-main .category-badge {
    margin-bottom: var(--space-3);
}

.featured-main__title {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: var(--space-3);
}

.featured-main__title a {
    color: var(--white);
}

.featured-main__title a:hover {
    text-decoration: underline;
}

.featured-main__excerpt {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}

.featured-main__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.7);
}

.featured-main__meta svg {
    width: 14px;
    height: 14px;
}

/* Featured Small Grid */
.featured-small-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.featured-small {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-100);
}

.featured-small:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.featured-small__image {
    width: 110px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.featured-small__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.featured-small__title {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.featured-small__title a {
    color: var(--gray-900);
}

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

.featured-small__meta {
    font-size: var(--text-xs);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.featured-small .views-badge {
    color: var(--gray-500);
}

/* ========================================
   CATEGORY BADGE (Compact & Attractive)
   ======================================== */
.category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 3px;
    padding: 1.5px 7px;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
    color: var(--white);
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(211, 47, 47, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    vertical-align: middle;
}

.category-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.35);
}

.category-badge--outline {
    background: rgba(211, 47, 47, 0.08);
    border: 1px solid rgba(211, 47, 47, 0.35);
    color: var(--primary);
    box-shadow: none;
    text-shadow: none;
}

.category-badge--outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.category-badge--sm {
    font-size: 9px;
    padding: 1px 5px;
    margin-bottom: 4px;
    border-radius: 10px;
}

.category-badge--blue { 
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    box-shadow: 0 1px 4px rgba(21, 101, 192, 0.3);
}
.category-badge--green { 
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.3);
}
.category-badge--purple { 
    background: linear-gradient(135deg, #8e24aa 0%, #6a1b9a 100%);
    box-shadow: 0 1px 4px rgba(106, 27, 154, 0.3);
}
.category-badge--orange { 
    background: linear-gradient(135deg, #fb8c00 0%, #e65100 100%);
    box-shadow: 0 1px 4px rgba(230, 81, 0, 0.3);
}
.category-badge--teal { 
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    box-shadow: 0 1px 4px rgba(0, 121, 107, 0.3);
}

[data-theme="dark"] .category-badge--outline {
    background: rgba(239, 83, 80, 0.15);
    border-color: rgba(239, 83, 80, 0.4);
    color: #ef5350;
}

/* ========================================
   TRENDING NEWS SIDEBAR
   ======================================== */
.trending-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.trending-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--gray-100);
}

.trending-widget__header h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.trending-tabs {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 2px;
}

.trending-tab {
    padding: 5px 10px;
    font-size: var(--text-xs);
    font-weight: 500;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.trending-tab.active {
    background: var(--primary);
    color: var(--white);
}

.trending-tab:hover:not(.active) {
    color: var(--gray-900);
}

.trending-list {
    padding: var(--space-3) var(--space-5);
}

.trending-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background: var(--gray-50);
    margin: 0 calc(-1 * var(--space-5));
    padding-left: var(--space-5);
    padding-right: var(--space-5);
}

.trending-item__number {
    width: 28px;
    height: 28px;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-english);
}

.trending-item:nth-child(-n+3) .trending-item__number {
    background: var(--primary);
    color: var(--white);
}

.trending-item__content {
    flex: 1;
    min-width: 0;
}

.trending-item__title {
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-item__title a {
    color: var(--gray-900);
}

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

.trending-item__meta {
    font-size: var(--text-xs);
    color: var(--gray-500);
    margin-top: 2px;
}

.trending-more {
    display: block;
    text-align: center;
    padding: var(--space-3) var(--space-5);
    color: var(--primary);
    font-size: var(--text-sm);
    font-weight: 600;
    border-top: 1px solid var(--gray-100);
}

.trending-more:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

/* ========================================
   NEWS CARDS
   ======================================== */
.news-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-100);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-card__image-wrap {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image {
    transform: scale(1.05);
}

.news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a {
    color: var(--gray-900);
}

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

.news-card__excerpt {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-3);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.news-card__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card__meta svg {
    width: 14px;
    height: 14px;
}

/* Vertical Card */
.news-card-vertical {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-100);
}

.news-card-vertical:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.news-card-vertical__image-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-card-vertical__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card-vertical:hover .news-card-vertical__image {
    transform: scale(1.05);
}

.news-card-vertical__body {
    padding: var(--space-4);
}

.news-card-vertical__category {
    margin-bottom: var(--space-2);
}

.news-card-vertical__title {
    font-size: var(--text-md);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-vertical__title a {
    color: var(--gray-900);
}

.news-card-vertical__title a:hover {
    color: var(--primary);
}

.news-card-vertical__excerpt {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-vertical__meta {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* ========================================
   CATEGORY CARDS (Homepage sections)
   ======================================== */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    cursor: pointer;
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
    transform: scale(1.08);
}

.category-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    color: var(--white);
}

.category-card__name {
    font-size: var(--text-md);
    font-weight: 700;
    margin-bottom: 2px;
}

.category-card__desc {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
    margin-top: var(--space-2);
    padding: 2px 8px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    transition: all var(--transition-fast);
}

.category-card:hover .category-card__link {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   SIDEBAR WIDGETS
   ======================================== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.widget__header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--gray-100);
}

.widget__header h3 {
    font-size: var(--text-md);
    font-weight: 700;
}

.widget__body {
    padding: var(--space-4) var(--space-5);
}

/* Ad Widget */
.ad-widget {
    text-align: center;
}

.ad-widget__label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-2);
}

.ad-widget img {
    border-radius: var(--radius-md);
    width: 100%;
}

/* Weather Widget */
.weather-widget {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: none;
}

.weather-widget__body {
    padding: var(--space-5);
}

.weather-widget__location {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.weather-widget__city {
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--gray-900);
}

.weather-widget__temp {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.weather-widget__details {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-xs);
    color: var(--gray-600);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: var(--white);
}

.newsletter-widget__body {
    padding: var(--space-6);
    text-align: center;
}

.newsletter-widget h3 {
    color: var(--white);
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.newsletter-widget p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.newsletter-form input {
    padding: 10px 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: var(--text-sm);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    border-color: var(--white);
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    padding: 10px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.newsletter-form button:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

/* ========================================
   MAIN CONTENT + SIDEBAR LAYOUT
   ======================================== */
.content-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-8);
}

.content-main {
    min-width: 0;
}

/* ========================================
   NEWS LIST (Latest News section)
   ======================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ========================================
   NEWS GRID
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-5);
}

/* ========================================
   ARTICLE PAGE
   ======================================== */
.article-page {
    max-width: 800px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-4);
}

.article-breadcrumb a {
    color: var(--gray-500);
}

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

.article-breadcrumb__separator {
    color: var(--gray-400);
}

.article-header {
    margin-bottom: var(--space-6);
}

.article-header .category-badge {
    margin-bottom: var(--space-3);
}

.article-title {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.article-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.article-meta__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta__author-info {
    display: flex;
    flex-direction: column;
}

.article-meta__author-name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--gray-900);
}

.article-meta__date {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.article-meta__stats {
    display: flex;
    gap: var(--space-4);
    margin-left: auto;
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.article-meta__stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Article featured image */
.article-featured-image {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-featured-image figcaption {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

/* Article body content */
.article-content {
    font-size: var(--text-md);
    line-height: 1.9;
    color: var(--gray-800);
}

.article-content p {
    margin-bottom: var(--space-5);
}

.article-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.article-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--gray-700);
}

.article-content img {
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
}

.article-content ul, .article-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-5);
}

.article-content li {
    margin-bottom: var(--space-2);
    list-style: disc;
}

.article-content ol li {
    list-style: decimal;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.article-content th, .article-content td {
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--gray-200);
    text-align: left;
}

.article-content th {
    background: var(--gray-50);
    font-weight: 600;
}

/* Article tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-5) 0;
    border-top: 1px solid var(--gray-200);
}

.article-tags__label {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-right: var(--space-2);
}

.tag-link {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: var(--text-xs);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.tag-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Share buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) 0;
}

.share-buttons__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.share-btn--whatsapp { background: #25D366; }
.share-btn--facebook { background: #1877F2; }
.share-btn--twitter { background: #1DA1F2; }
.share-btn--telegram { background: #0088cc; }
.share-btn--copy { background: var(--gray-700); }

/* Related news */
.related-news {
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 2px solid var(--gray-200);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-8) 0;
}

.pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pagination__btn:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination__btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination__btn:disabled,
.pagination__btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: var(--space-12) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-10);
}

.footer-brand {
    margin-bottom: var(--space-4);
}

.footer-brand .site-logo__main {
    font-size: 22px;
    color: var(--white);
}

.footer-brand .site-logo__main span {
    color: var(--primary-light);
}

.footer-brand .site-logo__marathi {
    color: var(--primary-light);
    font-size: 13px;
}

.footer-about p {
    font-size: var(--text-sm);
    color: var(--gray-400);
    line-height: 1.7;
    margin: var(--space-4) 0;
}

.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column h3 {
    color: var(--white);
    font-size: var(--text-md);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links a::before {
    content: '›';
    color: var(--primary);
    font-weight: bold;
}

/* App Download Buttons */
.app-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.app-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-fast);
}

.app-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.app-btn__label {
    font-size: 10px;
    color: var(--gray-400);
}

.app-btn__store {
    font-size: var(--text-sm);
    font-weight: 600;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-5) 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom__copy {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.footer-bottom__links {
    display: flex;
    gap: var(--space-5);
}

.footer-bottom__links a {
    font-size: var(--text-xs);
    color: var(--gray-400);
}

.footer-bottom__links a:hover {
    color: var(--white);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn--sm {
    padding: 6px 14px;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 14px 28px;
    font-size: var(--text-md);
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--gray-800);
    background: var(--white);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-500);
    padding: var(--space-4) 0;
}

.breadcrumb a {
    color: var(--gray-500);
}

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

.breadcrumb__sep {
    color: var(--gray-400);
    font-size: var(--text-xs);
}

.breadcrumb__current {
    color: var(--gray-700);
    font-weight: 500;
}

/* ========================================
   VIEWS BADGE
   ======================================== */
.views-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--gray-500);
}

.views-badge svg {
    width: 14px;
    height: 14px;
}

/* ========================================
   FLASH MESSAGES / ALERTS
   ======================================== */
.alert {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.alert--success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #a5d6a7;
}

.alert--error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid #ef9a9a;
}

.alert--warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid #ffcc80;
}

.alert--info {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid #90caf9;
}

/* ========================================
   LOADING / SKELETON
   ======================================== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   SPONSORED LABEL
   ======================================== */
.sponsored-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--warning-bg);
    color: var(--warning);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid #ffcc80;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   SEARCH RESULTS PAGE
   ======================================== */
.search-page__header {
    padding: var(--space-8) 0;
    background: var(--gray-100);
    margin-bottom: var(--space-8);
}

.search-page__header h1 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.search-page__query {
    color: var(--primary);
}

.search-page__count {
    color: var(--gray-500);
    font-size: var(--text-sm);
}

/* ========================================
   AUTHOR PAGE
   ======================================== */
.author-header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-8);
}

.author-header__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-header__name {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: 4px;
}

.author-header__designation {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.author-header__bio {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.author-header__social {
    display: flex;
    gap: var(--space-3);
}

.author-header__social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.author-header__social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.contact-info-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    padding: var(--space-5);
}

.mobile-menu.active .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: var(--space-4);
}

.mobile-menu__close button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--gray-700);
}

.mobile-menu__nav a {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-800);
}

.mobile-menu__nav a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* ========================================
   PAGE HEADER (Category, Tag, Location)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    padding: var(--space-10) 0;
    color: var(--white);
    margin-bottom: var(--space-8);
}

.page-header h1 {
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.page-header p {
    color: var(--gray-400);
    font-size: var(--text-md);
}

/* ========================================
   NO RESULTS
   ======================================== */
.no-results {
    text-align: center;
    padding: var(--space-16) var(--space-4);
    color: var(--gray-500);
}

.no-results h2 {
    font-size: var(--text-2xl);
    color: var(--gray-600);
    margin-bottom: var(--space-3);
}

.no-results p {
    font-size: var(--text-md);
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   LANGUAGE SWITCHER & TRANSLATION FIXES
   ======================================== */
.lang-switcher .lang-btn {
    outline: none;
    font-family: inherit;
}
.lang-switcher .lang-btn:hover {
    opacity: 0.9;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-gadget-simple,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}
body {
    top: 0px !important;
    position: static !important;
}
.skiptranslate iframe {
    display: none !important;
}

/* ========================================
   DARK MODE SYSTEM
   ======================================== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-800);
    cursor: pointer;
    font-size: 17px;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    background: var(--gray-100);
    transform: scale(1.05);
}

[data-theme="dark"],
.theme-dark {
    --gray-900: #f8fafc;
    --gray-800: #f1f5f9;
    --gray-700: #cbd5e1;
    --gray-600: #94a3b8;
    --gray-500: #64748b;
    --gray-400: #475569;
    --gray-300: #334155;
    --gray-200: #1e293b;
    --gray-100: #1a2234;
    --gray-50: #0f172a;
    --white: #1e293b;
    --dark: #090d16;
    --dark-soft: #0f172a;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.6);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.7);
}

[data-theme="dark"] body,
.theme-dark body {
    background: #0b0f19;
    color: #cbd5e1;
}

[data-theme="dark"] .site-header,
.theme-dark .site-header {
    background: #111827;
    border-bottom: 1px solid #1f2937;
}

[data-theme="dark"] .site-logo__main,
.theme-dark .site-logo__main {
    color: #ffffff;
}

[data-theme="dark"] .site-logo__tagline,
.theme-dark .site-logo__tagline {
    color: #9ca3af;
}

[data-theme="dark"] .main-nav,
.theme-dark .main-nav {
    background: #111827;
    border-bottom: 1px solid #1f2937;
}

[data-theme="dark"] .nav-list a,
.theme-dark .nav-list a {
    color: #e2e8f0;
}

[data-theme="dark"] .nav-list a:hover,
[data-theme="dark"] .nav-list a.active,
.theme-dark .nav-list a:hover,
.theme-dark .nav-list a.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
}

[data-theme="dark"] .header-search__input,
.theme-dark .header-search__input {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

[data-theme="dark"] .theme-toggle-btn,
.theme-dark .theme-toggle-btn {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

[data-theme="dark"] .menu-toggle,
.theme-dark .menu-toggle {
    background: #1f2937;
    border-color: #374151;
    color: #f9fafb;
}

[data-theme="dark"] .news-card,
[data-theme="dark"] .news-card--horizontal,
[data-theme="dark"] .news-card--compact,
[data-theme="dark"] .hero-grid,
[data-theme="dark"] .trending-card,
[data-theme="dark"] .widget,
[data-theme="dark"] .opinion-card,
[data-theme="dark"] .author-card,
[data-theme="dark"] .comments-section,
[data-theme="dark"] .article-detail,
[data-theme="dark"] .author-header,
.theme-dark .news-card,
.theme-dark .news-card--horizontal,
.theme-dark .news-card--compact,
.theme-dark .widget,
.theme-dark .opinion-card,
.theme-dark .author-card,
.theme-dark .comments-section,
.theme-dark .article-detail,
.theme-dark .author-header {
    background: #1e293b;
    border: 1px solid #334155;
}

[data-theme="dark"] .news-card__title a,
[data-theme="dark"] .hero-card__title a,
[data-theme="dark"] .article-header__title,
[data-theme="dark"] .widget__title,
[data-theme="dark"] .section-header__title,
[data-theme="dark"] .heading-primary,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6 {
    color: #f8fafc;
}

[data-theme="dark"] .breaking-ticker,
.theme-dark .breaking-ticker {
    background: #111827;
    border-color: #1f2937;
}

[data-theme="dark"] .breaking-ticker__item a,
.theme-dark .breaking-ticker__item a {
    color: #e2e8f0;
}

[data-theme="dark"] .breaking-ticker__link,
.theme-dark .breaking-ticker__link {
    color: #f87171;
}

[data-theme="dark"] .mobile-menu__panel,
.theme-dark .mobile-menu__panel {
    background: #0f172a;
    color: #f1f5f9;
}

[data-theme="dark"] .mobile-menu__nav a,
.theme-dark .mobile-menu__nav a {
    color: #cbd5e1;
    border-bottom: 1px solid #1e293b;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select,
.theme-dark .form-input,
.theme-dark .form-textarea,
.theme-dark .form-select {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

[data-theme="dark"] .pagination a,
.theme-dark .pagination a {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .pagination a.active,
.theme-dark .pagination a.active {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

[data-theme="dark"] .site-footer,
.theme-dark .site-footer {
    background: #090d16;
    border-top: 1px solid #1e293b;
}

/* ==============================================================================
   DYNAMIC ANIMATION ENGINE & MODERN MICRO-INTERACTIONS
   ============================================================================== */

/* ---- Keyframe Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

@keyframes shimmerEffect {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes gradientProgress {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes liveBadgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* ---- Scroll-Reveal Stagger System ---- */
.reveal-init {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-init.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Delay modifiers for staggered grid cards */
.delay-1 { transition-delay: 60ms !important; }
.delay-2 { transition-delay: 120ms !important; }
.delay-3 { transition-delay: 180ms !important; }
.delay-4 { transition-delay: 240ms !important; }
.delay-5 { transition-delay: 300ms !important; }
.delay-6 { transition-delay: 360ms !important; }

/* ---- Card Image Smooth Zoom & Elevation ---- */
.news-card,
.featured-main,
.featured-side__item,
.hero-card,
.opinion-card,
.author-card,
.category-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
}

.news-card:hover,
.featured-side__item:hover,
.opinion-card:hover,
.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.news-card__image-wrapper,
.news-card__image,
.featured-main__image,
.featured-side__image,
.hero-card__image {
    overflow: hidden;
}

.news-card__image-wrapper img,
.news-card__image img,
.news-card img,
.featured-main img,
.featured-side__item img,
.hero-card img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.news-card:hover img,
.featured-main:hover img,
.featured-side__item:hover img,
.hero-card:hover img {
    transform: scale(1.06);
    filter: brightness(1.03);
}

/* Category Badge Hover Pop */
.badge--category,
.news-card__category,
.featured-main__category,
.category-pill {
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.news-card:hover .badge--category,
.news-card:hover .news-card__category,
.category-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

/* ---- Breaking News Live Pulse Badge ---- */
.breaking-ticker__badge,
.live-indicator,
.breaking-label {
    animation: liveBadgePulse 2s ease-in-out infinite;
    position: relative;
}

.breaking-ticker__badge::before,
.live-indicator::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF5252;
    animation: pulseGlow 1.8s infinite;
}

/* ---- Smooth Interactive Buttons & Micro-Interactions ---- */
.btn,
.admin-btn,
.social-share-btn,
.theme-toggle-btn,
.mobile-bottom-nav__item,
.btn-primary,
.btn-outline {
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:active,
.admin-btn:active,
.mobile-bottom-nav__item:active {
    transform: scale(0.95) !important;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
    transform: translateY(-2px);
}

/* ---- Floating Back to Top Animation ---- */
.back-to-top.visible {
    animation: floatGentle 3s ease-in-out infinite;
}

/* ---- Animated Reading Progress Bar ---- */
.reading-progress-bar {
    background: linear-gradient(90deg, #D32F2F, #FF5252, #FF8A80, #D32F2F) !important;
    background-size: 200% 100% !important;
    animation: gradientProgress 4s linear infinite;
}

/* ---- Shimmer Effect on Featured Header ---- */
.section-header__title::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    background-size: 200% 100%;
    animation: gradientProgress 3s linear infinite;
    vertical-align: middle;
    margin-left: 12px;
    border-radius: 2px;
}

/* ---- Click Ripple Animation ---- */
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


