/*
Theme Name: VGA Theme
Theme URI: https://vistagamingaffiliates.net
Description: B2B iGaming News & Intelligence Platform
Version: 1.0.0
Author: Vista Gaming Affiliates
Author URI: https://vistagamingaffiliates.net
Text Domain: vga-theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* === CSS Variables === */
:root {
    --color-primary: #0f1729;
    --color-secondary: #2563eb;
    --color-accent: #10b981;
    --color-neutral: #64748b;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #1e293b;
    --color-text-light: #94a3b8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* === Layout === */
.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-main {
    flex: 1;
    padding: 2rem 0;
}

/* === Header === */
.site-header {
    background: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.site-logo img {
    height: 46px;
    width: auto;
}

.site-logo .logo-text {
    letter-spacing: -0.025em;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    color: rgba(255,255,255,0.75);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* === Hero Section (Homepage) === */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a2744 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--color-white);
}

.hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.hero-stat .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
}

/* === Section Headers === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.section-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.section-header .view-all {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-secondary);
}

/* === News Cards === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.news-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--color-border);
}

.news-card-body {
    padding: 1.25rem;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.news-card-category {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-secondary);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-date {
    color: var(--color-text-light);
}

.news-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-card h3 a {
    color: var(--color-primary);
}

.news-card h3 a:hover {
    color: var(--color-secondary);
}

.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-neutral);
    line-height: 1.6;
}

/* Featured Card (larger) */
.news-card.featured {
    grid-column: span 2;
}

.news-card.featured .news-card-image {
    height: 260px;
}

.news-card.featured h3 {
    font-size: 1.375rem;
}

/* === Guides Grid === */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.guide-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    color: inherit;
}

.guide-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.guide-card-image--placeholder {
    background: linear-gradient(135deg, var(--color-primary), #1a2744);
    height: 180px;
}

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

.guide-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.guide-card:hover h3 {
    color: var(--color-secondary);
}

.guide-card p {
    font-size: 0.875rem;
    color: var(--color-neutral);
    margin-bottom: 0.75rem;
    flex: 1;
}

.guide-card .read-more {
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* === Single Post === */
.single-header {
    margin-bottom: 2rem;
}

.single-header .breadcrumbs {
    font-size: 0.813rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.single-header .breadcrumbs a {
    color: var(--color-neutral);
}

.single-header .breadcrumbs .separator {
    margin: 0 0.5rem;
}

.single-header h1 {
    max-width: 800px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-neutral);
    margin-top: 1rem;
}

.single-meta .category-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.single-content {
    max-width: 800px;
}

.single-content h2 {
    margin-top: 2rem;
}

.single-content h3 {
    margin-top: 1.5rem;
}

.single-content blockquote {
    border-left: 3px solid var(--color-secondary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(37, 99, 235, 0.03);
    border-radius: 0 6px 6px 0;
}

.single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.single-content th,
.single-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.single-content th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
}

.single-content tr:hover td {
    background: rgba(37, 99, 235, 0.02);
}

/* Region Tags */
.region-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.region-tag {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* === Archive === */
.archive-header {
    margin-bottom: 2rem;
}

.archive-header h1 {
    margin-bottom: 0.5rem;
}

.archive-header .description {
    color: var(--color-neutral);
}

.category-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-filter a {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 500;
    background: var(--color-white);
    color: var(--color-neutral);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.category-filter a:hover,
.category-filter a.active {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* News List (Archive) */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-list-item {
    display: flex;
    gap: 1.25rem;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.news-list-item-image {
    width: 240px;
    min-height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-border);
}

.news-list-item-body {
    padding: 1.25rem;
    flex: 1;
}

.news-list-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.news-list-item h3 a {
    color: var(--color-primary);
}

.news-list-item h3 a:hover {
    color: var(--color-secondary);
}

/* === Page Content === */
.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 1rem;
}

.page-hero-image {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.page-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--color-neutral);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.page-meta .separator {
    color: var(--color-border);
}

/* === Premium Content Styles === */

/* --- Styled Lists (inside page-content / single-content) --- */
.page-content ul,
.single-content ul {
    list-style: none;
    padding-left: 0;
}

.page-content ul li,
.single-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.page-content ul li::before,
.single-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 2px;
    transform: rotate(45deg);
}

.page-content ol,
.single-content ol {
    padding-left: 0;
    counter-reset: ol-counter;
    list-style: none;
}

.page-content ol li,
.single-content ol li {
    counter-increment: ol-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.page-content ol li::before,
.single-content ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, var(--color-secondary), #3b82f6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Info Box / Callout --- */
.vga-info-box {
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(37,99,235,0.02));
    border: 1px solid rgba(37,99,235,0.15);
    border-left: 4px solid var(--color-secondary);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.vga-info-box strong:first-child {
    display: block;
    color: var(--color-secondary);
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* --- Warning Box --- */
.vga-warning-box {
    background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(245,158,11,0.02));
    border: 1px solid rgba(245,158,11,0.2);
    border-left: 4px solid #f59e0b;
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.vga-warning-box strong:first-child {
    display: block;
    color: #d97706;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* --- Pros & Cons Box --- */
.vga-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.vga-pros, .vga-cons {
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.vga-pros {
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
    border: 1px solid rgba(16,185,129,0.2);
}

.vga-cons {
    background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(239,68,68,0.02));
    border: 1px solid rgba(239,68,68,0.2);
}

.vga-pros h4, .vga-cons h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.vga-pros h4 {
    color: #059669;
    border-bottom: 2px solid rgba(16,185,129,0.3);
}

.vga-cons h4 {
    color: #dc2626;
    border-bottom: 2px solid rgba(239,68,68,0.3);
}

.vga-pros ul, .vga-cons ul {
    margin: 0;
}

.vga-pros ul li::before {
    background: var(--color-accent);
    border-radius: 50%;
    transform: none;
}

.vga-cons ul li::before {
    background: #ef4444;
    border-radius: 50%;
    transform: none;
}

@media (max-width: 600px) {
    .vga-pros-cons {
        grid-template-columns: 1fr;
    }
}

/* --- Comparison Table --- */
.vga-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
}

.vga-comparison-table thead th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.813rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.vga-comparison-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.vga-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.vga-comparison-table tbody tr:nth-child(even) {
    background: rgba(248,250,252,0.5);
}

.vga-comparison-table tbody tr:hover {
    background: rgba(37,99,235,0.03);
}

/* --- Key Stat Card --- */
.vga-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.vga-stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.vga-stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.vga-stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--color-neutral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .vga-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FAQ Section --- */
.page-content h2 + h3,
.single-content h2 + h3 {
    margin-top: 0;
}

.vga-faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.vga-faq-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.vga-faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
}

.vga-faq-item h3::before {
    content: "Q";
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vga-faq-item p {
    padding: 0 1.25rem 1rem 3.5rem;
    margin: 0;
    color: var(--color-neutral);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Section Divider --- */
.page-content h2,
.single-content h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.page-content h2:first-of-type,
.single-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

/* --- Inline Image with Caption --- */
.vga-content-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.vga-content-image img {
    width: 100%;
    display: block;
}

.vga-content-image figcaption {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    color: var(--color-neutral);
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

/* --- Blockquote Premium --- */
.page-content blockquote,
.single-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(37,99,235,0.01));
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-neutral);
}

/* --- Styled Table (generic in content) --- */
.page-content table,
.single-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
}

.page-content th,
.single-content th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.813rem;
}

.page-content td,
.single-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.page-content tr:last-child td,
.single-content tr:last-child td {
    border-bottom: none;
}

.page-content tr:nth-child(even) td,
.single-content tr:nth-child(even) td {
    background: rgba(248,250,252,0.5);
}

/* --- Step-by-Step (numbered H3s) --- */
.vga-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.vga-step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--color-secondary), #3b82f6);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vga-step-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.vga-step-content p {
    margin-bottom: 0;
    color: var(--color-neutral);
    font-size: 0.9rem;
}

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-neutral);
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.pagination .current {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* === Search === */
.search-form {
    display: flex;
    max-width: 500px;
    margin-bottom: 2rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 0.95rem;
    font-family: var(--font-family);
    outline: none;
}

.search-form input[type="search"]:focus {
    border-color: var(--color-secondary);
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.2s ease;
}

.search-form button:hover {
    background: #1d4ed8;
}

/* === 404 === */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}

.error-404 .error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-border);
    line-height: 1;
}

.error-404 h1 {
    margin-top: 1rem;
    font-size: 1.75rem;
}

.error-404 p {
    color: var(--color-neutral);
    max-width: 500px;
    margin: 1rem auto 2rem;
}

/* === Footer === */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.813rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

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

/* === Responsive === */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-card.featured {
        grid-column: span 2;
    }
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat .number {
        font-size: 1.5rem;
    }

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

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-card-image {
        height: 200px;
    }

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

    .news-list-item {
        flex-direction: column;
    }

    .news-list-item-image {
        width: 100%;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .single-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .category-filter {
        gap: 0.375rem;
    }
}
