/*
Theme Name: The Trailer Crypt
Theme URI: https://thetrailercrypt.com
Author: The Trailer Crypt
Description: Custom theme for The Trailer Crypt — a film/TV/gaming trailer journalism site. Dark-mode-first, cinematic, with a full light-theme toggle.
Version: 1.0.0
Text Domain: trailer-crypt
*/

/* =========================================
   THE TRAILER CRYPT - MASTER STYLESHEET
   ========================================= */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
    --bg-primary:     #06060b;
    --bg-card:        #0d0d14;
    --bg-elevated:    #13131f;
    --text-primary:   #f2f2f7;
    --text-secondary: #9ca3af;
    --accent-cyan:    #00f0ff;
    --accent-gold:    #ffb700;
    --accent-crimson: #dc143c;
    --border-subtle:  rgba(255,255,255,0.08);
    --border-hover:   rgba(255,255,255,0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(220, 20, 60, 0.02) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgShift {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1); }
}

/* --- HEADER & NAV --- */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(6, 6, 11, 0.92); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 2rem; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 2.5rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-crimson)); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.logo-text span { color: var(--text-secondary); font-weight: 400; font-size: 0.75rem; display: block; letter-spacing: 0.05em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border-subtle); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.2s; position: relative; }
.icon-btn:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-elevated); }
.icon-btn .tooltip { position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%); background: var(--bg-elevated); border: 1px solid var(--border-subtle); padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; color: var(--text-primary); }
.icon-btn:hover .tooltip { opacity: 1; }
.search-box { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 0 12px; height: 36px; width: 180px; transition: all 0.3s; }
.search-box:focus-within { width: 260px; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1); }
.search-box input { background: none; border: none; outline: none; color: var(--text-primary); font-size: 0.8rem; width: 100%; margin-left: 8px; font-family: 'Inter', sans-serif; }
.search-box input::placeholder { color: var(--text-secondary); }
.hamburger { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; border-radius: 8px; border: 1px solid var(--border-subtle); background: transparent; transition: all 0.2s; }
.hamburger:hover { border-color: var(--border-hover); background: var(--bg-elevated); }
.hamburger span { width: 16px; height: 1.5px; background: var(--text-secondary); border-radius: 2px; transition: all 0.2s; }

/* --- SIDEBAR --- */
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sidebar-overlay.active { opacity: 1; pointer-events: all; }
.sidebar { position: fixed; top: 0; right: 0; width: 300px; height: 100%; background: var(--bg-card); border-left: 1px solid var(--border-subtle); z-index: 2001; transform: translateX(100%); transition: transform 0.3s ease; padding: 1.5rem; }
.sidebar.active { transform: translateX(0); }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.sidebar-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; }
.sidebar-close { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: all 0.2s; }
.sidebar-close:hover { color: var(--text-primary); background: var(--bg-elevated); }
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a { display: block; padding: 0.75rem 1rem; text-decoration: none; color: var(--text-secondary); font-size: 0.9rem; border-radius: 8px; transition: all 0.2s; }
.sidebar-nav a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.sidebar-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 1.5rem 1rem 0.5rem;
    opacity: 0.6;
}
.sidebar-group-title:first-child { padding-top: 0; }

/* --- HOMEPAGE: HERO & ARTICLES --- */
.hero { position: relative; z-index: 1; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: 500px; }
.hero-content h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.hero-content h1 .gradient-text { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-crimson)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.hero-buttons { display: flex; gap: 0.75rem; }
.btn { padding: 0.7rem 1.5rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--accent-cyan); color: var(--bg-primary); }
.btn-primary:hover { background: #33f3ff; box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3); transform: translateY(-1px); }
.btn-secondary { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.btn-secondary:hover { border-color: var(--border-hover); background: var(--bg-card); transform: translateY(-1px); }
.hero-video { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); aspect-ratio: 16/9; background: var(--bg-card); }
.hero-video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); }
.play-btn { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; margin-bottom: 0.8rem; }
.play-btn:hover { background: rgba(0, 240, 255, 0.2); border-color: var(--accent-cyan); transform: scale(1.05); }
.play-btn::after { content: ''; width: 0; height: 0; border-left: 16px solid var(--text-primary); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.hero-video-label { font-size: 0.75rem; color: var(--text-secondary); letter-spacing: 0.05em; text-transform: uppercase; }

.section { position: relative; z-index: 1; padding: 3rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.section-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.section-header .view-all { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; font-weight: 500; transition: color 0.2s; }
.section-header .view-all:hover { color: var(--accent-cyan); }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.article-card:hover { border-color: rgba(220, 20, 60, 0.5); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 20, 60, 0.15); }
.article-thumb { width: 100%; aspect-ratio: 16/9; background: var(--bg-elevated); position: relative; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-thumb img { transform: scale(1.03); }
.article-badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-film { background: rgba(0, 240, 255, 0.15); color: var(--accent-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.badge-tv { background: rgba(220, 20, 60, 0.15); color: var(--accent-crimson); border: 1px solid rgba(220, 20, 60, 0.3); }
.badge-gaming { background: rgba(255, 183, 0, 0.15); color: var(--accent-gold); border: 1px solid rgba(255, 183, 0, 0.3); }
.article-body { padding: 1.2rem; }
.article-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; font-size: 0.75rem; color: var(--text-secondary); }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-secondary); }
.article-title { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.article-excerpt { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-tags { display: flex; gap: 0.4rem; margin-top: 0.8rem; flex-wrap: wrap; }
.tag { padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border-subtle); }

/* --- CALENDAR PAGE --- */
.page-hero { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 4rem 2rem 2rem; text-align: center; }
.page-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 1rem; }
.page-hero h1 .gradient-text { background: linear-gradient(135deg, var(--accent-cyan), var(--accent-crimson)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.calendar-container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 2rem 2rem 4rem; }
.month-block { margin-bottom: 3.5rem; }
.month-header { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-cyan); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 0.75rem; }
.month-header::before { content: ''; display: block; width: 4px; height: 24px; background: var(--accent-cyan); border-radius: 2px; }
.trailer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.trailer-item { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; text-decoration: none; color: inherit; }
.trailer-item:hover { border-color: rgba(220, 20, 60, 0.6); box-shadow: 0 0 15px rgba(220, 20, 60, 0.25), 0 0 30px rgba(220, 20, 60, 0.15); transform: translateX(8px); background: var(--bg-elevated); }
.trailer-info { display: flex; flex-direction: column; gap: 0.2rem; }
.trailer-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--text-primary); letter-spacing: -0.01em; }
.trailer-studio { font-size: 0.8rem; color: var(--text-secondary); }
.trailer-status { padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.status-confirmed { background: rgba(0, 240, 255, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.status-speculation { background: rgba(255, 183, 0, 0.1); color: var(--accent-gold); border: 1px solid rgba(255, 183, 0, 0.3); }

/* --- TILE BADGES --- */
.tile-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}
.badge-deepdive {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.badge-review {
    background: rgba(220, 20, 60, 0.15);
    color: var(--accent-crimson);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

/* Update .tile-meta to match the homepage article-meta layout */
.tile-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.tile-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-secondary);
}

/* --- CATEGORY PAGES (FILM/TV/GAMING) --- */
.page-content { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.section-block { margin-bottom: 4rem; }
.tile-grid-10, .tile-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }

.tile-card-link, .tile-card-static {
    background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; color: inherit; position: relative;
}
.tile-card-link { text-decoration: none; cursor: pointer; }
.tile-card-link:hover, .tile-card-static:hover {
    border-color: rgba(220, 20, 60, 0.7);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4), 0 0 35px rgba(220, 20, 60, 0.2), inset 0 0 15px rgba(220, 20, 60, 0.05);
    transform: translateY(-8px) scale(1.03); z-index: 10;
}
.tile-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-elevated); }
.tile-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tile-card-link:hover .tile-thumb img, .tile-card-static:hover .tile-thumb img { transform: scale(1.1); }
.badge-top5 { position: absolute; top: 10px; left: 10px; background: var(--accent-gold); color: var(--bg-primary); font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; letter-spacing: 0.05em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(255, 183, 0, 0.3); }
/* When a Top5 number badge is present, shift the category badge to sit beside it instead of underneath it */
.badge-top5 ~ .tile-badge { left: 46px; }
.tile-content { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.tile-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; line-height: 1.3; color: var(--text-primary); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-studio { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.tile-genre { background: var(--bg-elevated); padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border-subtle); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
}
.contact-info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}
.contact-info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.contact-info-card li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.contact-info-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.contact-info-card a:hover {
    color: var(--accent-cyan);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    border-color: var(--accent-cyan);
}
.contact-form button {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
}
.contact-form button:hover {
    background: #33f3ff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}
.contact-success { display: none; color: var(--accent-cyan); font-size: 0.9rem; font-weight: 500; margin-top: 0.5rem; }

/* --- NEWSLETTER & FOOTER --- */
.newsletter { position: relative; z-index: 1; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.newsletter-inner { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 3rem; text-align: center; position: relative; overflow: hidden; animation: newsletterGlow 4s ease-in-out infinite; }
@keyframes newsletterGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.05), inset 0 0 30px rgba(0, 240, 255, 0.02); border-color: var(--border-subtle); }
    50% { box-shadow: 0 0 50px rgba(0, 240, 255, 0.30), inset 0 0 50px rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.45); }
}
.newsletter-inner h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.newsletter-inner p { color: var(--text-secondary); font-size: 0.9rem; max-width: 500px; margin: 0 auto 1.5rem; line-height: 1.6; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid var(--border-subtle); background: var(--bg-elevated); color: var(--text-primary); font-size: 0.85rem; font-family: 'Inter', sans-serif; outline: none; transition: all 0.2s; }
.newsletter-form input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1); }
.newsletter-form input::placeholder { color: var(--text-secondary); }
.newsletter-form button { padding: 0.75rem 1.5rem; border-radius: 8px; background: var(--accent-cyan); color: var(--bg-primary); font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: #33f3ff; box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3); }
.newsletter-success { display: none; color: var(--accent-cyan); font-size: 0.85rem; margin-top: 1rem; font-weight: 500; }

.footer { position: relative; z-index: 1; border-top: 1px solid var(--border-subtle); padding: 3rem 2rem 1.5rem; margin-top: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); text-align: center; font-size: 0.75rem; color: var(--text-secondary); }

/* --- SINGLE POST TEMPLATE --- */
.post-hero { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 3rem 2rem 1.5rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--accent-cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.post-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.3rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
.post-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 1rem; }
.post-byline .author-name { color: var(--text-primary); font-weight: 600; }
.post-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-secondary); }
.post-hero-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.post-hero-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-row { display: flex; gap: 0.6rem; }
.share-btn { width: 34px; height: 34px; border-radius: 8px; background: var(--bg-elevated); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.share-btn:hover { border-color: var(--accent-crimson); background: rgba(220, 20, 60, 0.1); }

.post-media { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 2rem; z-index: 1; }
.post-media-frame { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-subtle); background: var(--bg-card); }
.post-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.post-media-frame .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.post-media-credit { position: absolute; bottom: 10px; right: 12px; font-size: 0.65rem; color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.5); padding: 3px 8px; border-radius: 4px; letter-spacing: 0.02em; }

.post-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 3rem 2rem 1rem; color: var(--text-primary); }
.post-content > p { font-size: 1rem; line-height: 1.85; color: var(--text-secondary); margin-bottom: 1.5rem; }
.post-content > p.lede { font-size: 1.1rem; color: var(--text-primary); }
.post-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin: 2rem 0 0.7rem; }

.breakdown-point { margin: 2.2rem 0; padding-top: 1.8rem; border-top: 1px solid var(--border-subtle); }
.breakdown-point:first-of-type { border-top: none; padding-top: 0; }
.breakdown-point h3 { margin-top: 0; }
.breakdown-point p { font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); }

.gallery-block { margin: 2.5rem 0; }
.gallery-block h3 { margin-top: 0; }
.filmstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.filmstrip-item { border-radius: 8px; overflow: hidden; border: 1px solid var(--border-subtle); background: var(--bg-card); }
.filmstrip-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.filmstrip-caption { font-size: 0.7rem; color: var(--text-secondary); padding: 6px 8px; border-top: 1px solid var(--border-subtle); }

.quicktake { display: flex; align-items: center; gap: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; }
.score-badge { flex-shrink: 0; width: 58px; height: 58px; border-radius: 14px; background: var(--accent-crimson); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; box-shadow: 0 6px 18px rgba(220, 20, 60, 0.35); }
.score-badge .score-num { font-size: 1.10rem; line-height: 1; }
.score-badge .score-max { font-size: 0.90rem; }
.quicktake-text h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 0.4rem; }
.quicktake-text p { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.pros-col, .cons-col { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 1.25rem; }
.pros-col h4, .cons-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.pros-col h4 { color: var(--accent-cyan); }
.cons-col h4 { color: var(--accent-crimson); }
.pros-col ul, .cons-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.pros-col li::before { content: '✓  '; color: var(--accent-cyan); font-weight: 700; }
.cons-col li::before { content: '✕  '; color: var(--accent-crimson); font-weight: 700; }

.final-verdict { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 1.5rem; margin: 2rem 0 0; }
.final-verdict h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 0.6rem; }
.final-verdict p { font-size: 0.95rem; line-height: 1.75; color: var(--text-primary); margin: 0; }

.fact-box { background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent-gold); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.fact-box h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 0.9rem; }
.fact-synopsis {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    font-style: italic;
}
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.fact-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.85rem; }
.fact-label { color: var(--text-secondary); }
.fact-value { color: var(--text-primary); font-weight: 600; text-align: right; }

.pull-quote { border-left: 3px solid var(--accent-cyan); padding-left: 1.25rem; margin: 2rem 0; font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 600; font-style: italic; color: var(--text-primary); line-height: 1.5; }
.pull-quote cite { display: block; margin-top: 0.6rem; font-size: 0.72rem; font-style: normal; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

.author-bio { position: relative; z-index: 1; max-width: 760px; margin: 1rem auto 0; padding: 0 2rem; }
.author-bio-inner { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.75rem; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-crimson)); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--bg-primary); font-size: 1.2rem; }
.author-bio-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.author-bio-role { font-size: 0.75rem; color: var(--accent-cyan); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; }
.author-bio-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

.related-heading { position: relative; z-index: 1; max-width: 1000px; margin: 3.5rem auto 0; padding: 0 2rem; }
.related-heading h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.related-grid { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 1.25rem 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.comments-section { position: relative; z-index: 1; max-width: 760px; margin: 3.5rem auto 0; padding: 0 2rem; }
.comments-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.comment-form { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.5rem; }
.comment-form-row { display: flex; gap: 0.8rem; }
.comment-form input, .comment-form textarea { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 0.7rem 1rem; color: var(--text-primary); font-size: 0.85rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent-cyan); }
.comment-form input { flex: 1; }
.comment-form button { align-self: flex-start; padding: 0.7rem 1.5rem; border-radius: 8px; background: var(--accent-cyan); color: var(--bg-primary); font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; }
.comment-form button:hover { background: #33f3ff; }
.comment-success { display: none; font-size: 0.85rem; color: var(--accent-cyan); }
.comment-list { display: flex; flex-direction: column; gap: 1.5rem; }
.comment-item { display: flex; gap: 1rem; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border-subtle); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-secondary); }
.comment-body { flex: 1; }
.comment-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; }
.comment-author { font-weight: 600; font-size: 0.85rem; }
.comment-date { font-size: 0.72rem; color: var(--text-secondary); }
.comment-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* --- EDITORIAL PAGES (EXCLUSIVES & BEYOND THE CRYPT) --- */
.page-hero-exclusive h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-crimson));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero-rumor h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-exclusive {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.2);
}

.badge-whisper {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    font-style: italic;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.editorial-grid .article-card {
    display: flex;
    flex-direction: row;
    height: 220px;
}
.editorial-grid .article-thumb {
    width: 45%;
    aspect-ratio: auto;
    height: 100%;
    flex-shrink: 0;
}
.editorial-grid .article-body {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}
.editorial-grid .article-title {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

/* --- ARCHIVE FILTERS --- */
.archive-filters { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-subtle); }
.filter-group { display: flex; flex-direction: column; gap: 0.6rem; }
.filter-group-label { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { background: var(--bg-elevated); border: 1px solid var(--border-subtle); color: var(--text-secondary); font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-btn.active { background: var(--accent-cyan); border-color: var(--accent-cyan); color: var(--bg-primary); }
.archive-empty { display: none; text-align: center; color: var(--text-secondary); padding: 3rem 0; font-size: 0.9rem; }

/* --- PRESS KIT --- */
.press-section { margin: 3rem 0; }
.press-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.press-section > p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 640px; }

.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.logo-swatch { border-radius: 12px; padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; border: 1px solid var(--border-subtle); }
.logo-swatch.dark { background: var(--bg-primary); }
.logo-swatch.light { background: #ffffff; }
.logo-swatch .logo-icon { width: 56px; height: 56px; font-size: 26px; border-radius: 12px; }
.logo-swatch .logo-text { font-size: 1.5rem; }
.logo-swatch.light .logo-text { color: #0d0d14; }
.logo-swatch.light .logo-text span { color: #6b7280; }
.logo-swatch-icon-only .logo-icon { width: 72px; height: 72px; font-size: 34px; border-radius: 16px; }
.logo-swatch-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); font-weight: 600; }

.color-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.color-swatch { border-radius: 10px; overflow: hidden; border: 1px solid var(--border-subtle); }
.color-swatch-fill { height: 80px; }
.color-swatch-label { padding: 0.75rem; background: var(--bg-card); }
.color-swatch-name { font-size: 0.8rem; font-weight: 600; display: block; }
.color-swatch-hex { font-size: 0.7rem; color: var(--text-secondary); font-family: ui-monospace, 'SF Mono', Consolas, monospace; }

.press-download-note { background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 3px solid var(--accent-gold); border-radius: 10px; padding: 1.25rem 1.5rem; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* --- TIP SUBMISSION GUIDELINES (contact page) --- */
.tip-guidelines { margin-top: 4rem; border-top: 1px solid var(--border-subtle); padding-top: 3rem; }

/* --- WPFORMS BRAND OVERRIDE ---
   WPForms ships its own default styling; this repaints its core classes to match
   the site's .contact-form look instead of maintaining two separate designs.
   If WPForms' "Disable CSS" setting is off, these rules need !important to win
   the specificity fight against wpforms-full-styles.css — check that setting first. */
.wpforms-container { background: var(--bg-card) !important; border: 1px solid var(--border-subtle) !important; border-radius: 12px !important; padding: 1.5rem !important; }
.wpforms-container .wpforms-field { padding: 0 0 1rem !important; }
.wpforms-container .wpforms-field-label { color: var(--text-primary) !important; font-family: 'Inter', sans-serif !important; font-size: 0.85rem !important; font-weight: 600 !important; margin-bottom: 0.4rem !important; }
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container textarea, .wpforms-container select {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    padding: 0.8rem 1rem !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    width: 100% !important;
}
.wpforms-container input:focus, .wpforms-container textarea:focus, .wpforms-container select:focus { border-color: var(--accent-cyan) !important; outline: none !important; }
.wpforms-container button.wpforms-submit {
    background: var(--accent-cyan) !important;
    color: var(--bg-primary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.8rem 1.5rem !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.2s !important;
}
.wpforms-container button.wpforms-submit:hover { background: #33f3ff !important; box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3) !important; }
.wpforms-confirmation-container { color: var(--accent-cyan) !important; background: var(--bg-card) !important; border: 1px solid var(--border-subtle) !important; border-radius: 12px !important; }

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
}
.pagination a, .pagination span {
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s;
}
.pagination a:hover {
    border-color: var(--accent-crimson);
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}
.pagination .active {
    background: var(--accent-crimson);
    color: var(--text-primary);
    border-color: var(--accent-crimson);
}
.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* --- CUSTOM STATUS BADGE FALLBACK --- */
.trailer-status:not(.status-confirmed):not(.status-speculation) {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .tile-grid-10, .tile-grid-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; min-height: auto; gap: 2rem; }
    .hero-content h1 { font-size: 2rem; }
    .articles-grid, .tile-grid-10, .tile-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .search-box { width: 140px; }
    .search-box:focus-within { width: 180px; }
    .page-content, .calendar-container { padding: 2rem 1.5rem 3rem; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .filmstrip { grid-template-columns: repeat(2, 1fr); }
    .pros-cons { grid-template-columns: 1fr; }
    .fact-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-grid .article-card { height: auto; flex-direction: column; }
    .editorial-grid .article-thumb { width: 100%; aspect-ratio: 16/9; }
    .editorial-grid .article-body { width: 100%; padding: 1.2rem; }
}

@media (max-width: 600px) {
    .header { padding: 0 1rem; }
    .hero { padding: 2rem 1rem; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-buttons { flex-direction: column; }
    .articles-grid, .tile-grid-10, .tile-grid-5 { grid-template-columns: 1fr; gap: 1.2rem; }
    .section-block { margin-bottom: 3rem; }
    .newsletter { padding: 2rem 1rem; }
    .newsletter-inner { padding: 2rem 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; }
    .search-box { display: none; }
    .page-content { padding: 1.5rem 1rem 2rem; }
    .page-hero { padding: 3rem 1.5rem 1.5rem; }
    .page-hero h1 { font-size: 1.7rem; }
    .month-header { font-size: 1.3rem; }
    .trailer-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1rem 1.2rem; }
    .trailer-item:hover { transform: translateY(-3px); }
    .trailer-status { align-self: flex-start; }
    .post-hero { padding: 2.5rem 1.5rem 1rem; }
    .post-hero h1 { font-size: 1.6rem; }
    .post-media { padding: 0 1rem; }
    .post-content { padding: 2rem 1rem 1rem; }
    .related-grid { grid-template-columns: 1fr; padding: 1.25rem 1rem 0; }
    .related-heading { padding: 0 1rem; }
    .comments-section { padding: 0 1rem; }
    .filmstrip { grid-template-columns: repeat(2, 1fr); }
    .author-bio { padding: 0 1rem; }
    .author-bio-inner { flex-direction: column; text-align: center; align-items: center; }
    .comment-form-row { flex-direction: column; }
    .archive-filters { gap: 1.25rem; }
    .filter-btn { padding: 0.45rem 0.85rem; font-size: 0.75rem; }
    .logo-grid { grid-template-columns: 1fr; }
    .logo-swatch { padding: 2rem 1.5rem; }
}

/* =========================================
   LIGHT THEME OVERRIDES
   ========================================= */

body.light-theme {
    --bg-primary: #f4f5f7;
    --bg-card: #ffffff;
    --bg-elevated: #e9ecef;
    --text-primary: #111118;
    --text-secondary: #555566;
    --accent-cyan: #00839e;
    --accent-gold: #b87a00;
    --accent-crimson: #c8102e;
    --border-subtle: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
}

body.light-theme::before {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 131, 158, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 16, 46, 0.03) 0%, transparent 50%);
}

body.light-theme .header {
    background: rgba(244, 245, 247, 0.92);
}

@keyframes newsletterGlowLight {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.03); border-color: var(--border-subtle); }
    50% { box-shadow: 0 8px 30px rgba(0, 131, 158, 0.08); border-color: rgba(0, 131, 158, 0.2); }
}
body.light-theme .newsletter-inner {
    animation: newsletterGlowLight 4s ease-in-out infinite;
}

body.light-theme .sidebar-overlay {
    background: rgba(0,0,0,0.3);
}

body.light-theme .hero-video-placeholder {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

/* Light-mode newsletter flare */
body.light-theme .newsletter-inner {
	box-shadow:
		0 0 25px rgba(6, 6, 11, 0.22),
		0 0 70px rgba(6, 6, 11, 0.16),
		0 0 140px rgba(6, 6, 11, 0.12);
	border-color: rgba(6, 6, 11, 0.25);
}

/* =========================================
CORRECTED THEME PATCHES
========================================= */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent-cyan);
	color: var(--bg-primary);
	padding: 0.5rem 1rem;
	z-index: 9999;
	text-decoration: none;
	font-weight: 600;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.article-thumb-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

.post-media-frame .article-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.share-btn {
	cursor: pointer;
	color: var(--text-primary);
}

button.share-btn {
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
}

.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.pagination .current {
	background: var(--accent-crimson);
	color: var(--text-primary);
	border-color: var(--accent-crimson);
}

/* =========================================
CUSTOM LOGO UPDATE
========================================= */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent-cyan);
	color: var(--bg-primary);
	padding: 0.5rem 1rem;
	z-index: 9999;
	text-decoration: none;
	font-weight: 600;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* Make sure logo layout works even if older CSS has issues */
.logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}

/* Uploaded logo image */
.custom-logo-img {
	height: 36px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	display: block;
}

/* Slightly larger logo in footer */
.footer .custom-logo-img {
	height: 10px;
}

/* Mobile adjustment */
@media (max-width: 600px) {
	.custom-logo-img {
		height: 30px;
		max-width: 180px;
	}

	.footer .custom-logo-img {
		height: 36px;
	}
}

/*
OPTIONAL:
If your uploaded logo already includes the words "THE TRAILER CRYPT"
and you do not want the text next to it, remove the slash/star marks
below to activate this rule:

.logo-text {
	display: none;
}
*/

/* =========================================
PRESS KIT LOGO IMAGES
========================================= */

.logo-swatch img {
	display: block;
}

.press-logo-img {
	max-height: 64px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.press-icon-img {
	max-height: 72px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.logo-swatch-icon-only .press-logo-img {
	max-height: 72px;
}

/* =========================================
PRESS KIT IMAGE ASSETS
========================================= */

a.logo-swatch {
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

a.logo-swatch:hover {
	border-color: var(--accent-cyan);
	transform: translateY(-2px);
}

.logo-grid-auto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}

.press-logo-img {
	max-height: 120px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.logo-swatch-icon-only .press-logo-img {
	max-height: 90px;
}

.press-rules {
	color: var(--text-secondary);
	padding-left: 1.2rem;
	line-height: 1.7;
}

.press-rules li {
	margin-bottom: 0.5rem;
}

/* Logo image sizing — lives in style.css so static pages get it too */
.logo .custom-logo-img,
.logo img {
	height: 36px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	display: block;
}

.footer .logo .custom-logo-img,
.footer .logo img {
	height: 42px;
}

/* ============ 404 CONCEPTS ============ */
.tc404 { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 3.5rem 1.5rem 4rem; }

/* Concept 1 — Cutting Room Floor */
.cr-slate { border: 1px solid var(--border-hover); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.cr-slate-clap { height: 36px; background: repeating-linear-gradient(45deg, #f2f2f7 0 16px, #0d0d14 16px 32px); border-bottom: 1px solid var(--border-hover); }
.cr-slate-body { padding: 2.2rem 2rem 1.8rem; }
.cr-slate-body h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.5px; color: var(--text-primary); }
.cr-slate-body p { margin-top: 0.8rem; color: var(--text-secondary); line-height: 1.7; max-width: 60ch; }
.cr-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin: 0; background: var(--border-subtle); border-top: 1px solid var(--border-subtle); }
.cr-meta > div { background: var(--bg-elevated); padding: 1rem 1.2rem; }
.cr-label { font-size: 0.65rem; letter-spacing: 2px; color: var(--text-secondary); text-transform: uppercase; }
.cr-value { margin: 0.35rem 0 0; font-weight: 700; color: var(--text-primary); }

/* Concept 2 — Red Band Error */
.rb-card { border: 3px double var(--accent-crimson, #dc143c); border-radius: 8px; background: rgba(220, 20, 60, 0.06); padding: 3.2rem 2rem; text-align: center; }
.rb-kicker { font-size: 0.68rem; letter-spacing: 3px; color: var(--text-secondary); text-transform: uppercase; }
.rb-card h1 { font-family: 'Space Grotesk', sans-serif; font-size: 1.9rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin: 1.3rem auto; max-width: 30ch; }
.rb-rating { display: inline-block; border: 1px solid var(--accent-crimson, #dc143c); color: var(--accent-crimson, #dc143c); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.rb-fine { margin: 1.6rem auto 0; max-width: 52ch; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.8; }

/* Concept 3 — Vault Redacted */
.vault-card { position: relative; border: 1px solid var(--accent-gold, #ffb700); border-radius: 12px; background: var(--bg-card); padding: 2.6rem 2rem; }
.vault-card h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; color: var(--text-primary); margin-top: 1rem; }
.vault-card p { margin-top: 1rem; max-width: 60ch; color: var(--text-secondary); line-height: 1.8; }
.redacted { background: #000; color: transparent; border-radius: 3px; padding: 0 0.45em; user-select: none; box-shadow: inset 0 0 0 1px #22222c; }
.vault-stamp { position: absolute; top: 1.4rem; right: 1.4rem; transform: rotate(8deg); border: 2px solid var(--accent-gold, #ffb700); color: var(--accent-gold, #ffb700); border-radius: 4px; padding: 0.4rem 0.8rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: 0.9; }

/* Concept 4 — Stuck Countdown Leader */
.cd-wrap { text-align: center; }
.cd-leader { position: relative; width: 220px; height: 220px; margin: 0 auto 2.2rem; border-radius: 50%; border: 2px solid var(--border-hover); background: radial-gradient(circle, var(--bg-elevated) 0%, var(--bg-card) 72%); overflow: hidden; animation: cd-flicker 3.2s steps(2) infinite; }
.cd-leader::before, .cd-leader::after { content: ''; position: absolute; background: var(--border-hover); }
.cd-leader::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cd-leader::after { top: 50%; left: 0; right: 0; height: 1px; }
.cd-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(0, 240, 255, 0.16) 0deg 42deg, transparent 42deg 360deg); animation: cd-spin 4s linear infinite; }
.cd-number { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 4rem; font-weight: 700; letter-spacing: 3px; color: var(--text-primary); }
.cd-wrap h1 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); }
.cd-wrap p { margin: 1rem auto 0; max-width: 52ch; color: var(--text-secondary); line-height: 1.7; }
@keyframes cd-spin { to { transform: rotate(360deg); } }
@keyframes cd-flicker { 0%, 91%, 94%, 98%, 100% { opacity: 1; } 92% { opacity: 0.82; } 96% { opacity: 0.9; } }

/* Shared escape hatches */
.c404-extras { margin-top: 3.5rem; border-top: 1px solid var(--border-subtle); padding-top: 2.6rem; }
.c404-extras h2 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 1rem; }
.c404-search.search-box { width: 100%; max-width: 520px; height: 44px; margin-bottom: 2.2rem; }
.c404-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 2.2rem; }
.c404-tile { display: block; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--bg-card); padding: 1.15rem 1rem; text-align: center; text-decoration: none; color: var(--text-primary); font-weight: 700; letter-spacing: 1px; transition: border-color 0.2s ease, transform 0.2s ease; }
.c404-tile:hover { border-color: var(--accent-cyan, #00f0ff); transform: translateY(-2px); }
.c404-tile span { display: block; margin-top: 0.35rem; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.5px; color: var(--text-secondary); }
.c404-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.6rem; }
.c404-actions .btn { display: inline-block; border: 1px solid var(--border-hover); border-radius: 8px; padding: 0.7rem 1.4rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; text-decoration: none; color: var(--text-primary); background: transparent; }
.c404-actions .btn-primary { background: var(--accent-cyan, #00f0ff); color: #06060b; border-color: var(--accent-cyan, #00f0ff); }
.c404-actions .btn-report { border-color: var(--accent-crimson, #dc143c); color: var(--accent-crimson, #dc143c); }
.c404-posts { list-style: none; margin: 0; padding: 0; }
.c404-posts li { border-bottom: 1px solid var(--border-subtle); }
.c404-posts a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.25rem; text-decoration: none; color: var(--text-primary); }
.c404-posts a:hover { color: var(--accent-cyan, #00f0ff); }
.c404-post-cat { padding-top: 0.2rem; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; }

/* Mobile */
@media (max-width: 600px) {
	.tc404 { padding: 2.5rem 1rem 3rem; }
	.cr-slate-body { padding: 1.5rem 1.2rem 1.3rem; }
	.cr-slate-body h1 { font-size: 1.7rem; }
	.cr-meta { grid-template-columns: 1fr 1fr; }
	.rb-card { padding: 2.2rem 1.2rem; }
	.rb-card h1 { font-size: 1.35rem; }
	.vault-card { padding: 1.8rem 1.2rem; }
	.vault-stamp { position: static; display: inline-block; transform: rotate(-3deg); margin-top: 1.2rem; }
	.cd-leader { width: 170px; height: 170px; }
	.cd-number { font-size: 3rem; }
}

/* Newsletter paused until Mailchimp is connected * Delete these 3 lines to restore Newsletter
.newsletter {
	display: none;
}