@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════════════
   jaredaiq — Professional Arabic Newspaper Theme
   Design System: Editorial / Clean / Authoritative
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
    --brand: #00a4b4;
    --brand-dark: #008a99;
    --brand-bg: rgba(0,164,180,0.07);
    --red: #e63946;
    --gold: #d4a853;

    --bg-body: #f5f5f5;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-section: #fafafa;
    --text-primary: #1a1a2e;
    --text-body: #333333;
    --text-muted: #777777;
    --text-light: #aaaaaa;
    --border: #e0e0e0;
    --border-light: #eeeeee;

    --shadow-card: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.1);

    --font: 'Cairo', sans-serif;
    --max-w: 100%;
    --gap: 24px;
    --radius: 8px;
    --speed: 0.25s;
}

/* ── Dark Mode ────────────────────────────────────────────────── */
body.dark-mode {
    --bg-body: #111118;
    --bg-white: #1a1a24;
    --bg-card: #1e1e2a;
    --bg-section: #16161f;
    --text-primary: #eaeaea;
    --text-body: #cccccc;
    --text-muted: #888888;
    --text-light: #555555;
    --border: #2a2a3a;
    --border-light: #222233;
    --shadow-card: 0 1px 4px rgba(0,0,0,0.3);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.4);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    direction: rtl;
    text-align: right;
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.75;
    transition: background var(--speed), color var(--speed);
}

a { color: inherit; text-decoration: none; transition: color var(--speed); }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

::selection { background: var(--brand); color: #fff; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}
@media (min-width: 1600px) {
    .container {
        padding: 0 5%;
    }
}

/* ══════════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    height: 38px;
    font-size: 12px;
    color: var(--text-muted);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.topbar-date { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-date svg { width: 13px; height: 13px; opacity: 0.5; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: var(--text-light); display: flex; }
.topbar-social a:hover { color: var(--brand); }
.topbar-social svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--brand);
    position: sticky; top: 0; z-index: 1000;
    transition: background var(--speed), box-shadow var(--speed);
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }

.header-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px; gap: 16px;
}

.site-branding { flex-shrink: 0; }

.logo-link {
    font-size: 28px; font-weight: 900;
    color: var(--brand) !important;
    letter-spacing: -0.03em;
    display: flex; align-items: center; gap: 6px;
}
.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}
.logo-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--red); display: inline-block;
}
.site-title { margin: 0; font-size: inherit; }
.mobile-menu-header, .mobile-menu-footer {
    display: none;
}

/* Nav */
.main-navigation { flex: 1; display: flex; justify-content: center; }
.main-navigation ul { display: flex; gap: 2px; }
.main-navigation a {
    font-weight: 600; font-size: 14px;
    padding: 6px 14px; border-radius: 6px;
    color: var(--text-body);
    transition: all var(--speed);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--brand); background: var(--brand-bg);
}

/* Actions */
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.action-btn {
    background: none; border: none; cursor: pointer;
    color: var(--text-muted); width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; transition: all var(--speed);
}
.action-btn:hover { color: var(--brand); background: var(--brand-bg); }
.action-btn svg { width: 18px; height: 18px; }

.btn-subscribe {
    background: var(--brand); color: #fff !important;
    padding: 7px 18px; border-radius: 6px;
    font-weight: 700; font-size: 13px;
    border: none; cursor: pointer;
    transition: all var(--speed);
}
.btn-subscribe:hover { background: var(--brand-dark); color: #fff !important; }

#menu-toggle { display: none; }

/* Search Dropdown */
.search-bar-dropdown {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-white); border-bottom: 1px solid var(--border);
    padding: 16px 0; display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    animation: slideDown .25s ease;
}
@keyframes slideDown { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }

.search-form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; padding: 0 20px; }
.search-input {
    flex: 1; padding: 10px 16px;
    border: 2px solid var(--border); border-radius: 6px;
    background: var(--bg-body); color: var(--text-primary);
    font-family: var(--font); font-size: 14px;
}
.search-input:focus { outline: none; border-color: var(--brand); }
.search-submit {
    background: var(--brand); color: #fff; border: none;
    padding: 0 24px; border-radius: 6px;
    font-family: var(--font); font-weight: 700; font-size: 14px; cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   NEWS TICKER
   ══════════════════════════════════════════════════════════════ */
.news-ticker {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    height: 50px; display: flex; align-items: center;
    overflow: hidden; font-size: 13px;
}
.ticker-label {
    background: #fec92d; color: #1a1a2e;
    padding: 0 18px; height: 100%;
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 12px; white-space: nowrap;
    position: relative; z-index: 2;
}
.ticker-label::before {
    content: ''; width: 7px; height: 7px;
    background: currentColor; border-radius: 50%;
    animation: blink 1s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.ticker-content-wrapper {
    flex: 1; overflow: hidden; height: 100%;
    display: flex; align-items: center;
    mask-image: linear-gradient(to left, transparent, #000 30px, #000 calc(100% - 30px), transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}
.ticker-content {
    display: flex; white-space: nowrap;
    animation: tickerMove 110s linear infinite;
    padding-left: 40px;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-item {
    display: inline-flex; align-items: center;
    padding: 0 20px; font-weight: 600; color: var(--text-body);
}
.ticker-item:hover { color: var(--brand); }
.ticker-item::before {
    content: ''; width: 4px; height: 4px;
    border-radius: 50%; background: var(--brand);
    margin-left: 10px;
}
@keyframes tickerMove { 0%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
body.dark-mode .section-header {
    border-bottom-color: var(--border);
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to left, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: 0 0 10px rgba(0, 164, 180, 0.4);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
body.dark-mode .section-header::after {
    background: linear-gradient(to left, #00e1f5 0%, #00a4b4 100%);
    box-shadow: 0 0 12px rgba(0, 225, 245, 0.4);
}
.section-header:hover::after {
    width: 160px;
    box-shadow: 0 0 16px rgba(0, 164, 180, 0.8);
}
body.dark-mode .section-header:hover::after {
    box-shadow: 0 0 20px rgba(0, 225, 245, 0.8);
}

.section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    background: rgba(0, 164, 180, 0.04);
    border: 1px solid rgba(0, 164, 180, 0.12);
    padding: 6px 14px;
    border-radius: 6px;
    margin: 0;
    transition: all var(--speed) ease;
}
body.dark-mode .section-title {
    background: rgba(0, 225, 245, 0.03);
    border-color: rgba(0, 225, 245, 0.08);
}
.section-header:hover .section-title {
    border-color: var(--brand);
    background: rgba(0, 164, 180, 0.08);
    transform: translateY(-1px);
}
body.dark-mode .section-header:hover .section-title {
    border-color: #00e1f5;
    background: rgba(0, 225, 245, 0.06);
}

.section-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    animation: ledPulse 1.5s infinite alternate;
    display: inline-block;
    flex-shrink: 0;
}
body.dark-mode .section-title::before {
    background: #00e1f5;
    box-shadow: 0 0 8px #00e1f5;
}

.section-more {
    font-size: 11px; font-weight: 700; color: var(--brand);
    background: var(--brand-bg);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 164, 180, 0.12);
    transition: all var(--speed) ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
body.dark-mode .section-more {
    color: #00e1f5;
    background: rgba(0, 225, 245, 0.04);
    border-color: rgba(0, 225, 245, 0.08);
}
.section-more:hover { 
    background: var(--brand); 
    color: #fff !important;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 164, 180, 0.25);
    border-color: transparent;
    text-decoration: none;
}
body.dark-mode .section-more:hover {
    background: #00e1f5;
    color: #111118 !important;
    box-shadow: 0 4px 14px rgba(0, 225, 245, 0.3);
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ══════════════════════════════════════════════════════════════ */
.hp-section { padding: 40px 0; }

/* ── Hero (خاص - 24) ─────────────────────────────────────────── */
/* ── Premium Editorial Hero Grid (خاص - 24) ──────────────────── */
.hero-section-premium {
    padding: 30px 0 40px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}
body.dark-mode .hero-section-premium {
    background: var(--bg-white);
}
.hero-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 0;
    align-items: stretch;
}
.hero-column-right {
    padding-left: 24px;
    border-left: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.hero-column-center {
    padding: 0 24px;
}
.hero-column-left {
    padding-right: 24px;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
body.dark-mode .hero-column-right {
    border-left-color: var(--border);
}
body.dark-mode .hero-column-left {
    border-right-color: var(--border);
}

.hero-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 28px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}
.hero-card:last-child {
    margin-bottom: 0;
}
.hero-card .card-img-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    min-height: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}
.hero-card:hover .card-img-wrapper {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.hero-card .card-img-wrapper a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.hero-card .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.hero-card:hover .card-img-wrapper img {
    transform: scale(1.02) !important;
}

/* Center Column Featured Card */
.hero-column-center {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hero-card-featured {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}
.hero-card-featured .card-img-wrapper {
    width: 100%;
    aspect-ratio: 16/10 !important;
    min-height: 0 !important;
    flex: none !important;
    margin: 0 0 20px 0 !important;
}
.hero-card-featured .hero-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}
.hero-card-featured .hero-card-title {
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 0 12px 0 !important;
    color: var(--text-primary) !important;
    text-shadow: none !important;
}
.hero-card-featured .hero-card-title a {
    color: var(--text-primary) !important;
    transition: color var(--speed);
}
.hero-card-featured .hero-card-title a:hover {
    color: var(--brand) !important;
}
.hero-card-featured .hero-card-excerpt {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 14px !important;
    text-shadow: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-card-featured .hero-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px !important;
    color: var(--text-muted) !important;
    font-weight: 600;
    text-transform: uppercase;
}
.hero-card-featured .hero-card-meta a {
    color: var(--text-primary) !important;
}
.hero-card-featured .hero-card-meta a:hover {
    color: var(--brand) !important;
}

/* Side Columns Cards */
.hero-card-side .card-img-wrapper {
    aspect-ratio: 16/10;
}
.hero-card-side .hero-card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    color: var(--text-primary) !important;
    text-shadow: none !important;
}
.hero-card-side .hero-card-title a {
    color: var(--text-primary) !important;
    transition: color var(--speed);
}
.hero-card-side .hero-card-title a:hover {
    color: var(--brand) !important;
}
.hero-card-side .hero-card-excerpt {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: var(--text-muted) !important;
    margin-bottom: 8px !important;
    text-shadow: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-card-side .hero-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px !important;
    color: var(--text-light) !important;
    font-weight: 600;
    text-transform: uppercase;
}
.hero-card-side .hero-card-meta a {
    color: var(--text-muted) !important;
}
.hero-card-side .hero-card-meta a:hover {
    color: var(--brand) !important;
}
.meta-separator {
    color: var(--text-light);
    opacity: 0.5;
}

/* ── Hero Slider Styles ───────────────────────────────────────── */
.hero-slider-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hero-slider-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
}

.slider-dot:hover {
    background: var(--brand-dark);
}

.slider-dot.active {
    background: var(--brand);
    width: 20px;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-premium-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .hero-column-center {
        grid-column: span 2;
        padding: 0;
        margin-bottom: 12px;
    }
    .hero-column-right, .hero-column-left {
        grid-column: span 1;
        padding: 0;
        border: none;
    }
    .hero-card-featured .hero-card-title {
        font-size: 23px !important;
    }
    .hero-column-right {
        padding-left: 0;
        border-left: none;
    }
    .hero-column-left {
        padding-right: 0;
        border-right: none;
    }
    .hero-slider-wrapper {
        height: auto !important;
    }
    .hero-slide {
        position: absolute !important;
        width: 100%;
        top: 0;
        left: 0;
        bottom: auto !important;
        right: auto !important;
        height: auto !important;
    }
    .hero-slide.active {
        position: relative !important;
    }
}
@media (max-width: 768px) {
    .hero-premium-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .hero-column {
        width: 100%;
        padding: 0 !important;
        border: none !important;
    }
    .hero-column-center {
        order: 1; /* Center column is main and goes first */
    }
    .hero-column-right {
        order: 2;
    }
    .hero-column-left {
        order: 3;
    }
    .hero-card {
        margin-bottom: 24px;
    }
    .hero-card:last-child {
        margin-bottom: 0;
    }
    .hero-card-featured .hero-card-title {
        font-size: 20px !important;
    }
    .hero-card-side .hero-card-title {
        font-size: 14px !important;
    }
}

/* Hero Card Overlay Styles (Large & Small Cards) */
.card-overlay-style {
    position: relative;
    height: 100%;
    border-radius: var(--radius) !important;
    overflow: hidden;
}
.hero-section .card-overlay-style {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
.hero-section .card-overlay-style .card-img-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--radius) !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
}
.hero-section .card-large.card-overlay-style .card-img-wrapper {
    min-height: 440px !important;
}
.hero-section .card-small.card-overlay-style .card-img-wrapper {
    min-height: 212px !important;
}
.card-overlay-style .card-img-wrapper a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.card-overlay-style .card-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform var(--speed) ease !important;
}
.card-overlay-style:hover .card-img-wrapper img {
    transform: scale(1.03) !important;
}
.card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(17,17,24,0.98) 0%, rgba(17,17,24,0.7) 60%, rgba(17,17,24,0) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
}
body.dark-mode .card-overlay-content {
    background: linear-gradient(to top, rgba(10,10,14,0.98) 0%, rgba(10,10,14,0.75) 60%, rgba(10,10,14,0) 100%);
}
.card-overlay-content a {
    color: #fff !important;
    pointer-events: auto;
}
.card-overlay-content a:hover {
    color: var(--brand) !important;
}
.card-overlay-style .card-meta {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-overlay-style .card-category {
    background: var(--brand);
    color: #fff !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.card-overlay-style .card-category a {
    color: #fff !important;
}
.card-overlay-style .card-category a:hover {
    text-decoration: underline;
}
.card-overlay-style .card-date {
    color: rgba(255,255,255,0.6);
    font-size: 10.5px;
    font-weight: 500;
}
.card-overlay-style .card-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45;
    margin-bottom: 8px;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.card-large.card-overlay-style .card-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.card-overlay-style .card-excerpt {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ── Reports Grid (تقارير - 31) ───────────────────────────────── */
.reports-grid {
    display: grid; grid-template-columns: 1.7fr 1fr;
    gap: var(--gap); align-items: stretch;
}
.reports-list { display: flex; flex-direction: column; gap: 0; }

@media (min-width: 1025px) {
    .reports-featured {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .reports-featured .card-featured {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .reports-featured .card-featured-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .reports-featured .card-featured-img {
        flex: 1;
        height: 100% !important;
        display: block;
    }
    .reports-list {
        height: 100%;
    }
    .reports-list .card-horizontal {
        flex: 1;
        max-height: 130px;
    }
}

@media (min-width: 1200px) {
    .reports-list .card-h-img {
        width: 125px;
        height: 85px;
    }
    .reports-list .card-h-title {
        font-size: 15px;
        min-height: 46px;
    }
}
@media (min-width: 1600px) {
    .reports-list .card-h-img {
        width: 140px;
        height: 95px;
    }
    .reports-list .card-h-title {
        font-size: 16.5px;
        min-height: 50px;
    }
}

/* ── Dual Section (بيها صالح + بصمة خاصة) ─────────────────────── */
.hp-dual {
    background: var(--bg-section);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.dual-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.dual-col { min-width: 0; }
.dual-content .card.card-medium { margin-bottom: 16px; }

/* ── Video Section (فيديوجرافيك - 27) ─────────────────────────── */
.video-section {
    background: var(--bg-section);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-light);
}
.video-section .section-header { border-bottom-color: var(--border-light); }
.video-section .section-title { color: var(--text-primary); }
.video-section .section-title::before { background: var(--brand); }
.video-section .section-more { color: var(--brand); }

.video-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

/* ══════════════════════════════════════════════════════════════
   CARD: Featured (overlay text on image)
   ══════════════════════════════════════════════════════════════ */
.card-featured { border-radius: var(--radius); overflow: hidden; }
.card-featured-link { display: block; }
.card-featured-img {
    position: relative; height: 100%; min-height: 400px;
    overflow: hidden; border-radius: var(--radius);
}
.card-featured-img img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.card-featured:hover img { transform: scale(1.03); }
.card-featured-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    color: #fff;
}
.card-featured-cat {
    display: inline-block; background: var(--brand);
    padding: 3px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; margin-bottom: 10px;
    letter-spacing: 0.03em;
}
.card-featured-title {
    font-size: 22px; font-weight: 800;
    line-height: 1.4; margin-bottom: 10px; color: #fff;
}
.card-featured-meta {
    font-size: 12px; color: rgba(255,255,255,0.7);
    display: flex; gap: 8px; align-items: center;
}
.meta-sep { opacity: 0.5; }

/* ══════════════════════════════════════════════════════════════
   CARD: Horizontal (thumbnail + text)
   ══════════════════════════════════════════════════════════════ */
.card-horizontal {
    display: flex; gap: 14px; align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.card-horizontal:last-child { border-bottom: none; }
.card-h-img {
    width: 100px; height: 75px; border-radius: 6px;
    overflow: hidden; flex-shrink: 0;
}
.card-h-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.card-horizontal:hover .card-h-img img { transform: scale(1.05); }

.card-h-body { flex: 1; min-width: 0; }
.card-h-cat {
    font-size: 11px; font-weight: 700;
    color: var(--brand); text-transform: uppercase;
    letter-spacing: 0.02em;
}
.card-h-title {
    font-size: 14px; font-weight: 700;
    line-height: 1.5; margin: 4px 0;
    color: var(--text-primary);
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-h-title a:hover { color: var(--brand); }
.card-h-meta { font-size: 11px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   CARD: Large, Medium, Small, Video, List (Updated)
   ══════════════════════════════════════════════════════════════ */
.card {
    background: var(--bg-card); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: transform var(--speed), box-shadow var(--speed);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.card-img-wrapper {
    position: relative; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.card:hover .card-img-wrapper img { transform: scale(1.04); }

.card-meta {
    display: flex; gap: 8px; align-items: center;
    font-size: 11px; color: var(--text-muted);
    margin-bottom: 6px; font-weight: 500;
}
.card-category {
    color: var(--brand); font-weight: 700;
    font-size: 11px; text-transform: uppercase;
}
.card-category a { color: var(--brand); }
.card-title { font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.card-title a:hover { color: var(--brand); }
.card-excerpt {
    font-size: 13px; color: var(--text-muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Large */
.card-large .card-img-wrapper { aspect-ratio: 16/10; }
.card-large .card-content { padding: 16px; }
.card-large .card-title { font-size: 22px; font-weight: 800; line-height: 1.4; }

/* Medium */
.card-medium .card-img-wrapper { aspect-ratio: 16/10; }
.card-medium .card-content { padding: 14px; }
.card-medium .card-title {
    font-size: 17px;
    line-height: 1.45;
    min-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-medium .card-excerpt {
    min-height: 42px;
}

/* Small */
.card-small {
    display: flex; gap: 12px; align-items: center;
    padding: 10px; border: 1px solid var(--border-light);
    background: var(--bg-card); border-radius: var(--radius);
    box-shadow: none;
}
.card-small:hover { border-color: var(--brand); transform: none; box-shadow: none; }
.card-small .card-img-wrapper {
    width: 80px; height: 65px; flex-shrink: 0;
    border-radius: 6px;
}
.card-small .card-content { flex: 1; min-width: 0; }
.card-small .card-title { font-size: 14px; line-height: 1.45; }

/* Video */
.card-video { background: transparent; box-shadow: none; }
.card-video:hover { transform: none; box-shadow: none; }
.card-video .card-img-wrapper {
    aspect-ratio: 16/9; border-radius: var(--radius);
}
.play-icon-overlay {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0,164,180,0.9); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all var(--speed); z-index: 2;
}
.card-video:hover .play-icon-overlay {
    transform: translate(-50%,-50%) scale(1.1);
    background: var(--brand);
}
.play-icon-svg { width: 18px; height: 18px; fill: currentColor; }
.card-video .card-content { padding: 10px 0 0; }
.card-video .card-title { font-size: 15px; line-height: 1.45; color: var(--text-primary); }
.card-video .card-meta { color: var(--text-muted); }
.card-video .card-category { color: var(--brand); }

/* List */
.card-list {
    padding: 12px 0; border-bottom: 1px solid var(--border-light);
    display: flex; gap: 10px; align-items: flex-start;
}
.card-list:last-child { border-bottom: none; }
.card-list::before {
    content: ''; width: 3px; min-height: 16px;
    border-radius: 2px; background: var(--brand);
    margin-top: 4px; flex-shrink: 0;
    opacity: 0; transition: opacity var(--speed);
}
.card-list:hover::before { opacity: 1; }
.card-list .card-title { font-size: 15px; font-weight: 600; line-height: 1.45; margin: 0; }
.card-list .card-meta { margin-bottom: 0; margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════
   OPINIONS (أقلامهم - 30)
   ══════════════════════════════════════════════════════════════ */
.opinions-section { padding: 40px 0; }
.opinions-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}
.card-opinion {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; background: var(--bg-card);
    padding: 24px 14px 20px; border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: all var(--speed);
    position: relative; overflow: hidden;
}
.card-opinion::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--brand);
    transform: scaleX(0); transition: transform .3s ease;
    transform-origin: center;
}
.card-opinion:hover::after { transform: scaleX(1); }
.card-opinion:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.card-opinion-avatar {
    width: 68px; height: 68px; border-radius: 50%;
    overflow: hidden; margin-bottom: 12px;
    border: 3px solid var(--border);
    transition: border-color var(--speed);
}
.card-opinion:hover .card-opinion-avatar { border-color: var(--brand); }
.card-opinion-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.card-opinion-author { font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--text-primary); }
.card-opinion-title {
    font-size: 12px; font-weight: 500; line-height: 1.5;
    color: var(--text-muted);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════════════════════ */
.post-container { max-width: 780px; margin: 0 auto; padding: 36px 20px 60px; }
.post-header { margin-bottom: 28px; }
.post-breadcrumbs { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.post-category-tag {
    display: inline-block; background: var(--brand-bg);
    color: var(--brand); font-weight: 700;
    padding: 3px 12px; border-radius: 4px;
    font-size: 12px; margin-bottom: 14px;
}
.post-title-main {
    font-size: 32px; font-weight: 800; line-height: 1.4;
    margin-bottom: 16px; color: var(--text-primary);
}
.post-meta-details {
    display: flex; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 13px;
    padding: 14px 0; border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.author-avatar img { width: 38px; height: 38px; border-radius: 50%; }
.post-meta-text a { color: var(--text-primary); font-weight: 600; }

.post-featured-image {
    margin: 24px 0 32px; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-card);
}
.post-content { font-size: 18px; line-height: 1.8; margin-bottom: 36px; color: var(--text-body); }
.post-content p { margin-bottom: 24px; }
.post-content h2 { font-size: 24px; font-weight: 800; line-height: 1.45; margin: 40px 0 16px; }
.post-content h3 { font-size: 20px; font-weight: 700; line-height: 1.45; margin: 32px 0 12px; }
.post-content blockquote {
    border-right: 4px solid var(--brand); padding: 14px 20px;
    margin: 24px 0; background: var(--bg-section);
    border-radius: 0 6px 6px 0;
    color: var(--text-muted); font-style: italic;
}
.post-content img { border-radius: var(--radius); margin: 20px 0; }

/* Share */
.share-buttons-container {
    display: flex; gap: 8px; margin: 28px 0; padding: 18px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.share-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 6px;
    font-size: 13px; font-weight: 600; color: #fff !important;
    transition: opacity var(--speed);
}
.share-btn:hover { opacity: 0.85; color: #fff !important; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }

/* Author Box */
.author-box {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-section); padding: 20px;
    border-radius: var(--radius); margin-bottom: 36px;
    border: 1px solid var(--border-light);
}
.author-box-avatar img { width: 64px; height: 64px; border-radius: 50%; }
.author-box-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.author-box-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Post Nav */
.post-navigation-links {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 18px 0; border-top: 1px solid var(--border-light);
    margin-bottom: 36px;
}
.nav-prev, .nav-next { max-width: 48%; }
.nav-prev span, .nav-next span { display: block; font-size: 11px; color: var(--text-light); margin-bottom: 4px; }
.nav-prev a, .nav-next a { font-weight: 700; font-size: 13px; }
.nav-next { text-align: left; }

/* Related */
.related-posts-section { padding: 36px 0 0; border-top: 1px solid var(--border-light); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); margin-top: 16px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-white); color: var(--text-body); font-size: 13px;
    margin-top: 0; position: relative;
    border-top: 1px solid var(--border-light);
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand));
}
.footer-newsletter-compact-desc {
    color: var(--text-body);
    margin-bottom: 14px;
    font-size: 12.5px;
    line-height: 1.5;
}
.footer-newsletter-form-compact {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.footer-newsletter-input-compact {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 12.5px;
}
.footer-newsletter-input-compact::placeholder {
    color: var(--text-light);
}
.footer-newsletter-input-compact:focus {
    outline: none;
    border-color: var(--brand);
}
.footer-newsletter-submit-compact {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    font-family: var(--font);
    transition: background var(--speed);
    white-space: nowrap;
}
.footer-newsletter-submit-compact:hover {
    background: var(--brand-dark);
}
.contact-label {
    color: var(--text-muted);
    margin-left: 4px;
}

.footer-main { padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-col-title {
    font-size: 13px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 14px; text-transform: uppercase;
    letter-spacing: 0.03em;
}
.footer-about p { color: var(--text-body); line-height: 1.7; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-body); font-size: 13px; transition: color var(--speed); }
.footer-col ul li a:hover { color: var(--brand); }

.footer-social-links { display: flex; gap: 6px; }
.social-icon-link {
    width: 32px; height: 32px; border-radius: 6px;
    background: var(--border-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all var(--speed);
}
.social-icon-link:hover { background: var(--brand); color: #fff; }
.social-label { font-size: 10px; font-weight: 700; text-transform: uppercase; }

.footer-bottom { border-top: 1px solid var(--border-light); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { color: var(--text-muted); font-size: 12px; }
.footer-navigation ul { display: flex; gap: 16px; }
.footer-navigation a { color: var(--text-body); font-size: 12px; }
.footer-navigation a:hover { color: var(--brand); }

/* ══════════════════════════════════════════════════════════════
   AD SPACES
   ══════════════════════════════════════════════════════════════ */
.ad-container {
    display: flex; justify-content: center; align-items: center;
    margin: 20px 0; padding: 10px;
    background: var(--bg-section); border: 1px dashed var(--border);
    font-size: 11px; color: var(--text-light);
    min-height: 80px; border-radius: 6px;
}

/* ── Premium Ad Banner (Enhanced & Redesigned) ───────────────── */
.ad-middle-banner-container {
    margin: 56px auto;
    padding: 0 24px;
}
@media (min-width: 1200px) {
    .ad-middle-banner-container {
        padding: 0 40px;
    }
}
@media (min-width: 1600px) {
    .ad-middle-banner-container {
        padding: 0 5%;
    }
}

.premium-ad-banner {
    position: relative;
    background: linear-gradient(135deg, #1c223c 0%, #12162a 100%);
    border: 1px solid rgba(0, 164, 180, 0.45);
    border-radius: 20px;
    padding: 36px 48px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 35px rgba(0, 164, 180, 0.12);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.dark-mode .premium-ad-banner {
    background: linear-gradient(135deg, #202746 0%, #151a34 100%);
    border-color: rgba(0, 225, 245, 0.4);
    box-shadow: 0 24px 55px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 45px rgba(0, 225, 245, 0.15);
}

.premium-ad-banner:hover {
    border-color: rgba(0, 164, 180, 0.6);
    box-shadow: 0 28px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1), 0 0 50px rgba(0, 164, 180, 0.25);
    transform: translateY(-5px);
}

/* Background image with overlay */
.ad-banner-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/ad-banner-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
}
.premium-ad-banner:hover .ad-banner-bg-image {
    transform: scale(1.04);
    opacity: 0.22;
}

.ad-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(28, 34, 60, 0.95) 0%, rgba(18, 22, 42, 0.82) 50%, rgba(28, 34, 60, 0.95) 100%);
    z-index: 1;
    transition: background 0.5s ease;
}
body.dark-mode .ad-banner-overlay {
    background: linear-gradient(90deg, rgba(32, 39, 70, 0.95) 0%, rgba(21, 26, 52, 0.84) 50%, rgba(32, 39, 70, 0.95) 100%);
}

/* Shimmer Light Sweep Effect */
.ad-banner-shimmer {
    position: absolute;
    top: 0; left: -150%; width: 300%; height: 100%;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.04) 43%, rgba(0, 164, 180, 0.12) 50%, rgba(255, 255, 255, 0.04) 57%, transparent 65%);
    z-index: 2;
    pointer-events: none;
    animation: adShimmerSweep 5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes adShimmerSweep {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Glow Orbs */
.ad-banner-glow-1 {
    position: absolute;
    top: -120px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 164, 180, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.5s ease;
}
.ad-banner-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 225, 245, 0.18) 0%, transparent 75%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.5s ease;
}
.premium-ad-banner:hover .ad-banner-glow-1 {
    transform: translate(-20px, 20px) scale(1.1);
}
.premium-ad-banner:hover .ad-banner-glow-2 {
    transform: translate(20px, -20px) scale(1.1);
}

/* Abstract Grid Overlay */
.premium-ad-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(0, 164, 180, 0.012) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 164, 180, 0.012) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 2;
}

/* Right Section Layout (Logo + Content) */
.ad-banner-right {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1.3;
    z-index: 3;
}

/* Glowing Logo Container */
.ad-banner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 72px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px 16px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ad-banner-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}
.premium-ad-banner:hover .ad-banner-logo-wrapper {
    background: rgba(0, 164, 180, 0.06);
    border-color: rgba(0, 164, 180, 0.4);
    box-shadow: 0 12px 35px rgba(0, 164, 180, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1.03);
}
.premium-ad-banner:hover .ad-banner-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 164, 180, 0.3));
}

/* Legacy Icon Wrapper (Fallback if logo is missing) */
.ad-banner-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(0, 164, 180, 0.1);
    border: 1px solid rgba(0, 164, 180, 0.2);
    border-radius: 14px;
    color: var(--brand);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 164, 180, 0.1);
    transition: all 0.3s ease;
}
.ad-banner-main-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}
.premium-ad-banner:hover .ad-banner-icon-wrapper {
    background: rgba(0, 164, 180, 0.18);
    transform: scale(1.05) rotate(5deg);
    color: #00e1f5;
}

/* Typography styling */
.ad-banner-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}
.ad-banner-badge-wrapper {
    margin-bottom: 2px;
}
.ad-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 164, 180, 0.12);
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 164, 180, 0.2);
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}
body.dark-mode .ad-banner-badge {
    background: rgba(0, 225, 245, 0.08);
    color: #00e1f5;
    border-color: rgba(0, 225, 245, 0.15);
}
.ad-banner-badge::before {
    content: '';
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981, 0 0 4px #10b981;
    animation: ledPulse 1.4s infinite alternate;
}
.premium-ad-banner:hover .ad-banner-badge {
    background: rgba(0, 164, 180, 0.18);
    border-color: rgba(0, 164, 180, 0.35);
    color: #ffffff;
}

.ad-banner-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}
.premium-ad-banner:hover .ad-banner-title {
    color: #00e1f5 !important;
}

.ad-banner-desc {
    font-size: 13.5px;
    color: #a0aec0;
    margin: 0;
    line-height: 1.7;
    transition: color 0.3s ease;
}
.premium-ad-banner:hover .ad-banner-desc {
    color: #cbd5e0;
}

/* Center Section Layout (Features) */
.ad-banner-center-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0.7;
    z-index: 3;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0 36px;
}
body.dark-mode .ad-banner-center-features {
    border-color: rgba(255, 255, 255, 0.04);
}
.ad-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    transition: all 0.3s ease;
}
.ad-feature-icon {
    width: 17px;
    height: 17px;
    color: var(--brand);
    transition: all 0.3s ease;
}
.premium-ad-banner:hover .ad-feature-item {
    color: #ffffff;
    transform: translateX(-4px);
}
.premium-ad-banner:hover .ad-feature-icon {
    color: #00e1f5;
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(0, 225, 245, 0.4));
}

/* Left Section Layout (CTA Button) */
.ad-banner-left {
    z-index: 3;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.ad-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #ffffff !important;
    padding: 14px 30px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 164, 180, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.15);
    animation: btnPulse 2s infinite alternate;
}
.ad-btn-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    transition: transform 0.3s ease;
}
.ad-banner-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 164, 180, 0.6);
    border-color: rgba(255,255,255,0.3);
}
.ad-banner-btn:hover .ad-btn-icon {
    transform: rotate(-10deg) scale(1.1);
}

.ad-banner-sub-btn {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}
.premium-ad-banner:hover .ad-banner-sub-btn {
    color: var(--brand);
    text-shadow: 0 0 8px rgba(0, 164, 180, 0.3);
}

/* Animations */
@keyframes ledPulse {
    0% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 5px #10b981; }
    100% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #10b981, 0 0 6px #10b981; }
}

@keyframes btnPulse {
    0% { box-shadow: 0 6px 18px rgba(0, 164, 180, 0.35); }
    100% { box-shadow: 0 6px 28px rgba(0, 164, 180, 0.6), 0 0 10px rgba(0, 164, 180, 0.2); }
}

/* Responsiveness adjustments */
@media (max-width: 1300px) {
    .premium-ad-banner {
        padding: 32px 36px;
        gap: 24px;
    }
    .ad-banner-logo-wrapper {
        width: 120px;
        height: 64px;
        padding: 8px 12px;
    }
    .ad-banner-logo {
        max-height: 40px;
    }
    .ad-banner-title {
        font-size: 19px;
    }
    .ad-banner-center-features {
        padding: 0 24px;
    }
}

@media (max-width: 1099px) {
    .ad-banner-center-features {
        display: none;
    }
}

@media (max-width: 991px) {
    .premium-ad-banner {
        flex-direction: column;
        padding: 36px 24px;
        gap: 28px;
        text-align: center;
    }
    .ad-banner-right {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
    }
    .ad-banner-logo-wrapper {
        margin: 0 auto;
    }
    .ad-banner-content {
        align-items: center;
        text-align: center;
    }
    .ad-banner-left {
        width: 100%;
        gap: 8px;
    }
    .ad-banner-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════════════════════
   ARCHIVE / SEARCH / 404
   ══════════════════════════════════════════════════════════════ */
.archive-header, .search-header, .author-header {
    margin-bottom: 32px;
}
/* ── Premium Archive Card Header ────────────────────────────── */
.premium-archive-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
body.dark-mode .premium-archive-card {
    border-color: var(--border);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(26, 26, 36, 0.5) 100%);
}
.premium-archive-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 164, 180, 0.08) 0%, rgba(0, 164, 180, 0) 70%);
    pointer-events: none;
    z-index: 1;
}
.archive-card-right {
    flex: 1;
    z-index: 2;
}
.archive-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 12px;
}
.archive-breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--speed);
}
.archive-breadcrumbs a:hover {
    color: var(--brand);
}
.archive-breadcrumbs .sep {
    color: var(--text-light);
    font-size: 10px;
}
.archive-breadcrumbs .current {
    color: var(--brand);
    font-weight: 600;
}
.premium-archive-card .archive-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    padding-right: 18px;
    margin: 0 0 10px 0;
    line-height: 1.25;
}
.premium-archive-card .archive-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    border-radius: 2.5px;
    background: var(--brand);
    box-shadow: 0 0 10px rgba(0, 164, 180, 0.4);
}
.premium-archive-card .archive-description {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 680px;
    margin: 0;
}
.archive-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
    z-index: 2;
}
.archive-stats-badge {
    background: var(--brand-bg);
    border: 1px solid rgba(0, 164, 180, 0.15);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-align: center;
}
.archive-stats-badge .stats-number {
    font-size: 26px;
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 6px;
}
.archive-stats-badge .stats-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}
.archive-rss-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-white);
    transition: all var(--speed);
}
body.dark-mode .archive-rss-link {
    background: var(--bg-card);
}
.archive-rss-link:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-bg);
    transform: translateY(-2px);
}
.archive-rss-link svg {
    color: var(--brand);
}

@media (max-width: 768px) {
    .premium-archive-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }
    .archive-card-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border-top: 1px solid var(--border-light);
        padding-top: 16px;
    }
    body.dark-mode .archive-card-left {
        border-top-color: var(--border);
    }
    .archive-stats-badge {
        padding: 8px 16px;
        min-width: 0;
        flex-direction: row;
        gap: 6px;
    }
    .archive-stats-badge .stats-number {
        font-size: 18px;
        margin-bottom: 0;
    }
    .premium-archive-card .archive-title {
        font-size: 26px;
    }
}
.search-title, .author-title { font-size: 24px; font-weight: 800; }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }

.error-404-page { text-align: center; padding: 80px 20px; }
.error-404-code { font-size: 100px; font-weight: 900; color: var(--brand); line-height: 1; opacity: 0.15; }
.error-404-title { font-size: 24px; margin-bottom: 10px; }
.error-404-desc { color: var(--text-muted); margin-bottom: 28px; }

.pagination {
    width: 100%;
    display: flex; justify-content: center;
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--border-light);
}
body.dark-mode .pagination {
    border-top-color: var(--border);
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 6px;
    font-weight: 600; font-size: 13.5px;
    border: 1px solid var(--border); color: var(--text-muted);
    transition: all var(--speed);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 240px 1fr 240px;
        gap: 16px;
    }
}
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--gap);
    }
    .hero-center {
        order: 1;
        padding: 0;
    }
    .sidebar-right {
        order: 2;
        border-left: none !important;
        padding-left: 0 !important;
    }
    .sidebar-left {
        order: 3;
        border-right: none !important;
        padding-right: 0 !important;
    }
    .hero-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .reports-grid { grid-template-columns: 1fr; }
    .dual-grid { grid-template-columns: 1fr; gap: 32px; }
    .video-grid { grid-template-columns: repeat(2,1fr); }
    .opinions-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .posts-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    #menu-toggle { display: flex; }
    body.mobile-menu-open .header-right,
    body.mobile-menu-open .header-actions {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        padding: 24px 20px;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0,0,0,0.12);
    }
    body.dark-mode .main-navigation {
        background: rgba(26, 26, 36, 0.95);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -10px 0 40px rgba(0,0,0,0.35);
    }
    .main-navigation.active {
        transform: translateX(0);
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 24px;
        flex-shrink: 0;
    }
    body.dark-mode .mobile-menu-header {
        border-bottom-color: var(--border);
    }
    .mobile-menu-logo .site-logo {
        max-height: 38px;
        width: auto;
    }
    .mobile-menu-logo .logo-text {
        font-size: 22px;
        font-weight: 900;
        color: var(--brand);
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .mobile-menu-close {
        background: rgba(0, 0, 0, 0.04);
        border: none;
        color: var(--text-muted);
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background var(--speed), color var(--speed), transform var(--speed);
    }
    body.dark-mode .mobile-menu-close {
        background: rgba(255, 255, 255, 0.04);
    }
    .mobile-menu-close:hover {
        background: var(--brand);
        color: #fff;
        transform: rotate(90deg);
    }
    .mobile-menu-close svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-menu-content {
        flex: 1;
        overflow-y: auto;
        margin-bottom: 24px;
        width: 100%;
    }
    
    .main-navigation a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: var(--text-body) !important;
        border-radius: 8px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 4px;
    }
    body.dark-mode .main-navigation a {
        color: var(--text-primary) !important;
    }
    
    .main-navigation a::after {
        content: '';
        display: inline-block;
        width: 14px;
        height: 14px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.3;
        transition: transform var(--speed), opacity var(--speed);
    }
    body.dark-mode .main-navigation a::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
    }
    
    .main-navigation a:hover,
    .main-navigation .current-menu-item > a {
        color: var(--brand) !important;
        background: var(--brand-bg) !important;
        padding-right: 20px !important;
    }
    
    .main-navigation a:hover::after,
    .main-navigation .current-menu-item > a::after {
        opacity: 1;
        transform: translateX(-4px);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a4b4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
    }
    
    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--border-light);
        text-align: center;
        flex-shrink: 0;
        width: 100%;
    }
    body.dark-mode .mobile-menu-footer {
        border-top-color: var(--border);
    }
    .mobile-menu-social {
        display: flex;
        justify-content: center;
        gap: 16px;
        margin-bottom: 12px;
    }
    .mobile-menu-social a {
        color: var(--text-light) !important;
        display: flex !important;
        transition: color var(--speed), transform var(--speed);
        padding: 0 !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    .mobile-menu-social a::after {
        display: none !important;
    }
    .mobile-menu-social a:hover {
        color: var(--brand) !important;
        transform: translateY(-2px);
    }
    .mobile-menu-social svg {
        width: 18px;
        height: 18px;
    }
    .mobile-menu-copy {
        font-size: 11.5px;
        color: var(--text-muted);
    }

    .hero-sidebar { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .opinions-grid { grid-template-columns: 1fr 1fr; }
    .related-posts-grid, .posts-grid { grid-template-columns: 1fr; }
    .card-featured-img { min-height: 280px; }
    .card-featured-title { font-size: 18px; }
    .card-large .card-title { font-size: 18px; }
    .post-title-main { font-size: 22px; }

    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-newsletter-form-compact { flex-direction: column; }
    .footer-newsletter-submit-compact { padding: 10px; }
    .share-buttons-container { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .opinions-grid { grid-template-columns: 1fr; }
    .error-404-code { font-size: 72px; }
}

/* ── Scrollbar (dark mode) ──────────────────────────────────── */
body.dark-mode::-webkit-scrollbar { width: 8px; }
body.dark-mode::-webkit-scrollbar-track { background: #111118; }
body.dark-mode::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 4px; }

/* ── Focus states ───────────────────────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--brand); outline-offset: 2px;
}

/* ── Floating Sticky Social Bar (Vertical) ───────────────────── */
.sticky-social-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    padding: 12px 8px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background var(--speed), border-color var(--speed), box-shadow var(--speed);
}
body.dark-mode .sticky-social-bar {
    background: rgba(30, 30, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}
.sticky-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--speed);
}
.sticky-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.sticky-social-link:hover {
    transform: scale(1.1) translateX(3px);
    color: #fff !important;
}
.sticky-social-facebook:hover { background: #1877f2; }
.sticky-social-twitter:hover { background: #000000; }
.sticky-social-instagram:hover { background: #e1306c; }
.sticky-social-youtube:hover { background: #ff0000; }

@media (max-width: 768px) {
    .sticky-social-bar {
        display: none !important;
    }
}

/* ── Archive Premium Featured Grid ──────────────────────────── */
.archive-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 20px;
    margin-bottom: 40px;
}
.archive-featured-grid > *:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}
.archive-featured-grid > *:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}
.archive-featured-grid > *:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}
.archive-featured-grid > *:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}
.archive-featured-grid > *:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}
.archive-featured-grid > *:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
}

.archive-featured-grid .card-overlay-style {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    position: relative;
    background: #111118 !important;
    transition: border-color var(--speed) ease, box-shadow var(--speed) ease !important;
}
body.dark-mode .archive-featured-grid .card-overlay-style {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}
.archive-featured-grid .card-overlay-style:hover {
    border-color: var(--brand) !important;
    box-shadow: 0 8px 30px rgba(0, 164, 180, 0.2) !important;
}
body.dark-mode .archive-featured-grid .card-overlay-style:hover {
    box-shadow: 0 8px 30px rgba(0, 164, 180, 0.3) !important;
}
.archive-featured-grid .card-img-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: calc(var(--radius) - 1px) !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
}
.archive-featured-grid .card-img-wrapper a {
    display: block !important;
    height: 100% !important;
    width: 100% !important;
}
.archive-featured-grid img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.archive-featured-grid .card-overlay-style:hover img {
    transform: scale(1.05) !important;
}
.archive-featured-grid .card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 20px !important;
    background: linear-gradient(to top, 
        rgba(15, 23, 42, 0.96) 0%, 
        rgba(15, 23, 42, 0.8) 35%, 
        rgba(15, 23, 42, 0.3) 65%, 
        rgba(15, 23, 42, 0) 100%) !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
    height: 100%;
}
body.dark-mode .archive-featured-grid .card-overlay-content {
    background: linear-gradient(to top, 
        rgba(10, 10, 15, 0.98) 0%, 
        rgba(10, 10, 15, 0.85) 35%, 
        rgba(10, 10, 15, 0.3) 65%, 
        rgba(10, 10, 15, 0) 100%) !important;
}
.archive-featured-grid .card-overlay-style:hover .card-overlay-content {
    transform: translateY(-4px);
}
.archive-featured-grid a {
    color: #fff !important;
    pointer-events: auto;
}
.archive-featured-grid a:hover {
    color: var(--brand) !important;
}
.archive-featured-grid .card-meta {
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500;
}
.archive-featured-grid .card-category {
    background: rgba(0, 164, 180, 0.15) !important;
    border: 1px solid rgba(0, 164, 180, 0.3) !important;
    color: #00e1f5 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-block;
}
.archive-featured-grid .card-category a {
    color: #00e1f5 !important;
}
.archive-featured-grid .card-category a:hover {
    color: #fff !important;
}
.archive-featured-grid .card-date {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 11px !important;
}
.archive-featured-grid .card-large.card-overlay-style .card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45;
    margin: 0 0 4px 0 !important;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    transition: color var(--speed) ease;
}
.archive-featured-grid > *:nth-child(1).card-large.card-overlay-style .card-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.35;
    margin-bottom: 10px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.archive-featured-grid .card-excerpt {
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.archive-featured-grid > *:not(:nth-child(1)) .card-excerpt {
    display: none !important;
}

@media (max-width: 1024px) {
    .archive-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 16px;
    }
    .archive-featured-grid > * {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }
    .archive-featured-grid > *:nth-child(1),
    .archive-featured-grid > *:nth-child(6) {
        grid-column: span 2 !important;
    }
    .archive-featured-grid .card-img-wrapper {
        min-height: 240px !important;
    }
    .archive-featured-grid > *:nth-child(1) .card-img-wrapper,
    .archive-featured-grid > *:nth-child(6) .card-img-wrapper {
        min-height: 300px !important;
    }
    .archive-featured-grid .card-excerpt {
        display: none !important;
    }
    .archive-featured-grid > *:nth-child(1) .card-excerpt,
    .archive-featured-grid > *:nth-child(6) .card-excerpt {
        display: -webkit-box !important;
    }
    .archive-featured-grid > *:nth-child(1).card-large.card-overlay-style .card-title,
    .archive-featured-grid > *:nth-child(6).card-large.card-overlay-style .card-title {
        font-size: 22px !important;
    }
}
@media (max-width: 768px) {
    .archive-featured-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .archive-featured-grid > * {
        grid-column: span 1 !important;
    }
    .archive-featured-grid .card-img-wrapper {
        min-height: 200px !important;
    }
    .archive-featured-grid > *:nth-child(1) .card-img-wrapper,
    .archive-featured-grid > *:nth-child(6) .card-img-wrapper {
        min-height: 240px !important;
    }
    .archive-featured-grid > *:nth-child(1).card-large.card-overlay-style .card-title,
    .archive-featured-grid > *:nth-child(6).card-large.card-overlay-style .card-title {
        font-size: 18px !important;
    }
}

/* ── Subscribe Modal Overlay ────────────────────────────────── */
.subscribe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.subscribe-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.subscribe-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}
body.dark-mode .subscribe-modal-card {
    border-color: var(--border);
    background: #181824;
}
.subscribe-modal-overlay.active .subscribe-modal-card {
    transform: scale(1);
}
.subscribe-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--speed), color var(--speed);
}
.subscribe-modal-close:hover {
    background: var(--brand-bg);
    color: var(--brand);
}
.subscribe-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.subscribe-modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.subscribe-modal-form {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 24px;
}
.subscribe-modal-input {
    flex: 1;
    background: var(--bg-body);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: border-color var(--speed);
}
body.dark-mode .subscribe-modal-input {
    background: #12121a;
}
.subscribe-modal-input:focus {
    border-color: var(--brand);
}
.subscribe-modal-submit-btn {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--speed);
}
.subscribe-modal-submit-btn:hover {
    background: var(--brand-dark);
}
.subscribe-modal-info {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
body.dark-mode .subscribe-modal-info {
    border-top-color: var(--border);
}
.subscribe-modal-info .info-item {
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.subscribe-modal-info .info-label {
    font-weight: 600;
}
.subscribe-modal-info .info-val {
    color: var(--text-body);
    transition: color var(--speed);
}
.subscribe-modal-info .info-val:hover {
    color: var(--brand);
}
.subscribe-modal-info .rss-val {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-muted);
}
.subscribe-modal-info .rss-val:hover {
    color: var(--brand);
}
.subscribe-modal-info .rss-val svg {
    color: var(--brand);
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
    .site-header,.site-footer,.news-ticker,.share-buttons-container,
    .ad-container,.topbar,.sticky-social-bar { display: none !important; }
    body { color: #000; background: #fff; }
}
