:root {
    --brand-red: #d91e18;
    --brand-red-dark: #b31510;
    --whatsapp-green: #25D366;
    --bg-body: #f4f6f9;
    --card-border: #e5e7eb;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --article-font-size: 1.06rem;
}

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.18s ease;
}
a:hover {
    color: var(--brand-red);
}

/* Reading Progress Bar */
#readingProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--brand-red);
    width: 0%;
    z-index: 1050;
    transition: width 0.1s ease;
}

/* Top Utility Strip */
.utility-strip {
    background: #141414;
    color: #e5e7eb;
    font-size: 0.78rem;
    padding: 5px 0;
}

/* Main Header */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    font-weight: 700;
    border: none;
    font-size: 0.8rem;
}
.btn-whatsapp:hover {
    background-color: #1ebe5d;
    color: #ffffff;
}

/* Mobile Horizontal Category Nav */
.mobile-cat-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-cat-strip::-webkit-scrollbar { display: none; }
.mobile-cat-strip ul {
    list-style: none;
    margin: 0;
    padding: 0 6px;
    display: inline-flex;
}
.mobile-cat-strip li a {
    display: inline-block;
    padding: 8px 13px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid transparent;
}
.mobile-cat-strip li.current-menu-item a,
.mobile-cat-strip li.current-cat a,
.mobile-cat-strip li a:hover {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

/* Hyperlocal Dynamic Tag Cloud Strip (Sorted by Latest Post) */
.local-tags-bar {
    background: #fff8f8;
    border-bottom: 1px solid #fee2e2;
    padding: 7px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.local-tags-bar::-webkit-scrollbar { display: none; }
.local-tag-pill {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 11px;
    border-radius: 50px;
    margin-right: 5px;
}
.local-tag-pill:hover, .local-tag-pill.active {
    background: var(--brand-red);
    color: #ffffff;
    border-color: var(--brand-red);
}

/* Breaking News Ticker */
.breaking-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    padding: 7px 0;
    font-size: 0.88rem;
}
.breaking-badge {
    background: var(--brand-red);
    color: #fff;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Desktop Left Sticky Navigation */
.left-nav-box {
    position: sticky;
    top: 74px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 8px 0;
}
.left-nav-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.left-nav-box li a {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f2937;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 3px solid transparent;
}
.left-nav-box li a:hover,
.left-nav-box li.current-menu-item a,
.left-nav-box li.current-cat a {
    background: #fef2f2;
    color: var(--brand-red);
    border-left-color: var(--brand-red);
}

/* Portal Block Card */
.portal-block {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 18px;
}
.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    margin-bottom: 14px;
    position: relative;
}
.block-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--brand-red);
}
.block-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-red);
    margin: 0;
}
.view-all-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Thumbnails & Story Cards */
.img-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #e5e7eb;
}
.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.story-card:hover .img-frame img {
    transform: scale(1.03);
}

.cat-badge {
    background: var(--brand-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    display: inline-block;
}

.lead-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 9px;
    margin-bottom: 6px;
}

.byline-meta {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.reporter-name {
    color: #374151;
    font-weight: 600;
}

/* Compact Horizontal List Item */
.compact-item {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.compact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.compact-thumb {
    width: 96px;
    height: 66px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    background: #e5e7eb;
}
.compact-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.compact-headline {
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
}

/* Editorial Hero Spotlight (Zero Video) */
.editorial-hero {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #111827;
}
.editorial-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0.82;
}
.editorial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.94) 15%, rgba(0,0,0,0.45) 75%, transparent 100%);
    color: #ffffff;
}
.editorial-hero-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 6px 0 4px;
}
.editorial-hero-title a:hover {
    color: #fca5a5;
}

/* Google AdSense Wrapper (CLS-Safe & Responsive) */
.adsense-slot-wrapper {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    padding: 8px;
    margin-bottom: 18px;
    overflow: hidden;
}
.adsense-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.adsense-leaderboard { min-height: 90px; }
.adsense-rectangle { min-height: 250px; }

/* Archive Listing Cards */
.archive-thumb {
    width: 100%;
    height: 145px;
    border-radius: 6px;
    overflow: hidden;
    background: #e5e7eb;
}
.archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.archive-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
}
.archive-excerpt {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* Single Post Detail Styles */
.article-headline {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.38;
    color: #0f172a;
    margin: 10px 0;
}
.article-subhead {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.55;
    border-left: 3px solid var(--brand-red);
    padding-left: 12px;
    margin-bottom: 14px;
}
.author-meta-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.share-pill-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    background: #f8fafc;
    color: #374151;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.share-pill-btn:hover { color: #fff; }
.share-wa:hover { background: #25D366; border-color: #25D366; }
.share-fb:hover { background: #1877F2; border-color: #1877F2; }
.share-x:hover  { background: #000000; border-color: #000000; }
.share-cp:hover { background: var(--brand-red); border-color: var(--brand-red); }

.featured-figure img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 6px;
}
.featured-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
    background: #f8fafc;
    padding: 5px 10px;
    border-radius: 4px;
}
.article-content {
    font-size: var(--article-font-size);
    line-height: 1.85;
    color: #1f2937;
}
.article-content p { margin-bottom: 1.2rem; }
.article-content h2, .article-content h3 {
    font-weight: 800;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Author Bio Box Plugin Container Styling */
.reporter-profile-wrapper {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 2px solid #f1f5f9;
}
.reporter-profile-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
/* Compatibility overrides for Author Bio Box plugin classes */
.author-bio-box, .saboxplugin-wrap, .ab-author-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid var(--brand-red) !important;
    border-radius: 8px !important;
    padding: 14px !important;
    margin: 0 !important;
}

.topic-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 50px;
    margin: 0 4px 6px 0;
}
.topic-tag:hover {
    background: var(--brand-red);
    color: #ffffff;
}

/* Right Sidebar Sticky */
.right-sticky {
    position: sticky;
    top: 74px;
}
.trending-rank {
    font-size: 1.2rem;
    font-weight: 800;
    color: #d1d5db;
    min-width: 24px;
    line-height: 1.1;
}

/* Mobile Bottom Fixed Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--card-border);
    z-index: 1030;
    padding: 6px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4b5563;
    gap: 2px;
}
.mobile-bottom-bar a.active {
    color: var(--brand-red);
}
.mobile-bottom-bar i {
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    body { padding-bottom: 62px; }
    .site-logo img { max-height: 36px; }
    .article-headline { font-size: 1.3rem; }
    .editorial-hero img { height: 225px; }
    .archive-thumb { height: 110px; }
}
