/* ==========================================================================
   OURTIMES24 - ULTRA-PREMIUM MODERN EDITORIAL STYLESHEET (2026)
   100% Mobile Responsive + International Newsroom Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700;800;900&family=Hind+Siliguri:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* Editorial Crimson & Prestige Brand Palette */
    --primary: #c00612;          /* Royal News Crimson */
    --primary-dark: #8b0000;
    --primary-light: #fff1f2;
    --primary-border: #fecdd3;
    --accent: #eab308;
    
    /* Light Mode Palette - Pure Editorial Canvas */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-hover: #f1f5f9;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e5e7eb;
    --border-subtle: #f3f4f6;
    --border-dark: #d1d5db;

    --shadow-sm: none;
    --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -4px rgba(0, 0, 0, 0.07);
    --shadow-hover: none;

    --font-heading: 'Anek Bangla', sans-serif;
    --font-body: 'Hind Siliguri', sans-serif;
    --font-serif: 'Noto Serif Bengali', serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    
    --container-max: 1320px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Palette */
[data-theme="dark"] {
    --bg-body: #0a0e17;
    --bg-surface: #0f172a;
    --bg-card: #0f172a;
    --bg-subtle: #1e293b;
    --bg-hover: #1e293b;
    
    --text-main: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --border-color: #1e293b;
    --border-subtle: #162032;
    --border-dark: #334155;

    --primary-light: rgba(192, 6, 18, 0.15);
    --primary-border: rgba(192, 6, 18, 0.35);

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}

/* Reading Progress Bar */
#readingProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--primary) 0%, #ef4444 100%);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease;
}

/* ==========================================================================
   1. TOP UTILITY HEADER BAR
   ========================================================================== */
.top-utility-bar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.live-date i {
    color: var(--primary);
}

.utility-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.utility-location i {
    color: var(--primary);
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-utility-epaper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    font-size: 13px;
    transition: var(--transition);
}

.btn-utility-epaper:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.theme-toggle-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.social-pill-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-pill-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12.5px;
    transition: var(--transition);
}

.social-pill-link:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   2. MAIN BRAND HEADER
   ========================================================================== */
.main-brand-header {
    background: var(--bg-surface);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.brand-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-left-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-mobile-drawer {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px;
}

.brand-logo-wrap {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-bangla {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo-bangla span {
    color: var(--primary);
    position: relative;
}

.logo-bangla span::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: super;
}

.logo-tagline {
    font-family: var(--font-serif);
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-tagline-bar {
    width: 14px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
}

.brand-right-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    width: 220px;
    justify-content: space-between;
}

.search-trigger-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
    background: var(--bg-surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-trigger-btn kbd {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 11px;
    padding: 1px 5px;
    font-family: monospace;
}

.btn-photocard-quick {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #059669;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.btn-photocard-quick:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* ==========================================================================
   3. STICKY NAVBAR (CATEGORIES)
   ========================================================================== */
.main-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-surface);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.nav-container-sticky-row {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    min-width: 0;
}

.nav-menu-scrollable {
    display: flex;
    align-items: center;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
}

.nav-menu-scrollable::-webkit-scrollbar {
    display: none;
}

.nav-item {
    flex-shrink: 0;
}

.nav-link {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    transition: all 0.2s ease;
}

.nav-link-epaper {
    color: var(--primary) !important;
    font-weight: 800 !important;
}

.nav-link-epaper:hover {
    color: #990000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.2s ease;
    border-radius: 3px 3px 0 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 75%;
}

/* ==========================================================================
   4. BREAKING NEWS TICKER
   ========================================================================== */
.breaking-ticker {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    margin: 12px 0 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.ticker-badge {
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    animation: pulseRed 2.5s infinite;
}

@keyframes pulseRed {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeTicker 35s linear infinite;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

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

@keyframes marqueeTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-epaper-btn {
    background: #0f172a;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-decoration: none !important;
    transition: var(--transition);
    border: 1px solid #1e293b;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.ticker-epaper-btn i {
    color: #ef4444;
    font-size: 14px;
}

.ticker-epaper-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff !important;
}

.ticker-epaper-btn:hover i {
    color: #ffffff;
}

/* ==========================================================================
   5. HERO EDITORIAL SECTION (MAGAZINE ASYMMETRIC GRID)
   ========================================================================== */
.hero-news-section {
    margin-bottom: 36px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* Flat Hero Block - Seamless Editorial Canvas */
.flat-hero-block {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Main Lead Story */
.lead-story-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 26px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.lead-img-box {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    display: block;
}

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

.lead-story-row:hover .lead-img-box img {
    transform: scale(1.03);
}

.lead-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-tag-inline {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-tag-inline::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-main);
}

.lead-title a {
    color: inherit;
    transition: color 0.18s ease;
}

.lead-title a:hover {
    color: var(--primary);
}

.lead-excerpt {
    font-size: 15.5px;
    line-height: 1.68;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.lead-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* Sub-leads Grid (3 Stories side-by-side) */
.sublead-flat-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sublead-list-row {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    transition: var(--transition);
}

.sublead-list-row:hover {
    background: transparent;
    transform: none;
}

.sublead-row-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f1f5f9;
    position: relative;
}

.sublead-row-img .category-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.sublead-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sublead-list-row:hover .sublead-row-img img {
    transform: scale(1.04);
}

.sublead-row-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 6px;
    transition: color 0.18s ease;
}

.sublead-list-row:hover .sublead-row-title {
    color: var(--primary);
}

.sublead-row-excerpt {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   6. SIDEBAR TABS (LATEST & MOST READ WITH RANK BADGES)
   ========================================================================== */
.flat-sidebar-block {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 0 28px;
    box-shadow: none;
    border-left: 1px solid var(--border-color);
}

.sidebar-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 16px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.ranked-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranked-item {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
}

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

.ranked-item-link {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.rank-thumb-wrapper {
    position: relative;
    aspect-ratio: 16 / 11;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #e2e8f0;
}

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

.ranked-item-link:hover .rank-thumb-wrapper img {
    transform: scale(1.08);
}

.rank-badge-overlay {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 900;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.rank-badge-overlay.rank-fire {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.rank-content {
    display: flex;
    flex-direction: column;
}

.rank-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.ranked-item-link:hover .rank-title {
    color: var(--primary);
}

.rank-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   7. SECTION HEADERS WITH CRIMSON ACCENT PILL
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4.5px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
}

.section-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.section-link:hover {
    transform: translateX(3px);
}

/* ==========================================================================
   8. SARADESH (DISTRICT NEWS) INTERACTIVE HUB
   ========================================================================== */
.saradesh-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 40px 0;
    box-shadow: none;
}

.division-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
    scrollbar-width: none;
}

.division-filter-bar::-webkit-scrollbar {
    display: none;
}

.div-chip {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.div-chip:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.div-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.saradesh-split-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
    align-items: start;
}

.saradesh-left-lead {
    display: flex;
    flex-direction: column;
}

.saradesh-left-img-box {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    background: #e2e8f0;
    display: block;
}

.saradesh-left-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.saradesh-left-lead:hover .saradesh-left-img-box img {
    transform: scale(1.04);
}

.saradesh-left-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-main);
}

.saradesh-left-title a {
    color: inherit;
    transition: color 0.15s ease;
}

.saradesh-left-title a:hover {
    color: var(--primary);
}

.saradesh-left-excerpt {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.saradesh-left-meta {
    font-size: 12.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.saradesh-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==========================================================================
   9. STANDARD NEWS CARDS & GRIDS (4-COLUMN & 2-COLUMN)
   ========================================================================== */
.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.news-card-std {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: none;
}

.news-card-std:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.news-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f5f9;
    display: block;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.category-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.news-card-body {
    padding: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.42;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a {
    color: inherit;
    transition: color 0.18s ease;
}

.news-card-std:hover .news-card-title a {
    color: var(--primary);
}

.news-card-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   10. MULTIMEDIA & VIDEO THEATER (PRESTIGE DARK MODE)
   ========================================================================== */
.multimedia-section {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    margin: 40px 0;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.multimedia-section .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.multimedia-section .section-title {
    color: #ffffff;
}

.multimedia-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.video-card-main {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    background: #1e293b;
}

.video-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.video-card-main:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

.play-icon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(192, 6, 18, 0.9);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.video-card-main:hover .play-icon-badge {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 14px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
}

/* ==========================================================================
   11. PROMO BANNER (PHOTO CARD STUDIO & E-PAPER)
   ========================================================================== */
.photocard-promo-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin: 36px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.photocard-promo-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.photocard-promo-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.photocard-promo-card p {
    font-size: 14.5px;
    opacity: 0.92;
    margin-bottom: 18px;
    max-width: 580px;
}

.btn-promo-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #065f46 !important;
    font-weight: 800;
    font-size: 14.5px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-promo-action:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.promo-visual img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

/* ==========================================================================
   12. MOBILE APP BOTTOM NAVIGATION BAR (FIXED ON PHONES)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    gap: 3px;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 18px;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--primary);
}

.bottom-nav-item span {
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

@media (max-width: 360px) {
    .bottom-nav-item span {
        font-size: 10px;
    }
}

/* ==========================================================================
   13. INSTANT LIVE SEARCH MODAL
   ========================================================================== */
.search-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px 20px;
}

.search-modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 680px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-subtle);
    gap: 12px;
}

.search-input-wrapper i {
    color: var(--primary);
    font-size: 20px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
}

.search-close-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-muted);
}

.search-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.search-results-list {
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-subtle);
}

.search-result-item:hover {
    background: var(--bg-hover);
}

.search-result-thumb {
    width: 65px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-result-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.search-result-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    gap: 8px;
}

/* ==========================================================================
   14. OFFCANVAS DRAWER MENU
   ========================================================================== */
.offcanvas-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99990;
}

.offcanvas-backdrop.active {
    display: block;
}

.offcanvas-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: var(--bg-card);
    z-index: 99995;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.offcanvas-drawer.active {
    left: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.drawer-nav-link:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.main-footer {
    background: #090d16;
    color: #cbd5e1;
    border-top: 3px solid var(--primary);
    padding: 48px 0 24px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    margin-bottom: 36px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-brand h2 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-latest-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

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

.footer-latest-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-latest-link:hover {
    color: #ffffff;
}

.footer-latest-link:hover .footer-latest-title {
    color: #fca5a5;
}

.footer-latest-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.footer-latest-badge {
    color: #ffffff;
    background: rgba(192, 6, 18, 0.7);
    padding: 1px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}

.footer-latest-time {
    color: #94a3b8;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-latest-title {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #f1f5f9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.footer-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fca5a5;
    transition: transform 0.2s ease;
}

.footer-view-all-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 14.5px;
    transition: color 0.15s ease;
}

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

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text strong {
    color: #f1f5f9;
}

.footer-contact-text a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
}

/* ==========================================================================
   16. MOBILE VIEW OPTIMIZATIONS (PHONE VIEW MEDIA QUERIES <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-bottom: 0 !important;
    }

    .container {
        padding: 0 12px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .main-nav-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .top-utility-bar {
        display: none; /* Clean uncluttered mobile header */
    }

    /* 1. User Preference: Hide Hamburger & Search Buttons on Phone Header */
    .btn-mobile-drawer {
        display: none !important;
    }

    .brand-right-actions {
        display: none !important;
    }

    .search-trigger-btn {
        display: none !important;
    }

    .btn-photocard-quick {
        display: none;
    }

    /* 2. User Preference: Remove Mobile Bottom Nav */
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    /* 3. User Preference: Logo in the Middle on Phones */
    .brand-header-grid {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 12px 0 !important;
    }

    .brand-left-block {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .brand-logo-wrap {
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    .logo-bangla {
        font-size: 26px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .logo-tagline {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        font-size: 11.5px !important;
        color: var(--text-muted) !important;
        margin-top: 3px !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }

    .logo-tagline-bar {
        width: 12px !important;
        height: 2px !important;
    }

    .mobile-header-epaper-btn {
        display: none !important;
    }

    /* Compact Categories on Phones (User Request: ektu chapaia dew) */
    .nav-link {
        padding: 8px 8px !important;
        font-size: 13.5px !important;
        white-space: nowrap !important;
    }

    /* Ticker on Phones */
    .ticker-inner {
        gap: 6px !important;
    }

    .ticker-badge {
        font-size: 11.5px !important;
        padding: 4px 8px !important;
        gap: 4px !important;
    }

    .ticker-epaper-btn {
        font-size: 11.5px !important;
        padding: 4px 8px !important;
        gap: 4px !important;
    }

    .ticker-epaper-btn i {
        font-size: 12px !important;
    }

    /* Hero & Article Grid on Phones */
    .hero-grid,
    .article-grid,
    .category-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
        overflow-x: hidden;
    }

    .article-editorial-sheet {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .article-headline {
        font-size: 24px !important;
        line-height: 1.34 !important;
        margin-bottom: 12px !important;
        word-break: break-word;
    }

    .article-subtitle {
        font-size: 15.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
    }

    .article-meta-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        margin-bottom: 16px !important;
    }

    .article-actions-bar {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .article-actions-bar .tool-btn {
        padding: 6px 10px !important;
        font-size: 12.5px !important;
    }

    .article-body-content {
        font-size: 17px !important;
        line-height: 1.8 !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .article-body-content img,
    .article-body-content figure,
    .article-body-content iframe,
    .article-feature-image-box img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Flat Sidebar on Phones - drops cleanly underneath the article */
    .flat-sidebar-block {
        border-left: none !important;
        padding-left: 0 !important;
        margin-top: 28px !important;
        border-top: 2px solid var(--border-color) !important;
        padding-top: 24px !important;
        position: static !important;
        width: 100% !important;
    }

    .flat-hero-block {
        padding: 14px;
    }

    .lead-story-row {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .lead-title {
        font-size: 21px;
        line-height: 1.35;
    }

    .sublead-flat-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sublead-list-row {
        display: grid;
        grid-template-columns: 95px 1fr;
        gap: 12px;
        padding: 6px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .sublead-row-img {
        margin-bottom: 0;
        aspect-ratio: 16 / 11;
    }

    .sublead-row-title {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .sublead-row-excerpt {
        display: none; /* compact card on phone */
    }

    /* Saradesh on Phones */
    .saradesh-wrapper {
        padding: 14px;
    }

    .saradesh-split-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .saradesh-left-title {
        font-size: 18px;
    }

    .saradesh-right-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Standard Cards on Phones (Compact touch-friendly row) */
    .news-grid-4, .news-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-card-std {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 12px;
        border-radius: var(--radius-sm);
    }

    .news-card-img {
        aspect-ratio: 16 / 11;
    }

    /* Phone View: Remove category badge from top of images */
    .category-tag {
        display: none !important;
    }

    .news-card-body {
        padding: 8px 10px 8px 0;
        justify-content: center;
    }

    .news-card-title {
        font-size: 14.5px;
        line-height: 1.35;
    }

    /* Multimedia on Phones */
    .multimedia-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .photocard-promo-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .promo-visual {
        display: none;
    }

    /* Footer on Phones */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* Mobile Bottom Bar disabled */
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ==========================================================================
   17. TABLET OPTIMIZATIONS (769px to 1024px)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .sublead-flat-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   18. ARTICLE DETAILS PAGE STYLING
   ========================================================================== */
.article-editorial-sheet {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.article-header-wrap {
    margin: 12px 0 16px;
}

.article-category-badge {
    background: var(--primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.article-headline {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.28;
    color: var(--text-main);
    margin-bottom: 14px;
}

.article-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
    font-weight: 500;
}

.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.article-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.tool-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.article-feature-image-box {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.article-feature-image-box img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.article-caption {
    font-size: 13.5px;
    color: var(--text-muted);
    padding: 10px 14px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-subtle);
}

.article-body-content {
    font-family: var(--font-body);
    font-size: 18.5px;
    line-height: 1.88;
    color: var(--text-main);
    word-break: break-word;
}

.article-body-content p {
    margin-bottom: 22px;
}

.article-body-content blockquote {
    margin: 24px 0;
    padding: 14px 20px;
    border-left: 4px solid var(--primary);
    background: var(--bg-subtle);
    font-size: 19px;
    font-style: italic;
    color: var(--text-main);
    border-radius: 0 6px 6px 0;
}

.article-body-content strong {
    color: var(--text-main);
    font-weight: 700;
}

/* ==========================================================================
   19. ADMIN PANEL & MODALS
   ========================================================================== */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 24px;
}

.admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: fit-content;
}

.admin-nav-item {
    padding: 12px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    transition: var(--transition);
}

.admin-nav-item:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

.admin-nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    border-left: 4px solid var(--primary);
}

.control-group {
    margin-bottom: 18px;
}

.control-label {
    display: block;
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 7px;
    color: var(--text-main);
}

.control-input, .control-select, .control-textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-surface);
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.control-input:focus, .control-select:focus, .control-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(192, 6, 18, 0.12);
}

.image-upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
}

.image-upload-zone:hover, .image-upload-zone.dragover {
    border-color: var(--primary);
    background: #fff5f5;
}

/* ==========================================================================
   20. ADMIN NEWSROOM DASHBOARD (RESPONSIVE & TOUCH-OPTIMIZED)
   ========================================================================== */
.admin-top-navbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.admin-brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.admin-brand-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge-portal {
    font-size: 11px;
    background: rgba(192, 6, 18, 0.1);
    color: var(--primary);
    border: 1px solid rgba(192, 6, 18, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    font-family: var(--font-body);
}

.admin-brand-tagline {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-subtle);
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.admin-user-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid var(--primary-border);
    overflow: hidden;
    flex-shrink: 0;
}

.admin-user-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
}

.admin-user-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.admin-user-role-label {
    font-size: 10.5px;
    color: #ffffff;
    background: var(--primary);
    padding: 1px 7px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    margin-top: 2px;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.admin-action-btn.btn-visit-site {
    background: var(--bg-surface);
    color: var(--primary);
    border-color: var(--primary-border);
}

.admin-action-btn.btn-visit-site:hover {
    background: var(--primary);
    color: #ffffff;
}

.admin-action-btn.btn-theme-toggle {
    background: var(--bg-subtle);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.admin-action-btn.btn-theme-toggle:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.admin-action-btn.btn-admin-logout {
    background: #ef4444;
    color: #ffffff;
    border-color: #dc2626;
}

.admin-action-btn.btn-admin-logout:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .admin-navbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .admin-header-actions {
        justify-content: space-between;
        width: 100%;
    }
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.admin-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    position: sticky;
    top: 75px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.admin-nav-item {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.admin-nav-item:hover {
    background: var(--bg-hover);
    color: var(--primary);
}

.admin-nav-item.active {
    background: rgba(192, 6, 18, 0.08);
    color: var(--primary);
    border-color: rgba(192, 6, 18, 0.2);
}

.admin-nav-photocard {
    color: #059669 !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    margin-top: 10px;
}

[data-theme="dark"] .admin-nav-photocard {
    background: rgba(5, 150, 105, 0.15) !important;
    border-color: rgba(5, 150, 105, 0.3) !important;
    color: #34d399 !important;
}

.admin-content-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Admin Form Responsive Grid */
.admin-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.admin-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Toggle Option Tiles */
.admin-toggle-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.admin-toggle-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 14.5px;
    transition: var(--transition);
}

.admin-toggle-tile:hover {
    border-color: var(--primary);
}

.admin-toggle-tile input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Live Search & Filter Bar */
.admin-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-search-box {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.admin-search-box input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-surface);
    color: var(--text-main);
    outline: none;
}

.admin-search-box input:focus {
    border-color: var(--primary);
}

.admin-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.admin-cat-filter {
    width: 160px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--bg-surface);
    color: var(--text-main);
}

/* Admin News Cards for Mobile */
.admin-news-card-mobile {
    display: none;
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.admin-page-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.admin-page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.admin-page-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.admin-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Admin Breaking News Manager */
.admin-breaking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface-alt);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    gap: 14px;
    transition: var(--transition);
}

.admin-breaking-item:hover {
    border-color: var(--border-hover);
}

.admin-breaking-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.admin-breaking-thumb {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.admin-breaking-text {
    min-width: 0;
    line-height: 1.35;
}

.admin-breaking-cat {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-right: 6px;
}

.admin-breaking-title {
    font-size: 14.5px;
    color: var(--text-main);
    font-weight: 600;
}

.admin-breaking-toggle {
    cursor: pointer;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    user-select: none;
    transition: var(--transition);
}

.admin-breaking-toggle:hover {
    background: var(--primary-bg-light);
}

/* Mobile Media Queries for Admin */
@media (max-width: 768px) {
    .admin-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 14px;
    }

    .admin-sidebar {
        position: static;
        padding: 8px;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: var(--radius-md);
    }

    .admin-sidebar::-webkit-scrollbar {
        display: none;
    }

    .admin-sidebar > div:first-child {
        display: none; /* Hide 'মেনু নেভিগেশন' label on mobile */
    }

    .admin-nav-item {
        flex-shrink: 0;
        padding: 9px 14px;
        font-size: 13.5px;
        margin-bottom: 0;
        border-radius: 50px;
        background: var(--bg-surface-alt);
    }

    .admin-nav-item.active {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

    .admin-nav-item.active i {
        color: #ffffff !important;
    }

    .admin-nav-photocard {
        margin-top: 0;
    }

    .admin-content-card {
        padding: 16px;
    }

    .admin-form-row-3, .admin-form-row-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-toggle-tiles {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-table-desktop {
        display: none;
    }

    .admin-news-card-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-news-item {
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .mobile-news-top {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .mobile-news-thumb {
        width: 75px;
        height: 55px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
        border: 1px solid var(--border-color);
    }

    .mobile-news-info {
        flex: 1;
        min-width: 0;
    }

    .mobile-news-title {
        font-size: 14.5px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--text-main);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-decoration: none;
    }

    .mobile-news-meta {
        font-size: 12px;
        color: var(--text-muted);
        margin-top: 4px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .mobile-news-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        border-top: 1px solid var(--border-subtle);
        padding-top: 8px;
    }

    .mobile-action-btn {
        padding: 8px;
        border-radius: 4px;
        border: 1px solid var(--border-color);
        background: var(--bg-surface-alt);
        color: var(--text-main);
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-action-btn.btn-edit {
        color: var(--primary);
    }

    .mobile-action-btn.btn-photo {
        color: #059669;
    }

    .mobile-action-btn.btn-del {
        color: #dc2626;
    }

    .admin-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-cat-filter {
        width: 100%;
    }

    .admin-breaking-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .admin-breaking-toggle {
        justify-content: center;
        width: 100%;
        padding: 9px;
    }
}

/* ==========================================================================
   21. SOCIAL PHOTO CARD STUDIO (FULL RESPONSIVE WEB + PHONE)
   ========================================================================== */
.photocard-studio {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 32px;
    align-items: start;
    margin: 24px 0 40px;
}

.studio-canvas-panel {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.canvas-wrapper {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.35);
    border: 2px solid var(--border-color);
    background: #0a0f1d;
    position: relative;
    margin: 0 auto;
}

#photoCardCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
    touch-action: none;
    cursor: grab;
    user-select: none;
}

#photoCardCanvas:active {
    cursor: grabbing;
}

.card-actions-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    margin-top: 16px;
    justify-content: center;
}

.btn-download-card {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #991b1b 100%);
    color: #ffffff !important;
    border: none;
    padding: 13px 20px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(192, 6, 18, 0.3);
    transition: var(--transition);
}

.btn-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 6, 18, 0.45);
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.tool-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.studio-controls-panel {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.template-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.template-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: var(--bg-surface-alt);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    user-select: none;
}

.template-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.template-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(192, 6, 18, 0.2);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-input, .control-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.control-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.45;
    outline: none;
    resize: vertical;
    transition: var(--transition);
}

.control-input:focus, .control-select:focus, .control-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(192, 6, 18, 0.12);
}

.slider-control-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-surface-alt);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.slider-control-row input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
    cursor: pointer;
}

.slider-badge {
    font-weight: 800;
    font-size: 13px;
    color: var(--primary);
    min-width: 48px;
    text-align: right;
}

.photocard-toggles {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    background: var(--bg-surface-alt);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.photocard-toggle-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
}

.photocard-toggle-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.photocard-hint-box {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    background: var(--bg-surface-alt);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border-color);
}

.photocard-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Photocard Mobile Media Queries */
@media (max-width: 900px) {
    .photocard-studio {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 16px 0 30px;
    }

    .studio-canvas-panel {
        position: static;
        padding: 14px;
        width: 100%;
    }

    .canvas-wrapper {
        max-width: 100%;
    }

    .card-actions-row {
        max-width: 100%;
    }

    .studio-controls-panel {
        padding: 16px;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .template-picker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .template-card {
        padding: 10px 8px;
    }

    .photocard-form-row-2 {
        grid-template-columns: 1fr;
    }

    .btn-download-card {
        font-size: 14px;
        padding: 12px 14px;
    }
}

/* ==========================================================================
   22. USER & REPORTER MANAGEMENT STYLES
   ========================================================================== */
.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.user-stat-card {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-stat-icon.admin { background: #fee2e2; color: #dc2626; }
.user-stat-icon.editor { background: #dbeafe; color: #2563eb; }
.user-stat-icon.reporter { background: #dcfce7; color: #16a34a; }

.user-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
}

.user-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

.user-role-badge.admin { background: #fee2e2; color: #991b1b; }
.user-role-badge.subeditor { background: #dbeafe; color: #1e40af; }
.user-role-badge.reporter { background: #dcfce7; color: #166534; }
.user-role-badge.correspondent { background: #fef3c7; color: #92400e; }

.user-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
}

.user-status-pill.active { background: #dcfce7; color: #15803d; }
.user-status-pill.inactive { background: #fee2e2; color: #b91c1c; }

/* Desktop User Table */
.user-table-desktop {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.user-table-desktop th {
    background: var(--bg-surface-alt);
    padding: 12px 14px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
}

.user-table-desktop td {
    padding: 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-main);
    vertical-align: middle;
}

.user-table-desktop tr:hover td {
    background: var(--bg-surface-alt);
}

/* Mobile User Cards */
.user-card-mobile {
    display: none;
}

.user-item-mobile {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

.user-mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* User Modal Overlay */
.user-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.user-modal-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .user-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .user-table-desktop {
        display: none;
    }
    .user-card-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   SMART AD BANNER SLOTS (ZERO BLANK SPACE ARCHITECTURE)
   ========================================================================== */
.site-ad-wrapper {
    display: none;
    width: 100%;
    margin: 18px auto;
    text-align: center;
    position: relative;
    clear: both;
}

.site-ad-container {
    display: inline-block;
    max-width: 100%;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.site-ad-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 5px;
    text-align: center;
}

.site-ad-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin: 0 auto;
    display: block;
}

.site-ad-img:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Header Leaderboard (728x90 / 320x50) */
.header-ad-slot {
    margin: 14px auto 8px auto;
}

/* Homepage Middle Super Banner (970x90 or 728x90) */
.homepage-middle-ad-slot {
    margin: 28px auto;
    padding: 14px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

/* Sidebar Medium Rectangle (300x250) */
.sidebar-ad-slot {
    margin: 18px 0;
    width: 100%;
    text-align: center;
}

.sidebar-ad-slot .site-ad-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

/* In-Article Content Banner (728x90 / 300x250) */
.in-article-ad-slot {
    margin: 24px auto;
    padding: 16px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    text-align: center;
}

/* ==========================================================================
   ADMIN AD MANAGER STYLES
   ========================================================================== */
.admin-ad-slots-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-ad-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.admin-ad-card:hover {
    border-color: var(--primary-border);
}

.admin-ad-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.admin-ad-card-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ad-size-badge {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-family: monospace;
}

.ad-toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    background: var(--bg-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
}

.ad-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.ad-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.ad-type-tab-btn {
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition);
}

.ad-type-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.ad-preview-box {
    background: var(--bg-subtle);
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    margin-top: 14px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ad-preview-box img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* In-Article Embedded Images & Figures */
.in-article-image-box {
    box-sizing: border-box;
    display: block;
    clear: both;
}
.in-article-image-box img {
    max-width: 100%;
    height: auto;
    display: block;
}
.in-article-image-box figcaption {
    line-height: 1.5;
}
@media (max-width: 640px) {
    .in-article-image-box {
        float: none !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
    }
}

/* ==========================================
   PREMIUM NOTIFICATION & TOAST SYSTEM
   ========================================== */
.admin-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.admin-toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.25s ease;
    overflow: hidden;
    position: relative;
}

.admin-toast-item.removing {
    animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-12px) scale(0.95);
    }
}

.admin-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.admin-toast-item.toast-success .admin-toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.admin-toast-item.toast-error .admin-toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-toast-item.toast-warning .admin-toast-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.admin-toast-item.toast-info .admin-toast-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.admin-toast-content {
    flex: 1;
    min-width: 0;
}

.admin-toast-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-toast-message {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.admin-toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.admin-toast-close:hover {
    color: var(--text-main);
    background: var(--bg-surface);
}

/* News Publish Success Modal */
.publish-success-card {
    text-align: center;
    padding: 14px 6px;
}

.publish-success-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 18px;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(16, 185, 129, 0);
    }
}

/* ==========================================================================
   20. MOBILE HEADER E-PAPER BUTTON
   ========================================================================== */
.mobile-header-epaper-btn {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 6px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.mobile-header-epaper-btn i {
    color: var(--primary);
    font-size: 16px;
}

.mobile-header-epaper-btn:hover {
    color: #990000;
    text-decoration: underline;
}

/* ==========================================================================
   21. DIGITAL E-PAPER SYSTEM (DESKTOP & MOBILE RESPONSIVE)
   ========================================================================== */
.top-header-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-brand-logo {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.top-logo-bn {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-main);
}

.top-logo-bn span {
    color: var(--primary);
}

.top-logo-tagline-bottom {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.top-epaper-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 6px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.top-epaper-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* E-Paper Interactive Toolbar */
.epaper-toolbar {
    background: #0f172a;
    color: #ffffff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.epaper-toolbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (min-width: 769px) {
    .epaper-tool-row-top,
    .epaper-tool-row-bottom {
        display: contents;
    }
}

.epaper-toolbar label {
    color: #cbd5e1;
}

.epaper-toolbar .control-input,
.epaper-toolbar .control-select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
    border-radius: 4px;
}

.epaper-toolbar .tool-btn {
    background: #1e293b;
    border: 1px solid #334155;
    color: #ffffff;
}

.epaper-toolbar .tool-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Newspaper Canvas & Sheet */
.epaper-viewer-wrapper {
    background: #1e293b;
    padding: 28px 12px 60px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: auto;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

.newspaper-sheet {
    background: #fdfdfa;
    color: #111827;
    width: 100%;
    max-width: 980px;
    min-height: 1200px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
    border: 1px solid #d4d4d8;
    border-radius: 2px;
    padding: 28px 32px;
    position: relative;
    transform-origin: top center;
    transition: transform 0.2s ease;
    box-sizing: border-box;
    outline: 1px solid #e4e4e7;
    outline-offset: -6px;
}

.epaper-masthead {
    border-top: 2px solid #111827;
    border-bottom: 3px double #111827;
    padding: 14px 0 10px;
    margin-bottom: 12px;
    text-align: center;
}

.epaper-brand-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.epaper-masthead-logo {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
    letter-spacing: -0.5px;
}

.epaper-masthead-logo span {
    color: var(--primary);
}

.epaper-masthead-tagline {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: #4b5563;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.epaper-folio-bar {
    border-bottom: 2px solid #111827;
    padding-bottom: 5px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 800;
    color: #b91c1c;
}

.epaper-folio-bar .folio-edition {
    color: #111827;
    font-weight: 700;
}

.epaper-page-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr;
    gap: 20px;
}

.epaper-lead-block {
    border-right: 1px solid #d4d4d8;
    padding-right: 18px;
}

.epaper-side-col-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.epaper-side-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}

.epaper-split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 20px;
}

.epaper-split-grid.editorial {
    grid-template-columns: 2fr 1.2fr;
}

.epaper-split-side {
    border-left: 1px solid #d4d4d8;
    padding-left: 16px;
}

.epaper-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid #111827;
    padding-top: 14px;
    margin-top: 18px;
}

.epaper-cards-grid .epaper-story-block {
    border-right: 1px solid #e5e7eb;
    padding: 0 12px;
}

.epaper-cards-grid .epaper-story-block:last-child {
    border-right: none;
}

.epaper-story-block {
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease;
    background: transparent;
}

.epaper-story-block:hover {
    background: rgba(192, 6, 18, 0.04);
}

.epaper-kicker {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    display: inline-block;
}

.epaper-story-headline {
    color: #111827;
    line-height: 1.32;
    margin-bottom: 6px;
}

.epaper-lead-head {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
}

.epaper-sub-head {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.32;
}

.epaper-col-head {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.32;
}

.epaper-photo-frame {
    margin-bottom: 8px;
}

.epaper-photo-frame img {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    display: block;
}

.epaper-caption {
    font-size: 11px;
    color: #64748b;
    font-style: italic;
    padding-top: 3px;
    display: block;
    border-bottom: 1px solid #f1f5f9;
}

.epaper-story-body {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.68;
    color: #262626;
    text-align: justify;
    text-justify: inter-word;
}

.epaper-dateline {
    font-weight: 800;
    color: #111827;
}

/* Thumbnail Drawer */
.epaper-thumbnail-drawer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 14px 0;
    position: sticky;
    bottom: 0;
    z-index: 90;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.06);
}

.thumbnail-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.page-thumb-card {
    border: 1px solid var(--border-color);
    background: #f8fafc;
    padding: 6px 10px;
    min-width: 110px;
    text-align: center;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 6px;
    transition: var(--transition);
}

.page-thumb-card.active, .page-thumb-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.thumb-preview-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #64748b;
}

/* News Clipping Modal */
.clipping-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
}

.clipping-modal.active {
    display: flex;
}

.clipping-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.clipping-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

.clipping-body {
    padding: 20px;
}

.clipping-preview-frame {
    background: #ffffff;
    border: 2px solid #111827;
    padding: 20px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}

/* Responsive E-Paper on Phones */
@media (max-width: 768px) {
    /* E-Paper Top Header on Phones */
    .top-header-bar {
        padding: 8px 0;
    }

    .top-header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .top-brand-logo .top-logo-bn {
        font-size: 22px !important;
    }

    .top-logo-tagline-bottom {
        font-size: 10.5px !important;
    }

    .top-epaper-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    /* E-Paper Toolbar on Phones: Sleek 2-Row Compact Bar */
    .epaper-toolbar {
        position: sticky;
        top: 0;
        z-index: 100;
        padding: 8px 0;
    }

    .epaper-toolbar .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0 10px;
    }

    .epaper-tool-row-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .epaper-tool-row-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .epaper-toolbar .tool-zoom-btn,
    .d-none-mobile {
        display: none !important; /* Hide desktop zoom buttons and desktop text on touch mobile */
    }

    .epaper-toolbar .tool-btn {
        padding: 5px 8px;
        font-size: 12px;
        border-radius: 4px;
        white-space: nowrap;
    }

    .epaper-toolbar .control-input,
    .epaper-toolbar .control-select {
        padding: 4px 6px;
        font-size: 12px;
        max-width: 125px;
    }

    /* E-Paper Viewer & Sheet: Realistic Newsprint on Phones */
    .epaper-viewer-wrapper {
        background: #e2e8f0 !important;
        padding: 8px 4px 24px !important;
        min-height: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .newspaper-sheet {
        padding: 12px 10px !important;
        min-height: auto !important;
        border-radius: 2px !important;
        border: 1px solid #d4d4d8 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        outline-offset: -3px !important;
    }

    /* Authentic Masthead on Mobile */
    .epaper-masthead {
        border-top: 2px solid #111827 !important;
        border-bottom: 3px double #111827 !important;
        padding: 10px 0 8px !important;
        margin-bottom: 10px !important;
    }

    .epaper-masthead-logo {
        font-size: 29px !important;
    }

    .epaper-masthead-tagline {
        font-size: 11.5px !important;
        margin-top: 2px !important;
    }

    .epaper-folio-bar {
        font-size: 11.5px !important;
        padding-bottom: 4px !important;
        margin-bottom: 10px !important;
    }

    /* Authentic Newspaper Grid Layout on Phones */
    .epaper-page-grid {
        display: block !important;
    }

    .epaper-lead-block {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 2px solid #111827 !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }

    .epaper-lead-head {
        font-size: 20px !important;
        line-height: 1.34 !important;
    }

    .epaper-photo-frame img {
        height: 190px !important;
        object-fit: cover !important;
    }

    /* Side stories in 2 columns with vertical dividing hairline rule on mobile */
    .epaper-side-col-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        border-bottom: 2px solid #111827 !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }

    .epaper-side-col-wrap > div:first-child {
        border-right: 1px solid #d4d4d8 !important;
        padding-right: 10px !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* Split grids (Pages 2, 3, 4, 5) on mobile */
    .epaper-split-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        border-bottom: 2px solid #111827 !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
    }

    .epaper-split-grid > div:first-child {
        border-right: 1px solid #d4d4d8 !important;
        padding-right: 10px !important;
    }

    .epaper-split-side {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: none !important;
        padding-top: 0 !important;
    }

    /* Multi-story Cards in 2x2 grid on mobile with vertical divider */
    .epaper-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .epaper-cards-grid .epaper-story-block {
        border-right: none !important;
        padding: 0 !important;
        border-bottom: 1px solid #e5e7eb !important;
        padding-bottom: 10px !important;
    }

    .epaper-cards-grid .epaper-story-block:nth-child(odd) {
        border-right: 1px solid #d4d4d8 !important;
        padding-right: 10px !important;
    }

    .epaper-sub-head {
        font-size: 14.5px !important;
        line-height: 1.3 !important;
    }

    .epaper-col-head {
        font-size: 13.5px !important;
        line-height: 1.3 !important;
    }

    .epaper-story-body {
        font-size: 12px !important;
        line-height: 1.55 !important;
        text-align: justify !important;
    }

    /* E-Paper Thumbnail Drawer on Phones: STATIC (does not block content) */
    .epaper-thumbnail-drawer {
        position: static !important;
        border-top: 2px solid #e2e8f0 !important;
        box-shadow: none !important;
        padding: 14px 10px !important;
    }

    .thumbnail-slider {
        gap: 8px;
    }

    .page-thumb-card {
        min-width: 90px;
        padding: 4px 6px;
    }

    .thumb-preview-box {
        font-size: 16px;
    }

    /* News Clipping Modal on Mobile */
    .clipping-modal {
        padding: 8px !important;
    }

    .clipping-modal-content {
        max-height: 94vh !important;
        border-radius: 6px !important;
        width: 100% !important;
    }

    .clipping-body {
        padding: 12px 10px !important;
    }

    .clipping-preview-frame {
        padding: 12px 10px !important;
    }

    .clipping-preview-frame h2 {
        font-size: 18px !important;
    }

    .clipping-action-tools {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
}


