/* =========================================================
   चुगल चाची — Portal UI (Red Pulse Editorial)
   Loaded after style.css — enhances layout, motion, atmosphere
   Fonts loaded via header.php
   ========================================================= */

:root {
    --primary-color: #c10d12;
    --primary-hover: #9a0a0e;
    --primary-soft: rgba(193, 13, 18, 0.08);
    --secondary-color: #0b2a5c;
    --accent-color: #e8a317;
    --accent-glow: rgba(232, 163, 23, 0.35);
    --ink: #141820;
    --ink-soft: #3d4654;
    --paper: #f3f5f8;
    --paper-deep: #e8ecf2;
    --card-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.86);
    --dark-bg: #0c1018;
    --dark-elevated: #151c28;
    --text-dark: #0f1419;
    --text-muted: #526070;
    --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);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --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;
    --text-body: 1.02rem;
    --text-lead: 1.08rem;
    --text-title: clamp(1.15rem, 2.6vw, 1.38rem);
    --text-headline: clamp(1.22rem, 3.2vw, 1.55rem);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --header-sticky-offset: 68px;
    --side-ad-top: 68px;
    --site-content-max: 1200px;
    --side-ad-width: 100px;
    --side-ad-height: 600px;
    --footer-bg: #f0f3f8;
    --footer-bg-top: #f0f3f8;
    --footer-text: #3d4654;
    --footer-text-muted: #5c6b7a;
    --footer-heading: #000000;
    --footer-border: rgba(15, 23, 42, 0.12);
    --footer-mountain-stroke: #c10d12;
    --footer-mountain-fill: var(--footer-bg-top);
    --footer-surface: rgba(255, 255, 255, 0.82);
    --footer-surface-border: rgba(15, 23, 42, 0.08);
    --footer-bottom-bg: rgba(15, 23, 42, 0.04);
    --footer-map-opacity: 0.15;
    --top-strip-bg: linear-gradient(90deg, #e4eaf2 0%, #f3f5f8 50%, #e4eaf2 100%);
    --top-strip-text: #3d4654;
    --top-strip-text-strong: #0f1419;
    --top-strip-border: rgba(15, 23, 42, 0.1);
    --top-strip-login-bg: rgba(255, 255, 255, 0.9);
    --top-strip-login-border: rgba(15, 23, 42, 0.14);
    --top-strip-login-text: #141820;
    --top-strip-social-bg: rgba(15, 23, 42, 0.06);
    --top-strip-social-text: #526070;
    --top-strip-select-bg: #ffffff;
    --top-strip-select-border: #dce2ea;
    --top-strip-select-text: #141820;
    --top-strip-toggle-bg: rgba(15, 23, 42, 0.06);
    --top-strip-toggle-text: #526070;
    --offcanvas-bg: linear-gradient(165deg, #ffffff 0%, #f5f7fa 55%, #eef2f6 100%);
    --offcanvas-header-bg: var(--card-bg);
    --offcanvas-border: rgba(15, 23, 42, 0.1);
    --offcanvas-text: #141820;
    --offcanvas-text-muted: #5a6472;
    --offcanvas-link-hover-bg: rgba(15, 23, 42, 0.05);
    --offcanvas-link-hover-text: var(--primary-color);
    --offcanvas-active-bg: rgba(193, 13, 18, 0.08);
    --offcanvas-active-text: var(--primary-color);
    --offcanvas-accordion-bg: rgba(15, 23, 42, 0.04);
    --offcanvas-footer-bg: rgba(15, 23, 42, 0.03);
    --offcanvas-close-bg: rgba(15, 23, 42, 0.06);
    --offcanvas-close-border: rgba(15, 23, 42, 0.1);
    --offcanvas-close-text: #141820;
    --offcanvas-social-bg: rgba(15, 23, 42, 0.05);
    --offcanvas-social-border: rgba(15, 23, 42, 0.1);
    --offcanvas-social-text: #526070;
    --offcanvas-shadow: -24px 0 64px rgba(15, 23, 42, 0.14);
    --offcanvas-backdrop: rgba(15, 23, 42, 0.4);
}

[data-theme="dark"] {
    --paper: #000000;
    --paper-deep: #000000;
    --card-bg: #111111;
    --glass: rgba(17, 17, 17, 0.95);
    --text-dark: #e8edf5;
    --text-muted: #9aa6b8;
    --border-color: #222222;
    --ink: #e8edf5;
    --ink-soft: #b0bbc9;
    --primary-soft: rgba(193, 13, 18, 0.18);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    --footer-bg: #000000;
    --footer-bg-top: #000000;
    --footer-text: #c8d0dc;
    --footer-text-muted: #9aa6b8;
    --footer-heading: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-mountain-stroke: #e8383d;
    --footer-mountain-fill: #000000;
    --footer-surface: rgba(255, 255, 255, 0.04);
    --footer-surface-border: rgba(255, 255, 255, 0.08);
    --footer-bottom-bg: #000000;
    --footer-map-opacity: 0.28;
    --top-strip-bg: #000000;
    --top-strip-text: #c5ccd8;
    --top-strip-text-strong: #f0f3f8;
    --top-strip-border: rgba(255, 255, 255, 0.08);
    --top-strip-login-bg: rgba(255, 255, 255, 0.04);
    --top-strip-login-border: rgba(255, 255, 255, 0.18);
    --top-strip-login-text: #ffffff;
    --top-strip-social-bg: rgba(255, 255, 255, 0.05);
    --top-strip-social-text: #c5ccd8;
    --top-strip-select-bg: #111111;
    --top-strip-select-border: rgba(255, 255, 255, 0.12);
    --top-strip-select-text: #f0f3f8;
    --top-strip-toggle-bg: rgba(255, 255, 255, 0.06);
    --top-strip-toggle-text: #c5ccd8;
    --offcanvas-bg: #000000;
    --offcanvas-header-bg: #111111;
    --offcanvas-border: rgba(255, 255, 255, 0.08);
    --offcanvas-text: #f0f3f8;
    --offcanvas-text-muted: rgba(255, 255, 255, 0.55);
    --offcanvas-link-hover-bg: rgba(255, 255, 255, 0.06);
    --offcanvas-link-hover-text: #ffffff;
    --offcanvas-active-bg: rgba(193, 13, 18, 0.12);
    --offcanvas-active-text: var(--accent-color);
    --offcanvas-accordion-bg: rgba(255, 255, 255, 0.04);
    --offcanvas-footer-bg: #000000;
    --offcanvas-close-bg: rgba(255, 255, 255, 0.08);
    --offcanvas-close-border: rgba(255, 255, 255, 0.1);
    --offcanvas-close-text: #ffffff;
    --offcanvas-social-bg: rgba(255, 255, 255, 0.06);
    --offcanvas-social-border: rgba(255, 255, 255, 0.1);
    --offcanvas-social-text: #c8d0dc;
    --offcanvas-shadow: -24px 0 64px rgba(0, 0, 0, 0.55);
    --offcanvas-backdrop: rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] body::before {
    display: none;
    opacity: 0;
    background-image: none;
}

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

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

[data-theme="dark"] .site-footer-shell,
[data-theme="dark"] .main-footer.site-footer {
    background: #000 !important;
}

[data-theme="dark"] .footer-bottom {
    background: transparent !important;
}

[data-theme="dark"] .footer-bg-map img {
    opacity: 0.32;
    mix-blend-mode: lighten;
}

/* ---------- Atmosphere ---------- */
html {
    scroll-behavior: smooth;
}

body,
.portal-body {
    font-family: var(--font-hindi) !important;
    color: var(--text-dark);
    background-color: var(--paper);
    background-image: none;
    background-attachment: scroll;
    font-size: var(--text-body);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.012em;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ---------- Typography — bold Baloo display + clean body ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display) !important;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: 0.01em;
    color: var(--text-dark);
    text-wrap: balance;
}

.ndtv-block-title,
.slide-title-red,
.news-list-title,
.footer-brand-name,
.footer-col-title,
.section-title,
.ndtv-hero-caption-title,
.ticker-item a,
.nav-links > li > a,
.sidebar-brand-name,
.primary-nav .nav-links > li > a,
.sidebar-accordion-header span,
.btn-read-full-red,
.news-video-btn,
.ndtv-see-more,
.rajyawar-section-title,
.rajyawar-see-all {
    font-family: var(--font-display) !important;
}

.ndtv-block-title,
.section-title,
.rajyawar-section-title {
    font-size: var(--text-title) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    text-transform: none;
}

.slide-title-red,
.ndtv-hero-caption-title,
.home-top-slider .slide-title-red {
    font-size: var(--text-headline) !important;
    font-weight: 800 !important;
    letter-spacing: 0.015em;
    line-height: 1.26 !important;
}

.news-list-title,
.home-top-triple .news-list-title {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    line-height: 1.38 !important;
    letter-spacing: 0.01em;
}

.primary-nav .nav-links > li > a {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.02em !important;
}

.top-strip,
.top-widget-item,
.ticker-label,
.badge,
.slide-counter-badge,
.side-ad-label,
.footer-social-label,
.sidebar-brand-sub,
.copyright,
.page-link,
.back-to-top,
.breaking-label,
.trending-fire-badge {
    font-family: var(--font-english) !important;
    letter-spacing: 0.04em;
}

.news-meta,
.news-meta-time,
.trending-tag,
.slide-summary-text,
p,
.footer-brand-tag {
    font-family: var(--font-hindi) !important;
}

.news-meta,
.news-meta-time,
.trending-tag {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.top-widget-item strong,
.ticker-label,
.badge,
.slide-counter-badge {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

p,
.slide-summary-text,
.footer-brand-tag {
    font-size: var(--text-lead);
    line-height: 1.68;
    font-weight: 400;
    color: var(--ink-soft);
}

.slide-summary-text {
    font-size: 0.96rem;
    color: #3d4a5c;
}

.btn-read-full-red,
.news-video-btn,
.ndtv-see-more {
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
}

.trending-tag {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ---------- Motion utilities ---------- */
@keyframes portal-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes portal-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

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

@keyframes portal-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes portal-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes portal-slide-in-right {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Top utility strip (light + dark) ---------- */
.portal-body .top-strip {
    background: var(--top-strip-bg) !important;
    color: var(--top-strip-text) !important;
    border-bottom: 1px solid var(--top-strip-border);
    padding: 7px 0;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

.portal-body .top-widget-item {
    color: var(--top-strip-text);
}

.portal-body .top-widget-item strong {
    color: var(--top-strip-text-strong);
    font-family: var(--font-english);
    font-weight: 600;
}

.portal-body .top-widget-item i,
.portal-body .top-widget-icon,
.portal-body .top-widget-icon-sun,
.portal-body .top-widget-icon-up,
.portal-body .top-widget-icon-down {
    color: var(--primary-color) !important;
}

.top-strip-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: visible;
}

.top-strip-row {
    display: contents;
}

.top-strip-row-info,
.top-strip-row-market {
    justify-content: flex-start;
}

.top-strip-row-info .top-widget-item,
.top-strip-row-market .top-widget-item {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.portal-body .top-header-login-btn {
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--primary-color);
    background-image: linear-gradient(180deg, #d3181e 0%, var(--primary-color) 100%);
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.portal-body .top-header-login-btn:hover {
    background: #fff;
    background-image: none;
    border-color: #fff;
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 13, 18, 0.25);
}

.portal-body .top-social-links a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: var(--primary-color);
    background-image: linear-gradient(180deg, #d3181e 0%, var(--primary-color) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.82rem;
    transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.portal-body .top-social-links a:hover {
    transform: translateY(-2px);
    background: #fff;
    background-image: none;
    border-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(193, 13, 18, 0.22);
}

.portal-body .language-selector select {
    background: var(--primary-color);
    background-image: linear-gradient(180deg, #d3181e 0%, var(--primary-color) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 5px 10px;
    font-family: var(--font-hindi);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.portal-body .language-selector select option {
    color: #141820;
    background: #fff;
}

.portal-body .theme-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: var(--primary-color);
    background-image: linear-gradient(180deg, #d3181e 0%, var(--primary-color) 100%);
    color: #fff;
    transition: transform 0.4s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.portal-body .theme-toggle-btn:hover {
    background: #fff;
    background-image: none;
    border-color: #fff;
    color: var(--primary-color);
    transform: rotate(18deg) scale(1.06);
    box-shadow: 0 4px 12px rgba(193, 13, 18, 0.22);
}

/* ---------- Brand masthead (logo + banner) ---------- */
.site-masthead {
    background: var(--card-bg);
    border-bottom: none;
    padding: 14px 0;
    position: relative;
    overflow: visible;
}

.site-masthead::after {
    display: none;
}

.site-masthead .container.masthead-grid,
.masthead-grid.header-grid,
.masthead-grid {
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 728px);
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    width: 100%;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
}

.brand-lockup:hover {
    color: inherit;
}

.brand-lockup .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    padding: 4px 0;
}

.brand-lockup .logo img,
.site-masthead .logo img {
    max-height: 68px;
    max-width: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.35s var(--ease-out);
}

.brand-lockup:hover .logo img {
    transform: scale(1.04);
}

.brand-copy,
.brand-name,
.brand-tagline,
.brand-live {
    display: none !important;
}

.masthead-ad {
    justify-self: end;
    width: 100%;
    max-width: 728px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.masthead-ad .header-ad,
.site-masthead .header-ad {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.site-masthead .header-ad .ad-slider-container,
.site-masthead .header-ad .ad-placeholder {
    margin: 0 !important;
    width: 100% !important;
    max-width: 728px !important;
    height: 90px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.site-masthead .header-ad .ad-slider-wrapper,
.site-masthead .header-ad .ad-slide {
    height: 90px !important;
    max-height: 90px !important;
    width: 100% !important;
}

.site-masthead .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;
}

.masthead-tools,
.masthead-search-btn,
.header-search-panel,
.header-search-form {
    display: none !important;
}

/* ---------- Primary nav (sticky / pinned) ---------- */
.site-chrome {
    position: relative;
    z-index: 1200;
    width: 100%;
    overflow: visible;
}

.site-chrome.is-pinned {
    z-index: 1200;
}

.site-chrome.is-pinned .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.24);
}

.primary-nav {
    background: var(--primary-color);
    background-image: linear-gradient(180deg, #d3181e 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 1200;
    width: 100%;
    border: none;
    border-top: none;
    transition: box-shadow 0.25s ease, padding 0.2s ease;
}

.primary-nav .container.nav-container,
.primary-nav .nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    width: 100%;
    overflow: visible;
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 48px;
}

.primary-nav .nav-links-scroll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    box-sizing: border-box;
    padding: 2px 0;
}

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

.primary-nav .nav-links > li.nav-home-item {
    margin-right: 2px;
}

.primary-nav .nav-links-scroll > .nav-menu-trigger {
    flex: 0 0 auto;
    margin-left: 6px;
}

.primary-nav .nav-links > li {
    flex: 0 1 auto;
    white-space: nowrap;
    max-width: 100%;
}

.primary-nav.is-compact .nav-links > li > a {
    padding-top: 9px;
    padding-bottom: 9px;
}

.primary-nav .nav-links > li > a {
    position: relative;
    padding: 11px 9px;
    line-height: 1.25;
    border-bottom: none !important;
    border-radius: 6px;
    transition: background 0.22s, color 0.22s, transform 0.22s;
}

.primary-nav .nav-links > li > a > .fa-home,
.primary-nav .nav-links > li > a > .fas.fa-home {
    font-size: 0.95rem;
    line-height: 1;
}

.primary-nav .nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out);
}

.primary-nav .nav-links > li > a:hover::after,
.primary-nav .nav-links > li.active > a::after,
.primary-nav .nav-links > li.has-subcat:hover > a::after,
.primary-nav .nav-links > li.dropdown-item:hover > a::after {
    transform: scaleX(1);
}

.primary-nav .nav-links > li > a:hover,
.primary-nav .nav-links > li.active > a {
    background: rgba(0, 0, 0, 0.18);
}

.primary-nav .nav-links li.has-subcat > a .subcat-chevron,
.primary-nav .nav-links li.dropdown-item > a .fa-chevron-down {
    font-size: 0.58rem;
    margin-left: 4px;
    opacity: 0.9;
    vertical-align: middle;
}

.primary-nav .nav-links li.has-subcat .nav-subcat-menu {
    border-radius: 0 0 14px 14px;
    box-shadow: var(--shadow-lg);
    animation: portal-fade-up 0.28s var(--ease-out);
}

.megamenu {
    border-radius: 0 0 16px 16px;
    background: linear-gradient(160deg, #0b2a5c 0%, #143a75 100%);
    box-shadow: var(--shadow-lg);
}

.nav-right-tools {
    display: none;
}

/* Nav tool buttons (home + hamburger) */
.nav-tool-btn,
.nav-menu-trigger,
.nav-home-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: #ffffff;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.22),
        0 0 0 3px rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.nav-tool-btn:hover,
.nav-menu-trigger:hover,
.nav-home-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.28),
        0 0 0 3px rgba(255, 255, 255, 0.22);
}

.primary-nav .nav-links > li.nav-home-item > a.nav-home-btn {
    padding: 0 !important;
    border-bottom: none !important;
    border-radius: 50%;
    background: #141820 !important;
    color: #ffffff !important;
}

.primary-nav .nav-links > li.nav-home-item > a.nav-home-btn::after {
    display: none !important;
}

.primary-nav .nav-links > li.nav-home-item > a.nav-home-btn:hover,
.primary-nav .nav-links > li.nav-home-item.active > a.nav-home-btn,
.primary-nav .nav-links > li.nav-home-item > a.nav-home-btn:focus {
    background: #141820 !important;
    color: #ffffff !important;
    border-bottom-color: transparent !important;
}

.primary-nav .nav-links > li.nav-home-item > a.nav-home-btn:hover {
    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.28),
        0 0 0 3px rgba(255, 255, 255, 0.22);
}

.nav-menu-trigger[aria-expanded="true"] {
    background: #141820;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.18);
}

.nav-tool-btn .nav-menu-icon,
.nav-menu-trigger .nav-menu-icon,
.nav-home-btn .nav-menu-icon {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.nav-menu-trigger .nav-menu-icon--close {
    display: none;
}

.nav-menu-trigger[aria-expanded="true"] .nav-menu-icon--open {
    display: none;
}

.nav-menu-trigger[aria-expanded="true"] .nav-menu-icon--close {
    display: block;
}

.primary-nav .nav-links li.nav-video-item {
    margin-left: 4px;
}

.primary-nav .nav-links li a.news-video-btn {
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
    gap: 6px !important;
}

.primary-nav .nav-links li a.news-video-btn i {
    font-size: 0.7rem;
}

.primary-nav .nav-links li a.news-video-btn::after {
    display: none;
}

/* Fit denser on mid widths — keep readable */
@media (max-width: 1200px) {
    .primary-nav .nav-links > li > a {
        font-size: 0.78rem;
        padding: 10px 7px;
    }
}

@media (max-width: 992px) {
    .primary-nav .nav-links > li > a {
        font-size: 0.74rem;
        padding: 9px 6px;
    }

    .primary-nav .nav-links li a.news-video-btn {
        font-size: 0.72rem !important;
        padding: 5px 10px !important;
    }

    .nav-menu-trigger,
    .nav-home-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 768px) {
    .primary-nav .nav-container {
        gap: 6px;
        min-height: 46px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .primary-nav .nav-links > li > a {
        font-size: 0.72rem;
        padding: 8px 6px;
    }

    .nav-menu-trigger,
    .nav-home-btn {
        width: 36px;
        height: 36px;
    }

    .nav-tool-btn .nav-menu-icon,
    .nav-menu-trigger .nav-menu-icon,
    .nav-home-btn .nav-menu-icon {
        width: 18px;
        height: 18px;
    }
}

/* ---------- Breaking + trending cards ---------- */
.portal-rail {
    margin-top: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-rail .portal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: none;
}

.breaking-ticker {
    display: flex !important;
    align-items: stretch;
    margin: 0 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: var(--card-bg) !important;
    box-shadow: none;
    min-height: 64px;
}

.ticker-label {
    background: linear-gradient(160deg, #e11d28 0%, #c10d12 55%, #9a0a0e 100%) !important;
    color: #fff !important;
    font-family: var(--font-english);
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    padding: 0 22px 0 16px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
    z-index: 2;
}

.ticker-label-text {
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    animation: portal-pulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 8px 14px 8px 8px;
    background: var(--card-bg);
}

.ticker-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: portal-marquee 40s linear infinite !important;
    will-change: transform;
    transform: translateX(0);
}

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

.ticker-item {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.25s, transform 0.25s;
}

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

.ticker-item:hover .ticker-thumb-wrap img,
.ticker-item:hover .ticker-thumb-wrap picture img {
    transform: scale(1.06);
}

.ticker-thumb-wrap {
    flex-shrink: 0;
    width: 88px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background: var(--paper-deep);
    position: relative;
}

.ticker-thumb-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ticker-thumb-wrap img,
.ticker-thumb-wrap picture img,
.ticker-item .ticker-thumb,
.ticker-item img.ticker-thumb {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    border-radius: 0 !important;
    border: none !important;
    transition: transform 0.45s var(--ease-out);
    background: var(--paper-deep);
}

.ticker-icon {
    height: 16px;
    width: auto;
    flex-shrink: 0;
}

.ticker-title {
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.ticker-sep {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--primary-color);
    opacity: 0.55;
    margin: 0 10px 0 4px;
    flex-shrink: 0;
    transform: rotate(45deg);
}

.ticker-bullet-dot {
    display: none;
}

/* Trending chips card */
.trending-keywords-bar {
    margin: 0 !important;
    padding: 12px 16px !important;
    background: var(--card-bg) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color) !important;
    gap: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.trending-label {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    font-family: var(--font-english) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff !important;
    background: var(--primary-color);
    padding: 7px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: none;
}

.trending-label i {
    font-size: 0.85rem;
}

.trending-tags-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.trending-tags-scroll {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.trending-tag {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    box-shadow: none;
    transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out) !important;
    line-height: 1.2;
}

.trending-tag:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

.trending-tag .tag-hash {
    color: var(--primary-color);
    font-weight: 800;
    margin-right: 1px;
}

.trending-tag:hover .tag-hash {
    color: #ffe08a;
}

@media (max-width: 768px) {
    .ticker-label {
        padding: 0 16px 0 12px !important;
        font-size: 0.68rem;
        min-height: 56px;
    }

    .breaking-ticker {
        min-height: 56px;
    }

    .ticker-thumb-wrap {
        width: 88px !important;
        height: 50px !important;
        flex-shrink: 0;
    }

    .ticker-thumb-wrap picture,
    .ticker-thumb-wrap img,
    .ticker-thumb-wrap picture img,
    .ticker-item .ticker-thumb {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .ticker-title {
        max-width: min(52vw, 220px);
        font-size: 0.82rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .trending-keywords-bar {
        flex-direction: column !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 10px !important;
        overflow: hidden;
    }

    .trending-label {
        align-self: center;
        margin: 0 auto;
    }

    .trending-tags-content {
        width: 100%;
        overflow: hidden;
        padding: 2px 0;
        display: flex;
        justify-content: center;
    }

    .trending-tags-scroll {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 8px;
        width: max-content;
        white-space: nowrap;
        animation: portal-marquee 36s linear infinite;
        will-change: transform;
        transform: translateX(0);
    }

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

    .trending-tag {
        font-size: 0.74rem !important;
        padding: 6px 10px !important;
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* ---------- Sticky side ad rails (only when gutter has room — no card overlap) ---------- */
.side-ad-container {
    display: none !important;
}

body.has-side-rails main.container.site-main,
body.has-side-rails main.container {
    position: relative !important;
    overflow: visible !important;
    z-index: 30;
    isolation: isolate;
}

body.has-side-rails .side-ad-container {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--side-ad-width) !important;
    z-index: 15;
    pointer-events: none;
    height: auto;
}

.portal-rail {
    position: relative;
    z-index: 30;
    isolation: isolate;
}

body.has-side-rails .left-side-ad {
    left: calc((var(--side-ad-width) + 16px) * -1) !important;
    right: auto !important;
}

body.has-side-rails .right-side-ad {
    right: calc((var(--side-ad-width) + 16px) * -1) !important;
    left: auto !important;
}

body.has-side-rails .side-ad-rail {
    position: sticky;
    top: var(--side-ad-top);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    pointer-events: auto;
    width: 100%;
}

body.has-side-rails .side-ad-label {
    align-self: center;
    font-family: var(--font-english);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 3px 10px;
    box-shadow: var(--shadow-sm);
}

body.has-side-rails .side-ad-container .ad-slider-container {
    height: var(--side-ad-height) !important;
    min-height: var(--side-ad-height) !important;
    max-height: var(--side-ad-height) !important;
    width: 100% !important;
    max-width: var(--side-ad-width) !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--card-bg) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.has-side-rails .side-ad-container .ad-slider-wrapper {
    height: var(--side-ad-height) !important;
    min-height: var(--side-ad-height) !important;
    max-height: var(--side-ad-height) !important;
    aspect-ratio: auto !important;
    width: 100% !important;
}

body.has-side-rails .side-ad-container .ad-slide {
    height: var(--side-ad-height) !important;
    width: 100% !important;
}

body.has-side-rails .side-ad-container .ad-slide img {
    max-height: var(--side-ad-height) !important;
    height: var(--side-ad-height) !important;
    width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

body.has-side-rails .side-ad-container .ad-placeholder {
    background: var(--paper-deep) !important;
    border: none !important;
    padding: 18px 8px !important;
    gap: 10px !important;
    min-height: 100%;
    justify-content: center;
}

body.has-side-rails .side-ad-container .ad-placeholder-title {
    color: #334155 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    text-align: center;
}

body.has-side-rails .side-ad-container .ad-placeholder-badge {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 4px 10px !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    box-shadow: none;
}

body.has-side-rails .side-ad-container .ad-placeholder-dims {
    color: #64748b !important;
    font-weight: 600 !important;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 6px;
    padding: 3px 8px;
}

body.has-side-rails .side-ad-container .ad-slider-prev-btn,
body.has-side-rails .side-ad-container .ad-slider-next-btn {
    display: none !important;
}

body.has-side-rails .side-ad-container .ad-slider-dots {
    bottom: 10px !important;
    gap: 5px !important;
}

body.has-side-rails .side-ad-container .ad-slider-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: rgba(148, 163, 184, 0.7) !important;
}

body.has-side-rails .side-ad-container .ad-slider-dot.active {
    background: var(--primary-color) !important;
    width: 16px !important;
    border-radius: 999px !important;
}

@media (max-width: 1079px) {
    body.has-side-rails .side-ad-container,
    .side-ad-label {
        display: none !important;
    }
}

/* ---------- Mobile offcanvas sidebar (light + dark) ---------- */
.sidebar-menu-overlay {
    z-index: 10050;
}

.sidebar-menu-overlay .sidebar-menu-close:hover {
    transform: none !important;
}

.sidebar-menu-overlay .sidebar-menu-panel {
    background: var(--offcanvas-bg) !important;
    color: var(--offcanvas-text) !important;
}

.sidebar-menu-overlay .sidebar-nav-links li a,
.sidebar-menu-overlay .sidebar-accordion-header {
    color: var(--offcanvas-text);
}

.sidebar-menu-overlay .sidebar-nav-links li a:hover,
.sidebar-menu-overlay .sidebar-accordion-header:hover {
    color: var(--offcanvas-link-hover-text);
    background-color: var(--offcanvas-link-hover-bg);
}

.sidebar-menu-overlay .sidebar-nav-links li.active > a,
.sidebar-menu-overlay .sidebar-nav-links li.active > .sidebar-accordion-header {
    color: var(--offcanvas-active-text);
    background-color: var(--offcanvas-active-bg);
}

.sidebar-menu-backdrop {
    background-color: var(--offcanvas-backdrop);
}

.sidebar-menu-panel {
    width: min(340px, 100vw);
    background: var(--offcanvas-bg);
    color: var(--offcanvas-text);
    box-shadow: var(--offcanvas-shadow);
    border-left: 1px solid var(--offcanvas-border);
    display: flex;
    flex-direction: column;
}

.sidebar-menu-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 56px 16px 16px;
    border-bottom: 1px solid var(--offcanvas-border);
    background: var(--offcanvas-header-bg);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sidebar-logo img {
    max-height: 56px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    display: block;
}

.sidebar-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--offcanvas-close-bg);
    border: 2px solid var(--offcanvas-close-border);
    color: var(--offcanvas-close-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.sidebar-menu-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 18px rgba(193, 13, 18, 0.35);
}

.sidebar-menu-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 6px 0 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sidebar-menu-body::-webkit-scrollbar-track {
    background: var(--offcanvas-accordion-bg);
}

.sidebar-menu-body::-webkit-scrollbar-thumb {
    background: var(--offcanvas-border);
}

.sidebar-menu-body::-webkit-scrollbar-thumb:hover {
    background: var(--offcanvas-text-muted);
}

.sidebar-socials {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

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

.sidebar-nav-links > li {
    border-bottom: 1px solid var(--offcanvas-border);
}

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

.sidebar-nav-links > li > a,
.sidebar-nav-links > li > a.sidebar-home-link,
.sidebar-accordion-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-hindi);
    font-weight: 600;
    color: var(--offcanvas-text);
    text-decoration: none;
    border-left: 3px solid transparent;
    border-bottom: none;
    transition: background 0.22s, color 0.22s, border-color 0.22s, padding-left 0.22s;
}

.sidebar-nav-links > li > a,
.sidebar-nav-links > li > a.sidebar-home-link {
    justify-content: flex-start !important;
    gap: 10px;
}

.sidebar-accordion-header {
    justify-content: space-between;
}

.sidebar-nav-links > li > a i,
.sidebar-nav-links > li > a.sidebar-home-link i {
    width: 22px;
    margin-right: 0;
    color: var(--primary-color);
    font-size: 0.92rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-accordion-header i {
    color: var(--offcanvas-text-muted);
    font-size: 0.82rem;
    transition: transform 0.3s var(--ease-out), color 0.22s;
}

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

.sidebar-nav-links > li > a:hover,
.sidebar-nav-links > li > a.sidebar-home-link:hover,
.sidebar-accordion-header:hover {
    background: var(--offcanvas-link-hover-bg);
    padding-left: 22px;
    color: var(--offcanvas-link-hover-text);
    border-left-color: rgba(193, 13, 18, 0.45);
}

.sidebar-nav-links li.active > a,
.sidebar-nav-links li.active > a.sidebar-home-link,
.sidebar-nav-links li.active > .sidebar-accordion-header {
    color: var(--offcanvas-active-text);
    background: var(--offcanvas-active-bg);
    border-left-color: var(--primary-color);
    font-weight: 700;
}

.sidebar-accordion-content {
    background: var(--offcanvas-accordion-bg);
}

.sidebar-accordion-content li {
    border-bottom: 1px solid var(--offcanvas-border);
}

.sidebar-accordion-content li a {
    padding: 10px 20px 10px 48px;
    font-size: 0.9rem;
    color: var(--offcanvas-text);
    opacity: 0.9;
}

.sidebar-accordion-content li a:hover {
    opacity: 1;
    background: var(--offcanvas-link-hover-bg);
    color: var(--offcanvas-link-hover-text);
}

.sidebar-accordion-content li.active a {
    color: var(--offcanvas-active-text);
    background: var(--offcanvas-active-bg);
}

.sidebar-video-item {
    padding: 14px 16px 16px;
    border-bottom: none !important;
    border-top: 1px solid var(--offcanvas-border);
}

.sidebar-nav-links .sidebar-video-item .news-video-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
    background-color: #f59e0b !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    gap: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: none !important;
    border-left: none !important;
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.sidebar-nav-links .sidebar-video-item .news-video-btn i {
    font-size: 0.75rem !important;
    color: #fff !important;
    margin-right: 0;
}

.sidebar-nav-links .sidebar-video-item .news-video-btn:hover,
.sidebar-nav-links .sidebar-video-item.active .news-video-btn {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-color: #fff !important;
    color: #fff !important;
    box-shadow: none !important;
    padding-left: 18px !important;
    transform: none;
}

.sidebar-menu-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 16px 18px 20px;
    border-top: 1px solid var(--offcanvas-border);
    background: var(--offcanvas-footer-bg);
}

.sidebar-footer-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--offcanvas-text-muted);
    margin: 0 0 12px;
    font-family: var(--font-hindi);
    font-weight: 600;
}

.sidebar-menu-footer .sidebar-socials a {
    width: 100%;
    min-width: 0;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--offcanvas-social-bg);
    border: 1px solid var(--offcanvas-social-border);
    color: var(--offcanvas-social-text);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.sidebar-menu-footer .sidebar-socials a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 13, 18, 0.28);
}

body.sidebar-active {
    overflow: hidden;
    touch-action: none;
}

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

    .sidebar-menu-header {
        padding: 16px 14px 14px;
    }

    .sidebar-logo img {
        max-height: 50px;
        max-width: 180px;
    }

    .sidebar-menu-close {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .sidebar-nav-links > li > a,
    .sidebar-accordion-header {
        padding: 13px 14px;
        font-size: 0.95rem;
    }

    .sidebar-accordion-content li a {
        padding: 10px 14px 10px 40px;
        font-size: 0.88rem;
    }

    .sidebar-menu-footer .sidebar-socials {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .sidebar-menu-footer .sidebar-socials a {
        height: 40px;
        font-size: 0.92rem;
    }
}

/* ---------- Home / NDTV layout refresh ---------- */
main.container {
    padding-top: 4px;
    padding-bottom: 40px;
    min-width: 0;
}

.portal-rail {
    min-width: 0;
}

/* ---------- First triple: ताजा | टॉप | ट्रेंडिंग ---------- */
.home-top-triple.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr);
    gap: clamp(10px, 1.5vw, 16px);
    align-items: start;
    margin-bottom: 22px;
    min-width: 0;
}

.home-top-triple .panel-card {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    background: var(--card-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-top-triple .news-list,
.home-top-triple .news-ticker,
.home-cat-triple .news-list,
.home-cat-triple .news-ticker {
    padding: 14px 16px 16px;
    gap: 2px;
    flex: 1;
    min-height: 0;
}

.home-top-triple .news-ticker,
.home-cat-triple .news-ticker {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-top-triple .news-ticker-viewport,
.home-cat-triple .news-ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.home-cat-triple .news-ticker-viewport {
    max-height: 320px;
}

.home-top-triple .news-ticker-track,
.home-cat-triple .news-ticker-track {
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.home-top-triple .news-ticker-track .news-list-item,
.home-cat-triple .news-ticker-track .news-list-item {
    flex-shrink: 0;
}

.home-top-triple .news-ticker-track.is-moving,
.home-cat-triple .news-ticker-track.is-moving {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-top-triple .news-ticker.is-paused .news-ticker-track.is-moving,
.home-cat-triple .news-ticker.is-paused .news-ticker-track.is-moving {
    transition: none;
}

.home-top-triple .news-list-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: background 0.2s;
    border-radius: 8px;
    align-items: flex-start;
}

.home-top-triple .news-list-item:first-child {
    padding-top: 0;
}

.home-top-triple .news-list-item:hover {
    background: var(--primary-soft);
}

.home-top-triple .news-list-item:last-child {
    border-bottom: none;
}

.home-top-triple .news-list-item picture.news-list-thumb-wrap,
.home-top-triple .news-list-item picture {
    width: 84px !important;
    height: 52px !important;
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.home-top-triple .news-list-thumb,
.home-top-triple .news-list-item img.news-list-thumb,
.home-top-triple .news-list-item picture img {
    width: 100% !important;
    height: 100% !important;
    max-width: 84px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f1f5f9;
    display: block;
}

.home-top-triple .news-list-title {
    color: var(--text-dark);
}

.home-top-triple .news-meta {
    font-family: var(--font-hindi);
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-top-triple .news-meta .badge {
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 0.65rem;
    font-weight: 800;
}

.home-top-panel .hero-slider {
    border-radius: 0;
    flex: 0 1 auto;
}

.home-top-panel .slide-img-box {
    border-radius: 0;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-top-panel .slider-main-img,
.home-top-panel .slide-img-box img,
.home-top-panel .slide-img-box picture img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    aspect-ratio: unset !important;
}

.home-top-panel .slide-text-content {
    padding: 0;
}

/* ---------- Home top slider — title & footer spacing ---------- */
.home-top-slider .slide.active {
    display: flex;
    flex-direction: column;
}

.home-top-slider .slide-text-content {
    padding: clamp(12px, 2.5vw, 18px) clamp(14px, 3vw, 20px) clamp(8px, 1.5vw, 12px);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.home-top-slider .slide-text-content > a {
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.home-top-slider .slide-title-red {
    margin: 0;
    color: var(--primary-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.home-top-slider .slide-text-content > a:hover .slide-title-red {
    color: #9a0a0e;
}

.home-top-slider .slide-summary-text {
    font-size: clamp(0.82rem, 1.8cqw, 0.9rem);
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-top-slider .slide-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    padding-bottom: 32px;
    border-top: 1px solid var(--border-color);
    flex-wrap: nowrap;
}

.home-top-slider .news-meta-time {
    font-size: clamp(0.75rem, 1.6cqw, 0.82rem);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-top-slider .news-meta-time i {
    color: var(--primary-color);
    opacity: 0.85;
    flex-shrink: 0;
}

.home-top-slider .btn-read-full-red {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: clamp(0.78rem, 1.6cqw, 0.84rem);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(193, 13, 18, 0.22);
}

.home-top-slider .slider-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 12px;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.home-top-slider .dot {
    width: 7px;
    height: 7px;
    background: #cbd5e1;
}

.home-top-slider .dot.active {
    width: 18px;
    border-radius: 999px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .home-top-slider .slide-title-red {
        -webkit-line-clamp: 2;
        font-size: 1rem;
    }

    .home-top-slider .slide-footer-flex {
        margin-top: 12px;
        padding-top: 10px;
        padding-bottom: 30px;
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .home-top-slider .slide-text-content {
        padding: 12px 14px 8px;
    }

    .home-top-slider .slide-footer-flex {
        flex-wrap: wrap;
    }

    .home-top-slider .btn-read-full-red {
        padding: 7px 12px;
        font-size: 0.78rem;
    }
}

@media (max-width: 1280px) {
    .home-top-triple.home-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
    }

    .home-top-triple .home-side-panel:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .home-top-triple.home-grid {
        grid-template-columns: 1fr;
    }

    .home-top-triple .home-side-panel:last-child {
        grid-column: auto;
    }

    .home-top-triple .home-top-panel {
        order: -1;
    }
}

/* ---------- Category triple: 3 equal stack cards ---------- */
.home-cat-triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 16px);
    align-items: stretch;
    margin-bottom: 22px;
    min-width: 0;
}

.home-cat-triple .home-cat-panel {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 0;
    overflow: hidden;
    background: var(--card-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-cat-triple .news-list {
    padding: 14px 16px 16px;
    gap: 2px;
    flex: 1;
}

.home-cat-triple .news-list-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: background 0.2s;
    border-radius: 8px;
    align-items: flex-start;
}

.home-cat-triple .news-list-item:first-child {
    padding-top: 0;
}

.home-cat-triple .news-list-item:hover {
    background: var(--primary-soft);
}

.home-cat-triple .news-list-item:last-child {
    border-bottom: none;
}

.home-cat-triple .news-list-item picture {
    width: 96px !important;
    height: 58px !important;
    flex-shrink: 0;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.home-cat-triple .news-list-thumb,
.home-cat-triple .news-list-item img.news-list-thumb,
.home-cat-triple .news-list-item picture img {
    width: 100% !important;
    height: 100% !important;
    max-width: 96px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f1f5f9;
    display: block;
}

.home-cat-triple .news-list-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-cat-triple .news-meta {
    font-family: var(--font-hindi);
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (max-width: 1100px) {
    .home-cat-triple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-cat-triple {
        grid-template-columns: 1fr;
    }
}

.home-ad-full.ndtv-ad-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 16px);
    width: 100%;
    min-width: 0;
}

.home-ad-full .ad-slider-container,
.home-ad-full .ad-card-box {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .home-ad-full.ndtv-ad-row {
        grid-template-columns: 1fr;
    }
}

.ndtv-hero {
    gap: 18px;
    margin-bottom: 28px !important;
}

.ndtv-hero-main,
.ndtv-hero-side,
.ndtv-cat-block,
.ndtv-side-widget,
.ndtv-video-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: none;
    overflow: hidden;
    transition: border-color 0.25s var(--ease-out);
}

.ndtv-cat-block:hover,
.ndtv-side-widget:hover {
    box-shadow: none;
    border-color: rgba(193, 13, 18, 0.22);
}

/* ========== Unified stylish card headers ========== */
.ndtv-block-head,
.rajyawar-section-header,
.section-header {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px !important;
    margin: 0 0 0 !important;
    border-bottom: 1px solid var(--border-color);
    background: var(--card-bg);
    position: relative;
}

.ndtv-block-title,
.rajyawar-section-title,
.section-header .section-title {
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--primary-color) !important;
    position: relative;
    padding: 0 0 8px !important;
    margin: 0 !important;
    flex: 1;
    min-width: 0;
}

.ndtv-block-title::before,
.rajyawar-section-title::before,
.section-header .section-title::before {
    display: none !important;
}

.ndtv-block-title::after,
.rajyawar-section-title::after,
.section-header .section-title::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary-color);
    box-shadow: none;
}

.ndtv-see-more,
.rajyawar-see-all,
.see-more {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    padding: 6px 12px !important;
    border-radius: 999px;
    font-family: var(--font-display) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    color: var(--primary-color) !important;
    background: #fff;
    border: 1px solid rgba(193, 13, 18, 0.28);
    box-shadow: none;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s !important;
}

.ndtv-see-more::after,
.rajyawar-see-all::after,
.see-more::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.55rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: rgba(193, 13, 18, 0.1);
    flex-shrink: 0;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.ndtv-see-more:hover,
.rajyawar-see-all:hover,
.see-more:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

.ndtv-see-more:hover::after,
.rajyawar-see-all:hover::after,
.see-more:hover::after {
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(2px);
}

.ndtv-head-red {
    background: linear-gradient(90deg, var(--primary-color), #e11d28) !important;
    border-bottom: none !important;
}

.ndtv-head-red .ndtv-block-title {
    color: #fff !important;
    padding-bottom: 8px !important;
}

.ndtv-head-red .ndtv-block-title::after {
    background: #fff !important;
    box-shadow: none;
}

.ndtv-head-red .ndtv-see-more {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

.ndtv-head-red .ndtv-see-more:hover {
    background: #fff !important;
    color: var(--primary-color) !important;
    border-color: #fff !important;
}

.ndtv-head-red .ndtv-see-more::after {
    background: rgba(255, 255, 255, 0.2);
}

.ndtv-head-red .ndtv-see-more:hover::after {
    background: rgba(193, 13, 18, 0.12);
    color: var(--primary-color);
}

/* ---------- Video section (वीडियो खबरें) ---------- */
.ndtv-video-section {
    padding: 0 !important;
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.ndtv-video-section .ndtv-block-head.ndtv-head-red {
    padding: 16px 18px 14px !important;
    margin: 0 !important;
    border-radius: 14px 14px 0 0;
}

.ndtv-video-section .ndtv-block-title {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.ndtv-video-section .ndtv-video-grid {
    --video-grid-gap: 14px;
    --video-col-left: 1.68;
    --video-col-right: 0.82;
    --video-feat-height: calc(
        (100cqw - var(--video-grid-gap))
        * var(--video-col-left)
        / (var(--video-col-left) + var(--video-col-right))
        * 9 / 16
    );
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1.68fr) minmax(0, 0.82fr);
    gap: var(--video-grid-gap);
    padding: 16px;
    background: var(--card-bg);
    align-items: start;
}

[data-theme="dark"] .ndtv-video-section .ndtv-video-grid {
    background: var(--card-bg);
}

.ndtv-video-feat {
    position: relative;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.ndtv-video-feat picture {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.ndtv-video-feat img,
.ndtv-video-feat picture img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    transition: transform 0.45s var(--ease-out);
}

.ndtv-video-feat:hover img,
.ndtv-video-feat:hover picture img {
    transform: scale(1.04);
}

.ndtv-video-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    font-family: var(--font-display) !important;
    font-size: clamp(0.92rem, 2vw, 1.05rem) !important;
    font-weight: 700 !important;
    line-height: 1.35;
    color: #fff;
    padding: 28px 16px 14px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 65%, transparent 100%) !important;
}

.ndtv-video-feat .ndtv-play {
    width: 58px;
    height: 58px;
    font-size: 1.1rem;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ndtv-video-feat:hover .ndtv-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.ndtv-video-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    height: var(--video-feat-height);
    min-height: 0;
    max-width: 100%;
}

.ndtv-video-mini {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    flex: 1 1 0;
    min-height: 0;
    padding: 5px 6px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    text-decoration: none;
    overflow: hidden;
    transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ndtv-video-mini:hover {
    background: var(--primary-soft);
    border-color: rgba(193, 13, 18, 0.28);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(193, 13, 18, 0.1);
}

.ndtv-video-mini-thumb {
    position: relative;
    width: 88px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 100%;
    min-height: 0;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: #0f172a;
    overflow: hidden;
    align-self: center;
    flex-shrink: 0;
}

.ndtv-video-mini-thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ndtv-video-mini-thumb img,
.ndtv-video-mini-thumb picture img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
}

.ndtv-video-mini .ndtv-play.sm {
    width: 26px;
    height: 26px;
    font-size: 0.58rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.ndtv-video-mini:hover .ndtv-play.sm {
    transform: translate(-50%, -50%) scale(1.08);
}

.ndtv-video-mini h4 {
    margin: 0 !important;
    font-family: var(--font-display) !important;
    font-size: clamp(0.72rem, 1.2vw, 0.8rem) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--text-dark) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-video-mini:hover h4 {
    color: var(--primary-color) !important;
}

.ndtv-video-mini .ndtv-dur {
    font-size: 0.56rem !important;
    padding: 1px 5px !important;
}

.ndtv-dur {
    font-family: var(--font-english) !important;
    font-weight: 700;
    font-size: 0.62rem !important;
    letter-spacing: 0.04em;
    padding: 2px 6px !important;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.82) !important;
    color: #fff !important;
}

.ndtv-video-section .ndtv-empty {
    color: var(--text-muted);
    padding: 20px;
    text-align: center;
}

@media (max-width: 900px) {
    .ndtv-video-section .ndtv-video-grid {
        grid-template-columns: 1fr;
        container-type: normal;
    }

    .ndtv-video-side {
        height: auto;
        justify-content: flex-start;
        gap: 10px;
    }

    .ndtv-video-mini {
        flex: 0 0 auto;
        grid-template-columns: 132px minmax(0, 1fr);
        padding: 10px;
        gap: 12px;
    }

    .ndtv-video-mini-thumb {
        width: 132px;
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .ndtv-video-mini h4 {
        font-size: 0.88rem !important;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 520px) {
    .ndtv-video-section .ndtv-video-grid {
        padding: 12px;
    }

    .ndtv-video-mini {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .ndtv-video-mini-thumb {
        width: 108px;
        aspect-ratio: 16 / 9;
        height: auto;
        max-height: none;
    }

    .ndtv-video-mini h4 {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2;
    }
}

/* ---------- Category blocks (बॉलीवुड, खेल, duo/quad grids) ---------- */
.ndtv-cat-block {
    padding: 0 !important;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ndtv-duo-grid {
    gap: 18px;
    align-items: stretch;
}

.ndtv-quad-grid {
    gap: 16px;
    align-items: stretch;
}

.ndtv-cat-block .ndtv-feat-card {
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 14px 16px 10px;
    transition: background 0.25s;
}

.ndtv-cat-block .ndtv-feat-card:hover {
    background: var(--primary-soft);
}

.ndtv-cat-block .ndtv-feat-img {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.ndtv-cat-block .ndtv-feat-img img,
.ndtv-cat-block .ndtv-feat-img picture,
.ndtv-cat-block .ndtv-feat-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    transition: transform 0.5s var(--ease-out);
}

.ndtv-cat-block .ndtv-feat-card:hover .ndtv-feat-img img,
.ndtv-cat-block .ndtv-feat-card:hover .ndtv-feat-img picture img {
    transform: scale(1.04);
}

.ndtv-cat-block .ndtv-feat-title {
    margin: 0 !important;
    font-family: var(--font-display) !important;
    font-size: clamp(0.95rem, 2vw, 1.05rem) !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    color: var(--text-dark) !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

.ndtv-cat-block .ndtv-feat-card:hover .ndtv-feat-title {
    color: var(--primary-color) !important;
}

.ndtv-cat-block .ndtv-bullet-list {
    list-style: none;
    margin: 0;
    padding: 4px 16px 14px;
    flex: 1;
}

.ndtv-cat-block .ndtv-bullet-list li {
    padding: 10px 0 10px 16px;
    border-top: 1px solid var(--border-color);
    position: relative;
    transition: background 0.2s;
    border-radius: 6px;
}

.ndtv-cat-block .ndtv-bullet-list li:hover {
    background: var(--primary-soft);
}

.ndtv-cat-block .ndtv-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 13, 18, 0.14);
}

.ndtv-cat-block .ndtv-bullet-list a {
    color: var(--text-dark) !important;
    font-family: var(--font-hindi) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.42 !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s;
}

.ndtv-cat-block .ndtv-bullet-list a:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .ndtv-cat-block .ndtv-see-more {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color) !important;
}

@media (max-width: 900px) {
    .ndtv-duo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ndtv-cat-block .ndtv-feat-card {
        padding: 12px 14px 8px;
    }

    .ndtv-cat-block .ndtv-bullet-list {
        padding: 4px 14px 12px;
    }

    .ndtv-cat-block .ndtv-bullet-list a {
        font-size: 0.86rem !important;
    }
}

.ndtv-cat-block .ndtv-block-head,
.ndtv-side-widget .ndtv-block-head,
.ndtv-video-section .ndtv-block-head,
.ndtv-hero-main .ndtv-block-head,
.ndtv-hero-side .ndtv-block-head {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.home-top-triple .ndtv-block-head,
.home-cat-triple .ndtv-block-head {
    padding: 14px 16px 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--border-color);
}

.home-top-triple .ndtv-block-title,
.home-cat-triple .ndtv-block-title {
    color: var(--primary-color) !important;
    padding-left: 0 !important;
    font-size: 1.08rem !important;
}

.home-top-triple .ndtv-block-title::before,
.home-cat-triple .ndtv-block-title::before {
    display: none !important;
}

.ndtv-hero-slider {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.ndtv-hero-slider .slide-img-box {
    min-height: 380px;
}

.ndtv-hero-slider .slider-main-img,
.ndtv-hero-slider .slide-img-box img,
.ndtv-hero-slider .slide-img-box picture img {
    transition: transform 6s ease;
}

.ndtv-hero-slider .slide.active .slider-main-img,
.ndtv-hero-slider .slide.active .slide-img-box img,
.ndtv-hero-slider .slide.active .slide-img-box picture img {
    transform: scale(1.05);
}

.ndtv-hero-caption {
    background: linear-gradient(transparent, rgba(8, 10, 16, 0.92));
    padding: 48px 22px 22px;
}

.ndtv-hero-caption-title {
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
}

.home-top-panel .hero-slider.home-top-slider {
    container-type: inline-size;
}

.home-top-slider .slider-arrow {
    top: calc(50cqw * 9 / 16);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(193, 13, 18, 0.94);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    font-size: 0.95rem;
    z-index: 20;
    transform: translateY(-50%);
    opacity: 0.95;
}

.home-top-slider .slider-arrow:hover {
    background: #9a0a0e;
    border-color: #fff;
    transform: translateY(-50%) scale(1.06);
    opacity: 1;
}

.home-top-slider .slider-arrow.prev-arrow {
    left: 14px;
}

.home-top-slider .slider-arrow.next-arrow {
    right: 14px;
}

.home-top-slider .slider-arrow i {
    font-size: 0.9rem;
}

.ndtv-stack-item {
    padding: 12px 14px;
    transition: background 0.25s;
}

.ndtv-stack-item:hover {
    background: var(--primary-soft);
}

.ndtv-stack-thumb {
    border-radius: 8px;
    overflow: hidden;
}

.ndtv-stack-thumb img,
.ndtv-stack-thumb picture img {
    transition: transform 0.5s var(--ease-out);
}

.ndtv-stack-item:hover .ndtv-stack-thumb img,
.ndtv-stack-item:hover .ndtv-stack-thumb picture img {
    transform: scale(1.08);
}

.ndtv-feat-img {
    border-radius: 10px;
    overflow: hidden;
}

.ndtv-feat-img img,
.ndtv-feat-img picture img {
    transition: transform 0.55s var(--ease-out);
}

.ndtv-feat-card:hover .ndtv-feat-img img,
.ndtv-feat-card:hover .ndtv-feat-img picture img {
    transform: scale(1.06);
}

.ndtv-feat-title,
.ndtv-card-title,
.ndtv-stack-title {
    transition: color 0.25s;
}

.ndtv-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

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

/* Featured 4-card row (e.g. शिक्षा - करियर) */
.ndtv-featured-cards {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ndtv-featured-cards > .ndtv-block-head {
    margin-bottom: 0;
}

.ndtv-featured-cards > .ndtv-cards-4 {
    padding: 14px;
}

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

.ndtv-cards-4 .ndtv-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: none;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s;
}

.ndtv-cards-4 .ndtv-card:hover {
    transform: translateY(-2px);
    border-color: rgba(193, 13, 18, 0.28);
    box-shadow: none;
}

.ndtv-cards-4 .ndtv-card-img {
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.ndtv-cards-4 .ndtv-card-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ndtv-cards-4 .ndtv-card-img img,
.ndtv-cards-4 .ndtv-card-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

.ndtv-cards-4 .ndtv-card-title {
    flex: 1 1 auto;
    min-height: 4.2em;
    margin: 0;
    padding: 10px 12px 6px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-cards-4 .ndtv-card:hover .ndtv-card-title {
    color: var(--primary-color);
}

.ndtv-cards-4 .ndtv-card .ndtv-meta {
    flex-shrink: 0;
    display: block;
    margin-top: auto;
    padding: 0 12px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

    .ndtv-cards-4 .ndtv-card-title {
        min-height: 0;
    }
}

.ndtv-play {
    transition: transform 0.3s var(--ease-out), background 0.3s;
}

.ndtv-video-feat:hover .ndtv-play,
.ndtv-video-mini:hover .ndtv-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: var(--primary-color);
}

.ndtv-rank {
    background: var(--primary-soft);
    color: var(--primary-color);
    font-family: var(--font-english);
    font-weight: 800;
}

.ndtv-ranked-list li:hover .ndtv-rank {
    background: var(--primary-color);
    color: #fff;
}

/* ---------- Right sidebar: scrolls with page + polished widgets ---------- */
.ndtv-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    grid-template-rows: auto auto;
    gap: clamp(14px, 2vw, 24px);
    min-width: 0;
}

.ndtv-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.ndtv-full-span {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
}

.ndtv-main,
.ndtv-sidebar {
    min-width: 0;
}

.ndtv-sidebar {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ========== Unified ad cards (panel-card style) ========== */
.portal-ad-card,
.detail-side-ad,
.ndtv-side-ad,
.news-bottom-ads > div,
.ndtv-ad-row > div,
.home-ad-full > div {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
    margin-bottom: 16px;
    min-width: 0;
    box-sizing: border-box;
}

.portal-ad-card::before,
.detail-side-ad::before,
.ndtv-side-ad::before,
.news-bottom-ads > div::before,
.ndtv-ad-row > div::before,
.home-ad-full > div::before {
    content: 'विज्ञापन';
    display: block;
    padding: 10px 16px 8px;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-english);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
}

.detail-side-ad-slot {
    padding: 14px 16px 16px;
}

.portal-ad-card .ad-card-box,
.detail-side-ad-slot .ad-card-box,
.ndtv-side-ad .ad-card-box,
.news-bottom-ads .ad-card-box,
.ndtv-ad-row .ad-card-box,
.home-ad-full .ad-card-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    width: 100%;
}

.portal-ad-card > .ad-card-box,
.ndtv-side-ad > .ad-card-box,
.news-bottom-ads > .portal-ad-card > .ad-card-box {
    padding: 14px 16px 16px;
}

.portal-ad-card .ad-card-header,
.detail-side-ad-slot .ad-card-header,
.ndtv-side-ad .ad-card-header,
.news-bottom-ads .ad-card-header,
.ndtv-ad-row .ad-card-header,
.home-ad-full .ad-card-header {
    display: none !important;
}

.portal-ad-card .ad-slider-container,
.detail-side-ad-slot .ad-slider-container,
.ndtv-side-ad .ad-slider-container,
.news-bottom-ads .ad-slider-container,
.ndtv-ad-row .ad-slider-container,
.home-ad-full .ad-slider-container {
    margin: 0 !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-color) !important;
    background: var(--paper-deep) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    width: 100%;
}

.portal-ad-card .ad-slider-wrapper,
.detail-side-ad-slot .ad-slider-wrapper,
.ndtv-side-ad .ad-slider-wrapper,
.news-bottom-ads .ad-slider-wrapper {
    max-height: 280px;
}

.portal-ad-card .ad-placeholder,
.detail-side-ad-slot .ad-placeholder,
.ndtv-side-ad .ad-placeholder,
.news-bottom-ads .ad-placeholder,
.ndtv-ad-row .ad-placeholder,
.home-ad-full .ad-placeholder {
    background: transparent !important;
    border: none !important;
    padding: 12px 8px !important;
}

.portal-ad-card .ad-placeholder-title,
.detail-side-ad-slot .ad-placeholder-title,
.ndtv-side-ad .ad-placeholder-title {
    font-size: 0.78rem !important;
    line-height: 1.3;
}

.portal-ad-card .ad-placeholder-dims,
.detail-side-ad-slot .ad-placeholder-dims,
.ndtv-side-ad .ad-placeholder-dims {
    font-size: 0.68rem !important;
}

.portal-ad-card .ad-slider-prev-btn,
.portal-ad-card .ad-slider-next-btn,
.detail-side-ad-slot .ad-slider-prev-btn,
.detail-side-ad-slot .ad-slider-next-btn,
.ndtv-side-ad .ad-slider-prev-btn,
.ndtv-side-ad .ad-slider-next-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.65rem !important;
}

.ndtv-side-ad {
    flex-shrink: 0;
    text-align: left;
}

.page-grid aside .ndtv-side-ad,
.page-grid aside .detail-side-ad {
    margin-bottom: 16px;
}

.detail-side-ad--mobile-mid {
    display: none;
}

[data-theme="dark"] .portal-ad-card .ad-slider-container,
[data-theme="dark"] .detail-side-ad-slot .ad-slider-container,
[data-theme="dark"] .ndtv-side-ad .ad-slider-container,
[data-theme="dark"] .news-bottom-ads .ad-slider-container {
    background: var(--card-bg) !important;
}

.ndtv-side-widget {
    flex-shrink: 0;
}

.ndtv-side-widget .ndtv-block-head {
    padding: 12px 14px 10px !important;
}

.ndtv-side-widget .ndtv-block-title {
    font-size: 1rem !important;
}

.ndtv-side-widget .ndtv-see-more {
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
}

.ndtv-side-widget .ndtv-see-more::after {
    width: 15px;
    height: 15px;
    font-size: 0.5rem;
}

.ndtv-side-widget .ndtv-ranked-list {
    margin: 0;
    padding: 6px 12px 12px;
}

.ndtv-side-widget-trending .ndtv-ranked-list {
    padding: 6px 10px 10px;
}

.ndtv-side-widget .ndtv-ranked-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px 10px 4px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.ndtv-side-widget-trending .ndtv-ranked-list li {
    padding: 7px 6px;
    min-height: 48px;
    gap: 8px;
}

.ndtv-side-widget .ndtv-ranked-list li:hover {
    background: var(--primary-soft);
    transform: translateX(2px);
}

.ndtv-side-widget-trending .ndtv-ranked-list li:hover {
    transform: translateX(2px);
}

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

.ndtv-side-widget .ndtv-ranked-list a {
    flex: 1;
    min-width: 0;
    color: var(--text-dark) !important;
    font-family: var(--font-display) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ndtv-side-widget-trending .ndtv-ranked-list a {
    font-size: 0.8rem !important;
    line-height: 1.32 !important;
    -webkit-line-clamp: 2;
}

.ndtv-side-widget .ndtv-ranked-list a:hover {
    color: var(--primary-color) !important;
}

.ndtv-side-widget .ndtv-rank {
    flex-shrink: 0;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
    border: 1px solid rgba(193, 13, 18, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ndtv-side-widget-trending .ndtv-rank {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 0.76rem;
    font-weight: 800;
}

.ndtv-side-widget .ndtv-ranked-list li:nth-child(1) .ndtv-rank {
    background: linear-gradient(135deg, #c10d12, #e11d28);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(193, 13, 18, 0.28);
}

.ndtv-side-widget .ndtv-ranked-list li:nth-child(2) .ndtv-rank {
    background: linear-gradient(135deg, #0b2a5c, #1a4a8a);
    color: #fff;
    border-color: transparent;
}

.ndtv-side-widget .ndtv-ranked-list li:nth-child(3) .ndtv-rank {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #fff;
    border-color: transparent;
}

.ndtv-side-widget .poll-question,
.ndtv-side-widget #poll-results-container,
.ndtv-side-widget .ndtv-empty {
    padding: 12px 14px 14px;
    margin: 0;
}

.ndtv-side-widget .poll-form {
    padding: 0 14px 14px;
}

.ndtv-side-widget .ndtv-side-gallery-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Photo gallery sidebar — same image frame pattern as ndtv-card-img */
.ndtv-side-widget-gallery .ndtv-side-photo-img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.ndtv-side-widget-gallery .ndtv-side-photo-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ndtv-side-widget-gallery .ndtv-side-photo-img img,
.ndtv-side-widget-gallery .ndtv-side-photo-img picture img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

.ndtv-side-widget-gallery .ndtv-side-photo-big {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
}

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

.ndtv-side-widget-gallery .ndtv-side-photo-big span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    font-family: var(--font-display);
}

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

.ndtv-side-widget-gallery .ndtv-side-photo-thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

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

.ndtv-side-widget-gallery .ndtv-side-photo-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.ndtv-side-widget-gallery .ndtv-side-photo-thumb:hover .ndtv-side-photo-img img,
.ndtv-side-widget-gallery .ndtv-side-photo-thumb:hover .ndtv-side-photo-img picture img {
    transform: scale(1.04);
    transition: transform 0.35s var(--ease-out);
}

@media (max-width: 1100px) {
    .ndtv-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

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

/* राज्यवार */
.rajyawar-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.rajyawar-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    align-items: start;
}

.rajyawar-state-card {
    display: flex;
    flex-direction: column;
    align-self: start;
    height: auto;
    min-height: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    box-shadow: none;
    transition: border-color 0.25s, transform 0.25s;
}

.rajyawar-state-card:hover {
    transform: translateY(-2px);
    border-color: rgba(193, 13, 18, 0.28);
    box-shadow: none;
}

.rajyawar-card-header {
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.rajyawar-card-header a {
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: block;
    font-family: var(--font-display);
}

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

.rajyawar-card-body {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.rajyawar-empty-state {
    padding: 10px 12px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.rajyawar-news-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    min-height: 0;
    text-decoration: none;
    border-bottom: 1px dotted var(--border-color);
    transition: background-color 0.15s ease;
}

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

.rajyawar-news-row:hover {
    background: var(--primary-soft);
}

.rajyawar-news-text {
    flex: 1;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rajyawar-news-thumb {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 5px;
    flex-shrink: 0;
    display: block;
}

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

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

    .rajyawar-news-thumb {
        width: 64px !important;
        max-width: 64px !important;
    }
}

/* वेब स्टोरीज — horizontal slider like शॉर्ट वीडियो */
.web-stories-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.web-stories-section .slider-nav-arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.web-stories-section .nav-arrow {
    background: #fff;
    border: 1px solid rgba(193, 13, 18, 0.28);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.web-stories-section .nav-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.web-stories-slider-container {
    position: relative;
    overflow: hidden;
}

.web-stories-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 12px 18px;
    scroll-padding-left: 18px;
    scroll-padding-right: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.web-stories-slider::-webkit-scrollbar {
    display: none;
}

.web-stories-section .story-card {
    flex-shrink: 0;
    width: 180px;
    height: 310px;
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: none;
    cursor: pointer;
    background: #0f172a;
    transition: border-color 0.25s, transform 0.25s;
}

.web-stories-section .story-card:hover {
    transform: translateY(-2px);
    border-color: rgba(193, 13, 18, 0.28);
    box-shadow: none;
}

.web-stories-section .story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

.web-stories-section .story-overlay {
    padding: 12px 10px 10px;
}

.web-stories-section .story-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

/* शॉर्ट वीडियो — section shell + image fill fix (card size from style.css) */
.short-videos-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.short-videos-section .slider-nav-arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.short-videos-slider-container {
    position: relative;
    overflow: hidden;
}

.short-videos-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 12px 18px;
    scroll-padding-left: 18px;
    scroll-padding-right: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.short-videos-slider::-webkit-scrollbar {
    display: none;
}

.short-videos-section .short-video-card {
    scroll-snap-align: start;
}

.short-videos-section .short-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

.stories-slider .story-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.stories-slider .story-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ---------- Category subnav pills ---------- */
.category-subnav-card {
    margin-top: 14px;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
}

.category-subnav-card .section-header {
    margin: 0 !important;
    padding: 12px 16px 10px !important;
    border-bottom: 1px solid var(--border-color);
}

.category-subnav-card .category-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px 16px;
    margin: 0;
}

.category-subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--paper-deep);
    color: var(--footer-heading);
    border: 1px solid var(--border-color);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

@media (max-width: 768px) {
    .home-top-triple .news-ticker,
    .home-cat-triple .news-ticker {
        padding: 12px 14px 14px;
    }

    .home-top-triple .ndtv-block-head,
    .home-cat-triple .ndtv-block-head {
        padding: 12px 14px 10px !important;
    }

    .category-subnav-card .category-subnav {
        padding: 12px 14px 14px;
    }
}

/* ---------- Article / category pages ---------- */
.page-grid {
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.page-grid > article,
.page-grid > aside,
.page-grid > .page-sidebar {
    min-width: 0;
    max-width: 100%;
}

.article-content {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 28px 30px;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
}

.article-content h1,
.news-title,
.page-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.panel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: border-color 0.25s var(--ease-out);
}

.panel-card:hover {
    box-shadow: none;
    border-color: rgba(193, 13, 18, 0.22);
}

.section-header .section-title {
    font-weight: 800;
    position: relative;
    padding-left: 12px;
}

.section-header .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.news-list-item {
    transition: background 0.25s;
    border-radius: 8px;
}

.news-list-item:hover {
    background: var(--primary-soft);
}

.page-link {
    border-radius: 8px !important;
    transition: transform 0.2s, background 0.2s !important;
}

.page-link:hover {
    transform: translateY(-1px);
}

/* ---------- News detail page cards ---------- */
.page-grid .panel-card {
    padding: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-grid .article-content .related-slider-section.panel-card {
    padding: 0;
}

.page-grid .panel-card > .section-header {
    margin: 0 !important;
    padding: 14px 16px 12px !important;
    border-bottom: 1px solid var(--border-color);
}

.page-grid .panel-card > .news-list,
.page-grid .panel-card > .news-ticker {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-grid .panel-card > .news-ticker {
    overflow: hidden;
    min-height: 0;
}

.page-grid .panel-card .news-ticker-viewport {
    overflow: hidden;
    max-height: clamp(280px, 38vh, 360px);
    position: relative;
    mask-image: linear-gradient(180deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.page-grid .panel-card .news-ticker-track {
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.page-grid .panel-card .news-ticker-track .news-list-item {
    flex-shrink: 0;
}

.page-grid .panel-card .news-ticker-track.is-moving {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-grid .panel-card .news-ticker.is-paused .news-ticker-track.is-moving {
    transition: none;
}

.page-grid .news-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    border-radius: 8px;
}

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

.page-grid .news-list-item:first-child {
    padding-top: 0;
}

.page-grid .news-list-thumb-wrap {
    flex-shrink: 0;
    width: 96px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--paper-deep);
}

.page-grid .news-list-thumb-wrap picture,
.page-grid .news-list-thumb-wrap img,
.page-grid .news-list-thumb-wrap video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.page-grid .news-list-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
}

.page-grid .news-list-title {
    font-size: 0.84rem;
    line-height: 1.35;
}

.page-grid .trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

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

.page-grid .trending-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 24px;
    text-align: center;
    font-family: var(--font-english);
    line-height: 1.2;
    flex-shrink: 0;
}

.page-grid .trending-content {
    flex: 1;
    min-width: 0;
}

.page-grid .trending-title {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-family: var(--font-hindi);
}

.page-grid .trending-title:hover {
    color: var(--primary-color);
}

.page-grid .trending-thumb-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--paper-deep);
}

.page-grid .trending-thumb-wrap picture,
.page-grid .trending-thumb-wrap img,
.page-grid .trending-thumb-wrap video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.article-image,
.article-content .article-image,
.article-content picture.article-image,
.article-content picture.article-image img {
    width: 100%;
    max-width: 100%;
    max-height: 550px;
    aspect-ratio: 16 / 9;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px;
    background: #0f172a;
}

.article-content .article-body,
.article-content .article-body img,
.article-content .article-body video,
.article-content .article-body iframe,
.article-content .article-body table {
    max-width: 100%;
}

.article-content .article-body img,
.article-content .article-body video {
    height: auto;
}

.btn-read-more {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-family: var(--font-hindi);
}

.btn-read-more:hover {
    background-color: #9a0a0e;
    transform: translateY(-1px);
}

/* ---------- Related news slider (detail page) ---------- */
.related-slider-section {
    margin-top: 28px;
    margin-bottom: 0;
    font-family: var(--font-hindi);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    border: none;
    background: none;
    overflow: visible;
}

.related-slider-section .related-slider-head.section-header {
    padding: 0 0 10px !important;
    margin: 0 0 12px !important;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
}

.related-slider-section .section-title {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0 !important;
}

.related-slider-section .section-title::before {
    display: none !important;
}

.related-slider-section .section-title::after {
    display: none !important;
}

.related-slider-section .section-title i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.related-slider-container-wrapper {
    position: relative;
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.related-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.related-slider-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scrollbar-width: none;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.related-slider-content::-webkit-scrollbar {
    display: none;
}

.related-slide-card {
    flex: 0 0 220px;
    width: 220px;
    max-width: min(220px, 72vw);
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    background: var(--card-bg);
    box-shadow: none;
    scroll-snap-align: start;
    transition: border-color 0.25s, transform 0.25s;
    box-sizing: border-box;
    overflow: visible;
    height: auto;
}

.related-slide-card:hover {
    border-color: rgba(193, 13, 18, 0.35);
    transform: translateY(-2px);
}

.slide-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    margin: 0;
    background: #0f172a;
    flex-shrink: 0;
}

.slide-card-image picture,
.slide-card-image img,
.slide-card-image video,
.slide-card-image .rp-img-fit {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.slide-card-title {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text-dark);
    font-family: var(--font-hindi);
    padding: 10px 10px 12px;
    margin: 0;
    display: block;
    overflow: visible;
    word-break: break-word;
    min-height: 3.2em;
}

.slide-card-title span,
.slide-card-title a {
    display: inline;
}

.related-slider-arrow {
    position: static;
    transform: none;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-dark);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.related-slider-arrow:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
    transform: none;
}

.related-slider-arrow.slider-arrow-left {
    left: auto;
}

.related-slider-arrow.slider-arrow-right {
    right: auto;
    background: #141820;
    color: #fff;
    border-color: #141820;
}

.related-slider-arrow.slider-arrow-right:hover {
    background: #000;
    color: #fff;
    transform: none;
}

@media (max-width: 992px) {
    .page-grid aside .panel-card,
    .page-grid aside .ndtv-side-ad,
    .page-grid aside .detail-side-ad {
        margin-bottom: 16px;
    }

    .page-grid .panel-card > .section-header {
        padding: 12px 14px 10px !important;
    }

    .page-grid .panel-card > .news-list,
    .page-grid .panel-card > .news-ticker {
        padding: 12px 14px 14px;
    }

    .page-grid .panel-card .news-ticker-viewport {
        max-height: clamp(260px, 34vh, 320px);
    }

    .page-grid .panel-card .news-list-item {
        padding: 11px 0;
    }

    .detail-side-ad--desktop-end {
        display: none !important;
    }

    .detail-side-ad--mobile-mid {
        display: block;
    }
}

@media (min-width: 993px) {
    .detail-side-ad--mobile-mid {
        display: none !important;
    }
}

.news-bottom-ads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.news-bottom-ads > div {
    margin-bottom: 0;
}

.news-bottom-ads .ad-card-box,
.news-bottom-ads .ad-slider-container {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .related-slide-card {
        flex: 0 0 min(72vw, 220px);
        width: min(72vw, 220px);
        max-width: min(72vw, 220px);
    }

    .related-slider-nav {
        margin-top: 10px;
    }

    .page-grid .news-list-thumb-wrap {
        width: 88px;
        height: 50px;
    }

    .page-grid,
    .page-grid .article-content,
    .page-grid .page-sidebar,
    .news-bottom-ads {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .news-bottom-ads {
        grid-template-columns: 1fr;
    }
}

.brand-name {
    display: block;
}

/* ---------- Footer shell + curved divider ---------- */
.site-footer-shell {
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: clamp(20px, 3vw, 40px) 0 0;
    padding: 0;
    background: var(--footer-bg);
    overflow: hidden;
}

.footer-bg-map {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: min(720px, 58vw);
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(12px, 2vw, 24px) 0 clamp(16px, 3vw, 36px) clamp(4px, 1.5vw, 20px);
}

.footer-bg-map img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: left bottom;
    opacity: var(--footer-map-opacity);
    display: block;
}

.footer-mountain-divider {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 100%;
    height: 36px;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: transparent;
    overflow: visible;
    pointer-events: none;
}

.footer-mountain-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.footer-mountain-fill {
    fill: var(--footer-mountain-fill);
}

.footer-mountain-line {
    fill: none;
    stroke: var(--footer-mountain-stroke);
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
    paint-order: stroke fill;
}

/* ---------- Footer (light + dark theme) ---------- */
.main-footer.site-footer {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    background: transparent;
    color: var(--footer-text);
    padding: 0 !important;
    margin: 0;
    border-top: none;
    overflow: hidden;
}

.site-footer .container,
.site-footer .footer-bottom {
    position: relative;
    z-index: 1;
}

.site-footer .container {
    padding-top: clamp(24px, 3vw, 36px);
    padding-bottom: clamp(12px, 2vw, 20px);
}

.site-footer .footer-bottom .container {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 1200px;
}

.footer-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 18px);
    margin-bottom: clamp(28px, 4vw, 44px);
    padding: 0 clamp(4px, 2vw, 12px) clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--footer-border);
    text-align: center;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}

.footer-logo-link {
    flex: 0 0 auto;
    display: block;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: opacity 0.25s;
}

.footer-logo-link:hover {
    opacity: 0.82;
    background: none;
    border: none;
    box-shadow: none;
}

.footer-logo-img {
    max-height: 78px;
    max-width: 280px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.footer-brand-tag {
    color: var(--footer-text-muted);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 40ch;
    margin: 0 auto;
    font-weight: 500;
    text-align: center;
}

.footer-social-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-border);
}

.site-footer .footer-top .footer-socials {
    justify-content: center;
    flex-wrap: wrap;
}

.footer-social-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--footer-text-muted);
    opacity: 0.85;
}

.site-footer .footer-col-title-en {
    font-family: var(--font-english), var(--font-display), sans-serif;
    letter-spacing: 0.02em;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 32px);
    margin-bottom: clamp(28px, 4vw, 44px);
    padding: 0 clamp(2px, 1vw, 8px);
}

.site-footer .footer-column {
    min-width: 0;
    padding: 0 4px;
}

.site-footer .footer-column .footer-col-title,
.site-footer h4.footer-col-title {
    color: var(--footer-heading) !important;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 clamp(14px, 2vw, 20px);
    padding-bottom: 10px;
    position: relative;
    font-family: var(--font-display), var(--font-hindi), sans-serif;
}

.site-footer .footer-column .footer-col-title::after,
.site-footer h4.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--footer-heading);
}

.footer-contact-list li i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.92rem;
}

.footer-contact-list a {
    color: var(--footer-heading);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
}

.site-footer .footer-map-container {
    border-radius: 12px;
    border: 1px solid var(--footer-surface-border);
    min-height: 168px;
    height: auto;
    overflow: hidden;
    background: var(--footer-surface);
}

.site-footer .footer-map-container iframe {
    width: 100% !important;
    height: 168px !important;
    min-height: 168px;
    border: none !important;
    display: block;
}

.footer-map-empty {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--footer-text-muted);
    text-align: center;
}

.footer-map-empty i {
    font-size: 1.6rem;
    color: var(--primary-color);
    opacity: 0.75;
}

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

.footer-links-col .footer-links li a {
    display: block;
    padding: 9px 0 9px 14px;
    color: var(--footer-heading);
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.25s, border-color 0.25s, padding-left 0.25s;
}

.footer-links-col .footer-links li a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 18px;
    transform: none;
}

.site-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.site-footer .footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--footer-surface);
    border: 1px solid var(--footer-surface-border);
    color: var(--footer-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.3s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s;
}

.site-footer .footer-socials a:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    background: transparent;
    border-top: none;
    padding: 0;
}

.site-footer .bottom-footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: clamp(22px, 3.5vw, 34px) clamp(16px, 3vw, 28px);
    border-top: none;
    text-align: center;
    min-height: 64px;
}

.site-footer .bottom-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(88%, 680px);
    height: 1px;
    background: var(--footer-border);
}

.site-footer .copyright {
    color: var(--footer-text-muted);
    font-size: clamp(0.88rem, 1.6vw, 0.95rem);
    line-height: 1.65;
    letter-spacing: 0.02em;
    font-weight: 500;
    max-width: 52ch;
    margin: 0 auto;
    padding: 0 8px;
}

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1400;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.25s;
}

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

.back-to-top:hover {
    background: var(--primary-hover);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .site-masthead .container.masthead-grid,
    .masthead-grid.header-grid,
    .masthead-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        justify-items: center;
    }

    .masthead-ad {
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .masthead-ad .header-ad,
    .site-masthead .header-ad {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        justify-content: center !important;
    }

    .brand-lockup {
        order: 1;
        justify-content: center;
        width: 100%;
    }

    .brand-lockup .logo {
        justify-content: center;
        width: 100%;
    }

    .footer-top {
        gap: 12px;
        margin-bottom: 28px;
        padding-bottom: 22px;
    }

    .footer-bg-map {
        width: min(520px, 72vw);
        align-items: center;
        padding-bottom: 0;
    }

    .footer-bg-map img {
        object-position: left center;
    }

    .site-footer .container {
        padding-top: 24px;
        padding-bottom: 14px;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 22px;
        margin-bottom: 30px;
        padding: 0;
    }

    .site-footer .footer-column {
        padding: 0 2px;
    }

    .site-footer .footer-map-container iframe {
        height: 190px !important;
        min-height: 190px;
    }

    .footer-map-empty {
        min-height: 190px;
    }

    /* Top strip: 2 rows on tablet */
    .top-strip-left {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .top-strip-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 10px;
        width: 100%;
    }

    .top-strip-row-info,
    .top-strip-row-market {
        justify-content: center;
    }

    .top-strip-row .top-widget-item {
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .portal-body .top-strip {
        padding: 6px 0;
        overflow: hidden;
    }

    .top-strip-content {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .top-strip-row .top-widget-item {
        flex: 0 1 auto;
        min-width: 0;
        font-size: 0.68rem;
        gap: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        justify-content: center;
    }

    .top-strip-right {
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding-top: 6px;
        border-top: 1px solid var(--top-strip-border);
    }

    .portal-body .top-header-login-btn,
    .top-header-login-btn {
        display: none !important;
    }

    .portal-body .top-social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .portal-body .language-selector {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .site-masthead {
        padding: 12px 0;
        overflow: hidden;
    }

    .brand-lockup {
        gap: 12px;
        justify-content: center;
    }

    .brand-lockup .logo {
        height: 58px;
        justify-content: center;
    }

    .brand-lockup .logo img,
    .site-masthead .logo img {
        max-height: 54px;
        max-width: 180px;
        margin: 0 auto;
    }

    .masthead-ad,
    .masthead-ad .header-ad,
    .site-masthead .header-ad {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }

    .masthead-ad .header-ad,
    .site-masthead .header-ad {
        height: 70px;
        border-radius: 8px;
    }

    .site-masthead .header-ad .ad-slider-container,
    .site-masthead .header-ad .ad-placeholder,
    .site-masthead .header-ad .ad-slider-wrapper,
    .site-masthead .header-ad .ad-slide {
        height: 70px !important;
        max-height: 70px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

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

    .site-masthead .header-ad .ad-slide img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 64px !important;
        object-fit: contain !important;
        object-position: center center !important;
        display: block;
        margin: 0 auto;
    }

    .ndtv-hero-slider .slide-img-box {
        min-height: 260px;
    }

    .site-footer .container {
        padding-top: 20px;
        padding-bottom: 12px;
    }

    .footer-bg-map {
        width: min(420px, 85vw);
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .footer-bg-map img {
        object-position: center center;
        max-height: 85%;
    }

    .footer-top {
        margin-bottom: 24px;
        padding: 0 4px 20px;
    }

    .footer-social-strip {
        padding-top: 14px;
        margin-top: 2px;
    }

    .footer-logo-img {
        max-height: 66px;
        max-width: 220px;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 26px;
        padding: 0;
    }

    .site-footer .footer-column {
        padding: 0 6px;
    }

    .site-footer .footer-column .footer-col-title,
    .site-footer h4.footer-col-title {
        margin-bottom: 14px;
    }

    .footer-links-col .footer-links li a {
        padding: 11px 0 11px 12px;
        font-size: 0.92rem;
    }

    .footer-contact-list {
        gap: 16px;
    }

    .footer-contact-list li {
        gap: 12px;
        font-size: 0.92rem;
    }

    .site-footer .footer-map-container iframe {
        height: 210px !important;
        min-height: 210px;
    }

    .footer-map-empty {
        min-height: 210px;
        padding: 24px 18px;
    }

    .site-footer .footer-socials a {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .site-footer .bottom-footer {
        padding: 22px 16px 26px;
        min-height: 58px;
    }

    .site-footer .bottom-footer::before {
        width: min(92%, 520px);
    }

    .site-footer .copyright {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 4px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .article-content {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    .top-strip-row {
        gap: 5px 8px;
    }

    .top-strip-row .top-widget-item {
        font-size: 0.62rem;
    }

    .portal-body .top-social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-radius: 7px;
    }

    .portal-body .theme-toggle-btn {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .portal-body .language-selector select {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .brand-live {
        font-size: 0.65rem;
    }

    .ticker-label {
        font-size: 0.68rem;
        padding: 0 10px;
        letter-spacing: 0.03em;
    }
}

/* ========== Tablet & mobile — cards + full image fit ========== */
.portal-body img,
.portal-body picture img {
    max-width: 100%;
}

.portal-body .ndtv-card-img,
.portal-body .ndtv-feat-img,
.portal-body .ndtv-stack-thumb,
.portal-body .ndtv-side-photo-img {
    background: #0f172a;
}

.portal-body .ndtv-card-img img,
.portal-body .ndtv-card-img picture img,
.portal-body .ndtv-feat-img img,
.portal-body .ndtv-feat-img picture img,
.portal-body .ndtv-stack-thumb img,
.portal-body .ndtv-stack-thumb picture img,
.portal-body .story-card img,
.portal-body .ndtv-side-photo-img img,
.portal-body .ndtv-side-photo-img picture img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100%;
    height: 100%;
    display: block;
}

/* Video, category featured — fill frame */
.portal-body .ndtv-video-feat img,
.portal-body .ndtv-video-feat picture img,
.portal-body .ndtv-video-mini-thumb img,
.portal-body .ndtv-video-mini-thumb picture img,
.portal-body .ndtv-cat-block .ndtv-feat-img img,
.portal-body .ndtv-cat-block .ndtv-feat-img picture img,
.portal-body .ndtv-cards-4 .ndtv-card-img img,
.portal-body .ndtv-cards-4 .ndtv-card-img picture img,
.portal-body .short-videos-section .short-video-card img {
    object-fit: cover !important;
    object-position: center center !important;
    width: 100%;
    height: 100%;
    display: block;
}

.portal-rail {
    padding-left: 0;
    padding-right: 0;
}

.news-list-item {
    min-width: 0;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .ndtv-layout {
        display: flex !important;
        flex-direction: column;
        gap: 18px;
    }

    .ndtv-main {
        order: 1;
        width: 100%;
    }

    .ndtv-full-span {
        order: 2;
        width: 100%;
    }

    .ndtv-sidebar {
        order: 3;
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr !important;
    }

    .ndtv-duo-grid {
        grid-template-columns: 1fr !important;
    }

    .ndtv-quad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ndtv-cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ndtv-ad-row,
    .ndtv-ad-row.three {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .breaking-ticker {
        min-height: 56px;
    }

    .ticker-title {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    html,
    body.portal-body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        background-attachment: scroll;
    }

    .top-strip,
    .site-masthead,
    .site-chrome,
    .primary-nav {
        width: 100%;
        max-width: 100%;
    }

    .container,
    .portal-rail .container,
    main.container,
    main.container.site-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .primary-nav .container.nav-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .primary-nav .nav-links-scroll {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
        overflow: hidden;
        gap: 8px;
    }

    .primary-nav .nav-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        width: auto !important;
        flex: 0 0 auto;
        min-width: 0;
        overflow: hidden;
    }

    .primary-nav .nav-links > li:not(:first-child) {
        display: none !important;
    }

    .primary-nav .nav-links li.has-subcat .nav-subcat-menu,
    .primary-nav .megamenu,
    .nav-links li.dropdown-item .megamenu {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .nav-menu-trigger {
        margin-left: auto;
        flex-shrink: 0;
    }

    .site-masthead .container.masthead-grid,
    .masthead-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .masthead-ad,
    .site-masthead .header-ad {
        width: 100% !important;
        max-width: 100% !important;
    }

    .portal-rail {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 12px;
        margin-bottom: 16px;
        gap: 10px;
        padding-left: 0;
        padding-right: 0;
    }

    .portal-rail .portal-card,
    .breaking-ticker,
    .trending-keywords-bar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ticker-content {
        overflow: hidden;
        max-width: 100%;
        min-height: 48px;
        padding: 8px 0;
    }

    .ticker-scroll {
        max-width: none;
    }

    .top-strip-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-top-triple.home-grid,
    .home-cat-triple,
    .ndtv-duo-grid,
    .ndtv-quad-grid,
    .ndtv-cards-4,
    .ndtv-ad-row,
    .ndtv-ad-row.three,
    .home-ad-full.ndtv-ad-row,
    .rajyawar-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .ndtv-sidebar {
        grid-template-columns: 1fr !important;
    }

    .ndtv-video-section .ndtv-video-grid {
        grid-template-columns: 1fr !important;
        padding: 12px;
    }

    .ndtv-video-mini {
        grid-template-columns: minmax(100px, 36vw) minmax(0, 1fr);
    }

    .ndtv-cat-block .ndtv-feat-card {
        padding: 12px 14px 8px;
    }

    .ndtv-block-head {
        padding: 12px 14px 10px !important;
        gap: 8px;
    }

    .ndtv-block-title {
        font-size: 1rem !important;
    }

    .ndtv-see-more,
    .see-more {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
    }

    .ndtv-see-more::after,
    .see-more::after {
        width: 15px;
        height: 15px;
        font-size: 0.5rem;
    }

    .breaking-ticker {
        flex-direction: column;
        min-height: auto;
    }

    .ticker-label {
        width: 100%;
        min-height: 42px;
        clip-path: none;
        justify-content: center;
        padding: 8px 14px !important;
    }

    .ticker-content {
        min-height: 48px;
        padding: 8px 0;
    }

    .ticker-title {
        max-width: min(70vw, 280px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .trending-keywords-bar {
        padding: 10px 12px !important;
        gap: 10px !important;
        overflow: hidden;
        align-items: center !important;
    }

    .trending-label {
        align-self: center;
        margin: 0 auto;
    }

    .trending-tags-content {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .home-top-slider .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .home-top-slider .slide-footer-flex {
        flex-wrap: wrap;
        gap: 10px;
        padding-bottom: 28px;
    }

    .home-top-triple .news-list-item picture,
    .home-cat-triple .news-list-item picture {
        width: 80px !important;
        height: 48px !important;
    }

    .home-top-triple .news-list-thumb,
    .home-top-triple .news-list-item img.news-list-thumb,
    .home-top-triple .news-list-item picture img,
    .home-cat-triple .news-list-thumb,
    .home-cat-triple .news-list-item img.news-list-thumb,
    .home-cat-triple .news-list-item picture img {
        max-width: 80px !important;
        max-height: 48px !important;
    }

    .ticker-thumb-wrap {
        width: 88px !important;
        height: 50px !important;
    }

    .ticker-thumb-wrap picture,
    .ticker-thumb-wrap img,
    .ticker-thumb-wrap picture img,
    .ticker-item .ticker-thumb {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .home-top-triple .news-list-item picture,
    .home-cat-triple .news-list-item picture {
        width: 72px !important;
        height: 44px !important;
    }

    .home-top-triple .news-list-thumb,
    .home-top-triple .news-list-item picture img,
    .home-cat-triple .news-list-thumb,
    .home-cat-triple .news-list-item picture img {
        max-width: 72px !important;
        max-height: 44px !important;
    }

    .ndtv-video-mini {
        grid-template-columns: minmax(88px, 34vw) minmax(0, 1fr);
        padding: 8px;
        gap: 8px;
    }

    .home-top-slider .slide-title-red {
        font-size: 1rem;
    }
}

/* ---------- Flat UI: remove button glows site-wide ---------- */
.nav-links li a.news-video-btn,
.sidebar-nav-links li a.news-video-btn,
.primary-nav .nav-links li a.news-video-btn,
.sidebar-nav-links .sidebar-video-item .news-video-btn {
    box-shadow: none !important;
}

.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,
.primary-nav .nav-links li a.news-video-btn:hover,
.sidebar-nav-links .sidebar-video-item .news-video-btn:hover,
.sidebar-nav-links .sidebar-video-item.active .news-video-btn {
    box-shadow: none !important;
    transform: none !important;
}

.sidebar-menu-footer .sidebar-socials a:hover {
    box-shadow: none;
    transform: none;
}

.site-footer .footer-socials a:hover {
    transform: none;
}

.back-to-top:hover {
    box-shadow: none;
}
