/**
 * Modara Pro Modern News Agency CSS
 * 100% Self-Hosted & Internal Assets (Zero External Font or CDN Requests)
 */

/* ============================================================
   1. Self-Hosted Fonts (Vazirmatn & IRANSansX)
   ============================================================ */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX-Medium.woff2') format('woff2'),
         url('../fonts/IRANSansX-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-900: #010527;
    --navy-800: #010736;
    --navy-700: #0D1C42;
    --navy-600: #22396F;
    --primary: #010736;
    --primary-hover: #0D1C42;
    --primary-accent: #22396F;
    --primary-soft: rgba(1, 7, 54, 0.06);
    --accent-red: #c0392b;
    --accent-red-hover: #a93226;
    --gold: #d4af37;
    --cream: #FCF1D0;
    --cream-soft: rgba(252, 241, 208, 0.15);
    --cream-border: rgba(252, 241, 208, 0.28);
    --navy: #010736;
    --navy-dark: #010527;
    --navy-light: #22396F;
    --bg: #f4f6f8;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text-main: #111827;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --radius-lg: 12px;
    --radius: 8px;
    --radius-sm: 6px;
    --radius-xs: 4px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px -2px rgba(12, 53, 85, 0.08);
    --shadow-hover: 0 10px 24px -4px rgba(12, 53, 85, 0.14);
    --font-main: 'Vazirmatn', 'IRANSansX', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Tahoma, sans-serif;
    --container-max: 1280px;
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}
html, body {
    font-family: var(--font-main) !important;
}
body {
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
body, button, input, textarea, select, h1, h2, h3, h4, h5, h6, p, a, span, div, li, strong, b, time {
    font-family: var(--font-main);
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--primary); }
img, picture, video, canvas, svg { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; }

.modara-layout-grid,
.modara-content-area,
.modara-sidebar-area,
.modara-article-box {
    min-width: 0;
}

.modara-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 1. Top Bar */
.modara-topbar {
    background-color: var(--navy-900);
    color: #e2e8f0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(252, 241, 208, 0.12);
}
.modara-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 15px;
}
.modara-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}
.modara-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #cbd5e1;
}
.modara-sep { opacity: 0.4; }
.modara-trends-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.trends-label { color: #94a3b8; font-weight: 500; }
.trend-pill {
    color: var(--cream);
    background: rgba(34, 57, 111, 0.5);
    border: 1px solid rgba(252, 241, 208, 0.18);
    padding: 2px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    transition: all 0.2s;
}
.trend-pill:hover { background: var(--navy-700); color: #fff; border-color: var(--cream); }
.modara-topbar-left { display: flex; align-items: center; gap: 15px; }
.modara-socials { display: flex; align-items: center; gap: 12px; }
.social-icon { color: #94a3b8; display: inline-flex; transition: color 0.2s; }
.social-icon:hover { color: var(--cream); }

/* 2. Unified Header & Navigation Bar (Sticky - IRNA Style) */
.modara-nav-sticky {
    background: #010736;
    border-bottom: 2px solid #22396F;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 4px 18px rgba(1, 7, 54, 0.35);
    transition: all 0.25s ease;
}
.modara-nav-sticky.is-scrolled {
    background: #010527;
    box-shadow: 0 6px 24px rgba(1, 5, 39, 0.55);
}
.modara-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    gap: 16px;
}
.modara-nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}
.modara-nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.modara-nav-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.modara-nav-logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.modara-nav-logo-text {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    display: inline-block;
    transition: color 0.2s;
}
.modara-nav-logo-text:hover {
    color: #FCF1D0;
}
.modara-nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}
.modara-main-nav {
    flex: 1;
    min-width: 0;
}
.modara-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.modara-menu > li {
    position: relative;
}
.modara-menu > li > a {
    display: block;
    padding: 18px 0;
    font-weight: 700;
    font-size: 0.94rem;
    color: #ffffff;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
}
.modara-menu > li:hover > a,
.modara-menu > li.current-menu-item > a,
.modara-menu > li.current_page_item > a {
    color: var(--cream);
}
.modara-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #FCF1D0;
    border-radius: 3px 3px 0 0;
    transition: width 0.2s ease;
}
.modara-menu > li:hover > a::after,
.modara-menu > li.current-menu-item > a::after,
.modara-menu > li.current_page_item > a::after {
    width: 100%;
}
.modara-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #010736;
    border: 1px solid #22396F;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(1, 7, 54, 0.5);
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}
.modara-menu li:hover > .sub-menu { display: block; }
.modara-menu .sub-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: #e2e8f0;
}
.modara-menu .sub-menu a:hover { background: #0D1C42; color: #FCF1D0; }

.modara-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.modara-nav-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 270px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modara-nav-search-form:focus-within {
    width: 330px;
}
.nav-search-input {
    width: 100%;
    height: 40px;
    padding: 0 42px 0 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(252, 241, 208, 0.28);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    outline: none;
}
.nav-search-input::placeholder {
    color: rgba(252, 241, 208, 0.7);
    font-size: 0.84rem;
}
.nav-search-input:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--cream);
    box-shadow: 0 0 0 3px rgba(252, 241, 208, 0.2);
}
.nav-search-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
.nav-search-btn:hover {
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}
.modara-search-btn-mobile {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    color: var(--cream);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.modara-drawer-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
}
.modara-drawer-toggle span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* 4. Breaking News Ticker */
.modara-breaking-bar {
    background: var(--navy-dark);
    color: #fff;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modara-breaking-inner {
    display: flex;
    align-items: center;
    min-height: 40px;
    gap: 15px;
}
.breaking-badge {
    background: var(--accent-red);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulseAnim 1.5s infinite;
}
@keyframes pulseAnim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}
.breaking-window { flex: 1; overflow: hidden; min-width: 0; position: relative; height: 26px; }
.breaking-item {
    display: none;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.breaking-item.active { display: flex; }
.breaking-time { color: #94a3b8; font-size: 0.75rem; flex-shrink: 0; }
.breaking-link { color: #f8fafc; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.breaking-link:hover { color: #FCF1D0; }
.breaking-nav { display: flex; align-items: center; gap: 4px; }
.breaking-nav button {
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.breaking-nav button:hover { background: var(--primary); }

/* Common Card & Badges */
.card-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    width: fit-content;
    transition: background 0.2s;
}
.card-badge:hover { background: var(--primary-hover); color: #fff; }
.meta-time, .meta-views { font-size: 0.78rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.meta-sep { color: var(--border); font-size: 0.8rem; }

/* 5. Hero Bento Grid */
.modara-hero-bento { padding: 22px 0 10px; }
.hero-bento-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}
.hero-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* Main Big Hero Card */
.hero-card-main {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.hero-card-main .hero-card-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    display: block;
}
.hero-card-main .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hero-card-main:hover .hero-img { transform: scale(1.03); }
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 32, 0) 25%, rgba(7, 22, 32, 0.7) 65%, rgba(7, 22, 32, 0.95) 100%);
    pointer-events: none;
}
.hero-card-main .hero-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 24px;
    color: #fff;
    z-index: 10;
}
.hero-card-main .hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 10px 0;
    color: #fff;
}
.hero-card-main .hero-title a { color: #fff; }
.hero-card-main .hero-title a:hover { color: #FCF1D0; }
.hero-card-main .hero-excerpt {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 12px;
}
.hero-card-main .hero-meta { display: flex; align-items: center; gap: 10px; color: #94a3b8; }
.hero-card-main .meta-time, .hero-card-main .meta-views { color: #cbd5e1; }

/* Side 4-Card Hero Grid */
.hero-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hero-card-sub {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.hero-sub-media {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: block;
}
.hero-sub-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hero-card-sub:hover .hero-sub-media img { transform: scale(1.04); }
.hero-sub-content { padding: 12px 14px; display: flex; flex-direction: column; flex: 1; }
.hero-sub-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 6px 0 8px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-sub-meta { margin-top: auto; }

/* 6. Main 2-Column Layout */
.modara-main-container { padding-top: 15px; padding-bottom: 40px; }
.modara-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}
.modara-content-area { min-width: 0; }
.modara-sidebar-area { min-width: 0; }

/* Section Headers (IRNA Style) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 18px;
    position: relative;
}
.section-header::after {
    display: none;
}
.section-header-blue .section-title { border-right-color: #22396F; color: #010736; }
.section-header-green .section-title { border-right-color: #15803d; color: #15803d; }
.section-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #010736;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid var(--primary-accent);
    padding-right: 10px;
    line-height: 1.3;
}
.section-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: #22396F;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s, color 0.2s;
}
.section-more:hover {
    color: #010736;
    transform: translateX(-4px);
}
.header-icon-square {
    display: none;
}
.live-pulse {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseAnim 1.4s infinite;
}
.header-icon-square {
    width: 6px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
}
.section-more { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.section-more:hover { color: var(--primary); }

/* Home Section Spacing */
.home-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

/* Timeline Cards */
.timeline-list { display: flex; flex-direction: column; gap: 14px; }
.timeline-card {
    display: flex;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}
.timeline-card:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-thumb {
    width: 140px;
    height: 95px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.timeline-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.timeline-card:hover .timeline-thumb img { transform: scale(1.05); }
.timeline-body { flex: 1; min-width: 0; }
.timeline-meta-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.timeline-title { font-size: 1.02rem; font-weight: 700; line-height: 1.45; margin-bottom: 6px; }
.timeline-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* Category Block (Hybrid 1 Big + Side List) */
.cat-grid-hybrid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}
.cat-lead-card { display: flex; flex-direction: column; }
.cat-lead-media {
    width: 100%;
    height: 190px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}
.cat-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-lead-title { font-size: 1.15rem; font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.cat-lead-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.cat-side-list { display: flex; flex-direction: column; gap: 12px; }
.cat-side-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}
.cat-side-item:last-child { border-bottom: none; }
.bullet-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}
.side-item-title { font-size: 0.92rem; font-weight: 700; line-height: 1.45; }

/* Category Block 2-Col Cards */
.cat-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.card-grid-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-grid-item .card-media { width: 100%; height: 140px; overflow: hidden; }
.card-grid-item .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-grid-item .card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.card-grid-item .card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.45; margin-bottom: 6px; }
.card-grid-item .card-excerpt { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.card-grid-item .meta-time { margin-top: auto; }

/* Multimedia Dark Section */
.section-multimedia-dark {
    background: var(--navy-dark);
    color: #fff;
    border-color: var(--navy-light);
}
.multimedia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 14px;
    margin-bottom: 20px;
}
.multi-title-box { display: flex; align-items: center; gap: 8px; color: #fff; }
.multi-title-box h2 { font-size: 1.2rem; font-weight: 800; color: #fff; }
.multi-subtitle { font-size: 0.8rem; color: #94a3b8; }
.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.multi-card { display: flex; flex-direction: column; }
.multi-media-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
}
.multi-media-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.multi-card:hover .multi-media-wrap img { transform: scale(1.05); }
.play-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    transition: background 0.2s;
}
.multi-card:hover .play-badge { background: rgba(0, 102, 204, 0.6); }
.multi-title { font-size: 0.92rem; font-weight: 700; line-height: 1.45; }
.multi-title a { color: #f1f5f9; }
.multi-title a:hover { color: var(--primary); }

/* 7. Sidebar Widgets */
.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 14px;
    position: relative;
}
.widget-header::after {
    display: none;
}
.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #010736;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-right: 4px solid var(--primary-accent);
    padding-right: 8px;
}
.title-bar { display: none; }
.widget-badge-tag { font-size: 0.72rem; color: #22396F; background: rgba(34, 57, 111, 0.08); border: 1px solid rgba(34, 57, 111, 0.18); padding: 2px 8px; border-radius: var(--radius-xs); font-weight: 600; }

/* Ranked Stories (IRNA Signature) */
.ranked-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ranked-news-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.news-rank {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #010736;
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(1, 7, 54, 0.2);
}
.ranked-news-item:nth-child(1) .news-rank {
    background: #c0392b; /* Top #1 red highlight like IRNA */
    box-shadow: 0 2px 6px rgba(192, 57, 43, 0.35);
}
.ranked-news-body { flex: 1; }
.ranked-title { font-size: 0.9rem; font-weight: 700; line-height: 1.45; margin-bottom: 4px; }
.ranked-meta { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-muted); }

/* Pick Stories */
.pick-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}
.pick-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pick-thumb { width: 75px; height: 55px; border-radius: var(--radius-xs); overflow: hidden; flex-shrink: 0; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick-title { font-size: 0.88rem; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.pick-time { font-size: 0.72rem; color: var(--text-muted); }

/* Tag Cloud */
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-body);
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.tag-chip small { color: var(--text-muted); font-size: 0.7rem; }
.tag-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* Telegram Widget */
.widget-telegram-banner {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    border: none;
}
.tg-banner-inner { display: flex; gap: 14px; align-items: flex-start; }
.tg-icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tg-content h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; color: #fff; }
.tg-content p { font-size: 0.8rem; color: #e0f2fe; line-height: 1.5; margin-bottom: 10px; }
.tg-btn {
    display: inline-block;
    background: #fff;
    color: #0369a1;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 5px 14px;
    border-radius: var(--radius-xs);
    transition: background 0.2s, color 0.2s;
}
.tg-btn:hover { background: #f0fdf4; color: #0284c7; }

/* 8. Single Article Page */
.modara-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 14px 0;
}
.modara-breadcrumbs a { color: var(--text-body); }
.modara-breadcrumbs a:hover { color: var(--primary); }
.modara-breadcrumbs .current { color: var(--text-muted); font-weight: 500; }

.modara-article-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.article-top-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-subtitle { font-size: 0.95rem; font-weight: 700; color: #22396F; }
.article-headline {
    font-size: 2.05rem;
    font-weight: 900;
    line-height: 1.45;
    color: #111827;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.meta-left { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #6b7280; }
.meta-right { display: flex; align-items: center; gap: 10px; }
.font-resizer-box { display: flex; align-items: center; gap: 2px; }
.btn-resizer {
    background: #fff;
    border: 1px solid var(--border);
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-resizer:hover { background: #010736; color: #FCF1D0; border-color: #010736; }
.btn-print {
    background: #fff;
    border: 1px solid var(--border);
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* Share Strip */
.article-share-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.share-label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.share-buttons { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.share-btn {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    color: #fff;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.88; color: #fff; }
.share-tg { background: #0088cc; }
.share-eitaa { background: #e67e22; }
.share-bale { background: #27ae60; }
.share-wa { background: #25d366; }
.share-x { background: #000; }
.share-copy { background: #010736; }

/* Lead Box (IRNA Signature) */
.article-lead-box {
    background: rgba(1, 7, 54, 0.035);
    border-right: 4px solid #22396F;
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 24px;
}
.article-lead-box p {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.95;
    color: #010736;
    margin: 0;
}

/* Featured Media */
.article-featured-media { margin-bottom: 26px; }
.featured-img { width: 100%; border-radius: var(--radius); max-height: 520px; object-fit: cover; }
.featured-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; text-align: center; }

/* Article Entry Content */
.article-entry-content {
    font-size: 1.12rem;
    line-height: 2.15;
    color: var(--text-main);
    margin-bottom: 30px;
}
.article-entry-content p { margin-bottom: 1.4rem; }
.article-entry-content h2, .article-entry-content h3 {
    color: var(--navy);
    font-weight: 800;
    margin: 1.8rem 0 1rem;
    line-height: 1.4;
}
.article-entry-content blockquote {
    border-right: 3px solid var(--primary);
    background: var(--bg);
    padding: 14px 20px;
    margin: 20px 0;
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-entry-content img { border-radius: var(--radius-sm); margin: 20px auto; box-shadow: var(--shadow-sm); }

/* Article Tags */
.article-tags-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}
.tags-title { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
.article-tags-list { display: flex; flex-wrap: wrap; gap: 6px; }

/* Shortlink Card */
.article-shortlink-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
}
.article-shortlink-card span { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.article-shortlink-card input {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: 4px 10px;
    font-size: 0.82rem;
    direction: ltr;
    text-align: left;
}
.article-shortlink-card button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Related News */
.related-news-section { margin-top: 30px; }
.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related-card { display: flex; flex-direction: column; }
.related-thumb { width: 100%; height: 120px; border-radius: var(--radius-xs); overflow: hidden; margin-bottom: 8px; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-title { font-size: 0.9rem; font-weight: 700; line-height: 1.45; margin-bottom: 4px; }
.related-time { font-size: 0.75rem; color: var(--text-muted); }

/* Comments Area */
.article-comments-area {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
}

/* 9. Archive & Category Grid */
.archive-header-banner {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.archive-title { font-size: 1.5rem; font-weight: 900; color: var(--text-main); display: inline-flex; align-items: center; gap: 10px; }
.archive-description { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.archive-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.archive-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.archive-media { width: 100%; height: 170px; overflow: hidden; }
.archive-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.archive-card:hover .archive-media img { transform: scale(1.04); }
.archive-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.archive-card-title { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.archive-card-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
.archive-card-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); }

/* Pagination */
.modara-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.modara-pagination ul {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.modara-pagination li a, .modara-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-xs);
    background: var(--card-bg);
    border: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
}
.modara-pagination li span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 10. Footer */
.modara-footer {
    background: var(--navy);
    color: #cbd5e1;
    padding-top: 45px;
    margin-top: 40px;
    border-top: 3px solid var(--primary);
}
.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-title { font-size: 1.8rem; font-weight: 900; color: #fff; }
.footer-brand-sub { font-size: 0.8rem; color: var(--cream); margin-right: 6px; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: #94a3b8; margin: 12px 0 16px; }
.footer-social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.f-social {
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-xs);
    transition: background 0.2s;
}
.f-social:hover { background: var(--primary); color: #fff; }
.footer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.85rem; color: #94a3b8; transition: color 0.2s, padding 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--cream); transform: translateX(-3px); }
.footer-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.f-tag {
    background: rgba(255,255,255,0.06);
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
}
.f-tag:hover { background: var(--primary); color: #fff; }
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 0.8rem;
    color: #64748b;
}
.back-to-top {
    background: rgba(255,255,255,0.08);
    color: #cbd5e1;
    border: none;
    border-radius: var(--radius-xs);
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.back-to-top:hover { background: var(--primary); color: #fff; }

/* 11. Search Modal */
.modara-search-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.modara-search-modal.active { display: flex; }
.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 22, 32, 0.75);
    backdrop-filter: blur(4px);
}
.search-modal-box {
    position: relative;
    z-index: 10;
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.search-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}
.search-modal-form { display: flex; gap: 8px; margin-top: 10px; margin-bottom: 15px; }
.search-modal-input {
    flex: 1;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 1rem;
    outline: none;
}
.search-modal-input:focus { border-color: var(--primary); }
.search-modal-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
}
.search-modal-quicktags { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-modal-quicktags a { color: var(--primary); font-weight: 600; }

/* 12. Mobile Off-Canvas Drawer */
.modara-drawer {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
}
.modara-drawer.active { display: block; }
.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 33, 56, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 84%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #010527 0%, #010736 100%);
    border-left: 2px solid #22396F;
    box-shadow: -8px 0 32px rgba(1, 5, 39, 0.7);
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    animation: slideInRight 0.25s forwards ease-out;
}
@keyframes slideInRight {
    to { transform: translateX(0); }
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 14px;
    margin-bottom: 16px;
}
.drawer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.drawer-logo-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}
.drawer-close {
    background: none;
    border: none;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}
.drawer-close:hover {
    color: #FCF1D0;
    background: rgba(255, 255, 255, 0.1);
}
.drawer-search {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    position: relative;
}
.drawer-search input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 0.88rem;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.drawer-search input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}
.drawer-search input:focus {
    border-color: #FCF1D0;
    background: rgba(255, 255, 255, 0.16);
}
.drawer-search button {
    background: #22396F;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.drawer-search button:hover {
    background: #010527;
    color: #FCF1D0;
}
.drawer-nav {
    flex: 1;
    overflow-y: auto;
}
.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drawer-menu li {
    border-bottom: 1px solid rgba(34, 57, 111, 0.45);
}
.drawer-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s, padding-right 0.2s, background 0.2s;
    border-radius: 6px;
}
.drawer-menu a:hover,
.drawer-menu .current-menu-item > a {
    color: #FCF1D0;
    background: rgba(255, 255, 255, 0.08);
    padding-right: 12px;
}
.drawer-menu .sub-menu {
    list-style: none;
    padding-right: 14px;
    margin: 4px 0 8px;
    background: rgba(1, 5, 39, 0.45);
    border-radius: 8px;
}
.drawer-menu .sub-menu li {
    border-bottom: 1px solid rgba(34, 57, 111, 0.25);
}
.drawer-menu .sub-menu li:last-child {
    border-bottom: none;
}
.drawer-menu .sub-menu a {
    font-size: 0.88rem;
    color: #cbd5e1;
    padding: 9px 8px;
}
.drawer-menu .sub-menu a:hover {
    color: #FCF1D0;
}
.drawer-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
.drawer-socials a {
    font-size: 0.82rem;
    color: var(--cream);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.drawer-socials a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.drawer-copy {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0;
}

/* 13. Comprehensive Responsive System (PC, Tablet, Mobile) */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .modara-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .modara-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hero-card-main {
        min-height: 340px;
    }
    .hero-side-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .footer-top-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .modara-article-box {
        padding: 24px 20px;
    }
    .article-headline {
        font-size: 1.75rem;
    }
    .related-news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* Nav Drawer Breakpoint */
@media (max-width: 992px) {
    .modara-drawer-toggle { display: flex; }
    .modara-main-nav, .modara-nav-divider { display: none; }
    .modara-nav-logo-img { max-height: 34px; }
    .modara-nav-search-form { display: none; }
    .modara-search-btn-mobile { display: flex; }
}

/* Mobile Devices (Portrait & Landscape) */
@media (max-width: 768px) {
    /* Global Layout & Safety */
    .modara-container {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
        max-width: 100%;
    }
    .modara-main-container {
        padding-top: 10px;
        padding-bottom: 24px;
    }
    .modara-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    /* Topbar & Header */
    .modara-topbar {
        font-size: 0.72rem;
        padding: 5px 0;
    }
    .topbar-left {
        display: none;
    }
    .modara-trends-bar {
        display: none;
    }
    .modara-nav-sticky {
        min-height: 52px;
    }
    .modara-nav-inner {
        min-height: 52px;
        gap: 10px;
    }
    .modara-nav-logo-img {
        max-height: 32px;
    }

    /* Breaking News Bar */
    .modara-breaking-bar {
        font-size: 0.78rem;
    }
    .breaking-badge {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    /* Homepage Grids */
    .hero-card-main {
        min-height: 250px;
        padding: 16px 14px;
    }
    .hero-main-title {
        font-size: 1.15rem;
        line-height: 1.5;
    }
    .hero-side-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cat-grid-hybrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cat-grid-2col {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .multimedia-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .archive-news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .timeline-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }
    .timeline-thumb {
        width: 100%;
        height: 180px;
    }

    /* ========================================= */
    /* Single News Article Mobile Overhaul       */
    /* ========================================= */
    .modara-breadcrumbs {
        font-size: 0.72rem;
        margin-bottom: 12px;
        padding: 8px 0;
        white-space: normal;
        line-height: 1.6;
    }
    .modara-article-box {
        padding: 18px 14px;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        border: 1px solid var(--border);
        width: 100%;
        max-width: 100%;
        background: #ffffff;
    }
    .article-top-meta {
        gap: 8px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .article-cat-badge {
        font-size: 0.72rem;
        padding: 3px 8px;
    }
    .article-subtitle {
        font-size: 0.85rem;
    }
    .article-headline {
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 1.55;
        margin-bottom: 14px;
        letter-spacing: -0.3px;
        word-break: break-word;
    }
    .article-meta-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
        gap: 8px;
        margin-bottom: 14px;
        background: #f1f5f9;
        border-radius: 8px;
    }
    .meta-left {
        font-size: 0.74rem;
        gap: 6px;
        flex-wrap: wrap;
        color: #64748b;
    }
    .meta-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 6px;
    }
    .font-resizer-box {
        display: flex;
        gap: 3px;
    }
    .btn-resizer {
        padding: 4px 9px;
        font-size: 0.72rem;
    }
    .btn-print {
        display: none; /* Hide print on mobile */
    }

    /* Responsive Share Strip */
    .article-share-strip {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 16px;
        padding: 10px 0;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }
    .share-label {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--text-muted);
    }
    .share-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
    }
    .share-btn {
        justify-content: center;
        padding: 8px 4px;
        font-size: 0.74rem;
        text-align: center;
        border-radius: 6px;
        white-space: nowrap;
    }

    /* Lead Box */
    .article-lead-box {
        padding: 12px 14px;
        margin-bottom: 16px;
        border-right-width: 3px;
    }
    .article-lead-box p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    /* Featured Media */
    .article-featured-media {
        margin-bottom: 18px;
    }
    .featured-img {
        border-radius: 8px;
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* Article Content Mobile Typography */
    .article-entry-content {
        font-size: 1.05rem;
        line-height: 2.05;
        margin-bottom: 24px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .article-entry-content p {
        margin-bottom: 1.2rem;
    }
    .article-entry-content img {
        max-width: 100% !important;
        height: auto !important;
        margin: 14px auto;
        border-radius: 8px;
        display: block;
    }
    .article-entry-content table {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 16px 0;
        font-size: 0.85rem;
        border-collapse: collapse;
    }
    .article-entry-content iframe {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }
    .article-entry-content blockquote {
        padding: 10px 14px;
        margin: 14px 0;
        font-size: 0.95rem;
    }

    /* Tags & Shortlink Mobile */
    .article-tags-box {
        padding: 12px 0;
        margin-bottom: 16px;
        gap: 6px;
    }
    .tags-title {
        width: 100%;
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    .tag-chip {
        font-size: 0.74rem;
        padding: 4px 8px;
    }

    .article-shortlink-card {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        margin-bottom: 22px;
    }
    .article-shortlink-card span {
        font-size: 0.78rem;
        text-align: center;
        white-space: normal;
    }
    .article-shortlink-card input {
        width: 100%;
        font-size: 0.8rem;
        padding: 7px 10px;
        text-align: center;
        direction: ltr;
    }
    .article-shortlink-card button {
        width: 100%;
        padding: 8px;
        font-size: 0.82rem;
        border-radius: 6px;
    }

    /* Related News Mobile */
    .related-news-section {
        margin-top: 20px;
    }
    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .related-card {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        background: var(--bg);
        padding: 8px 10px;
        border-radius: 8px;
    }
    .related-thumb {
        width: 88px;
        height: 64px;
        flex-shrink: 0;
        margin-bottom: 0;
        border-radius: 6px;
    }
    .related-title {
        font-size: 0.84rem;
        line-height: 1.4;
        margin-bottom: 2px;
    }

    /* Comments Mobile */
    .article-comments-area {
        margin-top: 24px;
        padding-top: 18px;
    }
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        width: 100% !important;
        max-width: 100% !important;
    }
    .comment-form .form-submit input[type="submit"] {
        width: 100%;
        padding: 10px;
    }

    /* Sidebar Area on Mobile */
    .modara-sidebar-area {
        width: 100%;
    }
    .sidebar-widget {
        padding: 16px 14px;
        border-radius: 10px;
        margin-bottom: 16px;
    }
    .ranked-title {
        font-size: 0.86rem;
        line-height: 1.45;
    }

    /* Footer Mobile */
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Small Smartphone Screen (< 480px) */
@media (max-width: 480px) {
    .modara-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .modara-article-box {
        padding: 14px 10px;
        border-radius: 8px;
    }
    .article-headline {
        font-size: 1.22rem;
        line-height: 1.5;
    }
    .article-entry-content {
        font-size: 1rem;
        line-height: 2;
    }
    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    .meta-left {
        font-size: 0.7rem;
    }
    .meta-sep {
        display: none;
    }
    .meta-left .meta-item {
        display: inline-block;
        margin-left: 6px;
    }
}
