/* ==========================================
   BLOG GONZÁLEZ REBOLLEDO — MAIN CSS 2026
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* === DESIGN TOKENS === */
:root {
    --primary:    #5C162E;       /* Guinda corporativo */
    --primary-light: #7d1f3f;
    --secondary:  #B59E5B;       /* Oro */
    --secondary-light: #d4bd7c;
    --bg-cream:   #FAF8F3;       /* Crema */
    --bg-dark:    #0A0A0A;
    --text-dark:  #111111;
    --text-mid:   #444444;
    --text-muted: #888888;
    --accent:     #FFCC00;       /* Amarillo suscripción */
    --border:     #E5E0D8;
    --white:      #FFFFFF;
    --green:      #22C55E;
    --red:        #EF4444;
    --container:  1280px;
    --radius-sm:  4px;
    --radius-md:  10px;
    --radius-lg:  18px;
    --shadow-sm:  0 2px 10px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input { font-family: 'Inter', sans-serif; }

/* === UTILITY === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 6px;
}
.section-line {
    font-weight: 800;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 28px;
    font-family: 'Outfit', sans-serif;
    display: inline-block;
}

/* ==============================
   CURRENCY TICKER
   ============================== */
.ticker-bar {
    background: #000;
    border-bottom: 2px solid var(--secondary);
    overflow: hidden;
    padding: 0;
    height: 38px;
    display: flex;
    align-items: center;
}
.ticker-label {
    background: var(--secondary);
    color: #000;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 1;
}
.ticker-viewport { overflow: hidden; flex: 1; position: relative; }
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-ticker 55s linear infinite;
    will-change: transform;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 28px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #ccc;
}
.ticker-item .pair { color: var(--secondary); font-weight: 800; }
.ticker-item .rate { color: var(--white); font-weight: 700; }
.ticker-item .up   { color: #22C55E; font-weight: 700; }
.ticker-item .down { color: #EF4444; font-weight: 700; }
.ticker-sep { color: #333; margin: 0 8px; }

@keyframes scroll-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }

/* ==============================
   HEADER
   ============================== */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: 68px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    color: var(--primary);
}
.logo-tagline {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--secondary);
    text-transform: uppercase;
    margin-top: 1px;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.main-nav a {
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-mid);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(92,22,46,0.06); }
.header-ctas { display: flex; align-items: center; gap: 10px; }
.btn-login {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text-mid);
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-login:hover { border-color: var(--primary); color: var(--primary); }
.btn-subscribe-header {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
}
.btn-subscribe-header:hover { background: #ffd633; transform: scale(1.03); }

/* ==============================
   HERO SECTION
   ============================== */
.hero-section { padding: 36px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.hero-grid {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 0;
    min-height: 520px;
}
.hero-featured {
    padding-right: 36px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.hero-category {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--text-dark);
}
.hero-excerpt {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}
.hero-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.hero-meta a { font-weight: 700; color: var(--primary); }
.hero-img-container { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.hero-img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform 0.7s ease; }
.hero-img-container:hover .hero-img { transform: scale(1.03); }

/* Image Ticker Overlay */
.img-ticker-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.82);
    overflow: hidden;
    padding: 8px 0;
}
.img-ticker-track {
    display: flex;
    white-space: nowrap;
    animation: scroll-ticker 28s linear infinite;
}
.img-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ccc;
}
.img-ticker-item .pair { color: var(--accent); }
.img-ticker-item .val  { color: #fff; }
.img-ticker-item .up   { color: #22C55E; }
.img-ticker-item .dn   { color: #EF4444; }

/* Hero Stack */
.hero-stack { padding-left: 32px; display: flex; flex-direction: column; gap: 0; }
.stack-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}
.stack-item:last-child { border-bottom: none; }
.stack-item:hover { background: rgba(92,22,46,0.03); margin: 0 -16px; padding: 18px 16px; border-radius: var(--radius-sm); }
.stack-img { width: 120px; height: 85px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.stack-info {}
.stack-tag { font-size: 0.62rem; font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.1em; }
.stack-title { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 4px 0; }
.badge-free { background: rgba(34,197,94,0.15); color: #15803d; padding: 2px 8px; border-radius: 20px; font-size: 0.62rem; font-weight: 700; }
.badge-premium { background: rgba(181,158,91,0.15); color: #8a6b1e; padding: 2px 8px; border-radius: 20px; font-size: 0.62rem; font-weight: 700; }

/* ==============================
   VIDEO SECTION
   ============================== */
.video-section { margin: 56px 0; }
.video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
}
.bg-video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92,22,46,0.88) 0%, rgba(0,0,0,0.55) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 48px;
}
.video-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    max-width: 700px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.video-overlay p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 28px; max-width: 500px; }
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.9);
    color: var(--white);
    padding: 12px 36px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.08em;
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* ==============================
   CONTENT GRID
   ============================== */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    padding: 48px 0 80px;
}

/* Article Cards */
.articles-section {}
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .card-img { transform: scale(1.04); }
.card-img-wrap { overflow: hidden; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-title { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.card-excerpt { font-size: 0.88rem; color: var(--text-mid); flex: 1; margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.card-author { font-size: 0.78rem; color: var(--text-muted); }
.card-date { font-size: 0.75rem; color: var(--text-muted); }
.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
    transition: gap var(--transition);
}
.btn-read:hover { gap: 10px; }

/* Share buttons */
.share-btns { display: flex; gap: 6px; margin-top: 12px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; }
.share-wa { background: #25D366; color: #fff; }
.share-li { background: #0A66C2; color: #fff; }
.share-tw { background: #1DA1F2; color: #fff; }
.share-cp { background: #eee; color: #333; }

/* ==============================
   SIDEBAR
   ============================== */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
}
.widget-header {
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.widget-body { padding: 20px; }

/* Subscribe Widget */
.subscribe-widget { background: var(--primary); color: var(--white); padding: 28px; border-radius: var(--radius-md); }
.subscribe-widget h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 10px;
}
.subscribe-widget p { font-size: 0.9rem; color: rgba(255,255,255,0.85); margin-bottom: 16px; line-height: 1.6; }
.price-pill {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-weight: 900;
    font-size: 1.6rem;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.btn-suscribe-big {
    width: 100%;
    background: var(--accent);
    color: #000;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}
.btn-suscribe-big:hover { background: #ffe033; transform: scale(1.02); }
.sub-note { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 10px; display: block; text-align: center; }

/* Newsletter Widget */
.newsletter-widget {}
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    transition: border var(--transition);
    outline: none;
    background: var(--bg-cream);
}
.nl-form input:focus { border-color: var(--primary); }
.btn-nl {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 11px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-nl:hover { background: var(--primary-light); }
.nl-success { color: var(--green); font-weight: 700; font-size: 0.85rem; display: none; margin-top: 6px; }
.nl-disclaimer { font-size: 0.7rem; color: var(--text-muted); margin-top: 6px; }

/* Manuals Widget */
.manual-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.manual-item:last-child { border-bottom: none; }
.manual-icon { font-size: 1.5rem; flex-shrink: 0; }
.manual-title { font-weight: 700; font-size: 0.88rem; }
.manual-desc { font-size: 0.75rem; color: var(--text-muted); }
.btn-manual { font-size: 0.75rem; font-weight: 700; color: var(--primary); margin-top: 4px; display: inline-block; }

/* Contrast Toggle */
.contrast-row { display: flex; justify-content: space-between; align-items: center; }
.switch { position: relative; display: inline-block; width: 44px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.sw-slider { position: absolute; inset: 0; background: #ccc; border-radius: 22px; cursor: pointer; transition: .3s; }
.sw-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s; }
input:checked + .sw-slider { background: var(--primary); }
input:checked + .sw-slider::before { transform: translateX(22px); }

/* ==============================
   FOOTER
   ============================== */
.main-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-tagline { color: var(--secondary); }
.footer-desc { margin-top: 14px; font-size: 0.88rem; line-height: 1.7; }
.footer-col h5 { color: var(--secondary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ==============================
   MODALS
   ============================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modal-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modal-in { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header { background: var(--primary); padding: 28px; color: var(--white); }
.modal-header h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: var(--secondary); margin-bottom: 6px; }
.modal-header p { font-size: 0.9rem; opacity: 0.85; }
.modal-body { padding: 28px; }
.modal-close { float: right; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: rgba(255,255,255,0.7); line-height: 1; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    transition: border var(--transition);
}
.form-group input:focus { border-color: var(--primary); }
.btn-modal-primary {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 13px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-modal-primary:hover { background: var(--primary-light); }
.modal-footer-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ==============================
   HIGH CONTRAST
   ============================== */
body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}
body.high-contrast .widget,
body.high-contrast .article-card,
body.high-contrast .main-header { background: #111 !important; border-color: #333 !important; }
body.high-contrast .hero-section { background: #0a0a0a !important; }
body.high-contrast h1, body.high-contrast h2, body.high-contrast h3 { color: var(--accent) !important; }
body.high-contrast a { color: var(--secondary) !important; }
body.high-contrast .card-excerpt,
body.high-contrast .hero-excerpt { color: #bbb !important; }

/* ==============================
   ARTICLE PAGE
   ============================== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    padding: 40px 0 80px;
}
.article-main {}
.article-breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 16px; }
.article-breadcrumb a { color: var(--primary); font-weight: 600; }
.article-breadcrumb span { margin: 0 6px; }
.article-header-tag { font-size: 0.72rem; font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.article-h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.12;
    margin-bottom: 18px;
}
.article-hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-md); margin: 24px 0; position: relative; }
.article-hero-wrap { position: relative; overflow: hidden; border-radius: var(--radius-md); margin: 24px 0; }
.article-content { font-size: 1.02rem; line-height: 1.85; color: var(--text-mid); }
.article-content h2 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin: 32px 0 12px; border-left: 4px solid var(--primary); padding-left: 14px; }
.article-content h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin: 16px 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 16px 24px;
    background: rgba(181,158,91,0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
    font-size: 1.05rem;
}
.article-content strong { color: var(--text-dark); }
.info-box {
    background: rgba(92,22,46,0.06);
    border: 1.5px solid rgba(92,22,46,0.15);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 24px 0;
}
.info-box-title { font-weight: 800; color: var(--primary); margin-bottom: 8px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Paywall */
.paywall-overlay {
    position: relative;
    margin-top: -120px;
}
.paywall-blur {
    filter: blur(4px);
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
    height: 200px;
    overflow: hidden;
}
.paywall-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}
.paywall-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.6rem; margin-bottom: 10px; }
.paywall-box p { color: var(--text-mid); margin-bottom: 24px; }
.paywall-price { font-weight: 900; font-size: 2rem; color: var(--primary); }
.paywall-price small { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

/* Gate (requires email) */
.gate-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    color: var(--white);
    margin-top: 32px;
}
.gate-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; color: var(--accent); margin-bottom: 10px; }
.gate-box p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.gate-form { display: flex; gap: 10px; max-width: 380px; margin: 0 auto; }
.gate-form input { flex: 1; padding: 11px 14px; border: none; border-radius: var(--radius-sm); font-size: 0.9rem; outline: none; }
.btn-gate { background: var(--accent); color: #000; border: none; padding: 11px 20px; border-radius: var(--radius-sm); font-weight: 800; cursor: pointer; white-space: nowrap; font-size: 0.88rem; transition: background var(--transition); }
.btn-gate:hover { background: #ffe033; }

/* Share Article */
.article-share { display: flex; align-items: center; gap: 12px; margin: 32px 0; padding: 20px; background: var(--bg-cream); border-radius: var(--radius-md); }
.article-share span { font-weight: 700; font-size: 0.85rem; margin-right: 4px; }

/* Related Articles */
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 16px; }
.related-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; height: 130px; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; line-height: 1.3; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-featured { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
    .hero-stack { padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 16px; }
    .stack-item { width: calc(50% - 8px); }
    .main-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .main-nav { display: none; }
    .articles-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .gate-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.8rem; }
    .video-overlay h2 { font-size: 1.8rem; }
}
