/* ==========================================================================
   CSS Variables & Reset (ZTB Minimalist Aesthetic)
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #14471e; /* Dark Green */
    --accent: #e31e24;  /* Red */
    --primary-light: #2ecc71; /* For dark mode */

    /* Light Theme (Default) */
    --bg-main: #ffffff;
    --bg-secondary: #f4f4f4; /* Slightly grayer for contrast like ztb */
    --bg-tertiary: #f0f0f0;
    --text-main: #111111; /* Almost black */
    --text-muted: #595959;  /* 7.0:1 contrast — passes WCAG AA & AAA */
    --border-color: #eaeaea;
    --card-shadow: none; /* Flat design */
    
    /* Typography */
    --font-logo: 'Alumni Sans Pinstripe', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-ui: 'Montserrat', sans-serif;
}

[data-theme="dark"] {
    --bg-main: #121212;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #222222;
    --text-main: #f5f5f5;
    --text-muted: #999999;
    --border-color: #333333;
    --card-shadow: none;
    
    /* Strict Black & White */
    --accent: #ffffff; 
    --primary: #ffffff;
}

/* Dark Mode Overrides for strict B&W */
[data-theme="dark"] .btn-top-subscribe,
[data-theme="dark"] .category-badge,
[data-theme="dark"] .btn--primary,
[data-theme="dark"] .tab.active,
[data-theme="dark"] .ticker__label,
[data-theme="dark"] .scroll-to-top {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-top-subscribe:hover,
[data-theme="dark"] .btn--primary:hover,
[data-theme="dark"] .scroll-to-top:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

[data-theme="dark"] .footer {
    background-color: #0a0a0a;
    border-top: 1px solid #333;
}

[data-theme="dark"] .video-section {
    background-color: #121212;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

[data-theme="dark"] .footer__desc,
[data-theme="dark"] .footer__links a,
[data-theme="dark"] .footer__contacts p,
[data-theme="dark"] .footer__bottom,
[data-theme="dark"] .most-read li::before {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .search-popup {
    background-color: rgba(18, 18, 18, 0.95) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main); /* White background overall */
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

[data-theme="dark"] a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-family: var(--font-ui);
    color: var(--text-muted);
    font-weight: 500;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-top-subscribe {
    background-color: var(--accent);
    color: #fff;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-top-subscribe:hover {
    background-color: #b7181c; /* Darker red */
    color: #fff;
}

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather, .currency, .social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
    color: var(--text-main);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary);
}

[data-theme="dark"] .theme-toggle:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    position: relative;
}

.header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    animation: slideDownNav 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="dark"] .header.is-fixed {
    box-shadow: 0 4px 12px rgba(255,255,255,0.05);
}

@keyframes slideDownNav {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}



.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: var(--primary); /* Premium Green */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s ease-out;
    opacity: 0;
}

.header.is-fixed .scroll-progress {
    opacity: 1;
}

.header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-logo img {
    height: auto;
    max-height: 80px; /* allowing it to be bigger */
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Navigation */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 30px;
}

.nav__list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav__list a {
    color: var(--text-main);
    text-decoration: none;
    position: relative;
    padding: 18px 0; /* clickable area up to borders */
    transition: color 0.2s;
}

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

[data-theme="dark"] .nav__list a:hover {
    color: var(--primary-light);
}

/* Hamburger & Search */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.search-trigger {
    background: none;
    border: none;
    font-family: var(--font-ui);
    font-weight: 700;
    cursor: pointer;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker {
    display: flex;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    overflow: hidden;
}

.ticker__label {
    background-color: var(--accent);
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 1px;
}

.ticker__content {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    min-width: 0; /* Fix flexbox blowout bug */
}

.ticker__marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
    font-weight: 500;
    width: max-content;
}

.ticker__marquee > span {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.main {
    padding: 40px 20px;
}

.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.hero__main {
    height: 500px; /* Force a consistent height */
    max-height: 500px;
}

.hero__secondary {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-dark {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background-color: #000;
}

.card-dark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.5s ease;
}

.card-dark:hover img {
    transform: scale(1.03);
}

.card-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 71, 30, 0.95) 0%, transparent 80%);
    pointer-events: none;
}

[data-theme="dark"] .card-dark::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 80%);
}

.hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
}


.hero__content h1,
.hero__content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 15px 0;
    font-weight: 800;
    line-height: 1.2;
}

.hero__content a {
    color: #fff;
    transition: color 0.2s ease;
}

.hero__content a:hover,
.card-dark:hover .hero__content a {
    color: var(--accent);
    text-decoration: none;
}

.meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    gap: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.category-badge {
    background-color: var(--accent);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.category-badge--outline {
    background: none;
    color: var(--primary);
    border: 1px solid var(--primary);
}

[data-theme="dark"] .category-badge--outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.card {
    background-color: transparent;
    transition: transform 0.2s;
}

.card:hover h3,
.card:hover h3 a {
    color: var(--accent);
}

.card__img-wrap,
.feed__thumb-wrap {
    overflow: hidden;
    height: 100%;
    width: 100%;
}

/* Base rule for images to animate smoothly */
.card img, .feed__thumb, .gallery-item img, .video-thumb img {
    transition: transform 0.3s ease;
}

.card:hover img, .gallery-item:hover img, .video-card:hover img {
    transform: scale(1.05);
}

.card--small {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
}

.card--small img {
    height: 100px;
    width: 100%;
    object-fit: cover;
}

.card__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card__body .category-badge {
    align-self: flex-start;
    margin-bottom: 10px;
}

.card__body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
}

/* ==========================================================================
   Layout & Sidebar
   ========================================================================== */
.layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1; /* Allow to expand but respect siblings */
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--text-main);
}

.section-title--red::after {
    background-color: var(--accent);
}

.section-title--green::after {
    background-color: var(--primary);
}

.view-all {
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.view-all:hover {
    color: var(--accent);
}

.tabs {
    display: flex;
    gap: 10px;
    background: var(--bg-secondary);
    padding: 5px;
    border-radius: 30px;
}

.tab {
    background: none;
    border: none;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.tab.active {
    background-color: var(--text-main);
    color: var(--bg-main) !important;
}

.hidden { display: none; }

/* Feed Elegant */
.feed__list--elegant {
    display: flex;
    flex-direction: column;
}

.feed__item--elegant {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    align-items: center;
}

.feed__item--elegant:last-child {
    border-bottom: none;
}

.feed__thumb-wrap {
    width: 110px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

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

.feed__item--elegant:hover .feed__thumb {
    transform: scale(1.08);
}

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

.feed__text h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.feed__item--elegant:hover h3 a {
    color: var(--accent);
}

.feed__time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-ui);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feed__time::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--accent);
    border-radius: 50%;
}

.divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 50px 0;
}

/* Grid 2 Columns */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.featured-block .section-title {
    font-size: 1.4rem;
}

.card--analytic, .card--interview {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.card--analytic .card__img-wrap {
    height: 220px;
    width: 100%;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.card--analytic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.card--interview {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-left: 4px solid var(--primary);
    justify-content: flex-start;
}

.card--interview .card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.interview-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.speaker-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.speaker-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-readmore {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
    align-self: flex-start;
    margin-top: auto;
}

.btn-readmore:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Featured Sub-Lists */
.featured-sub-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    height: 340px; /* Fixed height instead of max-height */
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for sub-lists */
.featured-sub-list::-webkit-scrollbar {
    width: 4px;
}
.featured-sub-list::-webkit-scrollbar-track {
    background: transparent;
}
.featured-sub-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
.featured-sub-list:hover::-webkit-scrollbar-thumb {
    background: var(--text-muted);
}

.featured-sub-list {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.feed__item--small {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.feed__item--small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feed__item--small .feed__thumb-wrap {
    width: 100px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
}

.feed__item--small .feed__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feed__item--small:hover .feed__thumb {
    transform: scale(1.05);
}

.feed__item--small h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.feed__item--small h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.feed__item--small:hover h3 a {
    color: var(--primary);
}

.feed__item--small .feed__meta {
    font-size: 0.75rem;
    color: #888;
}

/* Gallery & Video */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    background-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
}

.photo-count {
    font-size: 0.75rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.video-section {
    background-color: var(--primary);
    color: #fff;
    padding: 40px;
    margin-top: 50px;
}

.video-section .section-title {
    border-bottom-color: #333;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
    margin-bottom: 15px;
    background-color: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.video-card:hover .video-thumb img {
    opacity: 0.5;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(227,30,36,0.9); /* Accent red */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
}

.video-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}


/* Sidebar Widgets */
.widget {
    margin-bottom: 50px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--text-main);
    text-transform: uppercase;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtags a {
    background-color: var(--bg-secondary);
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.hashtags a:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
}

.most-read {
    counter-reset: top5;
}

.most-read li {
    position: relative;
    padding: 15px 0 15px 35px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.most-read li::before {
    counter-increment: top5;
    content: counter(top5);
    position: absolute;
    left: 0;
    top: 15px;
    font-weight: 800;
    color: var(--border-color);
    font-size: 1.5rem;
    line-height: 1;
    font-family: var(--font-heading);
}

/* Poll */
.poll-question {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.poll-option {
    display: block;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    font-family: var(--font-ui);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn--primary {
    background-color: var(--primary);
    color: #fff;
    margin-top: 10px;
}

.btn--primary:hover {
    background-color: #0e3314;
}

.poll-results {
    margin-top: 15px;
}

.result-bar {
    background-color: var(--bg-secondary);
    height: 6px;
    margin-top: 5px;
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background-color: var(--accent);
}

.result-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 15px;
}

.ad-banner {
    background-color: var(--bg-secondary);
    height: clamp(200px, 30vw, 350px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   All News Page
   ========================================================================== */
.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.news-card-horizontal {
    display: flex;
    gap: 25px;
    background: var(--bg-main);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

[data-theme="dark"] .news-card-horizontal:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.news-card-horizontal__img-wrap {
    flex: 0 0 250px;
    position: relative;
    overflow: hidden;
    height: auto;
    aspect-ratio: 16/9;
}

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

.news-card-horizontal:hover .news-card-horizontal__img-wrap img {
    transform: scale(1.05);
}

.news-card-horizontal__content {
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-horizontal .title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card-horizontal .excerpt {
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.meta--top {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
    align-items: center;
}

.meta--top svg {
    vertical-align: middle;
    margin-right: 4px;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.btn--load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    border-radius: 8px;
    min-width: 250px;
    transition: all 0.3s ease;
}

.btn--load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn--load-more.loading {
    opacity: 0.8;
    cursor: wait;
}

.btn--load-more.loading span {
    display: none;
}

.btn--load-more.loading .spinner-icon {
    display: block !important;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: #fff;
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__desc {
    margin-top: 20px;
    color: #999999;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer__links ul {
    list-style: none;
    padding: 0;
}

.footer__links ul li {
    margin-bottom: 10px;
}

.footer__links a {
    color: #cccccc;
    font-size: 0.95rem;
}

.footer__links a:hover {
    color: #ffffff;
}

.subscribe-form {
    display: flex;
    margin-top: 20px;
    border: 1px solid #333333;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    padding: 12px 15px;
    border: none;
    color: #fff;
    outline: none;
    font-family: var(--font-body);
}

.subscribe-form:focus-within {
    border-color: var(--accent);
}

.subscribe-form button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

.footer__contacts p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.article__share span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links--share {
    display: flex;
    gap: 12px;
}

/* --- Similar News Section --- */
.similar-news {
    width: 100%;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.similar-news .section-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--text-main);
}

.similar-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.social-links--light {
    display: flex;
    gap: 15px;
}

.social-links--light a {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222222;
    padding-top: 30px;
    font-size: 0.85rem;
    color: #777777;
}

.footer__legal {
    display: flex;
    gap: 30px;
}

.footer__legal a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Search Popup
   ========================================================================== */
.search-popup {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999; /* Must be higher than header's 1000 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.search-popup.active {
    opacity: 1;
    pointer-events: all;
}

.search-popup__inner {
    width: 100%;
    max-width: 800px;
    position: relative;
    padding: 20px;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.search-popup form {
    display: flex;
    border-bottom: 2px solid #fff;
}

.search-popup input {
    flex: 1;
    background: none;
    border: none;
    padding: 20px 0;
    color: #fff;
    font-size: 2rem;
    outline: none;
    font-family: var(--font-heading);
}

.search-popup input::placeholder {
    color: rgba(255,255,255,0.3);
}

.search-popup button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

[data-theme="dark"] .toast {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav__list {
        gap: 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero__main {
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 9;
    }
    
    .card-dark {
        min-height: 350px;
    }
    
    .card--small {
        grid-template-columns: 160px 1fr;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar__left .weather {
        display: none;
    }
    
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .header__actions {
        gap: 20px;
    }
    
    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-main);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 130px 30px 40px; /* Adjusted top padding to fit new header height */
        margin: 0; /* Reset desktop margin */
        overflow-y: auto;
        z-index: 100;
        text-align: left;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav__list {
        flex-direction: column;
        gap: 20px;
        font-size: 1.2rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .main {
        padding-top: 15px;
    }
    
    .hero__content {
        padding: 20px;
    }
    
    .hero__main {
        height: auto;
        max-height: none;
        min-height: unset;
        aspect-ratio: 4 / 3;
    }
    
    .hero__content h1,
    .hero__content h2 {
        font-size: 1.5rem;
    }
    
    .gallery-grid, .video-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-accordion-trigger {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
        margin-bottom: 0;
    }
    
    .accordion-icon {
        display: block !important;
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }
    
    .footer-accordion.active .accordion-icon {
        transform: rotate(45deg);
    }
    
    .footer-accordion-content {
        display: none;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .footer__links ul li {
        margin-bottom: 15px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .card--small {
        grid-template-columns: 100px 1fr;
    }
    
    .card-dark {
        min-height: unset;
    }

    .feed__item {
        grid-template-columns: 60px 80px 1fr;
        gap: 10px;
    }
    
    .feed__thumb {
        height: 60px;
    }

    .news-card-horizontal {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        padding: 15px 0;
        border-radius: 0;
    }
    
    .news-card-horizontal:last-child {
        border-bottom: none;
    }
    
    .news-card-horizontal__img-wrap {
        flex: 0 0 110px;
        height: 80px;
        border-radius: 6px;
        aspect-ratio: auto;
    }
    
    .news-card-horizontal__content {
        padding: 0;
    }
    
    .news-card-horizontal .title {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    
    .news-card-horizontal .excerpt {
        display: none;
    }
    
    .news-card-horizontal .meta--top {
        margin-bottom: 0;
        font-size: 0.75rem;
    }
    
    .btn--load-more {
        width: 100%;
    }

    .ticker {
        font-size: 0.75rem;
    }
    
    .ticker__label {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-right: none;
        border-bottom: 1px solid #333333;
        width: 100%;
    }
    
    .subscribe-form button {
        width: 100%;
        padding: 15px;
    }
    
    .card--small {
        grid-template-columns: 80px 1fr;
    }
    
    .card__body h3 {
        font-size: 0.95rem;
    }
    
    .feed__text h3 {
        font-size: 0.95rem;
    }
    
    .news-card-horizontal .title {
        font-size: 1.15rem;
    }
    
    .hero__main {
        grid-column: 1 / -1;
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
    }
    
    .hero__content {
        padding: 15px;
    }
    
    .hero__main h1,
    .hero__main h2 {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        margin: 10px 0;
    }
    
    .hero__content .meta {
        font-size: 0.7rem;
    }
    
    .article__share {
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 1.2rem;
    }

    .search-popup input {
        font-size: 1.2rem;
        min-width: 0;
        padding: 10px 0;
    }
    
    .search-popup button {
        font-size: 1rem;
        padding-left: 10px;
    }
    
    .search-close {
        top: -40px;
        right: 10px;
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background-color: #c0171e;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Article Page (news.html)
   ========================================================================== */
.article-page {
    padding: 40px 20px 80px;
}

.article {
    width: 100%;
    max-width: 800px;
    margin: 0 auto; /* Centered narrow column for readability */
}

.article__header {
    margin-bottom: 20px;
}

.article__breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article__breadcrumbs a {
    color: var(--text-muted);
}

.article__breadcrumbs a:hover {
    color: var(--accent);
}

.article__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 15px;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.article__author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.article__author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.article__views {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.article__cover {
    margin: 20px 0;
}

.article__cover img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.article__cover figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
    font-style: italic;
}

.article__body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.article__body p {
    margin-bottom: 1.75em;
}

.article__body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(20, 71, 30, 0.3);
    font-weight: 600;
    transition: all 0.3s ease;
}

.article__body a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
    background-color: rgba(227, 30, 36, 0.05);
}

[data-theme="dark"] .article__body a {
    color: var(--primary-light);
    text-decoration-color: rgba(46, 204, 113, 0.4);
}

[data-theme="dark"] .article__body a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.05);
}

.article__lead {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 2em;
}

.article__body h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 2em 0 1em;
    font-weight: 800;
    line-height: 1.4;
}

.article__body blockquote {
    position: relative;
    margin: 2.5em 0;
    padding: 1.5em 2em 1.5em 3.5em;
    border-left: 4px solid var(--primary);
    background-color: var(--bg-secondary);
    border-radius: 0 12px 12px 0;
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-main);
}

/* Override blockquote styles for social media embeds */
.article__body blockquote.instagram-media,
.article__body blockquote.text-post-media {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 1px auto !important;
    font-style: normal !important;
    border-radius: 12px !important;
}
.article__body blockquote.instagram-media::before,
.article__body blockquote.text-post-media::before {
    display: none !important;
}

/* Hide the original blockquote once Threads script processes it */
blockquote.text-post-media-registered {
    display: none !important;
}

.article__body blockquote::before {
    content: '"';
    position: absolute;
    left: 15px;
    top: 5px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
}

.article__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.article__table th,
.article__table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article__table th {
    background-color: var(--bg-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.article__table tbody tr:hover {
    background-color: var(--bg-tertiary);
}

/* Interview Q&A */
.article__interview {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.interview-q {
    font-weight: 700;
    margin-bottom: 10px !important;
    color: var(--text-main);
}

.interview-a {
    margin-bottom: 30px !important;
}

.interview-a:last-child {
    margin-bottom: 0 !important;
}

/* Instagram Embed Mock */
.embed-mock {
    max-width: 500px;
    margin: 40px auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-main);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.embed-mock__header {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.embed-mock__header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.embed-mock__header div {
    display: flex;
    flex-direction: column;
}

.embed-mock__header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.embed-mock__icon {
    margin-left: auto;
    color: var(--text-main);
}

.embed-mock__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.embed-mock__footer {
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.embed-mock__actions {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.embed-mock__actions svg {
    cursor: pointer;
    transition: transform 0.2s;
}

.embed-mock__actions svg:hover {
    transform: scale(1.1);
}

.embed-mock__footer p {
    margin-bottom: 5px !important;
}

/* Article Footer (Tags & Share) */
.article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article__tags span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 5px;
}

.article__tags a {
    background-color: var(--bg-secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.article__tags a:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
}

.article__share {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
}

.social-links--share {
    display: flex;
    gap: 10px;
}

.social-links--share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links--share .share-whatsapp:hover {
    background-color: #25D366;
    color: #fff;
}

.social-links--share .share-facebook:hover {
    background-color: #1877F2;
    color: #fff;
}

.social-links--share .share-telegram:hover {
    background-color: #0088cc;
    color: #fff;
}

.social-links--share .share-threads:hover {
    background-color: #000000;
    color: #fff;
}

.social-links--share .share-copy:hover {
    background-color: var(--accent);
    color: #fff;
}

/* Dark Mode Overrides for Article */
[data-theme="dark"] .article__body blockquote {
    border-left: 5px solid #ffffff;
}

[data-theme="dark"] .article__tags a {
    border: 1px solid #333;
}

[data-theme="dark"] .article__tags a:hover {
    background-color: #fff;
    color: #000;
}

[data-theme="dark"] .social-links--share a:hover {
    background-color: #fff;
    color: #000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .article-page {
        padding: 20px 15px 40px;
    }
    
    .article__header {
        margin-bottom: 15px;
    }
    
    .article__breadcrumbs {
        margin-bottom: 10px;
        font-size: 0.75rem;
    }

    .article__title {
        font-size: clamp(1.25rem, 5vw, 1.4rem);
        margin-bottom: 10px;
        line-height: 1.25;
    }
    
    .article__meta {
        padding-bottom: 15px;
        gap: 10px;
    }
    
    .article__author img {
        width: 28px;
        height: 28px;
    }
    
    .article__cover {
        margin: 15px 0;
    }
    
    .article__cover img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
    
    .article__body {
        font-size: 1.05rem;
    }
    
    .article__body blockquote {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .embed-mock {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 40px -20px; /* Stretch full width on mobile */
    }
}

/* ==========================================================================
   Subscribe Popup Modern Light Form
   ========================================================================== */
.subscribe-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.subscribe-popup.active {
    opacity: 1;
    visibility: visible;
}

.subscribe-popup__inner {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.subscribe-popup.active .subscribe-popup__inner {
    transform: translateY(0);
}

[data-theme="dark"] .subscribe-popup__inner {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.subscribe-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

[data-theme="dark"] .subscribe-close {
    color: #aaa;
}

.subscribe-popup h2 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.subscribe-popup p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.subscribe-popup input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-main);
}

.subscribe-popup input:focus {
    border-color: var(--primary);
}

.subscribe-popup button[type="submit"] {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 1.1rem;
}

.article__body figure {
    margin: 3em 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.article__body figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Standalone images */
.article__body > p > img,
.article__body > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 2em 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.article__body figcaption {
    padding: 15px 20px;
    font-size: 0.95rem;
    color: var(--text-muted, #64748b);
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-ui);
    line-height: 1.5;
}

.author-bio-card {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .ticker__marquee {
        animation: none;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* INTERVIEW BLOCKQUOTE STYLING */
.article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ef4444;
    border-right: 4px solid #ef4444;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    clear: both;
    overflow: hidden;
}

[data-theme="dark"] .article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) {
    background: #1e293b;
    border-color: #334155;
    border-left-color: #ef4444;
    border-right-color: #ef4444;
}

.article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) p {
    margin: 0;
}

/* Hide default quote icon for interview blockquotes */
.article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img)::before {
    display: none;
}

.article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) img {
    float: left;
    width: 140px;
    height: 140px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin-right: 24px;
    margin-bottom: 12px;
    shape-outside: circle(50%);
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive adjustment for mobile */
@media (max-width: 640px) {
    .article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) {
        padding: 16px;
    }
    .article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) img {
        width: 100px;
        height: 100px !important;
        margin-right: 16px;
        border-width: 2px;
    }
}

[data-theme="dark"] .article__body blockquote:not(.instagram-media):not(.twitter-tweet):has(img) img {
    border-color: #334155;
}
