/* Magazine Theme - Haber Dergisi */
:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

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

body {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    background: #fff;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: 'Playfair Display', Georgia, serif; }

.container-magazine {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) { .container-magazine { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-magazine { padding: 0 2rem; } }

.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.border-primary { border-color: var(--primary); }

/* Top bar */
.top-bar {
    background: var(--gray-900);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-date {
    white-space: nowrap;
    color: #d1d5db;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Döviz kurları */
.fx-rates {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
}

.fx-rate-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.fx-rate-label {
    font-weight: 700;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
}

.fx-rate-value {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.fx-rate-change {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
}

.fx-rate-up {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
}

.fx-rate-down {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
}

.fx-rate-divider {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.15);
}

.top-bar-social {
    display: none;
    align-items: center;
    gap: 1rem;
}

.top-bar-social a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar-social a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .top-bar-social {
        display: flex;
    }
}

@media (max-width: 599px) {
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-bar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .fx-rates {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding: 0.375rem 0.625rem;
    }
}

.bg-gray-900 { background: var(--gray-900); color: #fff; }
.text-xs { font-size: 0.75rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.hidden { display: none; }
@media (min-width: 768px) { .md\:flex { display: flex; } .md\:hidden { display: none; } .md\:block { display: block; } }

/* Breaking ticker */
.breaking-ticker { overflow: hidden; }
.breaking-label {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.ticker-wrap { flex: 1; overflow: hidden; }
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    animation: ticker 30s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-content a { color: #fff; text-decoration: none; margin: 0 2rem; }
.ticker-content a:hover { text-decoration: underline; }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
header { border-bottom: 2px solid var(--primary); }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.flex-col { flex-direction: column; }
.mb-4 { margin-bottom: 1rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
@media (min-width: 768px) { .md\:h-16 { height: 4rem; } }
.w-auto { width: auto; }
.object-contain { object-fit: contain; }
.text-gray-500 { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    border-top: 1px solid var(--gray-200);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.main-nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-height: 52px;
    padding-right: 220px;
}

.main-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.main-nav-item {
    position: relative;
}

.main-nav-item .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 52px;
    padding: 0 1.125rem;
    box-sizing: border-box;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-700);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    border-bottom: none;
    box-shadow: inset 0 -3px 0 transparent;
}

.main-nav-item .nav-link:hover,
.main-nav-item .nav-link.active {
    color: var(--primary);
    background: #FEF2F2;
    box-shadow: inset 0 -3px 0 var(--primary);
}

.main-nav-item .nav-link.active::after {
    display: none;
}

.nav-chevron {
    opacity: 0.6;
    flex-shrink: 0;
}

/* Dropdown */
.main-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 200;
}

.main-nav-item.has-dropdown:hover .main-nav-dropdown {
    display: block;
}

.main-nav-dropdown li a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s, color 0.15s;
}

.main-nav-dropdown li a:hover {
    background: #FEF2F2;
    color: var(--primary);
}

/* Search in nav */
.main-nav-search {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.main-nav-search input[type="search"] {
    width: 160px;
    border: 1px solid var(--gray-300);
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    outline: none;
}

.main-nav-search input[type="search"]:focus {
    border-color: var(--primary);
}

.main-nav-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.main-nav-search button:hover {
    background: var(--primary-dark);
}

/* Mobile toggle */
.main-nav-toggle {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    padding: 0.5rem;
    cursor: pointer;
}

/* Mobile menu */
.main-nav-mobile {
    border-top: 1px solid var(--gray-200);
    padding: 1rem 0;
    background: #fff;
}

.main-nav-mobile-search {
    display: flex;
    padding: 0 1rem 1rem;
}

.main-nav-mobile-search input {
    flex: 1;
    border: 1px solid var(--gray-300);
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
}

.main-nav-mobile-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0.625rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

.main-nav-mobile-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s, color 0.15s;
}

.main-nav-mobile-link:hover {
    background: #FEF2F2;
    color: var(--primary);
}

.main-nav-mobile-sublink {
    display: block;
    padding: 0.5rem 1.25rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-50);
    transition: background 0.15s, color 0.15s;
}

.main-nav-mobile-sublink:hover {
    background: #FEF2F2;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1023px) {
    .main-nav-search {
        display: none;
    }

    .main-nav-bar {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .main-nav-bar {
        justify-content: center;
        padding: 0 3rem;
        padding-right: 3rem;
    }

    .main-nav-toggle {
        display: block;
    }

    .main-nav-list {
        display: none;
    }

    .main-nav-mobile[x-cloak] {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .main-nav-mobile {
        display: none !important;
    }
}

/* Legacy nav-link (used elsewhere) */
.nav-link {
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Search */
input[type="search"], input[type="email"] {
    border: 1px solid var(--gray-300);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.25rem 0 0 0.25rem;
    outline: none;
}
input:focus { border-color: var(--primary); }
button[type="submit"], .btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 0 0.25rem 0.25rem 0;
    transition: background 0.2s;
}
button[type="submit"]:hover { background: var(--primary-dark); }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
@media (min-width: 640px) { .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } .sm\:block { display: block; } }
@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
    .lg\:col-span-4 { grid-column: span 4; }
    .lg\:col-span-8 { grid-column: span 8; }
}

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.-mx-2 { margin-left: -0.5rem; margin-right: -0.5rem; }

/* Section */
.section-header { border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--gray-900); }
.text-3xl { font-size: 1.875rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }

.category-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
}
.category-badge-sm {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Cards & Articles */
.rounded-sm { border-radius: 0.125rem; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-3-2 { aspect-ratio: 3/2; }
.bg-gray-200 { background: var(--gray-200); }
.bg-gray-100 { background: var(--gray-100); }
.bg-red-50 { background: #FEF2F2; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.block { display: block; }
.inline-block { display: inline-block; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }
.min-w-0 { min-width: 0; }
.w-28 { width: 7rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.h-24 { height: 6rem; }
.w-36 { width: 9rem; }
.h-28 { height: 7rem; }

.group:hover .group-hover-scale { transform: scale(1.05); }
.group-hover-scale { transition: transform 0.5s; }
.transition { transition: all 0.2s; }
a { color: inherit; }
a:hover { color: var(--primary); }
.text-white { color: #fff; }
.text-gray-300 { color: #D1D5DB; }
.text-gray-400 { color: var(--gray-400); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-red-100 { color: #FEE2E2; }
.no-underline { text-decoration: none; }
.hover-underline:hover { text-decoration: underline; }
.hover-bg-red:hover { background: #FEF2F2; }

/* ===== HOME HERO (referans düzen) ===== */
.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
        gap: 1rem;
        align-items: stretch;
    }
}

.home-hero-main,
.home-hero-side {
    min-width: 0;
}

@media (min-width: 992px) {
    .home-hero-main {
        display: flex;
        flex-direction: column;
    }
}

/* Sol: Ana slider */
.hero-slider {
    position: relative;
}

@media (min-width: 992px) {
    .hero-slider {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
}

.hero-slider-main {
    position: relative;
    overflow: hidden;
    background: var(--gray-200);
    height: 220px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-slider-main {
        height: 300px;
    }
}

@media (min-width: 992px) {
    .hero-slider-main {
        flex: 1;
        height: auto;
        min-height: 260px;
    }
}

.hero-slider-slide {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-slider-slide.is-active {
    z-index: 2;
}

.hero-slider-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.hero-slider-slide.is-active > img {
    transform: scale(1.03);
}

.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.hero-slider-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
}

.hero-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 3rem;
    padding: 1rem 1.25rem;
    z-index: 3;
}

.hero-slider-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.hero-slider-slide:hover .hero-slider-title {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-slider-side-nav {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    width: 36px;
}

.hero-slider-side-btn {
    flex: 1;
    border: none;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.hero-slider-side-btn:first-child {
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.hero-slider-side-btn:hover {
    background: #b91c1c;
}

/* Thumbnail şeridi */
.hero-slider-thumbs-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 0.5rem;
    background: #fff;
    flex-shrink: 0;
}

.hero-slider-thumbs {
    flex: 1;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    min-width: 0;
}

.hero-slider-thumbs::-webkit-scrollbar {
    display: none;
}

.hero-slider-thumb {
    flex: 1 1 0;
    min-width: 60px;
    max-width: 120px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    background: var(--gray-200);
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.65;
}

@media (min-width: 768px) {
    .hero-slider-thumb {
        height: 64px;
    }
}

.hero-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider-thumb:hover {
    opacity: 0.9;
}

.hero-slider-thumb.is-active {
    border-color: var(--primary);
    opacity: 1;
}

.hero-slider-thumbs-nav {
    display: flex;
    flex-shrink: 0;
}

.hero-slider-thumbs-nav button {
    width: 32px;
    height: 100%;
    min-height: 56px;
    border: none;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

@media (min-width: 768px) {
    .hero-slider-thumbs-nav button {
        min-height: 64px;
    }
}

.hero-slider-thumbs-nav button:first-child {
    border-right: 1px solid rgba(255,255,255,0.25);
}

.hero-slider-thumbs-nav button:hover {
    background: #b91c1c;
}

/* Sağ: Haber grid */
.home-hero-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.side-featured {
    flex-shrink: 0;
}

.side-featured-link {
    position: relative;
    display: block;
    height: 140px;
    overflow: hidden;
    text-decoration: none;
    background: var(--gray-200);
}

@media (min-width: 992px) {
    .side-featured-link {
        height: 160px;
    }
}

.side-featured-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.side-featured-link:hover img {
    transform: scale(1.04);
}

.side-featured-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fee2e2, #fef2f2);
}

.side-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.side-featured-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem;
    z-index: 2;
}

.side-news-cat {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.side-featured-caption .side-news-cat {
    color: #fecaca;
}

.side-featured-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-featured-link:hover .side-featured-title {
    text-decoration: underline;
}

.side-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    flex: 1;
}

.side-news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.side-news-card-image {
    aspect-ratio: 16 / 10;
    background: var(--gray-200);
    overflow: hidden;
    margin-bottom: 0.375rem;
}

.side-news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.side-news-card-link:hover .side-news-card-image img {
    transform: scale(1.05);
}

.side-news-card-title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-800);
    margin: 0.125rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.side-news-card-link:hover .side-news-card-title {
    color: var(--primary);
}

/* Legacy hero */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 2rem; }
@media (min-width: 768px) { .hero-content { padding: 2rem; } .hero-title { font-size: 2.25rem; } }
.hero-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: 0.5rem; line-height: 1.25; }
.hero-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #FEE2E2, #FEF2F2);
    display: flex; align-items: center; justify-content: center;
}
.hero-placeholder span { font-family: 'Playfair Display', serif; font-size: 2.25rem; color: var(--primary); opacity: 0.3; }

.border-b { border-bottom: 1px solid var(--gray-100); }
.border-t { border-top: 1px solid var(--gray-200); }
.last-border-0:last-child { border-bottom: none; }

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sidebar */
.sticky { position: sticky; }
.top-20 { top: 5rem; }
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    border-radius: 0.125rem;
}
.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-0 > * + * { margin-top: 0; }
ol { list-style: none; }
.text-3xl-num { font-size: 1.875rem; font-family: 'Playfair Display', serif; font-weight: 700; color: #FEE2E2; line-height: 1; transition: color 0.2s; }
.popular-item:hover .text-3xl-num { color: var(--primary); }

.newsletter-box { background: var(--primary); color: #fff; padding: 1.5rem; border-radius: 0.125rem; }
.newsletter-box input { width: 100%; border-radius: 0.25rem; color: var(--gray-900); margin-bottom: 0.5rem; border-radius: 0.25rem; }
.newsletter-box button { width: 100%; background: #fff; color: var(--primary); font-weight: 600; padding: 0.5rem; border-radius: 0.25rem; border: none; cursor: pointer; }
.newsletter-box button:hover { background: var(--gray-100); }

/* ===== ARTICLE / POST DETAIL PAGE ===== */
.article-page {
    background: #fff;
}

.article-hero {
    position: relative;
    margin-bottom: 2rem;
}

.article-hero-image {
    position: relative;
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.article-hero--with-image .container-magazine {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
}

.article-hero--with-image {
    min-height: 520px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    padding: 1.25rem 0 0;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumb a:hover {
    color: var(--primary);
}

.article-breadcrumb-sep {
    color: var(--gray-400);
}

.article-header {
    padding: 1.5rem 0 2rem;
}

.article-header--overlay {
    padding: 1rem 0 2.5rem;
    color: #fff;
}

.article-header--overlay .article-breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.article-header--overlay .article-breadcrumb a:hover {
    color: #fff;
}

.article-header--overlay .article-breadcrumb-sep {
    color: rgba(255,255,255,0.5);
}

.article-header--overlay .article-title {
    color: #fff;
}

.article-header--overlay .article-spot {
    color: rgba(255,255,255,0.85);
}

.article-header--overlay .article-meta {
    border-top-color: rgba(255,255,255,0.2);
}

.article-header--overlay .article-author-name,
.article-header--overlay .article-meta-item {
    color: rgba(255,255,255,0.9);
}

.article-header--overlay .article-author-role {
    color: rgba(255,255,255,0.6);
}

.article-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.article-category-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    text-decoration: none;
    transition: background 0.2s;
}

.article-category-badge:hover {
    background: var(--primary-dark);
    color: #fff;
}

.article-breaking-badge {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    border: 2px solid var(--primary);
}

.article-editor-badge {
    display: inline-block;
    background: var(--gray-900);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
}

.article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.article-spot {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--gray-600);
    font-style: italic;
    border-left: 4px solid var(--primary);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.article-author-info {
    display: flex;
    flex-direction: column;
}

.article-author-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.article-author-role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.article-meta-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.article-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Article layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    padding-bottom: 4rem;
}

.article-main {
    min-width: 0;
}

.article-lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #FEF2F2;
    border-left: 4px solid var(--primary);
    border-radius: 0 4px 4px 0;
}

.article-share-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.article-share-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.article-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    background: #fff;
}

.article-share-btn:hover {
    transform: translateY(-1px);
}

.article-share-btn--facebook { border-color: #1877F2; color: #1877F2; }
.article-share-btn--facebook:hover { background: #1877F2; color: #fff; }

.article-share-btn--twitter { border-color: #000; color: #000; }
.article-share-btn--twitter:hover { background: #000; color: #fff; }

.article-share-btn--whatsapp { border-color: #25D366; color: #25D366; }
.article-share-btn--whatsapp:hover { background: #25D366; color: #fff; }

.article-share-btn--linkedin { border-color: #0A66C2; color: #0A66C2; }
.article-share-btn--linkedin:hover { background: #0A66C2; color: #fff; }

/* Article body typography */
.article-body {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--gray-800);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.article-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 2rem 0 0.75rem;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--primary-dark);
}

.article-body img {
    width: 100%;
    border-radius: 4px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #F9FAFB;
    border-left: 4px solid var(--primary);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

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

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.article-tags-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
}

.article-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #FEF2F2;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s;
}

.article-tag:hover {
    background: var(--primary);
    color: #fff;
}

.article-source {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--gray-50);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.article-source strong {
    color: var(--gray-800);
}

.article-author-box {
    display: flex;
    gap: 1.25rem;
    margin: 2.5rem 0;
    padding: 1.75rem;
    background: #F9FAFB;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.article-author-box-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.article-author-box-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.article-author-box-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0.25rem 0 0.5rem;
}

.article-author-box-bio {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.article-share-bottom {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #FEF2F2, #fff);
    border: 1px solid #FECACA;
    border-radius: 4px;
}

.article-share-bottom-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.article-share-bottom .article-share-buttons {
    justify-content: center;
}

/* Related articles */
.article-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 3px solid var(--primary);
}

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

.article-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.article-related-card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-related-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.article-related-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-200);
}

.article-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-related-card:hover .article-related-image img {
    transform: scale(1.05);
}

.article-related-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FEE2E2, #FEF2F2);
}

.article-related-content {
    padding: 1rem 1.25rem 1.25rem;
}

.article-related-category {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.article-related-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
    margin: 0.375rem 0 0.5rem;
    transition: color 0.2s;
}

.article-related-card:hover .article-related-title {
    color: var(--primary);
}

.article-related-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Article sidebar */
.article-sidebar-inner {
    position: sticky;
    top: 5.5rem;
}

.article-sidebar-widget {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.article-sidebar-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    padding-bottom: 0.625rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.article-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-popular-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.article-popular-item:last-child {
    border-bottom: none;
}

.article-popular-rank {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #FEE2E2;
    line-height: 1;
    flex-shrink: 0;
    width: 1.75rem;
    transition: color 0.2s;
}

.article-popular-item:hover .article-popular-rank {
    color: var(--primary);
}

.article-popular-link {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-800);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.article-popular-link:hover {
    color: var(--primary);
}

.article-popular-views {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.article-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-sidebar-list-item {
    border-bottom: 1px solid var(--gray-100);
}

.article-sidebar-list-item:last-child {
    border-bottom: none;
}

.article-sidebar-list-link {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    text-decoration: none;
    transition: background 0.15s;
}

.article-sidebar-list-link:hover {
    background: #FEF2F2;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.article-sidebar-list-thumb {
    width: 72px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background: var(--gray-200);
}

.article-sidebar-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-sidebar-list-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-800);
    transition: color 0.2s;
}

.article-sidebar-list-link:hover .article-sidebar-list-title {
    color: var(--primary);
}

.article-sidebar-list-date {
    display: block;
    font-size: 0.6875rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.article-sidebar-newsletter {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.article-sidebar-newsletter .article-sidebar-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}

.article-sidebar-newsletter p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

.article-sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-sidebar-newsletter-form input {
    border: none;
    border-radius: 4px;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    outline: none;
}

.article-sidebar-newsletter-form button {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 4px;
    padding: 0.625rem;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.article-sidebar-newsletter-form button:hover {
    background: #FEF2F2;
}

@media (max-width: 1023px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar-inner {
        position: static;
    }

    .article-hero-image img {
        height: 360px;
    }
}

@media (max-width: 599px) {
    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta-items {
        flex-direction: column;
        gap: 0.5rem;
    }

    .article-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .article-hero-image img {
        height: 280px;
    }

    .article-header--overlay {
        position: relative;
        color: inherit;
        padding: 1.5rem 0;
    }

    .article-header--overlay .article-title {
        color: var(--gray-900);
    }

    .article-header--overlay .article-spot {
        color: var(--gray-600);
    }

    .article-header--overlay .article-meta {
        border-top-color: var(--gray-200);
    }

    .article-header--overlay .article-author-name,
    .article-header--overlay .article-meta-item {
        color: var(--gray-500);
    }
}

/* Legacy post detail */
.prose { max-width: none; font-size: 1.125rem; line-height: 1.75; }
.prose p { margin-bottom: 1.25rem; }
.prose h2, .prose h3 { font-family: 'Playfair Display', serif; margin-top: 2rem; margin-bottom: 1rem; }
.prose a { color: var(--primary); }
.prose img { border-radius: 0.125rem; max-width: 100%; }
.share-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.2s;
}
.share-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Category tabs */
.category-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.category-tab {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
}
.category-tab:hover, .category-tab.active {
    border-color: var(--primary);
    color: var(--primary);
    background: #FEF2F2;
}

/* Footer */
/* ===== SITE FOOTER ===== */
.site-footer {
    background: var(--gray-900);
    color: #D1D5DB;
    margin-top: 4rem;
    border-top: 4px solid var(--primary);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3rem 0 2rem;
}

.site-footer-col {
    min-width: 0;
}

.site-footer-brand {
    display: inline-block;
    margin-bottom: 1rem;
}

.site-footer-logo {
    height: 2.75rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.site-footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
}

.site-footer-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-links li {
    margin-bottom: 0.625rem;
}

.site-footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.site-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.site-footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #D1D5DB;
    transition: background 0.2s, color 0.2s;
}

.site-footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.site-footer-contact {
    margin-top: 1.5rem;
}

.site-footer-contact a {
    color: #D1D5DB;
    font-size: 0.875rem;
    text-decoration: none;
}

.site-footer-contact a:hover {
    color: #fff;
}

.site-footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer-newsletter-form input {
    width: 100%;
    border: 1px solid #374151;
    background: #1F2937;
    color: #fff;
    border-radius: 4px;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    outline: none;
}

.site-footer-newsletter-form input::placeholder {
    color: #6B7280;
}

.site-footer-newsletter-form input:focus {
    border-color: var(--primary);
}

.site-footer-newsletter-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.site-footer-newsletter-form button:hover {
    background: var(--primary-dark);
}

.site-footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
    text-align: center;
}

.site-footer-bottom p {
    font-size: 0.8125rem;
    color: #6B7280;
    margin: 0;
}

@media (max-width: 1023px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .site-footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 599px) {
    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0 1.5rem;
    }

    .site-footer-col:first-child {
        grid-column: auto;
    }
}

/* Legacy footer (fallback) */
footer { background: var(--gray-900); color: #D1D5DB; }
footer h4 { color: #fff; font-family: 'Playfair Display', serif; }
footer a { color: #D1D5DB; text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; margin-top: 2rem; justify-content: center; }
.pagination a, .pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--gray-700);
    border-radius: 0.25rem;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

[x-cloak] { display: none !important; }
