:root {
    --tv-red: #e11d48;
    --tv-red-dark: #be123c;
    --bhaskar-orange: #f97316;
    --bhaskar-orange-soft: #fff7ed;
    --ndtv-slate: #0f172a;
    --ink-dark: #111827;
    --ink-body: #1f2937;
    --ink-muted: #64748b;
    --paper-bg: #f3f5f8;
    --card-border: #e5e9f0;
    --app-radius: 10px;
    --app-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    --app-shadow-hover: 0 6px 16px rgba(15, 23, 42, 0.08);
}

body {
    background-color: var(--paper-bg) !important;
    color: var(--ink-body);
}

/* Content Protection */
body, html, img, a, p, span, div, h1, h2, h3, h4, h5, h6 {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

body, .section-title, .section-title span, .category-badge, .badge, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    font-variant-ligatures: normal !important;
    font-feature-settings: "liga" 1, "clig" 1, "dev2" 1, "deva" 1 !important;
    text-rendering: optimizeLegibility !important;
    font-display: swap;
}

/* Bootstrap Custom Gutter & Spacing Tokens */
.fw-extrabold { font-weight: 800 !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.g-2\.5 {
    --bs-gutter-x: 0.85rem !important;
    --bs-gutter-y: 0.85rem !important;
}
.row.g-2 {
    --bs-gutter-x: 0.7rem !important;
    --bs-gutter-y: 0.7rem !important;
}
.row.g-3 {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1rem !important;
}
.p-2\.5 { padding: 0.62rem !important; }
.p-3\.5 { padding: 0.82rem !important; }
.px-2\.5 { padding-left: 0.62rem !important; padding-right: 0.62rem !important; }
.py-1\.5 { padding-top: 0.35rem !important; padding-bottom: 0.35rem !important; }
.py-2\.5 { padding-top: 0.58rem !important; padding-bottom: 0.58rem !important; }
.py-0\.5 { padding-top: 0.16rem !important; padding-bottom: 0.16rem !important; }
.mb-3\.5 { margin-bottom: 1.45rem !important; }
.gap-1\.5 { gap: 0.38rem !important; }
.gap-2\.5 { gap: 0.62rem !important; }
.me-1\.5 { margin-right: 0.38rem !important; }
.mt-0\.5 { margin-top: 0.12rem !important; }
.cursor-pointer { cursor: pointer; }
.hover-underline:hover { text-decoration: underline !important; }
.hover-bg-light:hover { background-color: #f8fafc !important; }
.last-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Clean Devanagari Clamping */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.38 !important;
}
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.44 !important;
}

/* Main Portal Shell */
.news-portal-shell {
    max-width: 1220px;
    padding-bottom: 4.25rem;
}
@media (min-width: 992px) {
    .news-portal-shell {
        padding-bottom: 1.5rem;
    }
}

/* Sleek Bhaskar Breaking & Market Ticker Bar */
.tv-ticker-bar {
    background: #ffffff;
    border: 1px solid var(--card-border) !important;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}
.tv-breaking-label {
    background: linear-gradient(135deg, #f97316 0%, #e11d48 100%) !important;
    padding: 0 14px 0 11px !important;
    height: 34px;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0% 100%);
    font-size: 0.74rem;
    letter-spacing: 0.3px !important;
}
.ticker-wrapper {
    min-height: 34px !important;
    line-height: 1.45 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}
.ticker-content {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    animation: scroll-ticker 32s linear infinite !important;
    will-change: transform;
}
.ticker-content:hover {
    animation-play-state: paused !important;
}
.ticker-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
    color: var(--ink-dark) !important;
}
.ticker-item .text-white { color: var(--ink-dark) !important; }
.ticker-item .text-warning { color: #d97706 !important; }
.ticker-item .bg-black { background-color: #f1f5f9 !important; }

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

/* Bhaskar.com Crisp White Editorial Cards */
.homepage-section {
    margin-bottom: 1.45rem !important;
}
.story-card {
    background-color: #ffffff;
    border: 1px solid var(--card-border) !important;
    border-radius: var(--app-radius) !important;
    box-shadow: var(--app-shadow) !important;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
    will-change: transform;
}
.story-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--app-shadow-hover) !important;
    border-color: rgba(249, 115, 22, 0.45) !important;
}
.story-card img {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-card:hover img {
    transform: scale(1.025);
}
.story-card .rounded-circle {
    transform: none !important;
}

/* Compact Editorial Typography */
.editorial-card-title {
    font-size: 0.89rem !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    color: var(--ink-dark);
}
.editorial-lead-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    line-height: 1.34 !important;
}
.editorial-meta {
    font-size: 0.72rem !important;
    color: var(--ink-muted) !important;
    line-height: 1.3 !important;
}

.text-muted-dark { color: #475569 !important; }
.text-slate-300 { color: #e2e8f0 !important; }
.bg-gradient-dark {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.96) 100%);
}
.hover-red { transition: color 0.15s ease; }
.hover-red:hover, .hover-red:focus { color: var(--bhaskar-orange) !important; }

/* Live Pulse Dot */
.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
    animation: pulse-red 1.6s infinite;
}
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Compact Badges */
.badge-vibrant {
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14) !important;
    line-height: 1.2 !important;
    padding: 0.18rem 0.5rem !important;
    font-size: 0.67rem !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.category-badge {
    font-weight: 700 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 5px !important;
    padding: 0.18rem 0.5rem !important;
    font-size: 0.67rem !important;
}

/* Bhaskar.com Flat-Editorial Section Header */
.channel-header-strip {
    background: #ffffff;
    color: var(--ink-dark);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--bhaskar-orange) !important;
    border-radius: 8px !important;
    padding: 0.45rem 0.8rem !important;
    margin-bottom: 0.85rem !important;
    position: relative;
    box-shadow: var(--app-shadow);
}
.channel-header-strip h2 {
    color: var(--ink-dark) !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.channel-header-strip h2 i {
    color: var(--bhaskar-orange) !important;
    font-size: 0.92rem !important;
}
.channel-header-strip > a {
    color: var(--bhaskar-orange) !important;
    background: var(--bhaskar-orange-soft);
    border: 1px solid #fed7aa;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    transition: all 0.16s ease;
}
.channel-header-strip > a:hover {
    background: var(--bhaskar-orange);
    border-color: var(--bhaskar-orange);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hero Carousel & Tab Widget */
.hero-carousel-frame {
    border-radius: var(--app-radius) !important;
    border: 1px solid var(--card-border);
    box-shadow: var(--app-shadow) !important;
}
.hero-carousel-slide {
    height: 315px;
}
.hero-overlay h1, .hero-overlay h2 {
    font-size: 1.2rem !important;
    line-height: 1.32 !important;
}
@media (max-width: 767.98px) {
    .hero-carousel-slide {
        height: 230px;
    }
    .hero-overlay h1, .hero-overlay h2 {
        font-size: 1.02rem !important;
    }
}
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.hero-carousel-frame .carousel-indicators [data-bs-target] {
    width: 16px;
    height: 3.5px;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.55);
    border: 0;
}
.hero-carousel-frame .carousel-indicators .active {
    width: 26px;
    background-color: var(--bhaskar-orange);
}
.hero-tab-widget {
    border: 1px solid var(--card-border) !important;
    border-radius: var(--app-radius) !important;
    background: #ffffff;
    box-shadow: var(--app-shadow) !important;
}
.hero-tab-widget .card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 7px 9px !important;
}
.hero-tab-widget .nav-tabs {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    gap: 4px;
}
.hero-tab-widget .nav-link {
    color: #475569 !important;
    font-size: 0.8rem !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 6px !important;
    transition: all 0.16s ease;
}
.hero-tab-widget .nav-link.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.28);
}

/* Clean List Rows inside Cards */
.media-news-item {
    transition: background-color 0.15s ease;
    border-radius: 7px;
    padding: 6px 5px;
    margin-bottom: 0.45rem !important;
    padding-bottom: 0.55rem !important;
    border-color: #eef2f6 !important;
}
.media-news-item:hover {
    background-color: #fff7ed;
}

/* Scrollable Container for Hero Sidebar Tabs */
.tab-scroll-container {
    max-height: 392px;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.tab-scroll-container::-webkit-scrollbar { width: 4px; }
.tab-scroll-container::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; }
.tab-scroll-container::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
.tab-scroll-container::-webkit-scrollbar-thumb:hover { background: var(--bhaskar-orange); }

/* Compact Single-Line Weather Strip */
.abp-weather-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--bhaskar-orange) !important;
    box-shadow: var(--app-shadow);
    border-radius: var(--app-radius) !important;
}
.weather-pill {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.72rem;
    padding: 0.24rem 0.58rem;
    border-radius: 999px;
    font-weight: 600;
}

/* Accessibility Focus Ring */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--bhaskar-orange) !important;
    outline-offset: 2px !important;
}

/* Floating Pay Now Button */
.pay-now-floating-btn {
    background-color: #e11d48 !important;
    border-color: #e11d48 !important;
    min-width: 150px;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.4) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.pay-now-floating-btn:hover, .pay-now-floating-btn:focus {
    transform: scale(1.04) !important;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.55) !important;
    background-color: #be123c !important;
}
