/* C:\Users\pruthvi\.gemini\antigravity-ide\scratch\chugal_chachi\assets\css\style.css */

/* Fonts loaded via includes/header.php */

/* CSS Variables for Clean Design System */
:root {
    --primary-color: #c10d12;
    --primary-hover: #9a0a0e;
    --secondary-color: #0b2a5c;
    --accent-color: #e8a317;
    --dark-bg: #0c1018;
    --light-bg: #f3f5f8;
    --card-bg: #ffffff;
    --white: #ffffff;
    --text-dark: #141820;
    --text-muted: #5a6472;
    --border-color: #dce2ea;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --font-hindi: 'Noto Sans Devanagari', system-ui, sans-serif;
    --font-display: 'Baloo 2', 'Noto Sans Devanagari', system-ui, sans-serif;
    --font-english: 'Sora', system-ui, sans-serif;
}

[data-theme="dark"] {
    --light-bg: #000000;
    --card-bg: #111111;
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #222222;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
    background-color: #000 !important;
    background-image: none !important;
}

/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-hindi) !important;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.7;
    letter-spacing: 0.012em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

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

/* Helper Utilities */
.text-center { text-align: center; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* Ad Placeholder Styling */
.ad-placeholder {
    background-color: #f1f2f6;
    border: 1px dashed #ced4da;
    color: #6c757d;
    padding: 20px;
    text-align: center;
    font-family: var(--font-hindi);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 20px auto;
    max-width: 100%;
    border-radius: var(--radius-sm);
}

.ad-placeholder span {
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: #a0aec0;
}

/* Top Strip Header */
.top-strip {
    background-color: #000000;
    color: #ffffff;
    font-family: var(--font-hindi);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: none;
}

.top-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.top-strip-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    /* Widgets scroll sideways instead of overflowing the page on narrow screens */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.top-strip-left::-webkit-scrollbar {
    display: none;
}

.top-strip-left > .top-widget-item {
    flex: 0 0 auto;
}

.top-widget-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.top-widget-item strong {
    font-weight: 600;
    color: #e2e8f0;
}

.top-widget-icon {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.top-widget-icon-sun {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-left: 2px;
}

.top-widget-icon-up {
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: bold;
}

.top-widget-icon-down {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: bold;
}

.top-strip-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.top-header-login-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.2s;
}

.top-header-login-btn:hover {
    color: var(--accent-color);
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social-links a {
    color: #cccccc;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.top-social-links a:hover {
    color: var(--accent-color);
}

/* Top Strip Responsive */
@media (max-width: 992px) {
    .top-strip {
        font-size: 0.8rem;
    }
    .top-strip-content {
        gap: 8px;
    }
    .top-strip-left {
        gap: 12px;
    }
    .top-strip-right {
        gap: 10px;
    }
    .top-social-links {
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .top-strip {
        font-size: 0.76rem;
        padding: 4px 0;
    }
    .top-strip-content {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .top-strip-left {
        gap: 14px;
        padding-bottom: 2px;
    }
    .top-strip-right {
        justify-content: space-between;
        gap: 8px;
        padding-top: 4px;
        border-top: 1px solid #262626;
    }
    .top-header-login-btn {
        font-size: 0.76rem;
    }
    .top-social-links {
        gap: 10px;
    }
    .top-social-links a {
        font-size: 0.85rem;
    }
    .language-selector select {
        font-size: 0.72rem;
        padding: 2px 4px;
    }
    .theme-toggle-btn {
        font-size: 0.95rem;
        padding: 2px;
    }
}

@media (max-width: 480px) {
    .top-strip {
        font-size: 0.7rem;
    }
    .top-strip-left {
        gap: 12px;
    }
    .top-social-links {
        gap: 8px;
    }
    .top-social-links a {
        font-size: 0.8rem;
    }
}

.social-links a {
    color: #cccccc;
    margin-left: 10px;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    font-size: 1.05rem;
    outline: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.theme-toggle-btn:hover {
    color: var(--accent-color);
    transform: rotate(20deg) scale(1.1);
}

/* Trending Tag Styling */
.trending-tag {
    background-color: var(--light-bg);
    color: var(--text-muted) !important;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.trending-tag:hover {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector select {
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
    padding: 2px 6px;
    font-size: 0.8rem;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

/* Main Brand Header Area */
.main-header {
    background-color: var(--card-bg);
    padding: 12px 0;
    border-bottom: none;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-masthead .header-grid {
    display: grid;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 85px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.header-ad {
    width: 728px;
    max-width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.header-ad .ad-slider-container {
    margin-bottom: 0 !important;
    border: 1px solid var(--border-color) !important;
    background: var(--card-bg) !important;
    height: 90px !important;
    width: 100% !important;
    max-width: 728px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden !important;
}

.header-ad .ad-slider-wrapper {
    height: 90px !important;
    max-height: 90px !important;
    aspect-ratio: 728 / 90 !important;
    width: 100% !important;
}

.header-ad .ad-slide {
    height: 90px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.header-ad .ad-slide a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.header-ad .ad-slide img {
    max-width: 100% !important;
    max-height: 90px !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0;
}

/* Red Primary Navigation Bar */
.primary-nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    overflow: visible;
}

.nav-links-scroll {
    flex: 1;
    min-width: 0;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}

.nav-links-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
    height: 0;
    width: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
    white-space: nowrap;
    flex: 0 1 auto;
}

.nav-links > li > a {
    color: var(--white);
    padding: 11px 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.84rem;
    border-bottom: 3px solid transparent;
}

.nav-links > li > a:hover,
.nav-links > li.active > a,
.nav-links > li.has-subcat:hover > a,
.nav-links > li.dropdown-item:hover > a {
    background-color: var(--primary-hover);
    border-bottom-color: var(--accent-color);
    color: var(--white);
}

/* Category parent ? subcategory dropdown */
.nav-links li.has-subcat > a .subcat-chevron {
    font-size: 0.65rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.nav-links li.has-subcat:hover > a .subcat-chevron,
.nav-links li.has-subcat.is-open > a .subcat-chevron {
    transform: rotate(180deg);
}

.nav-links li.has-subcat .nav-subcat-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 1300;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-top: 3px solid var(--primary-color, #c10d12);
}

/* Invisible bridge so mouse can move into dropdown without closing */
.nav-links li.has-subcat .nav-subcat-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-links li.has-subcat:hover > .nav-subcat-menu,
.nav-links li.has-subcat:focus-within > .nav-subcat-menu,
.nav-links li.has-subcat.is-open > .nav-subcat-menu {
    display: block;
}

.nav-links li.has-subcat .nav-subcat-menu li a {
    display: block;
    color: #1e293b;
    padding: 10px 16px;
    font-size: 0.86rem;
    font-weight: 600;
    border-bottom: none;
    white-space: nowrap;
}

.nav-links li.has-subcat .nav-subcat-menu li.nav-subcat-all a {
    color: var(--primary-color, #c10d12);
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.nav-links li.has-subcat .nav-subcat-menu li a:hover,
.nav-links li.has-subcat .nav-subcat-menu li.active a {
    background: #fef2f2;
    color: var(--primary, #c10d12);
}

.category-subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.category-subnav-link:hover,
.category-subnav-link.is-active {
    background: var(--primary, #c10d12);
    color: #fff;
}

/* News Video Pill Button (Matching reference design) */
.nav-links li.nav-video-item {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.nav-links li a.news-video-btn,
.sidebar-nav-links li a.news-video-btn {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    background-color: #f59e0b;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 5px 16px !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.25s ease;
}

.nav-links li a.news-video-btn i,
.sidebar-nav-links li a.news-video-btn i {
    font-size: 0.68rem;
    color: #ffffff;
    margin-right: 2px;
}

.nav-links li a.news-video-btn:hover,
.sidebar-nav-links li a.news-video-btn:hover,
.nav-links li.active a.news-video-btn,
.sidebar-nav-links li.active a.news-video-btn {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
    transform: scale(1.03);
}

/* Megamenu dropdown menu style */
.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: #0e3580; /* Match deep blue color from image */
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 22px 28px;
    z-index: 1300;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease-in-out, visibility 0.22s;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.megamenu.is-fixed-open {
    position: fixed !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.nav-links li.dropdown-item:hover .megamenu,
.nav-links li.dropdown-item:focus-within .megamenu,
.nav-links li.dropdown-item.is-open .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-subcat-menu.is-fixed-open {
    display: block !important;
    position: fixed !important;
    z-index: 2000;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 35px;
}

.megamenu-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.megamenu-col a {
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 3px 0 !important;
    border-bottom: none !important;
    background: none !important;
    text-align: left;
    white-space: normal !important;
    display: block !important;
    line-height: 1.4 !important;
    transition: color 0.15s ease-in-out !important;
}

.megamenu-col a:hover {
    color: var(--accent-color) !important;
    background: none !important;
}

/* Adjust dropdown position for mobile/responsive views */
@media (max-width: 992px) {
    .megamenu {
        min-width: 450px;
        padding: 15px;
    }
    .megamenu-grid {
        gap: 10px 15px;
    }
}
@media (max-width: 768px) {
    .megamenu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-width: 100%;
        box-shadow: none;
        border-top: none;
        padding: 10px 15px;
        background-color: rgba(0, 0, 0, 0.1);
        display: none; /* Hide on mobile by default, toggled via hover/click if desired */
    }
    .nav-links li.dropdown-item:hover .megamenu {
        display: block;
    }
}

.nav-links li a.nav-video-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 6px rgba(217, 119, 6, 0.3);
}

.nav-links li a.nav-video-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: var(--white);
    transform: translateY(-1.5px) scale(1.03);
    box-shadow: 0 6px 12px rgba(217, 119, 6, 0.45);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-right-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 15px;
}

.nav-right-tools a {
    color: var(--white);
}

/* Sub-category Header Menu Bar */
.sub-nav {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.sub-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    list-style: none;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.sub-nav-links li a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
}

.sub-nav-links li a:hover {
    color: var(--primary-color);
}

/* Breaking News Ticker */
.breaking-ticker {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin: 15px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.ticker-label {
    background-color: #c10d12;
    color: #ffffff;
    font-weight: 800;
    padding: 12px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 3;
    font-family: var(--font-english);
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
    padding-right: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.ticker-label::after {
    display: none;
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6px 15px;
}

.ticker-scroll {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    gap: 25px;
    align-items: center;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: color 0.2s;
}

.ticker-item:hover {
    color: var(--primary-color);
}

.ticker-item .ticker-thumb,
.ticker-item img.ticker-thumb {
    width: 80px !important;
    height: 45px !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ticker-bullet-dot {
    color: #c10d12;
    font-size: 0.75rem;
    margin-left: 10px;
    vertical-align: middle;
}

.ticker-more-btn {
    background-color: #c10d12;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 14px;
    text-decoration: none !important;
    white-space: nowrap;
    border-radius: 4px;
    margin-right: 10px;
    z-index: 3;
    transition: background-color 0.2s;
    font-family: var(--font-hindi);
    flex-shrink: 0;
}

.ticker-more-btn:hover {
    background-color: #991b1b;
}

.ticker-item::before {
    display: none;
}

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

/* Section Header Styling */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.see-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Layout Main Content Columns */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.panel-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    box-shadow: var(--shadow-sm);
}

/* Recent/Taza Khabre List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.news-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-list-thumb {
    width: 80px;
    height: 60px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 4px;
}

.news-list-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-english);
}

.news-meta .badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.7rem;
    margin-right: 5px;
    font-family: var(--font-hindi);
}

/* Top/Hero News Slider - Text AFTER / BELOW Image (Big 1200x675 Image) */
.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--card-bg);
}

.hero-slider .slide {
    display: none;
    width: 100%;
    position: relative;
}

.hero-slider .slide.active {
    display: flex;
    flex-direction: column;
}

.hero-slider .slide-img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider .slider-main-img,
.hero-slider .slide img,
.hero-slider .slide video,
.hero-slider .slide picture img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
}

/* Badges on image */
.hero-slider .slide-counter-badge,
.hero-slider .slide-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 3px 8px;
    font-size: 0.78rem;
    font-weight: bold;
    border-radius: 3px;
    font-family: var(--font-english);
    z-index: 5;
}

.hero-slider .slide-tag-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color, #c10d12);
    color: #ffffff;
    padding: 3px 9px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    z-index: 5;
    font-family: var(--font-hindi);
}

.hero-slider .slide-tag-badge.breaking {
    background-color: #dc2626;
}

/* Navigation arrows overlaying image sides */
.hero-slider .slider-arrow {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    width: 32px;
    height: 34px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    font-size: 0.85rem;
}

.hero-slider .slider-arrow:hover {
    background: var(--primary-color, #c10d12);
}

.hero-slider .slider-arrow.prev-arrow {
    left: 10px;
}

.hero-slider .slider-arrow.next-arrow {
    right: 10px;
}

/* Text Section AFTER / BELOW Image */
.hero-slider .slide-text-content {
    padding: 14px 15px 14px 15px;
    background: var(--card-bg);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hero-slider .slide-title-red {
    color: var(--primary-color, #c10d12);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 8px 0;
    font-family: var(--font-hindi);
    transition: color 0.2s;
}

.hero-slider .slide-text-content a:hover .slide-title-red {
    color: #991b1b;
}

.hero-slider .slide-summary-text {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 12px 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-hindi);
}

.hero-slider .slide-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-bottom: 22px; /* space for dots */
}

.hero-slider .news-meta-time {
    color: #64748b;
    font-size: 0.8rem;
    font-family: var(--font-hindi);
}

.hero-slider .btn-read-full-red {
    background-color: var(--primary-color, #c10d12);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-hindi);
    transition: background-color 0.2s;
}

.hero-slider .btn-read-full-red:hover {
    background-color: #991b1b;
    color: #ffffff !important;
}

/* Dots at bottom right */
.hero-slider .slider-controls {
    position: absolute;
    bottom: 12px;
    right: 15px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.hero-slider .dot {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.hero-slider .dot.active {
    background-color: var(--primary-color, #c10d12);
}

/* Auto-scroll news tickers on homepage */
.news-list-wrapper {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.auto-scroll-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Trending News Grid Items */
.trending-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

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

.trending-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 25px;
    text-align: center;
    font-family: var(--font-english);
}

.trending-content {
    flex-grow: 1;
}

.trending-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* 2-Column Categories/Ads Grid */
.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* 3-Column Categories Grid */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* 4-Column Secondary Categories Grid */
.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cat-feature-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.cat-feature-card img,
.cat-feature-card picture img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: transparent;
    transition: transform 0.3s ease;
    display: block;
}

.cat-feature-card:hover img,
.cat-feature-card:hover picture img {
    transform: scale(1.03);
}

.cat-feature-overlay {
    position: static;
    width: 100%;
    background: transparent;
    padding: 8px 0 4px 0;
    color: var(--text-color);
}

.cat-feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-color);
    margin: 0;
}

.cat-feature-overlay a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.cat-feature-overlay a:hover .cat-feature-title {
    color: var(--primary-color);
}

.cat-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-bullet-list li {
    padding-left: 12px;
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
}

.cat-bullet-list li::before {
    content: '?';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: -2px;
}

/* Video Gallery & Photo Gallery Section */
.gallery-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.video-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.video-featured-large {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-featured-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.video-grid-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-thumb-container-small {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
}

.video-thumb-container-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-grid-title {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Side Margin Ad Boxes (Left & Right) - sticky rails until footer */
.side-ad-container {
    display: none !important;
}

@media (min-width: 1280px) {
    main.container.site-main,
    main.container {
        position: relative;
    }

    .side-ad-container {
        display: block !important;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 110px;
        z-index: 40;
        pointer-events: none;
    }

    .left-side-ad {
        left: -122px !important;
    }

    .right-side-ad {
        right: -122px !important;
    }

    .side-ad-rail {
        position: sticky;
        top: 72px;
        pointer-events: auto;
        width: 100%;
    }

    .side-ad-container .ad-slider-container {
        margin-bottom: 0 !important;
        height: 600px !important;
        width: 100% !important;
        max-width: 110px !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1) !important;
        border: 1px solid var(--border-color) !important;
        background: var(--card-bg) !important;
        overflow: hidden !important;
    }

    .side-ad-container .ad-slider-wrapper {
        height: 600px !important;
        max-height: 600px !important;
        aspect-ratio: 110 / 600 !important;
        width: 100% !important;
    }

    .side-ad-container .ad-slide {
        height: 600px !important;
        width: 100% !important;
    }

    .side-ad-container .ad-slide img {
        max-height: 600px !important;
        height: 600px !important;
        width: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}

@media (min-width: 1560px) {
    .side-ad-container {
        width: 160px !important;
    }

    .left-side-ad {
        left: -180px !important;
    }

    .right-side-ad {
        right: -180px !important;
    }

    .side-ad-container .ad-slider-container {
        width: 100% !important;
        max-width: 160px !important;
    }

    .side-ad-container .ad-slider-wrapper {
        aspect-ratio: 160 / 600 !important;
    }

    .side-ad-container .ad-placeholder-title {
        font-size: 0.85rem;
    }

    .side-ad-container .ad-placeholder-badge {
        font-size: 0.62rem;
    }

    .side-ad-container .ad-placeholder-dims {
        font-size: 0.68rem;
    }
}

.ad-card-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px 14px;
    margin-bottom: 20px;
}

.ad-card-header {
    text-align: center;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-family: var(--font-english);
}

.ad-card-box .ad-slider-container {
    margin-bottom: 0;
}

.ad-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    padding: 0px; /* Zero padding to make images occupy full space */
    touch-action: pan-y;
}

.ad-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: var(--aspect-ratio, 16 / 9);
    max-height: var(--max-height, 365px);
    min-height: 60px; /* keeps wide banners usable when the column gets narrow */
    overflow: hidden;
}

.ad-shape-vertical .ad-slider-wrapper {
    min-height: 0;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.ad-slide.active {
    opacity: 1;
    z-index: 2;
}

.ad-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ad-slide img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius-sm);
}

/* Custom Ad Placeholder Slide Styling */
.ad-slide .ad-placeholder {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 10px;
    text-align: center;
    line-height: 1.3;
    overflow: hidden;
}

.ad-placeholder-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    font-family: var(--font-hindi);
}

.ad-placeholder-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 2px 10px;
    border-radius: 12px;
    font-family: var(--font-english);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ad-placeholder-dims {
    font-size: 0.7rem;
    font-family: var(--font-english);
    color: #94a3b8;
    white-space: nowrap;
}

/* Wide/short banners: keep the placeholder text on a single line */
.ad-shape-banner .ad-placeholder {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 6px 12px;
}

.ad-shape-banner .ad-placeholder-title {
    font-size: 0.85rem;
}

/* Narrow vertical rails (100-160px wide): scale text down so nothing overflows */
.ad-shape-vertical .ad-placeholder {
    padding: 10px 4px;
    gap: 7px;
}

.ad-shape-vertical .ad-placeholder-title {
    font-size: 0.72rem;
    line-height: 1.4;
}

.ad-shape-vertical .ad-placeholder-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
    letter-spacing: 0.2px;
}

.ad-shape-vertical .ad-placeholder-dims {
    font-size: 0.62rem;
}

/* Arrows sit above/below the creative so they never cover the narrow rail's text */
.ad-shape-vertical .ad-slider-prev-btn,
.ad-shape-vertical .ad-slider-next-btn {
    width: 22px;
    height: 22px;
    font-size: 0.6rem;
    top: auto;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.ad-shape-vertical .ad-slider-prev-btn i,
.ad-shape-vertical .ad-slider-next-btn i {
    transform: rotate(90deg);
}

.ad-shape-vertical .ad-slider-prev-btn {
    top: 8px;
}

.ad-shape-vertical .ad-slider-next-btn {
    bottom: 8px;
}

.ad-shape-vertical .ad-slider-dots {
    bottom: 38px;
}

/* Prev/Next Navigation Controls */
.ad-slider-prev-btn,
.ad-slider-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    color: #334155;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    font-size: 0.72rem;
    outline: none;
    opacity: 0.75; /* Visible by default, fully solid on hover to match mockup design */
}

.ad-slider-container:hover .ad-slider-prev-btn,
.ad-slider-container:hover .ad-slider-next-btn {
    opacity: 1;
}

.ad-slider-prev-btn:hover,
.ad-slider-next-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.ad-slider-prev-btn {
    left: 8px;
}

.ad-slider-next-btn {
    right: 8px;
}

/* Dots Navigation */
.ad-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.ad-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ad-slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.ad-shape-banner .ad-slider-dots {
    bottom: 5px;
}

/* Auto Slider Responsive */
@media (max-width: 992px) {
    .ad-slider-container {
        margin-bottom: 16px;
    }
    .ad-card-box {
        padding: 10px 12px 12px;
    }
}

@media (max-width: 768px) {
    /* Controls are always visible on touch devices (no hover state) */
    .ad-slider-prev-btn,
    .ad-slider-next-btn {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.92);
    }
    .ad-slider-prev-btn {
        left: 6px;
    }
    .ad-slider-next-btn {
        right: 6px;
    }
    .ad-shape-banner .ad-slider-wrapper {
        min-height: 60px;
    }
    .ad-placeholder-title {
        font-size: 0.85rem;
    }
    .ad-shape-banner .ad-placeholder-title {
        font-size: 0.78rem;
    }
    .ad-placeholder-badge {
        font-size: 0.66rem;
        padding: 1px 8px;
    }
    .ad-placeholder-dims {
        font-size: 0.65rem;
    }
    .ad-slider-dots {
        bottom: 6px;
    }
}

@media (max-width: 480px) {
    .ad-slider-container {
        margin-bottom: 14px;
    }
    .ad-slider-prev-btn,
    .ad-slider-next-btn {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    .ad-placeholder-title {
        font-size: 0.78rem;
    }
    .ad-shape-banner .ad-placeholder {
        padding: 6px 8px;
        gap: 4px 8px;
    }
    /* Dimension hint is the first thing to drop when space is tight */
    .ad-shape-banner .ad-placeholder-dims {
        display: none;
    }
    .ad-slider-dot {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 768px) {
    .video-bottom-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .video-grid-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .video-thumb-container-small {
        width: 100px;
        height: 65px;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
    
    .video-grid-title {
        font-size: 0.8rem;
    }
}

.video-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(193, 13, 18, 0.9);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--white);
    color: var(--primary-color);
}

.video-overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-list-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.video-thumb-container {
    position: relative;
    width: 100px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.video-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background-color: rgba(0,0,0,0.8);
    color: var(--white);
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 2px;
    font-family: var(--font-english);
}

.video-mini-title {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.photo-item {
    position: relative;
    height: 115px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.08);
}

/* Poll Widget Styling */
.poll-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.poll-question {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background-color 0.2s ease;
}

.poll-option-label:hover {
    background-color: var(--border-color);
}

.poll-option-label input[type="radio"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.poll-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    align-items: center;
}

.btn-vote {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.poll-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-bar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-bar-container {
    background-color: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.result-bar-fill {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 5px;
    width: 0%;
    transition: width 1s ease-in-out;
}

/* State Wise News Grid (8 States) */
.states-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.state-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.state-header {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 12px;
}

/* Assign unique colors to states as shown in mock */
.state-card:nth-child(1) .state-header { background-color: #d84315; } /* Haryana - dark orange */
.state-card:nth-child(2) .state-header { background-color: #c2185b; } /* Punjab - pink */
.state-card:nth-child(3) .state-header { background-color: #2e7d32; } /* ??????-?????? - green */
.state-card:nth-child(4) .state-header { background-color: #e65100; } /* Rajasthan - orange */
.state-card:nth-child(5) .state-header { background-color: #00838f; } /* UP - teal */
.state-card:nth-child(6) .state-header { background-color: #6a1b9a; } /* MP - purple */
.state-card:nth-child(7) .state-header { background-color: #1565c0; } /* Bihar - blue */
.state-card:nth-child(8) .state-header { background-color: #37474f; } /* Uttarakhand - blue grey */

.state-content {
    padding: 10px;
}

.state-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.state-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--border-color);
}

.state-list li::before {
    display: none;
}

.state-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Web Stories Scroll Container */
.stories-slider-container {
    position: relative;
    margin-bottom: 25px;
}

.stories-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.stories-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.story-card {
    flex-shrink: 0;
    width: 140px;
    height: 200px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover img {
    transform: scale(1.05);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    padding: 10px;
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.story-title {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Footer Styling */
.main-footer {
    background-color: var(--dark-bg);
    color: #dddddd;
    padding: 40px 0 20px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li a {
    color: #b3b3b3;
}

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

.footer-column p {
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-map-container {
    width: 100%;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.footer-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.bottom-footer {
    border-top: 1px solid #2e2e2e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #888888;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #222;
    color: #bbb;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Public Inner News Page */
.page-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 20px;
}

.article-category {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
}

.article-body p {
    margin-bottom: 15px;
}

/* Font Size Adjuster Controls */
.font-size-adjuster {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.font-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #1e293b;
    font-family: var(--font-english);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    outline: none;
    box-shadow: var(--shadow-sm);
}

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

.font-btn:active {
    transform: scale(0.95);
}

[data-theme="dark"] .font-btn {
    background-color: #334155;
    color: #f1f5f9;
    border-color: #475569;
}

[data-theme="dark"] .font-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive Rules (Very Important) */
@media (max-width: 992px) {
    .home-grid {
        grid-template-columns: 1fr 1.5fr;
    }
    .home-grid > .panel-card:last-child {
        grid-column: span 2;
    }
    .three-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-section {
        grid-template-columns: 1fr;
    }
    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
    .home-grid > .panel-card:last-child {
        grid-column: span 1;
    }
    .two-col-grid {
        grid-template-columns: 1fr;
    }
    .three-col-grid {
        grid-template-columns: 1fr;
    }
    .four-col-grid {
        grid-template-columns: 1fr;
    }

    .states-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .bottom-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .header-grid {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .site-masthead .header-grid {
        flex-direction: unset;
        text-align: left;
    }
    .nav-links {
        flex-wrap: wrap;
    }
    .nav-links > li > a {
        padding: 9px 6px;
        font-size: 0.74rem;
    }
    .sub-nav-links {
        flex-wrap: wrap;
        gap: 10px 15px;
    }
}

/* News Detail Bottom Ads Grid */
.news-bottom-ads {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .news-bottom-ads {
        grid-template-columns: 1fr;
    }
}

/* Short Videos Layout & Card Styling */
.short-videos-slider::-webkit-scrollbar {
    display: none;
}

.short-video-card {
    flex-shrink: 0;
    width: 180px;
    height: 310px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background-color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.short-video-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.short-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.short-video-card:hover img {
    opacity: 0.8;
}

.short-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.short-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.2s;
}

.short-video-card:hover .short-video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #ffffff;
    color: var(--primary-color);
}

.short-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    padding: 15px 12px 12px;
    color: #ffffff;
    z-index: 2;
}

.short-video-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-hindi);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Dynamic Vertical Video Modal Player */
.short-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-video-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
}

.short-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 380px;
    aspect-ratio: 9/16;
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid #222;
}

.short-video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10003;
    transition: background-color 0.2s, transform 0.2s;
    outline: none;
}

.short-video-modal-close:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.short-video-player-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-video-player-container iframe,
.short-video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News Article Brief and Share Bar styling */
.article-summary-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.summary-box-title {
    font-family: var(--font-english);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-summary-box p {
    font-family: var(--font-hindi);
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.article-share-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0 20px 0;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #3a3a3c;
    color: #ffffff !important;
    font-size: 1.1rem;
    transition: background-color 0.2s, transform 0.2s;
    text-decoration: none;
}

.share-icon:hover {
    transform: scale(1.08);
}

/* Brand Hover Colors for the Share Bar */
.share-icon.share-facebook:hover {
    background-color: #1877f2;
}

.share-icon.share-x:hover {
    background-color: #000000;
}

.share-icon.share-whatsapp:hover {
    background-color: #25d366;
}

.share-icon.share-linkedin:hover {
    background-color: #0a66c2;
}

.share-icon.share-email:hover {
    background-color: #ea4335;
}

/* Article Tags styling */
.article-tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 5px;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag-item {
    font-family: var(--font-hindi), var(--font-english), sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 5px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
}

.article-tag-item:hover {
    color: var(--white) !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Related Online News Styling */
.related-online-container {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.related-online-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-hindi), sans-serif;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.related-online-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.related-online-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.related-online-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.related-online-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.related-online-card:hover::before {
    opacity: 1;
}

.related-online-headline {
    font-family: var(--font-hindi), sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.related-online-card:hover .related-online-headline {
    color: var(--primary-color);
}

.related-online-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-english), sans-serif;
}

.related-online-source {
    background: rgba(225, 29, 72, 0.08);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.related-online-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 600px) {
    .related-online-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Overlay Sidebar Menu (Aaj Tak Inspired)
   ========================================================================== */
body.sidebar-active {
    overflow: hidden;
}

.sidebar-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}

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

.sidebar-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.sidebar-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 100%;
    height: 100%;
    background-color: #06235b;
    color: var(--white, #ffffff);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.sidebar-menu-overlay.active .sidebar-menu-panel {
    transform: translateX(0);
}

.sidebar-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(0, 0, 0, 0.15);
}

.sidebar-logo {
    display: flex;
    align-items: center;
}

.sidebar-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.sidebar-menu-close {
    background: transparent;
    border: none;
    color: var(--white, #ffffff);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, transform 0.2s, background-color 0.2s;
}

.sidebar-menu-close:hover {
    color: #ffcc00;
    transform: rotate(90deg);
    background-color: rgba(255, 255, 255, 0.08);
}

.sidebar-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 30px;
    /* Custom Scrollbar */
}

.sidebar-menu-body::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-menu-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.sidebar-menu-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.sidebar-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-nav-links li:last-child {
    border-bottom: none;
}

.sidebar-nav-links li a, 
.sidebar-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: var(--font-hindi), "Noto Sans Devanagari", sans-serif;
    transition: background-color 0.2s, color 0.2s;
}

.sidebar-nav-links li a:hover, 
.sidebar-accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffcc00;
}

.sidebar-nav-links li.active > a, 
.sidebar-nav-links li.active > .sidebar-accordion-header {
    color: #ffcc00;
    font-weight: 700;
}

.sidebar-accordion-header {
    cursor: pointer;
    user-select: none;
}

.sidebar-accordion-header i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.sidebar-accordion.open .sidebar-accordion-header i {
    transform: rotate(180deg);
}

.sidebar-accordion-content {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-accordion-content li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar-accordion-content li:last-child {
    border-bottom: none;
}

.sidebar-accordion-content li a {
    padding: 10px 24px 10px 44px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.sidebar-accordion-content li a:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.04);
}

.sidebar-video-link {
    background-color: var(--accent-color, #e11d48) !important;
    color: var(--white, #ffffff) !important;
    border-radius: 4px;
    margin: 15px 20px 5px;
    padding: 12px 20px !important;
    justify-content: center !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    border-bottom: none !important;
}

.sidebar-video-link:hover {
    background-color: #be123c !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.5);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .sidebar-menu-panel {
        width: 100%;
    }
}

/* Web Story Modal Player */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.story-modal-content {
    position: relative;
    width: 90%;
    max-width: 380px;
    aspect-ratio: 9/16;
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 10001;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.story-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10005;
    transition: background-color 0.2s, transform 0.2s;
    outline: none;
}

.story-modal-close:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.story-modal-body {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.story-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.story-modal-title-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
    padding: 30px 20px 20px 20px;
    color: #fff;
    z-index: 10002;
    pointer-events: none;
}

.story-modal-title {
    font-family: var(--font-hindi);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Progress bar indicators at top of modal */
.story-progress-container {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 60px; /* Leave space for close button */
    display: flex;
    gap: 4px;
    z-index: 10003;
}

.story-progress-bar {
    height: 3px;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #fff;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Navigation buttons styling */
.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10004;
    transition: background-color 0.2s, color 0.2s;
    outline: none;
}

.story-nav-btn:hover {
    background: rgba(0,0,0,0.8);
    color: #fff;
}

.story-nav-btn.prev-btn {
    left: 10px;
}

.story-nav-btn.next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    .story-nav-btn {
        display: none !important; /* Hide next/prev chevrons on mobile since tap zones are used */
    }
}

/* State News Section (Replacement Layout) */
.state-news-panel {
    background: linear-gradient(-45deg, #0d121c, #17181c, #26070a, #0b1424);
    background-size: 400% 400%;
    animation: stateGradientBG 18s ease infinite;
    border-radius: var(--radius-lg);
    color: var(--white);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

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

.state-news-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 190, 18, 0.3), rgba(193, 13, 18, 0.4), transparent);
}

.state-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.state-news-title {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #f2be12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-shadow: 0 0 20px rgba(242, 190, 18, 0.15);
    letter-spacing: 0.5px;
}

/* Pulsing Red Dot (Live updates) */
.live-pulse {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: livePulseEffect 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes livePulseEffect {
    to {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.state-tabs {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.state-tab-item {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    white-space: nowrap;
}

.state-tab-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.state-tab-item.active {
    color: var(--white);
    background: linear-gradient(135deg, #c10d12, #0f357c);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(193, 13, 18, 0.4);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Dropdown styling */
.state-dropdown {
    position: relative;
    display: inline-block;
}

.state-dropdown-btn {
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.state-dropdown:hover .state-dropdown-btn,
.state-dropdown-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, #c10d12, #0f357c);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(193, 13, 18, 0.4);
    font-weight: 600;
}

.state-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #101216;
    min-width: 170px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.6);
    z-index: 100;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
    padding: 6px 0;
}

/* Custom scrollbar for dropdown */
.state-dropdown-content::-webkit-scrollbar {
    width: 6px;
}
.state-dropdown-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}
.state-dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
.state-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

.state-dropdown:hover .state-dropdown-content {
    display: block;
    animation: stateDropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.state-dropdown-content a {
    color: rgba(255,255,255,0.75);
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all 0.2s;
    cursor: pointer;
}

.state-dropdown-content a:hover,
.state-dropdown-content a.active {
    background: linear-gradient(90deg, #c10d12, #0f357c);
    color: var(--white);
    padding-left: 20px;
}

/* Body layout */
.state-news-body {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .state-news-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Premium Cards */
.state-featured-card, .state-medium-card, .state-small-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.state-featured-card:hover, .state-medium-card:hover, .state-small-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(242, 190, 18, 0.15);
    border-color: rgba(242, 190, 18, 0.3);
}

.state-featured-card img, .state-medium-card img, .state-small-card img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.state-featured-card img {
    aspect-ratio: 16/10;
}

.state-featured-card:hover img, .state-medium-card:hover img, .state-small-card:hover img {
    transform: scale(1.04);
}

.state-featured-content {
    padding: 20px;
    background: linear-gradient(180deg, rgba(25, 27, 31, 0.4) 0%, #101216 100%);
    flex-grow: 1;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.state-featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.state-featured-title a {
    color: inherit;
    text-decoration: none;
}

.state-featured-card:hover .state-featured-title a {
    color: var(--accent-color);
}

.state-secondary-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.state-medium-card img {
    height: 140px;
}

.state-medium-content {
    padding: 14px;
    background: linear-gradient(180deg, rgba(25, 27, 31, 0.4) 0%, #101216 100%);
}

.state-medium-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--white);
}

.state-medium-title a {
    color: inherit;
    text-decoration: none;
}

.state-medium-card:hover .state-medium-title a {
    color: var(--accent-color);
}

.state-small-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 480px) {
    .state-small-cards-grid {
        grid-template-columns: 1fr;
    }
}

.state-small-card img {
    height: 100px;
}

.state-small-content {
    padding: 12px;
    background: linear-gradient(180deg, rgba(25, 27, 31, 0.4) 0%, #101216 100%);
}

.state-small-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
}

.state-small-title a {
    color: inherit;
    text-decoration: none;
}

.state-small-card:hover .state-small-title a {
    color: var(--accent-color);
}

/* Premium Empty State */
.state-empty-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.state-empty-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #f2be12, #c10d12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(242, 190, 18, 0.35));
    animation: stateFloatIcon 3s ease-in-out infinite;
    margin-bottom: 16px;
    display: inline-block;
}

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

.state-empty-text {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* ==========================================
   Rajyawar News (???????? ?????) Grid Styles (Image 2 & 3 Design)
   ========================================== */
.rajyawar-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    padding-bottom: 0;
}

[data-theme="dark"] .rajyawar-section-header {
    border-bottom-color: #334155;
}

.rajyawar-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color, #d32f2f);
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary-color, #d32f2f);
    margin-bottom: -2px;
    display: inline-block;
}

.rajyawar-see-all {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color, #d32f2f);
    text-decoration: none;
    padding-bottom: 8px;
    transition: opacity 0.2s;
}

.rajyawar-see-all:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.rajyawar-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .rajyawar-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .rajyawar-cards-grid {
        grid-template-columns: 1fr;
    }
}

.rajyawar-state-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .rajyawar-state-card {
    background: #1e293b;
    border-color: #334155;
}

.rajyawar-state-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rajyawar-card-header {
    padding: 10px 14px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.2;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.rajyawar-card-header a {
    color: #ffffff;
    text-decoration: none;
}

.rajyawar-card-header a:hover {
    text-decoration: underline;
}

.rajyawar-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0;
}

.rajyawar-news-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    border-bottom: 1px dotted #cbd5e1;
    transition: background-color 0.15s ease;
}

[data-theme="dark"] .rajyawar-news-row {
    border-bottom-color: #334155;
}

.rajyawar-news-row:last-child {
    border-bottom: none;
}

.rajyawar-news-row:hover {
    background-color: #f8fafc;
}

[data-theme="dark"] .rajyawar-news-row:hover {
    background-color: #0f172a;
}

.rajyawar-news-text {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .rajyawar-news-text {
    color: #e2e8f0;
}

.rajyawar-news-thumb {
    width: 105px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Category 4-Card Grid (Image 2 Red & White Theme Design) */
.category-four-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 12px;
}

@media (max-width: 1024px) {
    .category-four-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-four-cards-grid {
        grid-template-columns: 1fr;
    }
}

.cat-card-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.cat-card-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.cat-card-img,
.cat-card-img-box img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cat-card-item:hover .cat-card-img,
.cat-card-item:hover .cat-card-img-box img {
    transform: scale(1.04);
}

/* Badges on top of image */
.cat-card-time-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 3px 7px;
    border-radius: 4px;
    font-family: var(--font-hindi);
    backdrop-filter: blur(4px);
    z-index: 3;
}

.cat-card-tag-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: var(--primary-color, #c10d12);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font-hindi);
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Card Body below image */
.cat-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.cat-card-title-link {
    text-decoration: none !important;
    display: block;
}

.cat-card-title {
    color: var(--text-dark, #0f172a);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 10px 0;
    font-family: var(--font-hindi);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.cat-card-title-link:hover .cat-card-title {
    color: var(--primary-color, #c10d12);
}

.cat-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.78rem;
    font-family: var(--font-hindi);
    margin-top: auto;
}

.cat-meta-dot {
    color: #cbd5e1;
    font-size: 0.7rem;
}

/* Photo Gallery (800 x 600 px - 4:3 Aspect Ratio) Styling */
.photo-gallery-section {
    background: #ffffff;
}

.pg-card-big,
.pg-card-small,
.pg-card-bottom {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #0f172a;
}

.pg-card-big img,
.pg-card-small img,
.pg-card-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pg-card-big:hover img,
.pg-card-small:hover img,
.pg-card-bottom:hover img {
    transform: scale(1.05);
}

.pg-badge-red-size {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color, #c10d12);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-english);
    z-index: 4;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pg-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 12px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 65%, transparent 100%);
    z-index: 3;
}

.pg-card-title {
    color: #ffffff !important;
    font-family: var(--font-hindi);
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

@media (max-width: 1024px) {
    .photo-gallery-top-grid {
        grid-template-columns: 1fr !important;
    }
    .photo-gallery-bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .pg-small-grid-2x2 {
        grid-template-columns: 1fr !important;
    }
}

/* Global Article Image Fit to Frame */
.article-image {
    object-fit: contain !important;
    background-color: #0f172a;
}

/* =========================================================
   NDTV-style homepage (white UI / ???? ????)
   ========================================================= */
.ndtv-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: stretch;
}

.ndtv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.ndtv-block-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border-color);
}

.ndtv-block-title {
    margin: 0;
    font-family: var(--font-hindi);
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary-color, #c10d12);
    border-bottom: none;
    padding-bottom: 8px;
    display: inline-block;
    position: relative;
}

.ndtv-see-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color, #c10d12);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-hindi);
}

.ndtv-see-more:hover {
    text-decoration: none;
}

.ndtv-head-red {
    background: var(--primary-color, #c10d12);
    border-bottom: none;
    padding: 10px 14px;
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.ndtv-head-red .ndtv-block-title {
    color: #fff;
    border-bottom-color: #fff;
    margin-bottom: 0;
}

.ndtv-head-red .ndtv-see-more {
    color: #fff;
}

.ndtv-hero-main,
.ndtv-hero-side,
.ndtv-cat-block,
.ndtv-side-widget,
.ndtv-video-section {
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.ndtv-hero-slider {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
}

.ndtv-hero-slider .slide-img-box {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.ndtv-hero-slider .slider-main-img,
.ndtv-hero-slider .slide-img-box img,
.ndtv-hero-slider .slide-img-box picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 70%, transparent 100%);
    z-index: 4;
}

.ndtv-hero-caption-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
    font-family: var(--font-hindi);
}

.ndtv-hero-caption a:hover .ndtv-hero-caption-title {
    color: #fecaca;
}

.ndtv-hero-caption-sum {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.88rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-stack-list {
    display: flex;
    flex-direction: column;
}

.ndtv-stack-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    text-decoration: none;
    color: inherit;
}

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

.ndtv-stack-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8fafc;
}

.ndtv-stack-thumb img,
.ndtv-stack-thumb picture,
.ndtv-stack-thumb picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-stack-body {
    min-width: 0;
    flex: 1;
}

.ndtv-stack-title {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-hindi);
}

.ndtv-stack-item:hover .ndtv-stack-title {
    color: var(--primary-color, #c10d12);
}

.ndtv-meta {
    font-size: 0.72rem;
    color: #94a3b8;
}

.ndtv-stack-list.compact .ndtv-stack-thumb {
    flex-basis: 80px;
    width: 80px;
    height: 54px;
}

.ndtv-stack-list.compact .ndtv-stack-title {
    font-size: 0.84rem;
    -webkit-line-clamp: 2;
}

.ndtv-tri-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ndtv-duo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ndtv-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ndtv-feat-card {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}

.ndtv-feat-img {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    margin-bottom: 8px;
}

.ndtv-feat-img img,
.ndtv-feat-img picture,
.ndtv-feat-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-feat-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    font-family: var(--font-hindi);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-feat-card:hover .ndtv-feat-title {
    color: var(--primary-color, #c10d12);
}

.ndtv-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ndtv-bullet-list li {
    padding: 8px 0 8px 14px;
    border-top: 1px solid #f1f5f9;
    position: relative;
}

.ndtv-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color, #c10d12);
}

.ndtv-bullet-list a {
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: var(--font-hindi);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-bullet-list a:hover {
    color: var(--primary-color, #c10d12);
}

.ndtv-ad-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ndtv-ad-row.three {
    grid-template-columns: repeat(3, 1fr);
}

.ndtv-video-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
}

.ndtv-video-feat {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.ndtv-video-feat img,
.ndtv-video-feat picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-video-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-hindi);
}

.ndtv-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(193, 13, 18, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    z-index: 2;
}

.ndtv-play.sm {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
}

.ndtv-video-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ndtv-video-mini {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    text-decoration: none;
    align-items: center;
}

.ndtv-video-mini-thumb {
    position: relative;
    width: 88px;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f172a;
}

.ndtv-video-mini-thumb img,
.ndtv-video-mini-thumb picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-video-mini h4 {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    font-family: var(--font-hindi);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-video-mini:hover h4 {
    color: var(--primary-color, #c10d12);
}

.ndtv-dur {
    position: absolute;
    right: 4px;
    bottom: 4px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 3px;
    z-index: 2;
}

.ndtv-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ndtv-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.ndtv-card-img {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.ndtv-card-img img,
.ndtv-card-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-card-title {
    margin: 0;
    padding: 10px 10px 4px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    font-family: var(--font-hindi);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-card .ndtv-meta {
    display: block;
    padding: 0 10px 10px;
}

.ndtv-card:hover .ndtv-card-title {
    color: var(--primary-color, #c10d12);
}

.ndtv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ndtv-side-ad {
    text-align: center;
}

.ndtv-ranked-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ndtv-rank;
}

.ndtv-ranked-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ndtv-ranked-list li:last-child {
    border-bottom: none;
}

.ndtv-rank {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fef2f2;
    color: var(--primary-color, #c10d12);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ndtv-ranked-list a {
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.4;
    font-family: var(--font-hindi);
}

.ndtv-ranked-list a:hover {
    color: var(--primary-color, #c10d12);
}

.ndtv-side-photo-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.ndtv-side-photo-big {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ndtv-side-photo-big .ndtv-side-photo-img {
    border-radius: 10px;
}

.ndtv-side-photo-big img,
.ndtv-side-photo-big picture,
.ndtv-side-photo-big picture img,
.ndtv-side-photo-img img,
.ndtv-side-photo-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-side-photo-big span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-hindi);
}

.ndtv-side-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ndtv-side-photo-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.ndtv-side-photo-thumb .ndtv-side-photo-img {
    border-radius: 8px;
}

.ndtv-side-photo-grid img,
.ndtv-side-photo-grid picture img,
.ndtv-side-photo-thumb img,
.ndtv-side-photo-thumb picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ndtv-empty,
.ndtv-empty-li {
    padding: 16px 8px;
    color: #94a3b8;
    font-size: 0.88rem;
    list-style: none;
}

.ndtv-empty-li::before {
    display: none !important;
}

#short-video-prev,
#short-video-next {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
}

@media (max-width: 1100px) {
    .ndtv-layout {
        grid-template-columns: 1fr;
    }
    .ndtv-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .ndtv-quad-grid,
    .ndtv-cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ndtv-hero {
        grid-template-columns: 1fr;
    }
    .ndtv-tri-grid,
    .ndtv-duo-grid,
    .ndtv-video-grid,
    .ndtv-ad-row,
    .ndtv-ad-row.three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ndtv-sidebar {
        grid-template-columns: 1fr;
    }
    .ndtv-quad-grid,
    .ndtv-cards-4 {
        grid-template-columns: 1fr;
    }
    .ndtv-hero-caption-title {
        font-size: 1.05rem;
    }
    .ndtv-video-mini {
        grid-template-columns: 100px 1fr;
    }
}


