/* Mercado Media Productions — Gold & Black Theme */

:root {
    --gold: #c9a227;
    --gold-light: #e8c84a;
    --gold-dim: #8a6e18;
    --gold-faint: rgba(201,162,39,0.25);
    --black: #0e0e0e;
    --offblack: #161616;
    --surface: #1a1a1a;
    --white: #fff;
    --text: #e0e0e0;
    --text-muted: rgba(255,255,255,0.55);
    --text-dim: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.08);
    --font: 'Georgia', 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ── */

.site-nav {
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    border-bottom: 2px solid var(--gold);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-wrap:hover { text-decoration: none; }

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}
.logo-sub {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--black);
        border-bottom: 2px solid var(--gold);
        padding: 16px 24px;
        z-index: 99;
        gap: 12px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .tagline-bar { display: none; }
}

/* ── Tagline Bar ── */

.tagline-bar {
    background: var(--offblack);
    border-bottom: 0.5px solid var(--gold-faint);
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tagline {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.tagline-right {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* ── Live Bar ── */

.live-bar {
    background: var(--gold);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.live-dot {
    width: 8px; height: 8px;
    background: var(--black);
    border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-pill {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--black);
    padding: 2px 8px;
    flex-shrink: 0;
}
.live-title {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.02em;
}
.live-cta {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    border: 1px solid rgba(0,0,0,0.4);
    padding: 4px 14px;
    white-space: nowrap;
    text-decoration: none;
}
.live-cta:hover { background: rgba(0,0,0,0.1); color: var(--black); }

/* ── Hero Section ── */

.hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    border-bottom: 0.5px solid var(--border);
    min-height: 400px;
}
.hero-img {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    min-height: 400px;
    overflow: hidden;
    background: var(--black);
}
.hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0.85;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.hero-flag {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border-left: 2px solid var(--gold);
    padding-left: 10px;
    margin-bottom: 12px;
    font-family: var(--font-sans);
}
.hero-headline {
    position: relative;
    z-index: 1;
    font-family: var(--font);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
}
.hero-headline a { color: var(--white); text-decoration: none; }
.hero-headline a:hover { color: var(--gold); }

.hero-sidebar {
    border-left: 0.5px solid var(--border);
    display: flex;
    flex-direction: column;
    background: var(--black);
}
.sidebar-header {
    padding: 18px 20px 12px;
    border-bottom: 2px solid var(--offblack);
}
.sidebar-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
}
.sidebar-post {
    padding: 16px 20px;
    border-bottom: 0.5px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.sidebar-post:hover { background: var(--offblack); }
.sidebar-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dim);
}
.sidebar-title {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
}
.sidebar-title a { color: var(--text); text-decoration: none; }
.sidebar-title a:hover { color: var(--gold); }
.sidebar-meta {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: auto;
    padding-top: 6px;
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-sidebar { border-left: none; border-top: 0.5px solid var(--border); }
}

/* ── Section Headers ── */

.section-head {
    padding: 16px 24px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--text);
    border-top: 0.5px solid var(--border);
}
.section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
}
.all-link {
    font-size: 11px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.06em;
}
.all-link:hover { color: var(--gold); }

/* ── Post Grid ── */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0.5px solid var(--border);
}
.post-card {
    padding: 20px 24px;
    border-right: 0.5px solid var(--border);
}
.post-card:last-child { border-right: none; }

.card-thumb {
    height: 160px;
    margin-bottom: 14px;
    overflow: hidden;
    border-top: 2px solid var(--gold);
    background: var(--offblack);
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 8px;
}
.card-title {
    font-family: var(--font);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a { color: var(--white); text-decoration: none; }
.card-title a:hover { color: var(--gold); }
.card-excerpt {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    font-size: 11px;
    color: var(--text-dim);
}

@media (max-width: 900px) {
    .post-grid { grid-template-columns: 1fr; }
    .post-card { border-right: none; border-bottom: 0.5px solid var(--border); }
}

/* ── Stats Strip ── */

.stats-strip {
    background: var(--black);
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
    border-top: 2px solid var(--gold);
}
.stat {
    padding: 8px 20px;
    border-right: 0.5px solid rgba(201,162,39,0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat:first-child { padding-left: 0; }
.stat-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,162,39,0.5);
}
.stat-num {
    font-size: 28px;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    font-family: var(--font);
}
.stat-sub {
    font-size: 11px;
    color: var(--text-dim);
}
.watch-col {
    padding: 8px 0 8px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-right: none;
}
.watch-tagline {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .stats-strip { grid-template-columns: 1fr 1fr; }
}

/* ── Buttons ── */

.btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 9px 20px;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); color: var(--black); text-decoration: none; }
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); text-decoration: none; }

/* ── Footer ── */

.site-footer {
    border-top: 1px solid var(--border);
}
.footer-top {
    display: flex;
    gap: 48px;
    padding: 36px 32px 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-brand {
    flex: 1.2;
    min-width: 200px;
}
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}
.footer-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.footer-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.footer-brand-sub {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.footer-tagline {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
    max-width: 280px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 4px;
}
.footer-col a {
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-dim);
}
.footer-created {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--text-dim);
}
.footer-logo-img {
    height: 28px;
    vertical-align: middle;
    opacity: 0.7;
}
.footer-logo-img:hover { opacity: 1; }

@media (max-width: 768px) {
    .footer-top { flex-direction: column; gap: 28px; padding: 28px 20px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .footer-created { justify-content: center; }
}

/* ── News Archive Page ── */

.page-wrap { padding: 0 24px; }
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0;
    border-bottom: 0.5px solid var(--border);
}
.archive-card {
    padding: 20px;
    border-right: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
}
.archive-card .card-thumb { height: 180px; }

.category-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 24px;
    border-bottom: 0.5px solid var(--border);
}
.category-badge {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dim);
    border: 1px solid var(--gold-dim);
    padding: 3px 10px;
    text-decoration: none;
}
.category-badge:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.pagination a { color: var(--gold); }

/* ── Single Post ── */

.post-full { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.post-cover {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-top: 2px solid var(--gold);
    margin-bottom: 24px;
}
.post-full .post-meta {
    margin-bottom: 16px;
}
.post-full h1 {
    font-family: var(--font);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 8px;
}
.post-full .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}
.post-full .author-line {
    font-size: 12px;
    color: var(--text-dim);
    padding-bottom: 20px;
    border-bottom: 0.5px solid var(--border);
    margin-bottom: 28px;
}
.post-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text);
}
.post-body p { margin-bottom: 1.2em; }
.post-body h2 { font-family: var(--font); font-size: 24px; font-weight: 500; color: var(--white); margin: 2em 0 0.75em; }
.post-body h3 { font-family: var(--font); font-size: 20px; font-weight: 500; color: var(--white); margin: 1.5em 0 0.5em; }
.post-body blockquote {
    border-left: 2px solid var(--gold);
    padding: 12px 20px;
    margin: 1.5em 0;
    color: var(--text-muted);
    background: var(--offblack);
}
.post-body img { border-top: 2px solid var(--gold); margin: 1.5em 0; }
.post-body ul, .post-body ol { margin: 1em 0 1em 1.5em; }
.post-body a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.post-body a:hover { color: var(--gold-light); }

.post-tags {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 0.5px solid var(--border);
}
.tag {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--gold-dim);
    margin-right: 10px;
}
.tag:hover { color: var(--gold); }

/* ── Auth Pages ── */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
}
.auth-box {
    background: var(--offblack);
    border: 0.5px solid var(--border);
    border-top: 2px solid var(--gold);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}
.auth-box h1 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}
.back-link { display: block; text-align: center; margin-top: 1rem; font-size: 11px; color: var(--text-dim); }

/* ── Forms ── */

.form .field { margin-bottom: 1rem; }
.form label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.form input, .form select, .form textarea {
    width: 100%;
    padding: 8px 12px;
    background: var(--black);
    border: 0.5px solid var(--border);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-sans);
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.btn-submit {
    width: 100%;
    padding: 10px;
    background: var(--gold);
    color: var(--black);
    border: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-sans);
}
.btn-submit:hover { background: var(--gold-light); }

/* ── Alerts ── */

.alert { padding: 10px 16px; margin-bottom: 16px; font-size: 13px; border-left: 2px solid; }
.alert-error { border-color: #ef4444; color: #fca5a5; background: rgba(239,68,68,0.1); }
.alert-success { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.1); }

/* ── Empty States ── */

.empty { text-align: center; color: var(--text-dim); padding: 60px 0; font-size: 13px; letter-spacing: 0.06em; }

/* ── Content Pages (About, Press, Contact) ── */

.content-page { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.content-page h1 {
    font-family: var(--font);
    font-size: 28px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
}
.content-page h2 {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 500;
    color: var(--gold);
    margin: 2em 0 0.75em;
}
.content-page p { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 1em; }
.content-page ul { margin: 0.5em 0 1em 1.5em; font-size: 15px; line-height: 1.8; color: var(--text); }

/* ── Watch Page ── */

.watch-hero { padding: 40px 24px; text-align: center; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; margin: 20px auto; max-width: 900px; border-top: 2px solid var(--gold); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.offline-message { padding: 60px 0; text-align: center; }
.offline-message h1 { font-family: var(--font); font-size: 24px; color: var(--text-muted); margin-bottom: 8px; }
.offline-message p { color: var(--text-dim); font-size: 14px; }

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0;
    border-top: 0.5px solid var(--border);
}
.platform-card {
    padding: 24px;
    border-right: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
}
.platform-card h3 { font-family: var(--font); font-size: 18px; color: var(--gold); margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--text-muted); }

/* ── Source Link (Facebook imports) ── */

.source-link { font-size: 12px; color: var(--text-dim); margin-top: 2em; }
.source-link a { color: var(--gold-dim); }
