/* RCAD v6.67 — Core visual bundle
   Generated from existing approved RCAD CSS. Do not edit this bundle directly.
*/

/* ===== SOURCE: css/layout.css ===== */
/* ═══════════════════════════════════════════════════════════
   RCAD PRO — layout.css v2
   Sistema unificado de anchos para el sitio.
   Lee --site-width del CSS inline inyectado por functions.php,
   que a su vez lee los settings "Ancho de contenedor" y
   "Relación Contenido-Barra Lateral" del Customizer de Orbital.
   Así el slider de Orbital sigue funcionando para TODO el sitio.
   Fallback: si algo falla, 1200px.
   --content-width se mantiene fijo (es una decisión de UX de
   lectura, no algo que el usuario deba tocar desde el Customizer). */

:root {
    /* Fallback si PHP no inyecta la variable */
    --site-width: 1200px;

    /* ANCHO DE LECTURA (.entry-content > p, h2, ul…).
       740px = 70-80 caracteres por línea = óptimo AdSense. */
    --content-width: 800px;
    --main-column-width: 820px;
    --sidebar-width: calc(var(--site-width) * 27 / 100);
    --layout-gap: 0px;

    /* Padding lateral del contenedor (evita que el contenido
       toque los bordes del viewport en resoluciones justas). */
    --site-padding: 20px;
}

/* ═══════════════════════════════════════════════════════════
   1. CONTENEDORES GENÉRICOS DEL PADRE ORBITAL
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   1. CONTENEDORES GENÉRICOS DEL PADRE ORBITAL
   ───────────────────────────────────────────────────────────
   Orbital aplica width:Xrem dinámico a .container desde el
   Customizer ("Ancho de contenedor"). NO tocamos width ni
   padding — solo aseguramos box-sizing y centrado.
   ═══════════════════════════════════════════════════════════ */
body .container,
body .container-fluid,
body #content-wrapper,
body .site-content,
body .content-area {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

/* Site main: solo centrado, sin max-width (para que elementos
   hijos full-width como el mega-menú puedan extenderse). */
body .site-main,
body #content {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   2. HEADER DEL TEMA PADRE
   ───────────────────────────────────────────────────────────
   Orbital gestiona el header con `.site-header .container`
   que respeta el slider "Ancho de contenedor". NO lo pisamos.
   Solo aseguramos que el header nunca desborde el viewport.
   ═══════════════════════════════════════════════════════════ */
body .site-header,
body #masthead {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   3. TOPBAR RCAD
   ═══════════════════════════════════════════════════════════ */
.rcad-topbar {
    width: 100%;
    box-sizing: border-box;
}
.rcad-topbar__inner,
.rcad-topbar .container,
.rcad-topbar > div:first-child {
    max-width: var(--site-width);
    margin: 0 auto;
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   4. NAVEGACIÓN PRINCIPAL + MEGA MENÚ
   ───────────────────────────────────────────────────────────
   El mega-menú v7 usa el primary-menu nativo de Orbital
   y se gestiona desde mega-menu-v7.css. No hay reglas aquí.
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   5. HOME — HERO + SECCIONES
   ═══════════════════════════════════════════════════════════ */
.rcad-home-outer {
    max-width: var(--site-width) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}
.rcad-hero__inner {
    max-width: var(--site-width);
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   6. FOOTER
   ═══════════════════════════════════════════════════════════ */
.rcad-footer,
.site-footer {
    width: 100%;
    box-sizing: border-box;
}
.rcad-footer__inner,
.rcad-footer .container,
.site-footer > .container,
.site-footer .footer-wrap {
    max-width: var(--site-width);
    margin: 0 auto;
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   7. ENTRY-CONTENT — ancho de lectura
   ───────────────────────────────────────────────────────────
   Los wrappers single/page usan .container del padre
   (ej. <div id="content-wrapper" class="container flex">),
   así que ya heredan el ancho dinámico del Customizer.
   Aquí solo aseguramos que el entry-content ocupe el 100%
   de su columna para que los banners AdSense aprovechen
   todo el espacio (el ancho de lectura 740px se aplica
   solo a hijos de texto desde global.css).
   ═══════════════════════════════════════════════════════════ */
.single .entry-content,
.page .entry-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   8. MOBILE — sin overflow, sin padding excesivo
   ═══════════════════════════════════════════════════════════ */

/* Prevenir scroll horizontal sin crear un nuevo containing block.
   overflow-x:clip (a diferencia de hidden) NO convierte html/body
   en containing block para position:absolute, por lo que el
   mega-menu puede usar left:0;right:0 sin problemas. */
html {
    overflow-x: clip;
}
body {
    max-width: 100vw;
    overflow-x: clip;
}

/* En tablet y móvil: el ancho del sitio es 100%, el padding
   lateral se reduce para aprovechar espacio. */
@media (max-width: 1260px) {
    :root {
        --site-padding: 16px;
    }
}

@media (max-width: 991px) {
    :root {
        --site-padding: 14px;
    }

    /* Forzar 100% en todos los contenedores en tablet/móvil */
    body .container,
    body #content-wrapper,
    body .site-content,
    body .content-area,
    body .site-header > .container,
    body .site-header .header-inner,
    body #masthead > .container,
    body .header-wrap,
    .rcad-topbar__inner,
    .rcad-footer__inner,
    .rcad-home-outer,
    .rcad-hero__inner,
    .single #content-wrapper,
    .page #content-wrapper {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 600px) {
    :root {
        --site-padding: 12px;
    }
}

@media (max-width: 480px) {
    :root {
        --site-padding: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════
   9. SAFETY NETS — elementos frecuentemente rotos
   ═══════════════════════════════════════════════════════════ */

/* Imágenes y vídeos nunca desbordan */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Tablas con scroll horizontal en móvil en lugar de romper layout */
@media (max-width: 768px) {
    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Elementos con transform 100vw (mega-menú, hero fullbleed)
   nunca deben generar scrollbar horizontal. Forzamos clip. */
body > *,
.site-main > *,
#content > * {
    max-width: 100vw;
}

/* Layout: Orbital controls the content/sidebar ratio from its Customizer. */
body.single #content-wrapper.flex,
body.archive #content-wrapper.flex,
body.search #content-wrapper.flex,
body.error404 #content-wrapper.flex,
body.single .site-content,
body.archive .site-content,
body.search .site-content {
    display: flex;
    align-items: flex-start;
}

body.single main,
body.single .site-main,
body.single #primary,
body.single .content-area,
body.archive main,
body.archive .site-main,
body.archive #primary,
body.archive .content-area,
body.search main,
body.search .site-main,
body.search #primary,
body.search .content-area,
body.error404 .rcad-404-main,
body.single aside,
body.single .sidebar,
body.single #secondary,
body.single .widget-area,
body.archive aside,
body.archive .sidebar,
body.archive #secondary,
body.archive .widget-area,
body.search aside,
body.search .sidebar,
body.search #secondary,
body.search .widget-area,
body.error404 aside,
body.error404 .sidebar,
body.error404 #secondary,
body.error404 .widget-area {
    min-width: 0;
    box-sizing: border-box;
}

body.error404 #secondary .widget-area-wrapper,
body.error404 #secondary .widget,
body.error404 #secondary .rcad-user-widget,
body.error404 #secondary .rcad-sidebar-accordion,
body.error404 #secondary .widget_rcad_accordion_menu {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.single .entry-content > p,
body.single .entry-content > h1,
body.single .entry-content > h2,
body.single .entry-content > h3,
body.single .entry-content > h4,
body.single .entry-content > h5,
body.single .entry-content > h6,
body.single .entry-content > ul,
body.single .entry-content > ol,
body.single .entry-content > blockquote,
body.single .entry-content > dl,
body.single .entry-content > figure:not(.wp-block-image),
body.single .entry-content > .wp-block-separator,
body.single .entry-content > .wp-block-quote,
body.single .entry-content > .wp-block-list,
body.single .entry-content > .wp-block-paragraph {
    max-width: var(--content-width) !important;
}

body.single .entry-content > .rcad-ad-inline,
body.single .entry-content > .rcad-ad-article,
body.single .entry-content > .rcad-download-block,
body.single .entry-content > .wp-block-buttons,
body.single .entry-content > .wp-block-group,
body.single .entry-content > .wp-block-table,
body.single .entry-content > .wp-block-image,
body.single .entry-content > .sep-detalles-archivo,
body.single .entry-content > .rcad-file-specs,
body.single .entry-content > ins.adsbygoogle {
    width: 100%;
    max-width: 100% !important;
}

body.single .entry-content iframe,
body.single .entry-content img,
body.single .entry-content video,
body.single aside iframe,
body.single aside img,
body.single .widget-area iframe,
body.single .widget-area img,
body.archive aside iframe,
body.archive aside img,
body.search aside iframe,
body.search aside img {
    max-width: 100% !important;
}

@media (max-width: 991px) {
    .rcad-home-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: auto !important;
    }

    body.single #content-wrapper.flex,
    body.archive #content-wrapper.flex,
    body.search #content-wrapper.flex,
    body.error404 #content-wrapper.flex,
    body.single .site-content,
    body.archive .site-content,
    body.search .site-content {
        display: block !important;
    }

    body.single aside,
    body.single .sidebar,
    body.single #secondary,
    body.single .widget-area,
    body.archive aside,
    body.archive .sidebar,
    body.archive #secondary,
    body.archive .widget-area,
    body.search aside,
    body.search .sidebar,
    body.search #secondary,
    body.search .widget-area,
    body.error404 aside,
    body.error404 .sidebar,
    body.error404 #secondary,
    body.error404 .widget-area {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        margin-top: 24px;
    }

    body.error404 .rcad-404-main {
        max-width: 100% !important;
    }
}

/* FIX: mantener sidebar de entradas visible al recargar, igual que Orbital padre */
@media (min-width: 992px) {
    body.single #content-wrapper.flex {
        display: flex !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    body.single #content-wrapper.flex > .entry-content {
        flex: 1 1 calc(100% - var(--sidebar-pct, 27%) - 30px) !important;
        max-width: calc(100% - var(--sidebar-pct, 27%) - 30px) !important;
        min-width: 0 !important;
    }

    body.single #content-wrapper.flex > #secondary,
    body.single #content-wrapper.flex > .entry-aside {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 var(--sidebar-pct, 27%) !important;
        max-width: var(--sidebar-pct, 27%) !important;
        min-width: 260px !important;
        width: auto !important;
    }

    body.single #content-wrapper.flex.no-sidebar > #secondary,
    body.single #content-wrapper.flex.no-sidebar > .entry-aside {
        display: none !important;
    }
}


/* RCAD FIX: no pisar el sistema de banners de Orbital.
   El padre controla alineación y tamaño con clases .small/.medium/.leaderboard/.fluid.
   Dejamos que esas clases manden desde Personalizar. */
body.single .entry-content > .banner {
    max-width: 100% !important;
    width: 100% !important;
}
body.single .entry-content > .banner > div.small { width: 300px !important; max-width: 100% !important; }
body.single .entry-content > .banner > div.medium { width: 336px !important; max-width: 100% !important; }
body.single .entry-content > .banner > div.large { width: 360px !important; max-width: 100% !important; }
body.single .entry-content > .banner > div.leaderboard { width: 728px !important; max-width: 100% !important; }
body.single .entry-content > .banner > div.half-page { width: 300px !important; max-width: 100% !important; }
body.single .entry-content > .banner > div.fluid { width: 100% !important; max-width: 100% !important; }


/* RCAD: los banners de Orbital deben obedecer el Personalizador del tema padre.
   No forzamos ancho, tamaño ni alineación desde el child. */
body.single .entry-content > .banner,
body.single .entry-content > ins.adsbygoogle {
    max-width: none;
}
body.single .entry-content > .banner > div {
    width: auto;
}

/* ==========================================================
   RCAD v328 — Imágenes de artículos al ancho de lectura
   En entradas normales, las imágenes del contenido no deben
   sobresalir de la columna de texto (800px). Se neutralizan
   alignwide/alignfull solo para imágenes dentro de artículos.
   No afecta bbPress, páginas ni bloques publicitarios.
   ========================================================== */
body.single-post .entry-content > .wp-block-image,
body.single-post .entry-content > figure.wp-block-image,
body.single-post .entry-content > .wp-block-image.alignwide,
body.single-post .entry-content > .wp-block-image.alignfull,
body.single-post .entry-content > figure.alignwide,
body.single-post .entry-content > figure.alignfull {
    width: 100% !important;
    max-width: var(--content-width) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

body.single-post .entry-content > .wp-block-image img,
body.single-post .entry-content > figure.wp-block-image img,
body.single-post .entry-content > .wp-block-image picture,
body.single-post .entry-content > figure.wp-block-image picture {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

@media (max-width: 820px) {
    body.single-post .entry-content > .wp-block-image,
    body.single-post .entry-content > figure.wp-block-image,
    body.single-post .entry-content > .wp-block-image.alignwide,
    body.single-post .entry-content > .wp-block-image.alignfull,
    body.single-post .entry-content > figure.alignwide,
    body.single-post .entry-content > figure.alignfull {
        max-width: 100% !important;
    }
}

/* RCAD v329 — ancho de lectura estándar de artículos: 800px.
   Texto e imágenes comparten la misma medida. */
body.single-post .entry-content > p,
body.single-post .entry-content > h1,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3,
body.single-post .entry-content > h4,
body.single-post .entry-content > h5,
body.single-post .entry-content > h6,
body.single-post .entry-content > ul,
body.single-post .entry-content > ol,
body.single-post .entry-content > blockquote,
body.single-post .entry-content > pre,
body.single-post .entry-content > table,
body.single-post .entry-content > .wp-block-image,
body.single-post .entry-content > figure.wp-block-image {
    width: 100% !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
}

/* RCAD v331 — tablas de artículos centradas en la misma columna de 800px. */
body.single-post .entry-content > table,
body.single-post .entry-content > .wp-block-table,
body.single-post .entry-content > figure.wp-block-table {
    width: 100% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
body.single-post .entry-content > .wp-block-table > table,
body.single-post .entry-content > figure.wp-block-table > table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}


/* ===== SOURCE: css/global.css ===== */
/* ═══════════════════════════════════════
   RCAD PRO — global.css v3.2
   Tipografía + ancho de lectura optimizado AdSense
   ═══════════════════════════════════════ */

/* ── Título del artículo ───────────────── */
.default-header .title {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   ANCHO DE LECTURA — estrategia AdSense
   ───────────────────────────────────────
   .entry-content NO lleva max-width para que
   los banners (.banner del padre + nuestros
   .rcad-ad-inline) ocupen el contenedor completo
   y tengan fill-width nativo de AdSense.
   El ancho de 740px se aplica SOLO a los
   elementos de texto (p, h2, h3, ul, etc.)
   mediante selectores > (hijo directo).
   ═══════════════════════════════════════ */

.entry-content {
    font-size: 16.8px;
    line-height: 1.75;
    color: #374151;
    /* Centrar el bloque de contenido en el contenedor del post */
    margin-left: auto;
    margin-right: auto;
}

/* Ancho óptimo de lectura = 740px
   (entre 700–760 recomendados para columnas con AdSense;
   740 deja margen para caracteres largos en español). */
.entry-content > p,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > table,
.entry-content > dl,
.entry-content > figure:not(.wp-block-image),
.entry-content > .wp-block-separator,
.entry-content > .wp-block-quote,
.entry-content > .wp-block-table,
.entry-content > .wp-block-list,
.entry-content > .wp-block-paragraph {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Imágenes de ancho completo siguen completas */
.entry-content > .wp-block-image.alignwide,
.entry-content > .wp-block-image.alignfull,
.entry-content > .alignwide,
.entry-content > .alignfull {
    max-width: 100%;
    width: 100%;
}

/* ── PÁRRAFOS ──────────────────────────── */
.entry-content p {
    margin-bottom: 1.25em;
}

/* ── LISTAS ────────────────────────────── */
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.3em;
    line-height: 1.7;
}

.entry-content ul {
    list-style: none;
    padding-left: 0;
}

.entry-content ol {
    padding-left: 1.4em;
}

.entry-content > ul,
.entry-content > ol,
.entry-content .wp-block-list {
    margin-top: .75em;
    margin-bottom: 1.6em;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.entry-content > ul,
.entry-content ul.wp-block-list {
    padding: 0 0 0 .35em;
}

.entry-content > ol,
.entry-content ol.wp-block-list {
    padding-left: 1.55em;
}

.entry-content li {
    margin: 0 0 .72em;
}

.entry-content li:last-child {
    margin-bottom: 0;
}

.entry-content ul > li {
    position: relative;
    padding-left: 1.35em;
}

.entry-content ul > li::before {
    content: "";
    position: absolute;
    left: .12em;
    top: .72em;
    width: .42em;
    height: .42em;
    border-radius: 999px;
    background: #f6a800;
    box-shadow: 0 0 0 3px rgba(246, 168, 0, .14);
}

.entry-content ol {
    counter-reset: rcad-list;
}

.entry-content ol > li {
    padding-left: .25em;
}

.entry-content ol > li::marker {
    color: #071b46;
    font-weight: 800;
}

body.single .entry-content > ul,
body.single .entry-content > ol,
body.single .entry-content .wp-block-list,
.entry-content > ul.wp-block-list,
.entry-content > ol.wp-block-list {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

body.single .entry-content > ul,
.entry-content > ul.wp-block-list,
.entry-content ul.wp-block-list {
    width: calc(100% - 1rem);
    padding: 0 0 0 .65rem !important;
}

body.single .entry-content > ol,
.entry-content > ol.wp-block-list,
.entry-content ol.wp-block-list {
    width: calc(100% - 1rem);
    padding-left: 1.65rem !important;
}

body.single .entry-content ul > li {
    padding-left: 1.45em !important;
}

body.single .entry-content ul > li::before {
    left: .18em;
}

/* Tables */
.entry-content > table,
.entry-content .wp-block-table {
    width: min(100%, var(--content-width, 760px));
    margin-top: 1.5em;
    margin-bottom: 2em;
}

.entry-content .wp-block-table {
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    background: #fff;
    color: #172033;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: none;
}

.entry-content .wp-block-table table {
    min-width: 620px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.entry-content table caption {
    padding: 10px 0;
    color: #667085;
    font-size: 13px;
    text-align: left;
}

.entry-content table th,
.entry-content table td {
    padding: 14px 16px;
    border: 0;
    border-right: 1px solid #e7ebf1;
    border-bottom: 1px solid #e7ebf1;
    vertical-align: top;
    text-align: left;
}

.entry-content table th:last-child,
.entry-content table td:last-child {
    border-right: 0;
}

.entry-content table tr:last-child td {
    border-bottom: 0;
}

.entry-content table thead th,
.entry-content table tbody tr:first-child th {
    background: #f8fafc;
    color: #071b46;
    font-weight: 800;
}

.entry-content table tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.entry-content table tbody tr:hover td {
    background: #fff8e8;
}

.entry-content table strong {
    color: #071b46;
}

/* ── H1 ────────────────────────────────── */
.entry-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: .6em;
}

/* ── H2 ────────────────────────────────── */
.entry-content h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2em;
    margin-bottom: .55em;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ── H3 ────────────────────────────────── */
.entry-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5em;
    margin-bottom: .35em;
    line-height: 1.35;
}

/* ── H4 ────────────────────────────────── */
.entry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.3em;
}

/* ── Énfasis ───────────────────────────── */
.entry-content strong {
    font-weight: 600;
    color: #111827;
}

/* ── Enlaces ───────────────────────────── */
.entry-content a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, .35);
    transition: all .15s ease;
}
.entry-content a:hover {
    border-bottom: 1px solid #2563eb;
}

/* Los enlaces dentro de anuncios NO deben tener borde azul */
.entry-content .rcad-ad-inline a,
.entry-content .banner a {
    border-bottom: none;
}

/* ── Separador ─────────────────────────── */
.wp-block-separator {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 32px 0;
}

/* ── Neutralizar SVG de búsqueda Orbital ── */
.btn-search-form svg,
.search-submit svg,
.search-form svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
}

/* ── Logo centrado ─────────────────────────────────────────── */
.site-header .container.header-inner {
    justify-content: center !important;
}
.site-header .site-logo {
    margin: 0 auto !important;
}
.site-header .site-logo img {
    max-width: 450px !important;
    height: auto !important;
}
@media (max-width: 999px) {
    .site-header .site-logo {
        text-align: center !important;
    }
    .site-header .site-logo img {
        max-width: 320px !important;
        height: auto !important;
    }
}

/* Contact form shortcode */
.rcad-contact-form-wrap {
    max-width: 1040px;
    margin: 28px auto;
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr);
    gap: 22px;
    align-items: stretch;
}

.rcad-contact-form-info,
.rcad-contact-form {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.rcad-contact-form-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rcad-contact-form-kicker {
    color: #f59e0b;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.rcad-contact-form-info h2 {
    margin: 0 0 12px;
    color: #071b46;
    font-size: 1.7rem;
    line-height: 1.25;
}

.rcad-contact-form-info p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.rcad-contact-form-points {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.rcad-contact-form-points span {
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    font-size: .92rem;
}

.rcad-contact-form {
    padding: 24px;
}

.rcad-contact-form label {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    color: #0f172a;
    font-weight: 800;
    font-size: .92rem;
}

.rcad-contact-form input,
.rcad-contact-form select,
.rcad-contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-weight: 500;
    padding: 12px 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

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

.rcad-contact-form input:focus,
.rcad-contact-form select:focus,
.rcad-contact-form textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .18);
}

.rcad-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rcad-contact-form-privacy {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    line-height: 1.45;
}

.rcad-contact-form-privacy input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
}

.rcad-contact-form-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #f59e0b;
    color: #071b46;
    cursor: pointer;
    font-weight: 900;
    font-size: 1rem;
    transition: transform .15s ease, background .15s ease;
}

.rcad-contact-form-submit:hover {
    background: #f8b22c;
    transform: translateY(-1px);
}

.rcad-contact-form-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.rcad-contact-form-notice.is-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.rcad-contact-form-notice.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.rcad-contact-form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .rcad-contact-form-wrap {
        grid-template-columns: 1fr;
        margin: 20px 0;
        gap: 14px;
    }

    .rcad-contact-form-info,
    .rcad-contact-form {
        padding: 18px;
    }

    .rcad-contact-form-info h2 {
        font-size: 1.35rem;
    }

    .rcad-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Contact page — RecursosCAD */
.rcad-contact-page{max-width:1180px;margin:0 auto;padding:18px 16px 56px}.rcad-contact-hero{text-align:center;max-width:760px;margin:0 auto 28px}.rcad-contact-hero h1{margin:8px 0 10px;color:#071b46;font-size:clamp(30px,4vw,46px);line-height:1.08}.rcad-contact-hero p{margin:0;color:#536174;font-size:17px}.rcad-contact-form-wrap{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:24px;align-items:stretch}.rcad-contact-form-info,.rcad-contact-form{border:1px solid #e1e6ee;border-radius:14px;background:#fff;box-shadow:none}.rcad-contact-form-info{padding:30px;background:#071b46;color:#fff}.rcad-contact-form-info h2{margin:0 0 10px;color:#fff;font-size:25px}.rcad-contact-form-info>p{margin:0 0 24px;color:#d7deeb}.rcad-contact-info-card{padding:17px 0;border-top:1px solid rgba(255,255,255,.16)}.rcad-contact-info-card strong,.rcad-contact-info-card span,.rcad-contact-info-card a{display:block}.rcad-contact-info-card strong{margin-bottom:5px;color:#fff}.rcad-contact-info-card span,.rcad-contact-info-card a{color:#d7deeb;line-height:1.55}.rcad-contact-info-card a:hover{color:#f6a800}.rcad-contact-form{padding:30px}.rcad-contact-form h2{margin:0 0 22px;color:#071b46;font-size:25px}.rcad-contact-file small{font-weight:400;color:#667085}.rcad-contact-file>span{display:block;margin-top:6px;color:#667085;font-size:12px;font-weight:400}.rcad-contact-form-footnote{margin:12px 0 0;color:#667085;font-size:12px}.rcad-contact-form-privacy a{color:#071b46;text-decoration:underline}.rcad-contact-form-submit{width:100%;justify-content:center}.rcad-contact-form-notice strong{display:block;margin-bottom:2px}@media(max-width:800px){.rcad-contact-form-wrap{grid-template-columns:1fr}.rcad-contact-form-info,.rcad-contact-form{padding:23px}.rcad-contact-page{padding-left:12px;padding-right:12px}}


/* v126 — Breadcrumb home icon hard clamp.
 * category-nav.css is contextual, but breadcrumbs also render on singular posts.
 * Keep the icon safely small even if a contextual stylesheet is not loaded. */
.rcad-bc-link--home{display:inline-flex!important;align-items:center!important;gap:4px!important}
.rcad-bc-home-icon{display:inline-block!important;width:13px!important;height:13px!important;max-width:13px!important;max-height:13px!important;min-width:13px!important;min-height:13px!important;flex:0 0 13px!important;fill:currentColor!important;vertical-align:middle!important}

/* ==========================================================================\n   RCAD v399 — Contacto elegante / URL-only\n   ========================================================================== */
body.page-contacto #content-wrapper,
body.page-contacto .entry-content{max-width:none!important;margin:0!important;padding:0!important}
.rcad-contact-template-v399{background:#f6f8fb;min-height:60vh;padding:0 0 64px}
.rcad-contact-breadcrumb-v399{height:54px;border-top:1px solid #e5e9f0;border-bottom:1px solid #dfe5ed;background:#f8fafc;display:flex;align-items:center}
.rcad-contact-breadcrumb-inner-v399{width:min(1320px,calc(100% - 32px));margin:0 auto;display:flex;align-items:center;gap:7px;color:#536174;font-size:13px;line-height:1;white-space:nowrap;overflow:hidden}
.rcad-contact-breadcrumb-home-v399{display:inline-flex;align-items:center;gap:5px;color:#f6a800!important;font-weight:700;text-decoration:none!important;flex:0 0 auto}
.rcad-contact-breadcrumb-home-v399 svg{width:13px;height:13px;flex:0 0 13px}
.rcad-contact-breadcrumb-sep-v399{color:#8491a4}
.rcad-contact-page{width:min(1320px,calc(100% - 32px));max-width:none!important;margin:0 auto!important;padding:38px 0 0!important}
.rcad-contact-hero{text-align:left!important;max-width:780px!important;margin:0 0 28px!important}
.rcad-contact-form-kicker{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#fff4d7;color:#8b5a00!important;font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important;margin:0 0 12px!important}
.rcad-contact-hero h1{margin:0 0 10px!important;color:#071b46!important;font-size:clamp(34px,4vw,48px)!important;line-height:1.06!important;letter-spacing:-.025em}
.rcad-contact-hero p{margin:0!important;color:#5f6f84!important;font-size:16px!important;line-height:1.65!important;max-width:700px}
.rcad-contact-form-wrap{max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr)!important;gap:24px!important;align-items:stretch!important}
.rcad-contact-form-info,.rcad-contact-form{border:1px solid #dfe5ed!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(7,27,70,.055)!important;overflow:hidden}
.rcad-contact-form-info{padding:34px!important;background:#071b46!important;color:#fff!important;justify-content:flex-start!important}
.rcad-contact-form-info:before{content:"";display:block;width:42px;height:5px;border-radius:999px;background:#f6a800;margin-bottom:24px}
.rcad-contact-form-info h2{margin:0 0 10px!important;color:#fff!important;font-size:26px!important;line-height:1.2!important}
.rcad-contact-form-info>p{margin:0 0 25px!important;color:#d5ddeb!important;font-size:14px!important;line-height:1.65!important}
.rcad-contact-info-card{padding:17px 0!important;border-top:1px solid rgba(255,255,255,.14)!important}
.rcad-contact-info-card strong{display:block;margin-bottom:5px;color:#fff!important;font-size:13px!important}
.rcad-contact-info-card span,.rcad-contact-info-card a{display:block;color:#d5ddeb!important;font-size:13px!important;line-height:1.55!important;word-break:break-word}
.rcad-contact-info-card a:hover{color:#f6a800!important}
.rcad-contact-form{padding:34px!important;background:#fff!important}
.rcad-contact-form h2{margin:0 0 24px!important;color:#071b46!important;font-size:25px!important;line-height:1.2!important}
.rcad-contact-form label{gap:7px!important;margin:0 0 16px!important;color:#17233a!important;font-size:13px!important;font-weight:750!important}
.rcad-contact-form input,.rcad-contact-form select,.rcad-contact-form textarea{min-height:46px!important;border:1px solid #cfd7e3!important;border-radius:9px!important;background:#fff!important;color:#17233a!important;font-size:14px!important;font-weight:500!important;padding:11px 13px!important;box-shadow:none!important}
.rcad-contact-form textarea{min-height:168px!important;resize:vertical!important}
.rcad-contact-form input::placeholder,.rcad-contact-form textarea::placeholder{color:#98a3b3}
.rcad-contact-form input:focus,.rcad-contact-form select:focus,.rcad-contact-form textarea:focus{border-color:#f6a800!important;box-shadow:0 0 0 3px rgba(246,168,0,.14)!important;outline:0!important}
.rcad-contact-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.rcad-contact-url small{font-weight:500!important;color:#758297!important}
.rcad-contact-url>span{display:block;margin-top:1px;color:#758297;font-size:11.5px;font-weight:500;line-height:1.5}
.rcad-contact-form-privacy{margin-top:3px!important;padding:13px 14px!important;border:1px solid #e5e9f0!important;border-radius:9px!important;background:#f8fafc!important;color:#5f6f84!important;font-size:12px!important;font-weight:550!important;line-height:1.5!important}
.rcad-contact-form-privacy input{width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;padding:0!important;margin:1px 0 0!important;accent-color:#f6a800}
.rcad-contact-form-privacy a{color:#071b46!important;font-weight:700!important}
.rcad-contact-form-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:190px!important;min-height:46px!important;margin-top:2px!important;padding:11px 22px!important;border:0!important;border-radius:9px!important;background:#f6a800!important;color:#071b46!important;font-size:14px!important;font-weight:900!important;box-shadow:none!important}
.rcad-contact-form-submit:hover{background:#ffb91f!important;transform:translateY(-1px)!important}
.rcad-contact-form-footnote{margin:10px 0 0!important;color:#8491a4!important;font-size:11.5px!important}
.rcad-contact-form-notice{margin:0 0 18px!important;border-radius:9px!important;padding:12px 14px!important;font-size:13px!important}
@media(max-width:900px){.rcad-contact-form-wrap{grid-template-columns:1fr!important}.rcad-contact-form-info,.rcad-contact-form{padding:26px!important}.rcad-contact-page{padding-top:28px!important}.rcad-contact-hero{margin-bottom:22px!important}}
@media(max-width:620px){.rcad-contact-template-v399{padding-bottom:40px}.rcad-contact-breadcrumb-v399{height:46px}.rcad-contact-breadcrumb-inner-v399,.rcad-contact-page{width:min(100% - 24px,1320px)}.rcad-contact-page{padding-top:22px!important}.rcad-contact-hero h1{font-size:31px!important}.rcad-contact-hero p{font-size:14px!important}.rcad-contact-form-info,.rcad-contact-form{padding:20px!important;border-radius:12px!important}.rcad-contact-form-grid{grid-template-columns:1fr!important;gap:0!important}.rcad-contact-form-submit{width:100%!important}}

/* RCAD v436 — LISTAS RECURSOS: ÚNICA REGLA AUTORITATIVA
   Sobrescribe Orbital assets/sass/_typo.scss: ol li, ul li { margin-bottom:1rem; }
   Solo actúa en fichas RCAD, tanto Descripción como Detalles técnicos. */
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul {
    list-style: none !important;
    margin: 6px 0 10px !important;
    padding: 0 0 0 18px !important;
}
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list > li,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul > li {
    list-style: none !important;
    position: relative !important;
    margin: 0 0 3px 0 !important;
    padding: 0 0 0 13px !important;
    line-height: 1.42 !important;
}
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list > li:last-child,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul > li:last-child {
    margin-bottom: 0 !important;
}
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list > li::marker,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul > li::marker {
    content: "" !important;
    color: transparent !important;
}
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list > li::before,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul > li::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: .69em !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f6a800 !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
}
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul.wp-block-list > li > p,
body.rcad-resource-single .rcad-resource-panel-v350 .toc-content ul > li > p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
}
/* FIN RCAD v436 */


/* RCAD v439 — Botones amarillos: texto blanco global */
.rBtn,
.rcad-report-modal__submit,
.rcad-download-unified .rcad-download-clean-btn,
.rcad-resource-download-v350 .rcad-download-clean-btn,
.rcad-allcat__search button,
.rcad-forum-side-new,
.rcad-discuss-submit,
.rcad-ui-button.is-primary,
.rcad-cms-auth-link--strong,
.rcad-mobile-register-btn,
.rcad-mobile-login-btn,
button.rcad-btn-primary,
a.rcad-btn-primary,
input[type="submit"].rcad-btn-primary {
  color:#fff!important;
}
.rBtn:hover,
.rBtn:focus,
.rcad-report-modal__submit:hover,
.rcad-report-modal__submit:focus,
.rcad-download-unified .rcad-download-clean-btn:hover,
.rcad-download-unified .rcad-download-clean-btn:focus,
.rcad-resource-download-v350 .rcad-download-clean-btn:hover,
.rcad-resource-download-v350 .rcad-download-clean-btn:focus,
.rcad-allcat__search button:hover,
.rcad-allcat__search button:focus,
.rcad-forum-side-new:hover,
.rcad-forum-side-new:focus,
.rcad-discuss-submit:hover,
.rcad-discuss-submit:focus,
.rcad-ui-button.is-primary:hover,
.rcad-ui-button.is-primary:focus,
.rcad-cms-auth-link--strong:hover,
.rcad-cms-auth-link--strong:focus,
.rcad-mobile-register-btn:hover,
.rcad-mobile-register-btn:focus,
.rcad-mobile-login-btn:hover,
.rcad-mobile-login-btn:focus {
  color:#fff!important;
}


/* ===== SOURCE: css/design-system.css ===== */
/**
 * RCAD Theme Framework — Phase 1
 * Tokens base. Los valores personalizados se inyectan desde core-design-system.php.
 */
:root {
    --rcad-primary: #071b46;
    --rcad-primary-soft: #0b2a5b;
    --rcad-primary-strong: #071b46;
    --rcad-accent: #f6a800;
    --rcad-yellow: #f6a800;
    --rcad-link: #1769e0;
    --rcad-text: #111827;
    --rcad-text-2: #111827;
    --rcad-muted: #667085;
    --rcad-text-muted: #667085;
    --rcad-bg: #f6f8fb;
    --rcad-background: #f6f8fb;
    --rcad-surface: #ffffff;
    --rcad-border: #e3e8ef;
    --rcad-line: #e3e8ef;
    --rcad-radius: 12px;
    --rcad-container: 1320px;
    --rcad-space-1: 4px;
    --rcad-space-2: 8px;
    --rcad-space-3: 12px;
    --rcad-space-4: 16px;
    --rcad-space-5: 20px;
    --rcad-space-6: 24px;
    --rcad-space-8: 32px;
    --rcad-shadow: 0 4px 18px rgba(15, 23, 42, .06);
    --rcad-transition: 180ms ease;
}

/* Utilidades mínimas y seguras. No alteran plantillas existentes por defecto. */
.rcad-container {
    width: min(calc(100% - 48px), var(--rcad-container));
    margin-inline: auto;
}

.rcad-surface {
    background: var(--rcad-surface);
    border: 1px solid var(--rcad-border);
    border-radius: var(--rcad-radius);
    box-shadow: var(--rcad-shadow);
}

@media (max-width: 767px) {
    .rcad-container {
        width: min(calc(100% - 28px), var(--rcad-container));
    }
}


/* ===== SOURCE: css/header-premium.css ===== */
/* RCAD premium header */
.rcad-premium-header {
    background: #fff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: none;
    position: relative;
    z-index: 1001;
}

.rcad-premium-inner {
    width: min(var(--site-width-rem, 75rem), calc(100vw - 48px));
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 0;
    display: grid;
    grid-template-columns: minmax(250px, auto) minmax(320px, 520px) auto;
    align-items: center;
    gap: 28px;
}

.rcad-premium-mobile-actions {
    display: none;
}

.rcad-premium-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: #2d2d2d;
    text-decoration: none !important;
}

.rcad-premium-logo-mark {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg,#ffd400,#f0a500);
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(246,168,0,.22);
}

.rcad-premium-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: clamp(190px, 24vw, 360px);
    height: 76px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.rcad-premium-logo.has-custom-logo .rcad-premium-logo-copy {
    display: none;
}

.rcad-premium-logo-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.rcad-premium-logo-title {
    color: #2d2d2d;
    font-size: 40px;
    font-weight: 900;
    line-height: .95;
    letter-spacing: 0;
    white-space: nowrap;
}

.rcad-premium-logo-title span {
    color: #ffc400;
    text-shadow: 1px 1px 0 #202020;
}

.rcad-premium-logo-subtitle {
    margin-top: 6px;
    color: #666;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.15;
    white-space: nowrap;
}

.rcad-premium-search {
    width: 100%;
    max-width: 520px;
    justify-self: center;
    position: relative;
}

.rcad-premium-search input[type="search"] {
    width: 100%;
    height: 48px;
    padding: 0 54px 0 18px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #fafafa;
    color: #1f2937;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.rcad-premium-search input[type="search"]:focus {
    border-color: var(--mm-accent, #f5a623);
    background: #fff;
}

.rcad-premium-search button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--mm-accent, #f5a623);
    cursor: pointer;
}

.rcad-premium-search svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.rcad-premium-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.rcad-premium-login,
.rcad-premium-register,
.rcad-premium-account {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.rcad-premium-login {
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
}

.rcad-premium-login:hover {
    background: #f6f6f6;
    color: #222;
}

.rcad-premium-register {
    border: 1px solid var(--mm-accent, #f5a623);
    background: var(--mm-accent, #f5a623);
    color: #fff;
    box-shadow: 0 8px 18px rgba(246,168,0,.22);
}

.rcad-premium-register:hover {
    filter: brightness(.94);
    color: #fff;
    transform: translateY(-1px);
}

.rcad-premium-account {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #333;
}

.rcad-premium-account img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

body .site-header .container.header-inner,
body .site-header .header-inner,
body .site-header .header-navigation-wrapper,
body .site-header .container,
body #masthead .container {
    display: none !important;
}

body .site-header,
body #masthead {
    display: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.rcad-premium-header + .rcad-mm-bar,
.site-header + .rcad-mm-bar {
    margin-top: 0 !important;
}

.rcad-topbar .rcad-topbar-right {
    display: none !important;
}

.rcad-mm-bar .primary-menu > li.search-item {
    display: none !important;
}

@media (max-width: 1100px) {
    .rcad-premium-inner {
        grid-template-columns: auto 1fr auto;
        gap: 18px;
    }

    .rcad-premium-logo-title {
        font-size: 32px;
    }

    .rcad-premium-logo-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    .rcad-premium-mobile-actions {
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        padding: 0 16px;
        background: #222;
        color: #fff;
        font-size: 12px;
        font-weight: 750;
    }

    .rcad-premium-mobile-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff !important;
        font: inherit;
        line-height: 1;
        text-decoration: none !important;
        cursor: pointer;
    }

    .rcad-premium-mobile-account {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-right: auto;
        color: #fff !important;
        font-size: 12px;
        font-weight: 750;
        text-decoration: none !important;
    }

    .rcad-premium-mobile-account img {
        width: 26px;
        height: 26px;
        border-radius: 50%;
    }

    .rcad-premium-inner {
        width: calc(100vw - 32px);
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0;
    }

    .rcad-premium-logo {
        justify-self: center;
        text-align: center;
    }

    .rcad-premium-logo-copy {
        align-items: flex-start;
        text-align: left;
    }

    .rcad-premium-search {
        display: none !important;
    }

    .rcad-premium-actions {
        display: none;
    }

    .rcad-premium-logo-mark {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
        width: min(78vw, 320px);
        height: 72px;
    }

    .rcad-premium-logo-title {
        font-size: 28px;
    }
}

/* RCAD mobile drawer adapted from SSL */
.rcad-hamburger {
    display: none;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 6px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
}

.rcad-hamburger span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.rcad-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rcad-hamburger.is-open span:nth-child(2) { opacity: 0; }
.rcad-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rcad-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    background: rgba(7, 18, 34, .56);
    backdrop-filter: blur(2px);
}

.rcad-mobile-overlay.is-open {
    display: block;
}

.rcad-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: min(88vw, 380px);
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: #121722;
    color: #fff;
    box-shadow: -18px 0 40px rgba(0,0,0,.24);
    transform: translateX(105%);
    transition: transform .24s ease;
    overflow-y: auto;
}

.rcad-mobile-menu.is-open {
    transform: translateX(0);
}

.rcad-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.rcad-mobile-menu-title {
    font-size: 16px;
    font-weight: 800;
}

.rcad-mobile-menu-close {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.rcad-mobile-drawer-search {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.rcad-mobile-drawer-search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.rcad-mobile-drawer-search input::placeholder {
    color: rgba(255,255,255,.48);
}

.rcad-mobile-drawer-search button {
    min-width: 78px;
    border: 0;
    border-radius: 10px;
    background: var(--mm-accent, #f5a623);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.rcad-mobile-menu-section {
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.rcad-mobile-menu-section-title {
    margin: 0 0 9px;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rcad-mob-cat {
    margin-bottom: 6px;
}

.rcad-mob-cat-btn,
.rcad-mobile-menu-item,
.rcad-mob-sub-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    text-decoration: none !important;
}

.rcad-mob-cat-btn,
.rcad-mobile-menu-item {
    min-height: 42px;
    padding: 9px 10px;
    background: rgba(255,255,255,.06);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.rcad-mob-cat-btn:hover,
.rcad-mobile-menu-item:hover {
    background: rgba(245,166,35,.16);
}

.rcad-mobile-menu-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(245,166,35,.16);
    color: var(--mm-accent, #f5a623);
}

.rcad-mobile-menu-icon svg {
    width: 16px;
    height: 16px;
}

.rcad-mob-cat-label {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.rcad-mob-cat-arrow {
    width: 10px;
    height: 6px;
    transition: transform .2s ease;
}

.rcad-mob-cat-btn.is-open .rcad-mob-cat-arrow {
    transform: rotate(180deg);
}

.rcad-mob-cat-sub {
    display: none;
    padding: 6px 0 2px 38px;
}

.rcad-mob-cat-sub.is-open {
    display: block;
}

.rcad-mob-sub-item {
    justify-content: space-between;
    min-height: 34px;
    padding: 7px 9px;
    color: rgba(255,255,255,.78) !important;
    font-size: 12px;
}

.rcad-mob-sub-item:hover {
    background: rgba(255,255,255,.07);
    color: #fff !important;
}

.rcad-mob-sub-all {
    color: #ffd18a !important;
    font-weight: 750;
}

.rcad-mob-sub-count {
    min-width: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.72);
    text-align: center;
}

.rcad-mobile-menu-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.rcad-mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.rcad-mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.rcad-mobile-username {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.rcad-mobile-panel-link,
.rcad-mobile-logout {
    color: #ffd18a !important;
    font-size: 12px;
    text-decoration: none !important;
}

.rcad-mobile-logout {
    display: inline-flex;
    margin-top: 4px;
}

.rcad-mobile-login-btn,
.rcad-mobile-register-btn {
    width: 100%;
    min-height: 40px;
    margin-top: 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.rcad-mobile-login-btn {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.rcad-mobile-register-btn {
    border: 0;
    background: var(--mm-accent, #f5a623);
    color: #fff;
}

@media (max-width: 900px) {
    .rcad-premium-mobile-actions {
        display: flex !important;
    }

    .rcad-hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .rcad-mm-bar {
        display: none !important;
    }
}

@media (max-width: 560px) {
    .rcad-premium-inner {
        width: calc(100vw - 24px);
        grid-template-columns: 1fr;
    }

    .rcad-premium-logo {
        gap: 10px;
    }

    .rcad-premium-logo-subtitle {
        font-size: 12px;
    }
}

/* RCAD: el buscador principal del header solo se muestra en escritorio.
 * En tablet/móvil se usa el buscador incluido dentro del menú móvil. */
@media screen and (max-width: 1024px) {
    body .rcad-premium-header .rcad-premium-search {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    body .rcad-premium-header .rcad-premium-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 16px !important;
    }

    body .rcad-premium-header .rcad-premium-actions {
        justify-self: end;
    }
}

@media screen and (max-width: 900px) {
    body .rcad-premium-header .rcad-premium-inner {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================
 * RCAD header responsive layout — flexible search (option 1)
 * Keeps logo, search and account controls on one line without overlap.
 * ========================================================== */
@media (min-width: 981px) {
    .rcad-premium-inner {
        display: flex;
        align-items: center;
        width: min(var(--site-width-rem, 75rem), calc(100vw - 40px));
        max-width: 1280px;
        gap: clamp(14px, 1.7vw, 28px);
    }

    .rcad-premium-logo {
        flex: 0 1 clamp(220px, 27vw, 360px);
        min-width: 190px;
        max-width: 360px;
        overflow: hidden;
    }

    .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
        width: 100%;
        min-width: 0;
        max-width: 360px;
        height: 76px;
    }

    .rcad-premium-search {
        flex: 1 1 420px;
        min-width: 220px;
        max-width: 520px;
        margin: 0;
        justify-self: auto;
    }

    .rcad-premium-actions {
        flex: 0 0 auto;
        min-width: max-content;
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
    .rcad-premium-inner {
        gap: 14px;
    }

    .rcad-premium-logo {
        flex-basis: 235px;
        min-width: 205px;
        max-width: 250px;
    }

    .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
        max-width: 250px;
        height: 68px;
    }

    .rcad-premium-search {
        flex-basis: 300px;
        min-width: 220px;
        max-width: 390px;
    }

    .rcad-premium-account,
    .rcad-premium-login,
    .rcad-premium-register {
        padding-left: 13px;
        padding-right: 13px;
    }
}

@media (min-width: 981px) and (max-width: 1080px) {
    .rcad-premium-logo {
        flex-basis: 210px;
        min-width: 190px;
        max-width: 220px;
    }

    .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
        max-width: 220px;
        height: 62px;
    }

    .rcad-premium-search {
        min-width: 200px;
        max-width: 320px;
    }

    .rcad-premium-account span {
        max-width: 82px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* The mobile menu already contains its own search field. */
@media (max-width: 980px) {
    .rcad-premium-search {
        display: none !important;
    }
}


/* ===== SOURCE: css/topbar.css ===== */
/* RCAD PRO — Topbar */
.rcad-topbar{background:var(--rcad-topbar-bg,#222);color:var(--rcad-topbar-color,#ccc);font-size:12px;line-height:1;border-bottom:1px solid rgba(255,255,255,.08)}
.rcad-topbar-inner{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:16px}
.rcad-topbar-left{display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0}
.rcad-topbar-date{opacity:.85}
.rcad-topbar-center{flex:1;min-width:0;display:flex;justify-content:flex-start;overflow:hidden}
.rcad-topbar-menu{list-style:none;margin:0;padding:0;display:flex;gap:20px}
.rcad-topbar-menu li a{color:var(--rcad-topbar-color,#ccc);text-decoration:none;font-size:12px;font-weight:500;padding:10px 0;display:block;transition:color .2s}
.rcad-topbar-menu li a:hover{color:#fff}
.rcad-topbar-right{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto}
.rcad-btn-login{background:none;border:none;color:var(--rcad-topbar-color,#ccc);cursor:pointer;font-size:12px;font-weight:500;padding:6px 0;transition:color .2s}
.rcad-btn-login:hover{color:#fff}
.rcad-user-area{display:flex;align-items:center;gap:8px}
.rcad-user-area img,
.rcad-user-area img.avatar,
.rcad-topbar img.avatar{
    width:24px!important;
    height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    border-radius:50%;
    object-fit:cover;
    display:block;
}
.rcad-user-name{color:var(--rcad-topbar-color,#ccc);text-decoration:none;font-size:12px;font-weight:500}
.rcad-user-name:hover{color:#fff}
.rcad-logout{color:#999;text-decoration:none;font-size:14px;opacity:.6;transition:opacity .2s}
.rcad-logout:hover{opacity:1;color:#ff5555}
.rcad-topbar-cta{display:inline-block;background:var(--rcad-topbar-cta,#ff7c00);color:#fff!important;font-size:11px;font-weight:700;padding:6px 14px;border-radius:3px;text-decoration:none;text-transform:uppercase;letter-spacing:.03em;transition:background .2s}
.rcad-topbar-cta:hover{filter:brightness(.9)}
@media(max-width:768px){
    /* Ocultar topbar completa en móvil excepto el área de login/usuario */
    .rcad-topbar-left,
    .rcad-topbar-center,
    .rcad-topbar-date,
    .rcad-topbar-menu{display:none!important}
    .rcad-topbar-inner{justify-content:flex-end;min-height:36px;padding:0 4px}
    .rcad-topbar-right{width:100%;justify-content:center}
}

/* Salir button */
.rcad-btn-salir{display:inline-block;padding:4px 12px;background:rgba(255,255,255,.1);color:#ccc!important;font-size:11px;font-weight:600;border-radius:4px;text-decoration:none;transition:all .2s;border:1px solid rgba(255,255,255,.15)}
.rcad-btn-salir:hover{background:rgba(255,80,80,.2);color:#ff6666!important;border-color:rgba(255,80,80,.3)}

/* WP admin bar: keep native avatar from stretching inside the public header */
#wpadminbar #wp-admin-bar-my-account.with-avatar > a img,
#wpadminbar .ab-item img.avatar,
#wpadminbar img.avatar {
    width:16px!important;
    height:16px!important;
    max-width:16px!important;
    max-height:16px!important;
    min-width:16px!important;
    min-height:16px!important;
    object-fit:cover!important;
    border-radius:50%!important;
}


/* ===== SOURCE: css/news-ticker.css ===== */
/* ============================================================
   RCAD PRO — News Ticker + Home Carousel v1
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   B: TICKER en Topbar
   ══════════════════════════════════════════════════════════ */
.rcad-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 600px;
    overflow: hidden;
    height: 38px;
}

/* Badge "NUEVO" */
.rcad-ticker__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5a623;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 3px 9px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}
.rcad-ticker__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: rcad-blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes rcad-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}

/* Track contenedor con máscara de fade en los bordes */
.rcad-ticker__track-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

/* Lista animada */
.rcad-ticker__track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    width: max-content;
    animation: rcad-ticker-scroll 40s linear infinite;
}
.rcad-ticker__track:hover {
    animation-play-state: paused;
}
@keyframes rcad-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* -50% porque duplicamos los items */
}

.rcad-ticker__item {
    display: flex;
    align-items: center;
    padding: 0 28px 0 0;
    white-space: nowrap;
    position: relative;
}
/* Separador · entre items */
.rcad-ticker__item::after {
    content: '·';
    position: absolute;
    right: 10px;
    color: rgba(255,255,255,.3);
    font-size: 16px;
    line-height: 1;
}
.rcad-ticker__link {
    color: rgba(255,255,255,.8) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: color .15s !important;
    white-space: nowrap !important;
}
.rcad-ticker__link:hover {
    color: #f5a623 !important;
    text-decoration: none !important;
}

/* Responsive: ocultar en móvil (topbar ya se oculta) */
@media (max-width: 768px) {
    .rcad-ticker { display: none; }
}


/* ══════════════════════════════════════════════════════════
   C: CARRUSEL HOME
   ══════════════════════════════════════════════════════════ */
.rcad-carousel-section {
    margin: 0 0 32px;
    width: 100%;
}

/* Header con título y botones */
.rcad-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.rcad-carousel-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rcad-carousel-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: #f5a623;
    border-radius: 2px;
    margin-left: 4px;
}
.rcad-carousel-nav {
    display: flex;
    gap: 6px;
}
.rcad-carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e0d8cc;
    background: #fff;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
    line-height: 1;
}
.rcad-carousel-btn:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #fff;
}
.rcad-carousel-btn:disabled {
    opacity: .35;
    cursor: default;
}

/* Viewport con overflow hidden */
.rcad-carousel-viewport {
    overflow: hidden;
    width: 100%;
}
.rcad-carousel-track {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

/* Card individual */
.rcad-carousel-item {
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}
.rcad-carousel-card {
    display: block;
    text-decoration: none !important;
    border: 1px solid #ede8df;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
    height: 100%;
}
.rcad-carousel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Imagen */
.rcad-carousel-card__img {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: #f5f0e8;
}
.rcad-carousel-card__img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.rcad-carousel-card:hover .rcad-carousel-card__img img {
    transform: scale(1.04);
}
.rcad-carousel-card__no-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ccc;
}
/* Badge NUEVO */
.rcad-carousel-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f5a623;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 3px 7px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 1;
}

/* Body */
.rcad-carousel-card__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rcad-carousel-card__cat {
    font-size: 10.5px;
    font-weight: 700;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.rcad-carousel-card__title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #222 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rcad-carousel-card:hover .rcad-carousel-card__title {
    color: #f5a623 !important;
}
.rcad-carousel-card__date {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}

/* ── Responsive carrusel ────────────────────────────────── */
@media (max-width: 1024px) {
    .rcad-carousel-item { flex: 0 0 calc(33.333% - 11px); }
}
@media (max-width: 768px) {
    .rcad-carousel-item { flex: 0 0 calc(50% - 8px); }
    .rcad-carousel-title { font-size: 15px !important; }
}
@media (max-width: 480px) {
    .rcad-carousel-item { flex: 0 0 calc(100% - 0px); }
    .rcad-carousel-track { gap: 12px; }
}

/* ══════════════════════════════════════════════════════════
   D: TICKER OVERLAY — sobre imagen destacada (single)
   Newspaper-style: barra oscura semitransparente en la base
   ══════════════════════════════════════════════════════════ */

/*
 * El ticker se inserta via orbital_after_single_header
 * PERO necesita vivir visualmente DENTRO de la imagen.
 * Usamos un hack CSS: margin negativo + z-index para
 * que se posicione encima del último elemento renderizado
 * (la imagen destacada del tema padre).
 */
.rcad-feat-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, rgba(0,0,0,.85) 0%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.4) 100%);
    padding: 10px 16px;
    margin-top: -46px;       /* sube encima de la imagen */
    position: relative;
    z-index: 10;
    height: 46px;
    overflow: hidden;
    /* Borde naranja superior */
    border-top: 3px solid #f5a623;
    box-sizing: border-box;
}

/* Badge NUEVO */
.rcad-feat-ticker__label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5a623;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 3px 9px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
}
.rcad-feat-ticker__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: rcad-blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Track */
.rcad-feat-ticker__wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
.rcad-feat-ticker__track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    animation: rcad-ticker-scroll 35s linear infinite;
}
.rcad-feat-ticker__track:hover {
    animation-play-state: paused;
}
.rcad-feat-ticker__item {
    display: flex;
    align-items: center;
    padding: 0 32px 0 0;
    position: relative;
    white-space: nowrap;
}
.rcad-feat-ticker__item::after {
    content: '·';
    position: absolute;
    right: 12px;
    color: rgba(255,255,255,.4);
    font-size: 18px;
    line-height: 1;
}
.rcad-feat-ticker__link {
    color: rgba(255,255,255,.9) !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    transition: color .15s !important;
    white-space: nowrap !important;
}
.rcad-feat-ticker__link:hover {
    color: #f5a623 !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .rcad-feat-ticker {
        height: 40px;
        margin-top: -40px;
        padding: 8px 12px;
        gap: 8px;
    }
    .rcad-feat-ticker__link { font-size: 11.5px !important; }
}

/* ══════════════════════════════════════════════════════════
   E: STRIP CARRUSEL — últimas entradas debajo imagen (single)
   ══════════════════════════════════════════════════════════ */

/* Outer wrapper — mismo ancho exacto que .rcad-bc-wrap y .rcad-cat-block */
.rcad-strip-outer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: block !important;
}
.rcad-strip {
    margin: 0 0 8px !important;
    border: 1px solid #ede8df !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: block !important;
}
.rcad-strip__header {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 12px !important;
    background: #fafaf8 !important;
    border-bottom: 1px solid #ede8df !important;
}
.rcad-strip__dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #f5a623 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    animation: rcad-blink 1.4s ease-in-out infinite !important;
}
.rcad-strip__title {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: #555 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-strip__nav {
    display: flex !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}
.rcad-strip__btn {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e0d8cc !important;
    background: #fff !important;
    color: #777 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all .15s !important;
    line-height: 1 !important;
    padding: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
}
.rcad-strip__btn:hover {
    background: #f5a623 !important;
    border-color: #f5a623 !important;
    color: #fff !important;
}
.rcad-strip__btn:disabled {
    opacity: .3 !important;
    cursor: default !important;
}
/* Viewport */
.rcad-strip__viewport {
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}
/* Track — CRÍTICO: flex horizontal */
.rcad-strip__track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 8px !important;
    gap: 8px !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1) !important;
    will-change: transform !important;
    box-sizing: border-box !important;
    width: max-content !important;
}
/* Item */
.rcad-strip__item {
    flex: 0 0 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}
/* Card */
.rcad-strip__card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    border: 1px solid #f0ebe3 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #fafaf8 !important;
    transition: box-shadow .15s, transform .15s !important;
    height: 100% !important;
    box-sizing: border-box !important;
}
.rcad-strip__card:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.1) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}
/* Thumb 16:9 */
.rcad-strip__thumb {
    position: relative !important;
    width: 100% !important;
    padding-top: 56% !important;
    overflow: hidden !important;
    background: #f0ebe3 !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.rcad-strip__thumb img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    transition: transform .25s !important;
    display: block !important;
}
.rcad-strip__card:hover .rcad-strip__thumb img {
    transform: scale(1.06) !important;
}
.rcad-strip__no-img {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
}
.rcad-strip__badge {
    position: absolute !important;
    top: 4px !important; left: 4px !important;
    background: #f5a623 !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    padding: 2px 5px !important;
    border-radius: 2px !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    z-index: 1 !important;
}
/* Info */
.rcad-strip__info {
    padding: 6px 8px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
}
.rcad-strip__cat {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #f5a623 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    margin: 0 !important; padding: 0 !important;
}
.rcad-strip__name {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color .15s !important;
    margin: 0 !important; padding: 0 !important;
}
.rcad-strip__card:hover .rcad-strip__name {
    color: #f5a623 !important;
}
@media (max-width: 768px) {
    .rcad-strip { display: none !important; }
}


/* ===== SOURCE: css/mega-menu-v7.css ===== */
/* ============================================================
   RCAD PRO — Mega Menu v14 — CSS puro, sin JS de posición
   ============================================================
   CAUSA RAÍZ RESUELTA:
   html/body tenían overflow-x:hidden → creaban containing block
   para position:absolute → el panel no podía usar left:0;right:0

   SOLUCIÓN:
   overflow-x:clip en html/body (en layout.css y style.css).
   clip recorta visualmente igual que hidden pero NO crea
   containing block, por lo que position:absolute funciona
   correctamente respecto al ancestro position:relative más cercano.

   ARQUITECTURA:
   .rcad-mm-bar (position:relative) ← ancla del panel
     .rcad-mm-inner
       ul.primary-menu
         li (position:relative) ← para el caret y sub-sub
           ul.sub-menu (position:absolute, top:100%, left:0, right:0)
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   VARIABLES
   ════════════════════════════════════════════════════════════ */
:root {
    --mm-accent:   #f5a623;
    --mm-text:     #fff;
    --mm-hover-bg: rgba(0,0,0,.15);
    --mm-panel-bg: #fff;
    --mm-shadow:   0 8px 28px rgba(0,0,0,.12);
    --mm-link-fs:  12.5px;
    --mm-group-fs: 11px;
    --mm-sub-fs:   12.5px;
    --mm-col-min:  140px;
    --mm-col-max:  200px;
}

/* ════════════════════════════════════════════════════════════
   1. OCULTAR menú nativo de Orbital inline con el logo
   ════════════════════════════════════════════════════════════ */
@media (min-width: 1000px) {
    .site-header .header-navigation-wrapper {
        display: none !important;
    }
}

/* ════════════════════════════════════════════════════════════
   2. BARRA NARANJA
   position:relative es el ancla del panel.
   overflow:visible permite que el panel salga por debajo.
   SIN transform ni overflow:hidden — rompería el absolute.
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar {
    display: none;
    width: 100%;
    background: var(--mm-accent);
    position: relative;         /* ← ancla del panel */
    overflow: visible;          /* ← CRÍTICO: no recortar el panel */
    z-index: 1000;
    box-sizing: border-box;
}

/* ════════════════════════════════════════════════════════════
   3. INNER — centrado al ancho del slider
   position:static para que el panel se ancle al .rcad-mm-bar
   ════════════════════════════════════════════════════════════ */
.rcad-mm-inner {
    max-width: 100%;
    width: var(--site-width-rem, 75rem);
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    position: static;           /* panel se ancla al bar, no aquí */
    overflow: visible;
    display: flex;
    align-items: stretch;
}

/* ════════════════════════════════════════════════════════════
   4. LISTA HORIZONTAL
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar ul.primary-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
    box-sizing: border-box !important;
    max-width: none !important;
    position: static !important;
}

/* Los <li>: position:relative para anclar carets y sub-sub-menus */
.rcad-mm-bar .primary-menu > li {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ════════════════════════════════════════════════════════════
   5. LINKS DE PRIMER NIVEL
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar .primary-menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 13px 15px !important;
    color: var(--mm-text) !important;
    font-size: var(--mm-link-fs) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    background: transparent !important;
    border-bottom: none !important;
    transition: background .15s !important;
}
.rcad-mm-bar .primary-menu > li > a:hover,
.rcad-mm-bar .primary-menu > li.mm-active > a,
.rcad-mm-bar .primary-menu > li.current-menu-item > a,
.rcad-mm-bar .primary-menu > li.current-menu-ancestor > a {
    background: var(--mm-hover-bg) !important;
    color: var(--mm-text) !important;
    text-decoration: none !important;
}

.rcad-mm-bar .primary-menu .rcad-menu-term-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
}

.rcad-mm-bar .primary-menu .rcad-menu-term-icon svg {
    width: 15px;
    height: 15px;
    display: block;
}

/* Caret */
.rcad-mm-bar .primary-menu > li.menu-item-has-children > a > .icon {
    display: none !important;
}
.rcad-mm-bar .primary-menu > li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    border-left: 4px solid transparent !important;
    border-right: 4px solid transparent !important;
    border-top: 5px solid rgba(255,255,255,.75) !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
    transition: transform .2s !important;
}
.rcad-mm-bar .primary-menu > li.mm-active > a::after,
.rcad-mm-bar .primary-menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg) !important;
}

/* ════════════════════════════════════════════════════════════
   6. MEGA PANEL — position:fixed para máxima compatibilidad
   Usar fixed garantiza que el panel ocupe siempre el 100% del
   viewport sin verse afectado por overflow, transform o
   containing blocks de Orbital o de plugins de terceros.
   El JS actualiza --mm-bar-bottom en cada resize/scroll.
   ════════════════════════════════════════════════════════════ */
:root {
    --mm-bar-bottom: 0px; /* actualizado por JS */
}

.rcad-mm-bar .primary-menu > li > ul.sub-menu {
    display: none !important;
    position: fixed !important;
    top: var(--mm-bar-bottom) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: var(--mm-panel-bg) !important;
    border-top: 3px solid var(--mm-accent) !important;
    border-bottom: 1px solid #e5e5e5 !important;
    box-shadow: var(--mm-shadow) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    font-size: 1rem !important;
    color: #222 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Panel visible — JS añade mm-active / is-open
   El panel es position:fixed; left:0; width:100vw.
   Centramos el contenido al ancho del site con
   padding lateral calculado: (100vw - site-width) / 2 */
.rcad-mm-bar .primary-menu > li.mm-active > ul.sub-menu,
.rcad-mm-bar .primary-menu > li > ul.sub-menu.is-open {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(var(--mm-col-min), var(--mm-col-max))) !important;
    gap: 24px 20px !important;
    align-items: start !important;
    /* Centrar contenido al ancho real del site (--mm-site-w lo actualiza JS en cada resize).
       Fallback: 75rem (~1200px) si JS no corrió aún. */
    padding: 24px max(20px, calc((100vw - var(--mm-site-w, 75rem)) / 2)) 28px !important;
    box-sizing: border-box !important;
}

/* ════════════════════════════════════════════════════════════
   7. GRUPOS Y TÍTULOS
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > a {
    display: block !important;
    font-size: var(--mm-group-fs) !important;
    font-weight: 800 !important;
    color: #111 !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
    text-decoration: none !important;
    padding-bottom: 7px !important;
    margin-bottom: 8px !important;
    border-bottom: 2px solid var(--mm-accent) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.3 !important;
    background: none !important;
    transition: color .15s !important;
}
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > a:hover {
    color: var(--mm-accent) !important;
    text-decoration: none !important;
}

/* ════════════════════════════════════════════════════════════
   8. SUBCATEGORÍAS (nivel 2)
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > ul {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
}
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > ul > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > ul > li > a {
    display: block !important;
    font-size: var(--mm-sub-fs) !important;
    font-weight: 400 !important;
    color: #555 !important;
    text-decoration: none !important;
    padding: 4px 0 4px 10px !important;
    border-left: 2px solid #e8e8e8 !important;
    background: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.6 !important;
    transition: color .12s, border-color .12s !important;
}
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > ul > li > a:hover {
    color: var(--mm-accent) !important;
    border-left-color: var(--mm-accent) !important;
    text-decoration: none !important;
}

/* ════════════════════════════════════════════════════════════
   9. NEUTRALIZAR ESTILOS DE ORBITAL
   CRÍTICO: el selector ul.sub-menu genérico pisaba las reglas
   del panel principal (sección 6). Ahora solo se aplica a
   sub-menús de nivel 2+ dentro del panel, NO al panel mismo.
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar .primary-menu .icon { display: none !important; }
.rcad-mm-bar .primary-menu ul::after,
.rcad-mm-bar .primary-menu ul::before { display: none !important; content: none !important; }

/* Solo neutralizar Orbital en nivel 2+ (sub-menús dentro del panel) */
.rcad-mm-bar .primary-menu > li > ul.sub-menu > li > ul.sub-menu {
    right: auto !important;
    opacity: 1 !important;
    transition: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    width: 100% !important;
    min-width: 0 !important;
    top: auto !important;
}
/* Hover de Orbital en niveles profundos */
.rcad-mm-bar .primary-menu > li > ul.sub-menu li.menu-item-has-children:hover > ul {
    right: auto !important;
    opacity: 1 !important;
    transform: none !important;
}
.rcad-mm-bar .primary-menu > li.menu-item-has-children > a { padding-right: 14px !important; }
.rcad-mm-bar .primary-menu ul li.menu-item-has-children > a { padding-right: 0 !important; }
.rcad-mm-bar ul.primary-menu { margin: 0 !important; }

/* ════════════════════════════════════════════════════════════
   10. LUPA (search-item)
   ════════════════════════════════════════════════════════════ */
.rcad-mm-bar .primary-menu > li.search-item {
    margin-left: auto !important;
    display: flex !important;
    align-items: stretch !important;
    position: relative !important;
}
.rcad-mm-bar .primary-menu > li.search-item > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 16px !important;
    background: rgba(0,0,0,.15) !important;
    color: #fff !important;
    border-radius: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 1rem !important;
    border-bottom: none !important;
}
.rcad-mm-bar .primary-menu > li.search-item > a:hover { background: rgba(0,0,0,.25) !important; }
.rcad-mm-bar .primary-menu > li.search-item svg {
    width: 18px !important; height: 18px !important;
    max-width: 18px !important; max-height: 18px !important;
    fill: #fff !important; display: block !important;
}
.rcad-mm-bar .primary-menu > li.search-item > ul.sub-menu { display: none !important; }

/* Searchbox */
.rcad-mm-searchbox {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15); min-width: 300px;
    z-index: 99998; box-sizing: border-box;
    border-top: 3px solid var(--mm-accent);
}
.rcad-mm-searchbox.is-open { display: block; }
.rcad-mm-searchbox form { display: flex; }
.rcad-mm-searchbox input[type="search"] {
    flex: 1; padding: 9px 12px; border: 1px solid #ddd;
    border-right: none; border-radius: 4px 0 0 4px;
    font-size: 14px; outline: none; min-width: 0;
}
.rcad-mm-searchbox input[type="search"]:focus {
    border-color: var(--mm-accent);
    box-shadow: 0 0 0 2px rgba(245,166,35,.2);
}
.rcad-mm-searchbox button {
    padding: 9px 16px; background: var(--mm-accent); color: #fff;
    border: none; border-radius: 0 4px 4px 0; cursor: pointer;
    font-size: 14px; font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   11. MODAL MÓVIL
   ════════════════════════════════════════════════════════════ */
.menu-modal { background: #1a1a2e !important; }
.menu-modal-inner, .menu-wrapper { background: #1a1a2e !important; width: 100% !important; }
button.close-nav-toggle {
    color: #fff !important; padding: 1.2rem 1.5rem !important;
    background: rgba(255,255,255,.05) !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
}
button.close-nav-toggle .toggle-text {
    color: #fff !important; font-size: .9rem !important;
    font-weight: 600 !important; text-transform: uppercase !important;
}
.modal-menu li { border-color: rgba(255,255,255,.1) !important; }
.modal-menu > li > a,
.modal-menu > li > .ancestor-wrapper > a {
    color: #fff !important; font-size: .95rem !important;
    font-weight: 600 !important; padding: 1rem 1.5rem !important;
}
.modal-menu > li > a:hover,
.modal-menu > li > .ancestor-wrapper > a:hover { color: var(--mm-accent) !important; text-decoration: none !important; }
.modal-menu li.current-menu-item > .ancestor-wrapper > a,
.modal-menu li.current-menu-item > a { color: var(--mm-accent) !important; text-decoration: none !important; }
.modal-menu ul li { border-left: 3px solid rgba(245,166,35,.3) !important; }
.modal-menu ul li a { color: rgba(255,255,255,.75) !important; font-size: .875rem !important; padding: .75rem 1.5rem !important; }
.modal-menu ul li a:hover { color: var(--mm-accent) !important; text-decoration: none !important; }
button.sub-menu-toggle { color: #fff !important; border-left-color: rgba(255,255,255,.1) !important; padding: 0 1rem !important; }
button.sub-menu-toggle.active { background: rgba(245,166,35,.15) !important; }
.modal-menu li.search-item, .menu-modal .search-item { display: none !important; }
.rcad-mobile-search {
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
}
.rcad-mobile-search form { display: flex !important; gap: 8px !important; }
.rcad-mobile-search input[type="search"] {
    flex: 1 !important; padding: 10px 14px !important; border: none !important;
    border-radius: 6px !important; font-size: .9rem !important;
    background: rgba(255,255,255,.12) !important; color: #fff !important;
    outline: none !important; min-width: 0 !important;
}
.rcad-mobile-search input::placeholder { color: rgba(255,255,255,.5) !important; }
.rcad-mobile-search input:focus { background: rgba(255,255,255,.2) !important; box-shadow: 0 0 0 2px var(--mm-accent) !important; }
.rcad-mobile-search button {
    padding: 10px 16px !important; background: var(--mm-accent) !important;
    color: #fff !important; border: none !important; border-radius: 6px !important;
    font-weight: 700 !important; cursor: pointer !important; flex-shrink: 0 !important;
}

/* ════════════════════════════════════════════════════════════
   12. RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 999px) {
    .rcad-mm-bar { display: none !important; }
}
@media (min-width: 1000px) {
    .rcad-mm-bar { display: block !important; }
    .nav-toggle { display: none !important; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
    :root { --mm-col-min: 120px; --mm-col-max: 170px; }
    .rcad-mm-bar .primary-menu > li > a { padding: 13px 10px !important; font-size: 12px !important; }
}
@media (min-width: 1280px) {
    :root { --mm-col-min: 150px; --mm-col-max: 220px; }
}

/* RCAD desktop overflow + compact dropdowns */
.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: 280px !important;
    min-width: 240px !important;
    max-width: min(320px, calc(100vw - 24px)) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-top: 3px solid var(--mm-accent) !important;
    border-radius: 0 0 6px 6px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.14) !important;
    z-index: 99999 !important;
    color: #111 !important;
    transform: none !important;
    opacity: 1 !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown.mm-active > ul.sub-menu,
.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown:hover > ul.sub-menu {
    display: block !important;
}

.rcad-mm-bar .primary-menu > li.rcad-more-item > ul.sub-menu {
    left: auto !important;
    right: 0 !important;
}

.rcad-mm-bar .primary-menu > li.rcad-more-empty {
    display: none !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 36px !important;
    padding: 9px 14px !important;
    border: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu > li > a:hover {
    background: #fff7ed !important;
    color: #b45309 !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li.menu-item-has-children > a::after {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-left: 5px solid currentColor !important;
    flex: 0 0 auto !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li > ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: -9px !important;
    left: 100% !important;
    right: auto !important;
    width: 280px !important;
    min-width: 240px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-top: 3px solid var(--mm-accent) !important;
    border-radius: 0 0 6px 6px !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.14) !important;
    z-index: 100000 !important;
    opacity: 1 !important;
    transform: none !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li.rcad-open-left > ul.sub-menu {
    left: auto !important;
    right: 100% !important;
}

.rcad-mm-bar .primary-menu > li.rcad-more-item > ul.rcad-more-sub li.menu-item-has-children > ul.sub-menu {
    left: auto !important;
    right: 100% !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li.mm-active > ul.sub-menu,
.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li:hover > ul.sub-menu {
    display: block !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li > ul.sub-menu > li > a {
    display: block !important;
    min-height: 34px !important;
    padding: 8px 14px !important;
    border: 0 !important;
    background: #fff !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
}

.rcad-mm-bar .primary-menu > li.rcad-simple-dropdown > ul.sub-menu li > ul.sub-menu > li > a:hover {
    background: #fff7ed !important;
    color: #b45309 !important;
}

/* RCAD containment hardening: keep the desktop menu away from viewport edges */
@media (min-width: 1000px) {
    .rcad-mm-inner {
        width: min(var(--site-width-rem, 75rem), calc(100vw - 48px)) !important;
        max-width: calc(100vw - 48px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rcad-mm-bar ul.primary-menu {
        min-width: 0 !important;
        overflow: visible !important;
    }

    .rcad-mm-bar .primary-menu > li {
        flex: 0 0 auto !important;
    }

    .rcad-mm-bar .primary-menu > li.search-item {
        margin-left: 0 !important;
        flex: 0 0 auto !important;
    }
}


/* ===== SOURCE: css/accordion.css ===== */
/* ============================================================
   RCAD PRO - Sidebar Accordion, elegant CAD directory style
   ============================================================ */

.rcad-sidebar-accordion {
    --rcad-side-yellow: #f6a800;
    --rcad-side-yellow-dark: #d88f00;
    --rcad-side-yellow-soft: #fff7df;
    --rcad-side-blue: #071b46;
    --rcad-side-text: #172033;
    --rcad-side-muted: #667085;
    --rcad-side-line: #e7ebf1;
    --rcad-side-soft: #f8fafc;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    margin: 18px auto;
    border: 1px solid var(--rcad-side-line);
    border-radius: 22px;
    background: #fff;
    color: var(--rcad-side-text);
    box-shadow: none;
}

.widget_rcad_accordion_menu,
.widget:has(.rcad-sidebar-accordion) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.rcad-sidebar-title {
    position: relative;
    margin: 0;
    min-height: 88px;
    padding: 38px 18px 18px 62px;
    border-bottom: 1px solid var(--rcad-side-line);
    background: #fafafa;
    color: var(--rcad-side-blue);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
}

.rcad-sidebar-title::before {
    content: "Biblioteca DWG";
    position: absolute;
    left: 18px;
    top: 22px;
    color: var(--rcad-side-yellow-dark);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.rcad-sidebar-title::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background:
        linear-gradient(var(--rcad-side-yellow-dark), var(--rcad-side-yellow-dark)) 10px 9px/4px 4px no-repeat,
        linear-gradient(var(--rcad-side-yellow-dark), var(--rcad-side-yellow-dark)) 18px 9px/4px 4px no-repeat,
        linear-gradient(var(--rcad-side-yellow-dark), var(--rcad-side-yellow-dark)) 10px 17px/4px 4px no-repeat,
        linear-gradient(var(--rcad-side-yellow-dark), var(--rcad-side-yellow-dark)) 18px 17px/4px 4px no-repeat,
        var(--rcad-side-yellow-soft);
}

.rcad-accordion-menu,
.rcad-acc-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rcad-accordion-menu {
    padding: 10px;
}

.rcad-acc-item {
    position: relative;
    margin: 0 0 4px;
    border: 0;
}

.rcad-acc-item:last-child {
    margin-bottom: 0;
}

.rcad-acc-row {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    transition: background .16s ease, color .16s ease;
}

.rcad-acc-row:hover {
    background: var(--rcad-side-soft);
}

.rcad-acc-link {
    min-width: 0;
    flex: 1;
    padding: 8px 9px;
    color: var(--rcad-side-text);
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
}

.rcad-acc-link:hover,
.rcad-acc-link:focus-visible {
    color: var(--rcad-side-blue);
    text-decoration: none;
}

.rcad-acc-btn {
    width: 38px;
    min-height: 42px;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: transparent;
    color: #a7b0bd;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.rcad-acc-btn:hover,
.rcad-acc-btn:focus-visible {
    background: rgba(246, 168, 0, .08);
    color: var(--rcad-side-yellow-dark);
}

.rcad-acc-sym {
    width: 14px;
    height: 14px;
    overflow: hidden;
    color: transparent;
    display: block;
    position: relative;
}

.rcad-acc-sym::before {
    content: "›";
    position: absolute;
    inset: 0;
    color: #a7b0bd;
    display: grid;
    place-items: center;
    font-size: 16px;
    line-height: 1;
    transition: transform .18s ease, color .18s ease;
}

.rcad-acc-btn[aria-expanded="true"] .rcad-acc-sym::before {
    color: var(--rcad-side-yellow-dark);
    transform: rotate(90deg);
}

.rcad-acc-current > .rcad-acc-row,
.rcad-acc-ancestor > .rcad-acc-row {
    background: var(--rcad-side-yellow-soft);
}

.rcad-acc-current > .rcad-acc-row::before,
.rcad-acc-ancestor > .rcad-acc-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 999px;
    background: var(--rcad-side-yellow);
}

.rcad-acc-current > .rcad-acc-row > .rcad-acc-link,
.rcad-acc-ancestor > .rcad-acc-row > .rcad-acc-link {
    color: var(--rcad-side-blue);
    font-weight: 800;
}

.rcad-icon {
    width: 30px;
    height: 30px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    background: #f8fafc;
    color: var(--rcad-side-yellow-dark);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1;
}

.rcad-icon img,
.rcad-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.rcad-icon svg {
    fill: none;
    stroke: currentColor;
}

.rcad-icon-svg svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.rcad-acc-current > .rcad-acc-row .rcad-icon,
.rcad-acc-ancestor > .rcad-acc-row .rcad-icon {
    border-color: #f1cf78;
    background: #fff;
}

.rcad-acc-link:not(:has(.rcad-icon))::before {
    content: "";
    width: 30px;
    height: 30px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    background:
        linear-gradient(var(--rcad-side-muted), var(--rcad-side-muted)) 8px 8px/10px 2px no-repeat,
        linear-gradient(var(--rcad-side-muted), var(--rcad-side-muted)) 8px 13px/10px 2px no-repeat,
        #f8fafc;
    flex: 0 0 auto;
}

.rcad-acc-d0,
.rcad-acc-d1 {
    margin: 2px 0 6px 14px;
    padding: 3px 0 3px 8px;
    border-left: 1px solid var(--rcad-side-line);
    background: transparent;
}

.rcad-acc-d0 .rcad-acc-row,
.rcad-acc-d1 .rcad-acc-row {
    min-height: 32px;
}

.rcad-acc-d0 .rcad-acc-link,
.rcad-acc-d1 .rcad-acc-link {
    padding: 6px 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 600;
}

.rcad-acc-d1 {
    margin-left: 12px;
}

.rcad-sidebar-explore {
    position: relative;
    margin: 0;
    padding: 12px;
    border-top: 1px solid var(--rcad-side-line);
    background: #fafafa;
}

.rcad-sidebar-explore::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid var(--rcad-side-line);
    border-radius: 16px;
    background: #fff;
    pointer-events: none;
}

.rcad-sidebar-explore-title,
.rcad-sidebar-explore p,
.rcad-sidebar-explore a {
    position: relative;
    z-index: 1;
    margin: 0;
}

.rcad-sidebar-explore-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 13px 0;
    color: var(--rcad-side-blue);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.25;
}

.rcad-sidebar-explore-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: var(--rcad-side-yellow-soft);
    color: var(--rcad-side-yellow-dark);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rcad-sidebar-explore-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.rcad-sidebar-explore p {
    margin-top: 8px;
    padding: 0 13px;
    color: var(--rcad-side-muted);
    font-size: 11.5px;
    line-height: 1.4;
}

.rcad-sidebar-explore a {
    display: inline-flex;
    margin: 10px 13px 13px;
    color: var(--rcad-side-yellow-dark);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.rcad-sidebar-explore a:hover,
.rcad-sidebar-explore a:focus-visible {
    text-decoration: underline;
}

/* Hide duplicated search widgets in sidebars. */
.widget-area .search-form,
.widget-area .widget_search,
.rcad-accordion-menu > .menu-item.search-item,
.rcad-acc-sub > .menu-item.search-item {
    display: none !important;
}

@media (max-width: 991px) {
    #content-wrapper.flex {
        flex-direction: column;
    }

    #content-wrapper.flex > #secondary,
    #content-wrapper.flex > .entry-aside {
        width: 100%;
    }

    .rcad-sidebar-accordion {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .widget_rcad_accordion_menu,
    .widget:has(.rcad-sidebar-accordion) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}


/* ===== SOURCE: css/accordion-v346.css ===== */
/* ============================================================
   RCAD v346 — Menú lateral acordeón profesional
   Paleta oficial RecursosCAD: #071b46 + #f6a800
   ============================================================ */
.widget_rcad_accordion_menu,
.widget:has(.rcad-sidebar-accordion) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rcad-sidebar-accordion {
    --rcad-navy: #071b46;
    --rcad-yellow: #f6a800;
    --rcad-yellow-dark: #d99100;
    --rcad-yellow-soft: #fff7e5;
    --rcad-text: #172033;
    --rcad-muted: #667085;
    --rcad-border: #dfe5ed;
    --rcad-hover: #f7f9fc;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--rcad-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(7,27,70,.055) !important;
    color: var(--rcad-text);
}

.rcad-sidebar-title {
    position: relative;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 17px 18px 16px 48px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--rcad-border) !important;
    background: var(--rcad-navy) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}
.rcad-sidebar-title::before {
    content: "" !important;
    position: absolute !important;
    left: 17px !important;
    top: 50% !important;
    width: 20px !important;
    height: 20px !important;
    transform: translateY(-50%) !important;
    border-radius: 6px !important;
    background:
      linear-gradient(#fff,#fff) 5px 5px/10px 2px no-repeat,
      linear-gradient(#fff,#fff) 5px 9px/10px 2px no-repeat,
      linear-gradient(#fff,#fff) 5px 13px/7px 2px no-repeat,
      rgba(255,255,255,.12) !important;
    opacity: .95;
}
.rcad-sidebar-title::after { display:none !important; content:none !important; }

.rcad-accordion-menu {
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
    background: #fff !important;
}
.rcad-accordion-menu .rcad-acc-item { margin: 0 !important; }
.rcad-acc-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    background: transparent !important;
    transition: background-color .15s ease !important;
}
.rcad-acc-row:hover { background: var(--rcad-hover) !important; }

.rcad-acc-link {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 8px 8px !important;
    color: var(--rcad-text) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.28 !important;
    text-decoration: none !important;
}
.rcad-acc-link:hover,
.rcad-acc-link:focus { color: var(--rcad-navy) !important; text-decoration:none !important; }

.rcad-acc-btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin-right: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #667085 !important;
    cursor: pointer !important;
}
.rcad-acc-btn:hover,
.rcad-acc-btn:focus-visible { background: var(--rcad-yellow-soft) !important; color: var(--rcad-yellow-dark) !important; outline:none !important; }
.rcad-acc-sym { width: 18px !important; height: 18px !important; color: transparent !important; position:relative !important; display:block !important; margin:auto !important; }
.rcad-acc-sym::before {
    content: "›" !important;
    position:absolute !important;
    inset:0 !important;
    display:grid !important;
    place-items:center !important;
    color: currentColor !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    transition: transform .15s ease !important;
}
.rcad-acc-btn[aria-expanded="true"] { color: var(--rcad-yellow-dark) !important; }
.rcad-acc-btn[aria-expanded="true"] .rcad-acc-sym::before { transform: rotate(90deg) !important; }

.rcad-acc-current > .rcad-acc-row,
.rcad-acc-ancestor > .rcad-acc-row {
    background: var(--rcad-yellow-soft) !important;
}
.rcad-acc-current > .rcad-acc-row::before,
.rcad-acc-ancestor > .rcad-acc-row::before {
    content:"" !important;
    position:absolute !important;
    left:-8px !important;
    top:7px !important;
    bottom:7px !important;
    width:3px !important;
    border-radius:999px !important;
    background:var(--rcad-yellow) !important;
}
.rcad-acc-current > .rcad-acc-row > .rcad-acc-link,
.rcad-acc-ancestor > .rcad-acc-row > .rcad-acc-link { color:var(--rcad-navy) !important; font-weight:800 !important; }

.rcad-icon,
.rcad-acc-link:not(:has(.rcad-icon))::before {
    box-sizing:border-box !important;
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
    border:1px solid #e8edf3 !important;
    border-radius:7px !important;
    background:#f8fafc !important;
    color:var(--rcad-yellow-dark) !important;
}
.rcad-icon { display:grid !important; place-items:center !important; }
.rcad-icon img,.rcad-icon svg { max-width:16px !important; max-height:16px !important; }
.rcad-acc-link:not(:has(.rcad-icon))::before {
    content:"" !important;
    background:
      linear-gradient(var(--rcad-yellow-dark),var(--rcad-yellow-dark)) 7px 7px/12px 2px no-repeat,
      linear-gradient(var(--rcad-yellow-dark),var(--rcad-yellow-dark)) 7px 12px/9px 2px no-repeat,
      #fffaf0 !important;
    border-color:#f3dfaf !important;
}

.rcad-acc-sub {
    display:none;
    list-style:none !important;
    margin: 1px 0 5px 21px !important;
    padding: 2px 0 2px 9px !important;
    border-left: 1px solid #e4e9f0 !important;
    background:transparent !important;
}
.rcad-acc-sub .rcad-acc-row { min-height:34px !important; }
.rcad-acc-sub .rcad-acc-link {
    padding:6px 7px !important;
    font-size:12px !important;
    font-weight:550 !important;
    color:#475467 !important;
}
.rcad-acc-sub .rcad-icon,
.rcad-acc-sub .rcad-acc-link:not(:has(.rcad-icon))::before { display:none !important; }

.rcad-sidebar-explore {
    position:relative !important;
    margin:0 !important;
    padding:14px 16px 15px !important;
    border-top:1px solid var(--rcad-border) !important;
    background:#f9fafb !important;
}
.rcad-sidebar-explore::before { display:none !important; content:none !important; }
.rcad-sidebar-explore-title { padding:0 !important; gap:8px !important; color:var(--rcad-navy) !important; font-size:13px !important; font-weight:800 !important; }
.rcad-sidebar-explore-icon { width:27px !important; height:27px !important; border-radius:7px !important; background:var(--rcad-yellow-soft) !important; color:var(--rcad-yellow-dark) !important; }
.rcad-sidebar-explore p { margin:7px 0 0 !important; padding:0 !important; color:var(--rcad-muted) !important; font-size:11.5px !important; line-height:1.45 !important; }
.rcad-sidebar-explore a { margin:9px 0 0 !important; color:var(--rcad-navy) !important; font-size:11.5px !important; font-weight:800 !important; text-decoration:none !important; }
.rcad-sidebar-explore a:hover { color:var(--rcad-yellow-dark) !important; }

@media (max-width:991px){
  .rcad-sidebar-accordion { border-radius:10px !important; }
}


/* ===== SOURCE: css/accordion-v347.css ===== */
/* ============================================================
   RCAD v347 — Menú Recursos CAD completo
   Boceto aprobado: categorías + más buscados + CTA + accesos.
   Paleta: #071b46 / #f6a800
   ============================================================ */
.widget_rcad_accordion_menu,
.widget:has(.rcad-resource-menu-v347){
  width:100%!important;max-width:100%!important;margin:0 0 20px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.rcad-resource-menu-v347{
  --navy:#071b46;--yellow:#f6a800;--yellow2:#e69a00;--soft:#fff8ea;--ink:#13213e;
  --muted:#667085;--border:#e2e7ee;--hover:#f7f9fc;
  width:100%!important;max-width:100%!important;overflow:hidden!important;background:#fff!important;
  border:1px solid var(--border)!important;border-radius:12px!important;
  box-shadow:none!important;color:var(--ink)!important;
  font-family:inherit!important;
}
.rcad-resource-menu-head{
  display:flex!important;align-items:center!important;gap:12px!important;padding:17px 16px!important;
  background:linear-gradient(135deg,#071b46 0%,#0a2b67 100%)!important;color:#fff!important;
}
.rcad-resource-menu-logo{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;
  border-radius:9px!important;background:var(--yellow)!important;color:#071b46!important;flex:0 0 38px!important;}
.rcad-resource-menu-logo svg{width:25px!important;height:25px!important;display:block!important;}
.rcad-resource-menu-heading{display:flex!important;flex-direction:column!important;min-width:0!important;}
.rcad-resource-menu-heading strong{font-size:14px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:.02em!important;color:#fff!important;}
.rcad-resource-menu-heading small{margin-top:3px!important;font-size:10.8px!important;line-height:1.3!important;color:rgba(255,255,255,.78)!important;font-weight:500!important;}
.rcad-resource-section-title{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 13px!important;border-bottom:1px solid var(--border)!important;background:#fff!important;color:var(--navy)!important;font-size:11.5px!important;font-weight:850!important;letter-spacing:.025em!important;}
.rcad-section-mark{width:3px!important;height:18px!important;border-radius:4px!important;background:var(--yellow)!important;}
.rcad-resource-categories{margin:0!important;padding:0!important;list-style:none!important;background:#fff!important;}
.rcad-resource-categories>.rcad-acc-item{margin:0!important;border-bottom:1px solid var(--border)!important;}
.rcad-resource-categories>.rcad-acc-item:last-child{border-bottom:0!important;}
.rcad-resource-menu-v347 .rcad-acc-row{position:relative!important;display:flex!important;align-items:center!important;min-height:54px!important;border-radius:0!important;background:#fff!important;transition:background .15s ease!important;}
.rcad-resource-menu-v347 .rcad-acc-row:hover{background:var(--hover)!important;}
.rcad-resource-menu-v347 .rcad-acc-link{display:flex!important;align-items:center!important;gap:10px!important;flex:1 1 auto!important;min-width:0!important;padding:8px 4px 8px 13px!important;color:var(--ink)!important;text-decoration:none!important;}
.rcad-resource-menu-v347 .rcad-icon{width:29px!important;height:29px!important;flex:0 0 29px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--yellow)!important;}
.rcad-resource-menu-v347 .rcad-icon svg{width:27px!important;height:27px!important;display:block!important;stroke-width:1.9!important;}
.rcad-cat-copy{display:flex!important;flex-direction:column!important;min-width:0!important;}
.rcad-cat-copy strong{display:block!important;color:var(--navy)!important;font-size:12.3px!important;font-weight:800!important;line-height:1.2!important;}
.rcad-cat-copy small{display:block!important;margin-top:2px!important;color:var(--muted)!important;font-size:9.8px!important;font-weight:500!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.rcad-resource-menu-v347 .rcad-acc-btn{width:38px!important;min-width:38px!important;height:38px!important;margin:0 7px 0 0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--navy)!important;cursor:pointer!important;border-radius:8px!important;}
.rcad-resource-menu-v347 .rcad-acc-btn:hover{background:var(--soft)!important;color:var(--yellow2)!important;}
.rcad-resource-menu-v347 .rcad-acc-sym{position:relative!important;display:block!important;width:18px!important;height:18px!important;margin:auto!important;font-size:0!important;color:currentColor!important;}
.rcad-resource-menu-v347 .rcad-acc-sym:before{content:"›"!important;position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;font-size:21px!important;line-height:1!important;font-weight:600!important;transition:transform .15s ease!important;}
.rcad-resource-menu-v347 .rcad-acc-btn[aria-expanded="true"]{color:var(--yellow2)!important;}
.rcad-resource-menu-v347 .rcad-acc-btn[aria-expanded="true"] .rcad-acc-sym:before{transform:rotate(90deg)!important;}
.rcad-resource-menu-v347 .rcad-acc-parent:has(>.rcad-acc-row>.rcad-acc-btn[aria-expanded="true"])>.rcad-acc-row{background:var(--soft)!important;box-shadow:inset 3px 0 0 var(--yellow)!important;}
.rcad-resource-menu-v347 .rcad-acc-parent:has(>.rcad-acc-row>.rcad-acc-btn[aria-expanded="true"])>.rcad-acc-row .rcad-icon,
.rcad-resource-menu-v347 .rcad-acc-parent:has(>.rcad-acc-row>.rcad-acc-btn[aria-expanded="true"])>.rcad-acc-row .rcad-cat-copy strong{color:var(--yellow2)!important;}
.rcad-resource-menu-v347 .rcad-acc-sub{display:none;list-style:none!important;margin:0!important;padding:2px 0 4px 51px!important;background:#fffaf0!important;border:0!important;border-top:1px solid #f6e8c6!important;}
.rcad-resource-menu-v347 .rcad-acc-sub .rcad-acc-item{margin:0!important;border-bottom:1px solid rgba(246,168,0,.13)!important;}
.rcad-resource-menu-v347 .rcad-acc-sub .rcad-acc-item:last-child{border-bottom:0!important;}
.rcad-resource-menu-v347 .rcad-acc-sub .rcad-acc-row{min-height:35px!important;background:transparent!important;}
.rcad-resource-menu-v347 .rcad-acc-sub .rcad-acc-link{padding:7px 10px 7px 0!important;font-size:10.8px!important;color:#38445a!important;font-weight:600!important;justify-content:space-between!important;}
.rcad-sub-arrow{margin-left:auto!important;color:#7b8798!important;font-size:17px!important;line-height:1!important;}
.rcad-popular-panel{padding:11px 12px 13px!important;background:linear-gradient(180deg,#fffaf0,#fff7e7)!important;border-top:1px solid #f3e3bd!important;border-bottom:1px solid #f3e3bd!important;}
.rcad-popular-title{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 9px!important;color:var(--navy)!important;font-size:11.5px!important;font-weight:850!important;}
.rcad-popular-title span{color:var(--navy)!important;}
.rcad-popular-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
.rcad-popular-card{min-height:72px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:8px 5px!important;border:1px solid #eadfc8!important;border-radius:9px!important;background:#fff!important;color:var(--navy)!important;text-decoration:none!important;text-align:center!important;box-shadow:none!important;transition:transform .15s ease,border-color .15s ease!important;}
.rcad-popular-card:hover{transform:translateY(-1px)!important;border-color:var(--yellow)!important;color:var(--navy)!important;}
.rcad-popular-icon{width:27px!important;height:27px!important;display:grid!important;place-items:center!important;color:var(--yellow2)!important;}
.rcad-popular-icon svg{width:25px!important;height:25px!important;}
.rcad-popular-card>span:last-child{font-size:10px!important;font-weight:750!important;line-height:1.15!important;}
.rcad-resource-download-card{padding:14px 12px 13px!important;background:#fff!important;}
.rcad-download-intro{display:flex!important;align-items:center!important;gap:10px!important;}
.rcad-download-badge{width:42px!important;height:42px!important;flex:0 0 42px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--yellow)!important;color:#fff!important;box-shadow:0 5px 14px rgba(246,168,0,.22)!important;}
.rcad-download-badge svg{width:23px!important;height:23px!important;}
.rcad-download-intro>div{display:flex!important;flex-direction:column!important;}
.rcad-download-intro strong{font-size:13px!important;color:var(--navy)!important;font-weight:850!important;line-height:1.2!important;}
.rcad-download-intro small{margin-top:2px!important;font-size:10px!important;color:var(--muted)!important;}
.rcad-download-benefits{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px 8px!important;margin:11px 2px 12px!important;}
.rcad-download-benefits span{font-size:9.7px!important;color:#344054!important;line-height:1.25!important;}
.rcad-download-benefits span::first-letter{color:#18a43a!important;}
.rcad-resource-main-cta{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:40px!important;padding:8px 10px!important;border-radius:7px!important;background:linear-gradient(135deg,#071b46,#0b3478)!important;color:#fff!important;text-decoration:none!important;font-size:10.8px!important;font-weight:850!important;letter-spacing:.01em!important;box-shadow:0 5px 14px rgba(7,27,70,.13)!important;}
.rcad-resource-main-cta:hover{background:#0a2f6c!important;color:#fff!important;}
.rcad-resource-main-cta svg{width:17px!important;height:17px!important;}
.rcad-resource-quick-links{display:grid!important;grid-template-columns:repeat(3,1fr)!important;border-top:1px solid var(--border)!important;background:#fff!important;}
.rcad-resource-quick-links a{min-height:54px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:7px 4px!important;color:var(--navy)!important;text-decoration:none!important;border-right:1px solid var(--border)!important;}
.rcad-resource-quick-links a:last-child{border-right:0!important;}
.rcad-resource-quick-links a:hover{background:var(--hover)!important;color:var(--yellow2)!important;}
.rcad-resource-quick-links svg{width:19px!important;height:19px!important;}
.rcad-resource-quick-links span{font-size:8.8px!important;font-weight:750!important;text-align:center!important;line-height:1.15!important;}
@media(max-width:991px){
  .rcad-resource-menu-v347{border-radius:10px!important;}
  .rcad-popular-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:620px){
  .rcad-popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .rcad-cat-copy small{white-space:normal!important;}
}


/* ============================================================
   RCAD v379 — Iconos laterales + widget de silos para Home
   ============================================================ */
.rcad-resource-menu-v347 .rcad-resource-categories > .rcad-acc-item > .rcad-acc-row .rcad-icon{
  width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
  flex:0 0 30px!important;color:#f6a800!important;
}
.rcad-resource-menu-v347 .rcad-resource-categories > .rcad-acc-item > .rcad-acc-row .rcad-icon svg,
.rcad-resource-menu-v347 .rcad-resource-categories > .rcad-acc-item > .rcad-acc-row .rcad-icon.rcad-icon-svg svg,
.rcad-resource-menu-v347 .rcad-resource-categories > .rcad-acc-item > .rcad-acc-row .rcad-menu-term-icon svg{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  max-width:24px!important;max-height:24px!important;stroke:#f6a800!important;color:#f6a800!important;
  stroke-width:1.9!important;
}
.rcad-resource-menu-v347 .rcad-resource-categories > .rcad-acc-item > .rcad-acc-row .rcad-icon img{
  width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important;
}

.widget_rcad_home_silos,
.widget:has(.rcad-home-silos-widget){padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.rcad-home-silos-widget{
  --navy:#071b46;--yellow:#f6a800;--muted:#667085;--line:#e2e7ee;
  overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:12px;
  box-shadow:0 8px 26px rgba(7,27,70,.06);
}
.rcad-home-silos-head{padding:15px 15px 13px;background:#fff;border-bottom:1px solid var(--line)}
.rcad-home-silos-head__top{display:flex;align-items:center;gap:10px}
.rcad-home-silos-head__icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:8px;background:#fff7df;color:var(--yellow)}
.rcad-home-silos-head__icon svg{width:23px;height:23px;stroke:currentColor;fill:none}
.rcad-home-silos-head strong{display:block;color:var(--navy);font-size:13.5px;line-height:1.2;font-weight:850}
.rcad-home-silos-head p{margin:4px 0 0;color:var(--muted);font-size:10.5px;line-height:1.35}
.rcad-home-silos-list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.rcad-home-silo{margin:0!important;border-bottom:1px solid var(--line)}
.rcad-home-silo:last-child{border-bottom:0}
.rcad-home-silo>a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px 11px;text-decoration:none!important;background:#fff;transition:background .15s ease,box-shadow .15s ease}
.rcad-home-silo>a:hover{background:#fffaf0;box-shadow:inset 3px 0 0 var(--yellow)}
.rcad-home-silo__icon{width:34px;height:34px;display:grid;place-items:center;color:var(--yellow)}
.rcad-home-silo__icon svg,.rcad-home-silo__icon .rcad-icon svg{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;stroke:currentColor!important;fill:none!important}
.rcad-home-silo__copy{min-width:0;display:flex;flex-direction:column}
.rcad-home-silo__copy strong{color:var(--navy);font-size:11.7px;line-height:1.2;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcad-home-silo__copy small{margin-top:2px;color:var(--muted);font-size:9.4px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rcad-home-silo__meta{display:flex;align-items:center;gap:6px;white-space:nowrap}
.rcad-home-silo__count{min-width:24px;padding:3px 6px;border-radius:999px;background:#fff7df;color:#8a6200;font-size:8.8px;font-weight:800;text-align:center}
.rcad-home-silo__arrow{color:#071b46;font-size:17px;line-height:1}
.rcad-home-silos-foot{padding:10px 12px;border-top:1px solid var(--line);background:#fbfcfe}
.rcad-home-silos-foot a{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--navy)!important;font-size:10.5px;font-weight:800;text-decoration:none!important}
.rcad-home-silos-foot a:hover{color:#c88400!important}
@media(max-width:620px){.rcad-home-silo>a{min-height:55px}.rcad-home-silo__copy small{white-space:normal}}


/* ===== SOURCE: css/adsense.css ===== */
/* RCAD PRO — AdSense v5
   Los banners se auto-ajustan porque .entry-content ya no tiene max-width.
   El max-width:760px se aplica solo a los elementos de texto (p, h1-h4, etc.)
   en global.css, dejando los .banner del padre al ancho completo. */

/* Placeholder visible SOLO para administradores */
.rcad-ad-placeholder--admin {
    padding: 12px;
    margin: 1rem auto;
    background: #fff8e1;
    border: 1px dashed #ffb300;
    color: #666;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
}

/* Utilidad del grid de posts */
.rcad-card-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}


/* RCAD v4.65 — slots AdSense Home + Recursos */
.rcad-ad-slot{
    width:100%;
    max-width:100%;
    margin:28px auto;
    padding:16px 0;
    clear:both;
    overflow:visible;
    text-align:center;
    background:transparent;
    border:0;
    box-shadow:none;
}
.rcad-ad-slot__inner{
    width:100%;
    max-width:100%;
    margin:0 auto;
    overflow:visible;
    text-align:center;
}
.rcad-ad-slot ins.adsbygoogle{
    display:block;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
}
.rcad-ad-slot--resource-top,
.rcad-ad-slot--resource-mid,
.rcad-ad-slot--resource-bottom{
    margin-top:32px;
    margin-bottom:32px;
}
.rcad-resource-download-v350 + .rcad-resource-tools-v442{
    margin-top:24px;
}
@media (max-width:767px){
    .rcad-ad-slot{
        margin:22px auto;
        padding:12px 0;
    }
    .rcad-ad-slot--resource-top,
    .rcad-ad-slot--resource-mid,
    .rcad-ad-slot--resource-bottom{
        margin-top:24px;
        margin-bottom:24px;
    }
}


/* RCAD v4.67 — garantizar visibilidad de slots de portada */
.rcad-home-wrap > .rcad-ad-slot,
.rcad-home-layout-2026 .rcad-ad-slot{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    max-width:100%!important;
    clear:both!important;
}


/* ===== SOURCE: css/modal.css ===== */
/* RCAD PRO — Modal CSS is inline in login-modal.php for reliability */
.rcad-badge-topbar{background:var(--rcad-accent,#ff7c00);color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:8px}


/* ===== SOURCE: css/footer.css ===== */
/* RCAD PRO v72 - Footer CMS */
.rcad-footer.rcad-footer-cms {
    margin-top: 0;
    padding: 34px 24px 16px;
    background: #071b46;
    color: #dbe4f0;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.rcad-footer-cms,
.rcad-footer-cms *,
.rcad-footer-cms *::before,
.rcad-footer-cms *::after { box-sizing: border-box; }

.rcad-footer-cms .rcad-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.rcad-footer-cms .rcad-footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) minmax(120px, .75fr) minmax(120px, .75fr) minmax(120px, .8fr) minmax(260px, 1.4fr);
    gap: 42px;
    align-items: start;
}

.rcad-footer-cms .rcad-footer-brand { min-width: 0; }

.rcad-footer-cms .rcad-footer-logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 225px;
    margin: 0 0 10px;
    color: #fff;
    text-decoration: none;
}

.rcad-footer-cms .rcad-footer-logo-img {
    display: block;
    width: auto;
    max-width: 225px;
    max-height: 58px;
    object-fit: contain;
}

.rcad-footer-cms .rcad-footer-logo span {
    color: #fff;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1;
}
.rcad-footer-cms .rcad-footer-logo strong { color: #f6a800; }

.rcad-footer-cms .rcad-footer-desc {
    max-width: 265px;
    margin: 0;
    color: #d7dfec;
    font-size: 13px;
    line-height: 1.65;
}

.rcad-footer-cms .rcad-footer-col,
.rcad-footer-cms .rcad-footer-newsletter { min-width: 0; }

.rcad-footer-cms .rcad-footer-col h3,
.rcad-footer-cms .rcad-footer-newsletter h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rcad-footer-cms .rcad-footer-col h3::after,
.rcad-footer-cms .rcad-footer-newsletter h3::after { display: none !important; }

.rcad-footer-cms .rcad-footer-col a {
    display: block;
    min-height: 0;
    padding: 0;
    margin: 0 0 11px;
    color: #e4eaf3 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none !important;
}

.rcad-footer-cms .rcad-footer-col a::after { display: none !important; }
.rcad-footer-cms .rcad-footer-col a:hover,
.rcad-footer-cms .rcad-footer-col a:focus-visible { color: #f6a800 !important; }

.rcad-footer-cms .rcad-footer-newsletter > p {
    margin: 0 0 14px;
    color: #e1e7f0;
    font-size: 13px;
    line-height: 1.5;
}

.rcad-footer-newsletter-form { margin: 0; }

.rcad-footer-newsletter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-height: 38px;
    margin-bottom: 10px;
}

.rcad-footer-newsletter-row input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cfd8e6;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    outline: none;
    background: #fff;
    color: #152238;
    font-size: 12px;
}

.rcad-footer-newsletter-row input:focus {
    border-color: #f6a800;
    box-shadow: 0 0 0 2px rgba(246,168,0,.14);
}

.rcad-footer-newsletter-row button {
    height: 38px;
    min-width: 92px;
    padding: 0 14px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #f6a800;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.rcad-footer-newsletter-row button:hover { background: #e99800; }

.rcad-footer-consent {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 7px;
    align-items: start;
    color: #cdd7e5;
    font-size: 10.5px;
    line-height: 1.45;
    cursor: pointer;
}
.rcad-footer-consent input { margin: 2px 0 0; accent-color: #f6a800; }

.rcad-footer-cms .rcad-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.rcad-footer-secure,
.rcad-footer-copy,
.rcad-footer-made {
    color: #b9c5d6;
    font-size: 10.5px;
    line-height: 1.4;
}

.rcad-footer-secure {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: start;
}
.rcad-footer-secure svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #35c46a;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rcad-footer-copy { justify-self: center; text-align: center; }
.rcad-footer-made { justify-self: end; text-align: right; }

@media (max-width: 1050px) {
    .rcad-footer-cms .rcad-footer-grid {
        grid-template-columns: 1.25fr repeat(3, minmax(120px, .8fr));
        gap: 30px;
    }
    .rcad-footer-cms .rcad-footer-newsletter { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 760px) {
    .rcad-footer.rcad-footer-cms { padding: 30px 18px 18px; }
    .rcad-footer-cms .rcad-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
    .rcad-footer-cms .rcad-footer-brand,
    .rcad-footer-cms .rcad-footer-newsletter { grid-column: 1 / -1; }
    .rcad-footer-cms .rcad-footer-desc { max-width: 420px; }
    .rcad-footer-cms .rcad-footer-bottom {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .rcad-footer-secure,
    .rcad-footer-copy,
    .rcad-footer-made { justify-self: start; text-align: left; }
}

@media (max-width: 480px) {
    .rcad-footer-cms .rcad-footer-grid { grid-template-columns: 1fr; }
    .rcad-footer-cms .rcad-footer-col,
    .rcad-footer-cms .rcad-footer-newsletter { grid-column: 1; }
    .rcad-footer-newsletter-row { grid-template-columns: 1fr; gap: 8px; }
    .rcad-footer-newsletter-row input {
        border-right: 1px solid #cfd8e6;
        border-radius: 5px;
    }
    .rcad-footer-newsletter-row button { width: 100%; border-radius: 5px; }
}


/* ===== SOURCE: css/cta.css ===== */
/* ── RCAD CTA v2 ─────────────────────────────────────────────────────────── */
.rcad-cta-v2,
.rcad-cta-v2 *,
.rcad-cta-v2 *::before,
.rcad-cta-v2 *::after { box-sizing: border-box; }

.rcad-cta-v2 {
    max-width: 760px;
    margin: 2.5em auto 1.5em;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(7,27,70,.045);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Hero ── */
.rcad-ctav2-hero {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 20px 22px;
}

.rcad-ctav2-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.rcad-ctav2-dwg-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #E6F1FB;
    border: 0.5px solid #B5D4F4;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #185FA5;
}

.rcad-ctav2-dwg-box span {
    font-size: 10px;
    font-weight: 600;
    color: #185FA5;
    letter-spacing: .5px;
}

.rcad-ctav2-hero-text { flex: 1; }

.rcad-ctav2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF3DC;
    color: #854F0B;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    border: 0.5px solid #FAC775;
    margin-bottom: 8px;
}

.rcad-ctav2-title {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.2;
}

.rcad-ctav2-title em { color: #EF9F27; font-style: normal; }

.rcad-ctav2-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.rcad-ctav2-sub a { color: #185FA5; text-decoration: none; }
.rcad-ctav2-sub a:hover { text-decoration: underline; }

/* ── Botones acción ── */
.rcad-ctav2-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.rcad-ctav2-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 68px;
    background: #F5F5F0;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    transition: background .12s, border-color .12s, color .15s;
    color: #1a1a1a;
    text-decoration: none;
    font-family: inherit;
    line-height: 1.2;
}

.rcad-ctav2-act:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.25);
}

.rcad-ctav2-act-center { justify-content: center; }

.rcad-ctav2-act svg { flex-shrink: 0; transition: fill .2s ease, stroke .2s ease; }

.rcad-ctav2-act > div { min-width: 0; text-align: left; }
.rcad-ctav2-count { font-size: 16px; font-weight: 500; color: #1a1a1a; line-height: 1.1; }
.rcad-ctav2-label { font-size: 11px; color: #888; margin-top: 1px; white-space: nowrap; }
.rcad-ctav2-act-text { font-size: 13px; font-weight: 500; }

/* Like activo */
.rcad-ctav2-act.rcad-download-like.is-active {
    color: #e0245e !important;
    border-color: #fcd7e2;
    background: #fff5f8;
}
.rcad-ctav2-act.rcad-download-like.is-active svg {
    fill: #e0245e;
    stroke: #e0245e;
}
.rcad-ctav2-act.rcad-download-like.is-active .rcad-ctav2-count,
.rcad-ctav2-act.rcad-download-like.is-active .rcad-ctav2-label {
    color: #e0245e;
}

/* Guardar activo */
.rcad-ctav2-act.rcad-download-save.is-active {
    color: #f6a800 !important;
    border-color: #fde8aa;
    background: #fffbf0;
}
.rcad-ctav2-act.rcad-download-save.is-active svg {
    fill: #f6a800;
    stroke: #f6a800;
}

/* Comentar */
.rcad-ctav2-act-comment { color: #378ADD !important; }
.rcad-ctav2-act-comment svg { stroke: #378ADD; }

/* ── Unlock ── */
.rcad-ctav2-unlock {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FDF6E9;
    border: 0.5px solid #FAC775;
    border-radius: 12px;
    padding: 16px 18px;
}

.rcad-ctav2-lock-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #FFF3DC;
    border: 0.5px solid #FAC775;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF9F27;
    flex-shrink: 0;
}

.rcad-ctav2-unlock-body { flex: 1; }
.rcad-ctav2-unlock-body h4 { font-size: 14px; font-weight: 500; color: #633806; margin: 0 0 3px; }
.rcad-ctav2-unlock-body p { font-size: 12px; color: #854F0B; margin: 0 0 10px; line-height: 1.5; }

.rcad-ctav2-btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EF9F27;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    font-family: inherit;
}

.rcad-ctav2-btn-amber:hover { background: #BA7517; }

/* ── Separador ── */
.rcad-ctav2-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
}

.rcad-ctav2-sep-line { flex: 1; height: 0.5px; background: rgba(0,0,0,0.12); }
.rcad-ctav2-sep-text { font-size: 11px; color: #aaa; white-space: nowrap; }

/* ── Foro ── */
.rcad-ctav2-forum {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
}

.rcad-ctav2-fh {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    gap: 10px;
}

.rcad-ctav2-fh-left { display: flex; align-items: center; gap: 10px; }

.rcad-ctav2-fh-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: #E6F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #185FA5;
}

.rcad-ctav2-fh-title { font-size: 14px; font-weight: 500; color: #1a1a1a; margin-bottom: 1px; }
.rcad-ctav2-fh-sub { font-size: 11px; color: #888; }

.rcad-ctav2-fh-link {
    font-size: 12px;
    color: #185FA5;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.rcad-ctav2-fh-link:hover { text-decoration: underline; }

/* Stats */
.rcad-ctav2-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.rcad-ctav2-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-right: 0.5px solid rgba(0,0,0,0.08);
}

.rcad-ctav2-stat:last-child { border-right: none; }
.rcad-ctav2-stat-n { font-size: 18px; font-weight: 500; color: #1a1a1a; }
.rcad-ctav2-stat-l { font-size: 10px; color: #888; margin-top: 2px; text-align: center; }

/* Categorías */
.rcad-ctav2-cat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #888;
    padding: 10px 18px 6px;
}

.rcad-ctav2-cat-list { padding: 0 18px 12px; display: flex; flex-direction: column; gap: 5px; }

.rcad-ctav2-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border: 0.5px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    color: inherit;
}

.rcad-ctav2-cat-row:hover { background: #F5F5F0; }
.rcad-ctav2-cat-left { display: flex; align-items: center; gap: 10px; }

.rcad-ctav2-cat-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
}

.rcad-ctav2-cat-name { font-size: 13px; color: #1a1a1a; }
.rcad-ctav2-cat-right { display: flex; align-items: center; gap: 8px; }
.rcad-ctav2-cat-count { font-size: 12px; color: #888; }

.rcad-ctav2-pill-hot {
    font-size: 10px; font-weight: 500; padding: 2px 8px;
    border-radius: 100px; background: #FAECE7; color: #993C1D;
    border: 0.5px solid #F0997B; white-space: nowrap;
}

/* CTA foro */
.rcad-ctav2-forum-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #F0F6FF;
    border-top: 0.5px solid #B5D4F4;
    color: #378ADD;
}

.rcad-ctav2-cta-body { flex: 1; }
.rcad-ctav2-cta-body strong { font-size: 13px; font-weight: 500; color: #0C447C; display: block; margin-bottom: 2px; }
.rcad-ctav2-cta-body p { font-size: 12px; color: #185FA5; margin: 0; }

.rcad-ctav2-cta-btns { display: flex; gap: 6px; }

.rcad-ctav2-btn-ghost {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; color: #185FA5;
    border: 0.5px solid #85B7EB; border-radius: 8px;
    padding: 7px 12px; font-size: 12px; font-weight: 500;
    cursor: pointer; white-space: nowrap; transition: all .12s;
    text-decoration: none; font-family: inherit;
}

.rcad-ctav2-btn-ghost:hover { background: #E6F1FB; }

.rcad-ctav2-btn-blue {
    display: inline-flex; align-items: center; gap: 5px;
    background: #185FA5; color: #fff !important; border: none;
    border-radius: 8px; padding: 7px 14px; font-size: 12px;
    font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: background .12s; text-decoration: none; font-family: inherit;
}

.rcad-ctav2-btn-blue:hover { background: #0C447C; }

/* ── Mobile ── */
@media (max-width: 480px) {
    .rcad-ctav2-title { font-size: 18px; }
    .rcad-ctav2-act { padding: 10px; gap: 6px; }
    .rcad-ctav2-unlock { flex-direction: column; text-align: center; }
    .rcad-ctav2-lock-wrap { margin: 0 auto; }
    .rcad-ctav2-forum-cta { flex-direction: column; align-items: flex-start; }
    .rcad-ctav2-cta-btns { width: 100%; }
    .rcad-ctav2-btn-ghost, .rcad-ctav2-btn-blue { flex: 1; justify-content: center; }
    .rcad-ctav2-fh { flex-wrap: wrap; }
    .rcad-ctav2-actions { grid-template-columns: 1fr 1fr; }
    .rcad-ctav2-dwg-box { width: 48px; height: 48px; min-width: 48px; }
}

/* v332: CTA compacta + foro desplegable */
.rcad-ctav2-unlock { padding: 10px 14px !important; gap: 10px !important; }
.rcad-ctav2-unlock h4 { margin: 0 0 2px !important; font-size: 12px !important; }
.rcad-ctav2-unlock p { margin: 0 !important; font-size: 10.5px !important; }
.rcad-ctav2-unlock-body { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; flex: 1; }
.rcad-ctav2-unlock-body h4, .rcad-ctav2-unlock-body p { grid-column: 1; }
.rcad-ctav2-unlock-body .rcad-ctav2-btn-amber { grid-column: 2; grid-row: 1 / span 2; }
.rcad-ctav2-forum-toggle { border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.rcad-ctav2-toggle-chevron { transition: transform .18s ease; }
.rcad-ctav2-forum-toggle[aria-expanded="true"] .rcad-ctav2-toggle-chevron { transform: rotate(180deg); }
.rcad-ctav2-forum-details[hidden] { display: none !important; }
.rcad-ctav2-forum-details { display: block; }
.rcad-ctav2-fh { border-bottom: 0 !important; }
.rcad-ctav2-forum:has(.rcad-ctav2-forum-toggle[aria-expanded="true"]) .rcad-ctav2-fh { border-bottom: .5px solid rgba(0,0,0,.08) !important; }
@media (max-width: 600px) {
  .rcad-ctav2-unlock-body { display: block; }
  .rcad-ctav2-unlock-body .rcad-ctav2-btn-amber { margin-top: 8px; }
}


/* v387 — valoración visible dentro de la CTA de recursos, sin cambiar su diseño */
.rcad-ctav2-rating{
    margin: 0 0 14px;
    padding: 14px 16px;
    background:#fff;
    border:1px solid #e5eaf1;
    border-radius:12px;
}
.rcad-ctav2-rating > *{max-width:100%;margin-left:0;margin-right:0;}
@media (max-width:640px){
  .rcad-cta-v2{padding:10px;border-radius:14px;}
  .rcad-ctav2-rating{padding:12px;}
}


/* v390 — CTA de artículos al ancho real del contenido + valoración igual a recursos */
.rcad-cta-v2--article{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
}
.rcad-cta-v2--article .rcad-ctav2-rating .rcce-resource-rating{
    display:grid;
    grid-template-columns:minmax(190px,240px) 1fr;
    gap:24px;
    align-items:center;
    padding:22px;
    border:1px solid #dbe3ef;
    border-radius:12px;
    background:#fff;
}
.rcad-cta-v2--article .rcce-rating-summary{display:flex;align-items:baseline;gap:9px;padding-right:22px;border-right:1px solid #e7ebf0}
.rcad-cta-v2--article .rcce-rating-summary__star{font-size:32px;line-height:1;color:#f6a800}
.rcad-cta-v2--article .rcce-rating-summary strong{font-size:32px;line-height:1;color:#071b46}
.rcad-cta-v2--article .rcce-rating-summary span:last-child{font-size:13px;color:#667085}
.rcad-cta-v2--article .rcce-rating-action h3{margin:0 0 8px;font-size:16px;color:#071b46}
.rcad-cta-v2--article .rcce-star-picker{display:inline-flex;gap:4px}
.rcad-cta-v2--article .rcce-star{appearance:none;border:0;background:transparent;padding:0 2px;color:#cbd5e1;font-size:34px;line-height:1;cursor:pointer;transition:transform .12s ease,color .12s ease}
.rcad-cta-v2--article .rcce-star:hover,.rcad-cta-v2--article .rcce-star:focus-visible,.rcad-cta-v2--article .rcce-star.is-hovered,.rcad-cta-v2--article .rcce-star.is-selected{color:#f6a800}
.rcad-cta-v2--article .rcce-star:hover{transform:translateY(-1px)}
.rcad-cta-v2--article .rcce-rating-help,.rcad-cta-v2--article .rcce-rating-login,.rcad-cta-v2--article .rcce-rating-message{margin:7px 0 0;font-size:13px;color:#667085}
.rcad-cta-v2--article .rcce-rating-message.is-ok{color:#16803b}
.rcad-cta-v2--article .rcce-rating-message.is-error{color:#b42318}
@media(max-width:700px){
  .rcad-cta-v2--article .rcad-ctav2-rating .rcce-resource-rating{grid-template-columns:1fr}
  .rcad-cta-v2--article .rcce-rating-summary{border-right:0;border-bottom:1px solid #e7ebf0;padding:0 0 16px}
}


/* v391 — valoraciones siempre visibles; invitados abren el modal de acceso */
.rcad-rating-guest-picker .rcce-star{
    cursor:pointer;
}
.rcad-rating-guest-picker .rcce-star:hover,
.rcad-rating-guest-picker .rcce-star:focus-visible{
    color:#f6a800;
    transform:translateY(-1px);
}
.rcad-guest-resource-rating-v391{
    display:grid;
    grid-template-columns:minmax(190px,240px) 1fr;
    gap:24px;
    align-items:center;
    padding:22px;
    border:1px solid #dbe3ef;
    border-radius:12px;
    background:#fff;
}
.rcad-guest-resource-rating-v391 .rcce-rating-summary{display:flex;align-items:baseline;gap:9px;padding-right:22px;border-right:1px solid #e7ebf0}
.rcad-guest-resource-rating-v391 .rcce-rating-summary__star{font-size:32px;line-height:1;color:#f6a800}
.rcad-guest-resource-rating-v391 .rcce-rating-summary strong{font-size:32px;line-height:1;color:#071b46}
.rcad-guest-resource-rating-v391 .rcce-rating-summary span:last-child{font-size:13px;color:#667085}
.rcad-guest-resource-rating-v391 .rcce-rating-action h3{margin:0 0 8px;font-size:16px;color:#071b46}
.rcad-guest-resource-rating-v391 .rcce-star-picker{display:inline-flex;gap:4px}
.rcad-guest-resource-rating-v391 .rcce-star{appearance:none;border:0;background:transparent;padding:0 2px;color:#cbd5e1;font-size:34px;line-height:1;transition:transform .12s ease,color .12s ease}
.rcad-guest-resource-rating-v391 .rcce-rating-help,
.rcad-guest-resource-rating-v391 .rcce-rating-login{margin:7px 0 0;font-size:13px;color:#667085}
.rcad-guest-resource-rating-v391 .rcce-rating-login a{font-weight:700;color:#071b46;text-decoration:underline;text-underline-offset:2px}
@media(max-width:700px){
  .rcad-guest-resource-rating-v391{grid-template-columns:1fr}
  .rcad-guest-resource-rating-v391 .rcce-rating-summary{border-right:0;border-bottom:1px solid #e7ebf0;padding:0 0 16px}
}


/* RCAD v6.43 — CTA comunidad ultra compacta, justo bajo el contenido/descarga del recurso. */
body.rcad-resource-single .rcad-resource-community-compact-v643{
    width:100%!important;
    max-width:720px!important;
    margin:14px auto 20px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-cta-v2--resource{
    width:100%!important;
    max-width:720px!important;
    margin:0!important;
    padding:8px!important;
    gap:7px!important;
    border-radius:12px!important;
    box-shadow:none!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero{
    padding:10px 12px!important;
    border-radius:9px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero-top{
    align-items:center!important;
    gap:10px!important;
    margin-bottom:8px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:9px!important;
    gap:1px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box svg{width:21px!important;height:21px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box span{font-size:8px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-badge{
    gap:4px!important;
    padding:2px 8px!important;
    margin-bottom:3px!important;
    font-size:9px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-badge svg{width:11px!important;height:11px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-title{
    margin:0 0 2px!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:650!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sub{
    margin:0!important;
    font-size:10.5px!important;
    line-height:1.35!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating{
    margin:0 0 7px!important;
    padding:7px 9px!important;
    border-radius:8px!important;
}
/* Rating del plugin: compactar sin perder funcionalidad. */
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating .rcce-resource-rating,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-guest-resource-rating-v391{
    min-height:0!important;
    padding:0!important;
    gap:10px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary{
    padding-right:10px!important;
    gap:5px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary__star,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary strong{font-size:19px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary span:last-child,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-help,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-login,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-message{font-size:10px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-action h3{margin:0 0 3px!important;font-size:11px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-star{font-size:22px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-actions{
    gap:6px!important;
    margin-bottom:7px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act{
    min-height:42px!important;
    gap:6px!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act svg{width:17px!important;height:17px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-count{font-size:13px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-label{font-size:9px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act-text{font-size:11px!important;font-weight:600!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-unlock{
    gap:8px!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-lock-wrap{width:32px!important;height:32px!important;min-width:32px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-lock-wrap svg{width:17px!important;height:17px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-unlock h4{font-size:10.5px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-unlock p{font-size:9px!important;line-height:1.3!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-btn-amber{padding:6px 9px!important;font-size:9px!important;border-radius:7px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sep{display:none!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-forum{
    border-radius:8px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh{
    min-height:46px!important;
    padding:7px 10px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-left{gap:7px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-icon{
    width:30px!important;
    height:30px!important;
    border-radius:7px!important;
}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-icon svg{width:16px!important;height:16px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-title{font-size:11px!important;font-weight:650!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-sub{font-size:9px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-link{font-size:10px!important;gap:4px!important;}
/* El contenido expandido del foro sigue disponible, pero ocupa poco hasta abrirlo. */
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-forum-details{font-size:10px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-stats{padding:7px 10px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-stat-n{font-size:13px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-stat-l{font-size:8px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cat-label{padding:7px 10px 4px!important;font-size:9px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cat-list{padding:0 10px 7px!important;gap:3px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cat-row{padding:6px 8px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cat-name,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cat-count{font-size:9px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-forum-cta{padding:8px 10px!important;gap:7px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cta-body strong{font-size:10px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-cta-body p{font-size:9px!important;}
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-btn-ghost,
body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-btn-blue{padding:5px 8px!important;font-size:9px!important;border-radius:6px!important;}

@media(max-width:700px){
  body.rcad-resource-single .rcad-resource-community-compact-v643{max-width:100%!important;margin:12px 0 18px!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero-top{align-items:flex-start!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-title{font-size:16px!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act{padding:6px!important;min-height:40px!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-label{display:none!important;}
}
@media(max-width:480px){
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box{width:38px!important;height:38px!important;min-width:38px!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sub{font-size:10px!important;}
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-actions{gap:4px!important;}
}

/* RCAD v6.44 — Comunidad realmente compacta como la propuesta aprobada.
   Desktop: cabecera + valoración en una sola fila, acciones debajo y foro discreto. */
@media (min-width: 761px) {
  body.rcad-resource-single .rcad-resource-community-compact-v643 {
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 16px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-cta-v2--resource {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 9px !important;
    gap: 5px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    grid-template-areas:
      "intro rating"
      "actions actions"
      "unlock unlock" !important;
    column-gap: 18px !important;
    row-gap: 7px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero-top {
    grid-area: intro !important;
    margin: 0 !important;
    gap: 10px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 9px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box svg {
    width: 22px !important;
    height: 22px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-dwg-box span {
    font-size: 8px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-badge {
    margin: 0 0 3px !important;
    padding: 2px 8px !important;
    font-size: 9px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-title {
    margin: 0 0 2px !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sub {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  /* La valoración ocupa la mitad derecha, sin la gran caja vertical. */
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating {
    grid-area: rating !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    border: 0 !important;
    border-left: 1px solid #e5eaf1 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating .rcce-resource-rating,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating .rcad-guest-resource-rating-v391,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-guest-resource-rating-v391 {
    display: grid !important;
    grid-template-columns: minmax(130px, .75fr) minmax(170px, 1.25fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary {
    min-width: 0 !important;
    padding: 0 10px 0 0 !important;
    border-right: 1px solid #e7ebf0 !important;
    border-bottom: 0 !important;
    gap: 5px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary__star,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary strong {
    font-size: 19px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-summary span:last-child,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-help,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-login,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-message {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-rating-action h3 {
    margin: 0 0 2px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-star-picker {
    gap: 1px !important;
    white-space: nowrap !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcce-star {
    font-size: 20px !important;
    padding: 0 1px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-actions {
    grid-area: actions !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act {
    min-height: 40px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act svg {
    width: 16px !important;
    height: 16px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-count {
    font-size: 12px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-label,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-act-text {
    font-size: 10px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-unlock {
    grid-area: unlock !important;
    margin: 0 !important;
    padding: 6px 9px !important;
  }

  /* Recuperamos el separador fino de la propuesta. */
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sep {
    display: flex !important;
    margin: 0 !important;
    gap: 8px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-sep-text {
    font-size: 9px !important;
  }

  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-forum {
    border-radius: 8px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh {
    min-height: 42px !important;
    padding: 6px 9px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-title {
    font-size: 10.5px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-sub,
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-fh-link {
    font-size: 8.5px !important;
  }
}

/* Tablet: mantenemos compacto, pero apilamos la cabecera y la valoración para evitar estrechez. */
@media (min-width: 561px) and (max-width: 760px) {
  body.rcad-resource-single .rcad-resource-community-compact-v643 {
    max-width: 100% !important;
    margin: 10px 0 16px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-hero {
    padding: 9px !important;
  }
  body.rcad-resource-single .rcad-resource-community-compact-v643 .rcad-ctav2-rating {
    margin-bottom: 6px !important;
  }
}


/* RCAD v6.45 — CTA compacta global en fichas, artículos y tutoriales.
   Reutiliza exactamente la composición aprobada de v6.44 sin depender del tipo de plantilla. */
/* RCAD v6.43 — CTA comunidad ultra compacta, justo bajo el contenido/descarga del recurso. */
.rcad-community-global-compact-v645{
    width:100%!important;
    max-width:720px!important;
    margin:14px auto 20px!important;
}
.rcad-community-global-compact-v645 .rcad-cta-v2{
    width:100%!important;
    max-width:720px!important;
    margin:0!important;
    padding:8px!important;
    gap:7px!important;
    border-radius:12px!important;
    box-shadow:none!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-hero{
    padding:10px 12px!important;
    border-radius:9px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-hero-top{
    align-items:center!important;
    gap:10px!important;
    margin-bottom:8px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-dwg-box{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:9px!important;
    gap:1px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-dwg-box svg{width:21px!important;height:21px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-dwg-box span{font-size:8px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-badge{
    gap:4px!important;
    padding:2px 8px!important;
    margin-bottom:3px!important;
    font-size:9px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-badge svg{width:11px!important;height:11px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-title{
    margin:0 0 2px!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:650!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-sub{
    margin:0!important;
    font-size:10.5px!important;
    line-height:1.35!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-rating{
    margin:0 0 7px!important;
    padding:7px 9px!important;
    border-radius:8px!important;
}
/* Rating del plugin: compactar sin perder funcionalidad. */
.rcad-community-global-compact-v645 .rcad-ctav2-rating .rcce-resource-rating,
.rcad-community-global-compact-v645 .rcad-guest-resource-rating-v391{
    min-height:0!important;
    padding:0!important;
    gap:10px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}
.rcad-community-global-compact-v645 .rcce-rating-summary{
    padding-right:10px!important;
    gap:5px!important;
}
.rcad-community-global-compact-v645 .rcce-rating-summary__star,
.rcad-community-global-compact-v645 .rcce-rating-summary strong{font-size:19px!important;}
.rcad-community-global-compact-v645 .rcce-rating-summary span:last-child,
.rcad-community-global-compact-v645 .rcce-rating-help,
.rcad-community-global-compact-v645 .rcce-rating-login,
.rcad-community-global-compact-v645 .rcce-rating-message{font-size:10px!important;}
.rcad-community-global-compact-v645 .rcce-rating-action h3{margin:0 0 3px!important;font-size:11px!important;}
.rcad-community-global-compact-v645 .rcce-star{font-size:22px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-actions{
    gap:6px!important;
    margin-bottom:7px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-act{
    min-height:42px!important;
    gap:6px!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-act svg{width:17px!important;height:17px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-count{font-size:13px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-label{font-size:9px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-act-text{font-size:11px!important;font-weight:600!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-unlock{
    gap:8px!important;
    padding:7px 10px!important;
    border-radius:8px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-lock-wrap{width:32px!important;height:32px!important;min-width:32px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-lock-wrap svg{width:17px!important;height:17px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-unlock h4{font-size:10.5px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-unlock p{font-size:9px!important;line-height:1.3!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-btn-amber{padding:6px 9px!important;font-size:9px!important;border-radius:7px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-sep{display:none!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-forum{
    border-radius:8px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-fh{
    min-height:46px!important;
    padding:7px 10px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-left{gap:7px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-icon{
    width:30px!important;
    height:30px!important;
    border-radius:7px!important;
}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-icon svg{width:16px!important;height:16px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-title{font-size:11px!important;font-weight:650!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-sub{font-size:9px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-fh-link{font-size:10px!important;gap:4px!important;}
/* El contenido expandido del foro sigue disponible, pero ocupa poco hasta abrirlo. */
.rcad-community-global-compact-v645 .rcad-ctav2-forum-details{font-size:10px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-stats{padding:7px 10px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-stat-n{font-size:13px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-stat-l{font-size:8px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cat-label{padding:7px 10px 4px!important;font-size:9px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cat-list{padding:0 10px 7px!important;gap:3px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cat-row{padding:6px 8px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cat-name,
.rcad-community-global-compact-v645 .rcad-ctav2-cat-count{font-size:9px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-forum-cta{padding:8px 10px!important;gap:7px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cta-body strong{font-size:10px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-cta-body p{font-size:9px!important;}
.rcad-community-global-compact-v645 .rcad-ctav2-btn-ghost,
.rcad-community-global-compact-v645 .rcad-ctav2-btn-blue{padding:5px 8px!important;font-size:9px!important;border-radius:6px!important;}

@media(max-width:700px){
  .rcad-community-global-compact-v645{max-width:100%!important;margin:12px 0 18px!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-hero-top{align-items:flex-start!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-title{font-size:16px!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-act{padding:6px!important;min-height:40px!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-label{display:none!important;}
}
@media(max-width:480px){
  .rcad-community-global-compact-v645 .rcad-ctav2-dwg-box{width:38px!important;height:38px!important;min-width:38px!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-sub{font-size:10px!important;}
  .rcad-community-global-compact-v645 .rcad-ctav2-actions{gap:4px!important;}
}

/* RCAD v6.44 — Comunidad realmente compacta como la propuesta aprobada.
   Desktop: cabecera + valoración en una sola fila, acciones debajo y foro discreto. */
@media (min-width: 761px) {
  .rcad-community-global-compact-v645 {
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 16px !important;
  }

  .rcad-community-global-compact-v645 .rcad-cta-v2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 9px !important;
    gap: 5px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    grid-template-areas:
      "intro rating"
      "actions actions"
      "unlock unlock" !important;
    column-gap: 18px !important;
    row-gap: 7px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-hero-top {
    grid-area: intro !important;
    margin: 0 !important;
    gap: 10px !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-dwg-box {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 9px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-dwg-box svg {
    width: 22px !important;
    height: 22px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-dwg-box span {
    font-size: 8px !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-badge {
    margin: 0 0 3px !important;
    padding: 2px 8px !important;
    font-size: 9px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-title {
    margin: 0 0 2px !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-sub {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  /* La valoración ocupa la mitad derecha, sin la gran caja vertical. */
  .rcad-community-global-compact-v645 .rcad-ctav2-rating {
    grid-area: rating !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    border: 0 !important;
    border-left: 1px solid #e5eaf1 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-rating .rcce-resource-rating,
  .rcad-community-global-compact-v645 .rcad-ctav2-rating .rcad-guest-resource-rating-v391,
  .rcad-community-global-compact-v645 .rcad-guest-resource-rating-v391 {
    display: grid !important;
    grid-template-columns: minmax(130px, .75fr) minmax(170px, 1.25fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .rcad-community-global-compact-v645 .rcce-rating-summary {
    min-width: 0 !important;
    padding: 0 10px 0 0 !important;
    border-right: 1px solid #e7ebf0 !important;
    border-bottom: 0 !important;
    gap: 5px !important;
  }
  .rcad-community-global-compact-v645 .rcce-rating-summary__star,
  .rcad-community-global-compact-v645 .rcce-rating-summary strong {
    font-size: 19px !important;
  }
  .rcad-community-global-compact-v645 .rcce-rating-summary span:last-child,
  .rcad-community-global-compact-v645 .rcce-rating-help,
  .rcad-community-global-compact-v645 .rcce-rating-login,
  .rcad-community-global-compact-v645 .rcce-rating-message {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
  .rcad-community-global-compact-v645 .rcce-rating-action h3 {
    margin: 0 0 2px !important;
    font-size: 10.5px !important;
    line-height: 1.15 !important;
  }
  .rcad-community-global-compact-v645 .rcce-star-picker {
    gap: 1px !important;
    white-space: nowrap !important;
  }
  .rcad-community-global-compact-v645 .rcce-star {
    font-size: 20px !important;
    padding: 0 1px !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-actions {
    grid-area: actions !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-act {
    min-height: 40px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-act svg {
    width: 16px !important;
    height: 16px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-count {
    font-size: 12px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-label,
  .rcad-community-global-compact-v645 .rcad-ctav2-act-text {
    font-size: 10px !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-unlock {
    grid-area: unlock !important;
    margin: 0 !important;
    padding: 6px 9px !important;
  }

  /* Recuperamos el separador fino de la propuesta. */
  .rcad-community-global-compact-v645 .rcad-ctav2-sep {
    display: flex !important;
    margin: 0 !important;
    gap: 8px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-sep-text {
    font-size: 9px !important;
  }

  .rcad-community-global-compact-v645 .rcad-ctav2-forum {
    border-radius: 8px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-fh {
    min-height: 42px !important;
    padding: 6px 9px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-fh-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-fh-title {
    font-size: 10.5px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-fh-sub,
  .rcad-community-global-compact-v645 .rcad-ctav2-fh-link {
    font-size: 8.5px !important;
  }
}

/* Tablet: mantenemos compacto, pero apilamos la cabecera y la valoración para evitar estrechez. */
@media (min-width: 561px) and (max-width: 760px) {
  .rcad-community-global-compact-v645 {
    max-width: 100% !important;
    margin: 10px 0 16px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-hero {
    padding: 9px !important;
  }
  .rcad-community-global-compact-v645 .rcad-ctav2-rating {
    margin-bottom: 6px !important;
  }
}

/* ==========================================================
   RCAD v6.54 — Comunidad compacta con favicon + datos plegables
   Diseño aprobado: sin badge "Comunidad RecursosCAD", acciones
   de color visibles, valoración plegada por defecto y foro discreto.
   ========================================================== */
.rcad-community-global-compact-v645{
  width:100%!important;
  max-width:980px!important;
  margin:16px auto 22px!important;
}
.rcad-community-global-compact-v645 .rcad-v654-community-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:16px!important;
  border:1px solid #dbe4ef!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(15,35,70,.045)!important;
  color:#222!important;
}
.rcad-v654-head{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.rcad-v654-brand{
  width:58px;
  height:58px;
  border:1px solid #d7e4f3;
  border-radius:12px;
  background:#f4f8fd;
  display:grid;
  place-items:center;
  overflow:hidden;
  color:#0b5cab;
}
.rcad-v654-brand img{width:42px!important;height:42px!important;object-fit:contain!important;border-radius:8px!important;}
.rcad-v654-brand svg{width:32px;height:32px;}
.rcad-v654-copy{min-width:0;}
.rcad-v654-copy h3{
  margin:0 0 4px!important;
  padding:0!important;
  font-size:23px!important;
  line-height:1.16!important;
  font-weight:750!important;
  letter-spacing:-.015em!important;
  color:#111827!important;
}
.rcad-v654-copy h3 em{font-style:normal;color:#ef8d00;}
.rcad-v654-copy p{
  margin:0!important;
  color:#5b6677!important;
  font-size:13.5px!important;
  line-height:1.45!important;
}
.rcad-v654-summary-row{
  display:grid;
  grid-template-columns:auto minmax(260px,1fr) auto;
  gap:18px;
  align-items:center;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #edf1f5;
}
.rcad-v654-actions{display:flex;align-items:center;gap:10px;}
.rcad-v654-metric{
  height:46px;
  min-width:78px;
  padding:0 15px;
  border:1px solid transparent!important;
  border-radius:10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  text-decoration:none!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:1!important;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rcad-v654-metric:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,35,70,.08);}
.rcad-v654-metric svg{width:24px!important;height:24px!important;flex:0 0 24px!important;}
.rcad-v654-metric--like{background:#fff1f4!important;border-color:#ffd8e1!important;color:#ec2d62!important;}
.rcad-v654-metric--save{background:#fff8e7!important;border-color:#ffe4a9!important;color:#d99a00!important;}
.rcad-v654-metric--comment{background:#eef5ff!important;border-color:#d6e7ff!important;color:#1473e6!important;}
.rcad-v654-metric.is-active{box-shadow:inset 0 0 0 1px currentColor;}
.rcad-v654-rating-summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:0;
  white-space:nowrap;
}
.rcad-v654-stars{display:inline-flex;gap:1px;line-height:1;}
.rcad-v654-star{
  position:relative;
  display:inline-block;
  color:#d8e0ea;
  font-size:25px;
  line-height:1;
  width:1em;
}
.rcad-v654-star::before{
  content:'★';
  position:absolute;
  inset:0 auto 0 0;
  width:var(--rcad-star-fill,0%);
  overflow:hidden;
  color:#ffad00;
}
.rcad-v654-rating-summary strong{font-size:21px!important;color:#111827!important;font-weight:800!important;}
.rcad-v654-rating-count{font-size:13px;color:#657286;}
.rcad-v654-data-toggle{
  height:42px;
  padding:0 14px;
  border:1px solid #cfe0f8!important;
  border-radius:9px!important;
  background:#f7fbff!important;
  color:#0b63ce!important;
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.rcad-v654-data-toggle svg,.rcad-v654-forum-toggle svg{width:15px;height:15px;transition:transform .18s ease;}
.rcad-v654-data-toggle[aria-expanded="true"] svg,.rcad-v654-forum-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}
.rcad-v654-rating-details{
  margin-top:14px;
  padding:15px;
  border:1px solid #dbe5f1;
  border-radius:11px;
  background:#fbfdff;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:22px;
  align-items:center;
}
.rcad-v654-rating-details[hidden]{display:none!important;}
.rcad-v654-rating-score{
  min-height:132px;
  padding:4px 22px 4px 6px;
  border-right:1px solid #e2e9f1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.rcad-v654-rating-label{align-self:flex-start;font-size:13px;font-weight:750;color:#24344c;margin-bottom:2px;}
.rcad-v654-rating-score>strong{font-size:48px!important;line-height:1!important;color:#0b1f43!important;margin:4px 0 7px!important;}
.rcad-v654-rating-score .rcad-v654-star{font-size:24px;}
.rcad-v654-rating-score>span:last-child{margin-top:7px;font-size:12px;color:#64748b;}
.rcad-v654-rating-bars{display:grid;gap:7px;}
.rcad-v654-bar-row{display:grid;grid-template-columns:40px minmax(100px,1fr) 34px;gap:9px;align-items:center;font-size:12px;color:#526176;}
.rcad-v654-bar-label{font-weight:700;color:#344258;white-space:nowrap;}
.rcad-v654-bar-label span{color:#ffad00;}
.rcad-v654-bar-track{height:10px;border-radius:999px;background:#e9eef5;overflow:hidden;}
.rcad-v654-bar-fill{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffb500,#f6a800);}
.rcad-v654-bar-value{text-align:right;font-variant-numeric:tabular-nums;}
.rcad-v654-rating-engine{grid-column:1/-1;border-top:1px solid #e8edf3;padding-top:10px;}
.rcad-v654-rating-engine:empty{display:none;}
.rcad-v654-rating-engine .rcce-rating-summary{display:none!important;}
.rcad-v654-rating-engine .rcce-resource-rating,
.rcad-v654-rating-engine .rcad-guest-resource-rating-v391{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.rcad-v654-rating-engine .rcce-rating-action{
  width:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:7px 10px!important;
  text-align:center!important;
}
.rcad-v654-rating-engine .rcce-rating-action h3{margin:0!important;font-size:12px!important;color:#24344c!important;}
.rcad-v654-rating-engine .rcce-star{font-size:24px!important;line-height:1!important;}
.rcad-v654-rating-engine .rcce-rating-help,
.rcad-v654-rating-engine .rcce-rating-login,
.rcad-v654-rating-engine .rcce-rating-message{margin:0!important;font-size:10px!important;color:#66758a!important;}
.rcad-v654-forum{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  margin-top:14px;
  padding-top:13px;
  border-top:1px solid #e8edf3;
}
.rcad-v654-forum-icon{
  width:36px;height:36px;border-radius:9px;background:#edf5ff;color:#0b5cab;display:grid;place-items:center;
}
.rcad-v654-forum-icon svg{width:19px;height:19px;}
.rcad-v654-forum-copy{display:flex;flex-direction:column;min-width:0;}
.rcad-v654-forum-copy strong{font-size:13px!important;color:#1d2d45!important;line-height:1.2!important;}
.rcad-v654-forum-copy span{font-size:10.5px!important;color:#657286!important;line-height:1.35!important;}
.rcad-v654-forum-toggle{
  border:0!important;background:transparent!important;color:#0969da!important;padding:7px 2px 7px 10px!important;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap;
}
.rcad-v654-forum-details[hidden]{display:none!important;}
.rcad-v654-forum-details{margin-top:10px;padding:10px 12px;border:1px solid #e1e8f0;border-radius:9px;background:#fafcff;}
.rcad-v654-forum-stats{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;font-size:10.5px;color:#66758a;}
.rcad-v654-forum-stats strong{color:#1d2d45;}
.rcad-v654-forum-stats a{margin-left:auto;color:#0969da;text-decoration:none;font-weight:650;}

@media (max-width:820px){
  .rcad-community-global-compact-v645{max-width:100%!important;}
  .rcad-v654-summary-row{grid-template-columns:1fr auto;gap:12px;}
  .rcad-v654-actions{grid-column:1/-1;justify-content:flex-start;}
  .rcad-v654-rating-summary{justify-content:flex-start;}
  .rcad-v654-rating-details{grid-template-columns:200px minmax(0,1fr);gap:14px;}
}
@media (max-width:620px){
  .rcad-community-global-compact-v645 .rcad-v654-community-card{padding:12px!important;}
  .rcad-v654-head{grid-template-columns:48px minmax(0,1fr);gap:10px;}
  .rcad-v654-brand{width:48px;height:48px;}
  .rcad-v654-brand img{width:36px!important;height:36px!important;}
  .rcad-v654-copy h3{font-size:18px!important;}
  .rcad-v654-copy p{font-size:11px!important;}
  .rcad-v654-summary-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;}
  .rcad-v654-actions{justify-content:space-between;}
  .rcad-v654-metric{min-width:0;flex:1;height:43px;padding:0 10px;}
  .rcad-v654-rating-summary{justify-content:flex-start;flex-wrap:wrap;}
  .rcad-v654-rating-count{font-size:11px;}
  .rcad-v654-data-toggle{align-self:flex-start;}
  .rcad-v654-rating-details{grid-template-columns:1fr;padding:12px;}
  .rcad-v654-rating-score{border-right:0;border-bottom:1px solid #e2e9f1;padding:0 0 12px;min-height:0;}
  .rcad-v654-rating-label{align-self:center;}
  .rcad-v654-forum{grid-template-columns:34px minmax(0,1fr);}
  .rcad-v654-forum-toggle{grid-column:2;justify-self:start;padding-left:0!important;}
}

/* =========================================================
   RCAD v6.55 — Valoración directa en cabecera, sin desplegable
   ========================================================= */
.rcad-v655-direct-rating{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  padding-left:16px;
  border-left:1px solid #e3e9f1;
}
.rcad-v655-rating-engine{
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.rcad-v655-rating-engine .rcce-resource-rating,
.rcad-v655-rating-engine .rcad-guest-resource-rating-v391,
.rcad-v655-rating-engine .rcad-article-rating-v390{
  display:flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  gap:0!important;
}
.rcad-v655-rating-engine .rcce-rating-summary{display:none!important;}
.rcad-v655-rating-engine .rcce-rating-action{
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.rcad-v655-rating-engine .rcce-rating-action h3,
.rcad-v655-rating-engine .rcce-rating-help,
.rcad-v655-rating-engine .rcce-rating-login{
  display:none!important;
}
.rcad-v655-rating-engine .rcce-star-picker{
  display:inline-flex!important;
  align-items:center!important;
  gap:1px!important;
  margin:0!important;
  padding:0!important;
}
.rcad-v655-rating-engine .rcce-star{
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:0 1px!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:27px!important;
  line-height:1!important;
  color:#d5deea!important;
  cursor:pointer!important;
}
.rcad-v655-rating-engine .rcce-star:hover,
.rcad-v655-rating-engine .rcce-star:focus-visible,
.rcad-v655-rating-engine .rcce-star.is-selected{
  color:#f6a800!important;
  transform:none!important;
}
.rcad-v655-rating-engine .rcce-rating-message{
  margin:0 0 0 6px!important;
  font-size:10px!important;
  line-height:1.2!important;
  color:#66758a!important;
}
.rcad-v655-rating-meta{
  display:flex;
  align-items:baseline;
  gap:6px;
  white-space:nowrap;
}
.rcad-v655-rating-meta strong{
  font-size:21px!important;
  line-height:1!important;
  font-weight:800!important;
  color:#111827!important;
}
.rcad-v655-rating-meta span{
  font-size:12px!important;
  color:#657286!important;
}
/* El viejo desplegable de valoración ya no se usa en v6.55. */
.rcad-v654-data-toggle,
.rcad-v654-rating-details{display:none!important;}

@media (max-width: 980px){
  .rcad-v655-direct-rating{
    border-left:0;
    padding-left:0;
    justify-content:flex-start;
  }
}
@media (max-width: 640px){
  .rcad-v655-direct-rating{
    width:100%;
    flex-wrap:wrap;
    gap:7px;
  }
  .rcad-v655-rating-engine .rcce-star{font-size:25px!important;}
  .rcad-v655-rating-meta strong{font-size:19px!important;}
  .rcad-v655-rating-meta span{font-size:11px!important;}
}

/* =========================================================
   RCAD v6.60 — Comunidad limpia con valoración directa grande
   Diseño final aprobado: favicon + título, acciones de color,
   valoración directa visible y foro en una sola fila.
   ========================================================= */
.rcad-community-global-compact-v645 .rcad-v654-community-card{
  padding:18px!important;
  border-radius:14px!important;
}
.rcad-community-global-compact-v645 .rcad-v654-head{
  grid-template-columns:64px minmax(0,1fr)!important;
  gap:16px!important;
}
.rcad-community-global-compact-v645 .rcad-v654-brand{
  width:64px!important;
  height:64px!important;
  border-radius:13px!important;
  background:#f4f8fd!important;
}
.rcad-community-global-compact-v645 .rcad-v654-brand img{
  width:50px!important;
  height:50px!important;
  border-radius:10px!important;
}
.rcad-community-global-compact-v645 .rcad-v654-copy h3{
  margin:0 0 4px!important;
  font-family:"Roboto",Arial,sans-serif!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:700!important;
  color:#111827!important;
}
.rcad-community-global-compact-v645 .rcad-v654-copy h3 em{
  color:#ef8d00!important;
  font-style:normal!important;
}
.rcad-community-global-compact-v645 .rcad-v654-copy p{
  margin:0!important;
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.45!important;
  color:#64748b!important;
}

.rcad-v660-engagement-row{
  display:grid!important;
  grid-template-columns:auto minmax(310px,1fr) minmax(230px,.72fr)!important;
  gap:24px!important;
  align-items:center!important;
  margin-top:16px!important;
  padding:18px 0!important;
  border-top:1px solid #e8edf3!important;
  border-bottom:1px solid #e8edf3!important;
}
.rcad-v660-engagement-row .rcad-v654-actions{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
}
.rcad-v660-engagement-row .rcad-v654-metric{
  height:58px!important;
  min-width:88px!important;
  padding:0 18px!important;
  border-radius:12px!important;
  font-size:17px!important;
  font-weight:750!important;
}
.rcad-v660-engagement-row .rcad-v654-metric svg{
  width:28px!important;
  height:28px!important;
  flex-basis:28px!important;
}

.rcad-v660-vote{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 22px!important;
  border-left:1px solid #e3e9f1!important;
  border-right:1px solid #e3e9f1!important;
  text-align:center!important;
}
.rcad-v660-vote-title{
  margin:0 0 7px!important;
  font-family:"Roboto",Arial,sans-serif!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:700!important;
  color:#111827!important;
}
.rcad-v660-vote-help{
  margin-top:7px!important;
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#64748b!important;
}
.rcad-v660-vote .rcad-v655-rating-engine{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-resource-rating,
.rcad-v660-vote .rcad-v655-rating-engine .rcad-guest-resource-rating-v391,
.rcad-v660-vote .rcad-v655-rating-engine .rcad-article-rating-v390{
  width:auto!important;
  min-width:0!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-rating-action{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-star-picker{
  position:static!important;
  float:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 auto!important;
  white-space:nowrap!important;
  transform:none!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-star{
  position:static!important;
  float:none!important;
  flex:0 0 auto!important;
  font-size:44px!important;
  line-height:1!important;
  padding:0 1px!important;
  color:#cfd8e4!important;
  transition:color .15s ease, transform .15s ease!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-star:hover,
.rcad-v660-vote .rcad-v655-rating-engine .rcce-star:focus-visible,
.rcad-v660-vote .rcad-v655-rating-engine .rcce-star.is-selected{
  color:#f6a800!important;
  transform:translateY(-1px)!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-rating-action h3,
.rcad-v660-vote .rcad-v655-rating-engine .rcce-rating-help,
.rcad-v660-vote .rcad-v655-rating-engine .rcce-rating-login{
  display:none!important;
}
.rcad-v660-vote .rcad-v655-rating-engine .rcce-rating-message{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
}

.rcad-v660-score{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:12px!important;
}
.rcad-v660-score-main{
  display:flex!important;
  align-items:baseline!important;
  gap:8px!important;
  white-space:nowrap!important;
}
.rcad-v660-score-main strong{
  font-family:"Roboto",Arial,sans-serif!important;
  font-size:34px!important;
  line-height:1!important;
  font-weight:800!important;
  color:#111827!important;
}
.rcad-v660-score-main>span[aria-hidden="true"]{
  font-size:16px!important;
  color:#9aa7b6!important;
}
.rcad-v660-score-main [data-rcad-rating-count]{
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:13px!important;
  color:#657286!important;
}
.rcad-v660-first-rating{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  background:#eef6ff!important;
  color:#0969da!important;
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.rcad-v660-first-rating[hidden]{display:none!important;}
.rcad-v660-info-icon{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid currentColor!important;
  border-radius:50%!important;
  font-family:Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
}

.rcad-community-global-compact-v645 .rcad-v660-forum{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:12px!important;
  margin-top:0!important;
  padding-top:14px!important;
  border-top:0!important;
}
.rcad-community-global-compact-v645 .rcad-v660-forum .rcad-v654-forum-icon{
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
}
.rcad-community-global-compact-v645 .rcad-v660-forum .rcad-v654-forum-icon svg{
  width:22px!important;
  height:22px!important;
}
.rcad-community-global-compact-v645 .rcad-v660-forum .rcad-v654-forum-copy strong{
  font-size:14px!important;
  font-weight:700!important;
  color:#1d2d45!important;
}
.rcad-community-global-compact-v645 .rcad-v660-forum .rcad-v654-forum-copy span{
  font-size:11px!important;
  color:#657286!important;
}
.rcad-v660-forum-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:7px 0 7px 12px!important;
  color:#0969da!important;
  text-decoration:none!important;
  font-family:"Open Sans",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.rcad-v660-forum-link:hover{text-decoration:underline!important;}
.rcad-v660-forum-link svg{width:16px!important;height:16px!important;}

@media (max-width: 980px){
  .rcad-v660-engagement-row{
    grid-template-columns:auto minmax(280px,1fr)!important;
    gap:18px!important;
  }
  .rcad-v660-score{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:14px!important;
  }
  .rcad-v660-first-rating{width:auto!important;}
}
@media (max-width: 700px){
  .rcad-community-global-compact-v645 .rcad-v654-community-card{padding:14px!important;}
  .rcad-community-global-compact-v645 .rcad-v654-head{grid-template-columns:52px minmax(0,1fr)!important;gap:11px!important;}
  .rcad-community-global-compact-v645 .rcad-v654-brand{width:52px!important;height:52px!important;}
  .rcad-community-global-compact-v645 .rcad-v654-brand img{width:40px!important;height:40px!important;}
  .rcad-community-global-compact-v645 .rcad-v654-copy h3{font-size:20px!important;}
  .rcad-community-global-compact-v645 .rcad-v654-copy p{font-size:11.5px!important;}
  .rcad-v660-engagement-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:14px 0!important;gap:14px!important;}
  .rcad-v660-engagement-row .rcad-v654-actions{justify-content:space-between!important;}
  .rcad-v660-engagement-row .rcad-v654-metric{flex:1!important;min-width:0!important;height:48px!important;padding:0 10px!important;}
  .rcad-v660-engagement-row .rcad-v654-metric svg{width:24px!important;height:24px!important;flex-basis:24px!important;}
  .rcad-v660-vote{border-left:0!important;border-right:0!important;border-top:1px solid #edf1f5!important;border-bottom:1px solid #edf1f5!important;padding:14px 0!important;}
  .rcad-v660-vote .rcad-v655-rating-engine .rcce-star{font-size:38px!important;}
  .rcad-v660-score{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;}
  .rcad-v660-score-main strong{font-size:28px!important;}
  .rcad-v660-first-rating{width:100%!important;}
  .rcad-community-global-compact-v645 .rcad-v660-forum{grid-template-columns:38px minmax(0,1fr)!important;}
  .rcad-v660-forum-link{grid-column:2!important;justify-self:start!important;padding-left:0!important;}
}


/* =========================================================
   RCAD v6.64 — Comunidad y valoración unificadas
   Un solo componente para artículos y recursos. Solo cambia el texto.
   ========================================================= */
.rcad-v660-engagement-row{
  grid-template-columns:auto minmax(300px,1fr) minmax(220px,.70fr)!important;
  gap:20px!important;
  padding:15px 0!important;
}
.rcad-v660-engagement-row .rcad-v654-actions{gap:10px!important;}
.rcad-v660-engagement-row .rcad-v654-metric{
  height:50px!important;
  min-width:80px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  font-size:15px!important;
}
.rcad-v660-engagement-row .rcad-v654-metric svg{
  width:23px!important;
  height:23px!important;
  flex-basis:23px!important;
}
.rcad-v660-vote{padding:0 18px!important;}
.rcad-v660-vote-title{font-size:16px!important;margin-bottom:5px!important;}
.rcad-v660-vote-help{font-size:11px!important;margin-top:5px!important;}

/* La estrella RCAD no hereda estilos del motor antiguo. */
.rcad-v660-vote .rcad-unified-rating-v664{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
}
.rcad-v660-vote .rcad-unified-star-picker-v664{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
}
.rcad-v660-vote .rcad-unified-star-v664{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#cfd8e4!important;
  font-family:Arial,"Helvetica Neue",sans-serif!important;
  font-size:39px!important;
  font-weight:400!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-indent:0!important;
  cursor:pointer!important;
  transform:none!important;
  transition:color .14s ease,transform .14s ease!important;
}
.rcad-v660-vote .rcad-unified-star-v664:hover,
.rcad-v660-vote .rcad-unified-star-v664:focus-visible,
.rcad-v660-vote .rcad-unified-star-v664.is-selected{
  color:#f6a800!important;
}
.rcad-v660-vote .rcad-unified-star-v664:hover,
.rcad-v660-vote .rcad-unified-star-v664:focus-visible{transform:translateY(-1px)!important;}
.rcad-unified-rating-message-v664{
  min-height:0!important;
  margin:0!important;
  font-size:10px!important;
  line-height:1.2!important;
  color:#64748b!important;
}
.rcad-unified-rating-message-v664:empty{display:none!important;}
.rcad-unified-rating-message-v664.is-ok{color:#16803a!important;}
.rcad-unified-rating-message-v664.is-error{color:#b42318!important;}

.rcad-v660-score{gap:9px!important;}
.rcad-v660-score-main strong{font-size:31px!important;}
.rcad-v660-score-main [data-rcad-rating-count]{font-size:12px!important;}
.rcad-v660-first-rating{padding:9px 11px!important;font-size:11px!important;}
.rcad-v660-info-icon{width:20px!important;height:20px!important;min-width:20px!important;font-size:12px!important;}

@media (max-width:700px){
  .rcad-v660-engagement-row .rcad-v654-metric{height:46px!important;padding:0 9px!important;}
  .rcad-v660-engagement-row .rcad-v654-metric svg{width:22px!important;height:22px!important;flex-basis:22px!important;}
  .rcad-v660-vote .rcad-unified-star-picker-v664{gap:3px!important;}
  .rcad-v660-vote .rcad-unified-star-v664{
    flex-basis:36px!important;
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    font-size:37px!important;
  }
  .rcad-v660-score-main strong{font-size:27px!important;}
}


/* ===== SOURCE: css/user-widget.css ===== */
.rcad-user-widget {
    --rcad-uw-yellow: #f6a800;
    --rcad-uw-yellow-dark: #d88f00;
    --rcad-uw-blue: #071b46;
    --rcad-uw-blue-2: #113778;
    --rcad-uw-text: #162033;
    --rcad-uw-muted: #667085;
    --rcad-uw-line: #e6eaf0;
    --rcad-uw-green: #16a34a;
    --rcad-uw-green-soft: #eaf8ef;
    width: 100%;
    max-width: 100%;
    margin: 18px auto;
    overflow: hidden;
    border: 1px solid var(--rcad-uw-line);
    border-radius: 22px;
    background: #fff;
    color: var(--rcad-uw-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rcad-user-widget,
.rcad-user-widget * {
    box-sizing: border-box;
}

.rcad-uw-header {
    padding: 18px;
    background: linear-gradient(135deg, var(--rcad-uw-blue), var(--rcad-uw-blue-2));
    color: #fff;
}

.rcad-uw-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rcad-uw-user {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.rcad-uw-avatar {
    width: 46px;
    height: 46px;
    padding: 2px;
    border-radius: 50%;
    background: var(--rcad-uw-yellow);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.rcad-uw-avatar img {
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.rcad-uw-avatar svg {
    width: 23px;
    height: 23px;
    stroke: var(--rcad-uw-blue);
}

.rcad-uw-welcome,
.rcad-uw-name,
.rcad-uw-status {
    display: block;
}

.rcad-uw-welcome {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.15;
}

.rcad-uw-name {
    max-width: 150px;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rcad-uw-status {
    position: relative;
    margin-top: 5px;
    padding-left: 12px;
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    line-height: 1.2;
}

.rcad-uw-status::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    transform: translateY(-50%);
}

.rcad-uw-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.rcad-uw-icon-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.rcad-uw-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--rcad-uw-yellow);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.rcad-uw-body {
    padding: 16px 18px 18px;
}

.rcad-uw-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 15px;
}

.rcad-uw-stats.has-forum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rcad-uw-stat {
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid var(--rcad-uw-line);
    border-radius: 15px;
    background: #fff;
    color: var(--rcad-uw-text);
    text-align: center;
    text-decoration: none;
}

.rcad-uw-stat:hover,
.rcad-uw-stat:focus-visible {
    background: #fff8e8;
}

.rcad-uw-stat-number,
.rcad-uw-stat-label {
    display: block;
}

.rcad-uw-stat-number {
    color: var(--rcad-uw-blue);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.rcad-uw-stat-label {
    margin-top: 5px;
    color: var(--rcad-uw-muted);
    font-size: 10.5px;
    line-height: 1.2;
}

.rcad-uw-storage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: -3px 0 14px;
    color: var(--rcad-uw-muted);
    font-size: 11px;
    line-height: 1.2;
}

.rcad-uw-storage > span {
    font-weight: 800;
}

.rcad-uw-storage a {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #fff8e8;
    color: var(--rcad-uw-blue);
    font-weight: 800;
    text-decoration: none;
}

.rcad-uw-storage a:hover,
.rcad-uw-storage a:focus-visible {
    background: #fff1c7;
}

.rcad-uw-main-btn {
    width: 100%;
    margin: 0 0 15px;
    padding: 15px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rcad-uw-yellow), var(--rcad-uw-yellow-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.rcad-uw-main-btn:hover,
.rcad-uw-main-btn:focus-visible {
    color: #fff;
    filter: brightness(.98);
}

.rcad-uw-main-title,
.rcad-uw-main-sub {
    display: block;
}

.rcad-uw-main-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.15;
}

.rcad-uw-main-sub {
    margin-top: 5px;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 1.25;
}

.rcad-uw-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rcad-uw-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--rcad-uw-yellow-dark);
}

.rcad-uw-share-box {
    padding: 14px;
    border: 1px solid var(--rcad-uw-line);
    border-radius: 18px;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rcad-uw-share-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: var(--rcad-uw-green-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rcad-uw-share-icon svg {
    width: 19px;
    height: 19px;
    stroke: var(--rcad-uw-green);
}

.rcad-uw-share-title,
.rcad-uw-share-text {
    display: block;
}

.rcad-uw-share-title {
    margin-bottom: 3px;
    color: var(--rcad-uw-blue);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.2;
}

.rcad-uw-share-text {
    color: var(--rcad-uw-muted);
    font-size: 12px;
    line-height: 1.35;
}

.rcad-uw-share-text a,
.rcad-uw-inline-action {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rcad-uw-yellow-dark);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.rcad-uw-share-text a:hover,
.rcad-uw-share-text a:focus-visible,
.rcad-uw-inline-action:hover,
.rcad-uw-inline-action:focus-visible {
    text-decoration: underline;
}

.rcad-uw-social-box {
    margin-top: 13px;
    padding: 12px;
    border: 1px solid var(--rcad-uw-line);
    border-radius: 16px;
    background: #fff;
}

.rcad-uw-social-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 10px;
}

.rcad-uw-social-title,
.rcad-uw-social-sub {
    display: block;
}

.rcad-uw-social-title {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.rcad-uw-social-sub {
    margin-top: 2px;
    color: var(--rcad-uw-muted);
    font-size: 11.5px;
    line-height: 1.25;
}

.rcad-uw-social-chip {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border: 1px solid #fcd34d;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

.rcad-user-widget .rcad-uw-social-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.rcad-uw-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.rcad-uw-social-btn {
    display: grid;
    height: 39px;
    place-items: center;
    border: 1px solid #d9dde4;
    border-radius: 9px;
    background: #f8f6f1;
    color: #667085;
    cursor: pointer;
}

.rcad-uw-social-btn:hover,
.rcad-uw-social-btn:focus-visible {
    background: #fff8e8;
    border-color: #f3c04d;
}

.rcad-uw-social-btn svg {
    width: 20px;
    height: 20px;
}

.rcad-uw-social-btn.is-whatsapp { color: #16a34a; }
.rcad-uw-social-btn.is-facebook { color: #1877f2; }
.rcad-uw-social-btn.is-x { color: #111827; }
.rcad-uw-social-btn.is-telegram { color: #2aabee; }
.rcad-uw-social-btn.is-linkedin { color: #0a66c2; }
.rcad-uw-social-btn.is-pinterest { color: #e60023; }
.rcad-uw-social-btn.is-email { color: #ea4335; }
.rcad-uw-social-btn.is-copy { color: #667085; }

.rcad-uw-social-box .rcad-share-toast {
    margin: 8px 12px;
}

.rcad-uw-social-note {
    margin: 13px 2px 0;
    color: var(--rcad-uw-muted);
    font-size: 11.5px;
    line-height: 1.35;
    text-align: center;
}

@media (max-width: 300px) {
    .rcad-uw-body,
    .rcad-uw-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .rcad-uw-name {
        max-width: 120px;
    }
}

/* RCAD compact sidebar widget: solo acceso + registro/recurso */
.rcad-user-widget {
    margin: 18px auto;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(7, 27, 70, .05);
}

.rcad-uw-header {
    padding: 20px 18px 19px;
}

.rcad-uw-body {
    padding: 18px;
}

.rcad-uw-main-btn {
    min-height: 104px;
    margin-bottom: 18px;
    padding: 20px 18px;
    border-radius: 20px;
}

.rcad-uw-main-title {
    font-size: 21px;
    line-height: 1.08;
}

.rcad-uw-main-sub {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.25;
}

.rcad-uw-arrow {
    width: 48px;
    height: 48px;
}

.rcad-uw-arrow svg {
    width: 22px;
    height: 22px;
}

.rcad-uw-share-box {
    min-height: 118px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    gap: 16px;
}

.rcad-uw-share-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
}

.rcad-uw-share-icon svg {
    width: 26px;
    height: 26px;
}

.rcad-uw-share-title {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.15;
}

.rcad-uw-share-text {
    font-size: 13.5px;
    line-height: 1.35;
}

.rcad-uw-social-box,
.rcad-uw-stats,
.rcad-uw-storage,
.rcad-uw-icon-btn {
    display: none !important;
}

@media (max-width: 300px) {
    .rcad-uw-main-title {
        font-size: 19px;
    }

    .rcad-uw-main-sub,
    .rcad-uw-share-text {
        font-size: 12.5px;
    }

    .rcad-uw-share-box {
        padding: 15px;
        gap: 12px;
    }

    .rcad-uw-share-icon {
        width: 48px;
        height: 48px;
    }
}


/* RCAD final: widget limpio, sin bloque de compartir para usuarios conectados */
.rcad-user-widget:not(.rcad-user-widget-guest) .rcad-uw-body {
    padding: 18px;
}

.rcad-user-widget:not(.rcad-user-widget-guest) .rcad-uw-main-btn {
    margin-bottom: 0;
}

.rcad-user-widget:not(.rcad-user-widget-guest) .rcad-uw-share-box {
    display: none !important;
}

/* RCAD approved clean widget - no blurred borders/shadows */
.rcad-user-widget.rcad-user-widget-clean {
    --rcad-uw-yellow: #f6a800;
    --rcad-uw-yellow-dark: #d88f00;
    --rcad-uw-blue: #071b46;
    --rcad-uw-text: #071b46;
    --rcad-uw-muted: #5f6b82;
    --rcad-uw-line: #e2e5eb;
    width: 100%;
    max-width: 320px;
    margin: 18px auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rcad-uw-line);
    border-radius: 18px;
    box-shadow: none !important;
    color: var(--rcad-uw-text);
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-header {
    padding: 18px 20px;
    background: var(--rcad-uw-blue) !important;
    color: #fff;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-user {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-avatar {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid var(--rcad-uw-yellow);
    border-radius: 50%;
    background: transparent;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-avatar svg {
    width: 19px;
    height: 19px;
    color: var(--rcad-uw-yellow);
    stroke: var(--rcad-uw-yellow);
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-welcome,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-name,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-status {
    display: block;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-welcome {
    color: #9db4dd;
    font-size: 11px;
    line-height: 1.2;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-name {
    max-width: 150px;
    margin: 1px 0 4px;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-status {
    position: relative;
    margin: 0;
    padding-left: 12px;
    color: #b9c8e6;
    font-size: 10.5px;
    line-height: 1.2;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-status::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    transform: translateY(-50%);
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-bell {
    position: relative;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8ea4cf;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-bell:hover,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-bell:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-bell svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-bell-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-body {
    padding: 26px 20px 20px;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-headline {
    margin: 0 0 8px;
    color: var(--rcad-uw-blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-subtext {
    margin: 0 0 20px;
    color: var(--rcad-uw-muted);
    font-size: 13px;
    line-height: 1.55;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-main-btn {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 16px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--rcad-uw-yellow) !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-main-btn:hover,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-main-btn:focus-visible {
    filter: brightness(1.03);
    color: #fff;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-main-title {
    color: #fff;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-main-sub,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-share-box,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-social-box,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-stats,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-storage,
.rcad-user-widget.rcad-user-widget-clean .rcad-uw-icon-btn {
    display: none !important;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rcad-user-widget.rcad-user-widget-clean .rcad-uw-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--rcad-uw-yellow-dark);
}

@media (max-width: 300px) {
    .rcad-user-widget.rcad-user-widget-clean .rcad-uw-header,
    .rcad-user-widget.rcad-user-widget-clean .rcad-uw-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .rcad-user-widget.rcad-user-widget-clean .rcad-uw-headline {
        font-size: 17px;
    }

    .rcad-user-widget.rcad-user-widget-clean .rcad-uw-subtext {
        font-size: 12.5px;
    }
}

/* Notification center in the user widget */
.rcad-user-widget .rcad-uw-notifications { position: relative; flex: 0 0 auto; }
.rcad-user-widget .rcad-uw-bell { border: 0; cursor: pointer; font: inherit; }
.rcad-user-widget .rcad-uw-bell-badge.is-hidden { display: none; }
.rcad-user-widget .rcad-uw-notification-menu {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, calc(100vw - 40px));
    overflow: hidden;
    border: 1px solid #dfe4ec;
    border-radius: 14px;
    background: #fff;
    color: #071b46;
    box-shadow: none;
}
.rcad-user-widget .rcad-uw-notification-menu[hidden] { display: none !important; }
.rcad-user-widget .rcad-uw-notification-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-bottom: 1px solid #edf0f4;
    font-size: 14px;
}
.rcad-user-widget .rcad-uw-notification-close {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #667085;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.rcad-user-widget .rcad-uw-notification-list { max-height: 310px; overflow-y: auto; }
.rcad-user-widget .rcad-uw-notification-loading,
.rcad-user-widget .rcad-uw-notification-empty {
    display: block;
    margin: 0;
    padding: 20px 14px;
    color: #667085;
    font-size: 12.5px;
    text-align: center;
}
.rcad-user-widget .rcad-uw-notification-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f2f5;
    color: #344054;
    text-decoration: none;
}
.rcad-user-widget .rcad-uw-notification-item:hover { background: #f8fafc; color: #071b46; }
.rcad-user-widget .rcad-uw-notification-dot {
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: #c8d0dc;
    flex: 0 0 auto;
}
.rcad-user-widget .rcad-uw-notification-item.is-unread .rcad-uw-notification-dot { background: #f6a800; }
.rcad-user-widget .rcad-uw-notification-copy { min-width: 0; }
.rcad-user-widget .rcad-uw-notification-copy strong {
    display: block;
    color: inherit;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.4;
}
.rcad-user-widget .rcad-uw-notification-copy small {
    display: block;
    margin-top: 3px;
    color: #98a2b3;
    font-size: 10.5px;
}
.rcad-user-widget .rcad-uw-notification-all {
    display: block;
    padding: 11px 14px;
    color: #071b46;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.rcad-user-widget .rcad-uw-notification-all:hover { background: #f8fafc; color: #f09a00; }


/* ===== SOURCE: css/custom.css ===== */
/* ============================================================
   RCAD PRO — Custom CSS Global v1
   ============================================================
   Añade aquí cualquier CSS personalizado.
   Este archivo se carga el ÚLTIMO — máxima prioridad.
   No toques ningún otro CSS del tema, solo este archivo.
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   FAQ ACORDEÓN — Estilo técnico CAD
   ════════════════════════════════════════════════════════════ */
.faq-acordeon {
    width: 100%;
    max-width: none;
    margin: 25px 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}
.faq-acordeon .acordeon {
    width: 100%;
    background-color: #f9f9f9;
    color: #2c3e50;
    cursor: pointer;
    padding: 14px 18px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: background-color .25s ease;
}
.faq-acordeon .acordeon:hover,
.faq-acordeon .acordeon.active {
    background-color: #f0f0f0;
}
.faq-acordeon .panel {
    padding: 0 18px 14px;
    background-color: #fffef9;
    display: none;
    overflow: hidden;
    border-left: 3px solid #f1c40f;
    margin-bottom: 10px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
/* Símbolo +/− a la derecha */
button.acordeon {
    position: relative;
    padding-right: 36px;
}
button.acordeon::before {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
}
button.acordeon.active::before {
    content: "−";
}
/* CTA dentro del FAQ */
.faq-cta {
    margin-top: 30px;
    background-color: #fff8dc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.faq-cta .cta-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    background-color: #f1c40f;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    transition: background-color .3s ease;
}
.faq-cta .cta-btn:hover {
    background-color: #d4ac0d;
}

/* ════════════════════════════════════════════════════════════
   FAQ RCAD — Estilo SaaS/documentación
   ════════════════════════════════════════════════════════════ */
.rcad-faq {
    margin: 2.2em 0;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.rcad-faq-item {
    border-bottom: 1px solid #f0f1f3;
    background: #fff;
}
.rcad-faq-item:last-child { border-bottom: none; }
.rcad-faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: #1f1f1f;
    padding: 1.15em 1.45em;
    margin: 0;
    background: #fff;
    border-left: 4px solid transparent;
    transition: background .2s ease;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-top: none;
    border-right: none;
    border-bottom: none;
    outline: none;
}
.rcad-faq-question:hover {
    background: #fffdf6;
    border-left: 4px solid #ffd54f;
}
.rcad-faq-answer {
    padding: 1.2em 1.45em;
    background: #fafafa;
    border-top: 1px solid #f0f1f3;
}
.rcad-faq-answer p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.75;
    color: #444;
}
.rcad-faq-answer a {
    color: #c79a00;
    font-weight: 500;
    text-decoration: none;
}
.rcad-faq-answer a:hover { text-decoration: underline; }
.rcad-faq-answer .rank-math-breadcrumb,
.rcad-faq-answer a[href*="category"] { display: none !important; }

/* ════════════════════════════════════════════════════════════
   BOTÓN DE DESCARGA CAD
   ════════════════════════════════════════════════════════════ */
.boton-descarga-cad {
    text-align: center;
    margin: 24px 0;
}
.boton-descarga-cad a {
    display: inline-block;
    background: #f4f4f4;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    transition: all .2s ease-in-out;
}
.boton-descarga-cad a:hover {
    background: #e0e0e0;
    box-shadow: 0 3px 6px rgba(0,0,0,.15);
}
.descarga-cad .wp-block-button__link {
    background-color: #e0e0e0;
    color: #2c3e50;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 24px;
    transition: all .2s ease-in-out;
}
.descarga-cad .wp-block-button__link:hover {
    background-color: #d5d5d5;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   BLOQUE DESCARGA PRO (azul + botón naranja)
   ════════════════════════════════════════════════════════════ */
.rcad-download-block,
.entry-content .rcad-download-block {
    background: linear-gradient(135deg, #1a237e 0%, #1565c0 100%) !important;
    border-radius: 12px !important;
    padding: 1.8em 2em !important;
    margin: 2em 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5em !important;
    flex-wrap: wrap !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(26,35,126,.25) !important;
}
.rcad-download-block-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 .5em !important;
    line-height: 1.3 !important;
}
.rcad-download-block-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .4em !important;
    margin-bottom: .4em !important;
}
.rcad-download-tag {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    font-size: .75rem !important;
    font-weight: 600 !important;
    padding: .2em .7em !important;
    border-radius: 20px !important;
}
.rcad-download-block-subtitle {
    font-size: .8rem !important;
    color: rgba(255,255,255,.7) !important;
    margin: 0 !important;
}
.rcad-download-block-btn,
a.rcad-download-block-btn,
.entry-content a.rcad-download-block-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: .55em !important;
    background: linear-gradient(135deg, #ff7c00 0%, #ff4500 100%) !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    padding: .85em 1.8em !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(255,80,0,.5) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: .03em !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
.rcad-download-block-btn:hover,
a.rcad-download-block-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 28px rgba(255,80,0,.6) !important;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #ff8c1a 0%, #ff5500 100%) !important;
}
.rcad-btn-download,
a.rcad-btn-download,
.entry-content a.rcad-btn-download {
    display: inline-flex !important;
    align-items: center !important;
    gap: .5em !important;
    background: linear-gradient(135deg, #ff7c00 0%, #ff4500 100%) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: .9rem !important;
    padding: .65em 1.5em !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 14px rgba(255,80,0,.4) !important;
    transition: transform .2s, box-shadow .2s !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    border: none !important;
    cursor: pointer !important;
}
.rcad-btn-download:hover,
a.rcad-btn-download:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255,80,0,.55) !important;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #ff8c1a 0%, #ff5500 100%) !important;
}
@media (max-width: 640px) {
    .rcad-download-block { flex-direction: column !important; text-align: center !important; }
    .rcad-download-block-meta { justify-content: center !important; }
}

/* ════════════════════════════════════════════════════════════
   ARTÍCULOS RELACIONADOS
   ════════════════════════════════════════════════════════════ */
.rcad-related-posts,
.entry-content .rcad-related-posts {
    background: #f4f6fb !important;
    border: 1px solid #dde2f0 !important;
    border-radius: 12px !important;
    padding: 1.4em 1.6em !important;
    margin: 2em 0 !important;
}
.entry-content .rcad-related-posts h3,
.rcad-related-posts h3 {
    font-size: .85rem !important;
    font-weight: 700 !important;
    color: #5f6368 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin: 0 0 1em !important;
    padding: 0 0 .6em !important;
    border-bottom: 2px solid #dde2f0 !important;
}
.rcad-related-posts ul,
.entry-content .rcad-related-posts ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .5em !important;
}
.rcad-related-posts li,
.entry-content .rcad-related-posts li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
a.rcad-related-link,
.entry-content a.rcad-related-link {
    display: flex !important;
    align-items: center !important;
    gap: .75em !important;
    background: #fff !important;
    border: 1px solid #dde2f0 !important;
    border-radius: 8px !important;
    padding: .7em 1em !important;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .15s !important;
    color: #1a237e !important;
}
a.rcad-related-link:hover,
.entry-content a.rcad-related-link:hover {
    border-color: #1565c0 !important;
    box-shadow: 0 2px 12px rgba(26,35,126,.12) !important;
    transform: translateX(3px) !important;
    text-decoration: none !important;
    color: #1565c0 !important;
}
.rcad-related-badge {
    display: inline-flex !important;
    align-items: center !important;
    background: #e8ecf8 !important;
    color: #1a237e !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    padding: .2em .6em !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    letter-spacing: .02em !important;
}
.rcad-related-title {
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: inherit !important;
    line-height: 1.3 !important;
}

/* ════════════════════════════════════════════════════════════
   CTA BLOQUES
   ════════════════════════════════════════════════════════════ */
.rcad-cta-primary {
    background: linear-gradient(135deg, #e8f0fe 0%, #f0f4ff 100%) !important;
    border: 2px solid #c5d9f0 !important;
    border-left: 5px solid #1a237e !important;
    border-radius: 10px !important;
    padding: 1.3em 1.6em !important;
    margin: 1.8em 0 !important;
    text-align: center !important;
}
.rcad-cta-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #1a237e !important;
    margin: 0 0 .8em !important;
}
.rcad-cta-sub {
    font-size: .8rem !important;
    color: #5f6368 !important;
    margin: .5em 0 0 !important;
}
.rcad-cta-secondary {
    background: #f8f9ff !important;
    border: 1px solid #dde2f0 !important;
    border-radius: 8px !important;
    padding: .9em 1.3em !important;
    margin: 1em 0 !important;
    font-size: .93rem !important;
}
.rcad-cta-secondary a {
    color: #1565c0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.rcad-cta-secondary a:hover { text-decoration: underline !important; }

/* ════════════════════════════════════════════════════════════
   STRIP CARRUSEL — Últimas publicaciones (single post)
   Selectores ultra-específicos para ganar al tema padre
   ════════════════════════════════════════════════════════════ */
.rcad-strip-outer { display: block !important; width: 100% !important; margin: 0 0 8px !important; box-sizing: border-box !important; }
.rcad-strip { display: block !important; width: 100% !important; margin: 0 0 8px !important; border: 1px solid #ede8df !important; border-radius: 8px !important; background: #fff !important; box-shadow: 0 1px 3px rgba(0,0,0,.05) !important; box-sizing: border-box !important; overflow: hidden !important; }
.rcad-strip__header { display: flex !important; align-items: center !important; gap: 7px !important; padding: 8px 12px !important; background: #fafaf8 !important; border-bottom: 1px solid #ede8df !important; }
.rcad-strip__dot { display: inline-block !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; background: #f5a623 !important; flex-shrink: 0 !important; }
.rcad-strip__title { font-size: 10.5px !important; font-weight: 800 !important; color: #555 !important; text-transform: uppercase !important; letter-spacing: .07em !important; flex: 1 !important; margin: 0 !important; padding: 0 !important; }
.rcad-strip__nav { display: flex !important; gap: 4px !important; flex-shrink: 0 !important; }
.rcad-strip__btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 24px !important; height: 24px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; border: 1.5px solid #e0d8cc !important; background: #fff !important; color: #777 !important; font-size: 12px !important; cursor: pointer !important; line-height: 1 !important; box-shadow: none !important; transition: all .15s !important; }
.rcad-strip__btn:hover { background: #f5a623 !important; border-color: #f5a623 !important; color: #fff !important; }
.rcad-strip__btn:disabled { opacity: .3 !important; }
.rcad-strip__viewport { display: block !important; overflow: hidden !important; width: 100% !important; }
.rcad-strip__track { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 8px !important; padding: 8px !important; margin: 0 !important; transition: transform .3s cubic-bezier(.4,0,.2,1) !important; will-change: transform !important; box-sizing: border-box !important; width: max-content !important; list-style: none !important; }
.rcad-strip__item { display: block !important; flex: 0 0 160px !important; min-width: 160px !important; max-width: 160px !important; margin: 0 !important; padding: 0 !important; float: none !important; list-style: none !important; }
.rcad-strip__item::before, .rcad-strip__item::marker { display: none !important; content: none !important; }
.rcad-strip__card { display: flex !important; flex-direction: column !important; text-decoration: none !important; border: 1px solid #f0ebe3 !important; border-radius: 6px !important; overflow: hidden !important; background: #fafaf8 !important; height: 100% !important; box-sizing: border-box !important; transition: box-shadow .15s, transform .15s !important; }
.rcad-strip__card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1) !important; transform: translateY(-2px) !important; text-decoration: none !important; }
.rcad-strip__thumb { display: block !important; position: relative !important; width: 100% !important; padding-top: 56% !important; overflow: hidden !important; background: #f0ebe3 !important; flex-shrink: 0 !important; }
.rcad-strip__thumb img { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; margin: 0 !important; padding: 0 !important; border: none !important; transition: transform .25s !important; }
.rcad-strip__card:hover .rcad-strip__thumb img { transform: scale(1.06) !important; }
.rcad-strip__badge { position: absolute !important; top: 4px !important; left: 4px !important; background: #f5a623 !important; color: #fff !important; font-size: 8px !important; font-weight: 800 !important; padding: 2px 5px !important; border-radius: 2px !important; letter-spacing: .06em !important; text-transform: uppercase !important; z-index: 1 !important; }
.rcad-strip__info { display: flex !important; flex-direction: column !important; gap: 3px !important; padding: 6px 8px 8px !important; min-width: 0 !important; }
.rcad-strip__cat { display: block !important; font-size: 9.5px !important; font-weight: 700 !important; color: #f5a623 !important; text-transform: uppercase !important; letter-spacing: .05em !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; margin: 0 !important; padding: 0 !important; }
.rcad-strip__name { display: block !important; font-size: 11.5px !important; font-weight: 600 !important; color: #333 !important; line-height: 1.35 !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; margin: 0 !important; padding: 0 !important; transition: color .15s !important; }
.rcad-strip__card:hover .rcad-strip__name { color: #f5a623 !important; }
@media (max-width: 768px) { .rcad-strip { display: none !important; } }

/* ═══════════════════════════════════════════════════════════
   SOCIAL SHARE BUTTONS — Orbital entry-social override
   ═══════════════════════════════════════════════════════════ */

.entry-social {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 20px 0 !important;
    margin: 24px 0 !important;
    border-top: 1px solid #f0ede8 !important;
    border-bottom: 1px solid #f0ede8 !important;
}

/* Base de todos los botones */
.entry-social .social {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.entry-social .social:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.2) !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

/* Icono SVG via máscara — compatible con todos los browsers modernos */
.entry-social .social::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background-color: #fff !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
}

/* ── Colores por red ── */
.entry-social .social-facebook  { background: #1877f2 !important; }
.entry-social .social-twitter   { background: #000 !important; }
.entry-social .social-google    { background: #ea4335 !important; }
.entry-social .social-whatsapp  { background: #25d366 !important; }
.entry-social .social-tumblr    { background: #35465c !important; }
.entry-social .social-email     { background: #6b7280 !important; }
.entry-social .social-linkedin  { background: #0a66c2 !important; }
.entry-social .social-pinterest { background: #e60023 !important; }
.entry-social .social-vk        { background: #0077ff !important; }
.entry-social .social-telegram  { background: #0088cc !important; }

/* ── Iconos SVG como máscaras ── */
.entry-social .social-facebook::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047V9.41c0-3.025 1.792-4.697 4.533-4.697 1.313 0 2.686.236 2.686.236v2.97h-1.513c-1.491 0-1.956.93-1.956 1.886v2.268h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047V9.41c0-3.025 1.792-4.697 4.533-4.697 1.313 0 2.686.236 2.686.236v2.97h-1.513c-1.491 0-1.956.93-1.956 1.886v2.268h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-twitter::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.747l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.747l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-google::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13.5v-3h8.717c.086.47.13.96.13 1.5 0 5.246-3.526 9-8.847 9C5.955 21 2 16.97 2 12S5.955 3 12 3c2.695 0 4.95.98 6.69 2.59L16.5 7.77C15.276 6.63 13.73 6 12 6c-3.308 0-6 2.686-6 6s2.692 6 6 6c2.8 0 4.728-1.59 5.318-3.5H12z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 13.5v-3h8.717c.086.47.13.96.13 1.5 0 5.246-3.526 9-8.847 9C5.955 21 2 16.97 2 12S5.955 3 12 3c2.695 0 4.95.98 6.69 2.59L16.5 7.77C15.276 6.63 13.73 6 12 6c-3.308 0-6 2.686-6 6s2.692 6 6 6c2.8 0 4.728-1.59 5.318-3.5H12z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-whatsapp::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-tumblr::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.563 24c-5.093 0-7.031-3.756-7.031-6.411V9.747H5.116V6.648c3.63-1.313 4.512-4.596 4.71-6.469C9.84.051 9.941 0 9.999 0h3.517v6.114h4.801v3.633h-4.82v7.47c.016 1.025.739 2.031 2.024 2.031.796 0 1.427-.27 2.085-.668l1.218 3.214C17.378 23.304 15.893 24 14.563 24z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14.563 24c-5.093 0-7.031-3.756-7.031-6.411V9.747H5.116V6.648c3.63-1.313 4.512-4.596 4.71-6.469C9.84.051 9.941 0 9.999 0h3.517v6.114h4.801v3.633h-4.82v7.47c.016 1.025.739 2.031 2.024 2.031.796 0 1.427-.27 2.085-.668l1.218 3.214C17.378 23.304 15.893 24 14.563 24z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-email::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-linkedin::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.306zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.306zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-pinterest::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-vk::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.684 0H8.316C1.592 0 0 1.592 0 8.316v7.368C0 22.408 1.592 24 8.316 24h7.368C22.408 24 24 22.408 24 15.684V8.316C24 1.592 22.408 0 15.684 0zm3.692 17.123h-1.744c-.66 0-.864-.525-2.05-1.727-1.033-1-1.49-1.135-1.744-1.135-.356 0-.458.102-.458.593v1.575c0 .424-.135.678-1.253.678-1.846 0-3.896-1.118-5.335-3.202C4.624 10.857 4.03 8.57 4.03 8.096c0-.254.102-.491.593-.491h1.744c.44 0 .61.203.78.677.863 2.49 2.303 4.675 2.896 4.675.22 0 .322-.102.322-.66V9.721c-.068-1.186-.695-1.287-.695-1.71 0-.204.17-.407.44-.407h2.744c.373 0 .508.203.508.643v3.473c0 .372.17.508.271.508.22 0 .407-.136.813-.542 1.254-1.406 2.151-3.574 2.151-3.574.119-.254.322-.491.763-.491h1.744c.525 0 .644.27.525.643-.22 1.017-2.354 4.031-2.354 4.031-.186.305-.254.44 0 .78.186.254.796.779 1.203 1.253.745.847 1.32 1.558 1.473 2.05.17.491-.085.745-.576.745z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.684 0H8.316C1.592 0 0 1.592 0 8.316v7.368C0 22.408 1.592 24 8.316 24h7.368C22.408 24 24 22.408 24 15.684V8.316C24 1.592 22.408 0 15.684 0zm3.692 17.123h-1.744c-.66 0-.864-.525-2.05-1.727-1.033-1-1.49-1.135-1.744-1.135-.356 0-.458.102-.458.593v1.575c0 .424-.135.678-1.253.678-1.846 0-3.896-1.118-5.335-3.202C4.624 10.857 4.03 8.57 4.03 8.096c0-.254.102-.491.593-.491h1.744c.44 0 .61.203.78.677.863 2.49 2.303 4.675 2.896 4.675.22 0 .322-.102.322-.66V9.721c-.068-1.186-.695-1.287-.695-1.71 0-.204.17-.407.44-.407h2.744c.373 0 .508.203.508.643v3.473c0 .372.17.508.271.508.22 0 .407-.136.813-.542 1.254-1.406 2.151-3.574 2.151-3.574.119-.254.322-.491.763-.491h1.744c.525 0 .644.27.525.643-.22 1.017-2.354 4.031-2.354 4.031-.186.305-.254.44 0 .78.186.254.796.779 1.203 1.253.745.847 1.32 1.558 1.473 2.05.17.491-.085.745-.576.745z'/%3E%3C/svg%3E") !important;
}
.entry-social .social-telegram::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E") !important;
}

/* ── Tooltip con nombre de la red ── */
.entry-social .social::after {
    content: attr(class) !important;
    position: absolute !important;
    bottom: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #1a1a2e !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .15s !important;
    text-transform: capitalize !important;
    letter-spacing: .03em !important;
}
.entry-social .social:hover::after { opacity: 1 !important; }

/* Ocultar el texto "social social-xxx" que muestra el attr() —
   reemplazar con nombre limpio vía data-* no es posible aquí,
   así que ocultamos el tooltip en favor de simplicidad */
.entry-social .social::after { display: none !important; }

/* ── Mobile ── */
@media (max-width: 600px) {
    .entry-social .social { width: 32px !important; height: 32px !important; border-radius: 7px !important; }
    .entry-social .social::before { width: 16px !important; height: 16px !important; }
    .entry-social { gap: 6px !important; }
}

/* RCAD v5.21 — aviso integrado en tarjeta */
.rcad-download-wait-note{margin-top:7px;font-size:12px;line-height:1.4;color:#64748b;font-weight:600;display:flex;align-items:center;gap:6px;}

/* RCAD v5.22 — aviso encima del botón de descarga */

/* RCAD v5.23 — aviso centrado entre las dos cajas de descarga */
.rcad-download-wait-between{margin:12px 0;text-align:center;font-size:12px;line-height:1.45;color:#334e73;font-weight:500;width:100%;}


/* ===== SOURCE: css/mobile.css ===== */
/* ============================================================
   RCAD PRO — Mobile Responsive CSS
   Breakpoints: 480px, 600px, 768px, 991px
   ============================================================ */


/* ══════════════════════════════════════════════════════════
   FIX ORBITAL PARENT THEME — Neutralizar contenedor padre
   SOLO en mobile/tablet (≤ 991px). En desktop se respeta
   el max-width: 1200px del .rcad-home-outer definido en home.css
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* Reset del contenedor Orbital en home */
    body.home .site-main,
    body.home #content,
    body.home .site-content,
    body.home .entry-content,
    body.home main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* El .container de Orbital tiene padding lateral fijo */
    body.home .container,
    body.home #content-wrapper,
    body.home .content-area {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* El rcad-hero ya tiene su propio padding */
    .rcad-hero {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* El outer wrapper ya gestiona su propio padding interno */
    .rcad-home-outer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Secciones individuales: no deben desbordar */
    .rcad-home-section,
    .rcad-home-wrap,
    .rcad-home-wrap > * {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Cat cards: evitar desbordamiento del grid */
    .rcad-cat-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .rcad-cat-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
    }
    .rcad-cat-card__name,
    .rcad-cat-card__desc,
    .rcad-cat-card__cta {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    /* SEO columns: evitar desbordamiento */
    .rcad-seo-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .rcad-seo-col {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }
    .rcad-seo-col__text,
    .rcad-seo-col__title {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Últimas publicaciones */
    .rcad-lc,
    .rcad-lc__title,
    .rcad-lc__cat {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

} /* fin @media (max-width: 991px) */

/* ══════════════════════════════════════════════════════════
   BASE GLOBAL — Prevenir desbordamiento horizontal
   NOTA: NO aplicar height:auto a iframe (rompe cálculo de
   altura de AdSense). NO forzar box-sizing con !important
   (cambia dimensiones internas de AdSense).
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
img, svg, video {
    max-width: 100% !important;
    height: auto !important;
}
/* iframe SIN height:auto — AdSense necesita controlar su propia altura */

/* ══════════════════════════════════════════════════════════
   VIEWPORT META — asegurar viewport correcto
   (esto se hace en PHP, aquí solo CSS de respaldo)
══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   TABLET (≤ 991px)
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* Layout principal: sidebar debajo del contenido */
    .rcad-home-outer {
        flex-direction: column !important;
        padding: 16px 16px 32px !important;
        gap: 20px !important;
    }
    .rcad-home-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hero */
    .rcad-hero {
        padding: 40px 16px 28px !important;
    }
    .rcad-hero__h1 {
        font-size: 28px !important;
    }
    .rcad-hero__sub {
        font-size: 15px !important;
    }

    /* Stats bar: menos padding entre items */
    .rcad-hero__stat {
        padding: 0 20px !important;
    }

    /* SEO grid: 2 columnas en tablet */
    .rcad-seo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Últimas publicaciones: 2 columnas */
    .rcad-latest-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Cat grid: 3 columnas */
    .rcad-cat-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Sidebar widget */
    .rcad-sidebar-widget {
        margin-bottom: 16px !important;
    }
}

/* ══════════════════════════════════════════════════════════
   MOBILE GRANDE (≤ 768px)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Layout ─────────────────────────────────────────── */
    .rcad-home-outer {
        padding: 12px 12px 28px !important;
        gap: 16px !important;
    }
    .rcad-home-section {
        padding: 18px 14px !important;
        margin-bottom: 16px !important;
    }

    /* ── Hero ───────────────────────────────────────────── */
    .rcad-hero {
        padding: 32px 14px 24px !important;
    }
    .rcad-hero__h1 {
        font-size: 22px !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 10px !important;
    }
    .rcad-hero__sub {
        font-size: 14px !important;
        margin-bottom: 22px !important;
    }

    /* Buscador: columna en mobile */
    .rcad-hero__search {
        max-width: 100% !important;
        margin: 0 0 18px !important;
    }
    .rcad-hero__search-wrap {
        flex-direction: column !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .rcad-hero__input {
        padding: 14px 16px !important;
        font-size: 15px !important;
        border-radius: 0 !important;
        width: 100% !important;
    }
    .rcad-hero__btn {
        border-radius: 0 0 10px 10px !important;
        padding: 14px 20px !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 14px !important;
        justify-content: center !important;
    }
    .rcad-hero__search-icon {
        display: none !important;
    }

    /* Tags populares: más pequeñas y fluidas */
    .rcad-hero__tags {
        gap: 6px !important;
        justify-content: flex-start !important;
    }
    .rcad-hero__tags-label {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 4px !important;
    }
    .rcad-hero__tag {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    /* Stats bar: wrap en 2 filas de 2 */
    .rcad-hero__stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        border-top: 1px solid rgba(255,255,255,.1) !important;
        padding-top: 20px !important;
    }
    .rcad-hero__stat {
        padding: 10px 8px !important;
        border-right: 1px solid rgba(255,255,255,.1) !important;
        border-bottom: 1px solid rgba(255,255,255,.1) !important;
    }
    .rcad-hero__stat:nth-child(2n) {
        border-right: none !important;
    }
    .rcad-hero__stat:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
    .rcad-hero__stat-n {
        font-size: 20px !important;
    }
    .rcad-hero__stat-label {
        font-size: 10px !important;
    }
    .rcad-hero__stat-emoji {
        font-size: 18px !important;
    }

    /* ── Section header ─────────────────────────────────── */
    .rcad-sh {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    .rcad-sh__title {
        font-size: 17px !important;
    }
    .rcad-sh__sub {
        font-size: 12px !important;
    }
    .rcad-sh__more {
        font-size: 12px !important;
        padding: 4px 12px !important;
    }

    /* ── Carrusel de tarjetas ───────────────────────────── */
    .rcad-rc {
        flex: 0 0 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
    }
    .rcad-rc__title {
        font-size: 12px !important;
    }
    .rcad-rc__body {
        padding: 8px 10px 4px !important;
    }

    /* ── Cat grid: 2 columnas ───────────────────────────── */
    .rcad-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .rcad-cat-card {
        padding: 14px 10px 12px !important;
    }
    .rcad-cat-card__emoji {
        font-size: 28px !important;
    }
    .rcad-cat-card__name {
        font-size: 12px !important;
    }
    .rcad-cat-card__desc {
        display: none !important;
    }

    /* ── SEO Grid: 1 columna ────────────────────────────── */
    .rcad-seo-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .rcad-seo-col {
        padding: 16px 14px !important;
    }

    /* ── Últimas publicaciones: 1 columna ───────────────── */
    .rcad-latest-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* ── Silos sidebar ──────────────────────────────────── */
    .rcad-silos {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .rcad-silo {
        padding: 12px 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .rcad-silo__arrow {
        display: none !important;
    }
    .rcad-silo__desc {
        font-size: 11px !important;
        white-space: normal !important;
    }

    /* ── SEO footer ─────────────────────────────────────── */
    .rcad-seo-footer {
        padding: 14px 14px !important;
    }

    /* ── Sidebar widgets en grid ────────────────────────── */
    .rcad-home-sidebar .rcad-home-section {
        margin-bottom: 14px !important;
    }
}

/* ══════════════════════════════════════════════════════════
   MOBILE PEQUEÑO (≤ 600px)
══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* Layout más compacto */
    .rcad-home-outer {
        padding: 10px 10px 24px !important;
        gap: 14px !important;
    }
    .rcad-home-section {
        padding: 14px 12px !important;
        border-radius: 8px !important;
    }

    /* Hero más compacto */
    .rcad-hero {
        padding: 24px 12px 20px !important;
    }
    .rcad-hero__h1 {
        font-size: 20px !important;
    }

    /* Carrusel: tarjetas más pequeñas */
    .rcad-rc {
        flex: 0 0 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
    }
    .rcad-hc__track {
        gap: 12px !important;
    }
    .rcad-hc__btn {
        width: 30px !important;
        height: 30px !important;
    }

    /* Cat grid: 2 columnas compactas */
    .rcad-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Silos: columna única */
    .rcad-silos {
        grid-template-columns: 1fr !important;
    }
    .rcad-silo {
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 12px !important;
    }
    .rcad-silo__arrow {
        display: block !important;
    }

    /* Últimas publicaciones: forzar 1 columna */
    .rcad-latest-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ══════════════════════════════════════════════════════════
   MOBILE MUY PEQUEÑO (≤ 480px)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* Padding mínimo */
    .rcad-home-outer {
        padding: 8px 8px 20px !important;
    }
    .rcad-home-section {
        padding: 12px 10px !important;
    }

    /* Hero mínimo */
    .rcad-hero {
        padding: 20px 10px 18px !important;
    }
    .rcad-hero__h1 {
        font-size: 19px !important;
        line-height: 1.2 !important;
    }
    .rcad-hero__sub {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }

    /* Stats en 2x2 */
    .rcad-hero__stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .rcad-hero__stat-n {
        font-size: 18px !important;
    }

    /* Cat grid: 1 columna solo en muy pequeño */
    .rcad-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Carrusel mínimo */
    .rcad-rc {
        flex: 0 0 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
    }
    .rcad-rc__footer {
        padding: 6px 8px 10px !important;
    }
    .rcad-rc__cta {
        font-size: 10px !important;
        padding: 7px 6px !important;
    }

    /* Section header: stack vertical */
    .rcad-sh {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .rcad-sh__right {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    /* Botón cargar más */
    .rcad-loadmore-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    /* Sidebar: full width con scroll */
    .rcad-sidebar-widget {
        width: 100% !important;
    }

    /* SEO col: más compacta */
    .rcad-seo-col {
        padding: 12px 12px !important;
    }
    .rcad-seo-col__title {
        font-size: 14px !important;
    }
    .rcad-seo-col__text {
        font-size: 12px !important;
    }
}

/* ══════════════════════════════════════════════════════════
   FIXES ESPECÍFICOS — Problemas vistos en capturas
══════════════════════════════════════════════════════════ */

/* Fix: tarjetas del carrusel que se cortan */
@media (max-width: 768px) {
    .rcad-hc {
        align-items: center !important;
    }
    .rcad-hc__vp {
        overflow: hidden !important;
        width: 100% !important;
    }
    .rcad-hc__track {
        padding-bottom: 8px !important;
    }
}

/* Fix: "Explora por Categoría" — tarjetas sin imagen/emoji visible */
@media (max-width: 768px) {
    .rcad-cat-card__visual {
        margin-bottom: 8px !important;
    }
    .rcad-cat-card__visual img {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Fix: contenido de tarjetas cortado a la derecha */
@media (max-width: 768px) {
    .rcad-rc__a {
        width: 100% !important;
    }
    .rcad-lc {
        width: 100% !important;
    }
}

/* Fix: texto "Descarga Bloques AutoCAD DWG Gratis" desbordado */
@media (max-width: 768px) {
    .rcad-seo-col__title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    .rcad-seo-col__text {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
        word-break: break-word !important;
    }
}

/* Fix: Últimas publicaciones — título de sección + "new" badge */
@media (max-width: 480px) {
    .rcad-lc__badge {
        font-size: 8px !important;
        padding: 2px 5px !important;
    }
    .rcad-lc__body {
        padding: 10px 12px 12px !important;
    }
    .rcad-lc__title {
        font-size: 13px !important;
    }
}

/* Fix: mega-menu no visible en mobile (asegurar hamburger) */
@media (max-width: 768px) {
    .rcad-mega-nav {
        display: none !important;
    }
}

/* Fix: category-nav horizontal scroll en mobile */
@media (max-width: 768px) {
    .rcad-cat-nav,
    .category-nav-bar {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 4px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }
    .rcad-cat-nav::-webkit-scrollbar,
    .category-nav-bar::-webkit-scrollbar {
        display: none !important;
    }
}

/* Fix: footer no desbordado */
@media (max-width: 768px) {
    .site-footer,
    .rcad-footer {
        overflow: hidden !important;
        width: 100% !important;
    }
    .rcad-footer__inner {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 20px 14px !important;
    }
}

/* Fix: topbar en mobile */
@media (max-width: 768px) {
    .rcad-topbar {
        font-size: 11px !important;
        padding: 4px 12px !important;
    }
    .rcad-topbar__left,
    .rcad-topbar__right {
        gap: 8px !important;
    }
}

/* Fix: News ticker en mobile */
@media (max-width: 768px) {
    .rcad-ticker-label {
        font-size: 10px !important;
        padding: 4px 8px !important;
        white-space: nowrap !important;
    }
    .rcad-ticker-text {
        font-size: 12px !important;
    }
}

/* Fix: breadcrumbs en mobile */
@media (max-width: 768px) {
    .rcad-breadcrumbs,
    .breadcrumbs {
        font-size: 11px !important;
        padding: 8px 12px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}

/* Fix: single page — bloque de descarga */
@media (max-width: 768px) {
    .rcad-download-block {
        flex-direction: column !important;
        text-align: center !important;
        padding: 16px !important;
    }
    .rcad-download-block-meta {
        justify-content: center !important;
    }
    .rcad-btn-download {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Fix: Accordion en mobile */
@media (max-width: 768px) {
    .rcad-accordion-item {
        font-size: 13px !important;
    }
    .rcad-accordion-title {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
}

/* Fix: CTA Bottom en mobile */
@media (max-width: 768px) {
    .cta-bottom,
    .rcad-cta-register {
        padding: 20px 14px !important;
        text-align: center !important;
    }
    .cta-bottom__btn,
    .rcad-cta-register__btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Evita que el buscador de escritorio reaparezca por estilos del tema padre. */
@media screen and (max-width: 1024px) {
    body .rcad-premium-search,
    body form.rcad-premium-search {
        display: none !important;
        visibility: hidden !important;
    }
}


/* ===== SOURCE: css/brand-2026.css ===== */
/* ============================================================
   RecursosCAD — Brand System 2026
   Paleta clara: azul marino + naranja + superficies blancas
   Capa final de diseño para todo el tema hijo.
   ============================================================ */

:root {
    --rcad-primary: #071b46;
    --rcad-primary-strong: #071b46;
    --rcad-primary-soft: #eef4fb;
    --rcad-accent: #f6a800;
    --rcad-accent-hover: #dc9700;
    --rcad-link: #1769e0;
    --rcad-link-hover: #0f55b9;
    --rcad-text: #111827;
    --rcad-text-2: #344054;
    --rcad-muted: #667085;
    --rcad-bg: #f6f8fb;
    --rcad-surface: #ffffff;
    --rcad-surface-2: #fafbfc;
    --rcad-border: #e3e8ef;
    --rcad-border-strong: #d6dde7;
    --rcad-success: #1f9d63;
    --rcad-warning: #f6a800;
    --rcad-danger: #d92d20;
    --rcad-radius-sm: 8px;
    --rcad-radius: 12px;
    --rcad-radius-lg: 18px;
    --rcad-shadow: 0 8px 24px rgba(11,42,91,.06);
    --rcad-shadow-hover: 0 14px 34px rgba(11,42,91,.10);
    --mm-accent: var(--rcad-accent);
}

html { background: var(--rcad-bg); }
body {
    background: var(--rcad-bg) !important;
    color: var(--rcad-text);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--rcad-link); }
a:hover { color: var(--rcad-link-hover); }

button, input, select, textarea { font: inherit; }

/* ---------- superficies globales ---------- */
.site-main,
.content-area,
.site-content { color: var(--rcad-text); }

.entry-content,
.entry-content p,
.entry-content li { color: var(--rcad-text-2); }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.default-header .title,
.page-title,
.entry-title {
    color: var(--rcad-primary-strong);
}

.entry-content a { color: var(--rcad-link); }
.entry-content a:hover { color: var(--rcad-link-hover); }

/* ---------- botones globales ---------- */
.rcad-btn,
button.rcad-btn,
input[type="submit"],
button[type="submit"],
.wp-block-button__link,
.rcad-loadmore-btn,
.rcad-footer-main-btn,
.rcad-premium-register,
.rcad-cta-button,
.rcad-btn-download {
    border-radius: var(--rcad-radius-sm) !important;
}

.rcad-premium-register,
.rcad-footer-main-btn,
.rcad-cta-button,
.rcad-home-search__submit,
.rcad-loadmore-btn {
    background: var(--rcad-accent) !important;
    border-color: var(--rcad-accent) !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255,138,0,.18) !important;
}
.rcad-premium-register:hover,
.rcad-footer-main-btn:hover,
.rcad-cta-button:hover,
.rcad-home-search__submit:hover,
.rcad-loadmore-btn:hover {
    background: var(--rcad-accent-hover) !important;
    border-color: var(--rcad-accent-hover) !important;
    color: #fff !important;
}

/* ============================================================
   HEADER + NAVEGACIÓN
   ============================================================ */
.rcad-premium-header {
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid var(--rcad-border) !important;
    box-shadow: 0 2px 14px rgba(11,42,91,.035) !important;
}
.rcad-premium-inner {
    width: min(1380px, calc(100vw - 48px)) !important;
    max-width: 1380px !important;
    padding: 12px 0 !important;
    gap: 22px !important;
}
.rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: clamp(190px, 18vw, 280px) !important;
    height: 58px !important;
}
.rcad-premium-logo-title { color: var(--rcad-primary-strong) !important; }
.rcad-premium-logo-title span { color: var(--rcad-accent) !important; text-shadow: none !important; }
.rcad-premium-logo-subtitle { color: var(--rcad-muted) !important; }

.rcad-premium-search input[type="search"] {
    height: 44px !important;
    border: 1px solid var(--rcad-border) !important;
    border-radius: var(--rcad-radius-sm) !important;
    background: var(--rcad-surface-2) !important;
    color: var(--rcad-text) !important;
}
.rcad-premium-search input[type="search"]:focus {
    border-color: #b8cae3 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(23,105,224,.08) !important;
}
.rcad-premium-search button {
    background: transparent !important;
    border-radius: var(--rcad-radius-sm) !important;
}
.rcad-premium-search svg { stroke: var(--rcad-primary) !important; }

.rcad-premium-login,
.rcad-premium-account {
    border-color: var(--rcad-border) !important;
    color: var(--rcad-primary) !important;
    background: #fff !important;
    border-radius: var(--rcad-radius-sm) !important;
}

.rcad-premium-upload {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--rcad-accent);
    border-radius: var(--rcad-radius-sm);
    background: var(--rcad-accent);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(255,138,0,.18);
}
.rcad-premium-upload:hover { background: var(--rcad-accent-hover); border-color: var(--rcad-accent-hover); color: #fff !important; }
.rcad-premium-upload svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Mega menú: pasa de franja naranja a navegación blanca tipo producto */
.rcad-mm-bar {
    background: #fff !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--rcad-border) !important;
    box-shadow: none !important;
}
.rcad-mm-bar .rcad-mm-inner,
.rcad-mm-bar .container {
    width: min(1380px, calc(100vw - 48px)) !important;
    max-width: 1380px !important;
}
.rcad-mm-bar .primary-menu > li > a,
.rcad-mm-bar .menu > li > a,
.rcad-mm-bar a {
    color: var(--rcad-primary-strong) !important;
}
.rcad-mm-bar .primary-menu > li > a:hover,
.rcad-mm-bar .primary-menu > li.current-menu-item > a,
.rcad-mm-bar .primary-menu > li.current-menu-ancestor > a {
    color: var(--rcad-accent) !important;
    background: transparent !important;
}
.rcad-mm-bar .sub-menu,
.rcad-mega-menu,
.rcad-mm-mega {
    border-color: var(--rcad-border) !important;
    background: #fff !important;
    box-shadow: var(--rcad-shadow-hover) !important;
}

/* ============================================================
   HOME 2026
   ============================================================ */
body.home,
body.page-template-front-page { background: var(--rcad-bg) !important; }

.rcad-home-2026 { background: var(--rcad-bg); }
.rcad-home-hero {
    padding: 32px 24px 0;
    background:
        radial-gradient(circle at 66% 20%, rgba(23,105,224,.07), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--rcad-border);
}
.rcad-home-hero__shell {
    position: relative;
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: 34px;
    align-items: center;
}
.rcad-home-hero__content { padding: 30px 0 22px; }
.rcad-home-hero__eyebrow {
    display: block;
    margin: 0 0 10px;
    color: var(--rcad-accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.rcad-home-hero__title {
    max-width: 720px;
    margin: 0 0 14px;
    color: var(--rcad-primary-strong);
    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.045em;
}
.rcad-home-hero__lead {
    max-width: 650px;
    margin: 0 0 24px;
    color: var(--rcad-text-2);
    font-size: 17px;
    line-height: 1.6;
}

.rcad-home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 54px;
    max-width: 720px;
    min-height: 54px;
    overflow: hidden;
    border: 1px solid var(--rcad-border-strong);
    border-radius: var(--rcad-radius-sm);
    background: #fff;
    box-shadow: 0 8px 24px rgba(11,42,91,.06);
}
.rcad-home-search input,
.rcad-home-search select {
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    background: #fff !important;
    color: var(--rcad-text) !important;
    box-shadow: none !important;
}
.rcad-home-search input { padding: 0 18px; font-size: 14px; }
.rcad-home-search select {
    padding: 0 34px 0 14px;
    border-left: 1px solid var(--rcad-border) !important;
    color: var(--rcad-text-2) !important;
    font-size: 13px;
}
.rcad-home-search__submit {
    width: 54px;
    height: 54px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.rcad-home-search__submit svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

.rcad-home-popular {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--rcad-muted);
    font-size: 12px;
}
.rcad-home-popular > span { margin-right: 2px; font-weight: 650; }
.rcad-home-popular a {
    padding: 5px 10px;
    border: 1px solid var(--rcad-border);
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    color: var(--rcad-text-2) !important;
    text-decoration: none !important;
}
.rcad-home-popular a:hover { border-color: #c7d5e6; background: #fff; color: var(--rcad-link) !important; }

.rcad-home-hero__visual { position: relative; min-width: 0; align-self: stretch; display: flex; align-items: flex-end; }
.rcad-home-house { width: 100%; height: auto; max-height: 430px; display: block; }
.rcad-home-hero__badge {
    position: absolute;
    right: 8%;
    bottom: 14%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--rcad-border);
    border-radius: 12px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--rcad-shadow-hover);
}
.rcad-home-hero__badge-icon {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 10px; background: #eef5ff; color: var(--rcad-link);
}
.rcad-home-hero__badge-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rcad-home-hero__badge strong { display: block; color: var(--rcad-primary-strong); font-size: 15px; }
.rcad-home-hero__badge small { display: block; color: var(--rcad-muted); font-size: 10px; margin-top: 2px; }

.rcad-home-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0 0 -36px;
    border: 1px solid var(--rcad-border);
    border-radius: var(--rcad-radius);
    background: #fff;
    box-shadow: var(--rcad-shadow);
    z-index: 3;
}
.rcad-home-metric {
    position: relative;
    min-height: 78px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.rcad-home-metric + .rcad-home-metric::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: var(--rcad-border);
}
.rcad-home-metric svg { width: 25px; height: 25px; fill: none; stroke: var(--rcad-link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rcad-home-metric strong { display: block; color: var(--rcad-primary-strong); font-size: 15px; line-height: 1.1; }
.rcad-home-metric small { display: block; margin-top: 4px; color: var(--rcad-muted); font-size: 10.5px; }

.rcad-home-layout-2026 {
    width: min(1380px, calc(100% - 48px));
    max-width: 1380px !important;
    margin: 0 auto !important;
    padding: 78px 0 48px !important;
    gap: 24px !important;
}
.rcad-home-layout-2026 .rcad-home-wrap { flex: 1 1 auto !important; max-width: none !important; }
.rcad-home-layout-2026 .rcad-home-sidebar { flex: 0 0 300px !important; max-width: 300px !important; }

.rcad-home-section {
    margin-bottom: 24px !important;
    padding: 22px !important;
    border: 1px solid var(--rcad-border) !important;
    border-radius: var(--rcad-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
}
.rcad-home-section:hover { border-color: #d9e1ec !important; }
.rcad-sh { margin-bottom: 16px !important; }
.rcad-sh__title {
    margin: 0 !important;
    color: var(--rcad-primary-strong) !important;
    font-size: 20px !important;
    font-weight: 760 !important;
    letter-spacing: -.02em;
}
.rcad-sh__sub { margin-top: 4px !important; color: var(--rcad-muted) !important; font-size: 12px !important; }
.rcad-sh__more { color: var(--rcad-accent) !important; font-size: 12px !important; font-weight: 800 !important; }

/* categorías */
.rcad-home-dir-section { padding: 0 !important; border: 0 !important; background: transparent !important; }
.rcad-home-dir-section .rcad-sh { padding: 0 2px; }
.rcad-home-dir-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 12px !important;
}
.rcad-home-dir-card,
.rcad-dir-card {
    border: 1px solid var(--rcad-border) !important;
    border-radius: var(--rcad-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rcad-home-dir-card:hover,
.rcad-dir-card:hover { transform: translateY(-2px); border-color: #d4deea !important; box-shadow: var(--rcad-shadow) !important; }
.rcad-dir-title { color: var(--rcad-primary-strong) !important; }
.rcad-dir-count { color: var(--rcad-muted) !important; }
.rcad-dir-more { color: var(--rcad-accent) !important; }
.rcad-dir-icon { color: var(--rcad-primary) !important; background: var(--rcad-primary-soft) !important; }

/* recursos */
.rcad-rc,
.rcad-lc {
    border: 1px solid var(--rcad-border) !important;
    border-radius: var(--rcad-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden;
}
.rcad-rc:hover,
.rcad-lc:hover { border-color: #d2dce8 !important; box-shadow: var(--rcad-shadow) !important; transform: translateY(-2px); }
.rcad-rc__title,
.rcad-lc__title { color: var(--rcad-primary-strong) !important; }
.rcad-rc__cat,
.rcad-lc__cat { color: var(--rcad-muted) !important; }
.rcad-rc__badge--new,
.rcad-lc__badge { background: #e9fbf2 !important; color: #15804d !important; border: 1px solid #bfead2 !important; }
.rcad-rc__stats,
.rcad-rc__stat,
.rcad-lc__date { color: var(--rcad-muted) !important; }
.rcad-hc__btn { border-color: var(--rcad-border) !important; background: #fff !important; color: var(--rcad-primary) !important; }
.rcad-hc__btn:hover { background: var(--rcad-primary-soft) !important; }

/* SEO cols */
.rcad-seo-col { border-color: var(--rcad-border) !important; background: var(--rcad-surface-2) !important; }
.rcad-seo-col__title { color: var(--rcad-primary-strong) !important; }
.rcad-seo-col__text { color: var(--rcad-muted) !important; }

/* Sidebar */
.rcad-home-sidebar-2026 > .widget,
.rcad-home-sidebar-2026 .widget,
.rcad-home-sidebar-2026 .rcad-user-widget,
.rcad-home-sidebar-2026 > div {
    border-color: var(--rcad-border) !important;
    border-radius: var(--rcad-radius) !important;
    background: #fff !important;
    box-shadow: none !important;
}
.rcad-home-sidebar-2026 .widget-title,
.rcad-home-sidebar-2026 h2,
.rcad-home-sidebar-2026 h3 { color: var(--rcad-primary-strong) !important; }

/* ============================================================
   ARTÍCULOS, ARCHIVOS, TAXONOMÍAS, TARJETAS
   ============================================================ */
.archive .post,
.blog .post,
.search .post,
.rcad-archive-card,
.rcad-card,
.widget,
.rcad-user-widget,
.rcad-user-panel,
.rcad-legal-card,
.rcad-contact-card,
.rcad-download-block,
.rcad-cta-box {
    border-color: var(--rcad-border) !important;
    background: var(--rcad-surface) !important;
    box-shadow: none !important;
}

.breadcrumbs,
.rcad-breadcrumbs,
.bbp-breadcrumb,
.rcad-topic-breadcrumbs {
    border-color: var(--rcad-border) !important;
    background: var(--rcad-surface-2) !important;
    color: var(--rcad-muted) !important;
}

/* Tablas */
.entry-content table { border-color: var(--rcad-border) !important; color: var(--rcad-text-2) !important; }
.entry-content table thead th,
.entry-content table tbody tr:first-child th { background: #f7f9fc !important; color: var(--rcad-primary) !important; }
.entry-content table tbody tr:hover td { background: #f8fbff !important; }

/* Listas: punto azul en vez de amarillo */
.entry-content ul > li::before { background: var(--rcad-link) !important; box-shadow: 0 0 0 3px rgba(23,105,224,.10) !important; }
.entry-content ol > li::marker { color: var(--rcad-primary) !important; }

/* ============================================================
   FORO
   ============================================================ */
body.rcad-bbpress { background: var(--rcad-bg) !important; }
body.rcad-bbpress .bbp-forums,
body.rcad-bbpress .bbp-topics,
body.rcad-bbpress .bbp-replies,
body.rcad-bbpress .rcad-forum-card,
body.rcad-bbpress .rcad-xf-post,
body.rcad-bbpress .rcad-topic-header,
body.rcad-bbpress .rcad-forum-summary {
    border-color: var(--rcad-border) !important;
    background: #fff !important;
    box-shadow: none !important;
}
body.rcad-bbpress .rcad-forum-grid-head,
body.rcad-bbpress .rcad-fi2-head,
body.rcad-bbpress .bbp-header {
    background: var(--rcad-primary) !important;
    color: #fff !important;
}
body.rcad-bbpress .rcad-forum-grid-head *,
body.rcad-bbpress .rcad-fi2-head * { color: #fff !important; }
body.rcad-bbpress .rcad-topic-title,
body.rcad-bbpress .rcad-forum-title,
body.rcad-bbpress .bbp-topic-title a,
body.rcad-bbpress .bbp-forum-title { color: var(--rcad-primary-strong) !important; }
body.rcad-bbpress .rcad-topic-title { font-weight: 520 !important; }
body.rcad-bbpress .rcad-badge,
body.rcad-bbpress .rcad-user-role { border-radius: 999px !important; }
body.rcad-bbpress .rcad-reply-btn,
body.rcad-bbpress .rcad-topic-reply,
body.rcad-bbpress .rcad-new-topic-btn { background: var(--rcad-accent) !important; border-color: var(--rcad-accent) !important; color: #fff !important; }

/* Formularios */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
    border-color: var(--rcad-border-strong) !important;
    border-radius: var(--rcad-radius-sm) !important;
    background: #fff;
    color: var(--rcad-text);
}
input:focus, select:focus, textarea:focus {
    border-color: #9fbbdd !important;
    box-shadow: 0 0 0 3px rgba(23,105,224,.08) !important;
    outline: 0 !important;
}

/* ============================================================
   FOOTER CLARO
   ============================================================ */
.rcad-footer {
    margin-top: 48px !important;
    padding: 46px 24px 24px !important;
    border-top: 1px solid var(--rcad-border) !important;
    background: #fff !important;
    color: var(--rcad-text-2) !important;
}
.rcad-footer-logo span { color: var(--rcad-primary-strong) !important; }
.rcad-footer-logo strong { color: var(--rcad-accent) !important; }
.rcad-footer-desc,
.rcad-footer-share p,
.rcad-footer-copy { color: var(--rcad-muted) !important; }
.rcad-footer-share {
    border-color: var(--rcad-border) !important;
    background: var(--rcad-surface-2) !important;
}
.rcad-footer-share strong,
.rcad-footer-col h3 { color: var(--rcad-primary-strong) !important; }
.rcad-footer-col h3::after { background: var(--rcad-accent) !important; }
.rcad-footer-col a,
.rcad-footer-menu a { color: var(--rcad-text-2) !important; }
.rcad-footer-col a::after { color: var(--rcad-accent) !important; }
.rcad-footer-col a:hover,
.rcad-footer-menu a:hover { color: var(--rcad-accent) !important; }
.rcad-footer-bottom { border-top-color: var(--rcad-border) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .rcad-home-hero__shell { grid-template-columns: minmax(0,1fr) minmax(360px,.8fr); }
    .rcad-home-layout-2026 .rcad-home-sidebar { flex-basis: 280px !important; max-width: 280px !important; }
    .rcad-home-dir-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width: 991px) {
    .rcad-home-hero { padding-inline: 18px; }
    .rcad-home-hero__shell { grid-template-columns: 1fr; }
    .rcad-home-hero__content { padding-bottom: 0; }
    .rcad-home-hero__visual { max-width: 720px; margin: 0 auto; }
    .rcad-home-metrics { grid-template-columns: repeat(3,1fr); margin-bottom: -30px; }
    .rcad-home-metric:nth-child(4)::before { display: none; }
    .rcad-home-layout-2026 { width: min(100% - 36px, 1380px); padding-top: 68px !important; }
    .rcad-home-layout-2026 .rcad-home-sidebar { flex-basis: auto !important; max-width: 100% !important; }
    .rcad-home-dir-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 680px) {
    .rcad-home-hero { padding: 18px 14px 0; }
    .rcad-home-hero__title { font-size: 34px; }
    .rcad-home-hero__lead { font-size: 15px; }
    .rcad-home-search { grid-template-columns: 1fr 50px; }
    .rcad-home-search select { display: none; }
    .rcad-home-search__submit { width: 50px; height: 52px; }
    .rcad-home-popular { gap: 5px; }
    .rcad-home-popular > span { width: 100%; }
    .rcad-home-hero__visual { margin-top: 8px; }
    .rcad-home-hero__badge { right: 5%; bottom: 10%; transform: scale(.9); transform-origin: right bottom; }
    .rcad-home-metrics { grid-template-columns: repeat(2,1fr); }
    .rcad-home-metric { justify-content: flex-start; min-height: 68px; padding: 13px 14px; }
    .rcad-home-metric:nth-child(3)::before,
    .rcad-home-metric:nth-child(5)::before { display: none; }
    .rcad-home-layout-2026 { width: min(100% - 24px, 1380px); padding-top: 62px !important; }
    .rcad-home-section { padding: 16px !important; border-radius: 10px !important; }
    .rcad-home-dir-grid { grid-template-columns: 1fr !important; }
    .rcad-footer { padding-inline: 18px !important; }
    .rcad-premium-upload { display: none; }
}

/* ============================================================
   v70 — HEADER PRODUCTO + HOME CMS CON SIDEBAR DESDE ARRIBA
   ============================================================ */

/* La navegación antigua deja de ocupar una segunda fila. */
body .rcad-mm-bar { display: none !important; }

.rcad-cms-header {
    position: sticky;
    top: 0;
    z-index: 1005;
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(12px);
}

.rcad-cms-header__inner {
    width: min(1480px, calc(100vw - 48px)) !important;
    max-width: 1480px !important;
    min-height: 74px;
    display: grid !important;
    grid-template-columns: 210px minmax(470px,1fr) minmax(230px,300px) auto !important;
    gap: 18px !important;
    padding: 8px 0 !important;
}

.rcad-cms-header .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: 205px !important;
    height: 56px !important;
}

.rcad-product-nav {
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.rcad-product-nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.rcad-product-nav__item > a {
    height: 42px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    color: #172033 !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none !important;
    white-space: nowrap;
}
.rcad-product-nav__item > a:hover,
.rcad-product-nav__item:focus-within > a {
    background: #f5f7fa;
    color: var(--rcad-primary) !important;
}
.rcad-product-nav__item > a > svg,
.rcad-cms-account > svg {
    width: 11px;
    height: 7px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rcad-product-dropdown,
.rcad-cms-account-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    border: 1px solid var(--rcad-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(11,42,91,.13);
}
.rcad-product-nav__item:hover .rcad-product-dropdown,
.rcad-product-nav__item:focus-within .rcad-product-dropdown,
.rcad-cms-account-wrap:hover .rcad-cms-account-menu,
.rcad-cms-account-wrap:focus-within .rcad-cms-account-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.rcad-product-dropdown--wide { width: 560px; padding: 18px; }
.rcad-product-dropdown--compact { width: 200px; padding: 8px; }
.rcad-product-dropdown__title { margin: 0 0 11px; color: var(--rcad-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rcad-product-dropdown__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.rcad-product-dropdown__grid a,
.rcad-product-dropdown--compact > a,
.rcad-cms-account-menu a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--rcad-text-2) !important;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none !important;
}
.rcad-product-dropdown__grid a:hover,
.rcad-product-dropdown--compact > a:hover,
.rcad-cms-account-menu a:hover { background: #f5f8fc; color: var(--rcad-link) !important; }
.rcad-product-dropdown__icon { width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 7px; background: #eef5ff; color: var(--rcad-link); }
.rcad-product-dropdown__icon svg { width: 15px; height: 15px; }



.rcad-cms-search { max-width: 300px !important; justify-self: stretch !important; }
.rcad-cms-search input[type="search"] {
    height: 42px !important;
    padding: 0 42px 0 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}
.rcad-cms-search button { top: 1px !important; right: 1px !important; width: 40px !important; height: 40px !important; background: transparent !important; }
.rcad-cms-search button svg { width: 17px; height: 17px; stroke: #6b778c !important; fill: none; stroke-width: 1.8; }

.rcad-cms-actions { gap: 8px !important; }
.rcad-cms-actions .rcad-premium-upload { min-height: 40px; padding: 9px 13px; font-size: 12px; }
.rcad-cms-bell {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--rcad-primary) !important;
    text-decoration: none !important;
}
.rcad-cms-bell:hover { background: #f3f6fa; }
.rcad-cms-bell svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcad-cms-bell__count {
    position: absolute;
    right: 0;
    top: 1px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--rcad-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}
.rcad-cms-account-wrap { position: relative; }
.rcad-cms-account { min-height: 40px !important; padding: 5px 9px !important; border: 0 !important; }
.rcad-cms-account img { width: 30px !important; height: 30px !important; }
.rcad-cms-account-menu { right: 0; left: auto; width: 180px; padding: 7px; }
.rcad-cms-auth-link {
    border: 0;
    background: transparent;
    color: var(--rcad-text-2);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.rcad-cms-auth-link--strong { color: var(--rcad-link); }

/* Home: el sidebar empieza junto al hero, no después de él. */
.rcad-home-cms { padding: 0 !important; }
.rcad-home-cms-shell {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1096px) 320px;
    gap: 24px;
    align-items: start;
}
.rcad-home-cms-main { min-width: 0; }
.rcad-home-cms .rcad-home-hero {
    padding: 28px 0 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}
.rcad-home-cms .rcad-home-hero__shell {
    width: 100% !important;
    grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr) !important;
    gap: 20px !important;
}
.rcad-home-cms .rcad-home-hero__content { padding: 18px 0 18px !important; }
.rcad-home-cms .rcad-home-hero__title { font-size: clamp(36px,4vw,56px); }
.rcad-home-cms .rcad-home-house { max-height: 390px; }
.rcad-home-cms .rcad-home-metrics { margin-bottom: -32px; }

.rcad-home-cms .rcad-home-layout-2026 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 72px 0 48px !important;
    display: block !important;
}
.rcad-home-cms .rcad-home-wrap { width: 100% !important; max-width: none !important; }

.rcad-home-cms-sidebar {
    min-width: 0;
    padding-top: 28px;
    position: sticky;
    top: 86px;
    align-self: start;
}
.rcad-home-cms-sidebar > .widget,
.rcad-home-cms-sidebar > .rcad-cms-widget,
.rcad-home-cms-sidebar > div {
    margin: 0 0 16px !important;
    padding: 18px !important;
    border: 1px solid var(--rcad-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(11,42,91,.04) !important;
}
.rcad-home-cms-sidebar .widget-title,
.rcad-home-cms-sidebar h2,
.rcad-home-cms-sidebar h3 {
    margin: 0 0 12px !important;
    color: var(--rcad-primary-strong) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
.rcad-cms-widget--empty p { margin: 0; color: var(--rcad-muted); font-size: 12px; line-height: 1.6; }

/* En la home con sidebar, las tarjetas usan mejor el ancho disponible. */
.rcad-home-cms .rcad-home-dir-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }

@media (max-width: 1320px) {
    .rcad-cms-header__inner { grid-template-columns: 190px minmax(420px,1fr) 230px auto !important; gap: 10px !important; }
    .rcad-product-nav__item > a { padding-inline: 8px; font-size: 12px; }
    .rcad-cms-header .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark { width: 186px !important; }
    .rcad-home-cms-shell { grid-template-columns: minmax(0,1fr) 290px; gap: 18px; }
}

@media (max-width: 1120px) {
    .rcad-product-nav { display: none; }
    .rcad-cms-header__inner { grid-template-columns: 210px minmax(280px,1fr) auto !important; }
    .rcad-home-cms-shell { grid-template-columns: 1fr; width: min(100% - 36px, 1100px); }
    .rcad-home-cms-sidebar { position: static; padding-top: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .rcad-home-cms-sidebar > .widget, .rcad-home-cms-sidebar > div { margin-bottom: 0 !important; }
}

@media (max-width: 900px) {
    .rcad-cms-header__inner { display: grid !important; grid-template-columns: 1fr !important; }
    .rcad-cms-search, .rcad-cms-actions { display: none !important; }
    .rcad-home-cms-shell { width: min(100% - 28px, 900px); }
    .rcad-home-cms .rcad-home-hero__shell { grid-template-columns: 1fr !important; }
    .rcad-home-cms .rcad-home-hero__visual { max-width: 660px; margin-inline: auto; }
}

@media (max-width: 680px) {
    .rcad-home-cms-shell { width: min(100% - 20px, 680px); }
    .rcad-home-cms-sidebar { grid-template-columns: 1fr; }
    .rcad-home-cms .rcad-home-hero { padding-top: 18px !important; }
    .rcad-home-cms .rcad-home-dir-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

/* ============================================================
   RCAD v71 — Home CMS sidebar / widgets: layout robusto
   Evita que widgets heredados de Orbital se compriman en columnas
   estrechas o partan palabras letra a letra.
   ============================================================ */
@media (min-width: 1121px) {
    .rcad-home-cms .rcad-home-cms-shell {
        grid-template-columns: minmax(0, 1096px) 320px !important;
        gap: 24px !important;
    }

    .rcad-home-cms .rcad-home-cms-sidebar {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        flex: 0 0 320px !important;
    }
}

.rcad-home-cms .rcad-home-cms-sidebar {
    box-sizing: border-box !important;
    overflow: visible !important;
}

.rcad-home-cms .rcad-home-cms-sidebar *,
.rcad-home-cms .rcad-home-cms-sidebar *::before,
.rcad-home-cms .rcad-home-cms-sidebar *::after {
    box-sizing: border-box;
}

/* Cada widget debe ocupar toda la columna, independientemente del sidebar
   del que proceda como fallback. */
.rcad-home-cms .rcad-home-cms-sidebar > .widget,
.rcad-home-cms .rcad-home-cms-sidebar > .rcad-cms-widget,
.rcad-home-cms .rcad-home-cms-sidebar > section,
.rcad-home-cms .rcad-home-cms-sidebar > div {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    grid-column: auto !important;
    columns: auto !important;
    column-count: 1 !important;
    overflow: visible !important;
}

/* Reset seguro para listas/menús de widgets antiguos. */
.rcad-home-cms .rcad-home-cms-sidebar ul,
.rcad-home-cms .rcad-home-cms-sidebar ol,
.rcad-home-cms .rcad-home-cms-sidebar nav,
.rcad-home-cms .rcad-home-cms-sidebar .menu,
.rcad-home-cms .rcad-home-cms-sidebar .sub-menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
}

.rcad-home-cms .rcad-home-cms-sidebar li,
.rcad-home-cms .rcad-home-cms-sidebar .menu-item,
.rcad-home-cms .rcad-home-cms-sidebar .cat-item {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
}

.rcad-home-cms .rcad-home-cms-sidebar a,
.rcad-home-cms .rcad-home-cms-sidebar p,
.rcad-home-cms .rcad-home-cms-sidebar span,
.rcad-home-cms .rcad-home-cms-sidebar .widget-title {
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
}

/* Widgets de navegación clásicos convertidos a tarjeta CMS limpia. */
.rcad-home-cms-sidebar .widget_nav_menu ul.menu,
.rcad-home-cms-sidebar .widget_categories > ul,
.rcad-home-cms-sidebar .widget_pages > ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.rcad-home-cms-sidebar .widget_nav_menu ul.menu > li > a,
.rcad-home-cms-sidebar .widget_categories > ul > li > a,
.rcad-home-cms-sidebar .widget_pages > ul > li > a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    color: var(--rcad-text) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
}

.rcad-home-cms-sidebar .widget_nav_menu ul.menu > li > a:hover,
.rcad-home-cms-sidebar .widget_categories > ul > li > a:hover,
.rcad-home-cms-sidebar .widget_pages > ul > li > a:hover {
    background: #f4f7fb !important;
    color: var(--rcad-link) !important;
}

/* Nuestro widget acordeón ya tiene diseño propio: solo normalizamos su caja. */
.rcad-home-cms-sidebar .widget_rcad_accordion_menu,
.rcad-home-cms-sidebar .rcad-sidebar-accordion,
.rcad-home-cms-sidebar .rcad-accordion-menu,
.rcad-home-cms-sidebar .rcad-acc-item,
.rcad-home-cms-sidebar .rcad-acc-row,
.rcad-home-cms-sidebar .rcad-acc-link {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.rcad-home-cms-sidebar .rcad-sidebar-accordion {
    margin: 0 !important;
    border-radius: 12px !important;
}

/* Evita doble tarjeta cuando el widget acordeón ya dibuja su propio panel. */
.rcad-home-cms-sidebar > .widget.widget_rcad_accordion_menu {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 1120px) {
    .rcad-home-cms .rcad-home-cms-sidebar {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* RCAD v175: bbPress breadcrumb appearance is owned exclusively by bbpress-xenforo-pro-v146.css. */

/* v389 — mega menús jerárquicos Bloques CAD / Artículos. Mantiene el panel visual del header. */
.rcad-category-mega-v389{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;padding:2px 0}
.rcad-category-mega-v389__group{min-width:0;padding:8px;border-radius:8px}
.rcad-category-mega-v389__root{display:grid!important;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;padding:7px!important;border-radius:7px}
.rcad-category-mega-v389__root strong{display:block;color:#071b46;font-size:12px;line-height:1.25}
.rcad-category-mega-v389__root small{display:block;margin-top:2px;color:#667085;font-size:10px;line-height:1.25;font-weight:400}
.rcad-category-mega-v389__icon{display:flex;width:30px;height:30px;align-items:center;justify-content:center;color:#f6a800}
.rcad-category-mega-v389__icon svg{width:21px!important;height:21px!important;color:#f6a800!important;stroke:currentColor}
.rcad-category-mega-v389__children{display:flex;flex-direction:column;gap:2px;margin:3px 0 0 41px}
.rcad-category-mega-v389__children>div>a{display:block!important;padding:4px 6px!important;color:#243b63!important;font-size:11px!important;line-height:1.2;border-radius:5px}
.rcad-category-mega-v389__children>div>a:before{content:"— ";color:#f6a800}
.rcad-category-mega-v389__grand{display:flex;flex-direction:column;margin-left:10px}
.rcad-category-mega-v389__grand a{display:block!important;padding:3px 6px!important;color:#667085!important;font-size:10px!important}
.rcad-category-mega-v389__grand a:before{content:"— ";color:#b8bec8}
.rcad-category-mega-v389 a:hover{background:#f7f9fc!important;color:#071b46!important}
@media(max-width:1100px){.rcad-category-mega-v389{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ============================================================
   RCAD v429 — Listas editoriales compactas + color corporativo
   Solo artículos normales; no altera recursos, foro ni widgets.
   ============================================================ */
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content .wp-block-list {
    margin-top: .55em !important;
    margin-bottom: 1.05em !important;
    line-height: 1.55 !important;
}

body.single-post .entry-content li {
    margin-top: 0 !important;
    margin-bottom: .38em !important;
    line-height: 1.55 !important;
}

body.single-post .entry-content li:last-child {
    margin-bottom: 0 !important;
}

body.single-post .entry-content ul > li::before {
    width: .38em !important;
    height: .38em !important;
    left: .18em !important;
    top: .60em !important;
    background: #f6a800 !important;
    box-shadow: 0 0 0 2px rgba(246,168,0,.13) !important;
}

body.single-post .entry-content ol > li::marker {
    color: #071b46 !important;
}

/* ============================================================
   RCAD v430 — Listas compactas también en fichas de recursos
   Mismo ritmo y paleta corporativa que los artículos.
   ============================================================ */
body.single-rcad_resource .rcad-tab-panel[data-tab="description"] ul,
body.single-rcad_resource .rcad-tab-panel[data-tab="description"] ol,
body.single-rcad_resource .rcad-tab-panel[data-tab="technical"] ul,
body.single-rcad_resource .rcad-tab-panel[data-tab="technical"] ol,
body.single-rcad_resource .rcad-manual-content ul,
body.single-rcad_resource .rcad-manual-content ol,
body.single-rcad-resource .rcad-tab-panel[data-tab="description"] ul,
body.single-rcad-resource .rcad-tab-panel[data-tab="description"] ol,
body.single-rcad-resource .rcad-tab-panel[data-tab="technical"] ul,
body.single-rcad-resource .rcad-tab-panel[data-tab="technical"] ol,
body.single-rcad-resource .rcad-manual-content ul,
body.single-rcad-resource .rcad-manual-content ol {
    margin-top: .55em !important;
    margin-bottom: 1.05em !important;
    line-height: 1.55 !important;
}
body.single-rcad_resource .rcad-tab-panel li,
body.single-rcad_resource .rcad-manual-content li,
body.single-rcad-resource .rcad-tab-panel li,
body.single-rcad-resource .rcad-manual-content li {
    margin-top: 0 !important;
    margin-bottom: .38em !important;
    line-height: 1.55 !important;
}
body.single-rcad_resource .rcad-tab-panel li:last-child,
body.single-rcad_resource .rcad-manual-content li:last-child,
body.single-rcad-resource .rcad-tab-panel li:last-child,
body.single-rcad-resource .rcad-manual-content li:last-child { margin-bottom:0 !important; }
body.single-rcad_resource .rcad-tab-panel ul > li::marker,
body.single-rcad_resource .rcad-manual-content ul > li::marker,
body.single-rcad-resource .rcad-tab-panel ul > li::marker,
body.single-rcad-resource .rcad-manual-content ul > li::marker {
    color:#f6a800 !important;
}
body.single-rcad_resource .rcad-tab-panel ul > li::before,
body.single-rcad_resource .rcad-manual-content ul > li::before,
body.single-rcad-resource .rcad-tab-panel ul > li::before,
body.single-rcad-resource .rcad-manual-content ul > li::before {
    background:#f6a800 !important;
    box-shadow:0 0 0 2px rgba(246,168,0,.13) !important;
}
body.single-rcad_resource .rcad-tab-panel ol > li::marker,
body.single-rcad_resource .rcad-manual-content ol > li::marker,
body.single-rcad-resource .rcad-tab-panel ol > li::marker,
body.single-rcad-resource .rcad-manual-content ol > li::marker {
    color:#071b46 !important;
}


/* ===== SOURCE: css/community-menu-v75.css ===== */
/* RCAD v75 — Community dropdown isolated from legacy theme CSS */
.rcad-product-nav__item--dropdown { position: relative !important; }

.rcad-product-nav__item--dropdown > .rcad-product-dropdown--community {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 50% !important;
    right: auto !important;
    width: 430px !important;
    min-width: 430px !important;
    max-width: min(430px, calc(100vw - 28px)) !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #e4e8ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(11,42,91,.14) !important;
    transform: translate(-50%, 8px) !important;
    overflow: visible !important;
}
.rcad-product-nav__item--dropdown:hover > .rcad-product-dropdown--community,
.rcad-product-nav__item--dropdown:focus-within > .rcad-product-dropdown--community {
    transform: translate(-50%, 0) !important;
}

.rcad-product-dropdown--community .rcad-community-menu__head {
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 4px 6px 12px !important;
    margin: 0 0 8px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4e8ef !important;
    background: transparent !important;
}
.rcad-product-dropdown--community .rcad-community-menu__head strong {
    display: block !important;
    margin: 0 !important;
    color: #0b2a5b !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}
.rcad-product-dropdown--community .rcad-community-menu__head span {
    display: block !important;
    width: auto !important;
    margin: 4px 0 0 !important;
    color: #667085 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.rcad-product-dropdown--community .rcad-community-menu__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-product-dropdown--community .rcad-community-menu__grid > a {
    display: grid !important;
    grid-template-columns: 32px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #162238 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    white-space: normal !important;
}
.rcad-product-dropdown--community .rcad-community-menu__grid > a:hover,
.rcad-product-dropdown--community .rcad-community-menu__grid > a:focus {
    background: #f4f8fd !important;
    color: #1769e0 !important;
}

.rcad-product-dropdown--community .rcad-community-menu__icon {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #edf5ff !important;
    color: #1769e0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}
.rcad-product-dropdown--community .rcad-community-menu__icon > svg,
.rcad-product-dropdown--community .rcad-community-menu__icon svg {
    display: block !important;
    position: static !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transform: none !important;
}
.rcad-product-dropdown--community .rcad-community-menu__grid > a > span:last-child {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-product-dropdown--community .rcad-community-menu__grid strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
}
.rcad-product-dropdown--community .rcad-community-menu__grid small {
    display: block !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    color: #667085 !important;
    font-size: 9.5px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
}

.rcad-mobile-menu-item--icon > svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
}

@media (max-width: 1180px) {
    .rcad-product-nav__item--dropdown > .rcad-product-dropdown--community {
        width: 390px !important;
        min-width: 390px !important;
        max-width: min(390px, calc(100vw - 24px)) !important;
    }
    .rcad-product-dropdown--community .rcad-community-menu__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ===== SOURCE: css/tools-menu-v80.css ===== */
/* RCAD v80 — Herramientas aislado de CSS heredado. Mismo patrón visual que Comunidad. */
.rcad-product-nav__item--tools { position: relative !important; }
.rcad-product-nav__item--tools > .rcad-product-dropdown--tools {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 50% !important;
    right: auto !important;
    width: 470px !important;
    min-width: 470px !important;
    max-width: min(470px, calc(100vw - 28px)) !important;
    padding: 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #e4e8ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(11,42,91,.14) !important;
    transform: translate(-50%, 8px) !important;
    overflow: visible !important;
}
.rcad-product-nav__item--tools:hover > .rcad-product-dropdown--tools,
.rcad-product-nav__item--tools:focus-within > .rcad-product-dropdown--tools {
    transform: translate(-50%, 0) !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__head {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 4px 6px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #e4e8ef !important;
    background: transparent !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__head strong {
    display: block !important;
    margin: 0 !important;
    color: #0b2a5b !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__head span {
    display: block !important;
    margin-top: 4px !important;
    color: #667085 !important;
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__grid > a {
    display: grid !important;
    grid-template-columns: 32px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #162238 !important;
    text-decoration: none !important;
    white-space: normal !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__grid > a:hover,
.rcad-product-dropdown--tools .rcad-tools-menu__grid > a:focus {
    background: #f4f8fd !important;
    color: #1769e0 !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__icon {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #edf5ff !important;
    color: #1769e0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__icon > svg,
.rcad-product-dropdown--tools .rcad-tools-menu__icon svg {
    display: block !important;
    position: static !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    min-height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transform: none !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__copy {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__copy strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: normal !important;
}
.rcad-product-dropdown--tools .rcad-tools-menu__copy small {
    display: block !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    color: #667085 !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    white-space: normal !important;
    word-break: normal !important;
}
.rcad-mobile-tools .rcad-mobile-menu-svg,
.rcad-mobile-tools .rcad-mobile-menu-svg svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
}
@media (max-width: 1180px) {
    .rcad-product-nav__item--tools > .rcad-product-dropdown--tools {
        width: 400px !important;
        min-width: 400px !important;
        max-width: min(400px, calc(100vw - 24px)) !important;
    }
    .rcad-product-dropdown--tools .rcad-tools-menu__grid { grid-template-columns: 1fr !important; }
}


/* ===== SOURCE: css/footer-dark-v77.css ===== */
/* RCAD PRO v77 — Footer CMS oscuro definitivo
 * Cargado al final para neutralizar el bloque "FOOTER CLARO" de brand-2026.css.
 */
.rcad-footer.rcad-footer-cms {
    margin-top: 0 !important;
    padding: 34px 24px 16px !important;
    border-top: 0 !important;
    background: #071b46 !important;
    color: #dbe4f0 !important;
}
.rcad-footer-cms .rcad-footer-logo,
.rcad-footer-cms .rcad-footer-logo span,
.rcad-footer-cms .rcad-footer-col h3,
.rcad-footer-cms .rcad-footer-newsletter h3 {
    color: #ffffff !important;
}
.rcad-footer-cms .rcad-footer-logo strong { color: #f6a800 !important; }
.rcad-footer-cms .rcad-footer-desc,
.rcad-footer-cms .rcad-footer-newsletter > p {
    color: #d7dfec !important;
}
.rcad-footer-cms .rcad-footer-col a,
.rcad-footer-cms .rcad-footer-menu a {
    color: #e4eaf3 !important;
}
.rcad-footer-cms .rcad-footer-col a:hover,
.rcad-footer-cms .rcad-footer-col a:focus-visible,
.rcad-footer-cms .rcad-footer-menu a:hover,
.rcad-footer-cms .rcad-footer-menu a:focus-visible {
    color: #f6a800 !important;
}
.rcad-footer-cms .rcad-footer-consent,
.rcad-footer-cms .rcad-footer-secure,
.rcad-footer-cms .rcad-footer-copy,
.rcad-footer-cms .rcad-footer-made {
    color: #b9c5d6 !important;
}
.rcad-footer-cms .rcad-footer-bottom {
    border-top-color: rgba(255,255,255,.14) !important;
}
.rcad-footer-cms .rcad-footer-newsletter-row input {
    background: #fff !important;
    color: #152238 !important;
    border-color: #cfd8e6 !important;
}
.rcad-footer-cms .rcad-footer-newsletter-row button {
    background: #f6a800 !important;
    color: #fff !important;
}
.rcad-footer-cms .rcad-footer-newsletter-row button:hover { background: #e99800 !important; }

/* Evitar que contenedores del padre aclaren visualmente el footer. */
body .site-footer .rcad-footer-cms,
body footer .rcad-footer-cms { background-color: #071b46 !important; }


/* ===== SOURCE: css/header-cms-v254.css ===== */
/* RCAD v253 — Header CMS desktop + dropdown hover estable */
@media (min-width: 1100px) {
  .rcad-cms-header {
    --rcad-header-height: 94px;
    --rcad-header-logo-width: 240px;
  }

  .rcad-cms-header .rcad-cms-header__inner {
    width: min(1440px, calc(100vw - 48px)) !important;
    max-width: 1440px !important;
    min-height: 94px !important;
    padding-block: 8px !important;
    grid-template-columns: 240px minmax(450px, 1fr) minmax(250px, 300px) auto !important;
    gap: 20px !important;
  }

  .rcad-cms-header .rcad-premium-logo {
    flex-basis: 240px !important;
    max-width: 240px !important;
  }

  .rcad-cms-header .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: 240px !important;
    height: 70px !important;
    max-height: 70px !important;
  }

  .rcad-cms-header .rcad-product-nav__item > a {
    height: 46px !important;
    padding-inline: 12px !important;
    font-size: 14px !important;
  }

  .rcad-cms-header .rcad-premium-search input[type="search"] {
    height: 46px !important;
    font-size: 13px !important;
  }

  .rcad-cms-header .rcad-premium-upload,
  .rcad-cms-header .rcad-premium-account,
  .rcad-cms-header .rcad-cms-auth-link {
    min-height: 44px !important;
  }
}

/* Zona segura entre el enlace del menú y el desplegable.
   Evita que el hover se pierda al mover el cursor hacia abajo. */
.rcad-product-nav__item--dropdown > .rcad-product-dropdown,
.rcad-cms-account-wrap > .rcad-cms-account-menu {
  top: calc(100% + 4px) !important;
}

.rcad-product-nav__item--dropdown > .rcad-product-dropdown::before,
.rcad-cms-account-wrap > .rcad-cms-account-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
  background: transparent;
  pointer-events: auto;
}

/* Clase administrada por JS: da tiempo real para entrar al desplegable. */
.rcad-product-nav__item--dropdown.rcad-dropdown-open > .rcad-product-dropdown,
.rcad-cms-account-wrap.rcad-dropdown-open > .rcad-cms-account-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.rcad-product-nav__item--dropdown.rcad-dropdown-open > .rcad-product-dropdown:not(.rcad-product-dropdown--tools),
.rcad-cms-account-wrap.rcad-dropdown-open > .rcad-cms-account-menu {
  transform: translateY(0) !important;
}

.rcad-product-nav__item--tools.rcad-dropdown-open > .rcad-product-dropdown--tools {
  transform: translate(-50%, 0) !important;
}

/* RCAD v254 — ajuste fino de la retícula del header para evitar solapes.
   Mantiene el alto CMS, pero reparte mejor logo / navegación / búsqueda / acciones. */
@media (min-width: 1100px) {
  .rcad-cms-header .rcad-cms-header__inner {
    grid-template-columns: 220px minmax(390px, 1fr) minmax(230px, 280px) max-content !important;
    column-gap: 14px !important;
  }

  .rcad-cms-header .rcad-premium-logo {
    flex-basis: 220px !important;
    max-width: 220px !important;
  }

  .rcad-cms-header .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: 220px !important;
    max-width: 220px !important;
  }

  .rcad-cms-header .rcad-product-nav {
    min-width: 0 !important;
    gap: 0 !important;
  }

  .rcad-cms-header .rcad-product-nav__item > a {
    padding-inline: 9px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .rcad-cms-header .rcad-premium-search {
    min-width: 0 !important;
    width: 100% !important;
  }

  .rcad-cms-header .rcad-premium-search input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  .rcad-cms-header .rcad-cms-header__actions,
  .rcad-cms-header .rcad-premium-actions {
    width: max-content !important;
    min-width: max-content !important;
    gap: 10px !important;
  }
}

/* Entre 1100 y 1280 reducimos un punto más para que nunca invada el buscador. */
@media (min-width: 1100px) and (max-width: 1279px) {
  .rcad-cms-header .rcad-cms-header__inner {
    grid-template-columns: 190px minmax(345px, 1fr) minmax(200px, 240px) max-content !important;
    column-gap: 10px !important;
  }
  .rcad-cms-header .rcad-premium-logo,
  .rcad-cms-header .rcad-premium-logo.has-custom-logo .rcad-premium-logo-mark {
    width: 190px !important;
    max-width: 190px !important;
  }
  .rcad-cms-header .rcad-product-nav__item > a {
    padding-inline: 7px !important;
    font-size: 12.5px !important;
  }
}

/* RCAD v255 — dropdowns rápidos y exclusivos: evita solapamiento entre mega menús. */
@media (min-width: 1100px) {
  .rcad-cms-header .rcad-product-dropdown,
  .rcad-cms-header .rcad-cms-account-menu {
    transition: opacity .09s ease, transform .09s ease, visibility 0s linear .09s !important;
  }
  .rcad-cms-header .rcad-product-nav__item--dropdown.rcad-dropdown-open > .rcad-product-dropdown,
  .rcad-cms-header .rcad-cms-account-wrap.rcad-dropdown-open > .rcad-cms-account-menu {
    transition-delay: 0s !important;
  }
}


/* RCAD v256 — autoridad única de dropdown: elimina apertura CSS por :hover/focus-within.
   Solo .rcad-dropdown-open (JS) puede mostrar un menú, evitando dos paneles simultáneos. */
@media (min-width: 1100px) {
  .rcad-cms-header .rcad-product-nav__item--dropdown:hover > .rcad-product-dropdown,
  .rcad-cms-header .rcad-product-nav__item--dropdown:focus-within > .rcad-product-dropdown,
  .rcad-cms-header .rcad-cms-account-wrap:hover > .rcad-cms-account-menu,
  .rcad-cms-header .rcad-cms-account-wrap:focus-within > .rcad-cms-account-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
  }

  .rcad-cms-header .rcad-product-nav__item--dropdown.rcad-dropdown-open > .rcad-product-dropdown,
  .rcad-cms-header .rcad-cms-account-wrap.rcad-dropdown-open > .rcad-cms-account-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition: opacity .055s ease, transform .055s ease, visibility 0s !important;
  }
}

