/*
Theme Name: Relatando V5 (Awwwards v8.5.6)
Theme URI: https://relatando.com
Author: RelatandoCarlos & AI
Author URI: https://relatando.com
Description: Tema personalizado ultra-rápido diseñado para SEO, AdSense, E-E-A-T, Estrellas Google y Sincronización Automática con YouTube. Actualización Awwwards Edition (Zero-CLS Font Shield, Safe Engine v8.5.6).
Version: 8.5.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: relatando
*/

:root {
    /* Color Palette - Fuegos Fatuos & Oro Antiguo (Awwwards Noir Edition) */
    --color-bg: #030705;
    --color-surface: #060f09;
    --color-text-main: #f0f5f2;
    --color-text-muted: #a3b8ad;
    --color-accent: #00ff88;
    --color-accent-dark: #059669;
    --color-accent-light: #00e58b;
    --color-gold: #d4af37;
    --color-gold-dark: #c8a355;
    --color-border-glow: rgba(0, 255, 136, 0.28);
    --color-gold-glow: rgba(212, 175, 55, 0.32);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Cinzel', 'Playfair Display', Georgia, "Times New Roman", serif;
    --font-size-base: 1rem;

    /* Spacing */
    --spacing-container: 1240px;
    --spacing-reading: 820px;
}

/* ========================================
   ABOUT US PAGE (SOBRE NOSOTROS)
   ======================================== */

.about-header .page-title {
    font-size: 5rem;
    color: var(--color-text-main);
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.section-title-left {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-accent-light);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--color-accent);
}

.noir-portrait {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(1) contrast(1.2) brightness(0.9) sepia(0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 767px) {
    .noir-portrait {
        filter: none;
        /* Speed up mobile rendering */
    }
}

.about-mission-section {
    background: rgba(15, 15, 15, 0.8);
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    border-bottom: 1px solid rgba(196, 30, 58, 0.2);
}

.mission-box {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-text-main);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pillar {
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pillar:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.5));
}

.pillar h3 {
    color: var(--color-accent-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pillar p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.about-why-section .why-container {
    text-align: center;
}

.why-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 2;
    font-style: italic;
    color: var(--color-text-main);
    opacity: 0.9;
}

.section-padding-large {
    padding: 8rem 1.5rem;
}

@media (max-width: 767px) {
    .about-header .page-title {
        font-size: 3rem;
    }
}

/* ========================================
   HOME MANIFESTO & IDENTITY
   ======================================== */

.manifesto-section {
    background: linear-gradient(to right, rgba(15, 15, 15, 0.95), rgba(10, 10, 10, 0.9)),
        url('https://relatando.com/wp-content/uploads/2026/01/Casa-Encantada-.jpeg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    border-top: 1px solid var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .manifesto-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.manifesto-text {
    position: relative;
    z-index: 2;
}

.manifesto-tagline {
    color: var(--color-accent-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: block;
}

.manifesto-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.manifesto-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

.manifesto-body {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--color-text-main);
    opacity: 0.9;
}

.manifesto-image-container {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.manifesto-image-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.manifesto-image-container img {
    width: 100%;
    filter: sepia(0.3) contrast(1.2) brightness(0.8);
    display: block;
}

/* Footer SEO Blurb */
.footer-blurb {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    text-align: center;
}

.footer-blurb strong {
    color: var(--color-accent-light);
}

@media (max-width: 899px) {
    .manifesto-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
}


/* ========================================
   ENCYCLOPEDIA MASONRY (WALL OF MYSTERY)
   ======================================== */

.encyclopedia-masonry-view {
    column-count: 1;
    column-gap: 2.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .encyclopedia-masonry-view {
        column-count: 2;
    }
}

@media (min-width: 1100px) {
    .encyclopedia-masonry-view {
        column-count: 3;
    }
}

.encyclopedia-masonry-view .story-card {
    break-inside: avoid;
    margin-bottom: 2.5rem;
    display: inline-block;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Offset bricks for a less uniform look */
@media (min-width: 768px) {
    .encyclopedia-masonry-view .story-card:nth-child(odd) {
        transform: translateY(20px);
    }

    .encyclopedia-masonry-view .story-card:nth-child(3n) {
        transform: translateY(-15px);
    }
}

.encyclopedia-masonry-view .story-card:hover {
    transform: scale(1.03) translateY(-5px);
    z-index: 5;
}

/* Larger, protagonist titles for Encyclopedia */
.encyclopedia-masonry-view .story-title {
    font-size: 1.8rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-top: 1rem;
    color: var(--color-text-main);
    text-shadow: 0 0 15px rgba(196, 30, 58, 0.3);
}

/* Atmospheric Noir Notes (Intercalated bricks) */
.noir-note-brick {
    break-inside: avoid;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(196, 30, 58, 0.15);
    border-radius: 4px;
    display: inline-block;
    width: 100%;
    text-align: center;
    position: relative;
}

.noir-note-brick p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-accent-light);
    margin: 0;
    opacity: 0.8;
}

.noir-note-brick::before {
    content: '◈';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a0a;
    padding: 0 10px;
    color: var(--color-accent);
    font-size: 1.2rem;
}


/* ========================================
   CATEGORY PREFACIO (PREAMBLE)
   ======================================== */

.prefacio-container {
    max-width: 800px;
    margin: -3rem auto 4rem;
    padding: 3rem;
    background: rgba(20, 20, 20, 0.8);
    border-left: 3px solid var(--color-accent);
    position: relative;
    z-index: 10;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.5);
}

.prefacio-label {
    display: block;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.prefacio-content {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.9;
    font-style: italic;
    color: var(--color-text-main);
}

.prefacio-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .prefacio-container {
        margin: -2rem 1rem 3rem;
        padding: 2rem;
    }
}

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

/* Global Image Fix */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--color-text-main);
    background: #0a0a0a;
    margin: 0;
    padding: 0;
    overflow-x: clip;
    position: relative;
}

/* Static dark background - textureCarousel removed for CLS/performance */
body::before {
    display: none !important;
}

@media (max-width: 767px) {
    .fog-container {
        display: none;
        /* Remove expensive animation on mobile */
    }
}

/* Shadow Analytics & Encyclopedia Context */
.shadow-analytics {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.shadow-analytics i {
    color: var(--color-accent);
    font-size: 0.75rem;
}

.encyclopedia-context-block {
    margin-top: 60px;
    padding: 30px;
    background: rgba(196, 30, 58, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 8px 8px 0;
}

.context-title {
    color: var(--color-accent-light);
    margin-bottom: 15px;
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.context-intro {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.context-terms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.context-term-card {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.context-term-card:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 767px) {
    .shadow-analytics {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* @keyframes textureCarousel REMOVED — caused background-image CLS + 343KB JPEG load on desktop */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

a:hover {
    color: var(--color-text-main);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Modern Animations */
@keyframes slideInLeft {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(196, 30, 58, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(196, 30, 58, 0.6), 0 0 30px rgba(196, 30, 58, 0.4);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.3s ease-out;
}

/* Fog Effect - Pure CSS */
.fog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.fog-img {
    position: absolute;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(120, 120, 120, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(100, 100, 100, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(90, 90, 90, 0.1) 0%, transparent 50%);
    animation: fogMove1 30s ease-in-out infinite;
}

.fog-img-second {
    background:
        radial-gradient(ellipse at 70% 40%, rgba(110, 110, 110, 0.13) 0%, transparent 45%),
        radial-gradient(ellipse at 30% 80%, rgba(95, 95, 95, 0.11) 0%, transparent 45%);
    animation: fogMove2 40s ease-in-out infinite reverse;
}

@keyframes fogMove1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10%, -5%) scale(1.1);
    }
}

@keyframes fogMove2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10%, 5%) scale(1.05);
    }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    /* More transparent for glassmorphism */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    /* Slightly more compact */
    transition: background 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.site-title a {
    color: inherit;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.main-navigation.toggled {
    transform: translateX(0);
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin-bottom: 1.5rem;
}

.main-navigation a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

/* WordPress Submenu Styles - CRITICAL */
.main-navigation ul ul {
    display: none;
    /* Hide submenus by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    z-index: 9999;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
    display: block;
    /* Show submenu on hover */
}

.main-navigation ul ul li {
    margin-bottom: 0;
    width: 100%;
}

.main-navigation ul ul a {
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
}

.main-navigation ul ul a:hover {
    background: var(--color-surface);
    padding-left: 2rem;
}

/* Nested submenus (third level) */
.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        transform: none;
        box-shadow: none;
    }

    .main-navigation ul {
        display: flex;
        gap: 1.5rem;
        /* Reduced gap to prevent crowding */
        align-items: center;
    }

    .main-navigation li {
        margin-bottom: 0;
    }

    .main-navigation a {
        font-size: 0.82rem;
        /* Shorter font size for desktop */
        padding: 0.5rem 0.2rem;
        color: var(--color-text-muted);
        font-weight: 700;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .main-navigation a:hover {
        color: var(--color-accent-light);
        padding-left: 0;
    }

    /* Desktop submenu positioning */
    .main-navigation ul ul {
        position: absolute;
        top: 100%;
        left: 0;
    }
}

/* ========================================
   SEARCH FORM
   ======================================== */

.search-form {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    /* More rounded/modern */
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    max-width: 180px;
    /* Keep it compact */
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.2);
    max-width: 220px;
    /* Expand on focus */
}

.search-field {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    width: 200px;
    outline: none;
}

.search-field::placeholder {
    color: var(--color-text-muted);
}

.search-submit {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: var(--color-accent);
}

.search-submit svg {
    width: 20px;
    height: 20px;
}

/* Screen reader only text */
.screen-reader-text {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Mobile search */
@media (max-width: 767px) {
    .search-form {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 400px;
        z-index: 999;
    }

    .search-field {
        width: 100%;
    }
}

/* Desktop search positioning */
@media (min-width: 768px) {
    .header-container {
        gap: 2rem;
    }

    .search-form {
        margin-left: auto;
    }
}


/* PAGE HEADER */
.page-header {
    min-height: 100vh;
    /* Full height like hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
}

.page-header-video {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Page Video Background Styles */
.page-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.page-bg-video.active {
    opacity: 0.35;
    /* Same as hero */
}

.page-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.page-header .header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 15px rgba(196, 30, 58, 0.5);
}

.entry-subtitle,
.archive-description {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #000;
    contain: layout paint;
    /* Prevent layout shifts affecting outside */
}

/* ================================================
   HERO IMAGE CAROUSEL — JS-class controlled
   Solo transition de opacity (GPU composited).
   JS añade/quita clase .active para hacer crossfade.
   ================================================ */
.hero-img-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    contain: strict;
}

.hero-img-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity se pone inline en el HTML para estado inicial sin flash */
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-img-slide.active {
    opacity: 1 !important;
}

/* Reduce-motion: sin transición */
@media (prefers-reduced-motion: reduce) {
    .hero-img-slide { transition: none; }
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1200px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-light);
    /* Rojo brillante para títulos */
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 0 40px rgba(196, 30, 58, 0.3);
    position: relative;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    opacity: 0.3;
    z-index: -1;
    text-shadow: 0 0 30px var(--color-accent);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
}

.cta-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (max-width: 767px) {
    .hero-video {
        /* On mobile, videos might be too heavy, reduce opacity more */
        opacity: 0.25;
    }

    .hero-video.active {
        opacity: 0.25;
    }
}

/* Hero Quote with Blood Drip Effect */
.hero-quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #ff4757;
    margin: 2rem auto;
    max-width: 800px;
    line-height: 1.6;
    position: relative;
    padding: 1.5rem 1.5rem 3rem;
    text-align: center;
    font-style: italic;
    text-shadow:
        0 0 10px rgba(255, 71, 87, 0.5),
        0 0 20px rgba(255, 71, 87, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-style: normal;
    text-shadow: none;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .hero-quote {
        font-size: 1.1rem;
        padding: 1rem 1rem 2.5rem;
    }
}

/* ========================================
   STORIES GRID
   ======================================== */

.section-padding {
    padding: 8rem 1.5rem 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--color-text-main);
}

/* ========================================
   ORGANIZED CHAOS / ASYMMETRICAL EDITORIAL GALLERY
   ("Desorden elegante sin amontonamientos v8.3.9")
   ======================================== */
.stories-grid,
.encyclopedia-masonry-view {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    position: relative;
}

@media (min-width: 768px) {
    .stories-grid,
    .encyclopedia-masonry-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.8rem 2.2rem;
        align-items: start;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    /* Ritmo editorial asimétrico en 2 columnas (WebKit + Estándar) */
    .stories-grid > article:nth-child(2n),
    .encyclopedia-masonry-view > article:nth-child(2n) {
        margin-top: 36px;
        -webkit-transform: rotate(0.6deg) translateZ(0);
        transform: rotate(0.6deg) translateZ(0);
    }
    .stories-grid > article:nth-child(2n+1),
    .encyclopedia-masonry-view > article:nth-child(2n+1) {
        -webkit-transform: rotate(-0.5deg) translateZ(0);
        transform: rotate(-0.5deg) translateZ(0);
    }
}

@media (min-width: 1080px) {
    .stories-grid,
    .encyclopedia-masonry-view {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.2rem 2.4rem;
        align-items: start;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    /* Cadencia rítmica en 3 columnas: desorden intencionado y controlado */
    .stories-grid > article:nth-child(3n+1),
    .encyclopedia-masonry-view > article:nth-child(3n+1) {
        margin-top: 0;
        -webkit-transform: rotate(-0.7deg) translateZ(0);
        transform: rotate(-0.7deg) translateZ(0);
    }
    .stories-grid > article:nth-child(3n+2),
    .encyclopedia-masonry-view > article:nth-child(3n+2) {
        margin-top: 42px;
        -webkit-transform: rotate(0.8deg) translateZ(0);
        transform: rotate(0.8deg) translateZ(0);
    }
    .stories-grid > article:nth-child(3n),
    .encyclopedia-masonry-view > article:nth-child(3n) {
        margin-top: 18px;
        -webkit-transform: rotate(-0.4deg) translateZ(0);
        transform: rotate(-0.4deg) translateZ(0);
    }

    /* Variación sutil en filas alternas para romper la uniformidad */
    .stories-grid > article:nth-child(6n+2),
    .encyclopedia-masonry-view > article:nth-child(6n+2) {
        margin-top: 54px;
        -webkit-transform: rotate(1deg) translateZ(0);
        transform: rotate(1deg) translateZ(0);
    }
    .stories-grid > article:nth-child(6n+5),
    .encyclopedia-masonry-view > article:nth-child(6n+5) {
        margin-top: 24px;
        -webkit-transform: rotate(-0.8deg) translateZ(0);
        transform: rotate(-0.8deg) translateZ(0);
    }
}

/* ========================================
   MODERN NOIR & ORO ANTIGUO STORY CARDS
   (Unificación estética global v8.3.9)
   ======================================== */
.story-card {
    position: relative;
    background: #060f09;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.78);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

/* Alternancia de bordes orgánicos: pares en verde esmeralda, impares en oro antiguo */
.stories-grid > article:nth-child(odd),
.encyclopedia-masonry-view > article:nth-child(odd) {
    border-color: rgba(0, 255, 136, 0.26);
    border-radius: 24px 16px 22px 18px;
}
.stories-grid > article:nth-child(even),
.encyclopedia-masonry-view > article:nth-child(even) {
    border-color: rgba(212, 175, 55, 0.30);
    border-radius: 18px 24px 20px 22px;
}
.stories-grid > article:nth-child(3n),
.encyclopedia-masonry-view > article:nth-child(3n) {
    border-radius: 22px 20px 24px 16px;
}

/* En hover: la tarjeta se endereza limpiamente a 0deg, se eleva y proyecta su halo */
.stories-grid > article:hover,
.encyclopedia-masonry-view > article:hover {
    -webkit-transform: translateY(-10px) scale(1.025) rotate(0deg) !important;
    transform: translateY(-10px) scale(1.025) rotate(0deg) !important;
    border-color: rgba(0, 255, 136, 0.65);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.92),
                0 0 28px rgba(0, 255, 136, 0.24);
    z-index: 10;
}
.stories-grid > article:nth-child(even):hover,
.encyclopedia-masonry-view > article:nth-child(even):hover {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.92),
                0 0 28px rgba(212, 175, 55, 0.28);
}

.story-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-image-wrapper {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    background-color: #030805;
    transform: translateZ(0);
}

.story-image-wrapper img,
.story-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-card:hover .story-image-wrapper img,
.story-card:hover .story-card-img {
    transform: scale3d(1.05, 1.05, 1);
}

/* Velo de bruma translúcida: nunca negro */
.story-mist-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        165deg,
        rgba(0, 255, 136, 0.08) 0%,
        rgba(3, 14, 8, 0.20) 40%,
        rgba(2, 8, 4, 0.35) 100%
    );
    pointer-events: none;
    opacity: 0.60;
    transition: opacity 0.4s ease;
}

.story-card:hover .story-mist-veil {
    opacity: 0;
}

/* Distintivo flotante sobre la imagen */
.story-floating-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.story-badge-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(3, 8, 5, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-antique, #d4af37);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}
.story-badge-label.type-video {
    border-color: rgba(0, 255, 136, 0.45);
    color: #00ff88;
}
.story-badge-label.type-enciclopedia {
    border-color: rgba(212, 175, 55, 0.5);
    color: #f0f5f2;
}

.story-fresh-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 80, 50, 0.22);
    border: 1px solid rgba(255, 80, 50, 0.5);
    color: #ff7050;
    box-shadow: 0 0 10px rgba(255, 80, 50, 0.3);
}

.story-info {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #060f09;
}

.story-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #71877d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.story-author-tag {
    color: #a3b8ad;
    font-weight: 600;
}
.story-date-tag {
    color: #63776e;
}

.story-title {
    font-family: var(--font-gothic, 'Cinzel', serif);
    font-size: 1.15rem;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #f0f5f2;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.story-card:hover .story-title {
    color: var(--fatuo-green, #00ff88);
}

.story-excerpt {
    font-size: 13px;
    color: #a3b8ad;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.story-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.story-action-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-antique, #d4af37);
    transition: all 0.3s ease;
}
.story-card:hover .story-action-cta {
    color: #00ff88;
    transform: translateX(4px);
}


/* ========================================
   SINGLE POST
   ======================================== */

.entry-header {
    min-height: 60vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 8rem 1.5rem 4rem;
    margin-bottom: 4rem;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    color: var(--color-text-main);
}

.entry-meta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .entry-title {
        font-size: 4rem;
    }
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 2rem;
}

.entry-content h2 {
    margin-top: 3rem;
    color: var(--color-accent);
}

/* ========================================
   FOOTER
   ========================================*/
/* FOOTER */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    position: relative;
    background: rgba(5, 5, 5, 0.8);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.site-info {
    text-align: center;
}

.site-info .tagline {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer Navigation */
.footer-navigation {
    margin-top: 1rem;
}

.footer-menu-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu-list li {
    margin: 0;
}

.footer-menu-list a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-menu-list a:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .site-info {
        text-align: left;
    }

    .footer-navigation {
        margin-top: 0;
    }
}

/* ========================================
   404 PAGE
   ======================================== */

.error-404 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


/* ========================================
   PAGE TEMPLATES
   ======================================== */

/* Page Header */
.page-header {
    min-height: 40vh;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.page-header .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), var(--color-bg));
}

.page-header .header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.entry-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.archive-description {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
}

/* Legal Content Formatting */
.legal-content h2 {
    color: var(--color-accent);
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.legal-content h3 {
    color: var(--color-text-main);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form Styles */
.contact-form-wrapper {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper input[type="submit"],
.contact-form-wrapper button[type="submit"] {
    background: var(--color-accent);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper button[type="submit"]:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.contact-info {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 8px;
    text-align: center;
}

.contact-info h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Pagination Noir & Gold */
.pagination-wrapper {
    margin-top: 4.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pagination,
.nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #060f09;
    color: #f0f5f2;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    background: rgba(0, 255, 136, 0.12);
    border-color: #00ff88;
    color: #00ff88;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.25);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(0, 255, 136, 0.2) 100%);
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.pagination .prev,
.pagination .next,
.nav-links .prev,
.nav-links .next {
    font-weight: 700;
    padding: 0 20px;
}

/* Lighter Sections for Variety */
.section-light {
    background: var(--color-surface);
    padding: 4rem 0;
}

.section-light h2 {
    color: var(--color-text-main);
}

/* Comments Section */
.comments-area {
    max-width: var(--spacing-reading);
    margin: 4rem auto;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 8px;
}

.comments-title {
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-author {
    font-weight: 600;
    color: var(--color-text-main);
}

.comment-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.comment-content {
    margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 1.5rem;
    }
}

/* ========================================
   MODERN UI ELEMENTS
   ======================================== */

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced Story Card Transitions */
.story-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.story-card:hover {
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.2);
}

/* Image Loaded State */
img.loaded {
    animation: fadeIn 0.5s ease-in;
}

/* Hero Section Enhancements */
.hero-section {
    overflow: hidden;
}

.hero-title {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Smooth Transitions for All Links */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Remove underline animation from buttons and images */
.cta-button::after,
.story-link::after,
.menu-toggle::after {
    display: none;
}

/* ========================================
   YOUTUBE VIDEOS SECTION
   ======================================== */

/* YouTube Home Section */
.youtube-home-section {
    position: relative;
    padding: 4rem 0;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--color-text-main);
    transform: translateX(5px);
}

/* Videos Grid */
.videos-grid,
.videos-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Minimum 2 columns */
    gap: 2.5rem;
}

@media (max-width: 640px) {

    .videos-grid,
    .videos-grid-home {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

@media (min-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on large screens */
    }

    .videos-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   MODERN NOIR & ORO ANTIGUO VIDEO CARDS
   (Unificación estética global v8.3.8)
   ======================================== */
.video-card,
.video-card-home {
    background: #060f09;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.78);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.videos-grid > a:nth-child(odd) {
    border-color: rgba(0, 255, 136, 0.26);
    border-radius: 24px 18px 22px 20px;
}
.videos-grid > a:nth-child(even) {
    border-color: rgba(212, 175, 55, 0.30);
    border-radius: 18px 24px 20px 22px;
}

.video-card:hover,
.video-card-home:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.70);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.90),
                0 0 24px rgba(0, 255, 136, 0.25);
}
.videos-grid > a:nth-child(even):hover {
    border-color: rgba(212, 175, 55, 0.80);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.90),
                0 0 24px rgba(212, 175, 55, 0.28);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #030805;
    transform: translateZ(0);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-thumbnail img,
.video-card-home:hover .video-thumbnail img {
    transform: scale3d(1.05, 1.05, 1);
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 8, 5, 0.25);
    transition: background 0.3s ease;
}

.video-card:hover .video-overlay,
.video-card-home:hover .video-overlay {
    background: rgba(3, 8, 5, 0.1);
}

.play-icon {
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 12px rgba(0, 255, 136, 0.4));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .play-icon,
.video-card-home:hover .play-icon {
    transform: scale(1.12);
}

/* Video Duration Badge */
.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 4;
    background: rgba(3, 8, 5, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f0f5f2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Short Badge */
.short-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    background: rgba(255, 80, 50, 0.85);
    border: 1px solid rgba(255, 120, 90, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.video-info {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #060f09;
}

.video-title {
    font-family: var(--font-gothic, 'Cinzel', serif);
    font-size: 1.12rem;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #f0f5f2;
    transition: color 0.3s ease;
}
.video-card:hover .video-title {
    color: var(--fatuo-green, #00ff88);
}

.short-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Info */
.video-info {
    padding: 1.25rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video Filters - Enhanced */
.video-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, #1a1a1a 100%);
    color: var(--color-text-main);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(196, 30, 58, 0.2);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-more-message {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* YouTube Subscribe Button */
.youtube-subscribe-container {
    text-align: center;
    margin-top: 3rem;
}

.youtube-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #ff0000;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.youtube-subscribe-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
    color: #fff;
}

.youtube-subscribe-btn svg {
    width: 24px;
    height: 24px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* YouTube Header */
.youtube-header {
    min-height: 50vh;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 767px) {
    .video-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .modal-close {
        top: -50px;
        font-size: 2rem;
    }
}

/* ========================================
   CATEGORY SECTIONS
   ======================================== */

.category-section {
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Category Header Video Background */
.category-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.category-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.category-bg-video.active {
    opacity: 0.25;
}

.category-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.category-header-content {
    position: relative;
    z-index: 2;
}

/* Page Header Video Background (for page-videos.php) */
.page-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.page-bg-video.active {
    opacity: 0.3;
}

.page-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.youtube-header {
    position: relative;
    overflow: hidden;
}

.youtube-header .header-content {
    position: relative;
    z-index: 2;
}

.category-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
    font-style: italic;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, #1a1a1a 100%);
    color: var(--color-text-main);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 58, 0.3), transparent);
    transition: left 0.5s ease;
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
    color: var(--color-text-main);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
    padding: 0 2rem;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(196, 30, 58, 0.5) 50%,
            transparent 100%);
    position: relative;
}

.divider-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(196, 30, 58, 0.2) 50%,
            transparent 100%);
    filter: blur(2px);
}

.divider-icon {
    font-size: 2rem;
    margin: 0 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.5));
}

@media (max-width: 767px) {
    .category-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-divider {
        margin: 3rem 0;
    }

    .divider-icon {
        font-size: 1.5rem;
        margin: 0 1rem;
    }
}

/* ========================================
   SINGLE YOUTUBE VIDEO PAGE
   ======================================== */

.single-youtube-video {
    background: var(--color-bg);
}

/* Video Header */
.video-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 3rem;
}

.video-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.header-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    transform: scale(1.1);
}

.video-header .video-overlay {
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(10, 10, 10, 0.9) 100%);
}

.video-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.video-header .video-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item svg {
    opacity: 0.7;
}

.meta-category {
    background: rgba(196, 30, 58, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--color-accent-light);
    border: 1px solid rgba(196, 30, 58, 0.3);
}

/* Video Content Layout */
.video-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.video-main-content {
    min-width: 0;
}

/* Video Embed */
.video-embed-container {
    margin-bottom: 2rem;
    background: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Description */
.video-description {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    line-height: 1.8;
    /* Reset truncation from grid styles */
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    max-height: none !important;
    white-space: normal !important;
}

.video-description p {
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.video-description p:last-child {
    margin-bottom: 0;
}

/* Subscribe CTA */
.video-subscribe-cta {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, rgba(138, 0, 0, 0.1) 100%);
    border: 2px solid rgba(196, 30, 58, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.video-subscribe-cta h3 {
    color: var(--color-accent-light);
    margin-bottom: 0.5rem;
}

.video-subscribe-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Sidebar */
.video-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--color-surface);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Video Info List */
.video-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.video-info-list li:last-child {
    border-bottom: none;
}

.video-info-list strong {
    color: var(--color-text-main);
    margin-right: 0.5rem;
}

/* Category and Type Badges */
.video-categories,
.video-type {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-badge,
.type-badge {
    display: inline-block;
    background: rgba(196, 30, 58, 0.2);
    color: var(--color-accent-light);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: rgba(196, 30, 58, 0.3);
    transform: translateY(-2px);
}

.type-badge.short {
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.3);
}

/* Related Videos */
.related-videos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-video-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.related-video-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.related-video-thumbnail {
    position: relative;
    width: 120px;
    min-width: 120px;
    height: 68px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-bg);
}

.related-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-video-thumbnail .video-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.related-video-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-content-wrapper {
        grid-template-columns: 1fr;
    }

    .video-sidebar {
        position: static;
    }

    .sidebar-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767px) {
    .video-header {
        min-height: 40vh;
    }

    .video-header .video-title {
        font-size: 1.8rem;
    }

    .video-meta {
        font-size: 0.85rem;
        gap: 1rem;
    }

    .video-description {
        padding: 1.5rem;
    }

    .video-subscribe-cta {
        padding: 1.5rem;
    }

    .sidebar-card {
        padding: 1.25rem;
    }

    .related-video-thumbnail {
        width: 100px;
        min-width: 100px;
        height: 56px;
    }

    .related-video-info h4 {
        font-size: 0.85rem;
    }
}

/* Schema.org VideoObject Enhancement */
.video-schema-data {
    display: none;
}

/* ========================================
   VIDEOS PAGE PAGINATION & STATS
   ======================================== */

/* Video Category & Stats */
.video-category,
.video-stats {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.video-category svg,
.video-stats svg {
    opacity: 0.7;
}

.video-category {
    color: var(--color-accent-light);
}

/* Pagination */
.videos-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.videos-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.videos-pagination li {
    margin: 0;
}

.videos-pagination a,
.videos-pagination span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: var(--color-surface);
    color: var(--color-text-main);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.videos-pagination a:hover {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.videos-pagination .current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.videos-pagination .dots {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: default;
}

.videos-pagination .dots:hover {
    transform: none;
}

/* No Videos Message */
.no-videos-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-videos-message p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Filter Buttons as Links */
.video-filters a.filter-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-filters a.filter-btn:hover {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.video-filters a.filter-btn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Responsive Pagination */
@media (max-width: 767px) {

    .videos-pagination a,
    .videos-pagination span {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .videos-pagination ul {
        gap: 0.25rem;
    }
}

/* Footer Dictionary */
.footer-dictionary {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-dictionary h4 {
    color: var(--color-accent-light);
    margin-bottom: 15px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shadow-listing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shadow-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shadow-tag:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Category Header Interaction */
.category-header-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 25px;
}

.category-header-link .category-header {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.category-header-link:hover .category-header {
    background: rgba(196, 30, 58, 0.08);
    border-color: rgba(196, 30, 58, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.category-header-link:hover .section-title {
    color: var(--color-accent-light);
    transform: scale(1.05);
}

.category-header-link:hover .category-description {
    color: var(--color-text-main);
}

/* About Page Pillars Interaction */
.pillar-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.pillar-link .pillar {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-link:hover .pillar {
    transform: translateY(-10px);
    background: rgba(196, 30, 58, 0.05);
    border-color: var(--color-accent);
}

.pillar-link:hover .pillar-icon {
    transform: scale(1.2) rotate(5deg);
    display: inline-block;
}

.pillar-link:hover h3 {
    color: var(--color-accent-light);
}

/* ========================================
   GHOST SIDEBAR NAVIGATION (DESKTOP)
   ======================================== */

/* Sidebar Base Styles */
.ghost-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80px;
    /* Collapsed width */
    background: rgba(10, 10, 10, 0.6);
    /* Semi-transparent dark bg */
    backdrop-filter: blur(20px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Hide Sidebar on Mobile */
@media (max-width: 899px) {
    .ghost-sidebar {
        display: none;
    }
}

/* Expand on Hover */
.ghost-sidebar:hover {
    width: 260px;
    /* Expanded width */
    background: rgba(10, 10, 10, 0.85);
    /* Darker on hover for readability */
}

/* Adjust Body content on Desktop */
@media (min-width: 900px) {
    body {
        padding-left: 80px;
        /* Make space for collapsed sidebar */
    }

    /* Hide old header on Desktop */
    .site-header.mobile-header {
        display: none;
    }
}

/* Sidebar Logo */
.sidebar-logo {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-icon-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.ghost-sidebar:hover .sidebar-icon-logo {
    transform: scale(1.1);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex-grow: 1;
    padding-top: 2rem;
}

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

.sidebar-nav li {
    margin-bottom: 8px;
    position: relative;
}

/* Highlight Active Item */
.sidebar-nav li.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 15px 28px;
    /* Center icon when collapsed (80px width) */
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-nav li.active a {
    color: var(--color-accent);
}

/* Icons within Nav */
.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 20px;
    /* Space between icon and text */
    flex-shrink: 0;
}

.nav-icon svg {
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover .nav-icon svg,
.sidebar-nav li.active .nav-icon svg {
    stroke: var(--color-accent);
    filter: drop-shadow(0 0 5px rgba(196, 30, 58, 0.5));
}

/* Text Fade In */
.nav-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    transition-delay: 0.05s;
}

.ghost-sidebar:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

/* Sidebar Footer (Search) */
.sidebar-footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-search-trigger {
    background: none;
    border: none;
    color: var(--color-text-muted);
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 28px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
}

.sidebar-search-trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-search-trigger:hover .nav-icon svg {
    stroke: var(--color-accent);
}

/* Adjustments for smaller heights */
@media (max-height: 700px) {
    .sidebar-nav a {
        padding: 12px 28px;
    }

    .sidebar-logo {
        padding: 15px 20px;
    }
}

/* ========================================
   GHOST SIDEBAR SUBMENUS (FLY-OUT)
   ======================================== */

.ghost-sidebar .sub-menu {
    position: absolute;
    left: 100%;
    /* To the right of the parent */
    top: 0;
    width: 240px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    /* Connected to parent */
    border-radius: 0 8px 8px 0;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 9998;
}

/* Show on Hover */
.ghost-sidebar li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Submenu Links */
.ghost-sidebar .sub-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.ghost-sidebar .sub-menu a {
    padding: 12px 25px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: none;
    /* Keep submenus normal case or as is */
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.ghost-sidebar .sub-menu li:last-child a {
    border-bottom: none;
}

.ghost-sidebar .sub-menu a:hover {
    padding-left: 30px;
    /* Slide effect */
    color: #fff;
    background: rgba(196, 30, 58, 0.1);
    /* Subtle red tint */
    border-left: 3px solid var(--color-accent);
}

/* Ensure parent item stays active/highlighted when hovering submenu */
.ghost-sidebar li:hover>a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.ghost-sidebar li:hover>a .nav-icon svg {
    stroke: var(--color-accent);
}

/* ========================================
   GHOST SIDEBAR SUBMENUS (FLY-OUT) - FIXED
   ======================================== */

/* Fix: Target standard WordPress submenu class */
.ghost-sidebar .sub-menu {
    position: absolute;
    left: 100%;
    /* To the right of the parent */
    top: 0;
    width: 240px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    list-style: none;
    padding: 15px 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
    /* Connected to parent */
    border-radius: 0 8px 8px 0;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 9998;
    display: block !important;
    /* Force display block to allow visibility transition */
}

/* Show on Hover - Target li.menu-item-has-children */
.ghost-sidebar .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Submenu Links */
.ghost-sidebar .sub-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.ghost-sidebar .sub-menu a {
    padding: 12px 25px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-transform: none;
    /* Keep submenus normal case or as is */
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.ghost-sidebar .sub-menu li:last-child a {
    border-bottom: none;
}

.ghost-sidebar .sub-menu a:hover {
    padding-left: 30px;
    /* Slide effect */
    color: #fff;
    background: rgba(196, 30, 58, 0.1);
    /* Subtle red tint */
    border-left: 3px solid var(--color-accent);
}

/* Ensure parent item stays active/highlighted when hovering submenu */
.ghost-sidebar .menu-item-has-children:hover>a {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.ghost-sidebar .menu-item-has-children:hover>a .nav-icon svg {
    stroke: var(--color-accent);
}

/* Hide Icons in Submenus if they inherit them */
.ghost-sidebar .sub-menu .nav-icon {
    display: none;
}

.ghost-sidebar .sub-menu .nav-text {
    opacity: 1;
    transform: none;
}

/* ========================================
   EDITORIAL CURTAIN NAVIGATION (OPTION 3)
   ======================================== */

/* Desktop Only Logic */
@media (max-width: 899px) {

    .desktop-curtain-header,
    .curtain-overlay {
        display: none !important;
    }
}

@media (min-width: 900px) {

    /* Hide old header */
    .site-header,
    .ghost-sidebar {
        display: none !important;
    }

    /* Reset body padding (remove ghost sidebar space) */
    body {
        padding-left: 0;
    }
}

/* 1. Desktop Trigger Bar */
.desktop-curtain-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    /* Ensure it is above everything */
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.curtain-brand,
.curtain-trigger {
    pointer-events: auto;
    /* Re-enable clicks on buttons */
}

.brand-logo-small {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    filter: grayscale(100%);
    transition: all 0.3s;
    opacity: 0.7 !important;
    max-width: 25px !important;
    max-height: 25px !important;
}

.brand-logo-small:hover {
    filter: grayscale(0%);
    opacity: 1 !important;
    transform: scale(1.15);
}

.curtain-trigger {
    background: var(--color-accent);
    /* Red background for visibility */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 800;
    /* Bold */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    padding: 12px 25px;
    /* Button shape */
    border-radius: 4px;
    /* Slight roundness */
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: all 0.3s ease;
}

.curtain-trigger:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

.trigger-text {
    margin-right: 15px;
}

.trigger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trigger-lines .line {
    width: 24px;
    height: 3px;
    /* Thicker lines */
    background: #fff;
    transition: transform 0.3s ease;
}

.curtain-trigger:hover .line:first-child {
    transform: translateX(-5px);
}

.curtain-trigger:hover .line:last-child {
    transform: translateX(5px);
}

/* 2. Full Screen Overlay */
.curtain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0a0a0a;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);

    /* Background Texture */
    background-image:
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1), #000 90%),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
}

/* Open State (Targeted via JS Class) */
.curtain-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close Button */
.curtain-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s;
}

.curtain-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

/* 3. The Menu List (Typography Focused) */
.curtain-menu-container {
    text-align: center;
}

.curtain-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curtain-menu-list>li {
    margin-bottom: 2rem;
    overflow: hidden;
    /* For reveal animation */
}

/* Links Typography - HORROR STYLE */
.curtain-menu-list>li>a {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 2.2rem;
    /* Reduced from 4rem for better submenu visibility */
    font-weight: 700;
    color: #d4d4d4;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.4s ease;
    transform: translateY(100%);
    opacity: 0;
    position: relative;

    /* Blood-red glow effect */
    text-shadow:
        0 0 10px rgba(196, 30, 58, 0.3),
        0 0 20px rgba(196, 30, 58, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Reveal Animation when open */
.curtain-overlay.is-open .curtain-menu-list>li>a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(0.1s * var(--item-index, 0));
    /* Stagger handled by JS or simple CSS delay */
}

/* Manual Stagger fallback */
.curtain-overlay.is-open li:nth-child(1) a {
    transition-delay: 0.1s;
}

.curtain-overlay.is-open li:nth-child(2) a {
    transition-delay: 0.2s;
}

.curtain-overlay.is-open li:nth-child(3) a {
    transition-delay: 0.3s;
}

.curtain-overlay.is-open li:nth-child(4) a {
    transition-delay: 0.4s;
}

.curtain-overlay.is-open li:nth-child(5) a {
    transition-delay: 0.5s;
}

/* Hover Effects - Blood Drip */
.curtain-menu-list>li>a:hover {
    color: var(--color-accent);
    text-shadow:
        0 0 20px rgba(196, 30, 58, 0.8),
        0 0 40px rgba(196, 30, 58, 0.6),
        0 0 60px rgba(196, 30, 58, 0.4),
        2px 2px 8px rgba(0, 0, 0, 1);
    transform: scale(1.05);
    letter-spacing: 5px;
}

/* Submenu Handling (Clean & Simple) */
.curtain-menu-list .sub-menu {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: none;
    /* Hidden by default */
}

/* Show Submenu on Hover of Parent (or Click logic if preferred, stick to Hover for desktop) */
.curtain-menu-list>li:hover .sub-menu {
    display: block;
    animation: fadeIn 0.5s ease;
}

.curtain-menu-list .sub-menu li a {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 0;
    display: block;
}

.curtain-menu-list .sub-menu li a:hover {
    color: var(--color-accent);
}

/* Decorative Background (Dynamic) */
.curtain-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* EMERGENCY OVERRIDE - FORCE CURTAIN MENU STYLES */
.desktop-curtain-header {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    height: 90px !important;
    padding: 0 50px !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.curtain-brand img,
img.brand-logo-small {
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
}

.curtain-trigger {
    background: #c41e3a !important;
    color: white !important;
    padding: 15px 30px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.curtain-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #0a0a0a !important;
    z-index: 100000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.curtain-overlay:not(.is-open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.curtain-overlay.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ========================================
   SEARCH OVERLAY STYLES (v3.7)
   ======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-inner {
    width: 90%;
    max-width: 800px;
    position: relative;
    text-align: center;
}

.search-form {
    display: flex;
    width: 100%;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}

.search-field {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    font-family: var(--font-serif);
    outline: none;
    padding: 10px;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-submit {
    background: var(--color-accent);
    border: none;
    color: #fff;
    padding: 10px 30px;
    font-family: var(--font-sans);
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 2px;
}

.search-close {
    position: absolute;
    top: -100px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--color-accent);
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: scale(1.2);
}

/* ========================================
   HÍBRIDO NOIR: ARTÍCULOS RELACIONADOS
   ======================================== */
.noir-related-section {
    margin: 60px auto;
    padding: 40px 20px;
    border-top: 1px solid rgba(196, 30, 58, 0.2);
    background: rgba(10, 10, 10, 0.4);
    border-radius: 12px;
}

.noir-section-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.noir-section-title::before,
.noir-section-title::after {
    content: '';
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    flex-grow: 1;
    max-width: 150px;
}

.noir-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.noir-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.noir-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.noir-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.noir-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.noir-card-label {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.noir-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.noir-card-action {
    color: var(--color-accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
    display: inline-block;
}

/* HOVER EFFECTS */
.noir-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(196, 30, 58, 0.25);
    border-color: rgba(196, 30, 58, 0.4);
}

.noir-card:hover .noir-card-img {
    transform: scale(1.1) rotate(1deg);
}

.noir-card:hover .noir-card-content {
    transform: translateY(0);
}

.noir-card:hover .noir-card-action {
    opacity: 1;
    transform: translateX(0);
}

.noir-card:hover .noir-card-overlay {
    background: linear-gradient(to top, rgba(139, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
}

@media (max-width: 768px) {
    .noir-card {
        height: 350px;
    }

    .noir-card-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   OPTIMIZACIONES v4.1.0: YOUTUBE LAZY FACADE & ACCESIBILIDAD MÓVIL (A11Y)
   ========================================================================== */

/* YouTube Lazy Player Facade */
.youtube-facade {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-facade::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
}

.youtube-facade:hover::before {
    background: rgba(0, 0, 0, 0.15);
}

.play-button-facade {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    background: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(196, 30, 58, 0.6), 0 0 10px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-button-facade svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    margin-left: 4px;
}

.youtube-facade:hover .play-button-facade {
    transform: scale(1.15);
    background: #ff1e43;
}

/* Mobile Touch Target 48x48px (A11y & Mobile UX) */
.menu-toggle,
.search-btn,
.mobile-menu-toggle {
    min-width: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation;
}

/* ==========================================================================
   OPTIMIZACIONES v4.2.0: MODO CINE / CINEMA MODAL A PANTALLA GIGANTE
   ========================================================================== */

.cinema-mode-trigger-bar {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.cinema-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.9) 0%, rgba(138, 0, 0, 0.9) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cinema-btn:hover {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(135deg, #ff1e43 0%, #a80000 100%);
    box-shadow: 0 6px 28px rgba(255, 30, 67, 0.6);
}

.cinema-btn svg {
    fill: currentColor;
}

/* Cinema Modal Overlay */
.cinema-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.cinema-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.cinema-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(15px);
}

.cinema-modal-content {
    position: relative;
    z-index: 2;
    width: 92vw;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.cinema-close-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cinema-close-btn:hover {
    background: #c41e3a;
    border-color: #c41e3a;
    transform: scale(1.05);
}

.cinema-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(196, 30, 58, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cinema-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   ULTIMAS NOVEDADES SECTION (v7.3.5)
   ========================================================================== */
.latest-news-section {
    background: linear-gradient(180deg, rgba(15,15,15,0.7) 0%, rgba(8,8,8,0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.latest-news-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    will-change: opacity, transform;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
}

.live-status-text {
    color: #ff4757;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.latest-news-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.news-tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.news-tab-btn.active {
    background: #c41e3a;
    color: #fff;
    border-color: #ff4757;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.story-content-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.story-content-type-badge.type-video {
    background: rgba(196, 30, 58, 0.88);
    color: #fff;
}

.story-content-type-badge.type-enciclopedia {
    background: rgba(142, 68, 173, 0.88);
    color: #fff;
}

.story-content-type-badge.type-relato {
    background: rgba(41, 128, 185, 0.88);
    color: #fff;
}

.story-fresh-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: #fff;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(255,71,87,0.4);
    text-transform: uppercase;
}

.story-meta-row {
    font-size: 0.78rem;
    color: #999;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.story-author-tag {
    font-weight: 700;
    color: var(--color-accent-light, #e0e0e0);
    letter-spacing: 0.3px;
}

.story-date-tag {
    color: #888;
    font-size: 0.76rem;
}

/* ==========================================================================
   GLOBAL GLASSMORPHISM HEADER (Awwwards Fuegos Fatuos & Oro Antiguo)
   ========================================================================== */
.global-glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: linear-gradient(180deg, rgba(3, 7, 5, 0.94) 0%, rgba(3, 7, 5, 0.82) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 1px 0 0 rgba(0, 255, 136, 0.22);
    z-index: 9999;
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.global-glass-header .logo {
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 3.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 60%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter 0.3s ease;
}
.global-glass-header .logo:hover {
    filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.6));
}
.global-glass-header .logo::after {
    content: '✦';
    font-size: 13px;
    color: #d4af37;
    -webkit-text-fill-color: #d4af37;
}
.global-glass-header .nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.global-glass-header .nav-links > li {
    position: relative;
    padding: 6px 0;
}
.global-glass-header .nav-links a {
    color: #a3b8ad;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}
.global-glass-header .nav-links a:hover {
    color: #ffffff;
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.35), inset 0 0 12px rgba(0, 255, 136, 0.15);
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.7);
}
.global-glass-header .nav-links li.current-menu-item > a,
.global-glass-header .nav-links li.current_page_item > a {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.32);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
.global-glass-header .nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(3, 8, 5, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    list-style: none;
    min-width: 240px;
    padding: 10px 8px;
    margin: 8px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 255, 136, 0.12);
    z-index: 10000;
}
.global-glass-header .nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.global-glass-header .nav-links .sub-menu li {
    padding: 0;
    margin: 2px 0;
}
.global-glass-header .nav-links .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 12px;
    color: #c4d4cc;
    letter-spacing: 1.2px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.25s, color 0.25s, padding-left 0.25s, box-shadow 0.25s;
}
.global-glass-header .nav-links .sub-menu a:hover {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    color: #00ff88;
    padding-left: 22px;
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
.global-glass-header .mobile-menu-btn {
    display: none;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s, border-color 0.3s;
}
.global-glass-header .mobile-menu-btn:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: #00ff88;
}

/* Desktop helpers for injected mobile navigation elements */
.submenu-accordion-caret,
.mobile-menu-header-bar {
    display: none !important;
}
.menu-item-link-row {
    display: contents;
}

/* Responsive Header Mobile - Cajón Fullscreen Elegante, Scrolleable & Acordeones */
@media (max-width: 900px) {
    body.mobile-nav-locked {
        overflow: hidden !important;
        touch-action: none;
    }

    .global-glass-header {
        padding: 14px 20px;
    }
    .global-glass-header .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.12);
        border: 1px solid rgba(212, 175, 55, 0.4);
        border-radius: 8px;
        color: #f0f5f2;
        padding: 8px 10px;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .global-glass-header .mobile-menu-btn:hover,
    .global-glass-header .mobile-menu-btn.active {
        background: rgba(0, 255, 136, 0.2);
        border-color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    }

    /* Cajón de Pantalla Completa 100dvh con Scroll Suave */
    .global-glass-header .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: rgba(3, 7, 5, 0.98);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        padding: 20px 20px 80px 20px;
        border-bottom: 2px solid rgba(212, 175, 55, 0.35);
        box-shadow: 0 24px 60px rgba(0,0,0,0.98);
        gap: 8px;
        box-sizing: border-box;
        z-index: 999999;
    }
    .global-glass-header .nav-links.active {
        display: flex;
        animation: fadeInDrawer 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes fadeInDrawer {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .global-glass-header .nav-links::-webkit-scrollbar {
        width: 6px;
    }
    .global-glass-header .nav-links::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.4);
    }
    .global-glass-header .nav-links::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.5);
        border-radius: 4px;
    }

    /* Barra superior del menú móvil */
    .global-glass-header .mobile-menu-header-bar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 6px 4px 16px 4px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.25);
        width: 100%;
        list-style: none;
    }
    .global-glass-header .mobile-menu-brand-wrap {
        display: flex;
        flex-direction: column;
    }
    .global-glass-header .mobile-menu-brand {
        font-family: 'Cinzel', serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 3px;
        color: #d4af37;
        text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    }
    .global-glass-header .mobile-menu-sub {
        font-size: 11px;
        color: #a3b8ad;
        letter-spacing: 1px;
    }
    .global-glass-header .mobile-menu-close-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(212, 175, 55, 0.12);
        border: 1px solid rgba(212, 175, 55, 0.35);
        border-radius: 8px;
        color: #f0f5f2;
        padding: 7px 14px;
        cursor: pointer;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    .global-glass-header .mobile-menu-close-btn:hover {
        background: rgba(255, 68, 68, 0.2);
        border-color: #ff4444;
        color: #ff8888;
    }

    /* Fila del elemento y botón caret */
    .global-glass-header .menu-item-link-row {
        display: flex !important;
        align-items: center;
        width: 100%;
        gap: 6px;
    }
    .global-glass-header .nav-links > li {
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .global-glass-header .nav-links a {
        display: block;
        flex: 1;
        box-sizing: border-box;
        padding: 13px 16px;
        font-size: 14px;
        letter-spacing: 1.5px;
        font-weight: 600;
        color: #f0f5f2;
        background: rgba(6, 15, 9, 0.65);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.2s ease;
    }
    .global-glass-header .nav-links a:hover,
    .global-glass-header .nav-links li.current-menu-item > a,
    .global-glass-header .nav-links li.current-menu-item > .menu-item-link-row > a {
        background: rgba(0, 255, 136, 0.12);
        border-color: #00ff88;
        color: #00ff88;
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.25);
    }
    .global-glass-header .submenu-accordion-caret {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 10px;
        color: #d4af37;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .global-glass-header .submenu-accordion-caret.is-open {
        background: rgba(0, 255, 136, 0.2);
        border-color: #00ff88;
        color: #00ff88;
        transform: rotate(180deg);
    }

    /* Submenú acordeón: Oculto y colapsado por defecto */
    .global-glass-header .nav-links .sub-menu {
        display: none;
        position: static;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        background: rgba(2, 6, 4, 0.95);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-left: 3px solid #00ff88;
        border-radius: 0 10px 10px 10px;
        box-shadow: none;
        padding: 6px 8px;
        margin: 6px 0 10px 12px;
        list-style: none;
        transition: opacity 0.3s ease, max-height 0.35s ease;
    }
    .global-glass-header .nav-links .menu-item-has-children.sub-menu-open > .sub-menu {
        display: block;
        opacity: 1;
        max-height: 1200px;
    }
    .global-glass-header .nav-links .sub-menu li {
        padding: 0;
        margin: 3px 0;
        list-style: none;
    }
    .global-glass-header .nav-links .sub-menu a {
        padding: 11px 16px;
        font-size: 13px;
        letter-spacing: 1px;
        color: #c4d4cc;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid transparent;
        border-radius: 8px;
    }
    .global-glass-header .nav-links .sub-menu a:hover {
        background: rgba(0, 255, 136, 0.15);
        color: #00ff88;
        border-color: rgba(0, 255, 136, 0.3);
        padding-left: 20px;
    }
}

/* ========================================================
   KILL SWITCH: DESACTIVACIÓN TOTAL DE REPRODUCTORES DE AUDIO
   ======================================================== */
#relatando-audio-dock,
.relatando-audio-dock,
#relatando-sticky-player,
.relatando-audio-hero-box,
.audio-player-card,
.relatando-audio-resume-toast {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
