/* ==========================================================================
   ISHPATA NEWS NETWORK — PREMIUM BROADSHEET & BROADCAST DESIGN SYSTEM
   Inspired by BBC News, Dawn.com, The Guardian, and Al Jazeera
   ========================================================================== */

:root {
    /* Brand & Signature Colors */
    --inn-red: #cc0000;              /* BBC/Dawn Signature Breaking Red */
    --inn-red-hover: #a30000;
    --inn-navy: #0b1329;             /* Authority Broadsheet Navy */
    --inn-navy-surface: #131d38;
    --inn-ink: #111827;              /* Deep readable charcoal */
    --inn-ink-secondary: #374151;
    --inn-muted: #6b7280;            /* Timestamp & byline muted grey */
    --inn-border: #e5e7eb;           /* Crisp newspaper hairline divider */
    --inn-border-light: #f3f4f6;
    --inn-bg-light: #f9fafb;         /* Neutral page background */
    --inn-card-bg: #ffffff;
    --inn-gold: #d97706;

    /* Category Thematic Accents */
    --cat-news: #cc0000;
    --cat-sports: #047857;          /* Emerald Green */
    --cat-culture: #6d28d9;         /* Royal Purple */
    --cat-science: #0369a1;         /* Ocean / Tech Blue */
    --cat-discovery: #c2410c;       /* Terracotta Amber */
}

/* Base resets & typography */
html, body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--inn-ink);
    background-color: var(--inn-bg-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

a:hover {
    color: var(--inn-red);
}

/* ==========================================================================
   URDU RTL PERFECTION (DAWN URDU / BBC URDU STYLE)
   ========================================================================== */
html[dir="rtl"] body {
    font-family: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', serif;
    line-height: 2.3;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] .brand-name,
html[dir="rtl"] .lead-editorial-title,
html[dir="rtl"] .story-card-title,
html[dir="rtl"] .article-headline {
    font-family: 'Noto Nastaliq Urdu', serif !important;
    line-height: 2.2 !important;
    letter-spacing: normal !important;
}

html[dir="rtl"] .story-card-title {
    font-size: 1.15rem;
}

html[dir="rtl"] .lead-editorial-title {
    font-size: 2rem !important;
}

html[dir="rtl"] .ranked-num {
    margin-right: 0 !important;
    margin-left: 0.75rem !important;
}

html[dir="rtl"] .slice-bar-accent {
    margin-right: 0 !important;
    margin-left: 0.6rem !important;
}

/* Nastaliq badge & pill breathing room adjustments */
html[dir="rtl"] .badge {
    padding: 0.4rem 0.95rem 0.55rem !important;
    line-height: 1.85 !important;
    font-size: 0.82rem !important;
    font-family: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', serif;
    font-weight: 600;
    border-radius: 9999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

html[dir="rtl"] .subtopic-pill {
    padding: 0.45rem 1rem 0.6rem !important;
    line-height: 1.8 !important;
    font-size: 0.88rem !important;
}

html[dir="rtl"] .btn-sm {
    padding: 0.4rem 0.95rem 0.55rem !important;
    line-height: 1.7 !important;
}

html[dir="rtl"] .sidebar-box {
    padding: 1.45rem 1.35rem !important;
}

html[dir="rtl"] .sidebar-box.border-dashed {
    padding: 1.5rem 1.35rem !important;
}

html[dir="rtl"] .sidebar-box h5,
html[dir="rtl"] .sidebar-box h4 {
    font-size: 1.05rem !important;
    line-height: 2.2 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.65rem !important;
}

html[dir="rtl"] .sidebar-box p {
    line-height: 2.2 !important;
}

html[dir="rtl"] .sidebar-widget-header {
    font-size: 0.92rem !important;
    font-weight: 700;
    line-height: 2.1 !important;
    padding-bottom: 0.85rem !important;
    margin-bottom: 1.15rem !important;
    border-bottom: 2px solid var(--inn-red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* ==========================================================================
   TOP GLOBAL UTILITY BAR (BROADCAST NETWORK SLATE - V2.9)
   ========================================================================== */
.top-utility-bar {
    background-color: #060b19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: #94a3b8;
}

.live-pill {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
    display: inline-block;
    box-shadow: 0 0 6px #ef4444;
    animation: liveDotPulse 1.4s infinite;
}

@keyframes liveDotPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

.top-date-wrap {
    color: #cbd5e1;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.top-weather-bar {
    font-size: 0.74rem;
}
.weather-station {
    color: #94a3b8;
}
.weather-city {
    color: #f1f5f9;
}

.edition-badge {
    background-color: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Segmented Language Switcher */
.lang-segmented-control {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-pill-btn {
    font-weight: 600;
    font-size: 0.74rem;
    color: #94a3b8;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-flag-label {
    font-size: 0.65rem;
    font-weight: 800;
    opacity: 0.8;
}

.lang-pill-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.lang-pill-btn.active {
    background: var(--inn-red) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 1px 6px color-mix(in srgb, var(--inn-red) 40%, transparent);
}

.top-social-icons a {
    color: #94a3b8;
    font-size: 0.82rem;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.top-social-icons a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   MAIN EDITORIAL MASTHEAD (BROADSHEET AUTHORITY - V2.9)
   ========================================================================== */
.site-masthead {
    background-color: #ffffff;
    border-bottom: 3px double var(--inn-ink);
    position: relative;
}

.brand-logo-wrap {
    display: inline-block;
}

.brand-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.brand-link:hover .brand-logo {
    transform: scale(1.04);
}

.brand-live-pip {
    position: absolute;
    bottom: 2px;
    right: 14px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.brand-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--inn-navy);
    line-height: 1;
    display: block;
    transition: color 0.15s ease;
}
.brand-link:hover .brand-name {
    color: var(--inn-navy);
}

.brand-motto {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--inn-red);
    text-transform: uppercase;
    display: block;
    margin-top: 0.28rem;
}

/* Hot Topics / Trending Desk */
.hot-topics-box {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--inn-border);
    border-radius: 24px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hot-label {
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--inn-navy);
    white-space: nowrap;
}

.animate-flame {
    animation: flameFlicker 1.5s infinite alternate ease-in-out;
}
@keyframes flameFlicker {
    0% { transform: scale(0.95); opacity: 0.85; }
    100% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 6px rgba(220, 38, 38, 0.6); }
}

.trend-tag {
    display: inline-flex;
    align-items: center;
    color: var(--inn-ink);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.15s ease;
}
.trend-tag .trend-hash {
    color: var(--inn-red);
    font-weight: 800;
    margin-right: 0.15rem;
}
html[dir="rtl"] .trend-tag .trend-hash {
    margin-right: 0;
    margin-left: 0.15rem;
}

.trend-tag:hover {
    background: var(--inn-navy);
    color: #ffffff;
    border-color: var(--inn-navy);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px color-mix(in srgb, var(--inn-navy) 15%, transparent);
}
.trend-tag:hover .trend-hash {
    color: #f87171;
}

/* Capsule Search Bar */
.search-capsule-group {
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    padding: 2px 4px 2px 10px;
    transition: all 0.2s ease;
    align-items: center;
}

.search-capsule-group:focus-within {
    background: #ffffff;
    border-color: var(--inn-navy);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--inn-navy) 12%, transparent) !important;
}

.search-capsule-glass {
    background: transparent !important;
    border: none !important;
    padding: 0 0.35rem 0 0 !important;
    font-size: 0.88rem;
}
html[dir="rtl"] .search-capsule-glass {
    padding: 0 0 0 0.35rem !important;
}

.search-capsule-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 0.85rem;
    padding: 0.35rem 0.2rem;
    color: var(--inn-ink);
}

.search-kbd-chip {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    background: #e2e8f0;
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    margin-right: 0.35rem;
    border: 1px solid #cbd5e1;
    line-height: 1.2;
}
html[dir="rtl"] .search-kbd-chip {
    margin-right: 0;
    margin-left: 0.35rem;
}

.btn-search-capsule {
    background: var(--inn-navy);
    color: #ffffff;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.82rem;
    border: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.btn-search-capsule:hover {
    background: var(--inn-red);
    color: #ffffff;
    transform: scale(1.05);
}

/* ==========================================================================
   PRIMARY NAVIGATION (BROADSHEET RIBBON) - V3.0 ULTRA-SMOOTH STICKY TRANSITION
   ========================================================================== */
.site-nav {
    background-color: var(--inn-navy);
    padding: 0;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--inn-navy) 16%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: background-color, box-shadow, backdrop-filter;
}

/* Scrolled / Pinned State: Glassmorphism, floating elevation, compact link height */
.site-nav.is-scrolled,
.site-nav.is-pinned {
    background-color: color-mix(in srgb, var(--inn-navy) 94%, transparent) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

/* Sticky Brand Mark (Animated smoothly in when scrolled) */
.nav-sticky-brand {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 0;
    transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s ease,
                margin-right 0.35s ease,
                margin-left 0.35s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-12px);
    pointer-events: none;
}
html[dir="rtl"] .nav-sticky-brand {
    margin-right: 0;
    margin-left: 0;
    transform: translateX(12px);
}

.site-nav.is-scrolled .nav-sticky-brand {
    max-width: 220px;
    opacity: 1;
    margin-right: 1.25rem;
    transform: translateX(0);
    pointer-events: auto;
}
html[dir="rtl"] .site-nav.is-scrolled .nav-sticky-brand {
    margin-right: 0;
    margin-left: 1.25rem;
}

.nav-sticky-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-right: 0.45rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
html[dir="rtl"] .nav-sticky-logo {
    margin-right: 0;
    margin-left: 0.45rem;
}

.nav-sticky-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.site-nav .navbar-nav .nav-link {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.05rem;
    border-radius: 0;
    position: relative;
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.16s ease,
                background-color 0.16s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Subtle link height compression when scrolled */
.site-nav.is-scrolled .navbar-nav .nav-link {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.88rem;
}

.site-nav .navbar-nav .nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Redesigned Active Indicator (Clean bottom bar accent instead of bulky red block) */
.site-nav .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.07);
    font-weight: 700;
}

.site-nav .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--inn-red);
    box-shadow: 0 -1px 6px color-mix(in srgb, var(--inn-red) 70%, transparent);
}

/* Dropdown Caret Styling */
.site-nav .dropdown-toggle::after {
    vertical-align: 0.15em;
    font-size: 0.72rem;
    margin-left: 0.35rem;
    opacity: 0.8;
    transition: transform 0.15s ease;
}
html[dir="rtl"] .site-nav .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 0.35rem;
}

/* Pure CSS Hover-Activated Dropdown (Auto-closes when cursor leaves) */
@media (min-width: 992px) {
    .dropdown-hover {
        position: relative;
    }
    .dropdown-hover > .dropdown-menu {
        display: none;
        margin-top: 0;
        pointer-events: none;
        opacity: 0;
        transform: translateY(6px);
        transition: opacity 0.16s ease, transform 0.16s ease;
    }
    .dropdown-hover:hover > .dropdown-menu,
    .dropdown-hover:focus-within > .dropdown-menu {
        display: block;
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }
    .dropdown-hover:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

.inn-nav-dropdown {
    background: var(--inn-navy);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    min-width: 240px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

/* Multi-Column Mega Dropdown for High-Density Editorial Desks */
.inn-mega-dropdown {
    min-width: 380px;
    max-width: 460px;
    padding: 0.85rem 1.15rem;
}

.inn-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 0.65rem;
}

html[dir="rtl"] .inn-nav-dropdown {
    text-align: right;
}

.inn-nav-dropdown .dropdown-item {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.48rem 0.65rem;
    border-radius: 6px;
    transition: all 0.14s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.inn-nav-dropdown .dropdown-item:hover,
.inn-nav-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 0.85rem;
}
html[dir="rtl"] .inn-nav-dropdown .dropdown-item:hover {
    padding-left: 0.65rem;
    padding-right: 0.85rem;
}

.inn-nav-dropdown .dropdown-item.active {
    background: var(--inn-red);
    color: #ffffff;
}

/* Footer Newsroom styling */
.footer-newsroom-list a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-newsroom-list a:hover {
    color: var(--inn-red) !important;
}

/* LIVE TV / WATCH LIVE (GEO.TV & CNN STYLE) */
.live-tv-pill {
    background: linear-gradient(135deg, var(--inn-red) 0%, color-mix(in srgb, var(--inn-red) 75%, #000) 100%);
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.85rem !important;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 0 10px color-mix(in srgb, var(--inn-red) 45%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.live-tv-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px color-mix(in srgb, var(--inn-red) 85%, transparent);
    color: #ffffff !important;
}

.live-tv-pill-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem !important;
}

.live-tv-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    animation: livePulseGlow 1.2s infinite ease-in-out;
}

@keyframes livePulseGlow {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 8px #ffffff; }
    100% { transform: scale(0.9); opacity: 1; }
}

/* Mobile drawer */
.mobile-drawer {
    max-width: 320px;
}

.mobile-nav-list .nav-link {
    color: var(--inn-navy);
    font-weight: 600;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-list .nav-link.active {
    color: var(--inn-red);
}

/* Mobile menu: expandable section topics */
.mobile-nav-toggle {
    flex: none; width: 44px; height: 44px;            /* comfortable touch target */
    border: 0; background: transparent; color: var(--inn-ink-secondary);
    display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
}
.mobile-nav-toggle:hover, .mobile-nav-toggle:focus-visible { background: var(--inn-border-light); color: var(--inn-red); }
.mobile-nav-toggle i { transition: transform .2s ease; }
.mobile-nav-toggle:not(.collapsed) i { transform: rotate(180deg); color: var(--inn-red); }
.mobile-subtopics { margin: 0 0 6px; padding: 2px 0 4px 14px; border-inline-start: 2px solid var(--inn-border); margin-inline-start: 12px; }
html[dir="rtl"] .mobile-subtopics { padding-left: 0; padding-right: 14px; }
.mobile-subtopics a {
    display: block; padding: 7px 8px; color: var(--inn-ink-secondary); text-decoration: none;
    font-size: .92rem; border-radius: 6px;
}
.mobile-subtopics a:hover { background: var(--inn-border-light); color: var(--inn-red); }
.mobile-subtopics a.active { color: var(--inn-red); font-weight: 600; }

/* ==========================================================================
   BREAKING NEWS TICKER & TRENDING BAR (GEO.TV & CNN STYLE)
   ========================================================================== */
.breaking-ticker-wrapper {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.breaking-ticker-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--inn-border-light);
    display: flex;
    align-items: center;
}

.breaking-ticker-label {
    background: var(--inn-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 1rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-pulse-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    animation: beaconPulse 1.2s infinite;
}

@keyframes beaconPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.9); opacity: 1; }
}

.breaking-ticker-marquee {
    padding: 0.45rem 1rem;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerMarquee 30s linear infinite;
}

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

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

html[dir="rtl"] .ticker-content-track {
    animation: tickerMarqueeRTL 30s linear infinite;
}

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

.ticker-story-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-right: 2.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--inn-navy);
}

.ticker-bullet-dot {
    font-size: 0.42rem;
    color: var(--inn-red);
}

.trending-hashtags-bar {
    background: var(--inn-bg-light);
    font-size: 0.8rem;
    border-top: 1px solid #f1f5f9;
}

.trending-label {
    color: var(--inn-ink);
    font-size: 0.78rem;
    white-space: nowrap;
}

.trending-tag {
    color: var(--inn-muted);
    font-weight: 600;
    background: #ffffff;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--inn-border);
    transition: all 0.15s ease;
}

.trending-tag:hover {
    color: var(--inn-red);
    border-color: var(--inn-red);
    background: color-mix(in srgb, var(--inn-red) 4%, transparent);
}

/* ==========================================================================
   TOP TIER: 3-COLUMN BROADSHEET & BROADCAST GRID
   ========================================================================== */
.broadsheet-top-grid {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.rail-header-strip {
    border-bottom: 2px solid var(--inn-navy);
    padding-bottom: 0.45rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rail-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--inn-navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Left Rail Compact Cards */
.compact-story-card {
    border-bottom: 1px solid var(--inn-border-light);
    padding-bottom: 0.85rem;
}

.compact-story-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.compact-img-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 120px;
    background: #e2e8f0;
}

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

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

.compact-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--inn-navy);
    margin-bottom: 0.35rem;
}

.compact-story-card:hover .compact-title {
    color: var(--inn-red);
}

.story-meta-micro {
    font-size: 0.78rem;
    font-weight: 500;
}

.badge-micro {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

html[dir="rtl"] .badge-micro {
    left: auto;
    right: 6px;
}

.pulse-badge {
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0% { opacity: 0.9; }
    50% { opacity: 0.45; }
    100% { opacity: 0.9; }
}

/* Geo.tv Minute-by-Minute Real-Time Timeline List */
.realtime-timeline-list {
    position: relative;
    border-left: 2px solid var(--inn-border);
    margin-left: 0.35rem;
    padding-left: 0.85rem;
}

html[dir="rtl"] .realtime-timeline-list {
    border-left: none;
    border-right: 2px solid var(--inn-border);
    margin-left: 0;
    margin-right: 0.35rem;
    padding-left: 0;
    padding-right: 0.85rem;
}

.timeline-story-item {
    position: relative;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--inn-border-light);
    margin-bottom: 0.85rem;
}

.timeline-story-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--inn-red);
    display: inline-block;
    flex-shrink: 0;
}

.timeline-time-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--inn-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.timeline-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.timeline-story-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--inn-navy);
    line-height: 1.35;
    display: block;
    transition: color 0.15s ease;
}

.timeline-story-title:hover {
    color: var(--inn-red);
}

.editor-perspective-card {
    background: #f8fafc;
    border: 1px dashed var(--inn-border);
    border-radius: 8px;
    padding: 1rem;
}

/* Center Hero Lead Story (The Guardian & Dawn Hero) */
.center-lead-story {
    padding: 0 0.5rem;
}

.lead-hero-image-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 340px;
    background-color: var(--inn-navy);
}

.lead-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.center-lead-story:hover .lead-hero-img {
    transform: scale(1.03);
}

.lead-hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    color: #ffffff;
    background-color: var(--inn-red);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
}

html[dir="rtl"] .category-badge {
    left: auto;
    right: 12px;
}

.badge-news { background-color: var(--cat-news); }
.badge-sports { background-color: var(--cat-sports); }
.badge-culture { background-color: var(--cat-culture); }
.badge-science { background-color: var(--cat-science); }
.badge-discovery { background-color: var(--cat-discovery); }

.lead-editorial-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--inn-navy);
    margin-bottom: 0.65rem;
}

.center-lead-story:hover .lead-editorial-title {
    color: var(--inn-red);
}

.lead-editorial-deck {
    font-size: 1.05rem;
    color: var(--inn-ink-secondary);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.lead-byline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--inn-muted);
}

.lead-author-badge {
    font-weight: 700;
    color: var(--inn-navy);
}

.read-more-pill {
    font-weight: 700;
    color: var(--inn-red);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lead-live-beacon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    margin-right: 0.35rem;
    animation: liveDotPulse 1.2s infinite;
}

html[dir="rtl"] .lead-live-beacon {
    margin-right: 0;
    margin-left: 0.35rem;
}

/* CNN-Style Bulleted Sub-Leads Box */
.cnn-bullet-points-box {
    background: #fbfbfc;
    border: 1px solid var(--inn-border-light);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
}

.cnn-bullet-header {
    letter-spacing: 0.06em;
    font-size: 0.74rem;
}

.cnn-bullet-item {
    font-size: 0.92rem;
}

.cnn-bullet-dot {
    color: var(--inn-red);
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1;
}

.cnn-bullet-link {
    color: var(--inn-ink);
    text-decoration: none;
    line-height: 1.4;
}

.cnn-bullet-link:hover {
    color: var(--inn-red);
}

.quick-bullets-strip {
    border-color: var(--inn-border-light) !important;
}

.quick-bullet-link {
    font-size: 0.92rem;
    color: var(--inn-navy);
    line-height: 1.4;
}

.quick-bullet-link:hover {
    color: var(--inn-red);
}

/* Right Rail: Ranked 01..05 Stories (BBC Style) */
.ranked-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--inn-border-light);
}

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

.ranked-num {
    font-size: 1.85rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    min-width: 32px;
}

.ranked-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--inn-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranked-item:hover .ranked-title {
    color: var(--inn-red);
}

.ranked-item:hover .ranked-num {
    color: var(--inn-red);
}

/* ==========================================================================
   REGIONAL SPOTLIGHT: CHITRAL & KALASH (BRAND ESSENCE)
   ========================================================================== */
.regional-spotlight-section {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.spotlight-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--inn-red) 10%, transparent);
    color: var(--inn-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.spotlight-card {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spotlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.spotlight-img-wrap {
    position: relative;
    height: 135px;
    overflow: hidden;
    background: #e2e8f0;
}

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

.spotlight-card:hover .spotlight-img {
    transform: scale(1.04);
}

.spotlight-badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: color-mix(in srgb, var(--inn-navy) 88%, transparent);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

html[dir="rtl"] .spotlight-badge {
    left: auto;
    right: 6px;
}

.spotlight-body {
    padding: 0.65rem 0.8rem;
}

.spotlight-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--inn-navy);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-card:hover .spotlight-title {
    color: var(--inn-red);
}

.spotlight-deck {
    font-size: 0.76rem;
    color: var(--inn-muted);
    line-height: 1.35;
    margin-bottom: 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-meta {
    font-size: 0.72rem;
    color: var(--inn-muted);
}

/* ==========================================================================
   MULTIMEDIA CINEMA DESK (AL JAZEERA / BBC VIDEO DESK)
   ========================================================================== */
.multimedia-cinema-desk {
    background: linear-gradient(180deg, color-mix(in srgb, var(--inn-navy) 70%, #000) 0%, var(--inn-navy) 100%);
    border-radius: 14px;
    padding: 2.2rem;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.cinema-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--inn-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.cinema-video-card {
    transition: transform 0.2s ease;
}

.cinema-video-card:hover {
    transform: translateY(-3px);
}

.cinema-player-box {
    cursor: pointer;
    background-color: #000;
}

.cinema-play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--inn-red) 92%, transparent);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, background 0.25s ease;
    z-index: 3;
}

.cinema-player-box:hover .cinema-play-btn {
    transform: scale(1.15);
    background: color-mix(in srgb, var(--inn-red) 85%, #fff);
}

.cinema-duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    z-index: 2;
}

html[dir="rtl"] .cinema-duration-badge {
    right: auto;
    left: 8px;
}


/* ==========================================================================
   THEMATIC SECTION SLICES (NEWS, SPORTS, CULTURE, SCIENCE, DISCOVERY)
   ========================================================================== */
.thematic-section-slice {
    margin-bottom: 3.5rem;
}

.slice-header-bar {
    border-bottom: 2px solid var(--inn-border);
    padding-bottom: 0.65rem;
    position: relative;
}

.slice-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--inn-navy);
    margin: 0;
    display: flex;
    align-items: center;
}

.slice-bar-accent {
    width: 14px;
    height: 24px;
    display: inline-block;
    border-radius: 3px;
    margin-right: 0.6rem;
}

.accent-news { background-color: var(--cat-news); }
.accent-sports { background-color: var(--cat-sports); }
.accent-culture { background-color: var(--cat-culture); }
.accent-science { background-color: var(--cat-science); }
.accent-discovery { background-color: var(--cat-discovery); }

.slice-more-link {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--inn-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.slice-more-link:hover {
    color: var(--inn-red-hover);
    transform: translateX(3px);
}

html[dir="rtl"] .slice-more-link:hover {
    transform: translateX(-3px);
}

/* ==========================================================================
   MODERN ARTICLE CARDS (PARTIAL) - COMPACT HIGH DENSITY
   ========================================================================== */
.story-card-modern {
    background: var(--inn-card-bg);
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.card-image-wrap {
    position: relative;
    padding-top: 48%; /* Extra-compact 16:9 ratio */
    background-color: #e2e8f0;
    overflow: hidden;
}

.card-img-top {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card-modern:hover .card-img-top {
    transform: scale(1.04);
}

.card-image-wrap .category-badge {
    top: 6px;
    left: 6px;
    padding: 0.15rem 0.45rem;
    font-size: 0.62rem;
}

html[dir="rtl"] .card-image-wrap .category-badge {
    left: auto;
    right: 6px;
}

/* Video Play Overlay (CNN & Geo.tv Style) */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
    transition: background 0.2s ease;
}

.video-play-overlay i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--inn-red) 92%, transparent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.story-card-modern:hover .video-play-overlay i {
    transform: scale(1.12);
    background: var(--inn-red);
}

.card-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--inn-red);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.card-body-modern {
    padding: 0.6rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-card-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--inn-navy);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card-modern:hover .story-card-title {
    color: var(--inn-red);
}

.story-card-tagline {
    font-size: 0.76rem;
    color: var(--inn-muted);
    line-height: 1.35;
    margin-bottom: 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-meta {
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: 1px solid var(--inn-border-light);
    font-size: 0.72rem;
    color: var(--inn-muted);
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   SECTION & TOPIC COMPACT BROADSHEET LAYOUT (BBC / REUTERS STYLE)
   ========================================================================== */
.section-title-strip {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    padding: 1.15rem 1.35rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.section-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--inn-red) 8%, transparent);
    color: var(--inn-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.section-main-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--inn-navy);
    line-height: 1.1;
}

.subtopic-filter-nav {
    border-top: 1px solid var(--inn-border-light);
    padding-top: 0.65rem;
    margin-top: 0.5rem;
}

.subtopic-pill {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--inn-ink-secondary);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}

.subtopic-pill:hover {
    background: var(--inn-red);
    color: #ffffff;
    border-color: var(--inn-red);
}

.subtopic-pill.active {
    background: var(--inn-red);
    color: #ffffff !important;
    border-color: var(--inn-red);
}

/* Section Lead Feature Horizontal Card */
.section-lead-feature {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-lead-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

.section-lead-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

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

.section-lead-feature:hover .section-lead-img {
    transform: scale(1.04);
}

.section-lead-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--inn-navy);
    margin-bottom: 0.4rem;
}

.section-lead-feature:hover .section-lead-title {
    color: var(--inn-red);
}

/* Sidebar Widgets */
.sidebar-box {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 12px;
    padding: 1.35rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.border-dashed {
    border: 1.5px dashed #cbd5e1 !important;
    padding: 1.45rem !important;
}

.ranked-num-sm {
    font-size: 1.35rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
    min-width: 26px;
}

.sidebar-ranked-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--inn-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-ranked-title:hover {
    color: var(--inn-red);
}

.topic-list-row {
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    color: var(--inn-ink);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s ease;
}

.topic-list-row:hover {
    background: #f1f5f9;
    color: var(--inn-red);
}

.story-fallback-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--inn-navy) 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2rem;
}

/* ==========================================================================
   GUARDIAN-STYLE NEWSLETTER HIGHLIGHT STRIP
   ========================================================================== */
.newsletter-highlight-strip {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-left: 6px solid var(--inn-red);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

html[dir="rtl"] .newsletter-highlight-strip {
    border-left: 1px solid var(--inn-border);
    border-right: 6px solid var(--inn-red);
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (CNN & GEO.TV BROADSHEET EDITORIAL)
   ========================================================================== */
.article-container-broadsheet {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-breadcrumb-nav .breadcrumb-item a {
    color: var(--inn-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.article-breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--inn-red);
}

.article-main-headline {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--inn-navy);
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.article-lead-deck {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.article-byline-strip {
    border-top: 1px solid var(--inn-border);
    border-bottom: 1px solid var(--inn-border);
    padding: 0.85rem 0;
}

.author-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--inn-navy) 0%, var(--inn-red) 100%);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.author-byline-name {
    font-weight: 700;
    color: var(--inn-navy);
    font-size: 0.95rem;
    line-height: 1.2;
}

.time-ago-chip {
    font-weight: 600;
    color: var(--inn-ink);
}

.btn-share-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--inn-navy);
    border: 1px solid var(--inn-border);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-share-icon:hover {
    background: var(--inn-red);
    color: #ffffff;
    border-color: var(--inn-red);
    transform: translateY(-2px);
}

/* Optional Top Hero Image */
.article-lead-figure {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--inn-border);
    background: #e2e8f0;
}

.article-lead-img-box {
    position: relative;
    max-height: 440px;
    overflow: hidden;
}

.article-lead-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.article-img-caption {
    padding: 0.55rem 0.95rem;
    background: #f8fafc;
    font-size: 0.8rem;
    color: var(--inn-muted);
    border-top: 1px solid var(--inn-border);
}

/* ==========================================================================
   FLEXIBLE MULTI-PICTURE PLACEMENTS INSIDE ARTICLE BODY
   Allows authors to position images anywhere: left, right, center, or galleries!
   ========================================================================== */
.article-rich-body {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #1f2937;
}

html[dir="rtl"] .article-rich-body {
    font-size: 1.22rem;
    line-height: 2.35;
}

.article-rich-body p {
    margin-bottom: 1.35rem;
}

/* General images in body */
.article-rich-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-rich-body figure {
    margin: 1.5rem 0;
}

.article-rich-body figcaption {
    font-size: 0.78rem;
    color: var(--inn-muted);
    margin-top: 0.4rem;
    line-height: 1.4;
    font-style: italic;
}

/* 1. Left-Floated Image (Text wraps smoothly on right) */
.article-rich-body .img-float-start,
.article-rich-body figure.float-start,
.article-rich-body .alignleft {
    float: left;
    max-width: 48%;
    margin: 0.4rem 1.5rem 1.25rem 0;
}

html[dir="rtl"] .article-rich-body .img-float-start,
html[dir="rtl"] .article-rich-body figure.float-start,
html[dir="rtl"] .article-rich-body .alignleft {
    float: right;
    margin: 0.4rem 0 1.25rem 1.5rem;
}

/* 2. Right-Floated Image (Text wraps smoothly on left) */
.article-rich-body .img-float-end,
.article-rich-body figure.float-end,
.article-rich-body .alignright {
    float: right;
    max-width: 48%;
    margin: 0.4rem 0 1.25rem 1.5rem;
}

html[dir="rtl"] .article-rich-body .img-float-end,
html[dir="rtl"] .article-rich-body figure.float-end,
html[dir="rtl"] .article-rich-body .alignright {
    float: left;
    margin: 0.4rem 1.5rem 1.25rem 0;
}

/* 3. Full-Bleed Center Photo Break */
.article-rich-body .img-full-bleed,
.article-rich-body figure.full-width,
.article-rich-body .aligncenter {
    display: block;
    clear: both;
    width: 100%;
    margin: 2rem 0;
}

.article-rich-body .img-full-bleed img,
.article-rich-body figure.full-width img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* Image sizes chosen in the editor (click an image > S / M / L / Full) */
.article-rich-body .inn-w-33 { width: 33%; }
.article-rich-body .inn-w-50 { width: 50%; }
.article-rich-body .inn-w-75 { width: 75%; }
.article-rich-body .inn-w-100 { width: 100%; }
.article-rich-body img.inn-w-33, .article-rich-body img.inn-w-50,
.article-rich-body img.inn-w-75, .article-rich-body img.inn-w-100 { height: auto; }
.article-rich-body figure[class*="inn-w-"] img { width: 100%; height: auto; }
.article-rich-body .img-float-start[class*="inn-w-"],
.article-rich-body .img-float-end[class*="inn-w-"] { max-width: none; }
.article-rich-body .inn-center { display: block; clear: both; margin-left: auto; margin-right: auto; }
.article-rich-body figure.inn-center { margin-top: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 575.98px) {
    .article-rich-body [class*="inn-w-"] { width: 100% !important; }
}

/* 4. Side-by-Side Photo Galleries (2-Up & 3-Up) */
.article-photo-grid-2,
.article-rich-body .photo-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
    clear: both;
}

.article-photo-grid-3,
.article-rich-body .photo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 2rem 0;
    clear: both;
}

@media (max-width: 767.98px) {
    .article-rich-body .img-float-start,
    .article-rich-body figure.float-start,
    .article-rich-body .alignleft,
    .article-rich-body .img-float-end,
    .article-rich-body figure.float-end,
    .article-rich-body .alignright {
        float: none !important;
        max-width: 100% !important;
        margin: 1.5rem 0 !important;
    }
    .article-photo-grid-2,
    .article-rich-body .photo-grid-2,
    .article-photo-grid-3,
    .article-rich-body .photo-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* ── Story blocks from the editor's "Formats" menu ─────────────────────────── */
.article-rich-body p.lead { font-size: 1.25em; line-height: 1.6; color: var(--inn-ink); font-weight: 500; }
.article-rich-body p.has-dropcap::first-letter {
    float: left; font-family: 'Newsreader', Georgia, serif; font-size: 3.6em; line-height: .85;
    font-weight: 700; color: var(--inn-red); margin: .08em .12em 0 0;
}
html[dir="rtl"] .article-rich-body p.has-dropcap::first-letter { float: none; font-size: 1em; color: inherit; margin: 0; }

.article-rich-body blockquote.pull-quote {
    border: 0; background: none; text-align: center; font-family: 'Newsreader', Georgia, serif;
    font-size: 1.6rem; font-style: italic; line-height: 1.4; color: var(--inn-ink);
    padding: 1.25rem 1rem; margin: 2rem auto; max-width: 90%;
    border-top: 3px solid var(--inn-red); border-bottom: 1px solid var(--inn-border); border-radius: 0;
}
html[dir="rtl"] .article-rich-body blockquote.pull-quote { border-right: 0; font-family: 'Noto Nastaliq Urdu', serif; line-height: 2.2; }

.article-rich-body .fact-box, .article-rich-body .note-box, .article-rich-body .read-also {
    clear: both; margin: 1.75rem 0; padding: 1rem 1.25rem; border-radius: 8px; position: relative;
}
.article-rich-body .fact-box > :last-child, .article-rich-body .note-box > :last-child { margin-bottom: 0; }
.article-rich-body .fact-box::before, .article-rich-body .note-box::before {
    display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .72rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem;
}
.article-rich-body .fact-box { background: var(--inn-bg-light); border: 1px solid var(--inn-border); border-top: 4px solid var(--inn-navy); }
.article-rich-body .fact-box::before { content: "Key facts"; color: var(--inn-navy); }
.article-rich-body .fact-box ul { margin-bottom: 0; padding-inline-start: 1.2rem; }

.article-rich-body .note-box { background: #fffbeb; border-inline-start: 4px solid #d97706; font-size: .95em; }
.article-rich-body .note-box::before { content: "Editor's note"; color: #b45309; }
.article-rich-body .note-box.note-update { background: #eff6ff; border-inline-start-color: #2563eb; }
.article-rich-body .note-box.note-update::before { content: "Update"; color: #1d4ed8; }
.article-rich-body .note-box.note-correction { background: #fef2f2; border-inline-start-color: #dc2626; }
.article-rich-body .note-box.note-correction::before { content: "Correction"; color: #b91c1c; }

.article-rich-body p.read-also { background: none; padding: .6rem 0; border-top: 1px solid var(--inn-border); border-bottom: 1px solid var(--inn-border); border-radius: 0; font-weight: 600; }
.article-rich-body p.read-also::before { content: "Read also: "; color: var(--inn-red); font-weight: 800; text-transform: uppercase; font-size: .8em; letter-spacing: .05em; }
.article-rich-body p.read-also a { color: var(--inn-ink); text-decoration: none; }
.article-rich-body p.read-also a:hover { color: var(--inn-red); text-decoration: underline; }

/* Urdu labels */
html[lang="ur"] .article-rich-body .fact-box::before { content: "اہم حقائق"; letter-spacing: 0; }
html[lang="ur"] .article-rich-body .note-box::before { content: "ادارتی نوٹ"; letter-spacing: 0; }
html[lang="ur"] .article-rich-body .note-box.note-update::before { content: "تازہ اپ ڈیٹ"; }
html[lang="ur"] .article-rich-body .note-box.note-correction::before { content: "تصحیح"; }
html[lang="ur"] .article-rich-body p.read-also::before { content: "یہ بھی پڑھیں: "; letter-spacing: 0; }
html[lang="ur"] .article-rich-body .fact-box::before,
html[lang="ur"] .article-rich-body .note-box::before { font-family: 'Noto Nastaliq Urdu', serif; font-size: .95rem; font-weight: 700; }

.article-rich-body mark { background: color-mix(in srgb, #facc15 45%, transparent); padding: 0 .15em; border-radius: 2px; color: inherit; }

.article-rich-body hr { border: 0; height: 0; margin: 2.25rem auto; width: 40%; border-top: 2px solid var(--inn-border); opacity: 1; }

.article-rich-body table { width: 100% !important; border-collapse: collapse; margin: 1.75rem 0; font-size: .95em; }
.article-rich-body th, .article-rich-body td { border: 1px solid var(--inn-border); padding: .55rem .75rem; text-align: start; vertical-align: top; }
.article-rich-body thead th, .article-rich-body tr:first-child th { background: var(--inn-navy); color: #fff; }
.article-rich-body tbody tr:nth-child(even) { background: var(--inn-bg-light); }
@media (max-width: 767.98px) {
    .article-rich-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* Q&A / explainer sections (editor: Insert > Accordion) */
.article-rich-body details.mce-accordion, .article-rich-body details {
    border: 1px solid var(--inn-border); border-radius: 8px; margin: .75rem 0; background: #fff;
}
.article-rich-body details > summary {
    cursor: pointer; padding: .8rem 1rem; font-weight: 700; color: var(--inn-ink); list-style-position: inside;
}
.article-rich-body details[open] > summary { border-bottom: 1px solid var(--inn-border); color: var(--inn-red); }
.article-rich-body details > :not(summary) { padding: .5rem 1rem; margin: 0; }

/* Photo gallery inserted by the editor's Gallery button */
.article-rich-body .photo-grid-2 figure, .article-rich-body .photo-grid-3 figure { margin: 0; }
.article-rich-body .photo-grid-2 img, .article-rich-body .photo-grid-3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Styled Blockquotes inside articles */
.article-rich-body blockquote {
    border-left: 4px solid var(--inn-red);
    padding: 0.75rem 1.25rem;
    font-style: italic;
    color: #4b5563;
    font-size: 1.2rem;
    margin: 1.85rem 0;
    background: #fbfbfc;
    border-radius: 0 8px 8px 0;
}

html[dir="rtl"] .article-rich-body blockquote {
    border-left: none;
    border-right: 4px solid var(--inn-red);
    border-radius: 8px 0 0 8px;
}

/* ==========================================================================
   BROADSHEET FOOTER (DAWN / BBC)
   ========================================================================== */
.site-footer {
    background-color: var(--inn-navy);
    color: #94a3b8;
    margin-top: 5rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.6;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--inn-red);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-col-title {
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.footer-menu-links li {
    margin-bottom: 0.55rem;
}

.footer-menu-links a {
    color: #cbd5e1;
    font-size: 0.88rem;
    transition: color 0.15s ease, padding 0.15s ease;
}

.footer-menu-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

html[dir="rtl"] .footer-menu-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Footer Bottom Bar (High-Contrast & Clear Readability - V3.1) */
.footer-sub-bar {
    background-color: rgba(6, 11, 25, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright-text {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-bottom-links {
    font-size: 0.86rem;
}

.footer-bottom-link {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-bottom-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-dot {
    color: rgba(255, 255, 255, 0.4);
}

.footer-admin-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 700;
    transition: all 0.15s ease;
}

.footer-admin-link:hover {
    background: var(--inn-red) !important;
    border-color: var(--inn-red) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==========================================================================
   REDESIGNED SECTION PAGE — MASTHEAD, HERO CARD, SIDEBAR WIDGETS
   ========================================================================== */

/* Section Masthead */
.sec-masthead {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
}

.sec-masthead-inner {}

.sec-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.sec-icon-news    { background: color-mix(in srgb, var(--inn-red) 10%, transparent);   color: var(--cat-news); }
.sec-icon-sports  { background: rgba(4,120,87,.1);  color: var(--cat-sports); }
.sec-icon-culture { background: rgba(109,40,217,.1);color: var(--cat-culture); }
.sec-icon-science { background: rgba(3,105,161,.1); color: var(--cat-science); }
.sec-icon-discovery { background: rgba(194,65,12,.1);color: var(--cat-discovery); }

.sec-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--inn-navy);
    line-height: 1.1;
}

.sec-meta {
    font-size: 0.8rem;
    color: var(--inn-muted);
}
.sec-count strong { color: var(--inn-navy); }

/* Section Hero Card */
.sec-hero-card {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: box-shadow 0.2s ease;
}
.sec-hero-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.sec-hero-layout {
    display: flex;
    flex-direction: row;
}
.sec-hero-image {
    position: relative;
    width: 42%;
    flex-shrink: 0;
    min-height: 220px;
    background: #e2e8f0;
    overflow: hidden;
}
.sec-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.sec-hero-card:hover .sec-hero-img {
    transform: scale(1.04);
}
.sec-hero-fallback {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--inn-navy), #1e293b);
    color: #94a3b8;
    font-size: 2.5rem;
}
.sec-hero-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #fff;
    z-index: 2;
}
html[dir="rtl"] .sec-hero-badge { left: auto; right: 10px; }
.sec-hero-text {
    flex: 1;
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}
.sec-hero-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--inn-navy);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.sec-hero-card:hover .sec-hero-title { color: var(--inn-red); }
.sec-hero-deck {
    font-size: 0.88rem;
    color: var(--inn-ink-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sec-hero-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--inn-muted);
    padding-top: 0.6rem;
    border-top: 1px solid var(--inn-border-light);
    margin-top: auto;
}
.sec-time { font-weight: 600; }
.sec-author { font-weight: 600; color: var(--inn-navy); }
.sec-read-cta { font-weight: 700; color: var(--inn-red); }
.sec-read-cta:hover { color: var(--inn-red-hover); }

@media (max-width: 575.98px) {
    .sec-hero-layout { flex-direction: column; }
    .sec-hero-image { width: 100%; min-height: 180px; }
}

/* Sidebar Widgets — Upgraded */
.sidebar-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--inn-navy);
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid var(--inn-red);
    gap: 0.75rem;
}

.sidebar-story-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--inn-border-light);
}
.sidebar-story-row:last-child { border-bottom: none; }

.sidebar-story-num {
    font-size: 1.1rem;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1.1;
    min-width: 24px;
    flex-shrink: 0;
    padding-top: 2px;
}
.sidebar-story-row:hover .sidebar-story-num { color: var(--inn-red); }

.sidebar-story-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--inn-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.sidebar-story-title:hover { color: var(--inn-red); text-decoration: none; }

.sidebar-story-meta {
    font-size: 0.72rem;
    color: var(--inn-muted);
    margin-top: 0.2rem;
}

.sidebar-story-thumb {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-topic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--inn-ink);
    text-decoration: none;
    transition: background 0.15s ease;
}
.sidebar-topic-row:hover {
    background: #f1f5f9;
    color: var(--inn-red);
}

.sidebar-promo-box {
    background: linear-gradient(135deg, #fff9f9 0%, #fff 100%);
    border-left: 4px solid var(--inn-red) !important;
}
html[dir="rtl"] .sidebar-promo-box {
    border-left: 1px solid var(--inn-border) !important;
    border-right: 4px solid var(--inn-red) !important;
}

/* ==========================================================================
   GLOBAL SEARCH & AJAX SUGGESTIONS (V2.7)
   ========================================================================== */
.header-search-wrapper {
    position: relative;
}

.search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    z-index: 1060;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}
html[dir="rtl"] .search-suggest-dropdown {
    text-align: right;
}

.suggest-item {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--inn-border-light);
    transition: background 0.12s ease;
    color: var(--inn-ink);
}
.suggest-item:hover {
    background: #f8fafc;
}
.suggest-item:last-of-type {
    border-bottom: none;
}

.suggest-thumb {
    width: 50px;
    height: 38px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.suggest-thumb-fallback {
    width: 50px;
    height: 38px;
    border-radius: 5px;
    background: var(--inn-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.suggest-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--inn-navy);
    line-height: 1.3;
}

.suggest-meta {
    font-size: 0.72rem;
    color: var(--inn-muted);
    margin-top: 0.15rem;
}

.suggest-lang-badge {
    font-size: 0.65rem;
    padding: 0.12rem 0.4rem;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.3px;
}
.suggest-lang-en { background: #1e3a8a; color: #fff; }
.suggest-lang-ur { background: #065f46; color: #fff; font-family: 'Noto Nastaliq Urdu', serif; }
.suggest-lang-kl { background: #d97706; color: #fff; }

.suggest-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--inn-red);
    border-top: 2px solid var(--inn-border-light);
    background: #fafafa;
    text-decoration: none;
}
.suggest-all-link:hover {
    background: #ffffff;
    color: var(--inn-crimson);
}

/* Search Page Components */
.search-page-hero {
    background: linear-gradient(135deg, var(--inn-navy) 0%, #1e293b 100%);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.search-input-group .form-control:focus {
    box-shadow: none;
    border-color: #cbd5e1;
}

.search-card-lang-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
html[dir="rtl"] .search-card-lang-badge {
    left: auto;
    right: 8px;
}

.search-lang-pills .nav-link {
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--inn-ink);
    background: #f1f5f9;
    border: 1px solid var(--inn-border-light);
    transition: all 0.15s ease;
}
.search-lang-pills .nav-link:hover {
    background: #e2e8f0;
}
.search-lang-pills .nav-link.active {
    background: var(--inn-red);
    color: #ffffff;
    border-color: var(--inn-red);
}
.search-lang-pills .nav-link.active .badge {
    background: #ffffff !important;
    color: var(--inn-red) !important;
}

.search-section-strip {
    scrollbar-width: thin;
}
.search-section-pill {
    background: #f8fafc;
    color: #475569;
    border: 1px solid var(--inn-border);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    transition: all 0.15s ease;
}
.search-section-pill:hover {
    background: #e2e8f0;
    color: var(--inn-navy);
}
.search-section-pill.active {
    background: var(--inn-navy);
    color: #ffffff;
    border-color: var(--inn-navy);
}

/* ==========================================================================
   ABOUT US & CONTACT US EDITORIAL PAGES (V3.2)
   ========================================================================== */
.about-hero-banner,
.contact-hero-banner {
    background: linear-gradient(135deg, var(--inn-navy) 0%, #1e293b 100%);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.about-stats-strip .stat-pill {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-feature-box {
    background: #ffffff;
    border: 1px solid var(--inn-border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.about-feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.feature-box-icon {
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
}

.about-prose-card {
    line-height: 1.75;
}

.about-prose-card p {
    margin-bottom: 1.15rem;
}

.about-sidebar-card {
    border-color: var(--inn-border);
}

.about-sidebar-cta {
    background: linear-gradient(135deg, var(--inn-navy) 0%, color-mix(in srgb, var(--inn-navy) 75%, #000) 100%);
}

/* Team Showcase Card */
.inn-team-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inn-team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.team-img-wrap {
    height: 250px;
    overflow: hidden;
    background: #0f172a;
}

.inn-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.inn-team-card:hover .inn-team-img {
    transform: scale(1.05);
}

.inn-team-img-fallback {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
}

.team-edition-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: color-mix(in srgb, var(--inn-navy) 85%, transparent);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.4px;
}
html[dir="rtl"] .team-edition-badge {
    right: auto;
    left: 10px;
}

/* Contact Page Panels */
.contact-directory-panel {
    border-color: var(--inn-border);
}

.contact-bureau-block {
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.contact-bureau-block:hover {
    border-color: #cbd5e1;
    background-color: #ffffff !important;
}

.contact-form-panel {
    border-color: var(--inn-border);
}

.contact-card-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--inn-red);
}

.contact-styled-form .form-control {
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    font-size: 0.92rem;
    color: var(--inn-ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-styled-form .form-control:focus {
    border-color: var(--inn-navy);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--inn-navy) 10%, transparent);
}

.social-btn-sm {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991.98px) {
    .lead-hero-image-wrap {
        height: 280px;
    }
    .lead-editorial-title {
        font-size: 1.75rem;
    }
    .article-headline {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    .brand-name {
        font-size: 1.85rem;
    }
    .article-main-headline {
        font-size: 1.65rem;   /* phones: keep the story's first lines visible under the headline */
        line-height: 1.25;
    }
    html[dir="rtl"] .article-main-headline {
        line-height: 2;       /* Nastaliq needs taller lines */
    }
    .lead-editorial-title {
        font-size: 1.45rem;
    }
    .lead-hero-image-wrap {
        height: 220px;
    }
}


/* ── Pagination: « Previous 1 … 5 [6] 7 … 120 Next » ────────────────────── */
.pagination-modern {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 6px; margin: 2rem 0 1rem;
}
.pagination-modern .page-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px;
    border: 1px solid var(--inn-border); background: #fff; color: var(--inn-ink);
    font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s, border-color .15s;
}
.pagination-modern a.page-btn:hover { border-color: var(--inn-red); color: var(--inn-red); }
.pagination-modern .page-btn.current { background: var(--inn-red); border-color: var(--inn-red); color: #fff; }
.pagination-modern .page-gap { color: var(--inn-muted); padding: 0 2px; }
html[dir="rtl"] .pagination-modern .bi-chevron-left,
html[dir="rtl"] .pagination-modern .bi-chevron-right { transform: scaleX(-1); }
@media (max-width: 575.98px) {
    .pagination-modern .page-step-text { display: none; }   /* arrows only on phones */
    .pagination-modern .page-btn { min-width: 38px; height: 38px; padding: 0 8px; }
}

/* ── Ads & affiliates (Admin → Ad placements) ─────────────────────────────── */
.ad-slot { clear: both; margin: 1.5rem auto; text-align: center; max-width: 100%; overflow: hidden; }
.ad-slot .ad-label { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8f98; margin-bottom: .35rem; }
.ad-sidebar { margin-top: 0; }
.article-rich-body .ad-slot { margin: 2rem auto; }
.ad-amazon-card { display: flex; align-items: center; gap: 1rem; max-width: 520px; margin: 0 auto; padding: .85rem 1rem;
    border: 1px solid #e3e6ea; border-radius: 10px; background: #fff; text-align: start; text-decoration: none; color: inherit; }
.ad-amazon-card:hover { border-color: #f0a500; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.ad-amazon-card img { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; }
.ad-amazon-text { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.ad-amazon-title { font-weight: 600; line-height: 1.35; color: #1a1d21; }
.ad-amazon-button { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px;
    background: #ffd814; color: #0f1111; }
.footer-affiliate-note { color: rgba(255, 255, 255, .55); }

/* Team cards: optional details from Admin → Team members */
.inn-team-card .team-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .9rem; }
.inn-team-card .team-bio { line-height: 1.55; }
.inn-team-card .team-links a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    border-radius: 50%; background: var(--inn-bg-light, #f3f4f6); color: var(--inn-navy, #0b1329); text-decoration: none; }
.inn-team-card .team-links a:hover { background: var(--brand-red, #cc0000); color: #fff; }

/* Ticker items that open a story or link */
a.ticker-story-pill { text-decoration: none; }
a.ticker-story-pill:hover, a.ticker-story-pill:focus { color: var(--inn-red); text-decoration: underline; }
