/* =====================================================================
   GEARCHOICE — MODERN LIGHT THEME PUBLISHING DESIGN SYSTEM
   Ultra-fast first paint, crisp high-contrast typography, mobile-first
   ===================================================================== */

:root {
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --border-color: #e2e8f0;
    --border-subtle: #cbd5e1;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.12);
    --accent-hover: #1d4ed8;
    
    --tag-bg: #eff6ff;
    --tag-color: #2563eb;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Charter", "Bitstream Charter", "Sitka Text", Cambria, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --max-w-content: 720px;
    --max-w-page: 1140px;
}

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

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

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =====================================================================
   Header & Navigation
   ===================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: var(--max-w-page);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-badge {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Desktop Horizontal Nav */
.site-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.15s ease;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    background: var(--tag-bg);
}

/* Toggle Hamburger Button - Visible on All Screens */
.mobile-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.15s ease;
    user-select: none;
}

.mobile-toggle-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: var(--accent);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 17px;
    height: 13px;
}

.toggle-bar {
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.toggle-btn-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

/* =====================================================================
   Mobile Slide-out Sidebar Drawer
   ===================================================================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sidebar-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 310px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    z-index: 99999;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    visibility: hidden;
    overflow-y: auto;
    pointer-events: none;
}

.mobile-sidebar.open {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.sidebar-open {
    overflow: hidden !important;
}

.mobile-toggle-btn * {
    pointer-events: none;
}

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

.sidebar-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: #64748b;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sidebar-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.sidebar-body {
    padding: 1.25rem;
    flex: 1;
}

.sidebar-section-title {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sidebar-link:hover {
    background: var(--tag-bg);
    color: var(--accent);
    transform: translateX(4px);
}

.sidebar-footer {
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: #94a3b8;
    background: #f8fafc;
}

@media (max-width: 860px) {
    .mobile-toggle-btn {
        display: flex;
    }
    .site-nav {
        display: none;
    }
}

/* =====================================================================
   Main Container & Cards
   ===================================================================== */
.main-wrapper {
    flex: 1;
    max-width: var(--max-w-page);
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

/* Hero & Featured Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.card-img-wrapper {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}

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

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

.card-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-tag {
    align-self: flex-start;
    background: var(--tag-bg);
    color: var(--tag-color);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.6rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card:hover .card-title {
    color: var(--accent);
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
    display: flex;
    gap: 0.8rem;
}

/* =====================================================================
   Article Reading View (Mobile First Light Theme)
   ===================================================================== */
.article-container {
    max-width: var(--max-w-content);
    margin: 0 auto;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-category {
    display: inline-block;
    background: var(--tag-bg);
    color: var(--tag-color);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.article-headline {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

@media (min-width: 640px) {
    .article-headline {
        font-size: 2.35rem;
    }
}

.article-byline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.article-featured-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
}

.article-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Body typography */
.article-content {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 1.4rem;
}

.article-content h2 {
    font-family: var(--font-sans);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2.25rem 0 0.85rem;
    line-height: 1.3;
}

.article-content h3 {
    font-family: var(--font-sans);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.75rem 0 0.65rem;
}

.article-content ul, .article-content ol {
    margin: 0 0 1.4rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    background: #f1f5f9;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1.75rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* =====================================================================
   Author Box Component (Light Theme)
   ===================================================================== */
.author-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.25rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.author-box-content {
    flex: 1;
}

.author-box-label {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-box-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.35rem 0;
}

.author-box-bio {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 640px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
}

/* =====================================================================
   Social Share Bar
   ===================================================================== */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 0.3rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.15s ease;
}

.share-btn:hover {
    opacity: 0.88;
}

.share-fb { background: #1877f2; }
.share-wa { background: #25d366; }
.share-tg { background: #0088cc; }
.share-x  { background: #0f1419; }

/* =====================================================================
   Read Next & Recommended Section
   ===================================================================== */
.read-next-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =====================================================================
   Site Footer — Rich Multi-Column Layout
   ===================================================================== */
.site-footer {
    background: #f8fafc;
    border-top: 2px solid var(--border-color);
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ── Footer Main: 4-col grid ── */
.footer-main {
    max-width: var(--max-w-page);
    margin: 0 auto;
    padding: 3rem 1.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
}

@media (min-width: 560px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .footer-main {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Brand Column */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-logo-badge {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 0.18rem 0.45rem;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.footer-disclaimer-note {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    border-left: 3px solid var(--border-subtle);
    padding-left: 0.75rem;
}

/* Link Columns */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-heading {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.footer-col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}

.footer-col-list a:hover {
    color: var(--accent);
    padding-left: 3px;
}

.footer-ad-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.03em;
}

/* ── Footer Bottom Bar ── */
.footer-bottom {
    max-width: var(--max-w-page);
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.footer-admin-link {
    opacity: 0.55;
}

.footer-admin-link:hover {
    opacity: 1 !important;
}

/* =====================================================================
   Static Legal / Info Pages
   ===================================================================== */
.static-page-container {
    padding: 2rem 0 3rem;
}

.static-page-hero {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.static-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .static-page-title {
        font-size: 2.75rem;
    }
}

.static-page-content {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.static-page-content h2 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2.25rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.3;
}

.static-page-content h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.static-page-content p {
    margin-bottom: 1.2rem;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 1.3rem 1.5rem;
}

.static-page-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.static-page-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.static-page-content a:hover {
    color: var(--accent-hover);
}

.static-page-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

.static-page-content em {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =====================================================================
   Consent Gate Banner
   ===================================================================== */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    z-index: 9999;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
}

.consent-inner {
    max-width: var(--max-w-page);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .consent-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.consent-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.consent-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #f1f5f9; color: var(--text-primary); border: 1px solid var(--border-color); }

/* =====================================================================
   Ad Engine Slots & Sticky Floating Bottom Anchor
   ===================================================================== */
.ad-slot {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    max-width: 100%;
    position: relative;
    clear: both;
}

.ad-slot-wrapper {
    margin: 1.5rem 0;
    text-align: center;
    width: 100%;
    clear: both;
}

.ad-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    user-select: none;
}

/* Sticky Bottom Floating Fixed Anchor */
.sticky-anchor-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 6px 12px 8px;
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
}

.sticky-anchor-wrapper {
    position: relative;
    width: 100%;
    max-width: 760px;
    display: flex;
    justify-content: center;
}

.sticky-close-btn {
    position: absolute;
    top: -24px;
    right: 0;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sticky-close-btn:hover {
    color: var(--text-primary);
    background: #e2e8f0;
}

/* Waterfall Fallback Transitions (Zero Layout Shift) */
.ad-waterfall-slot {
    position: relative;
    width: 100%;
}

.ad-fallback-active {
    animation: fadeInFallback 0.3s ease-in-out;
}

@keyframes fadeInFallback {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
