/*
Theme Name:     Twenty Twenty-Five Child (RatingVigilancia.es)
Description:    CÓDIGO FINAL 17.0 - CORE ORIGINAL + SISTEMA LEGO UI COMPLETO
Template:       twentytwentyfive
Version:        3.6.0
*/

/* ------------------------------------------------------------- */
/* 0. VARIABLES GLOBALES (SISTEMA LEGO Y CORE)
/* ------------------------------------------------------------- */
:root {
    --rv-blue: #1f5d96;
    --rv-blue-dark: #16426b;
    --rv-orange: #ffa500;
    --rv-bg: #f4f6f8;
    --rv-gray-bg: #f8fafc;
    --rv-dark: #333333;
}

/* ------------------------------------------------------------- */
/* 1. CSS GLOBAL Y RESET
/* ------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; margin: 0; padding: 0; width: 100%; }
strong { font-weight: bold; }

/* ------------------------------------------------------------- */
/* 2. HEADER: ESTRUCTURA PRINCIPAL (ESTILO ORIGINAL RECUPERADO)
/* ------------------------------------------------------------- */
.page .entry-title, .page .wp-block-post-title { display: none !important; }

header.wp-block-template-part:not(footer), .wp-site-header {
    background-color: #1f5d96 !important; 
    border-bottom: 5px solid #ffa500 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    width: 100% !important;
    z-index: 99999 !important;
    padding: 0 !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
}

header.wp-block-template-part > div, .wp-site-header > div {
    max-width: 1200px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;   
    padding-right: 20px !important;
    width: 100% !important;
}

/* ------------------------------------------------------------- */
/* 3. LOGO (RATINGVIGILANCIA.ES)
/* ------------------------------------------------------------- */
.wp-block-site-title {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-site-title a {
    text-transform: uppercase !important;
    font-weight: 800 !important;
    font-size: 1.3rem !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-left: 5px solid #ffa500 !important;
    padding-left: 15px !important;
    line-height: 1 !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* ------------------------------------------------------------- */
/* 4. MENÚ EN PC (> 1180px) - MODO PREMIUM (7 ENLACES)
/* ------------------------------------------------------------- */
@media (min-width: 1181px) {
    body { padding-top: 90px !important; }

    .wp-block-site-title a {
        font-size: 1.6rem !important;
        letter-spacing: 0.5px !important;
    }

    header.wp-block-template-part a, 
    .wp-site-header .wp-block-navigation a, 
    .wp-block-navigation-item__content {
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 700 !important; 
        font-size: 1rem !important; 
        padding: 5px 15px !important; 
        letter-spacing: 0px !important; 
        white-space: nowrap !important;
    }
    
    header.wp-block-template-part a:hover { color: #ffa500 !important; }
    .wp-block-navigation__responsive-container-open { display: none !important; }
}

/* ------------------------------------------------------------- */
/* 5. MENÚ MÓVIL Y RESPONSIVO TOTAL (< 1180px)
/* ------------------------------------------------------------- */
@media (max-width: 1180px) {
    html, body {
        overflow-x: hidden !important; 
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body { padding-top: 80px !important; }

    .wp-site-blocks, main, .entry-content, .site-main, .ficha-wrapper {
        padding-left: 8px !important;   
        padding-right: 8px !important;  
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; 
    }

    .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { display: none !important; }
    
    .wp-block-navigation__responsive-container-open { 
        display: flex !important; 
        background-color: rgba(255, 255, 255, 0.15) !important; 
        border: 1px solid rgba(255, 255, 255, 0.5) !important; 
        border-radius: 4px !important; 
        padding: 10px 12px !important; 
        color: #ffffff !important; 
        cursor: pointer !important; 
        position: relative !important;
        z-index: 200000 !important;
        pointer-events: auto !important;
        margin-left: auto !important;
    }
    
    .wp-block-navigation__responsive-container-open svg { fill: #ffffff !important; width: 28px !important; height: 28px !important; }
    .wp-block-navigation__responsive-container-open:hover { border-color: #ffa500 !important; color: #ffa500 !important; }
    .wp-block-navigation__responsive-container-open:hover svg { fill: #ffa500 !important; }

    .wp-block-navigation__responsive-container.is-menu-open { 
        display: block !important; position: fixed !important; top: 75px !important; left: 10px !important; right: 10px !important; 
        background-color: #ffffff !important; 
        border-bottom: 5px solid #ffa500 !important; border-radius: 12px !important; 
        z-index: 999999 !important; padding: 25px 10px 20px 10px !important; box-shadow: 0 50px 100px rgba(0,0,0,0.6) !important; 
    }
    
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content, 
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { 
        display: flex !important; flex-direction: column !important; align-items: center !important; 
        width: 100% !important; text-align: center !important;
        padding-top: 130px !important; 
        position: relative !important;
    }
    
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before {
        content: "";
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 85px !important; 
        height: 85px !important;
        background-image: url('https://ratingvigilancia.es/wp-content/uploads/2026/01/Logo-con-fondo-blanco-adecado.webp') !important;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        border: 1px solid #e2e8f0 !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::after {
        content: "RATINGVIGILANCIA.ES" !important;
        position: absolute !important;
        top: 95px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 22px !important;
        font-weight: 900 !important;
        font-family: 'Helvetica Neue', Arial, sans-serif !important;
        letter-spacing: -0.5px !important;
        background: linear-gradient(to right, #1f5d96 0%, #1f5d96 36%, #ffa500 36%, #ffa500 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        display: block !important;
        white-space: nowrap !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-site-title {
        display: none !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-site-tagline {
        color: #64748b !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
        line-height: 1.4 !important;
        display: block !important;
        width: 100% !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open a { 
        color: #16426b !important; display: block !important; width: 100% !important; 
        text-align: center !important; padding: 14px !important; font-size: 1.15rem !important; 
        font-weight: 800 !important; border-bottom: 1px solid #f1f5f9 !important; 
    }
    
    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { 
        display: flex !important; position: absolute !important; top: 10px !important; right: 15px !important; 
        color: #1f5d96 !important; z-index: 200001 !important; 
    }
}

/* ------------------------------------------------------------- */
/* 5.1 ANCHO TOTAL REAL Y CENTRADO PERFECTO EN PC (> 1280px)
/* ------------------------------------------------------------- */
@media (min-width: 1281px) {
    body .wp-site-blocks, main, .site-main, .entry-content {
        width: 100% !important; max-width: 100vw !important; margin-left: 0 !important; margin-right: 0 !important;
        padding-left: 30px !important; padding-right: 30px !important; box-sizing: border-box !important;
    }

    .is-layout-constrained > *, .entry-content > *, .wp-site-blocks > * {
        max-width: 100% !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box !important;
    }

    header.wp-block-template-part > div, .wp-site-header > div {
        max-width: 100% !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important;
        padding-left: 30px !important; padding-right: 30px !important;
    }

    .alignwide, .alignfull, .tablepress {
        max-width: 100% !important; width: 100% !important; margin-left: auto !important; margin-right: auto !important;
    }
}

/* =================================================================
   6. CORRECCIÓN MÓVIL HORIZONTAL (VUELVE A SER CÓMODO)
   ================================================================= */
@media (max-width: 950px) and (orientation: landscape) {
    header.wp-block-template-part:not(footer), .wp-site-header {
        position: absolute !important; 
    }
    .wp-block-site-title a { font-size: 1.1rem !important; }
    body { padding-top: 75px !important; }
}

/* ------------------------------------------------------------- */
/* 7. CONTENIDO GLOBAL Y BOTONES PREMIUM
/* ------------------------------------------------------------- */
.ADV-HTML-CONTAINER { font-family: 'Helvetica Neue', Arial, sans-serif; color: #333333; }
.ADV-H2 { border-left: 5px solid #ffa500; padding-left: 15px; color: #1f5d96; font-size: 1.8em; margin-top: 35px; margin-bottom: 15px; }
.ADV-H3 { border-left: 5px solid #ffa500; padding-left: 15px; color: #1f5d96; font-size: 1.4em; margin-top: 25px; margin-bottom: 15px; }
.callout { border-left: 5px solid #1f5d96; padding: 15px; margin: 20px 0; background-color: #f7f7f7; color: #333; }
.comment-box { padding: 20px; margin: 20px 0; background-color: #ffffff; border-radius: 5px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.comment-pro { border-left: 5px solid #1f5d96; }
.comment-contra { border-left: 5px solid #ffa500; }
.comment-header { font-size: 1.1em; font-weight: bold; color: #333333; border-bottom: 1px dashed #ddd; }
.entry-content, .tablepress { background-color: #ffffff !important; box-shadow: none !important; border: none !important; color: #333 !important; }
.tablepress tbody td, .tablepress thead th { background-color: #ffffff !important; color: #333 !important; }
.tablepress thead th { color: #1f5d96 !important; font-weight: bold !important; }
.tablepress-id-1 .row-hover tr:nth-child(even) td { background-color: #f2f2f2 !important; }
#wpadminbar #wp-admin-bar-my-account .ab-item img.avatar { width: 26px !important; height: 26px !important; border-radius: 50%; vertical-align: middle; }
img { height: auto !important; max-width: 100% !important; } 
.hero-section img { aspect-ratio: 1 / 1; }

.btn-hero { padding: 16px 35px; border-radius: 50px; font-weight: 800; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none !important; transition: all 0.3s ease !important; }
.btn-hero:hover { transform: translateY(-3px) !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; }
.btn-primary { background-color: #ffa500; color: #16426b; border: 2px solid #ffa500; }
.btn-secondary { border: 2px solid rgba(255,255,255,0.6); }

.registro-planes-wrapper { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0 40px; }
.registro-caja { flex: 1; min-width: 300px; border: 1px solid #ddd; border-radius: 8px; padding: 25px; background-color: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.registro-caja.recomendado { border: 2px solid #1f5d96; background-color: #f0fdf4; position: relative; }
.registro-etiqueta-top { position: absolute; top: -12px; right: 20px; background-color: #1f5d96; color: #fff; padding: 4px 12px; font-size: 0.75em; border-radius: 4px; font-weight: bold; text-transform: uppercase; }
.registro-caja h3 { margin-top: 0; font-size: 1.4em; padding-bottom: 15px; margin-bottom: 15px; }
.registro-caja.basico h3 { color: #666; border-bottom: 2px solid #eee; }
.registro-caja.recomendado h3 { color: #1f5d96; border-bottom: 2px solid #bceac9; }
.registro-desc { font-size: 0.95em; min-height: 40px; margin-bottom: 15px; }
.registro-lista { padding-left: 0; list-style: none; font-size: 0.95em; margin-bottom: 20px; flex-grow: 1; }
.registro-lista li { margin-bottom: 10px; display: flex; align-items: center; }
.icon-check { color: #28a745; margin-right: 10px; } .icon-cross { color: #999; margin-right: 10px; }
.btn-seleccionar-plan { display: block; padding: 12px; border-radius: 5px; text-decoration: none !important; font-weight: bold; text-align: center; transition: all 0.3s ease !important; }
.btn-seleccionar-plan:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important; }
.btn-plan-basico { background: #f0f0f0; color: #333; border: 1px solid #ddd; }
.btn-plan-pro { background: #1f5d96; color: #fff; }
.registro-formulario-wrapper { background-color: #f9f9f9; padding: 30px; border: 1px solid #ddd; border-radius: 8px; margin-top: 20px; }

.rv-footer { background-color: #1e293b !important; color: #e2e8f0 !important; padding: 60px 20px 30px !important; border-top: 5px solid #ffa500 !important; margin-top: 50px !important; position: relative !important; z-index: 10 !important; display: block !important; }
.footer-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; gap: 40px !important; max-width: 1200px !important; margin: 0 auto !important; }
.footer-col h4 { color: #ffa500 !important; font-size: 1.1em !important; font-weight: 800 !important; margin: 0 0 20px 0 !important; text-transform: uppercase !important; }
.footer-col ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer-col ul li { margin-bottom: 12px !important; display: block !important; }
.footer-col ul li a { color: #cbd5e1 !important; text-decoration: none !important; font-weight: 500 !important; transition: color 0.2s; }
.footer-col ul li a:hover { color: #ffa500 !important; }
.footer-bottom { border-top: 1px solid #334155 !important; margin-top: 50px !important; padding-top: 30px !important; text-align: center !important; font-size: 0.85em !important; color: #64748b !important; width: 100% !important; }
@media (max-width: 768px) { .footer-grid { text-align: center !important; grid-template-columns: 1fr !important; } }

.hero-section { background: linear-gradient(135deg, #1f5d96 0%, #16426b 100%); color: white; padding: 50px 20px 80px 20px; text-align: center; border-bottom: 5px solid #ffa500; border-radius: 0 0 30px 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0 auto; }
.hero-title { font-size: 2.8em; font-weight: 900; color: #fff; max-width: 900px; } .hero-highlight { color: #ffa500; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; width: 100%; }

.inc-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.inc-title { font-size: 2.5em; font-weight: 900; margin: 0 0 15px 0; color: white; line-height: 1.2; }
.incubadora-section { background-color: #0f172a; background-image: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%); padding: 60px 20px; margin: 20px 0; text-align: center; color: white; position: relative; overflow: hidden; width: 100%; }
.btn-incubadora { background: #ffa500; color: #16426b; border: none; padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1em; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; box-shadow: 0 5px 20px rgba(255, 165, 0, 0.4); text-decoration: none !important; }
.btn-incubadora:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6); }

/* =================================================================
   8. ARREGLO FICHAS (SURESTE) - ENJAULADO
   ================================================================= */
#ficha-container .ficha-wrapper { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important; color: #333 !important; max-width: 800px !important; margin: 0 auto !important; width: 100%; box-sizing: border-box !important; }
#ficha-container .ficha-header { text-align: center !important; background: #f8fafc !important; padding: 30px 20px !important; border-radius: 16px !important; border: 1px solid #e2e8f0 !important; margin-bottom: 30px !important; position: relative !important; overflow: hidden !important; display: block !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important; }
#ficha-container .ficha-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: #1f5d96; }
#ficha-container .ficha-logo { max-width: 160px !important; height: auto !important; margin-bottom: 15px !important; display: inline-block !important; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05)); }
#ficha-container .ficha-title { font-size: 2em !important; font-weight: 800 !important; color: #1e3a8a !important; margin: 0 0 10px 0 !important; line-height: 1.2 !important; }
#ficha-container .global-score-box { display: inline-flex !important; align-items: baseline !important; justify-content: center !important; gap: 5px !important; margin: 10px 0 !important; width: 100% !important; }
#ficha-container .global-score-num { font-size: 3.5em !important; font-weight: 900 !important; color: #1f5d96 !important; line-height: 1 !important; }
#ficha-container .global-score-max { font-size: 1.2em !important; color: #94a3b8 !important; font-weight: 400 !important; }
#ficha-container .ficha-stars { color: #ecc94b !important; font-size: 1.5em !important; letter-spacing: 2px; margin-bottom: 5px; display: flex; justify-content: center; gap: 2px;}
#ficha-container .badges-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
#ficha-container .ficha-count { background: #e2e8f0; color: #475569; padding: 4px 12px; border-radius: 20px; font-size: 0.85em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
#ficha-container .recommendation-badge { background-color: #dcfce7; color: #166534; padding: 4px 12px; border-radius: 20px; font-size: 0.85em; font-weight: 700; display: flex; align-items: center; gap: 6px; border: 1px solid #bbf7d0; }
#ficha-container .bars-section { margin-bottom: 40px; background: #fff; padding: 25px; border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
#ficha-container .bar-row { display: block !important; margin-bottom: 20px; }
#ficha-container .bar-label { display: block !important; width: 100% !important; font-weight: 600; color: #475569; font-size: 0.9em; margin-bottom: 8px !important; }
#ficha-container .bar-track { display: inline-block !important; width: calc(100% - 50px) !important; flex-grow: 1; height: 10px; background: #f1f5f9; border-radius: 5px; overflow: hidden; vertical-align: middle; position: relative; }
#ficha-container .bar-fill { height: 100%; background: #ffa500; border-radius: 5px; width: 0%; transition: width 1s ease; }
#ficha-container .bar-value { display: inline-block !important; width: 40px !important; text-align: right; font-weight: 700; color: #1f5d96; font-size: 1em; vertical-align: middle; }
#ficha-container .review-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); margin-bottom: 20px; position: relative; width: 100%; box-sizing: border-box; }
#ficha-container .review-card.best-card { border-color: #22c55e !important; background-color: #f0fdf4 !important; border-width: 2px; }
#ficha-container .review-card.worst-card { border-color: #ef4444 !important; background-color: #fef2f2 !important; border-width: 2px; }
#ficha-container .review-header-row { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; flex-wrap: nowrap; }
#ficha-container .review-avatar { width: 50px !important; height: 50px !important; min-width: 50px !important; flex-shrink: 0; border-radius: 50%; background: #e2e8f0; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 1.5em; color: #94a3b8; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
#ficha-container .review-avatar img { width: 100% !important; height: 100% !important; object-fit: cover; }
#ficha-container .review-alias { font-weight: 800; color: #1e293b; font-size: 1.1em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#ficha-container .verified-tick { background: #22c55e; color: white; padding: 2px 6px; border-radius: 4px; font-size: 0.7em; font-weight: 700; text-transform: uppercase; display: inline-block; margin-left: 5px; }
#ficha-container .review-title-h4 { margin: 10px 0; color: #1e293b; font-weight: 800; font-size: 1.15em; display: block; }
#ficha-container .review-score-bubble { background: #1f5d96; color: white; padding: 4px 8px; border-radius: 6px; font-weight: 700; font-size: 0.9em; flex-shrink: 0; white-space: nowrap; }
#ficha-container .box-verdict { background: #f0f9ff; border-left: 4px solid #0ea5e9; padding: 15px; border-radius: 0 8px 8px 0; margin-top: 20px; font-weight: 500; display: block !important; width: 100% !important; }
#ficha-container .box-label-blue { display: block; font-size: 0.9em; font-weight: 800; color: #1f5d96; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
#ficha-container .verdict-text { font-size: 1em; line-height: 1.6; color: #334155; }
#ficha-container .review-footer { border-top: 1px solid #e2e8f0; margin-top: 20px; padding-top: 15px; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px; }
#ficha-container .vote-buttons { display: flex !important; flex-direction: row !important; gap: 10px !important; }
#ficha-container .btn-vote { background: white; border: 1px solid #cbd5e1; padding: 8px 14px; border-radius: 6px; font-size: 0.85em; font-weight: 600; color: #64748b; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s; outline: none; }
#ficha-container .btn-vote:hover { background: #f1f5f9; border-color: #94a3b8; color: #1f5d96; transform: translateY(-1px); }
#ficha-container .btn-vote.active-up { color: #166534 !important; border-color: #22c55e !important; background: #dcfce7 !important; font-weight: 800 !important; }
#ficha-container .btn-vote.active-down { color: #b91c1c !important; border-color: #ef4444 !important; background: #fef2f2 !important; font-weight: 800 !important; }
#ficha-container .chips-container { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
#ficha-container .chip { padding: 5px 12px; border-radius: 20px; font-size: 0.85em; font-weight: 800; border: 1px solid; display: inline-flex; align-items: center; background: white; }
#ficha-container .chip.good { color: #065f46; border-color: #10b981; }
#ficha-container .chip.bad { color: #991b1b; border-color: #ef4444; }
#ficha-container .review-box { padding: 15px; border-radius: 8px; font-size: 0.95em; line-height: 1.6; color: #334155; margin-top: 5px; }
#ficha-container .box-pro { background: #f0fdf4; border-left: 4px solid #22c55e; }
#ficha-container .box-contra { background: #fef2f2; border-left: 4px solid #ef4444; }
#ficha-container .box-label { display: block; font-size: 0.75em; text-transform: uppercase; font-weight: 900; margin-bottom: 6px; letter-spacing: 0.5px; }
#ficha-container .text-pro { color: #15803d; } #ficha-container .text-contra { color: #b91c1c; }
#ficha-container .comments-section-title { color: #1f5d96; font-size: 1.5em; border-left: 5px solid #ffa500; padding-left: 15px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 40px 0 20px 0; }
#ficha-container .cta-box { text-align: center; margin-top: 50px; padding: 40px; background: #f8fafc; border-radius: 12px; border: 2px dashed #cbd5e1; }
#ficha-container .btn-vote-big { background: #1f5d96; color: white; padding: 15px 35px; border-radius: 50px; text-decoration: none !important; font-weight: 800; font-size: 1.1em; transition: transform 0.2s; display: inline-flex; align-items: center; gap: 10px; }
#ficha-container .btn-vote-big:hover { transform: translateY(-2px); background: #16426b; box-shadow: 0 4px 10px rgba(31, 93, 150, 0.3); }

/* =================================================================
   9. TÍTULOS (H1) Y COMENTARIOS UNIFICADOS
   ================================================================= */
.single-post h1.entry-title, 
.single-post h1.wp-block-post-title {
    color: #1f5d96 !important; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.5px !important;
    border-left: 6px solid #ffa500 !important; 
    padding-left: 15px !important;
    margin-bottom: 25px !important;
    position: relative !important;
    z-index: 10 !important;
}

@media (max-width: 1180px) {
    .single-post h1.entry-title, .single-post h1.wp-block-post-title {
        margin-top: 30px !important;  
        padding-top: 15px !important; 
    }
}

.single-post #comments h2, .single-post .comments-title, .single-post #reply-title, .single-post .wp-block-comments__title {
    color: #1f5d96 !important; font-family: 'Helvetica Neue', Arial, sans-serif !important; font-weight: 800 !important; text-transform: uppercase !important; font-size: 1.5em !important; border-left: 5px solid #ffa500 !important; padding-left: 15px !important; border-bottom: none !important; margin-top: 50px !important; margin-bottom: 30px !important; display: block !important; width: 100% !important;
}

#respond { background-color: #f7f7f7 !important; padding: 30px !important; border-radius: 5px !important; border: 1px solid #ddd !important; border-left: 5px solid #1f5d96 !important; }
.comment-form textarea#comment { width: 100% !important; background-color: #ffffff !important; border: 1px solid #ddd !important; border-radius: 4px !important; padding: 15px !important; font-family: sans-serif !important; font-size: 1em !important; }
input[type="submit"]#submit { background-color: #ffa500 !important; color: #ffffff !important; font-weight: bold !important; text-transform: uppercase !important; border: none !important; border-radius: 4px !important; padding: 12px 30px !important; cursor: pointer !important; transition: opacity 0.2s !important; }
input[type="submit"]#submit:hover { opacity: 0.9 !important; transform: none !important; }

.wp-block-comments-title, .comments-title, #comments h2, .wp-block-comments h2, hr.wp-block-separator, .wp-block-separator, #comments::before, .wp-block-comments, #comments, .comments-area, .wp-block-post-comments { 
    border-top: none !important; border: none !important; box-shadow: none !important;
}
.single-post hr, .single-post .wp-block-separator, .single-post .wp-block-separator.has-alpha-channel-opacity { 
    display: none !important; border: none !important; opacity: 0 !important; height: 0 !important; margin: 0 !important; 
}

/* =================================================================
   EFECTOS CLICK Y HOVER (NARANJA) - PC Y MÓVIL
   ================================================================= */
header.wp-block-template-part a, 
.wp-site-header a,
.wp-block-navigation__responsive-container-open,
.wp-block-site-title a {
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important; 
    transition: color 0.2s ease-in-out !important;
}

.wp-block-site-title a:hover,
.wp-block-site-title a:active {
    color: #ffa500 !important;
}

header.wp-block-template-part a:hover, 
header.wp-block-template-part a:active, 
.wp-site-header .wp-block-navigation a:hover, 
.wp-site-header .wp-block-navigation a:active,
.wp-block-navigation-item__content:hover,
.wp-block-navigation-item__content:active,
.wp-block-navigation__responsive-container.is-menu-open a:hover,
.wp-block-navigation__responsive-container.is-menu-open a:active {
    color: #ffa500 !important;
    background-color: transparent !important;
}

/* =================================================================
   10. COMENTARIOS: ESTILO CHAT DE VIGILANTES Y LIMPIEZA TOTAL
   ================================================================= */
.wp-block-comments-title,
.comments-title,
#comments h2,
.wp-block-comments h2,
#comments h3,
.comments-area h2 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    opacity: 0 !important;
}

.wp-block-comments,
#comments,
.comments-area,
.wp-block-post-comments {
    border-top: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 20px !important;
}

.single-post hr.wp-block-separator,
.single-post .wp-block-separator,
#comments hr,
.wp-block-comments hr,
.comments-area hr,
.wp-block-post-comments hr {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

ol.comment-list, 
ul.comment-list, 
.wp-block-comments .comment-list {
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important;
}

li.comment, 
div.comment,
.wp-block-comment {
    background-color: #f8fafc !important; 
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #1f5d96 !important; 
    border-radius: 12px !important; 
    padding: 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
    list-style: none !important; 
}

li.comment.bypostauthor,
.wp-block-comment.bypostauthor {
    background-color: #fff7ed !important; 
    border-color: #ffedd5 !important;
    border-left: 5px solid #ffa500 !important; 
    margin-left: 5% !important; 
}

.comment-meta, 
.comment-author,
header.wp-block-comment-template-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px dashed #cbd5e1 !important;
    gap: 15px !important; 
}

.comment-author .avatar,
.wp-block-comment-avatar img,
.wp-block-comment-avatar svg {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    border-radius: 50% !important; 
    border: 2px solid #1f5d96 !important; 
    background-color: #e2e8f0 !important; 
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 2px !important; 
}

.fn, 
.wp-block-comment-author-name,
.wp-block-comment-author-name a,
.comment-author b {
    font-weight: 800 !important;
    font-size: 1.15em !important;
    color: #1f5d96 !important; 
    text-decoration: none !important;
    margin: 0 !important;
}

.comment-metadata, 
.wp-block-comment-date {
    color: #64748b !important;
    font-size: 0.85em !important;
    margin: 0 !important;
}
.comment-metadata a, 
.wp-block-comment-date a { 
    color: #64748b !important; 
    text-decoration: none !important; 
}

.comment-content,
.wp-block-comment-content {
    color: #334155 !important;
    font-size: 1.05em !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.comment-content p,
.wp-block-comment-content p {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.comment-content p:last-child,
.wp-block-comment-content p:last-child {
    margin-bottom: 0 !important;
}

.reply a,
.comment-reply-link,
.wp-block-comment-reply-link {
    display: inline-flex !important;
    background-color: #e2e8f0 !important;
    color: #1f5d96 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-size: 0.85em !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    border: none !important;
}
.reply a:hover,
.comment-reply-link:hover,
.wp-block-comment-reply-link:hover {
    background-color: #1f5d96 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* =================================================================
   11. DISEÑO DE AVATARES (CÓDIGO EXACTO DE LA CAPTURA)
   ================================================================= */
li.comment .is-nowrap,
.wp-block-comment .is-nowrap {
    flex-wrap: wrap !important; 
}

div.wp-block-avatar {
    flex: 0 0 65px !important; 
    width: 65px !important;
    min-width: 65px !important;
    max-width: 65px !important;
    margin-right: 15px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

div.wp-block-avatar img.wp-block-avatar__image,
div.wp-block-avatar img.avatar {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px !important;
    min-height: 65px !important;
    max-width: 65px !important;
    max-height: 65px !important;
    border-radius: 50% !important;
    border: 2px solid #1f5d96 !important;
    background-color: #ffffff !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rv-anon-text {
    display: inline-block !important;
    margin-left: 8px !important;
    font-weight: 500 !important; 
    color: #64748b !important;
    font-size: 0.85em !important;
    font-style: italic !important;
}

@media (max-width: 768px) {
    div.wp-block-avatar,
    .wp-block-comment-avatar,
    .comment-author .avatar-container {
        flex: 0 0 55px !important;
        width: 55px !important;
        min-width: 55px !important;
        max-width: 55px !important;
    }

    div.wp-block-avatar img.wp-block-avatar__image,
    div.wp-block-avatar img.avatar,
    .wp-block-comment-avatar img,
    .comment-author img.avatar {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
    }

    .rv-anon-text {
        display: block !important;
        margin-left: 0 !important;
        margin-top: 4px !important;
    }
    
    header.wp-block-comment-template-header,
    .comment-meta {
        grid-template-columns: 55px 1fr !important; 
        gap: 12px !important;
    }
}

/* =================================================================
   12. CORRECCIÓN DEFINITIVA: TABLAS Y SCROLL (ANTI-FANTASMA)
   ================================================================= */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.rv-table-scroll,
.wp-block-table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important; 
    display: block !important;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #eee !important;
    margin-bottom: 25px !important;
    overscroll-behavior-x: contain !important; 
}

.rv-table-scroll table,
.wp-block-table table,
.tablepress {
    margin: 0 !important;
    border-collapse: collapse !important;
    width: auto !important; 
    min-width: 700px !important; 
}

@media (max-width: 768px) {
    .data-table th, .data-table td,
    .entry-content table th, .entry-content table td {
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important; 
    }
    
    .data-table td:first-child, 
    .data-table th:first-child {
        position: sticky !important;
        left: 0 !important;
        background: #fff !important;
        z-index: 10 !important;
        border-right: 2px solid #ddd !important;
        white-space: normal !important; 
    }
}

/* =================================================================
   13. SISTEMA LEGO: COMPONENTES UI AVANZADOS (BASE CORE)
   ================================================================= */
.rv-container { color: var(--rv-dark); line-height: 1.6; }
.rv-alert-box { background: #fff3cd; border-left: 5px solid #ffc107; padding: 20px; margin: 25px 0; border-radius: 8px; }
.rv-blue-box { background: #e3f2fd; border-left: 5px solid var(--rv-blue); padding: 20px; margin: 25px 0; border-radius: 8px; }
.rv-red-box { background: #ffebee; border-left: 5px solid #c62828; padding: 20px; margin: 25px 0; border-radius: 8px; }
.rv-success-box { background: #e8f5e9; border-left: 5px solid #2e7d32; padding: 20px; margin: 25px 0; border-radius: 8px; }
.rv-table { width: 100%; border-collapse: collapse; min-width: 600px; margin: 20px 0; }
.rv-table th, .rv-table td { border: 1px solid #ddd; padding: 12px; text-align: left; }
.rv-table th { background-color: var(--rv-blue); color: white; }

/* Botones Maestro Lego */
.btn-publish { background-color: var(--rv-orange); color: var(--rv-blue) !important; font-weight: 800; padding: 12px 30px; border-radius: 50px; text-decoration: none !important; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; border:none; cursor:pointer; }
.btn-publish:hover { transform: translateY(-2px); background-color: #ffb733; }
.btn-tool-page { padding: 16px 30px; border-radius: 50px; font-weight: 800; text-decoration: none !important; text-transform: uppercase; font-size: 0.95em; background: var(--rv-orange); color: var(--rv-blue-dark) !important; box-shadow: 0 5px 0 #cc8400; transition: 0.2s; display: inline-block; }
.btn-tool-page:hover { transform: scale(1.03); background: #ffb833; }
.btn-ia { background: #a855f7; color: white !important; box-shadow: 0 5px 0 #7e22ce; }
.btn-disabled { background: #f3f4f6; color: #9ca3af; box-shadow: none; cursor: not-allowed; }

/* Heros y Paneles */
.tools-hero { background: linear-gradient(135deg, var(--rv-blue) 0%, var(--rv-blue-dark) 100%); color: white; text-align: center; padding: 70px 20px; border-bottom: 6px solid var(--rv-orange); border-radius: 0 0 35px 35px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); margin-bottom: 50px; }
.tools-hero h1 { font-size: 2.5em; font-weight: 900; margin: 0 0 15px 0; text-transform: uppercase; letter-spacing: -1px; }
.tools-hero p { font-size: 1.2em; opacity: 0.95; max-width: 800px; margin: 0 auto; font-weight: 400; line-height: 1.4; }

.direct-offers-panel { background: #fff; border-radius: 12px; border-top: 5px solid var(--rv-orange); box-shadow: 0 15px 40px rgba(0,0,0,0.08); padding: 30px; margin-bottom: 50px; }
.section-header-direct { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }

.cta-publish-box { background-color: #fff; border: 2px dashed var(--rv-orange); border-radius: 12px; padding: 25px; text-align: center; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; gap: 15px; }

/* Grids y Tarjetas Base */
.tools-grid { max-width: 1240px; margin: 0 auto 60px; padding: 0 25px; display: grid; grid-template-columns: repeat(3, 1fr) !important; gap: 30px; }
.tool-card { background: #ffffff; border-radius: 24px; padding: 45px 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid rgba(31, 93, 150, 0.1); display: flex; flex-direction: column; transition: all 0.3s ease; min-height: 480px; position: relative; }
.tool-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.tool-icon { font-size: 4em; margin-bottom: 20px; display: block; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); }
.tool-card h2 { color: var(--rv-blue); font-size: 1.6em; margin: 0 0 15px 0; font-weight: 900; line-height: 1.2; }
.tool-card p { color: #4b5563; font-size: 1.05em; line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }

.premium-job-card { background: white; border: 1px solid #eee; border-left: 6px solid var(--rv-orange); padding: 25px; border-radius: 10px; margin-bottom: 20px; transition: all 0.3s ease; position: relative; cursor: pointer; }
.premium-job-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(31, 93, 150, 0.1); border-color: var(--rv-orange); }
.premium-badge { position: absolute; top: 0; right: 0; background: var(--rv-orange); color: var(--rv-blue); font-size: 0.7em; font-weight: 900; text-transform: uppercase; padding: 5px 12px; border-radius: 0 10px 0 10px; z-index: 10; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; width: 100%; min-height: 200px; }
.news-card-auto { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid #eee; }
.news-card-auto:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(31, 93, 150, 0.15); border-color: var(--rv-orange); }
.news-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.news-title { color: var(--rv-blue); margin: 0 0 10px 0; font-size: 1.4em; font-weight: 800; line-height: 1.2; }
.news-excerpt { color: #555; font-size: 0.95em; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.news-cta-job { background-color: #fdf2d0; color: #d97706; padding: 10px; border-radius: 6px; text-align: center; font-weight: 800; font-size: 0.9em; text-transform: uppercase; margin-top: auto; border: 1px solid #fcd34d; }

/* Badges */
.badge { position: absolute; top: 20px; right: 20px; padding: 6px 14px; border-radius: 50px; font-size: 0.75em; font-weight: 800; text-transform: uppercase; }
.badge-used { background: #e0f2fe; color: #0369a1; }
.badge-new { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.badge-ia { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-comunidad { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; } 
.badge-soon { background: #f3f4f6; color: #4b5563; }

/* SEO y FAQs */
.seo-content { max-width: 900px; margin: 80px auto; padding: 0 20px; }
.seo-content h2 { color: var(--rv-blue); font-size: 2em; font-weight: 900; margin-bottom: 25px; line-height: 1.2; }
.faq-item { background: white; padding: 30px; border-radius: 18px; margin-bottom: 20px; border: 1px solid #e5e7eb; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.faq-item h3 { margin-top: 0; color: var(--rv-blue-dark); font-size: 1.3em; margin-bottom: 10px; }
.faq-item p { color: #4b5563; margin-bottom: 0; font-size: 1.05em; }

/* TIMELINE FIX Y ACTUALIZACIÓN RV-SECTION-FULL */
.rv-section-full { width: 100%; padding: 60px 20px; background-color: #f8fafc; border-radius: 16px; margin: 40px 0; border: 1px solid #e2e8f0; }
.rv-timeline { margin: 30px auto; padding-left: 25px; border-left: 3px solid #cbd5e1; max-width: 800px; }

/* =================================================================
   14. INTERFACES IA (NOTEBOOKLM Y TRIBUNAL)
   ================================================================= */
.nlm-container { max-width: 750px; margin: 0 auto 50px; background: #fff; border: 1px solid #e0e0e0; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.nlm-header { padding: 20px 25px; border-bottom: 1px solid #f0f0f0; }
.nlm-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dadce0; border-radius: 8px; padding: 6px 12px; font-size: 13px; margin: 5px; }
.nlm-body { padding: 30px; }
.nlm-user-bubble { background: #f1f3f4; padding: 14px 24px; border-radius: 24px; float: right; max-width: 80%; margin-bottom: 20px; color: #1f1f1f; }
.nlm-ai-row { display: flex; gap: 15px; clear: both; }
.nlm-ai-avatar { width: 34px; height: 34px; background: linear-gradient(135deg, #4285f4, #9b72cb); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nlm-ai-text { font-size: 15px; line-height: 1.7; color: #1f1f1f; }
.nlm-citation { vertical-align: super; font-size: 10px; color: #1967d2; background: #e8f0fe; padding: 1px 4px; border-radius: 4px; font-weight: bold; }
.nlm-input-area { padding: 15px 25px; border-top: 1px solid #f0f0f0; background: #fff; }
.nlm-fake-input { background: #f1f3f4; height: 52px; border-radius: 26px; display: flex; align-items: center; padding-left: 25px; color: #757575; }

.ia-panel-tribunal { text-align: center; max-width: 850px; margin: 40px auto; padding: 50px 40px; background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.ia-node-badges { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.ia-node-badges span { background: #f1f5f9; color: var(--rv-blue); padding: 5px 12px; border-radius: 50px; font-size: 10px; font-weight: 800; border: 1px solid #e2e8f0; }
.ia-live-pulse { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 900; font-size: 11px; color: #ef4444; }
.ia-live-pulse::before { content: ''; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: ia-pulse 1.5s infinite; }
@keyframes ia-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

/* =================================================================
   15. MONITORIZACIÓN Y DATOS (TERMÓMETRO)
   ================================================================= */
.rv-header { background: linear-gradient(135deg, var(--rv-blue) 0%, #10385c 100%); color: white; padding: 25px 30px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; box-shadow: 0 10px 25px rgba(31, 93, 150, 0.2); flex-wrap: wrap; gap: 15px; }
.rv-report-box { background: white; padding: 25px; border-radius: 12px; border-top: 5px solid var(--rv-orange); box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
.rv-card { background: white; border-radius: 10px; border: 1px solid #eee; transition: 0.2s; min-height: 180px; display: flex; flex-direction: column; cursor: pointer; }
.rv-card:hover { transform: translateY(-4px); border-color: var(--rv-orange); }
.day-display { font-size: 2.5rem; font-weight: 800; color: var(--rv-blue); }
.bar-container { width: 100%; height: 8px; background: #f0f0f0; border-radius: 4px; margin: 10px 0; overflow: hidden; }
.bar-fill { height: 100%; transition: width 0.6s ease-out; }
.status-text { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px; }

/* =================================================================
   16. CONTENEDORES, SOCIAL Y TRÁMITES
   ================================================================= */
.tools-floating-banner { max-width: 1050px; margin: 40px auto; background: #fff; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-left: 8px solid var(--rv-orange); border-right: 1px solid #e2e8f0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.tfb-badge { background: var(--rv-orange); color: var(--rv-blue-dark); padding: 4px 10px; border-radius: 50px; font-weight: 900; font-size: 10px; }

.rv-social-share { margin: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rv-btn-whatsapp { background: #25D366; color: white !important; padding: 10px 18px; border-radius: 8px; font-weight: bold; text-decoration: none !important; }
.rv-btn-telegram { background: #0088cc; color: white !important; padding: 10px 18px; border-radius: 8px; font-weight: bold; text-decoration: none !important; }

/* Trámites */
.proc-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 30px 0; }
.proc-card { flex: 1 1 300px; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border-top: 6px solid #ccc; transition: 0.3s; }
.proc-cnp { border-top-color: #00457c; } .proc-gc { border-top-color: #006400; } .proc-itss { border-top-color: #dc2626; }
.btn-proc { display: block; width: 100%; padding: 12px; border-radius: 50px; font-weight: 800; text-decoration: none !important; margin-top: 15px; background: #f8fafc; color: #333; border: 1px solid #eee; }

/* =================================================================
   17. COMPONENTES FLOTANTES (COOKIES / AVISOS)
   ================================================================= */
#rv-cookie-bar { 
    position: fixed !important; 
    bottom: 0 !important; left: 0 !important; 
    width: 100% !important; 
    background: rgba(15, 23, 42, 0.98) !important; 
    color: white !important; 
    padding: 15px 20px !important; 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; gap: 20px !important; 
    z-index: 9999999 !important; 
    border-top: 2px solid var(--rv-orange) !important; 
    transform: translateY(100%); 
    transition: transform 0.5s ease-out !important; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5) !important; 
}
#rv-cookie-bar.show { transform: translateY(0) !important; }
.rv-cookie-text { font-size: 0.85em !important; color: #cbd5e1 !important; margin: 0 !important; max-width: 800px !important; line-height: 1.4 !important; }
.btn-cookie { background: var(--rv-orange) !important; color: var(--rv-blue-dark) !important; padding: 8px 20px !important; border-radius: 4px !important; font-weight: 800 !important; font-size: 0.8em !important; cursor: pointer !important; border: none !important; white-space: nowrap !important; }

/* =================================================================
   18. AJUSTES RESPONSIVE TOTAL
   ================================================================= */
@media (max-width: 1100px) { 
    .tools-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; } 
}

@media (max-width: 768px) {
    .tools-hero { padding: 50px 20px; margin-bottom: 30px; }
    .tools-hero h1 { font-size: 2em; }
    .tools-grid, .proc-grid { grid-template-columns: 1fr !important; }
    .tool-card { min-height: auto; padding: 40px 25px; }
    .seo-content { margin: 40px auto; padding: 0 15px; }
    .seo-content h2 { font-size: 1.6em; }
    .direct-offers-panel { padding: 20px; }
    .jobs-h1 { font-size: 2em; }
    .cta-publish-box { padding: 20px 15px; }
    .rv-header, .tools-floating-banner { flex-direction: column; text-align: center; }
    .day-display { font-size: 2rem; }
    .nlm-body { padding: 15px; }
}

/* =================================================================
   19. SISTEMA LEGO v17: NUEVAS PIEZAS GENÉRICAS Y AVANZADAS
   ================================================================= */

/* 1. ESTRUCTURAS GENÉRICAS */
.rv-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 30px 0; width: 100%; }
.rv-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin: 30px 0; width: 100%; }
.rv-section-full { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 60px 20px; background-color: #f8fafc; }
.rv-section-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

/* 2. CAJAS CORPORATIVAS Y GENÉRICAS */
.rv-box-white { background: #ffffff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; margin-bottom: 20px; }
.rv-box-corporate { background: linear-gradient(135deg, #1f5d96 0%, #16426b 100%); color: #ffffff; border-radius: 12px; padding: 40px 30px; box-shadow: 0 10px 25px rgba(31, 93, 150, 0.2); margin-bottom: 20px; }
.rv-box-corporate h2, .rv-box-corporate h3 { color: #ffffff !important; border-left-color: #ffa500; }
.rv-box-orange { background: #ffffff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-left: 6px solid #ffa500; margin-bottom: 20px; }

/* 3. ESTADÍSTICAS GIGANTES */
.rv-stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin: 40px 0; }
.rv-stat-item { text-align: center; background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #e2e8f0; flex: 1; min-width: 150px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.rv-stat-number { display: block; font-size: 2.5em; font-weight: 900; color: #1f5d96; line-height: 1.2; }
.rv-stat-label { font-size: 0.85em; font-weight: 800; color: #ffa500; text-transform: uppercase; }

/* 4. TARJETA DE RESEÑA (REVIEW) */
.rv-review-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px; display: flex; flex-direction: column;}
.rv-review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.rv-review-avatar { font-size: 2.5em; line-height: 1; }
.rv-review-author { display: block; font-weight: 800; color: #1f5d96; font-size: 1.1em; }
.rv-review-stars { color: #ffa500; letter-spacing: 2px; display: block; margin-top: 5px;}
.rv-review-pros { background: #f0fdf4; border-left: 4px solid #22c55e; padding: 12px; margin-bottom: 10px; border-radius: 0 8px 8px 0; color: #166534; font-size: 0.95em; }
.rv-review-cons { background: #fef2f2; border-left: 4px solid #ef4444; padding: 12px; border-radius: 0 8px 8px 0; color: #991b1b; font-size: 0.95em; }

/* 5. LÍNEA DE TIEMPO (TIMELINE) */
.rv-timeline { margin: 30px 0 30px 20px; padding-left: 25px; border-left: 3px solid #cbd5e1; }
.rv-timeline-step { position: relative; margin-bottom: 30px; }
.rv-timeline-dot { position: absolute; left: -43px; top: 0; width: 32px; height: 32px; background: #1f5d96; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; border: 4px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }
.rv-timeline-content h4 { color: #1f5d96; margin: 0 0 8px 0; font-weight: 800; }
.rv-timeline-content p { margin: 0; color: #475569; font-size: 0.95em; }

/* 6. TABLA DE PRECIOS / PLANES */
.rv-pricing-table { display: flex; gap: 20px; margin: 40px 0; flex-wrap: wrap; justify-content: center; }
.rv-pricing-col { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px; flex: 1; min-width: 250px; text-align: center; position: relative;}
.rv-pricing-highlight { border: 2px solid #1f5d96; box-shadow: 0 10px 25px rgba(31,93,150,0.1); transform: scale(1.03); z-index: 2;}
.rv-pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #ffa500; color: #1f5d96; font-size: 0.75em; font-weight: 900; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.rv-price { font-size: 2.5em; font-weight: 900; color: #1f5d96; margin: 15px 0; line-height: 1; }
.rv-pricing-col ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.rv-pricing-col ul li { margin-bottom: 10px; font-size: 0.95em; color: #475569; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; }
.rv-btn-pricing { background: #1f5d96; color: #fff; padding: 12px 20px; border-radius: 50px; font-weight: bold; text-decoration: none; display: inline-block; margin-top: 15px; width: 100%; border: none; cursor: pointer; transition: 0.2s; }
.rv-btn-pricing:hover { background: #16426b; }
.rv-pricing-highlight .rv-btn-pricing { background: #ffa500; color: #1f5d96; }
.rv-pricing-highlight .rv-btn-pricing:hover { background: #ffb833; }

/* 7. CAJA DE AUTOR / EXPERTO */
.rv-author-box { display: flex; align-items: center; gap: 20px; background: #f8fafc; padding: 25px; border-radius: 12px; border: 1px solid #e2e8f0; margin: 0; flex-wrap: wrap; display: flex; flex-direction: row;}
.rv-author-img { width: 80px !important; height: 80px !important; border-radius: 50%; object-fit: cover; border: 3px solid #ffa500; }
.rv-author-info { flex: 1; min-width: 200px; }
.rv-author-info h4 { margin: 0 0 5px 0; color: #1f5d96; font-weight: 800; font-size: 1.2em; }
.rv-author-role { font-size: 0.85em; font-weight: bold; color: #ffa500; text-transform: uppercase; display: block; margin-bottom: 10px; }
.rv-author-info p { margin: 0; color: #475569; font-size: 0.95em; }

/* 8. BANNER Y CABECERAS EXTRA */
.rv-hero-generic { background-color: #f1f5f9; padding: 60px 20px; text-align: center; border-radius: 16px; margin-bottom: 40px; }
.rv-hero-generic h1 { color: #1f5d96; font-size: 2.5em; font-weight: 900; margin: 0 0 15px 0; border: none; padding: 0; text-transform: uppercase; }
.rv-hero-generic p { color: #475569; font-size: 1.2em; max-width: 800px; margin: 0 auto; }

.rv-cta-banner { background: #1f5d96; border-left: 8px solid #ffa500; padding: 30px 40px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 40px 0; }
.rv-cta-text { flex: 1 1 250px; }
.rv-cta-text h3 { color: #ffffff !important; margin: 0 0 10px 0; font-size: 1.5em; font-weight: 800; border: none; padding: 0; }
.rv-cta-text p { color: #e2e8f0; margin: 0; font-size: 1.1em; }
.rv-cta-button { background: #ffa500; color: #1f5d96 !important; font-weight: 900; padding: 15px 35px; border-radius: 50px; text-decoration: none !important; text-transform: uppercase; display: inline-block; transition: 0.2s; white-space: normal; text-align: center; flex: 0 0 auto; }
.rv-cta-button:hover { transform: scale(1.05); background: #ffb833; }

/* 9. RESPONSIVE NUEVAS PIEZAS */
@media (max-width: 768px) {
    .rv-cta-banner { flex-direction: column; text-align: center; padding: 25px; }
    .rv-cta-button { width: 100%; }
    .rv-pricing-highlight { transform: scale(1); }
    .rv-author-box { flex-direction: column; text-align: center; }
}

/* =================================================================
   20. ESTILOS ARTÍCULOS CIBERSEGURIDAD (N8N / RATINGVIGILANCIA)
   Integración con flujo automatizado - Dark Mode + Botones Aura
   ================================================================= */

/* 20.1 Forzar texto claro en la web (Dark Mode para artículos inyectados por n8n) */
.rv-dark-article,
.rv-dark-article p, 
.rv-dark-article li, 
.rv-dark-article span {
    color: #e0e0e0 !important;
}

/* 20.2 Títulos dentro de artículos dark */
.rv-dark-article h2,
.rv-dark-article h3,
.rv-dark-article h4 {
    color: #ffffff !important;
    border-left: 4px solid #ffa500 !important;
    padding-left: 15px !important;
}

/* 20.3 Enlaces dentro de artículos dark */
.rv-dark-article a {
    color: #ffa500 !important;
    text-decoration: underline !important;
}
.rv-dark-article a:hover {
    color: #ffffff !important;
}

/* 20.4 Código y preformateado (estilo terminal hacker) */
.rv-dark-article code,
.rv-dark-article pre {
    background: #1a1a1a !important;
    color: #00ff88 !important;
    border: 1px solid #333 !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-family: 'Source Code Pro', monospace !important;
}
.rv-dark-article pre {
    padding: 20px !important;
    overflow-x: auto !important;
    line-height: 1.5 !important;
}

/* 20.5 Citas destacadas */
.rv-dark-article blockquote {
    border-left: 4px solid #ffa500 !important;
    background: rgba(255, 165, 0, 0.05) !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    color: #cccccc !important;
    font-style: italic !important;
}

/* 20.6 Listas */
.rv-dark-article ul,
.rv-dark-article ol {
    color: #e0e0e0 !important;
    padding-left: 25px !important;
}
.rv-dark-article ul li::marker {
    color: #ffa500 !important;
}

/* 20.7 Tablas dentro de artículos dark (scroll horizontal seguro) */
.rv-dark-article table {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}
.rv-dark-article table th {
    background: #1f5d96 !important;
    color: #ffffff !important;
    padding: 12px !important;
    border-bottom: 2px solid #ffa500 !important;
}
.rv-dark-article table td {
    padding: 10px 12px !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
}
.rv-dark-article table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* 20.8 Texto oscuro SOLO en el editor de WordPress para poder trabajar */
.editor-styles-wrapper .rv-dark-article p, 
.editor-styles-wrapper .rv-dark-article li,
body#tinymce .rv-dark-article p, 
body#tinymce .rv-dark-article li,
.wp-admin .rv-dark-article p,
.wp-admin .rv-dark-article li {
    color: #333333 !important;
}

/* 20.9 Efecto Hover para los botones de ciberseguridad integrados con Aura */
.btn-rv-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.btn-rv-hover:hover {
    filter: brightness(1.15) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.25) !important; /* Brillo cyan adaptado al tema */
}

/* 20.10 H1 ESTILO TERMINAL HACKER AUTOMÁTICO */
body.single-post .rv-dark-article h1,
body.single-post .rv-dark-article .entry-title,
body.single-post .rv-dark-article .wp-block-post-title {
    font-size: 2.4em !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
    border: none !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
    position: relative !important;
    display: inline-block !important;
    font-family: 'Source Code Pro', 'Segoe UI', monospace !important;
    background: none !important;
}

body.single-post .rv-dark-article h1::before,
body.single-post .rv-dark-article .entry-title::before,
body.single-post .rv-dark-article .wp-block-post-title::before {
    content: '> ' !important;
    color: #ffa500 !important;
    font-family: 'Source Code Pro', monospace !important;
    font-weight: 400 !important;
    animation: rvBlink 0.8s step-end infinite !important;
    display: inline !important;
}

/* 20.11 Contenedor principal con scanlines y rejilla hacker */
body.single-post .rv-dark-article {
    background-color: #111111 !important;
    color: #e0e0e0 !important;
    padding: 40px 30px !important;
    border-radius: 0 0 30px 30px !important;
    border-bottom: 5px solid !important;
    border-image: linear-gradient(90deg, #ffa500, #ff5500, #ffa500) 1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: rvBorderPulse 2s infinite alternate !important;
    margin-bottom: 40px !important;
}

body.single-post .rv-dark-article::before {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100% !important;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(31, 93, 150, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(31, 93, 150, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 93, 150, 0.03) 1px, transparent 1px) !important;
    background-size: 100% 100%, 40px 40px, 40px 40px !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

body.single-post .rv-dark-article::after {
    content: '' !important;
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100% !important;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.06) 2px,
        rgba(255, 255, 255, 0.06) 4px
    ) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

body.single-post .rv-dark-article > * {
    position: relative !important;
    z-index: 2 !important;
}

/* 20.12 COMENTARIOS OSCUROS para artículos de ciberseguridad */
body.single-post .rv-dark-article ~ #comments,
body.single-post .rv-dark-article ~ .comments-area,
body.single-post .rv-dark-article ~ .wp-block-comments,
body.single-post .rv-dark-article ~ .wp-block-post-comments {
    background-color: #111111 !important;
    padding: 30px !important;
    border-radius: 12px !important;
    border: 1px solid #333 !important;
    margin-top: 30px !important;
    color: #e0e0e0 !important;
}

body.single-post .rv-dark-article ~ #comments h2,
body.single-post .rv-dark-article ~ #comments h3,
body.single-post .rv-dark-article ~ #comments .comments-title,
body.single-post .rv-dark-article ~ #comments #reply-title,
body.single-post .rv-dark-article ~ .comments-area h2,
body.single-post .rv-dark-article ~ .comments-area h3 {
    color: #ffffff !important;
    border-left: 4px solid #ffa500 !important;
    padding-left: 15px !important;
    font-family: 'Source Code Pro', monospace !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    font-size: 1.3em !important;
    opacity: 1 !important;
    margin: 0 0 25px 0 !important;
}

body.single-post .rv-dark-article ~ #comments #respond,
body.single-post .rv-dark-article ~ .comments-area #respond {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-left: 4px solid #ffa500 !important;
    padding: 25px !important;
    border-radius: 8px !important;
}

body.single-post .rv-dark-article ~ #comments .comment-form textarea#comment,
body.single-post .rv-dark-article ~ .comments-area .comment-form textarea#comment {
    background-color: #0a0a0a !important;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
    border-radius: 4px !important;
}

body.single-post .rv-dark-article ~ #comments input[type="submit"]#submit,
body.single-post .rv-dark-article ~ .comments-area input[type="submit"]#submit {
    background-color: #ffa500 !important;
    color: #16426b !important;
    font-weight: 800 !important;
    border: none !important;
    font-family: 'Source Code Pro', monospace !important;
}

body.single-post .rv-dark-article ~ #comments li.comment,
body.single-post .rv-dark-article ~ .comments-area li.comment {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-left: 4px solid #ffa500 !important;
    color: #e0e0e0 !important;
}

body.single-post .rv-dark-article ~ #comments .comment-author .fn,
body.single-post .rv-dark-article ~ .comments-area .comment-author .fn {
    color: #ffa500 !important;
}

body.single-post .rv-dark-article ~ #comments .comment-metadata,
body.single-post .rv-dark-article ~ .comments-area .comment-metadata {
    color: #888 !important;
}

body.single-post .rv-dark-article ~ #comments .reply a,
body.single-post .rv-dark-article ~ .comments-area .reply a {
    background-color: #333 !important;
    color: #ffa500 !important;
}

/* 20.13 ARTÍCULOS RELACIONADOS (navegación entre posts) */
body.single-post .rv-dark-article ~ .wp-block-post-navigation-link,
body.single-post .rv-dark-article ~ nav.post-navigation,
body.single-post .rv-dark-article ~ .post-navigation,
body.single-post .rv-dark-article ~ .navigation.post-navigation {
    display: none !important;
}

/* 20.14 Keyframes */
@keyframes rvBlink {
    50% { opacity: 0; }
}

@keyframes rvBorderPulse {
    from { border-image: linear-gradient(90deg, #ffa500, #ff5500, #ffa500) 1; }
    to   { border-image: linear-gradient(90deg, #ff5500, #ffa500, #ff5500) 1; }
}

/* 20.15 Responsive */
@media (max-width: 768px) {
    body.single-post .rv-dark-article {
        padding: 25px 15px !important;
        border-radius: 0 0 20px 20px !important;
    }
    body.single-post .rv-dark-article h1 {
        font-size: 1.7em !important;
    }
    .btn-rv-hover {
        width: 100% !important;
        text-align: center !important;
    }
}

/* =================================================================
   21. CIBERSEGURIDAD: OCULTAR COMENTARIOS Y NAVEGACIÓN
   ================================================================= */

/* Ocultar navegación entre entradas (anterior/siguiente) */
body.zona-ciber.single-post .post-navigation,
body.zona-ciber.single-post .navigation.post-navigation,
body.zona-ciber.single-post .wp-block-post-navigation-link,
body.zona-ciber.single-post .wp-block-query-pagination,
body.zona-ciber.single-post nav.navigation {
    display: none !important;
}

/* Ocultar toda la sección de comentarios (formulario, lista, títulos) */
body.zona-ciber.single-post #comments,
body.zona-ciber.single-post .comments-area,
body.zona-ciber.single-post .wp-block-comments,
body.zona-ciber.single-post .wp-block-post-comments,
body.zona-ciber.single-post #reply-title,
body.zona-ciber.single-post .comment-respond,
body.zona-ciber.single-post #respond,
body.zona-ciber.single-post ol.comment-list,
body.zona-ciber.single-post ul.comment-list {
    display: none !important;
}

/* Ocultar bloques de artículos relacionados (plugins comunes) */
body.zona-ciber.single-post .yarpp-related,
body.zona-ciber.single-post .related-posts,
body.zona-ciber.single-post .jp-relatedposts,
body.zona-ciber.single-post .crp_related,
body.zona-ciber.single-post .wpsp-related-posts,
body.zona-ciber.single-post .wp-block-query,
body.zona-ciber.single-post .wp-block-latest-posts,
body.zona-ciber.single-post .widget_recent_entries,
body.zona-ciber.single-post .rpwe-block,
body.zona-ciber.single-post .post-related,
body.zona-ciber.single-post .entry-related,
body.zona-ciber.single-post .related-articles,
body.zona-ciber.single-post .related-posts-wrapper,
body.zona-ciber.single-post [class*="related-posts"],
body.zona-ciber.single-post [class*="related-articles"],
body.zona-ciber.single-post [class*="yarpp"],
body.zona-ciber.single-post [class*="crp_related"] {
    display: none !important;
}

/* =================================================================
   AISLAMIENTO ZONA CIBERSEGURIDAD (TEMA HACKER)
   ================================================================= */

/* 1. Ocultar la cabecera original azul solo en esta zona */
body.zona-ciber header.wp-site-header,
body.zona-ciber header.wp-block-template-part:not(footer) {
    display: none !important;
}

/* 2. Fondo general de las páginas de noticias/herramientas de esta zona */
body.zona-ciber {
    background-color: #111111 !important;
    color: #eeeeee !important;
    padding-top: 80px !important;
}

/* 3. Diseño de la NUEVA CABECERA EXCLUSIVA */
.ciber-header-custom {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: #050505;
    border-bottom: 3px solid #ffa500;
    z-index: 999999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    font-family: 'Source Code Pro', monospace;
}

.ciber-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ciber-logo {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 1px;
}

.ciber-logo span {
    color: #ffa500;
}

.ciber-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ciber-nav a {
    color: #aaaaaa;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
}

.ciber-nav a:hover {
    color: #ffffff;
}

.ciber-btn-exit {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500 !important;
    border: 1px solid #ffa500;
    padding: 5px 12px;
    border-radius: 4px;
}

.ciber-btn-exit:hover {
    background: #ffa500;
    color: #000 !important;
}

/* 4. Diseño del NUEVO FOOTER EXCLUSIVO */
.ciber-footer-custom {
    background-color: #050505;
    border-top: 3px dashed #333;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Source Code Pro', monospace;
    color: #888;
    margin-top: 60px;
}

.ciber-footer-logo {
    color: #ffa500;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.ciber-footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.ciber-footer-links a {
    color: #aaaaaa;
    text-decoration: underline;
}

.ciber-footer-links a:hover {
    color: #ffffff;
}

/* 5. Estilizar los textos de los artículos (noticias) en esta zona */
body.zona-ciber .entry-content,
body.zona-ciber .wp-site-blocks {
    background-color: transparent !important;
    color: #dddddd !important;
}

body.zona-ciber h1, body.zona-ciber h2, body.zona-ciber h3 {
    color: #ffffff !important;
    border-left-color: #ffa500 !important;
}

/* =================================================================
   MÓVILES: AJUSTES CIBERSEGURIDAD (HEADER Y FOOTER)
   ================================================================= */
@media (max-width: 768px) {
    .ciber-header-inner {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    
    .ciber-logo {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .ciber-nav {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 15px;
        padding-top: 12px;
        border-top: 1px dashed #333333;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .ciber-nav::-webkit-scrollbar {
        display: none;
    }

    .ciber-nav a:not(.ciber-btn-exit) {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .ciber-btn-exit {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .ciber-footer-custom {
        padding: 35px 15px;
        margin-top: 30px;
    }
    
    .ciber-footer-logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .ciber-footer-custom p {
        font-size: 0.85rem;
        padding: 0 10px;
    }
    
    .ciber-footer-links {
        flex-direction: column;
        gap: 15px;
        margin: 25px 0;
    }
}