/*
Theme Name: Gavang Theme
Theme URI: https://gavanglink.store
Description: Theme Gà Vàng TV - Trực tiếp bóng đá
Version: 1.0.0
*/

/* ─── Reset & Variables ─── */
:root {
    --bg-body: #0b0e14;
    --bg-header: #0d1220;
    --bg-card: #131a2b;
    --bg-card-hover: #172033;
    --bg-filter: #131a2b;
    --bg-pill: #1c2128;
    --text-white: #e8ecf4;
    --text-gray: #8b949e;
    --text-muted: #4a5568;
    --primary: #00ff88;
    --secondary: #fbbf24;
    --green: #00ff88;
    --green-dark: #008f4c;
    --gold: #fbbf24;
    --red: #ff4d4f;
    --blue: #1890ff;
    --border: rgba(255,255,255,0.07);
    --border-green: rgba(0,255,136,0.3);
    --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 6px;
    --transition: 0.2s ease;
    --color-primary: #00ff88;
    --color-red-dark: #008f4c;
    --color-primary-lighter: #fbbf24;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-body); color: var(--text-white); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

.container { max-width: 96rem; margin: 0 auto; padding: 0 20px; }

/* ─── Header ─── */
.site-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.site-header .container {
    display: flex; align-items: center; height: 56px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo__img {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #e8960a);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; font-weight: 700;
}
.logo__text { font-size: 1.1rem; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }
.logo__text span { display: block; font-size: 0.6rem; color: var(--text-gray); font-weight: 400; letter-spacing: 1px; }
.logo__custom { height: 40px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
    padding: 8px 14px; font-size: 0.82rem; font-weight: 500;
    color: var(--text-gray); border-radius: 4px; transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-white); }
.nav-link.active { border-bottom: 2px solid var(--gold); border-radius: 0; }

.header-cta {
    padding: 7px 18px; background: var(--gold); color: #111; border: none;
    border-radius: 4px; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.header-cta:hover { background: #e8b615; }
.header-cta--app { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.header-cta--app:hover { background: linear-gradient(135deg, #059669, #047857); }

.mobile-toggle {
    display: none; background: none; border: 1px solid var(--border);
    color: var(--text-white); font-size: 1.2rem; padding: 6px 10px; border-radius: 4px;
}
.mobile-nav {
    display: none; flex-direction: column; background: var(--bg-header);
    border-bottom: 1px solid var(--border); padding: 10px 15px;
}
.mobile-nav.open { display: flex; }

/* ─── Banner ─── */
.ad-banner {
    padding: 12px 0;
}
.ad-banner img, .ad-banner .banner-placeholder {
    width: 100%; border-radius: var(--radius); max-height: 80px; object-fit: cover;
}
.banner-placeholder {
    height: 70px; background: linear-gradient(135deg, #1a3a2a 0%, #0d2818 50%, #1a3a2a 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--green); font-weight: 600; border: 1px dashed rgba(46,204,113,0.3);
    border-radius: var(--radius);
}

/* ─── Page Title ─── */
.page-title {
    padding: 16px 0 12px;
    font-size: 0.95rem; font-weight: 700; text-transform: uppercase;
    color: var(--text-white); letter-spacing: 0.3px;
}

/* ─── Sport Tabs ─── */
.sport-tabs {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-card); border-radius: var(--radius);
    padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--border);
}
.sport-tabs__left { display: flex; align-items: center; gap: 6px; }
.sport-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 4px; border: none;
    font-size: 0.82rem; font-weight: 600; background: transparent;
    color: var(--text-gray); transition: all var(--transition);
}
.sport-tab i { font-size: 0.9rem; }
.sport-tab.active { background: var(--bg-pill-active); color: #fff; }
.sport-tab:hover:not(.active) { color: var(--text-white); }

.livescore-toggle {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--text-gray); font-weight: 600;
}
.toggle-switch {
    position: relative; width: 40px; height: 22px; cursor: pointer;
}
.toggle-switch input { display: none; }
.toggle-slider {
    position: absolute; inset: 0; background: #333; border-radius: 20px; transition: 0.3s;
}
.toggle-slider::before {
    content: ''; position: absolute; width: 16px; height: 16px;
    left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ─── Filter Pills ─── */
.filter-pills {
    display: flex; align-items: center; gap: 8px; padding: 0 0 14px;
    overflow-x: auto; scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #1c2128;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    font-family: var(--font);
}

.pill svg {
    height: 20px;
    width: auto;
    max-width: 50px;
    flex-shrink: 0;
}

.pill:hover {
    color: var(--text-white);
    background: #21262d;
}

.pill.active {
    color: var(--text-white);
    border-color: var(--primary);
    background: #1c2128;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.15);
}
.pill .dot-live {
    width: 7px; height: 7px; background: var(--green); border-radius: 50%;
    animation: blink 1s infinite; flex-shrink: 0;
}
.pill .badge {
    background: rgba(0, 255, 136, 0.05);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid rgba(0, 255, 136, 0.15);
    margin-left: 2px;
}
.pill.active .badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
    border-color: rgba(0, 255, 136, 0.3);
}

.filter-pills .dropdown-pill {
    margin-left: auto; min-width: 140px; justify-content: space-between;
}
.filter-pills .dropdown-pill svg { width: 10px; height: 10px; }

/* ─── Match Cards Grid ─── */
.match-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; 
    margin-bottom: 30px;
}

/* ─── Match Card ─── */
.match-card {
    background: radial-gradient(circle at center, #064e3b 0%, #022c22 100%);
    border: 1.5px solid #065f46;
    border-radius: 12px; 
    overflow: hidden; 
    transition: all var(--transition);
    position: relative;
    display: block;
    text-decoration: none;
}

.match-card:hover, .match-card.active {
    border-color: #f59e0b; /* Orange border like sample */
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
    transform: translateY(-2px);
}

/* Card Header */
.mc-header {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 10px 15px; 
    background: rgba(0,0,0,0.2);
}

.mc-league {
    display: flex; 
    align-items: center; 
    gap: 8px;
    font-size: 0.7rem; 
    color: #94a3b8; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-league-icon {
    width: 16px; 
    height: 16px; 
    object-fit: contain;
}

.mc-meta {
    display: flex; 
    align-items: center; 
    gap: 10px;
}

.mc-time { 
    font-size: 0.7rem; 
    color: #fff; 
    font-weight: 700;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.mc-live-badge {
    padding: 3px 10px; 
    background: linear-gradient(to right, #10b981, #059669);
    color: #fff;
    font-size: 0.65rem; 
    font-weight: 700; 
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Card Body */
.mc-body { 
    padding: 20px 15px; 
    position: relative;
}

.mc-status-text {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mc-teams {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 10px;
}

.mc-team {
    display: flex; 
    flex-direction: column;
    align-items: center; 
    gap: 10px; 
    flex: 1; 
    min-width: 0;
}

.mc-team-logo {
    width: 54px; 
    height: 54px; 
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.mc-team-name {
    font-size: 0.75rem; 
    font-weight: 700; 
    color: #f8fafc;
    text-align: center;
    max-width: 120px;
    line-height: 1.2;
}

/* Score / VS Area */
.mc-score-center {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-shrink: 0;
    margin-top: 15px;
}

.mc-score-box {
    background: #065f46;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border-bottom: 3px solid #047857;
}

.mc-score-sep {
    color: #94a3b8;
    font-size: 1.2rem;
    font-weight: 700;
}

.mc-vs-badge {
    background: #059669;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Card Footer */
.mc-footer {
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 10px 15px; 
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mc-footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mc-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.mc-stat-item.active { color: #10b981; }

.mc-stat-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.mc-blv-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-blv-badge {
    width: 24px;
    height: 24px;
    background: #334155;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #475569;
}

.mc-blv-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mc-blv-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.mc-center-icon {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mc-bet-btn {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fbbf24, #e8960a);
    color: #111;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    white-space: nowrap;
}

/* ─── SEO Section ─── */
.seo-section {
    padding: 20px 0 40px; margin-top: 20px; border: none;
}
.seo-section > .container {
    max-width: 100%;
}
.seo-content { 
    max-width: 100%;
    background: rgba(25, 25, 25, 0.6); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 16px; border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    padding: 28px 32px;
    max-height: 420px;
    overflow-y: auto;
}
.seo-content::-webkit-scrollbar { width: 4px; }
.seo-content::-webkit-scrollbar-track { background: transparent; }
.seo-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
.seo-content::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.seo-content h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-white); }
.seo-content h3 { font-size: 1rem; font-weight: 600; margin: 20px 0 8px; color: var(--text-white); }
.seo-content p { color: var(--text-gray); font-size: 0.88rem; line-height: 1.8; margin-bottom: 12px; }
.seo-content a { color: var(--gold); }
.seo-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }

/* ─── WordPress Post Content ─── */
.seo-content figure { margin: 1.2em 0; }
.seo-content figcaption { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 6px; font-style: italic; }
.seo-content ul, .seo-content ol { padding-left: 1.5em; margin: 0.8em 0; color: var(--text-gray); }
.seo-content ul { list-style: disc; }
.seo-content ol { list-style: decimal; }
.seo-content li { margin-bottom: 6px; font-size: 0.88rem; line-height: 1.7; }
.seo-content blockquote { border-left: 4px solid var(--gold); padding: 12px 20px; margin: 1.2em 0; background: rgba(255,255,255,0.03); border-radius: 0 8px 8px 0; color: var(--text-gray); font-style: italic; }
.seo-content blockquote cite { display: block; margin-top: 8px; font-size: 0.8rem; color: var(--text-muted); font-style: normal; }
.seo-content pre, .seo-content code { background: rgba(0,0,0,0.4); border-radius: 6px; font-family: 'Courier New', monospace; font-size: 0.85rem; color: var(--green); }
.seo-content pre { padding: 16px; overflow-x: auto; margin: 1em 0; }
.seo-content code { padding: 2px 6px; }
.seo-content pre code { padding: 0; background: none; }
.seo-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.seo-content th, .seo-content td { padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; text-align: left; }
.seo-content th { background: rgba(255,255,255,0.05); color: var(--text-white); font-weight: 700; }
.seo-content td { color: var(--text-gray); }
.seo-content hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 2em 0; }
.seo-content iframe, .seo-content embed, .seo-content video { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.seo-content strong, .seo-content b { color: var(--text-white); }

/* WP Alignment classes */
.seo-content .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.seo-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.seo-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.seo-content .alignfull { width: calc(100% + 64px); max-width: none; margin-left: -32px; margin-right: -32px; border-radius: 0; }
.seo-content .alignwide { width: 100%; max-width: 100%; }
.seo-content .alignnone { max-width: 100%; }
.seo-content::after { content: ''; display: table; clear: both; } /* clearfix for floats */

/* WP Captions */
.seo-content .wp-caption { max-width: 100%; margin: 1em 0; }
.seo-content .wp-caption img { display: block; width: 100%; height: auto; border-radius: 8px; }
.seo-content .wp-caption-text { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 6px; }

/* WP Gallery */
.seo-content .wp-block-gallery, .seo-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 1em 0; }
.seo-content .wp-block-gallery img, .seo-content .gallery img { width: 100%; height: auto; object-fit: cover; border-radius: 8px; }

/* WP Columns */
.seo-content .wp-block-columns { display: flex; gap: 24px; margin: 1.2em 0; }
.seo-content .wp-block-column { flex: 1; min-width: 0; }

/* WP Cover / Media-text */
.seo-content .wp-block-cover { border-radius: 12px; overflow: hidden; margin: 1.2em 0; }
.seo-content .wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin: 1.2em 0; }
.seo-content .wp-block-media-text img { width: 100%; border-radius: 8px; }

/* WP Separator */
.seo-content .wp-block-separator { border: none; border-top: 2px solid rgba(255,255,255,0.08); margin: 2em auto; max-width: 100px; }
.seo-content .wp-block-separator.is-style-wide { max-width: 100%; }
.seo-content .wp-block-separator.is-style-dots { border: none; text-align: center; max-width: 100%; }
.seo-content .wp-block-separator.is-style-dots::before { content: '···'; color: var(--text-muted); font-size: 1.5rem; letter-spacing: 1em; }

/* WP Buttons */
.seo-content .wp-block-button__link { display: inline-block; padding: 10px 24px; background: var(--gold); color: #111; font-weight: 700; border-radius: 6px; text-decoration: none; font-size: 0.88rem; transition: all 0.2s; }
.seo-content .wp-block-button__link:hover { background: #e8b615; }

/* WP Embed responsive */
.seo-content .wp-block-embed { margin: 1.2em 0; }
.seo-content .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.seo-content .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Mobile adjustments */
@media (max-width: 768px) {
    .seo-content .alignleft, .seo-content .alignright { float: none; margin: 1em 0; display: block; }
    .seo-content .alignfull { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
    .seo-content .wp-block-columns { flex-direction: column; }
    .seo-content .wp-block-media-text { grid-template-columns: 1fr; }
    .seo-content .wp-block-gallery, .seo-content .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Post / Page Layout ─── */
.post-layout { max-width: 900px; margin: 0 auto; padding: 20px 0 40px; }

.post-breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 12px 0; font-size: 0.8rem; color: var(--text-muted);
}
.post-breadcrumb a { color: var(--text-gray); transition: color 0.2s; }
.post-breadcrumb a:hover { color: var(--gold); }
.post-breadcrumb .sep { font-size: 0.6rem; color: var(--text-muted); }
.post-breadcrumb .current { color: var(--text-white); }

.post-header { margin-bottom: 20px; }
.post-title { font-size: 1.6rem; font-weight: 700; color: var(--text-white); line-height: 1.3; margin: 0 0 12px; }
.post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-gray); }
.post-meta i { color: var(--gold); margin-right: 4px; }
.post-cat-badge {
    padding: 3px 10px; background: rgba(251,191,36,0.15); color: var(--gold);
    border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
}

.post-thumbnail { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: auto; display: block; }

.post-body {
    max-height: none; overflow: visible;
}
.page-body { max-height: none; }

.post-tags {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 20px 0; margin-top: 20px; border-top: 1px solid var(--border);
    font-size: 0.8rem;
}
.post-tags i { color: var(--gold); }
.post-tags a {
    padding: 4px 12px; background: var(--bg-pill); border: 1px solid var(--border);
    border-radius: 4px; color: var(--text-gray); font-size: 0.78rem; transition: all 0.2s;
}
.post-tags a:hover { color: var(--text-white); border-color: var(--gold); }

.post-nav {
    display: flex; gap: 16px; margin-top: 24px;
}
.post-nav-item {
    flex: 1; display: flex; flex-direction: column; gap: 6px;
    padding: 16px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; transition: all 0.2s;
}
.post-nav-item:hover { border-color: var(--gold); background: var(--bg-card-hover); }
.post-nav-item .nav-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.post-nav-item .nav-title { font-size: 0.85rem; color: var(--text-white); font-weight: 600; line-height: 1.3; }
.post-nav-item.next { text-align: right; }

/* ─── Archive Layout ─── */
.archive-header { padding: 24px 0 16px; }
.archive-title { font-size: 1.3rem; font-weight: 700; color: var(--text-white); }
.archive-desc { color: var(--text-gray); font-size: 0.88rem; margin-top: 8px; }

.archive-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px;
}
.archive-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; transition: all 0.2s; display: block;
}
.archive-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.archive-card-img { aspect-ratio: 16/9; overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-card-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    color: var(--text-muted); font-size: 2rem;
}
.archive-card-body { padding: 16px; }
.archive-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.72rem; color: var(--text-muted); }
.archive-card-meta i { color: var(--gold); }
.archive-cat { padding: 2px 8px; background: rgba(251,191,36,0.1); color: var(--gold); border-radius: 3px; font-weight: 700; }
.archive-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text-white); line-height: 1.3; margin-bottom: 8px; }
.archive-card-excerpt { font-size: 0.8rem; color: var(--text-gray); line-height: 1.5; }

.archive-pagination { padding: 20px 0 40px; text-align: center; }
.archive-pagination .page-numbers {
    list-style: none; display: inline-flex; gap: 6px; padding: 0; margin: 0;
}
.archive-pagination .page-numbers li { display: inline; }
.archive-pagination .page-numbers a, .archive-pagination .page-numbers span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
    color: var(--text-gray); font-size: 0.82rem; font-weight: 600; transition: all 0.2s;
}
.archive-pagination .page-numbers a:hover { border-color: var(--gold); color: var(--text-white); }
.archive-pagination .page-numbers .current { background: var(--gold); color: #111; border-color: var(--gold); }

@media (max-width: 768px) {
    .post-layout { padding: 10px 0 30px; }
    .post-title { font-size: 1.2rem; }
    .post-nav { flex-direction: column; }
    .post-nav-item.next { text-align: left; }
    .archive-grid { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
.site-footer {
    background: var(--bg-header); border-top: 1px solid var(--border);
    padding: 40px 0 0; margin-top: 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.footer-desc { color: var(--text-gray); font-size: 0.85rem; line-height: 1.7; }
.footer-title { font-size: 0.85rem; font-weight: 700; color: var(--text-white); margin-bottom: 14px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-gray); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 8px; }
.social-link {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-pill); border: 1px solid var(--border); border-radius: 4px;
    color: var(--text-gray); font-size: 0.9rem; transition: all var(--transition);
}
.social-link:hover { color: var(--gold); border-color: rgba(245,197,24,0.3); }
.footer-bottom {
    text-align: center; padding: 16px 0; border-top: 1px solid var(--border);
    font-size: 0.78rem; color: var(--text-muted);
}

/* ─── Animations ─── */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:0.7} }

/* ─── Skeleton ─── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-card { height: 140px; }

/* ─── No Matches ─── */
.no-matches { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
    .match-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-cta { display: inline-block; margin-left: auto; font-size: 0.7rem; padding: 5px 10px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
