/* ==========================================================================
   KhabriChachi.com - Modern Indian News & Lifestyle Frontend Stylesheet
   Architecture: High-Performance, Mobile-First, Core Web Vitals Optimized
   ========================================================================== */

:root {
    --primary: #dc2626;          /* Khabri Crimson */
    --primary-dark: #b91c1c;     /* Dark Red */
    --primary-light: #fef2f2;    /* Soft Red Tint */
    --secondary: #0f172a;        /* Deep Slate / Charcoal */
    --secondary-light: #1e293b;
    --accent: #d97706;           /* Amber Accent */
    --text-main: #0f172a;        /* High Contrast Black/Slate */
    --text-muted: #475569;       /* Slate 600 */
    --text-light: #94a3b8;       /* Slate 400 */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;           /* Slate 50 */
    --border: #e2e8f0;           /* Slate 200 */
    --border-light: #f1f5f9;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --hover-shadow: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-alt);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --------------------------------------------------------------------------
   Top Bar Strip: Date, IST Clock, Trending Hashtags
   -------------------------------------------------------------------------- */
.top-meta-strip {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 12px;
    border-bottom: 1px solid #1e293b;
    padding: 6px 0;
}

.top-meta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-date-box {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

.top-date-box strong {
    color: #f8fafc;
}

.trending-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.trending-pills::-webkit-scrollbar {
    display: none;
}

.trending-label {
    color: #f87171;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pill-item {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    transition: all 0.2s;
}

.pill-item:hover {
    background: var(--primary);
    color: #ffffff;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-links a {
    color: #cbd5e1;
    font-size: 11px;
}

.top-links a:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Primary Brand Header & Masthead
   -------------------------------------------------------------------------- */

.site-masthead {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: relative;
    z-index: 100;
}

.site-masthead > .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.masthead-inner {
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-area {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    width: 330px;
    max-width: 100%;
    text-decoration: none;
    line-height: 0;
}

.site-logo {
    display: block;
    width: 330px;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4px 14px;
    width: 280px;
    transition: all 0.2s ease;
}

.header-search-form:focus-within {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.header-search-input {
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--text-main);
    width: 100%;
    outline: none;
    padding: 4px 0;
}

.header-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 4px;
}

.header-search-btn:hover {
    color: var(--primary);
}

.btn-header-newsroom {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-header-newsroom:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

@media (max-width: 900px) {
    .site-logo { width: 280px; }
    .header-search-form { width: 220px; }
}

@media (max-width: 768px) {
    .site-masthead { padding: 10px 0; }
    .masthead-inner { min-height: 64px; gap: 12px; }
    .brand-logo-link { width: 220px; }
    .site-logo { width: 220px; top: 4px; }
    .header-search-form { display: none; }
    .header-actions { gap: 6px; }
    .btn-header-newsroom { padding: 7px 10px; }
}

@media (max-width: 480px) {
    .site-masthead > .container { padding-left: 12px; padding-right: 12px; }
    .masthead-inner { min-height: 56px; }
    .brand-logo-link { width: 190px; }
    .site-logo { width: 190px; top: 3px; }
    .btn-header-newsroom { font-size: 11px; padding: 6px 8px; }
    .btn-header-newsroom span { display: none; }
}

@media (max-width: 360px) {
    .brand-logo-link { width: 170px; }
    .site-logo { width: 170px; }
}

/* --------------------------------------------------------------------------
   Sticky Category Navigation Bar
   -------------------------------------------------------------------------- */
.category-nav-bar {
    background: #ffffff;
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.nav-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.15s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-link.live-pulse {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 8px 0;
    list-style: none;
    display: none;
    z-index: 110;
    border-radius: 0 0 6px 6px;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.dropdown-item a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.dropdown-item a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 22px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    padding: 6px;
}

/* --------------------------------------------------------------------------
   Breaking News Alert Strip
   -------------------------------------------------------------------------- */
.breaking-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.breaking-ticker-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breaking-ticker-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Layout Grids & Sections
   -------------------------------------------------------------------------- */
.main-wrapper {
    flex: 1;
    padding: 24px 0 40px;
}

.section-block {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 8px;
    margin-bottom: 20px;
    position: relative;
}

.section-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 2px;
}

.section-view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-view-all:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Hero Magazine Grid: Lead (1), Stacked (2), Trending (1)
   -------------------------------------------------------------------------- */
.hero-magazine-grid {
    display: grid;
    grid-template-columns: 5fr 3.5fr 3.5fr;
    gap: 24px;
    margin-bottom: 36px;
}

/* Primary Lead Story Card */
.lead-story-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lead-story-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.lead-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.lead-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-story-card:hover .lead-thumb {
    transform: scale(1.03);
}

.category-badge-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lead-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--secondary);
    margin-bottom: 12px;
}

.lead-story-card:hover .lead-title {
    color: var(--primary);
}

.lead-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.meta-byline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.author-link {
    font-weight: 700;
    color: var(--text-main);
}

/* Secondary Stack Stories */
.secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.secondary-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.secondary-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.secondary-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.secondary-card:hover .secondary-thumb {
    transform: scale(1.03);
}

.secondary-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.secondary-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--secondary);
    margin-bottom: 8px;
}

.secondary-card:hover .secondary-title {
    color: var(--primary);
}

/* Trending Top 5 Sidebar Card */
.trending-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.trending-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.trending-header h3 {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.trending-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rank-number {
    font-size: 22px;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
    min-width: 24px;
}

.trending-item:nth-child(1) .rank-number { color: #ef4444; }
.trending-item:nth-child(2) .rank-number { color: #f97316; }
.trending-item:nth-child(3) .rank-number { color: #eab308; }

.trending-info {
    flex: 1;
}

.trending-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.trending-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.35;
}

.trending-item:hover .trending-title {
    color: var(--primary);
}

.trending-meta {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Category Multi-Card Grids (Entertainment, Sports, Reality, Fashion)
   -------------------------------------------------------------------------- */
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.news-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.news-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-thumb {
    transform: scale(1.04);
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.news-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--secondary);
    margin-bottom: 8px;
    flex: 1;
}

.news-card:hover .news-card-title {
    color: var(--primary);
}

.news-card-meta {
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Viral Community Join Strip (WhatsApp / Telegram Channels)
   -------------------------------------------------------------------------- */
.community-viral-strip {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(6, 78, 59, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.community-viral-content h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
}

.community-viral-content p {
    font-size: 14px;
    color: #a7f3d0;
    margin: 0;
}

.community-viral-actions {
    display: flex;
    gap: 12px;
}

.btn-whatsapp-join {
    background: #25d366;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.15s;
}

.btn-whatsapp-join:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #22c55e;
}

.btn-telegram-join {
    background: #0088cc;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
    transition: transform 0.15s;
}

.btn-telegram-join:hover {
    transform: translateY(-2px);
    color: #ffffff;
    background: #0284c7;
}

/* --------------------------------------------------------------------------
   Newsletter Subscription Box
   -------------------------------------------------------------------------- */
.newsletter-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.newsletter-card h3 {
    font-size: 20px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 6px;
}

.newsletter-card p {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 18px;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-submit {
    background: var(--primary);
    color: #ffffff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

.newsletter-submit:hover {
    background: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Article Single Reader Page Styles
   -------------------------------------------------------------------------- */
.article-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 36px;
}

.article-main {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    box-shadow: var(--card-shadow);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb-nav a:hover {
    color: var(--primary);
}

.article-category-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.article-headline {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    color: var(--secondary);
    margin-bottom: 16px;
}

.article-deck {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

.article-byline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

.author-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.author-details {
    line-height: 1.3;
}

.author-name-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
}

.author-pub-date {
    font-size: 12px;
    color: var(--text-light);
}

.read-time-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
}

/* Social Share Bar */
.social-share-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    transition: opacity 0.15s;
}

.share-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.share-whatsapp { background: #25d366; }
.share-twitter { background: #000000; }
.share-facebook { background: #1877f2; }
.share-telegram { background: #0088cc; }
.share-copy { background: #64748b; }

/* Featured Image in Article */
.article-featured-media {
    margin-bottom: 28px;
}

.article-hero-img {
    width: 100%;
    border-radius: var(--radius-sm);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-caption {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
    border-left: 2px solid var(--border);
    padding-left: 8px;
}

/* Article Body Typography */
.article-content-body {
    font-size: 17px;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 32px;
}

.article-content-body p {
    margin-bottom: 20px;
}

.article-content-body h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    margin: 32px 0 16px;
    line-height: 1.35;
}

.article-content-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    margin: 24px 0 12px;
}

.article-content-body blockquote {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 24px 0;
    font-style: italic;
    font-size: 18px;
    color: #334155;
    border-radius: 0 4px 4px 0;
}

.article-content-body ul, .article-content-body ol {
    margin: 20px 0 20px 24px;
}

.article-content-body li {
    margin-bottom: 8px;
}

/* In-Article WhatsApp Callout */
.in-article-whatsapp-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.in-article-whatsapp-box strong {
    color: #065f46;
    font-size: 15px;
}

.in-article-whatsapp-box p {
    margin: 0;
    font-size: 13px;
    color: #047857;
}

/* Tags Cloud Bar */
.article-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-bottom: 28px;
}

.tag-badge {
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.tag-badge:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Author Bio Card */
.author-bio-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.author-bio-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.author-bio-text h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 4px;
}

.author-bio-text .designation {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.author-bio-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Comments Section */
.comments-section {
    border-top: 2px solid var(--secondary);
    padding-top: 28px;
    margin-top: 36px;
}

.comments-header {
    font-size: 20px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 20px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.comment-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.comment-author-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.comment-author-name {
    font-weight: 700;
    color: var(--secondary);
}

.comment-time {
    color: var(--text-light);
    font-size: 11px;
}

.comment-body {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

.comment-form-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.comment-form-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 14px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-input-box {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: #ffffff;
    outline: none;
}

.form-input-box:focus {
    border-color: var(--primary);
}

.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    background: #ffffff;
    outline: none;
    min-height: 100px;
    resize: vertical;
    margin-bottom: 14px;
    font-family: inherit;
}

.form-textarea:focus {
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   Category & Archive Page Specifics
   -------------------------------------------------------------------------- */
.archive-header {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: var(--card-shadow);
}

.archive-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 750px;
    line-height: 1.5;
}

.subcat-tab-bar {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.subcat-tab {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subcat-tab:hover, .subcat-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Pagination Bar */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 36px;
}

.page-btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.page-btn:hover {
    background: #f1f5f9;
}

.page-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   Search Page Styles
   -------------------------------------------------------------------------- */
.search-box-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.search-input-wrap {
    display: flex;
    gap: 10px;
}

.search-large-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.search-large-input:focus {
    border-color: var(--primary);
}

.search-large-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.search-highlight {
    background: #fef08a;
    padding: 0 2px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 4px solid var(--primary);
    margin-top: auto;
    padding: 48px 0 24px;
    font-size: 13px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 4fr 2.5fr 2.5fr 3fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 800;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border-bottom: 2px solid #334155;
    padding-bottom: 6px;
}

.footer-brand h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.footer-brand h2 span {
    color: #f8fafc;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    color: #cbd5e1;
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
}

.footer-compliance-box {
    background: #1e293b;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 24px;
}

.footer-compliance-box strong {
    color: #f1f5f9;
}

/* --------------------------------------------------------------------------
   Mobile Drawer & Responsiveness
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 290px;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    box-shadow: 2px 0 15px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-drawer.open {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}

.mobile-overlay.open {
    display: block;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.mobile-drawer-brand {
    display: inline-flex;
    align-items: center;
    width: 220px;
    max-width: calc(100% - 44px);
    text-decoration: none;
    line-height: 0;
}

.mobile-drawer-brand img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-links a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    border-radius: 6px;
}

.mobile-nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-magazine-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trending-sidebar-card {
        grid-column: span 2;
    }
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-meta-strip {
        display: none;
    }
    .header-search-form {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-magazine-grid {
        grid-template-columns: 1fr;
    }
    .trending-sidebar-card {
        grid-column: span 1;
    }
    .cards-grid-4, .cards-grid-3 {
        grid-template-columns: 1fr;
    }
    .community-viral-strip {
        flex-direction: column;
        text-align: center;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        grid-template-columns: 1fr;
    }
    .article-main {
        padding: 20px 16px;
    }
    .article-headline {
        font-size: 24px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Phase 7: Reader Experience & High-Performance Publishing Styles
   ========================================================================== */

/* 1. Article Reading Progress Bar */
.reading-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 99999;
    pointer-events: none;
}

.reading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%);
    transition: width 0.08s ease-out;
}

/* 2. Reader Utility Toolbar */
.reader-tools-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 24px;
}

.reader-tools-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reader-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.reader-tool-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-color: #94a3b8;
}

.reader-tool-btn.active {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

/* Font Size Stepper Buttons */
.font-size-stepper {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.font-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: background 0.1s ease;
}

.font-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.font-btn.active {
    background: #fee2e2;
    color: #dc2626;
}

/* Dynamic Font Resizing on Article Body */
.article-body.font-sm {
    font-size: 15px;
    line-height: 1.65;
}

.article-body.font-md {
    font-size: 17px;
    line-height: 1.75;
}

.article-body.font-lg {
    font-size: 20px;
    line-height: 1.85;
}

.article-body.font-xl {
    font-size: 23px;
    line-height: 1.95;
}

/* 3. Audio Story Text-to-Speech Player Box */
.tts-player-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeIn 0.2s ease;
}

.tts-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tts-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}

.tts-bar {
    width: 3px;
    background: #2563eb;
    border-radius: 1px;
    animation: eqBounce 0.8s infinite ease-in-out alternate;
}

.tts-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.tts-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.tts-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.tts-bar:nth-child(4) { height: 16px; animation-delay: 0.4s; }

@keyframes eqBounce {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* 4. Instant Live Search Dropdown */
.header-search-form {
    position: relative;
}

.live-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 420px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12), 0 10px 10px rgba(0,0,0,0.08);
    z-index: 10000;
    overflow: hidden;
    animation: fadeIn 0.15s ease;
}

.live-search-header {
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.12s ease;
}

.live-search-item:hover {
    background: #f8fafc;
}

.live-search-thumb {
    width: 54px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.live-search-content {
    flex: 1;
    min-width: 0;
}

.live-search-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
}

.live-search-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.live-search-meta {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
}

.live-search-footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.live-search-footer a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.live-search-footer a:hover {
    text-decoration: underline;
}

/* 5. Reading List / Bookmarks Slide-over Drawer */
.reading-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99999;
    display: none;
}

.reading-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reading-drawer.open {
    transform: translateX(0);
}

.reading-drawer-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reading-drawer-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reading-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.reading-list-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #ffffff;
    transition: border-color 0.15s ease;
}

.reading-list-item:hover {
    border-color: #cbd5e1;
}

.reading-list-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.reading-list-content {
    flex: 1;
    min-width: 0;
}

.reading-list-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reading-list-title:hover {
    color: var(--primary);
}

.reading-list-remove {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 0;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.reading-list-remove:hover {
    color: #dc2626;
}

/* 6. High-Fidelity Print Engine */
@media print {
    /* Hide non-content elements */
    .site-top-bar,
    .site-masthead,
    .category-nav-bar,
    .ad-banner-zone,
    .ad-slot-card,
    .social-share-strip,
    .reader-tools-panel,
    .tts-player-box,
    .reading-progress-track,
    .comments-section,
    .site-footer,
    .sidebar-widget,
    .article-sidebar {
        display: none;
    }

    body {
        background: #ffffff;
        color: #000000;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.6;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .article-layout {
        display: block;
    }

    .article-main {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .article-headline {
        font-size: 24pt;
        color: #000000;
        margin-bottom: 12pt;
    }

    .article-deck {
        font-size: 14pt;
        color: #333333;
        font-style: italic;
        margin-bottom: 16pt;
    }

    .article-body {
        font-size: 12pt;
        line-height: 1.6;
    }

    .article-hero-img {
        max-height: 300px;
        margin-bottom: 16pt;
    }

    /* Print Header & Footer stamps */
    .article-main::before {
        content: "KHABRICHACHI.COM - The Pulse of Indian News & Entertainment";
        display: block;
        font-family: sans-serif;
        font-size: 10pt;
        font-weight: bold;
        color: #dc2626;
        border-bottom: 2pt solid #000;
        padding-bottom: 6pt;
        margin-bottom: 16pt;
    }

    .article-main::after {
        content: "Printed from KhabriChachi News Network. All Rights Reserved.";
        display: block;
        margin-top: 24pt;
        padding-top: 8pt;
        border-top: 1pt solid #ccc;
        font-size: 8pt;
        color: #666;
    }
}

/* ==========================================================================
   Phase 8: High-Contrast Dark Mode & Live Wire Styles
   ========================================================================== */
html.dark-theme {
    --bg-main: #0b1120;
    --bg-alt: #060911;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-light: #94a3b8;
    --border: #1e293b;
    --border-light: #1e293b;
    --card-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

html.dark-theme .top-meta-strip {
    background: #020617;
    border-color: #1e293b;
}

html.dark-theme .top-date-box,
html.dark-theme .trending-label {
    color: #94a3b8;
}

html.dark-theme .pill-item {
    background: #1e293b;
    color: #cbd5e1;
}

html.dark-theme .site-masthead {
    background: #0b1120;
    border-color: #1e293b;
}

html.dark-theme .logo-text {
    color: #ffffff;
}

html.dark-theme .logo-tagline {
    color: #94a3b8;
}

html.dark-theme .header-search-input {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
}

html.dark-theme .category-nav-bar {
    background: #0b1120;
    border-color: #1e293b;
}

html.dark-theme .nav-link {
    color: #e2e8f0;
}

html.dark-theme .article-card,
html.dark-theme .sidebar-widget,
html.dark-theme .poll-widget,
html.dark-theme .timeline-update-card,
html.dark-theme .poll-card {
    background: #0f172a;
    border-color: #1e293b;
    color: #f8fafc;
}

html.dark-theme .poll-option-label {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark-theme .poll-result-item {
    background: #1e293b;
}

html.dark-theme .live-control-bar {
    background: #0f172a;
    border-color: #1e293b;
}

html.dark-theme .reading-drawer {
    background: #0b1120;
    border-color: #1e293b;
    color: #f8fafc;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Article rich embeds */
.article-content-body .kc-embed {
    margin: 24px auto;
    clear: both;
}

/* YouTube Embed - Full Article Width */
.article-content-body .kc-youtube {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    clear: both;
}

.article-content-body .kc-youtube iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 450px;
    border: 0;
    border-radius: 10px;
    margin: 0 auto;
}

.article-content-body .kc-instagram {
    max-width: 540px;
    margin: 24px auto;
}

.article-content-body .kc-instagram .instagram-media {
    margin: 0 auto !important;
    min-width: 280px !important;
    width: 100% !important;
}

