/* CD-CSS-FINAL - CLICDINAMICO.COM */
/* ============================================
   DISEÑO PROFESIONAL FINTECH B2B 
   GeneratePress + Archivo Físico CSS
   ============================================ */

/* --- 1. BASE & TIPOGRAFÍA --- */
body {
    font-size: 17px;
    line-height: 1.75;
    color: #1E293B;
    background: #F4F6F9;
}
::selection { background: #0A5EB0; color: #fff; }
html, body { overflow-x: hidden; }

/* --- 2. HEADER STICKY OSCURO (LOGO PREMIUM FINTECH) --- */
.site-header {
    position: sticky; top: 0; z-index: 999;
    background: #0B1220;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
body.admin-bar .site-header { top: 32px; }
.site-header::after {
    content: ""; display: block; height: 3px;
    background: linear-gradient(90deg, #0A5EB0, #00A884);
}

.main-title { 
    font-size: 26px; 
    font-weight: 700; 
    letter-spacing: -0.5px;
}
.main-title a { 
    color: #FFFFFF; /* Fallback blanco puro */
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ICONO BLANCO PURO CON HALO AZUL */
.main-title a::before {
    content: "";
    display: inline-block;
    width: 26px; height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M13.5 5a1.5 1.5 0 0 1 3 0v3.74c1.21-.81 2-2.18 2-3.74A5.5 5.5 0 0 0 13 0a5.5 5.5 0 0 0-5.5 5.5c0 1.56.79 2.93 2 3.74V5a1.5 1.5 0 0 1 3 0zM11 10.5v-5a1.5 1.5 0 0 0-3 0v5.74l-3.44-.72a1.5 1.5 0 0 0-1.45.39L1.5 12.2a1.5 1.5 0 0 0-.19 1.93l4.36 5.54c.28.36.71.57 1.17.57h7.66a1.5 1.5 0 0 0 1.47-1.25l.84-5.04a1.5 1.5 0 0 0-.87-1.6l-4.54-2.26a1.5 1.5 0 0 0-.64-.14H13v-1.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 8px rgba(77,163,255,.5));
}

/* TEXTO CON DEGRADADO PLATA/DIAMANTE (Aplica al SPAN generado por PHP) */
.main-title a span {
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 40%, #BAE6FD 60%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255,255,255,.1);
}

.main-title a:hover { transform: scale(1.02); }
.main-title a:hover::before {
    filter: drop-shadow(0 0 12px rgba(77,163,255,.8)) brightness(1.2);
}
.site-description { font-size: 13px; color: #94A3B8; }

/* --- 3. NAVEGACIÓN LIMPIA --- */
.main-navigation { background: transparent; }
.main-navigation .main-nav ul li a { font-weight: 600; font-size: 14px; color: #CBD5E1; }
.main-navigation .main-nav ul li a:hover { color: #4DA3FF; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #4DA3FF; box-shadow: inset 0 -2px 0 #4DA3FF;
}
.main-navigation ul ul { background: #0F172A; border: 1px solid rgba(255,255,255,.08); }
.main-navigation ul ul li a { color: #CBD5E1; }
.main-navigation ul ul li a:hover { color: #4DA3FF; }
button.menu-toggle, .main-navigation .menu-toggle { color: #FFFFFF; background: transparent; }
button.menu-toggle:hover, button.menu-toggle:focus { color: #4DA3FF; }
.navigation-search input[type="search"] { background: #0F172A; color: #FFFFFF; }

/* --- 4. TARJETAS DE ARTÍCULO --- */
.inside-article {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    transition: box-shadow .25s ease, transform .25s ease;
}
body:not(.single) .inside-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15,23,42,.10);
}
.entry-title { font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.entry-title a { color: #0F172A; text-decoration: none; }
.entry-title a:hover { color: #0A5EB0; }
.entry-meta { font-size: 13px; color: #64748B; margin-bottom: 18px; }
.entry-meta a { color: #64748B; }
.entry-meta a:hover { color: #0A5EB0; }

/* --- 5. BADGES DE CATEGORÍA --- */
.cat-links { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-links .gp-icon, .cat-links svg { display: none; }
.cat-links a {
    background: #EAF2FC; color: #0A5EB0; padding: 4px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s;
}
.cat-links a:hover { background: #0A5EB0; color: #fff; }
body:not(.single) .comments-link { display: none; }

/* --- 6. BOTÓN LEER MÁS --- */
a.read-more, a.more-link, .read-more a {
    display: inline-block; margin-top: 14px; background: #0A5EB0; color: #fff !important;
    padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 700;
    letter-spacing: .02em; text-decoration: none !important; transition: background .2s, transform .2s;
}
a.read-more:hover, a.more-link:hover, .read-more a:hover {
    background: #084A8C; transform: translateY(-1px); color: #fff !important;
}

/* --- 7. CONTENIDO INTERNO --- */
.entry-content h2 { margin-top: 2.2em; padding-left: 14px; border-left: 4px solid #0A5EB0; color: #0F172A; letter-spacing: -0.01em; }
.entry-content h3 { margin-top: 1.8em; color: #0F172A; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 26px; }
.entry-content li { margin-bottom: 8px; }
.entry-content ul li::marker { color: #0A5EB0; }
.entry-content ol li::marker { color: #0A5EB0; font-weight: 700; }
.entry-content a { color: #0A5EB0; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #084A8C; }

/* --- 8. DISCLAIMER AVISO --- */
.single .entry-content > p:first-child {
    background: #F0F7FF; border: 1px solid #CFE3F8; border-left: 4px solid #0A5EB0;
    border-radius: 8px; padding: 16px 20px; font-size: 14px; color: #334155;
}

/* --- 9. CÓDIGO OSCURO --- */
.entry-content pre.wp-block-code, .entry-content pre {
    background: #0F172A; color: #E2E8F0; border: 1px solid #1E293B; border-radius: 10px;
    padding: 20px 24px; overflow-x: auto; font-size: 14px; line-height: 1.65;
}
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.entry-content :not(pre) > code {
    background: #EEF2F7; color: #0A5EB0; padding: 2px 7px; border-radius: 5px; font-size: .88em;
}

/* --- 10. TABLAS PREMIUM --- */
.entry-content .wp-block-table { border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(15,23,42,.10); }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.entry-content table th {
    background: #0F172A; color: #fff; text-transform: uppercase; font-size: 12px;
    letter-spacing: .06em; padding: 12px 16px; text-align: left;
}
.entry-content table td { padding: 12px 16px; border-bottom: 1px solid #E2E8F0; }
.entry-content table tbody tr:nth-child(even) { background: #F8FAFC; }
.entry-content table tbody tr:hover { background: #EEF4FB; }

/* --- 11. CITAS Y SEPARADORES --- */
.entry-content blockquote, .entry-content .wp-block-quote {
    border-left: 4px solid #0A5EB0; background: #F8FAFC; padding: 16px 24px;
    border-radius: 0 8px 8px 0; color: #334155;
}
.entry-content hr.wp-block-separator { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #CBD5E1, transparent); }

/* --- 12. SIDEBAR --- */
.sidebar .widget {
    background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px;
    margin-bottom: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
.widget-title {
    font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: #0F172A; border-bottom: 2px solid #0A5EB0; padding-bottom: 10px; margin-bottom: 16px;
}
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget ul li { padding: 9px 0; border-bottom: 1px dashed #E2E8F0; }
.sidebar .widget ul li:last-child { border-bottom: 0; }
.sidebar .widget ul li a { color: #334155; text-decoration: none; font-size: 14px; transition: color .2s, padding-left .2s; }
.sidebar .widget ul li a:hover { color: #0A5EB0; padding-left: 5px; }
.wp-block-search__button, .search-form .search-submit { background: #0F172A; border-radius: 8px; }
.wp-block-search__input, .search-form .search-field { border-radius: 8px; border: 1px solid #E2E8F0; }

/* --- 13. FOOTER BASE --- */
.footer-widgets { background: #0B1220; color: #94A3B8; }
.footer-widgets .widget-title { color: #fff; }
.footer-widgets a { color: #CBD5E1; }
.footer-widgets a:hover { color: #fff; }
.site-info { background: #0B1220; color: #94A3B8; }
.site-info a { color: #E2E8F0; }
.site-info a:hover { color: #fff; }

/* ============ HERO PORTADA (DESKTOP/TABLET) ============ */
.home .entry-header { display: none !important; }
.home .sidebar { display: none; }
.home .content-area { width: 100%; }
.home .site-content .inside-article {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important; border-radius: 0 !important;
}

.cd-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 520px at 85% -10%, rgba(10,94,176,.38), transparent 60%),
        radial-gradient(900px 460px at 8% 112%, rgba(0,168,132,.16), transparent 60%),
        linear-gradient(180deg, #0B1220 0%, #0F172A 100%);
    padding: 80px 24px 90px;
}
.cd-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}

/* Inner Hero */
.cd-hero-inner {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.cd-hero-inner > *:first-child { margin-top: 0 !important; }
.cd-hero-inner > .wp-block-buttons,
.cd-hero-inner > .wp-block-columns { max-width: 100%; width: 100%; }

.cd-hero-eyebrow {
    color: #7FB4E8; text-transform: uppercase; letter-spacing: .22em;
    font-size: 12px; font-weight: 700; margin-top: 0; margin-bottom: 14px;
}
.cd-hero-title {
    color: #fff; font-size: clamp(34px, 5vw, 54px);
    font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
}
.cd-gradient-text {
    background: linear-gradient(90deg, #4DA3FF, #00C896);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cd-hero-sub { color: #B7C3D5; font-size: 18px; line-height: 1.7; max-width: 760px; margin: 20px auto 36px; }

/* Botones Hero Pills */
.cd-hero-buttons .wp-block-button__link,
.cd-hero-buttons .wp-block-button__link:link,
.cd-hero-buttons .wp-block-button__link:visited,
.cd-hero-buttons .wp-block-button__link:focus,
.cd-hero-buttons .wp-block-button__link:active {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #CBD5E1 !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    transition: all .2s ease;
}
.cd-hero-buttons .wp-block-button__link:hover,
.cd-hero-buttons .wp-block-button__link:focus:hover,
.cd-hero-buttons .wp-block-button__link:active:hover {
    color: #FFFFFF !important;
    border-color: #4DA3FF !important;
    background: rgba(77,163,255,.12) !important;
    transform: translateY(-1px) !important;
}
.cd-hero-buttons .wp-block-button__link:focus-visible {
    outline: 2px solid #4DA3FF !important;
    outline-offset: 2px !important;
}

.cd-hero-strip {
    margin-top: 64px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 16px; padding: 30px 34px;
}
.cd-strip-label { color: #7FB4E8; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.cd-strip-value { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.cd-strip-note { color: #00C896; font-size: 13px; font-weight: 600; margin-bottom: 0; }

/* Últimas Publicaciones Home */
.cd-latest-wrap { padding: 70px 24px 30px; }
.cd-section-title { font-size: 30px; font-weight: 800; color: #0F172A; letter-spacing: -.01em; }
.cd-section-title::after {
    content: ""; display: block; width: 56px; height: 4px;
    background: linear-gradient(90deg, #0A5EB0, #00A884); margin: 12px auto 0; border-radius: 2px;
}
.cd-latest.wp-block-latest-posts { gap: 24px; margin-top: 34px; }
.cd-latest li {
    background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 24px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05); transition: transform .2s, box-shadow .2s; list-style: none;
}
.cd-latest li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.10); }
.cd-latest li a { color: #0F172A; font-weight: 700; font-size: 16px; text-decoration: none; }
.cd-latest li a:hover { color: #0A5EB0; }
.cd-latest .wp-block-latest-posts__post-date { color: #64748B; font-size: 12px; margin-top: 10px; display: block; }
.cd-latest .wp-block-latest-posts__post-excerpt { color: #475569; font-size: 14px; line-height: 1.65; }

/* Reset Espacio Header-Hero */
body.home #content,
body.home .site-content,
body.home .site-content .grid-container,
body.home #primary,
body.home #main,
body.home .site-main,
body.home .site-main > article,
body.home .inside-article,
body.home .entry-content,
body.home .entry-content > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.home,
body.home .site,
body.home #content,
body.home .site-content { background: #0B1220 !important; }
body.home .cd-latest-wrap { background: #F4F6F9 !important; }

.home .site-header { border-bottom: 0 !important; box-shadow: none !important; }
.home .site-header::after { display: none !important; }

/* Footer Legal Pills */
.site-info {
    background: #0B1220; padding: 38px 20px 34px; text-align: center;
    border-top: 1px solid rgba(255,255,255,.06);
}
.site-info::before {
    content: ""; display: block; width: 120px; height: 3px; margin: 0 auto 24px;
    border-radius: 2px; background: linear-gradient(90deg, #0A5EB0, #00A884);
}
.cd-footer-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 16px; }
.cd-footer-links a {
    color: #CBD5E1; font-size: 12.5px; font-weight: 600; letter-spacing: .05em;
    text-decoration: none; padding: 7px 16px; border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px; transition: all .2s ease;
}
.cd-footer-links a:hover {
    color: #FFFFFF; border-color: #4DA3FF; background: rgba(77,163,255,.12); transform: translateY(-1px);
}
.cd-footer-copy { color: #64748B; font-size: 12px; margin: 0; letter-spacing: .03em; }
.cd-footer-desc {
    max-width: 720px; margin: 0 auto; padding: 26px 24px 30px; color: #7C8BA3;
    font-size: 12.5px; line-height: 1.8; letter-spacing: .02em; text-align: center;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-widgets { background: #0B1220; text-align: center; padding: 8px 20px 26px; }
.footer-widgets .widget { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0 auto; max-width: 720px; }
.footer-widgets p { color: #7C8BA3; font-size: 12.5px; line-height: 1.8; letter-spacing: .02em; margin: 0 auto; max-width: 680px; }

/* ==========================================================
   RESPONSIVE MÓVIL UNIFICADO (CONSOLIDADO V6 FINAL)
   Incluye: Logo ajustado + Hero Full Bleed + Tarjeta Discreta
   ========================================================== */
@media (max-width: 768px) {
    
    /* 1. HEADER & LOGO MÓVIL */
    .site-header .inside-header {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    body.home .main-title {
        font-size: 28px !important;
        font-weight: 700 !important;
        letter-spacing: -0.8px !important;
    }
    body.home .main-title a::before {
        width: 24px !important;
        height: 24px !important;
    }

    /* 2. HERO FULL BLEED (RESET TOTAL CADENA CONTenedores) */
    body.home #primary,
    body.home .content-area,
    body.home #main,
    body.home .site-main > article,
    body.home .inside-article,
    body.home .cd-hero-inner,
    body.home .cd-hero-inner > *,
    body.home .wp-block-group,
    body.home .wp-block-group__inner-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    /* ÚNICO punto de respiración lateral: el hero mismo */
    body.home .cd-hero {
        padding: 64px 16px 64px !important; 
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }

    /* 3. TIPOGRAFÍA HERO MÓVIL */
    body.home .cd-hero-eyebrow { 
        font-size: 11px !important; 
        letter-spacing: .16em !important; 
        white-space: nowrap;
        opacity: 0.9;
        margin-bottom: 12px !important;
    }
    
    body.home .cd-hero-title {
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        text-align: center !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }

    body.home .cd-hero-sub {
        font-size: 16px !important;
        line-height: 1.6 !important;
        opacity: 0.9 !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        max-width: 100% !important;
        text-align: center;
    }

    /* 4. BOTONES CTA MÓVIL */
    body.home .cd-hero-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    body.home .cd-hero-buttons .wp-block-button {
        width: 100% !important;
        max-width: 100% !important;
    }
    body.home .cd-hero-buttons .wp-block-button__link {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        border-radius: 999px !important;
    }

    /* 5. TARJETA INFERIOR DISCRETA */
    body.home .cd-hero-strip {
        padding: 16px 14px !important;
        margin-top: 36px !important;
        background: rgba(255,255,255,.03) !important;
        border-color: rgba(255,255,255,.06) !important;
        backdrop-filter: blur(4px);
    }
    
    body.home .cd-hero-strip .wp-block-columns {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    body.home .cd-strip-label { 
        font-size: 9px !important;      
        color: #64748B !important;      
        margin-bottom: 2px !important;
        text-transform: uppercase;
        font-weight: 600;
    }
    body.home .cd-strip-value { 
        font-size: 13px !important;     
        font-weight: 500 !important;
        color: #CBD5E1 !important;      
        margin-bottom: 0 !important;
    }
    body.home .cd-strip-note { 
        font-size: 9px !important;      
        color: #475569 !important;      
        margin-top: 2px !important;
    }

    /* 6. SECCIÓN ÚLTIMAS PUBLICACIONES HOME */
    body.home .cd-latest-wrap { 
        padding: 40px 20px 20px !important; 
        background: #F4F6F9 !important;
    }
    body.home .cd-section-title { 
        font-size: 20px !important; 
        margin-bottom: 20px !important;
    }
    body.home .cd-latest.wp-block-latest-posts { 
        grid-template-columns: 1fr !important; 
        gap: 16px !important; 
    }
    body.home .cd-latest li { 
        padding: 18px !important; 
        box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
    }

    /* 7. FOOTER MÓVIL COMPACTO */
    .cd-footer-links { gap: 8px; justify-content: center; }
    .cd-footer-links a { padding: 6px 12px; font-size: 11px; }
    .cd-footer-desc { font-size: 11px; padding: 16px 14px 20px; line-height: 1.6; max-width: 95%; margin: 0 auto; }
    .footer-widgets p { font-size: 11px; }
    
    /* Artículos y páginas */
    .site-content .grid-container { padding-left: 14px !important; padding-right: 14px !important; }
    .inside-article { padding: 24px 18px !important; }
    .entry-title { font-size: 22px !important; }
    .entry-content pre.wp-block-code { font-size: 13px; padding: 16px; }
    .entry-content table { font-size: 13px; }
    .entry-content table th, .entry-content table td { padding: 9px 10px; }
}

/* Teléfonos muy pequeños (<400px) */
@media (max-width: 400px) {
    body.home .cd-hero { padding-left: 14px !important; padding-right: 14px !important; }
    body.home .cd-hero-title { font-size: 28px !important; }
    body.home .cd-hero-sub { font-size: 14px !important; }
    body.home .cd-hero-buttons .wp-block-button { max-width: 100% !important; }
    body.home .cd-strip-value { font-size: 12px !important; }
}

/* ============ FIX SLIDER VISUAL PARA TABLAS Y CÓDIGO EN MÓVIL ============ */
@media (max-width: 768px) {
    
    /* --- PROBLEMA 1: CENTRAR TARJETAS EN EL INICIO (Se mantiene) --- */
    body.home .cd-latest-wrap {
        display: flex; justify-content: center; align-items: stretch; width: 100%; box-sizing: border-box;
    }
    body.home .cd-latest.wp-block-latest-posts {
        width: 100% !important; max-width: 100% !important; margin: 0 auto !important; padding: 0 16px !important; box-sizing: border-box !important;
    }

    /* --- PROBLEMA 2 & 3: SLIDER VISUAL PARA TABLAS Y BLOQUES DE CÓDIGO --- */
    
    /* Aplicamos los estilos a AMBOS contenedores usando una lista separada por comas */
    .entry-content .wp-block-table,
    .entry-content pre.wp-block-code,
    .entry-content pre {
        position: relative; /* Necesario para anclar la flecha */
        overflow-x: auto !important; /* Activa el scroll horizontal */
        -webkit-overflow-scrolling: touch; /* Suaviza el swipe en iOS */
        width: 100% !important;
        max-width: 100vw !important;
        margin-bottom: 30px;
        
        /* Estética común */
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(15,23,42,.08);
        background: #fff;
        
        /* Sombra interna sutil a la derecha para sugerir profundidad */
        mask-image: linear-gradient(to right, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    }

    /* Ajuste específico para el fondo oscuro del código */
    .entry-content pre.wp-block-code,
    .entry-content pre {
        background: #0F172A !important; /* Mantenemos tu color original de código */
        color: #E2E8F0 !important;
        border: 1px solid #1E293B !important;
        padding: 20px 24px !important; /* Aseguramos buen padding interno */
    }

    /* La Flecha Animada de "Swipe" (Común para ambos) */
    .entry-content .wp-block-table::after,
    .entry-content pre.wp-block-code::after,
    .entry-content pre::after {
        content: "→"; /* Símbolo de flecha */
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(10, 94, 176, 0.9); /* Azul corporativo semi-transparente */
        color: white;
        font-size: 18px;
        font-weight: bold;
        line-height: 32px;
        text-align: center;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,.2);
        pointer-events: none; /* No interfiere con el scroll real */
        animation: cd-swipe-hint 2s infinite ease-in-out; /* Animación de rebote */
        z-index: 100;
    }

    /* Texto pequeño debajo de la flecha (Común para ambos) */
    .entry-content .wp-block-table::before,
    .entry-content pre.wp-block-code::before,
    .entry-content pre::before {
        content: "Desliza →";
        position: absolute;
        bottom: -20px; /* Justo debajo del borde */
        right: 0;
        font-size: 10px;
        color: #64748B;
        font-weight: 600;
        letter-spacing: .05em;
        opacity: 0.8;
        pointer-events: none;
    }

    /* Keyframes para la animación de la flecha */
    @keyframes cd-swipe-hint {
        0%, 100% { transform: translateX(0); opacity: 0.8; }
        50% { transform: translateX(5px); opacity: 1; }
    }

    /* --- ESTILOS INTERNOS DE LA TABLA (Se mantienen intactos) --- */
    .entry-content table {
        min-width: 600px !important; 
        width: 100%;
        font-size: 14px;
        line-height: 1.5;
        border-collapse: collapse;
        margin: 0 !important;
    }
    .entry-content table th, 
    .entry-content table td {
        padding: 12px 14px !important;
        vertical-align: top;
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
    }
    .entry-content table thead th {
        background: #0F172A;
        color: #fff;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: .06em;
        position: sticky;
        top: 0;
        z-index: 10;
        border-bottom: 2px solid #1E293B;
    }
    .entry-content table tbody tr:nth-child(even) { background: #F8FAFC; }
    .entry-content table tbody tr:not(:last-child) td { border-bottom: 1px solid #E2E8F0; 
    }

/* ============ PROTECCIÓN VISUAL DE BLOQUES DE CÓDIGO ============ */
.entry-content pre.wp-block-code, 
.entry-content pre {
    user-select: none;           /* Impide seleccionar texto con mouse/keyboard */
    -webkit-user-select: none;   /* Safari/iOS */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* IE/Edge legacy */
    pointer-events: auto;        /* Mantiene interacción básica si es necesario */
}

/* Opcional: Evitar arrastrar imágenes dentro de bloques técnicos */
.entry-content img {
    user-drag: none;
    -webkit-user-drag: none;
}