/*
Theme Name: Wordpress Theme #017
Author: Mauuzeta.COM
Description:    Copyright (c) 2026 mauuzeta.com. All rights reserved.
    
*/








/* ==========================================================================
   COPYRIGHT & TERMS OF USE - mauuzeta.com
==========================================================================
   
   Copyright (c) 2026 mauuzeta.com. All rights reserved.
   
   [ LICENSE TERMS ]
   1. RESALE PROHIBITED: It is strictly forbidden to resell this 
      premade design or any of its components.
   2. DERIVATIVE WORKS: You may not modify, edit, or adapt this 
      design for the purpose of selling it as a new product.
   3. PARTS & ELEMENTS: Selling individual parts, graphics, or 
      code snippets from this design is strictly prohibited.
   4. PERSONAL/COMMERCIAL USE: This license is granted for the 
      original purchaser's use only.
   
   Unauthorized distribution, duplication, or modification of this 
   work is a violation of international copyright laws.
   
   For support or licensing inquiries, visit: https://mauuzeta.com
==========================================================================
*/







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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--pure-black);
    color: var(--pure-white);
    overflow-x: hidden;
    background-image: url('./images/stardust.png');
}
/* --- ESTILOS PARA ENLACES EDITORIALES --- */
a {
    text-decoration: none;
    color: var(--pure-white);
    font-weight: 700;    /* Bold */
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-pink);
}

/* --- MENÚ: ESTRUCTURA Y FONDO --- */
nav {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 2000;
    padding: 30px 60px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--white-alpha-10);
    opacity: 1;
}

/* --- LOGO --- */
.logo { 
    font-weight: 900; 
    font-size: 0.7rem; 
    color: var(--pure-white); 
    text-decoration: none; 
    font-family: 'Space Mono', monospace; 
    letter-spacing: 6px; 
    text-transform: uppercase;
    position: relative;

}

.logo::before {
    content: '//';
    margin-right: 12px;
    font-weight: 700;
    animation: neonShift 4s infinite ease-in-out;
}

/* --- NAV ITEMS --- */
.nav-links {
    display: flex; 
    gap: 40px; 
    align-items: center;
}

.nav-item { 
    position: relative;
    text-decoration: none; 
    color: var(--gray-medium); 
    font-size: 0.65rem; 
    font-family: 'Space Mono', monospace;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

}

.nav-item:hover { 
    color: var(--pure-white);
    text-shadow: 0 0 10px var(--nav-hover-shadow);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--pure-white);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item:hover::after { width: 100%; }

/* --- INDICADOR FLOTANTE --- */
.nav-item:not(:last-child)::before {
    content: '◆';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-blue);
    font-size: 0.5rem;
    pointer-events: none;
    animation: floatSide 3s ease-in-out infinite;
}

.nav-item:hover::before {
    animation: none; 
    transform: translateY(-50%) translateX(8px); 
    color: var(--neon-pink); 
    text-shadow: 0 0 10px var(--neon-pink);
}
/* Esto asegura que los ítems de WordPress respeten tu display: flex */
.nav-links li {
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

/* Ajuste del indicador para que no se pierda al estar dentro de un LI */
.nav-links li:not(:last-child) .nav-item::before {
    content: '◆';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-blue);
    font-size: 0.5rem;
    pointer-events: none;
    animation: floatSide 3s ease-in-out infinite;
}
/* --- KEYFRAMES --- */
@keyframes contentReveal {
    0% { opacity: 0; filter: blur(15px); transform: translateY(10px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes neonShift {
    0%, 100% { color: var(--neon-pink); text-shadow: 0 0 8px var(--neon-pink); }
    50% { color: var(--neon-blue); text-shadow: 0 0 8px var(--neon-blue); }
}

@keyframes floatSide {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}
/* ==========================================
   HERO CON EFECTO DE RESPLANDOR ATMOSFÉRICO
   ========================================== */
/* --- ESTILOS DE HERO --- */
.hero { 
    height: 94vh; 
    margin-top: 80px; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--hero-glow) 0%, transparent 70%);
    z-index: 6;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

.hero::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    background: var(--gradient-hero-shadow); 
    z-index: 5; 
}

@media (max-width: 767px) {
    /* Ocultamos elementos innecesarios */
    .hero .slideshow-container,
    .hero .scroll-down-indicator {
        display: none !important;
    }

    /* Ajustamos el contenedor a 300px exactos y alineamos el contenido arriba */
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;  /* Mantiene el contenido arriba */
        align-items: center;
        height: 220px !important;     /* Altura máxima solicitada */
        padding-top: 0px;            /* Espacio exacto desde arriba */
        background: #000;             /* Ajusta según tu diseño */
        overflow: hidden;             /* Evita que el contenido se salga si fuera muy grande */
        margin-top:30px;
    }

    /* Ajustes de tipografía para evitar márgenes que empujen el contenido */
    .hero-title {
        text-align: center;
        margin: 0 0 15px 0;           /* Espacio entre título y eslogan */
        font-size: 2rem;              /* Puedes ajustar el tamaño si lo necesitas */
    }

    .hero-slogan {
        display: block !important;
        text-align: center;
        margin: 0;
        padding: 0;
    }
}
.slideshow-container { position: absolute; inset: 0; z-index: 1; }

.slide { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center 20%; 
    opacity: 0; 
    transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out; 
    filter: blur(10px);
    animation: cinematicPan 15s linear infinite alternate;
    will-change: opacity, filter, transform;
}

.slide.active { opacity: 1; filter: blur(0); }

/* --- TITULO Y GRADIENTE --- */
.hero-title { 
    position: relative; 
    z-index: 10; 
    font-size: clamp(3rem, 8vw, 5.8rem); 
    text-transform: uppercase; 
    font-weight: 900; 
    letter-spacing: -0.03em; 
    line-height: 0.80; 
    text-align: center; 
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    animation: titleCinematicEntry 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gradient-text { 
    background: 
        linear-gradient(115deg, transparent 35%, var(--gradient-text-light-1) 50%, transparent 65%),
        linear-gradient(115deg, transparent 42%, var(--gradient-text-light-2) 50%, transparent 58%),
        linear-gradient(45deg, var(--gradient-text-base-1), var(--gradient-text-base-2), var(--gradient-text-base-3), var(--gradient-text-base-1)); 
    background-size: 250% 100%, 250% 100%, 300% 300%;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    display: inline-block; 
    animation: liquidAndLights 7s linear infinite;
    filter: drop-shadow(0 4px 12px var(--gradient-text-shadow));
}

/* --- SLOGAN --- */
.hero-slogan { 
    position: relative; 
    z-index: 10; 
    font-size: clamp(0.75rem, 1.3vw, 0.95rem); 
    text-transform: uppercase;
    color: var(--slogan-color); 
    letter-spacing: 8px; 
    margin-top: 16px; 
    text-align: center; 
    font-weight: 500; 
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0 55px; 
    animation: cinematicFadeReveal 2.8s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

.hero-slogan::before, .hero-slogan::after {
    content: '';
    position: absolute;
    top: 52%; 
    width: 35px; 
    height: 1px; 
    background: var(--slogan-lines); 
    transition: all 0.5s ease; 
}
.hero-slogan::before { left: 0; }
.hero-slogan::after { right: 6px; }

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes cinematicPan {
    0% { transform: scale(1.1) translateY(0) translateZ(0); }
    100% { transform: scale(1.18) translateY(-1.5%) translateZ(0); }
}

@keyframes titleCinematicEntry {
    0% { opacity: 0; filter: blur(20px) brightness(0.3); transform: scale(1.06); letter-spacing: 0.05em; }
    40% { opacity: 0.8; filter: blur(8px) brightness(1.5); }
    100% { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); letter-spacing: -0.03em; }
}

@keyframes liquidAndLights { 
    0% { background-position: 300% 0, 260% 0, 0% 50%; }
    50% { background-position: 0% 0, -40% 0, 100% 50%; }
    100% { background-position: -300% 0, -340% 0, 0% 50%; }
}

/* ==========================================
   ADAPTACIÓN MÓVIL (Unificado)
   ========================================== */
@media (max-width: 768px) {
    /* Reset Nav */
    nav { 
        position: relative !important; 
        background: transparent !important; 
        border: none !important; 
        backdrop-filter: none !important; 
        padding: 15px 10px !important; 
    }

    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; }
    .nav-item { letter-spacing: 0px; font-size: 0.7rem; padding: 10px 8px; line-height:1px; border-bottom:1px solid #cccccc;}
    .nav-item::before, .nav-item::after { display: none !important; }

    /* Reset Hero Slogan */
    .hero-slogan { 
        margin-top: 10px;
        letter-spacing: 2px !important; 
        padding: 0 10px !important; 
        animation: none !important; 
        opacity: 1 !important; 
    }
    .hero-slogan::before, .hero-slogan::after { display: none !important; }
}/* ==========================================
   ANIMACIÓN: Desenfoque óptico
   ========================================== */
@keyframes cinematicFadeReveal {
    0% { opacity: 0; filter: blur(15px); letter-spacing: -3px; transform: scale(0.96); }
    25% { opacity: 0.2; filter: blur(8px); }
    100% { opacity: 1; filter: blur(0); letter-spacing: 8px; transform: scale(1); }
}

/* --- CONTENEDORES --- */
.container-box { max-width: var(--site-width); width: 95%; margin: 0 auto; }
.main-container { position: relative; z-index: 100; margin-top: -60px; }

/* --- INFO GRID --- */
.info-grid { 
    display: grid; 
    grid-template-columns: 220px 1fr 0.7fr; 
    gap: 2px; 
    background: var(--white-alpha-10); 
    border: 1px solid var(--white-alpha-10); 
}
.info-block { background: var(--dark-bg); padding: 40px 30px; position: relative; }
.info-block h3 { font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 6px; margin-bottom: 25px; color: var(--pure-white); position: relative; display: inline-block; }
.info-block h3::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 1px; background: var(--gradient-main); box-shadow: 0 0 8px var(--neon-blue); }

.welcome-text { font-size: 0.85rem; line-height: 1.8; color: var(--gray-light); text-align: justify; font-weight: 300; }
.welcome-text b { color: var(--neon-pink); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }

.info-image-container { position: relative; overflow: hidden; border: 1px solid var(--neon-blue); background: var(--pure-black); }
.info-image-container img { width: 100%; height: 230px; object-fit: cover; display: block; }


/* --- ADAPTACIÓN PARA MÓVILES (RESPONSIVE) --- */
@media (max-width: 768px) {
    .info-grid {
        /* Cambiamos el grid a una sola columna */
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .info-block {
        /* Reducimos el padding en móviles para ganar espacio */
        padding: 30px 20px;
    }

    .info-block h3 {
        /* Ajustamos el tamaño del título para que no se corte */
        font-size: 0.65rem;
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    .welcome-text {
        /* Mejoramos la lectura en pantallas pequeñas */
        font-size: 0.8rem;
        line-height: 1.6;
        text-align: left; /* El texto justificado suele verse mal en pantallas muy estrechas */
    }

    .info-image-container img {
        /* Ajustamos la altura de la imagen para que no ocupe toda la pantalla */
        height: 180px;
    }
}
/* --- LATEST PICTURES --- */
.latest-pictures-container { 
    margin-top: 2px; 
    padding: 30px 20px; 
    background: var(--dark-bg); 
    border-left: 1px solid var(--white-alpha-10); 
    border-right: 1px solid var(--white-alpha-10); 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between; 
    gap: 20px; 
}
.pictures-info { border-right: 1px solid var(--white-alpha-10); padding-right: 20px; }
.pictures-info h2 { font-size: 2.2rem; font-weight: 900; text-transform: uppercase; line-height: 1; color: var(--pure-white); }
.pictures-grid { flex-grow: 1; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pic-frame { width: 80px; height: 80px; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); background: var(--neon-blue); padding: 2px; transition: 0.3s; }
.pic-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; filter: grayscale(1); transition: 0.3s; }
.pic-frame:hover { background: var(--neon-pink); transform: translateY(-5px); }
.pic-frame:hover img { filter: grayscale(0); }
.pictures-nav { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--white-alpha-10); padding-left: 20px; min-width: 180px; }
.p-nav-item { text-decoration: none; font-family: 'Space Mono'; font-size: 0.6rem; color: var(--gray-medium-dark); text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.p-nav-item:hover { color: var(--neon-pink); padding-left: 10px; }

/* --- TICKER UPDATES BAR --- */
.updates-bar { display: flex; align-items: center; background: var(--pure-black); border: 1px solid var(--neon-blue); height: 50px; margin-bottom: 20px; overflow: hidden; position: relative; }
.updates-label { background: var(--neon-blue); color: var(--pure-black); font-family: 'Space Mono', sans-serif; font-weight: 900; font-size: 0.6rem; padding: 0 15px; height: 100%; display: flex; align-items: center; text-transform: uppercase; z-index: 10; white-space: nowrap; }
.ticker-wrap { flex-grow: 1; overflow: hidden; height: 100%; display: flex; align-items: center; position: relative; }
.ticker-move { display: flex; white-space: nowrap; animation: ticker-animation 30s linear infinite; }
.ticker-item { display: flex; align-items: center; padding-right: 40px; }
.ticker-link { display: flex !important; align-items: center !important; color: var(--pure-white) !important; text-decoration: none !important; }
.ticker-thumb { width: 30px !important; height: 30px !important; object-fit: cover; border: 1px solid var(--neon-blue); }
.ticker-title { margin-left: 10px; font-family: 'Space Mono', sans-serif; font-size: 0.6rem; text-transform: uppercase; }
.log-num { color: var(--neon-pink); margin-right: 10px; font-weight: 700; font-family: 'Space Mono'; font-size: 0.6rem; }
@keyframes ticker-animation { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-socials { display: flex; align-items: center; gap: 15px; padding: 0 20px; background: var(--pure-black); height: 100%; z-index: 10; border-left: 1px solid var(--white-alpha-10); }
.ticker-socials a { color: var(--pure-white); display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
.ticker-socials a:hover { color: var(--neon-pink); }

/* --- BLOG & MAIN LAYOUT --- */
.main-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 40px; }
.featured-article { position: relative; margin-bottom: 60px; }
.featured-image-container { border: 4px solid var(--neon-pink); position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.featured-image-container img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: brightness(0.8); transition: 0.5s; }
.featured-article:hover .featured-image-container img { transform: scale(1.05); filter: brightness(1); }

/* --- BADGES --- */
.post-format-badge { position: absolute; top: 15px; left: 15px; z-index: 10; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.75); border: 1px solid var(--white-alpha-20); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.post-format-badge svg { width: 16px; height: 16px; color: var(--pure-white); }
.news-thumb .post-format-badge { top: 10px; left: 10px; width: 28px; height: 28px; }
.news-thumb .post-format-badge svg { width: 13px; height: 13px; }
.badge-video svg { color: var(--neon-blue); }
.badge-gallery svg { color: var(--neon-pink); }
.featured-article:hover .post-format-badge, .news-card:hover .post-format-badge { transform: translateY(-2px); background: #000; border-color: var(--white-alpha-40); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7); }

.post-date-overlay { position: absolute; top: 0; right: 0; background: var(--neon-pink); color: var(--pure-black); font-family: 'Space Mono'; font-weight: 700; padding: 8px 15px; z-index: 20; font-size: 0.8rem; }
.post-content-body { position: relative; z-index: 10; padding: 30px; background: var(--dark-bg); margin: -40px 5% 0 5%; border: 1px solid var(--white-alpha-10); }
.main-post-title { color: var(--pure-white); font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 900; line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; border-left: 8px solid var(--neon-blue); padding-left: 15px; }
.article-text { font-size: 0.9rem; line-height: 1.6; color: var(--gray-medium-light); margin-bottom: 25px; text-align: justify; }
.read-more { font-family: 'Space Mono'; color: var(--neon-pink); text-decoration: none; font-size: 0.7rem; border: 1px solid var(--neon-pink); padding: 8px 18px; transition: 0.3s; display: inline-block; text-transform: uppercase; }
.read-more:hover { background: var(--neon-pink); color: var(--pure-black); }

/* --- NEWS CARDS --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; border-top: 1px solid var(--white-alpha-10); padding-top: 40px; }
.news-card { background: var(--dark-bg); border: 1px solid var(--white-alpha-05); overflow: hidden; display: flex; flex-direction: column; }
.news-thumb { width: 100%; height: 180px; overflow: hidden; border-bottom: 2px solid var(--neon-blue); position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; image-rendering: -webkit-optimize-contrast; filter: brightness(0.85) contrast(1.15); opacity: 0.9; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.news-card:hover .news-thumb img { filter: brightness(1) contrast(1.05); opacity: 1; transform: scale(1.1); }
.news-excerpt { font-family: 'Outfit', sans-serif; font-size: 0.9rem; line-height: 1.5; color: var(--gray-medium-light); margin-bottom: 15px; font-weight: 300; }
.news-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-card h4 { font-size: 1.2rem; font-weight: 900; color: var(--pure-white); margin-bottom: 12px; text-transform: uppercase; transition: 0.3s; }
.news-card:hover h4 { color: var(--neon-blue); }

/* --- META & FOOTERS --- */
.news-meta { font-family: 'Space Mono', monospace; font-size: 0.55rem; color: var(--gray-dark); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.news-meta span { display: flex; align-items: center; gap: 6px; }
.news-meta svg { color: var(--neon-pink); transition: color 0.3s; }
.news-meta a { color: var(--pure-white); text-decoration: none; transition: 0.3s; border-bottom: 1px solid transparent; }
.news-meta a:hover { color: var(--neon-blue); border-bottom: 1px solid var(--neon-blue); }
.read-more-sm { font-family: 'Space Mono'; color: var(--neon-blue); text-decoration: none; font-size: 0.6rem; letter-spacing: 2px; border: 1px solid var(--neon-blue-alpha-30); padding: 8px 15px; display: inline-block; transition: 0.3s; background: var(--black-alpha-50); align-self: flex-start; }
.read-more-sm:hover { color: var(--pure-black); background: var(--neon-blue); transform: translateX(5px); box-shadow: 0 0 10px var(--neon-blue); }


/* --- SIDEBAR PRINCIPAL --- */
.sidebar-box { 
    background: var(--glass-dark); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--white-alpha-10); 
    padding: 25px; 
    margin-bottom: 30px; 
    font-size: 0.9rem; 
    font-weight: 100;
    position: relative; 
    text-align: justify;
} 

.sidebar-box::before {
    content: ''; 
    position: absolute; 
    top: -1px; 
    left: -1px; 
    width: 20px; 
    height: 20px;
    border-top: 2px solid var(--neon-blue); 
    border-left: 2px solid var(--neon-blue);
}

/* --- ESTADOS Y TÍTULOS --- */
.db-status { font-family: 'Space Mono'; font-size: 0.7rem; color: var(--neon-pink); letter-spacing: 2px; margin-bottom: 15px; border-bottom: 1px dashed var(--white-alpha-20); padding-bottom: 10px; }

.sidebar-title { 
    text-transform: uppercase; 
    font-family: 'Space Mono'; 
    font-size: 0.7rem; 
    color: var(--neon-pink); 
    letter-spacing: 2px; 
    margin-bottom: 15px; 
    border-bottom: 1px dashed var(--white-alpha-20); 
    padding-bottom: 10px;
    display: flex;        
    align-items: center; 
    gap: 10px;            
}

.sidebar-title::before {
    content: '◆';
    color: var(--neon-blue);
    font-size: 0.5rem;
    text-shadow: 0 0 8px var(--neon-blue-alpha-50);
}

/* --- BUSCADOR (Múltiples selectores para compatibilidad) --- */
.sidebar-box .searchform div, 
.sidebar-box .search-form { 
    display: flex; 
    gap: 5px; 
    align-items: center; 
    margin-top: 10px;
}

.sidebar-box .search-field, 
.sidebar-box #s {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--white-alpha-10) !important;
    padding: 8px 10px !important;
    color: var(--pure-white) !important;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    outline: none;
    transition: all 0.3s ease;
}

.sidebar-box #s:focus { border-color: var(--neon-blue) !important; box-shadow: 0 0 10px rgba(0, 200, 255, 0.1); }

.sidebar-box .search-submit, 
.sidebar-box #searchsubmit {
    background: var(--neon-blue) !important;
    color: var(--pure-black) !important;
    border: none !important;
    padding: 8px 15px !important;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.sidebar-box #searchsubmit:hover { background: var(--pure-white) !important; box-shadow: 0 0 10px var(--neon-blue-alpha-50); }

/* --- LISTAS, ENLACES Y TIPOGRAFÍA --- */
.sidebar-box ul, .sidebar-box ol { list-style: none !important; padding: 0 !important; margin: 0 !important; text-transform: uppercase; }

.sidebar-box li {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--gray-medium-light);
    padding: 12px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--white-alpha-05) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-box li:hover { color: var(--pure-white); padding-left: 10px !important; border-bottom: 1px solid var(--neon-blue) !important; }

.sidebar-box li a { text-decoration: none !important; color: inherit !important; display: block; }

.sidebar-link { text-decoration: none; color: var(--gray-medium-light); font-size: 0.75rem; font-family: 'Space Mono'; transition: 0.2s; display: block; padding: 8px 0; border-bottom: 1px solid var(--white-alpha-05); }
.sidebar-link:hover { color: var(--pure-white); padding-left: 5px; border-bottom-color: var(--neon-pink); }

.sidebar-box a { color: var(--gray-medium-light); text-decoration: none; transition: 0.3s !important; }
.sidebar-box a:hover { color: var(--pure-white); }
.sidebar-box a:active { color: var(--neon-pink); }

.sidebar-box strong, .sidebar-box b { color: var(--pure-white); font-weight: 700; }
.sidebar-box em, .sidebar-box i { color: var(--pure-white); font-style: italic; opacity: 0.9; }

.sidebar-box blockquote {
    margin: 15px  !important;
    padding: 10px 15px !important;
    border-left: 2px solid var(--neon-pink);
    background: var(--white-alpha-05);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--pure-white);
}

/* --- IMÁGENES --- */
.sidebar-box img, .sidebar-box a img, .sidebar-box figure img {
    height: auto !important;
    margin: 20px 0 !important;
    border: 1px solid var(--white-alpha-20) !important;
    padding: 4px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    filter: grayscale(0.2) contrast(1.1) brightness(0.95) !important;
    transition: all 0.4s ease-in-out !important;
}

.sidebar-box img:hover, .sidebar-box a:hover img, .sidebar-box figure:hover img {
    filter: grayscale(0) contrast(1) brightness(1.1) !important;
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 15px var(--neon-blue-alpha-50) !important;
    transform: scale(1.02) !important;
}

/* --- ICONOS SVG --- */
.sidebar-box .svg-icon {
    width: 12px !important;
    height: 12px !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
    fill: var(--neon-blue) !important;
    transition: all 0.3s ease !important;
}

.sidebar-box:hover .svg-icon { fill: var(--neon-pink) !important; transform: rotate(5deg); }

/* --- ESTILO INDUSTRIAL / GLITCH --- */
.widget-custom-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--pure-black);
    background: var(--pure-white);
    padding: 5px 10px;
    margin-bottom: 15px !important;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
}

.sidebar-links-list { border: 2px solid var(--pure-white); padding: 15px; }
.link-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--gray-medium-light); }
.link-row:last-child { border-bottom: none; }
.link-row .label { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--pure-white); text-transform: uppercase; }

.link-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    padding: 2px 6px;
    text-decoration: none;
    transition: 0.2s;
}

.link-btn:hover { background: var(--neon-pink); color: var(--pure-black); }



/* --- CLASES DE ACENTO --- */
.card-pink { --accent-color: var(--neon-pink); }
.card-blue { --accent-color: var(--neon-blue); }


/* Limpieza total para que no se acople a nada */
.navpost-page {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    padding: 20px 0 !important;    font-size: 0.6rem;

}

.navpost-page .page-numbers {
    display: inline-block !important;
    padding: 10px 18px !important;
    margin: 0 5px !important;
    color: var(--pure-white) !important;
    background: var(--pure-black) !important;
    border: 1px solid var(--gray-dark) !important;
    text-decoration: none !important;
    font-weight: bold !important;    font-size: 0.6rem;

}

.navpost-page .page-numbers:hover {
    background: var(--neon-pink) !important;
    border-color: var(--neon-pink) !important;
    color: var(--pure-black) !important;
}

.navpost-page .current {
    background: var(--neon-blue) !important;
    border-color: var(--neon-blue) !important;
    color: var(--pure-black) !important;
}


/* ==========================================
   TARJETAS DE PROYECTO (Unique Card)
   ========================================== */
.pro-project-widget-container {
    all: initial; 
    display: block !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.unique-project-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 8px solid var(--pure-white);
    background-color: var(--accent-color);
    background-blend-mode: multiply;
    transition: all 0.6s ease;
}

.unique-project-card:hover {
    filter: grayscale(0%) contrast(1);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    text-decoration: none;
    transition: all 0.5s ease;
}

.card-meta {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 10px;
    align-items: center;
}

.block-type {
    background: var(--accent-color);
    color: var(--pure-black);
    padding: 4px 10px;
    font-weight: 700;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-family: 'Space Mono', monospace;
}

.block-year {
    background: var(--pure-black);
    color: var(--pure-white);
    padding: 4px 10px;
    font-weight: 700;
    font-size: 0.6rem;
    font-family: 'Space Mono', monospace;
    border: 1px solid var(--accent-color);
}

.unique-project-card h3 {
    font-size: 1.6rem;   
    color: var(--pure-white);
    margin: 0;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.view-btn {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    margin-top: 15px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 5px 10px;
    display: inline-block;
    width: fit-content;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.card-overlay:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
    background: var(--accent-color);
    color: var(--pure-black);
}

/* ==========================================
   FOOTER
   ========================================== */
.ultra-footer { margin-top: 80px; border-top: 1px solid var(--neon-blue); background: var(--pure-black); padding: 40px 0; }
.f-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.f-text { font-family: 'Space Mono'; font-size: 0.65rem; line-height: 1.8; color: var(--gray-medium-dark); text-transform: uppercase; }
.f-credit-box { text-align: right; }
.f-main-link { font-family: 'Outfit'; text-transform: uppercase; font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.3rem); text-decoration: none; color: var(--pure-white); line-height: 1; }
.f-sub { font-family: 'Space Mono'; font-size: 0.55rem; color: var(--neon-blue); margin-top: 5px; letter-spacing: 2px; text-transform: uppercase; }

/* ==========================================
   ADAPTACIÓN MÓVIL (Max: 768px)
   ========================================== */
@media (max-width: 768px) {
    .updates-bar {
        height: 50px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .ticker-socials {
        width: auto;
        border-left: none;
        justify-content: center;
        padding: 0;
    }

    .ultra-footer { order: 4; }

    .latest-pictures-container {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .pictures-info {
        border-right: none;
        border-bottom: 1px solid var(--white-alpha-10);
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
    }

    .pictures-grid {
        width: 100%;
        justify-content: center;
    }

    .pictures-nav {
        border-left: none;
        border-top: 1px solid var(--white-alpha-10);
        padding-left: 0;
        padding-top: 15px;
        width: 100%;
        align-items: center;
    }

    .post-content-body {
        margin: 0 15px;
        padding: 20px;
    }

    .f-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .f-credit-box {
        text-align: center;
    }
}

/* ==========================================================================
   2. INDICADORES Y PLACEHOLDERS
   ========================================================================== */
.scroll-down-indicator {
    position: absolute;
    bottom: 28vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    cursor: pointer;
    text-decoration: none;
    color: var(--pure-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-down-indicator:hover { opacity: 1; }
.scroll-down-indicator span { width: 1px; height: 15px; background: var(--pure-white); display: block; margin-bottom: 2px; }
.scroll-down-indicator::after { content: '↓'; font-size: 1.2rem; line-height: 1; animation: bounce 1.5s infinite ease-in-out; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.no-image-placeholder {
    width: 100%;
    min-height: 380px;
    background-color: #0c0c0c;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.no-image-placeholder .camera-icon { width: 48px; height: 48px; transition: color 0.3s ease; }
.no-image-placeholder span { font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 3px; font-weight: 700; }
.sm-placeholder { min-height: 200px; }
.sm-placeholder .camera-icon { width: 32px; height: 32px; }

/* ==========================================================================
   3. ESTRUCTURA SINGLE.PHP
   ========================================================================== */
.single-page-container {  margin-top:40px; max-width: var(--site-width); width: 100%;   
}
.single-article-grid { display: grid; grid-template-columns: 1fr; gap: 40px;    
 }

@media (min-width: 992px) {
    .single-article-grid { grid-template-columns: 2.8fr 1.2fr; }
}

.single-post-card { background: rgba(5, 5, 5, 0.4); border: 1px solid var(--white-alpha-10); padding: 40px; backdrop-filter: blur(5px); }
.single-post-header { margin-bottom: 30px; }

/* Meta Info */
.single-post-meta { font-family: 'Space Mono', monospace; font-size: 0.5rem; letter-spacing: 2px; color: var(--gray-medium-light); display: flex; gap: 25px; margin-bottom: 15px; text-transform: uppercase; flex-wrap: wrap; align-items: center; }
.single-post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.single-post-meta .meta-icon { width: 14px; height: 14px; color: var(--white-alpha-40); transition: color 0.3s ease, filter 0.3s ease; }
.single-post-meta b { color: var(--neon-blue); }
.single-post-meta b a:link, .single-post-meta b a:visited { color: var(--neon-blue); text-decoration: none; transition: all 0.2s ease-in-out; display: inline-block; }
.single-post-meta b a:hover { color: var(--neon-pink); text-shadow: 0 0 8px rgba(255, 0, 127, 0.5); }
.single-post-meta span:has(a:hover) .meta-icon { color: var(--neon-pink); filter: drop-shadow(0 0 4px var(--neon-pink)); }

/* Título */
.single-post-title {
    font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1.1; font-weight: 900; text-transform: uppercase;
    color: var(--pure-white);
    background: linear-gradient(180deg, var(--pure-white) 55%, rgba(255, 255, 255, 0.45) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -1px; position: relative; padding-bottom: 10px; margin-bottom: 10px; display: block;
}

.single-post-title::after {
    content: ""; position: absolute; bottom: 0; left: 0; width: 80px; height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Imagen Destacada */
.single-post-featured { margin: 30px 0 40px 0; border: 1px solid var(--white-alpha-10); position: relative; overflow: hidden; background: #000; }
.single-post-featured img { width: 100%; height: auto; display: block; filter: none; opacity: 0.9; transition: transform 0.7s cubic-bezier(0.15, 0.85, 0.3, 1), opacity 0.4s ease; }
.single-post-featured:hover img { opacity: 1; transform: scale(1.02); }

/* ==========================================================================
   4. ADAPTACIÓN MÓVIL Y ULTRA-MÓVIL
   ========================================================================== */
@media (max-width: 768px) {
    .scroll-down-indicator { display: none !important; }
}

@media (max-width: 480px) {
    .logo { font-size: 0rem; letter-spacing: 0px; }
    .post-content-body { margin: 0 5px; padding: 15px; }
    .main-post-title { padding-left: 10px; border-left-width: 5px; }
    .pic-frame { width: 65px; height: 65px; }
}

/* ==========================================================================
   NÚCLEO DE CONTENIDO DE LA NOTICIA (WORDPRESS ENGINE COMPATIBLE)
   ========================================================================== */
.single-post-content {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    text-align: justify;
    color: var(--gray-light);
    display: flow-root;
}

/* Párrafos estándar */
.single-post-content p { 
    margin-bottom: 25px; 
    font-weight: 300; 
}

/* Enlaces y sus 4 estados nativos */
.single-post-content a:link,
.single-post-content a:visited {
    color: var(--neon-pink);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 240, 255, 0.3);
    transition: all 0.2s ease-in-out;
}

.single-post-content a:hover {
    color: var(--neon-pink);
    border-bottom: 1px solid var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

.single-post-content a:active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* Formatos de Texto Enfatizado (Bold & Italic) */
.single-post-content strong,
.single-post-content b {
    color: var(--pure-white);
    font-weight: 600; /* Outfit semi-bold muy limpio */
}

.single-post-content em,
.single-post-content i {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Títulos internos del Post (Jerarquía H2 - H6) */
.single-post-content h2 { 
    color: var(--pure-white); 
    font-size: 1.6rem; 
    text-transform: uppercase; 
    margin: 45px 0 20px 0;
    border-left: 3px solid var(--neon-pink);
    padding-left: 15px;
    font-weight: 800;
}

.single-post-content h3 {
    color: var(--pure-white);
    font-size: 1.35rem;
    text-transform: uppercase;
    margin: 40px 0 15px 0;
    font-weight: 700;
}

.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: var(--gray-medium-light);
    font-family: 'Space Mono', monospace;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 30px 0 15px 0;
}

/* Citas Textuales (Blockquotes) */
.single-post-content blockquote {
    margin: 10px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--neon-blue);
    border-right: 1px solid var(--white-alpha-10);
    border-top: 1px solid var(--white-alpha-10);
    border-bottom: 1px solid var(--white-alpha-10);
    position: relative;
}

.single-post-content blockquote p {
    font-family: 'Space Mono', monospace;
    font-style: italic;
    font-size: 1rem;
    color: var(--pure-white);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Listas ordenadas y desordenadas */
.single-post-content ul,
.single-post-content ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.single-post-content li {
    margin-bottom: 12px;
    font-weight: 300;
}

.single-post-content ul li::marker {
    color: var(--neon-pink);
}

.single-post-content ol li::marker {
    color: var(--neon-blue);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}

/* Tablas nativas de contenido */
.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--white-alpha-10);
}

.single-post-content th,
.single-post-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--white-alpha-10);
}

.single-post-content th {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--neon-blue);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02);
}

/* Bloques de código preformateado */
.single-post-content pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--white-alpha-10);
    padding: 20px;
    overflow-x: auto;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin-bottom: 30px;
}

.single-post-content code {
    font-family: 'Space Mono', monospace;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    color: var(--neon-pink);
    font-size: 0.9rem;
}

.single-post-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

/* ==========================================================================
   ESTILOS PREMIUM PARA IMÁGENES DENTRO DEL CONTENIDO (ANTI-ABURRIMIENTO)
   ========================================================================== */

/* --------------------------------------------------------------------------
   ¡EXTRACTOR DE LÍNEAS FANTASMA! (Anula estilos de enlaces en las fotos)
   -------------------------------------------------------------------------- */
.single-post-content a:has(img),
.single-post-content .wp-block-image a,
.single-post-content .wp-caption a,
.single-post-content .aligncenter a {
    border-bottom: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: inline-block; /* Mantiene el truco para que vayan una al lado de la otra */
}

.single-post-content a:has(img):hover,
.single-post-content a:has(img):active,
.single-post-content .wp-block-image a:hover,
.single-post-content .wp-caption a:hover,
.single-post-content .aligncenter a:hover {
    border-bottom: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important; /* Evita que el enlace rompa la animación de la foto */
}
/* -------------------------------------------------------------------------- */

/* Bloques contenedores de WordPress (Controlan el espacio del bloque general) */
.single-post-content .wp-block-image,
.single-post-content .wp-caption,
.single-post-content .aligncenter,
.single-post-content .has-text-align-center {
    display: block;
    margin: 35px auto;
    text-align: center; /* Fuerza a que todo lo que esté adentro (imágenes inline) se centre en grupo */
}

/* Etiqueta de imagen base (¡AHORA INLINE-BLOCK PARA IR JUNTAS!) */
.single-post-content img,
.single-post-content .wp-block-image img,
.single-post-content .wp-caption img {
    max-width: 100%;
    height: auto;
    display: inline-block; /* <-- CAMBIO CLAVE: Permite que se posicionen una al lado de la otra */
    vertical-align: middle; /* Alineación vertical perfecta si tienen diferentes alturas */
    margin: 10px; /* Espaciado uniforme a los lados y entre ellas */
    
    /* Efecto Marco Flotante / Cyber-Frame */
    padding: 6px; 
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--white-alpha-20);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    
    /* Filtro de integración cromática */
    filter: brightness(0.85) contrast(1.05) grayscale(10%);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- TRATAMIENTO PARA GALERÍAS Y COLUMNAS NATIVAS --- */
.single-post-content .wp-block-gallery img,
.single-post-content .wp-block-gallery .wp-block-image img,
.single-post-content .wp-block-columns img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-content .wp-block-gallery,
.single-post-content .wp-block-columns {
    margin: 40px 0;
    gap: 15px !important;
}

.single-post-content .wp-block-gallery .wp-block-image {
    margin: 0 !important;
}

.single-post-content .wp-block-gallery figcaption {
    margin: 8px auto 0 auto;
    display: block;
    text-align: center;
    border-right: none;
    border-top: none;
}

/* --- EFECTO HOVER --- */
.single-post-content img:hover,
.single-post-content .wp-block-image:hover img,
.single-post-content .wp-caption:hover img {
    filter: brightness(1.05) contrast(1.1) grayscale(0%);
    border-color: var(--neon-pink);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15), 
                0 15px 35px rgba(0, 0, 0, 0.8);
}

/* --- TRATAMIENTO PREMIUM PARA CAPTIONS (SUBTÍTULOS DE FOTO) --- */
.wp-caption,
.wp-block-image figcaption {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--gray-medium-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    
    /* Estilo de "Etiqueta Técnica" */
    margin: 0 auto 35px auto;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--neon-pink);
    border-bottom: 1px solid var(--white-alpha-05);
    display: table; 
    max-width: 100%;
}

.single-post-content .wp-block-image:hover figcaption,
.wp-caption:hover .wp-caption-text {
    color: var(--pure-white);
    border-left-color: var(--neon-blue);
}

/* --- CORRECCIÓN DE ALINEACIONES NATIVAS (FLOTANTES) --- */
.single-post-content .alignleft,
.single-post-content .wp-block-image.alignleft {
    float: left;
    margin: 10px 25px 25px 0;
    max-width: 45%;
}
/* Reseteamos el comportamiento inline en los floats para evitar saltos extraños */
.single-post-content .alignleft img { margin: 0 0 10px 0; display: block; }
.single-post-content .alignleft figcaption { margin: 0; display: block; }

.single-post-content .alignright,
.single-post-content .wp-block-image.alignright {
    float: right;
    margin: 10px 0 25px 25px;
    max-width: 45%;
}
.single-post-content .alignright img { margin: 0 0 10px 0; display: block; }
.single-post-content .alignright figcaption { margin: 0; display: block; }

/* Limpieza de floats general */
.single-post-content::after {
    content: "";
    display: table;
    clear: both;
}
/* ========================================================================== */

.post-navigation-links {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--white-alpha-10);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    margin-bottom:-20px;
}

/* --- ENLACES DE NAV (SOPORTE DE ETIQUETAS <a> DE WP) --- */
.nav-route a,
.nav-route a:link,
.nav-route a:visited {
    text-decoration: none;
    color: var(--gray-medium-light); /* Color para el texto estático de "← PREV" o "NEXT →" */
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-route span { 
    display: block; 
    color: var(--pure-white); 
    font-family: 'Outfit'; 
    font-size: 0.9rem; 
    font-weight: 600; 
    transition: color 0.3s ease; /* Añadido para que el cambio de color sea fluido */
}

.nav-route.nav-next { text-align: right; }

/* --- ESTADO: HOVER (PASAR EL MOUSE) --- */
.nav-route a:hover {
    color: var(--neon-blue); /* La flecha y el prefijo se iluminan en azul */
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.nav-route a:hover span {
    color: var(--neon-pink); /* El título del post cambia a tu rosa neón */
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.4);
}

/* Micro-interacción: Empuja la navegación en la dirección de la ruta */
.nav-route.nav-prev a:hover {
    transform: translateX(-5px);
}

.nav-route.nav-next a:hover {
    transform: translateX(5px);
}

/* --- ESTADO: ACTIVE (AL HACER CLIC) --- */
.nav-route a:active {
    transform: scale(0.96); /* Sutil efecto de pulsación de botón */
    opacity: 0.8;
}







/* ==========================================================================
   SECCIÓN DE COMENTARIOS (SOPORTE NATIVO WORDPRESS)
   ========================================================================== */

#comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--white-alpha-10);
}

/* Títulos de la sección */
.comments-title,
.comment-reply-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon-pink);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title::before,
.comment-reply-title::before {
    content: '◆';
    color: var(--neon-blue);
    font-size: 0.5rem;
    text-shadow: 0 0 8px var(--neon-blue);
}

/* --- LISTA DE COMENTARIOS --- */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

/* Contenedor de cada comentario individual */
.comment-body {
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-alpha-10);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
}

/* Detalle de esquina neón para el comentario del autor del post */
.bypostauthor > .comment-body::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--neon-pink);
    border-left: 2px solid var(--neon-pink);
}

/* Meta del Comentario (Avatar + Autor + Fecha) */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Avatar del usuario */
.comment-meta .avatar {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    border: 1px solid var(--white-alpha-20);
    object-fit: cover;
}

.comment-author .fn {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pure-white);
    font-style: normal;
}

.comment-metadata {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--gray-medium-light);
}

.comment-metadata a {
    color: var(--gray-medium-light);
    text-decoration: none;
}

/* Contenido del texto del comentario */
.comment-content {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-light);
}
.comment-content p { margin-bottom: 0; }

/* Botón Responder (Reply) */
.reply {
    margin-top: 15px;
    text-align: right;
}

.reply a {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--neon-blue);
    text-decoration: none;
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 5px 12px;
    transition: all 0.2s ease;
    display: inline-block;
}

.reply a:hover {
    color: var(--pure-black);
    background: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* --- RESPUESTAS ANIDADAS (Hilos / Children) --- */
.comment-list .children {
    list-style: none;
    padding-left: 20px;
    margin-left: 15px;
    border-left: 1px dashed var(--white-alpha-20);
}

@media (min-width: 768px) {
    .comment-list .children {
        padding-left: 40px;
        margin-left: 25px;
    }
}

/* --- FORMULARIO DE COMENTARIOS (#respond) --- */
#respond {
    background: rgba(5, 5, 5, 0.2);
    border: 1px solid var(--white-alpha-05);
    padding: 30px;
    margin-top: 40px;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Campos de texto (Inputs y Textarea) */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--white-alpha-10);
    padding: 12px 15px;
    color: var(--pure-white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* Efecto Focus con tus neones */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

/* Etiquetas y textos de ayuda */
.comment-notes,
.logged-in-as {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: var(--gray-medium-light);
}
.logged-in-as a { color: var(--neon-blue); text-decoration: none; }

/* Checkbox de recordar datos */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: var(--gray-medium-light);
}
.comment-form-cookies-consent input {
    margin-top: 3px;
    accent-color: var(--neon-pink);
}

/* Botón de Enviar (Submit) */
.form-submit {
    margin-bottom: 0;
}

.comment-form #submit {
    background: transparent;
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form #submit:hover {
    color: var(--pure-black);
    background: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}


/* ==========================================================================
   BLOQUE: RELATED NEWS (ABAJO DE SINGLE.PHP) - ADAPTADO A 3 COLUMNAS
   ========================================================================== */

.related-news-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px dashed var(--white-alpha-20);
}

/* Título principal de la sección */
.related-section-title {
    text-transform: uppercase; 
    font-family: 'Space Mono', monospace; 
    font-size: 0.85rem; 
    color: var(--neon-pink); 
    letter-spacing: 3px; 
    margin-bottom: 25px; 
    display: flex;       
    align-items: center; 
    gap: 10px;    
}

.related-section-title::before {
    content: '◆';
    color: var(--neon-blue);
    font-size: 0.6rem;
    text-shadow: 0 0 8px var(--neon-blue);
}

/* Grid configurado para 3 columnas */
.related-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) { 
    .related-news-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (min-width: 992px) { 
    .related-news-grid { grid-template-columns: repeat(3, 1fr); } /* Ajustado a 3 */
}

/* Tarjeta individual (Compactada) */
.related-news-card {
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-alpha-10);
    padding: 15px; /* Reducido para estilizar el alto */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Detalle cyber-neon en la esquina superior izquierda */
.related-news-card::before {
    content: ''; 
    position: absolute; 
    top: -1px; 
    left: -1px; 
    width: 15px; 
    height: 15px;
    border-top: 2px solid var(--neon-blue); 
    border-left: 2px solid var(--neon-blue);
}

/* Título de la noticia */
.related-post-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 8px;
    min-height: 38px; /* Ajustado al nuevo ancho */
}

.related-post-title a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-news-card:hover .related-post-title a {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.2);
}

/* Contenedor de la Imagen (Efecto panorámico/widescreen) */
.related-post-featured {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--white-alpha-10);
    background: #000;
}

.related-post-featured a {
    display: block;
    width: 100%;
    height: 100%;
}

.related-post-featured img {
    width: 100%;
    height: 135px; /* Reducido de 160px a 135px para evitar el efecto "tan alto" */
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    filter: grayscale(30%) brightness(0.8);
}

/* Comportamiento Hover */
.related-news-card:hover .related-post-featured img {
    transform: scale(1.03);
    filter: grayscale(0%) brightness(1);
}

.related-news-card:hover {
    border-color: var(--white-alpha-20);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* VIDEO GALLERY */
.ultra-video-gallery {
    padding: 20px;
    background: var(--pure-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.gallery-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--glass-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 3px solid var(--neon-pink);
    padding-left: 10px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.video-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.video-item img {
    width: 100%;
    display: block;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Overlay y botón de Play */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0; /* Oculto por defecto */
}

.video-item:hover .play-overlay {
    opacity: 1;
    border-color: var(--neon-pink);
}

.play-btn {
    font-size: 1.5rem;
    color: white;
    background: var(--neon-pink);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    padding-left: 4px; /* Centrado óptico del símbolo ▶ */
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-item:hover .play-btn {
    transform: scale(1.1);
}

.bio-widget-container {
    background: rgba(0, 0, 0, 0.4); /* Fondo más oscuro para resaltar la imagen */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px; /* Bordes rectos para un look más arquitectónico */
    overflow: hidden;
    margin-bottom: 25px;
}

.bio-header {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* FILTRO CINEMATOGRÁFICO */
    filter: saturate(0.8) contrast(1.1); 
    transition: filter 0.5s ease;
}

.bio-widget-container:hover .bio-header {
    filter: saturate(1.2) contrast(1.2); /* La imagen cobra vida al pasar el mouse */
}

/* TÍTULO CON CORTE ANGULAR (SKEW) */
.bio-name {
    position: absolute;
    bottom: 20px;
    left: 0;
    background: var(--neon-blue); /* Usamos tu color neón */
    color: #000;
    padding: 8px 25px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;

}

.bio-name span {
    display: inline-block;
}

.bio-content {
    padding: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-align: justify; 
}
.back-home-container {
    margin-bottom: 30px;
}

.back-home-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03); /* Fondo sutil */
    border: 1px solid var(--white-alpha-10);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efecto Hover agresivo y elegante */
.back-home-link:hover {
    background: var(--pure-white);
    color: var(--pure-black) !important;
    border-color: var(--pure-white);
    transform: translateX(5px);
    text-shadow: none; /* Quitamos el brillo neón anterior */
}

.back-home-link svg {
    stroke: var(--neon-pink); /* Icono siempre rosa neón */
    transition: stroke 0.3s ease;
}

.back-home-link:hover svg {
    stroke: var(--pure-black); /* Cambio de color al hacer hover */
}
/* Estado inicial (invisible y desplazado) */
.reveal-element {
    opacity: 0;
    transform: translateY(60px);
  
}

/* Estado final (cuando está visible) */
.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


/* --- DISEÑO DE LISTA "ARCHIVE LOG" --- */
.news-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;

}

.news-list li {
    display: flex !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea muy sutil */
    transition: transform 0.3s ease;
}

.news-list li:hover {
    transform: translateX(5px);
}

/* Icono SVG: más pequeño y elegante */
.news-list li svg {
    width: 10px !important;
    height: 10px !important;
    margin-right: 15px !important;
    color: var(--neon-blue) !important;
    flex-shrink: 0;
}

/* Texto: tipografía clara y sin adornos */
.news-list li a {
    font-family: 'Space Mono', monospace !important;
    font-size: 0.6rem !important;
    color: var(--gray-medium) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.news-list li:hover a {
    color: var(--pure-white) !important;
}




/* Gallery Path Component */
.custom-gallery-path {
    font-size: 0.8rem !important;
        text-transform: uppercase;
    display: flex;
    align-items: center;
    background: var(--glass-dark);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--white-alpha-10);
    border-left: 5px solid var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-family: 'Space Mono', monospace; /* Futuristic font */
    color: var(--gray-light);
    margin: 10px 0;
}

/* Camera Icon SVG */
.custom-gallery-path::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-color: var(--neon-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z'/%3E%3C/svg%3E") no-repeat center;
    filter: drop-shadow(0 0 5px var(--neon-blue-alpha-50));
}

.custom-gallery-path a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    margin: 0 5px;
    text-shadow: 0 0 8px var(--neon-blue-alpha-40);
    transition: all 0.3s ease;
}

.custom-gallery-path a:hover {
    color: var(--pure-white);
}

.custom-gallery-path span {
    color: var(--gray-medium-light);
    margin: 0 8px;
}



/* Navegación de posts (Clase única para no afectar al menú principal) */
.post-navigation-cyber-section {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    padding: 25px;
    border: 1px solid var(--white-alpha-10);
    background: var(--glass-dark);
}

.post-navigation-cyber-section .nav-prev, 
.post-navigation-cyber-section .nav-next {
    flex: 1;
}

.post-navigation-cyber-section .nav-next {
    text-align: right;
}

.post-navigation-cyber-section a {
    text-decoration: none;
    display: block;
}

.post-navigation-cyber-section .nav-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--neon-blue);
    text-transform: uppercase;
}

.post-navigation-cyber-section .nav-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--pure-white);
    transition: 0.3s;
}

.post-navigation-cyber-section a:hover .nav-title {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}





 
.cyber-video-container {
    position: relative;
    margin: 60px 0;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cyber-video-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

/* Pie de video técnico */
.cyber-video-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    color:transparent;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 242, 255, 0.2);
    position: relative;
}

/* Título del video */
.video-title {
    font-family: 'Space Mono', monospace;
    color: var(--pure-white);
    font-size: 14px;
    font-weight: bold;
}

/* Línea azul extra inferior a la derecha */
.cyber-video-footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%; /* Longitud de la línea */
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Status text */
.sync-status {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--neon-blue);
    letter-spacing: 2px;
}

/* Esquina superior izquierda técnica */
.cyber-video-container::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--neon-blue);
    border-left: 2px solid var(--neon-blue);
}

.sync-status {
    display: flex;
    align-items: center; /* Alinea verticalmente el icono y el texto */
    gap: 8px;           /* Espacio entre el icono y el título */
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--neon-blue);
    text-transform: uppercase;
    font-weight: bold;
}

.video-icon {
    width: 16px;
    height: 16px;
    stroke: var(--neon-blue);
}
/* Asegura que el video no se salga de su contenedor en la grilla */
.news-thumb .cyber-video-container {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.news-thumb .cyber-video-container iframe {
    height: 200px; /* Ajusta a la altura de tus miniaturas */
    width: 100%;
}



/* Contenedor del video */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 perfecta */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

/* Para limpiar espacios en los contenedores padre */
.featured-image-container, .news-thumb {
    line-height: 0;
    overflow: hidden;
}

/* Ocultar bordes de WP oembed */
.video-wrapper p {
    display: none;
}
/* --- ESTILO ÚNICO: VIDEO DESTACADO (PANEL) --- */

.featured-video-cyber-panel {
    position: relative;
    border: 2px solid var(--neon-blue); /* Borde neón principal */
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3); /* Resplandor */
    background: #000;
    overflow: hidden;
    line-height: 0;
}

/* Esquinas técnicas asimétricas */
.featured-video-cyber-panel::before,
.featured-video-cyber-panel::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-blue);
    z-index: 10;
}

.featured-video-cyber-panel::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.featured-video-cyber-panel::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

/* Pie de video exclusivo (sin título, solo status) */
.cyber-video-footer-unique {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-left: 3px solid var(--neon-blue);
    padding: 8px 15px;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.video-label-unique {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--neon-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
}

/* Efecto visual de línea de escaneo */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 242, 255, 0.1);
    animation: scan 4s linear infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* --- ESTILOS RESPONSIVOS COMPARTIDOS (Base) --- */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
/* Contenedor que dicta el tamaño de la grilla */
.related-post-featured {
    position: relative;
    width: 100%;
    height: 150px; /* Ajústalo a la altura real de tus imágenes */
    overflow: hidden;
    background: #000;
}

/* Forzar que cualquier imagen dentro rellene el cuadro */
.related-post-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenedor del video: eliminamos el padding-bottom (16:9) que lo hacía alto */
.clean-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* El iframe ocupa todo el espacio del contenedor padre */
.clean-video-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    pointer-events: none; /* Para que el clic vaya al enlace del post */
}
/* Asegura que el contenedor tenga posición relativa */
.featured-image-container, .news-thumb {
    position: relative;
}

/* El icono debe tener posición absoluta para montarse encima */
.post-format-icon { /* (O el nombre de la clase que genere tu función) */
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    pointer-events: none; /* Para que el clic pase a través del icono al video */
}




/* Estilos aislados para la galería de miniaturas */
    .gallery-thumb-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 30px !important;
        margin: 10px auto !important;
        max-width: 800px !important;
    }

    .gallery-thumb-item {
        width: 160px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .gallery-thumb-container {
        position: relative !important;
        width: 150px !important;
        height: 150px !important;
        overflow: hidden !important;
        border: 1px solid var(--neon-blue) !important;
        background: #000 !important;
        cursor: pointer !important;
    }

    .gallery-thumb-container img {
        all: unset !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        transition: opacity 0.3s ease !important;
    }

    .gallery-thumb-overlay {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(0, 0, 0, 0.6) !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }

    .gallery-thumb-container:hover .gallery-thumb-overlay {
        opacity: 1 !important;
    }

    .gallery-thumb-caption {
        margin-top: 12px !important;
        font-size: 0.70rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0px !important;
        color: var(--pure-white) !important;
        font-family: monospace !important;
        text-align: center !important;
    border: 1px solid var(--white-alpha-10);
        padding: 4px !important;
        width: 100% !important;
    }

.info-image-container { 
    position: relative; 
    overflow: hidden; 
    border: 1px solid var(--neon-blue); 
    background: var(--pure-black);
    
    /* Mantenemos el alto fijo para ambos casos */
    height: 230px; 
    width: 100%;
    
    /* Esto es clave para que los hijos se centren */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-image-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

/* Este es el bloque de "NO IMAGE" */
.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--neon-blue);
    width: 100%;
    height: 100%;
}

.no-image-placeholder svg {
    width: 50px; /* Tamaño del icono */
    height: 50px;
    stroke: var(--neon-blue);
}

.no-image-placeholder span {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}