/* RCAD v6.73 — Categorías consolidadas */

/* ===== Fuente consolidada: css/category-nav.css ===== */
/* ============================================================
   RCAD PRO — Category Nav v4 PRO
   ============================================================ */

/* ── CAJA UNIFICADA ─────────────────────────────────────── */
.rcad-cat-block {
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    border: 1px solid #ede8df;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    background: #fff;
    box-sizing: border-box;
}
.rcad-cat-block--single {
    margin-top: 12px;
}

/* ── MIGA DE PAN DENTRO DE CAJA (archive) ───────────────── */
.rcad-cat-bc {
    background: #fafaf8;
    padding: 9px 18px;
    font-size: 12.5px;
    border-bottom: 1px solid #ede8df;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.rcad-cat-bc .rcad-bc-link {
    color: #f5a623 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color .15s !important;
}
.rcad-cat-bc .rcad-bc-link:hover {
    color: #c47f00 !important;
    text-decoration: underline !important;
}
.rcad-cat-bc .rcad-bc-sep {
    margin: 0 5px;
    color: #ccc;
    font-size: 11px;
}
.rcad-cat-bc .rcad-bc-current {
    color: #555;
    font-weight: 600;
}

/* ── BOTONES DE CATEGORÍA ───────────────────────────────── */
.rcad-cat-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 14px 18px !important;
    background: #fff !important;
    justify-content: center !important;
}
.rcad-cat-btn {
    display: inline-block !important;
    padding: 6px 16px !important;
    border: 1.5px solid #f5a623 !important;
    border-radius: 20px !important;
    color: #f5a623 !important;
    background: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition: all .15s ease !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}
.rcad-cat-btn:hover {
    background: #fff8ed !important;
    color: #c47f00 !important;
    border-color: #c47f00 !important;
    text-decoration: none !important;
}
.rcad-cat-btn-active,
.rcad-cat-btn-active:hover,
.rcad-cat-btn-active:focus {
    background: #f5a623 !important;
    color: #fff !important;
    border-color: #f5a623 !important;
    font-weight: 600 !important;
}

/* ════════════════════════════════════════════════════════════
   MIGA DE PAN PRO — standalone (single post)
   ════════════════════════════════════════════════════════════ */
.rcad-bc-wrap {
    margin: 0 0 8px;
    width: 100%;
    box-sizing: border-box;
}
.rcad-bc-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fafaf8;
    border: 1px solid #ede8df;
    border-radius: 8px;
    padding: 9px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}
.rcad-bc-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
}
/* Ítems fijos (home, intermedios, colapsado) no se encogen */
.rcad-bc-item {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
/* Solo el último ítem (título actual) se encoge y trunca */
.rcad-bc-item--current {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* ── Separador chevron SVG ──────────────────────────────── */
.rcad-bc-sep {
    display: inline-flex;
    align-items: center;
    margin: 0 3px;
    flex-shrink: 0;
}
.rcad-bc-chevron {
    font-size: 14px !important;
    color: #ccc !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-style: normal !important;
}

/* ── Home ───────────────────────────────────────────────── */
.rcad-bc-link--home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #f5a623 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    transition: color .15s !important;
    flex-shrink: 0 !important;
}
.rcad-bc-link--home:hover { color: #c47f00 !important; }
.rcad-bc-home-icon {
    width: 13px !important;
    height: 13px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: -1px !important;
}
.rcad-bc-home-label { font-size: 12.5px; }

/* ── Links intermedios ──────────────────────────────────── */
.rcad-bc-link {
    color: #f5a623 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 12.5px !important;
    transition: color .15s !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.rcad-bc-link:hover {
    color: #c47f00 !important;
    text-decoration: underline !important;
}

/* ── Título actual (se trunca con ...) ──────────────────── */
.rcad-bc-current {
    color: #555 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    min-width: 0 !important;
}

/* ── Ítems colapsados "•••" con dropdown ────────────────── */
.rcad-bc-item--collapsed {
    position: relative !important;
}
.rcad-bc-ellipsis {
    display: inline-flex !important;
    align-items: center !important;
    cursor: default !important;
    position: relative !important;
}
.rcad-bc-ellipsis-dots {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 8px !important;
    border: 1px solid #e0d8cc !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    color: #aaa !important;
    letter-spacing: 2px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all .15s !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}
.rcad-bc-ellipsis:hover .rcad-bc-ellipsis-dots {
    border-color: #f5a623 !important;
    color: #f5a623 !important;
    background: #fff8ed !important;
}
/* Dropdown al hover sobre los ••• */
.rcad-bc-collapsed-list {
    display: none;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #fff !important;
    border: 1px solid #ede8df !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
    padding: 6px 0 !important;
    min-width: 180px !important;
    z-index: 9999 !important;
    white-space: nowrap !important;
}
/* Flecha del tooltip */
.rcad-bc-collapsed-list::before {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 8px !important;
    height: 8px !important;
    background: #fff !important;
    border-left: 1px solid #ede8df !important;
    border-top: 1px solid #ede8df !important;
    transform: translateX(-50%) rotate(45deg) !important;
}
.rcad-bc-ellipsis:hover .rcad-bc-collapsed-list {
    display: block !important;
}
.rcad-bc-collapsed-link {
    display: block !important;
    padding: 7px 14px 7px 28px !important;
    font-size: 12.5px !important;
    color: #444 !important;
    text-decoration: none !important;
    transition: background .12s !important;
    border-left: 3px solid transparent !important;
    position: relative !important;
}
.rcad-bc-collapsed-link::before {
    content: "›" !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #ccc !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-style: normal !important;
}
.rcad-bc-collapsed-link:hover {
    background: #fff8ed !important;
    color: #f5a623 !important;
    border-left-color: #f5a623 !important;
}
.rcad-bc-collapsed-link:hover::before {
    color: #f5a623 !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .rcad-cat-buttons { gap: 6px !important; padding: 10px 12px !important; }
    .rcad-cat-btn     { font-size: 12px !important; padding: 5px 12px !important; }
    .rcad-cat-bc      { font-size: 11.5px; padding: 8px 12px; }
    .rcad-bc-box      { padding: 6px 11px; }
    .rcad-bc-current  { min-width: 0 !important; flex: 1 !important; }
    .rcad-bc-home-label { display: none; } /* solo icono en móvil */
}

/* ════════════════════════════════════════════════════════════
   TAG CLUSTER — Bloque contextual de tags + AdSense
   ════════════════════════════════════════════════════════════ */
.rcad-tag-cluster-wrap {
    margin: 24px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Caja de tags ────────────────────────────────────────── */
.rcad-tag-cluster {
    border: 1px solid #ede8df;
    border-radius: 8px 8px 0 0;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Header con icono + título */
.rcad-tag-cluster__header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    background: #fafaf8;
    border-bottom: 1px solid #ede8df;
}
.rcad-tag-cluster__icon {
    width: 14px;
    height: 14px;
    fill: #f5a623;
    flex-shrink: 0;
}
.rcad-tag-cluster__title {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Pills de tags */
.rcad-tag-cluster__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 14px 16px;
}
.rcad-tag-pill {
    display: inline-block !important;
    padding: 4px 13px !important;
    border: 1.5px solid #e8e0d5 !important;
    border-radius: 20px !important;
    color: #555 !important;
    background: #fafaf8 !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition: all .15s ease !important;
    white-space: nowrap !important;
}
.rcad-tag-pill:hover {
    background: #f5a623 !important;
    color: #fff !important;
    border-color: #f5a623 !important;
    text-decoration: none !important;
}

/* ── Slot AdSense — pegado debajo de la caja de tags ──── */
.rcad-tag-cluster__ad {
    border: 1px solid #ede8df;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #fff;
    padding: 12px 16px;
    text-align: center;
    overflow: hidden;
}
/* Si no hay caja de tags arriba, esquinas completas */
.rcad-tag-cluster-wrap > .rcad-tag-cluster__ad:first-child {
    border-radius: 8px;
    border-top: 1px solid #ede8df;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .rcad-tag-cluster-wrap { margin: 16px 0 6px; }
    .rcad-tag-cluster__pills { gap: 5px; padding: 10px 12px; }
    .rcad-tag-pill { font-size: 12px !important; padding: 3px 11px !important; }
    .rcad-tag-cluster__header { padding: 8px 12px; }
    .rcad-tag-cluster__ad { padding: 10px 12px; }
}

/* ===== Fuente consolidada: css/category-directory.css ===== */
.rcad-dir {
    max-width: 1180px;
    margin: 30px auto;
    padding: 0 16px;
    color: #172033;
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

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

.rcad-dir-hero {
    margin-bottom: 22px;
    padding: 34px 28px;
    border-radius: 24px;
    background: #071b46;
    color: #fff;
    text-align: center;
}

.rcad-dir-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 34px;
    font-weight: 850;
    line-height: 1.15;
}

.rcad-dir-hero h1::before {
    content: "";
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 8px;
    background:
        linear-gradient(#22c55e, #22c55e) 8px 8px/18px 4px no-repeat,
        linear-gradient(#60a5fa, #60a5fa) 8px 15px/18px 4px no-repeat,
        linear-gradient(#f6a800, #f6a800) 8px 22px/18px 4px no-repeat,
        #fff;
    display: inline-block;
    vertical-align: -6px;
}

.rcad-dir-hero p {
    max-width: 760px;
    margin: 0 auto 22px;
    color: #d9e2f1;
    font-size: 15px;
    line-height: 1.6;
}

.rcad-dir-search {
    max-width: 680px;
    min-height: 50px;
    margin: 0 auto 18px;
    padding: 6px 8px 6px 16px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rcad-dir-search span {
    color: #071b46;
    font-size: 22px;
    line-height: 1;
}

.rcad-dir-search input {
    min-width: 0;
    flex: 1;
    height: 38px;
    border: 0;
    outline: 0;
    color: #172033;
    font: inherit;
    font-size: 15px;
}

.rcad-dir-search button {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #f6a800;
    color: #071b46;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.rcad-dir-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rcad-dir-tags a {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
}

.rcad-dir-tags a:hover,
.rcad-dir-tags a:focus-visible {
    background: rgba(255, 255, 255, .2);
}

.rcad-dir-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rcad-dir-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.rcad-dir-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: #f6a800;
    opacity: 0;
    transition: opacity .16s ease;
}

.rcad-dir-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .09);
    transform: translateY(-2px);
}

.rcad-dir-card:hover::before {
    opacity: 1;
}

.rcad-dir-card-top {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rcad-dir-icon {
    width: 48px;
    height: 48px;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fff8e6;
    color: #071b46;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.rcad-dir-icon .rcad-icon {
    width: auto;
    height: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.rcad-dir-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
}

.rcad-dir-icon .rcad-icon svg {
    width: 25px;
    height: 25px;
}

.rcad-dir-card-head {
    min-width: 0;
    display: block;
}

.rcad-dir-title {
    color: #111827 !important;
    display: block;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

.rcad-dir-title:hover,
.rcad-dir-title:focus-visible {
    color: #111827 !important;
    text-decoration: none;
}

.rcad-dir-count {
    display: block;
    margin-top: 3px;
    color: #d97706;
    font-size: 12px;
    font-weight: 700;
}

.rcad-dir-desc {
    flex: 1;
    margin: 0 0 14px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.55;
}

.rcad-dir-list {
    margin: 0 0 18px;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rcad-dir-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
}

.rcad-dir-list li::before,
.rcad-dir-list li::marker {
    content: none !important;
    display: none !important;
}

.rcad-dir-list a {
    width: 100%;
    min-height: 20px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #172033 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left !important;
    text-decoration: none;
}

.rcad-dir-list a::before {
    content: none !important;
}

.rcad-dir-list a:hover,
.rcad-dir-list a:focus-visible {
    background: transparent !important;
    color: #172033 !important;
    text-decoration: none;
}

.rcad-dir-child-icon {
    width: 18px;
    min-width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #fff8e6;
    color: #071b46;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

.rcad-dir-child-icon .rcad-icon {
    width: auto;
    height: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    font-size: 11px;
}

.rcad-dir-child-icon .rcad-icon svg {
    width: 12px;
    height: 12px;
}

.rcad-dir-child-name {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.rcad-dir-child-arrow {
    color: #9ca3af;
    margin-left: 8px;
    opacity: .85;
    transition: opacity .12s ease, transform .12s ease;
}

.rcad-dir-list a:hover span:last-child,
.rcad-dir-list a:focus-visible span:last-child {
    opacity: 1;
    transform: translateX(2px);
}

.rcad-dir-more {
    margin-top: auto;
    padding: 11px 16px;
    border-radius: 10px;
    background: #f6a800;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.rcad-dir-more svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.rcad-dir-more:hover,
.rcad-dir-more:focus-visible {
    background: #e09600;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.rcad-dir-cta {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    padding: 34px 28px;
    border: 1px solid #e8edf3;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 15%, rgba(246, 168, 0, .14), transparent 28%),
        linear-gradient(135deg, #fff, #f8fafc);
    text-align: center;
}

.rcad-dir-cta::after {
    content: "CAD";
    position: absolute;
    right: 24px;
    bottom: -12px;
    color: rgba(7, 27, 70, .045);
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.rcad-dir-cta h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #071b46;
    font-size: 26px;
    line-height: 1.2;
}

.rcad-dir-cta p {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto 18px;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}

.rcad-dir-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rcad-dir-cta-actions a {
    padding: 13px 20px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.rcad-dir-cta-primary {
    background: #071b46;
    color: #fff !important;
}

.rcad-dir-cta-secondary {
    border: 1px solid #f6a800;
    background: #f6a800;
    color: #071b46 !important;
}

.rcad-dir-cta-link {
    border: 1px solid #e8edf3;
    background: #fff;
    color: #071b46 !important;
}

.rcad-dir-cta-actions a:hover,
.rcad-dir-cta-actions a:focus-visible {
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 1050px) {
    .rcad-dir-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .rcad-dir-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rcad-dir-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .rcad-dir {
        margin: 18px auto;
        padding: 0 12px;
    }

    .rcad-dir-grid {
        grid-template-columns: 1fr;
    }

    .rcad-dir-hero {
        padding: 28px 18px;
    }

    .rcad-dir-search {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .rcad-dir-search button {
        width: 100%;
    }

    .rcad-dir-cta {
        padding: 28px 18px;
    }

    .rcad-dir-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rcad-dir-cta-actions a {
        width: 100%;
    }
}

/* ===== Fuente consolidada: css/category-directory-v83.css ===== */
/* RCAD v83 — directorio completo por silos con las mismas tarjetas compactas de Home */
.rcad-allcat{max-width:1320px;margin:26px auto 50px;padding:0 24px;color:#071b46;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.rcad-allcat,.rcad-allcat *,.rcad-allcat *:before,.rcad-allcat *:after{box-sizing:border-box}
.rcad-allcat__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);align-items:end;gap:36px;padding:24px 0 22px;border-bottom:1px solid #e4e9f0}
.rcad-allcat__eyebrow{display:block;margin:0 0 7px;color:#f27a00;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rcad-allcat__hero h1{margin:0;color:#071b46;font-size:clamp(30px,3.4vw,48px);line-height:1.05;font-weight:800;letter-spacing:-.035em}
.rcad-allcat__hero p{max-width:760px;margin:10px 0 0;color:#65758b;font-size:15px;line-height:1.55}
.rcad-allcat__search{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 7px 7px 14px;border:1px solid #dbe2ea;border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.04)}
.rcad-allcat__search svg{width:18px;height:18px;fill:none;stroke:#6b7b90;stroke-width:2;stroke-linecap:round}
.rcad-allcat__search input{width:100%;height:38px;border:0!important;outline:0!important;background:transparent!important;color:#172033;font-size:14px;box-shadow:none!important}
.rcad-allcat__search button{height:38px;padding:0 18px;border:0;border-radius:9px;background:#f6a800;color:#071b46;font-size:12px;font-weight:800;cursor:pointer}
.rcad-allcat__silo-nav{display:flex;gap:7px;flex-wrap:wrap;padding:16px 0 2px}
.rcad-allcat__silo-nav a{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;border:1px solid #dbe2ea;border-radius:999px;background:#fff;color:#53657b!important;font-size:11px;font-weight:650;text-decoration:none!important}
.rcad-allcat__silo-nav a:hover{border-color:#f6a800;color:#071b46!important}
.rcad-allcat__groups{display:block}
.rcad-allcat-silo{scroll-margin-top:90px;padding:32px 0 4px}
.rcad-allcat-silo__head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;margin-bottom:13px}
.rcad-allcat-silo__icon{width:42px;height:42px;display:grid;place-items:center;color:var(--rcad-allcat-icon,#f6a800)}
.rcad-allcat-silo__icon svg,.rcad-allcat-silo__icon .rcad-icon svg{width:31px!important;height:31px!important;max-width:31px!important;max-height:31px!important;fill:none!important;stroke:currentColor!important}
.rcad-allcat-silo__icon .rcad-icon{width:auto!important;height:auto!important;background:transparent!important;border:0!important;color:inherit!important}
.rcad-allcat-silo__head h2{margin:0;color:#071b46;font-size:21px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.rcad-allcat-silo__head p{margin:4px 0 0;color:#718096;font-size:11.5px;line-height:1.4}
.rcad-allcat-silo__head>a{color:#f27a00!important;font-size:11px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.rcad-allcat-grid{display:grid;grid-template-columns:repeat(var(--rcad-allcat-columns,5),minmax(0,1fr));gap:10px}
.rcad-allcat-card{position:relative;min-width:0;min-height:164px;display:flex!important;flex-direction:column!important;align-items:center!important;padding:18px 12px 13px!important;border:1px solid #dbe2ea!important;border-radius:13px!important;background:#fff!important;color:#071b46!important;text-decoration:none!important;text-align:center!important;box-shadow:0 2px 7px rgba(15,23,42,.025)!important;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.rcad-allcat-card:hover,.rcad-allcat-card:focus-visible{transform:translateY(-3px);background:#fff!important;border-color:#cbd5e1!important;box-shadow:0 9px 20px rgba(15,23,42,.07)!important;outline:none}
.rcad-allcat-card__icon{width:44px!important;height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 8px!important;background:transparent!important;border:0!important;color:var(--rcad-allcat-icon,#f6a800)!important;transition:transform .18s ease}
.rcad-allcat-card:hover .rcad-allcat-card__icon{transform:translateY(-2px) scale(1.04)}
.rcad-allcat-card__icon>svg,.rcad-allcat-card__icon .rcad-icon svg{display:block!important;width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;fill:none!important;stroke:currentColor!important}
.rcad-allcat-card__icon .rcad-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;font-size:27px!important;line-height:1!important}
.rcad-allcat-card__title{display:block!important;margin:0!important;color:#071b46!important;font-size:13px!important;line-height:1.18!important;font-weight:800!important;letter-spacing:-.01em!important;text-decoration:none!important}
.rcad-allcat-card__desc{display:block!important;max-width:190px;margin:7px 0 0!important;color:#334155!important;font-size:10px!important;line-height:1.36!important;font-weight:400!important}
.rcad-allcat-card__count{display:block!important;margin-top:auto!important;padding-top:10px!important;color:#718096!important;font-size:9.5px!important;line-height:1!important;font-weight:650!important}
.rcad-allcat-card__arrow{position:absolute;right:10px;bottom:10px;width:13px;height:13px;fill:none;stroke:#8391a5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:translateX(-3px);transition:opacity .18s ease,transform .18s ease,stroke .18s ease}
.rcad-allcat-card:hover .rcad-allcat-card__arrow{opacity:1;transform:none;stroke:#f6a800}
@media(max-width:1250px){.rcad-allcat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:980px){.rcad-allcat__hero{grid-template-columns:1fr}.rcad-allcat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.rcad-allcat{padding:0 16px}.rcad-allcat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rcad-allcat-silo__head{grid-template-columns:36px minmax(0,1fr)}.rcad-allcat-silo__head>a{grid-column:2;margin-top:3px}.rcad-allcat__search{grid-template-columns:18px minmax(0,1fr)}.rcad-allcat__search button{grid-column:1/-1;width:100%}}
@media(max-width:460px){.rcad-allcat-grid{grid-template-columns:1fr}.rcad-allcat-card{min-height:150px}}

/* RCAD v374 — directorio /categorias/ dentro de la misma retícula global que artículos y recursos. */
body.page-template-page-rcad-category-directory .rcad-directory-page,
body.page-template-page-rcad-category-directory-php .rcad-directory-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.page-template-page-rcad-category-directory .rcad-allcat,
body.page-template-page-rcad-category-directory-php .rcad-allcat{
  width:min(1320px,calc(100% - 48px))!important;
  max-width:1320px!important;
  margin:26px auto 50px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
@media(max-width:720px){
  body.page-template-page-rcad-category-directory .rcad-allcat,
  body.page-template-page-rcad-category-directory-php .rcad-allcat{
    width:calc(100% - 32px)!important;
    margin:18px auto 36px!important;
    padding:0!important;
  }
}

/* ===== Fuente consolidada: css/category-archive-v392.css ===== */
/* RCAD PRO v393 — Categorías: grid profesional 4 columnas + sidebar/widgets */
body.category .rcad-category-archive-v392{
  background:#fff;
  padding:0 0 56px;
}
body.category .rcad-category-shell-v392{
  width:min(1320px,calc(100% - 40px));
  margin:0 auto;
}
body.category .rcad-category-breadcrumb-v392{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:10px 0;
  font-size:12px;
  color:#667085;
  border-bottom:1px solid #edf0f4;
}
body.category .rcad-category-breadcrumb-v392 a{
  color:#f6a800;
  text-decoration:none;
  font-weight:600;
}
body.category .rcad-category-head-v392{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:26px 0 24px;
}
body.category .rcad-category-kicker-v392{
  margin:0 0 5px;
  color:#f6a800;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:800;
}
body.category .rcad-category-head-v392 h1{
  margin:0;
  color:#071b46;
  font-size:clamp(27px,3vw,38px);
  line-height:1.1;
  font-weight:800;
}
body.category .rcad-category-description-v392{
  max-width:820px;
  margin-top:10px;
  color:#667085;
  font-size:14px;
  line-height:1.65;
}
body.category .rcad-category-description-v392 p{margin:0 0 8px}
body.category .rcad-category-count-v392{
  flex:0 0 auto;
  display:flex;
  align-items:baseline;
  gap:6px;
  padding:8px 12px;
  border:1px solid #e6e9ef;
  border-radius:10px;
  background:#fff;
  color:#071b46;
  font-size:17px;
  font-weight:800;
}
body.category .rcad-category-count-v392 span{
  color:#667085;
  font-size:11px;
  font-weight:600;
}
body.category .rcad-category-grid-v392{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px 20px;
  padding:4px 0 30px;
}
body.category .rcad-category-card-v392{
  min-width:0;
  margin:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e5e8ee;
  border-radius:10px;
  box-shadow:0 3px 14px rgba(7,27,70,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.category .rcad-category-card-v392:hover{
  transform:translateY(-2px);
  border-color:#d9dee8;
  box-shadow:0 9px 22px rgba(7,27,70,.09);
}
body.category .rcad-category-card-media-v392{
  display:block;
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f4f6f9;
}
body.category .rcad-category-card-media-v392 img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
body.category .rcad-category-card-v392:hover .rcad-category-card-media-v392 img{transform:scale(1.025)}
body.category .rcad-category-placeholder-v392{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#071b46;
  font-size:22px;
  font-weight:800;
  letter-spacing:.06em;
}
body.category .rcad-category-card-body-v392{padding:13px 14px 15px}
body.category .rcad-category-card-top-v392{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
body.category .rcad-category-pill-v392,
body.category .rcad-category-free-v392{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
  font-weight:700;
}
body.category .rcad-category-pill-v392{
  max-width:74%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#8b6100;
  background:#fff7e2;
  border:1px solid #ffe2a0;
}
body.category .rcad-category-free-v392{
  color:#176b3a;
  background:#ecf8f0;
  border:1px solid #cbead5;
}
body.category .rcad-category-card-v392 h2{
  margin:0;
  font-size:14px;
  line-height:1.42;
  font-weight:750;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.category .rcad-category-card-v392 h2 a{
  color:#071b46;
  text-decoration:none;
}
body.category .rcad-category-card-v392 h2 a:hover{color:#a96e00}
body.category .rcad-category-card-meta-v392{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #eef0f4;
  color:#8991a1;
  font-size:10.5px;
}
body.category .rcad-category-pagination-v392{
  margin:4px 0 28px;
}
body.category .rcad-category-bottom-description-v392{
  margin:28px 0 0;
  padding:22px;
  border:1px solid #e7eaf0;
  border-radius:10px;
  background:#fff;
  color:#4b5565;
  font-size:14px;
  line-height:1.7;
}
body.category .rcad-category-empty-v392{
  padding:42px 24px;
  border:1px solid #e7eaf0;
  border-radius:10px;
  text-align:center;
}
body.category .rcad-category-empty-v392 h2{color:#071b46;margin:0 0 8px}
body.category .rcad-category-empty-v392 p{margin:0;color:#667085}
@media(max-width:1100px){
  body.category .rcad-category-grid-v392{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  body.category .rcad-category-shell-v392{width:min(100% - 28px,1320px)}
  body.category .rcad-category-grid-v392{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
  body.category .rcad-category-head-v392{align-items:flex-start}
}
@media(max-width:560px){
  body.category .rcad-category-shell-v392{width:min(100% - 22px,1320px)}
  body.category .rcad-category-head-v392{display:block;padding:20px 0}
  body.category .rcad-category-count-v392{display:inline-flex;margin-top:12px}
  body.category .rcad-category-grid-v392{grid-template-columns:1fr;gap:16px}
  body.category .rcad-category-card-v392 h2{font-size:15px}
}

/* v393 — Recupera la barra lateral de taxonomías de Orbital sin perder el grid RCAD. */
body.category .rcad-category-layout-v393{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:start;
}
body.category .rcad-category-layout-v393.has-sidebar{
  grid-template-columns:minmax(0,1fr) 320px;
}
body.category .rcad-category-main-v393{min-width:0}
body.category .rcad-category-sidebar-v393{min-width:0}
body.category .rcad-category-sidebar-v393 > #secondary,
body.category .rcad-category-sidebar-v393 .entry-aside{
  width:100% !important;
  max-width:320px;
  margin:4px 0 0 !important;
  float:none !important;
}
body.category .rcad-category-sidebar-v393 .widget-area-wrapper{width:100%}
@media(max-width:1020px){
  body.category .rcad-category-layout-v393.has-sidebar{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
  body.category .rcad-category-sidebar-v393 > #secondary,
  body.category .rcad-category-sidebar-v393 .entry-aside{max-width:280px}
  body.category .rcad-category-layout-v393.has-sidebar .rcad-category-grid-v392{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  body.category .rcad-category-layout-v393.has-sidebar{grid-template-columns:1fr}
  body.category .rcad-category-sidebar-v393 > #secondary,
  body.category .rcad-category-sidebar-v393 .entry-aside{max-width:none}
}

/* ===== Fuente consolidada: css/categories-white-v507.css ===== */

/* RCAD v5.07 — /categorias/ fondo blanco */
body.page-template-page-categorias,
body.page-template-page-categorias-php,
body.rcad-categories-page,
body.page-slug-categorias{
    background:#fff!important;
}

/* La página completa y sus contenedores estructurales */
body.page-template-page-categorias #page,
body.page-template-page-categorias .site,
body.page-template-page-categorias .site-content,
body.page-template-page-categorias main,
body.page-template-page-categorias .rcad-categories-page,
body.page-template-page-categorias-php #page,
body.page-template-page-categorias-php .site,
body.page-template-page-categorias-php .site-content,
body.page-template-page-categorias-php main,
body.page-template-page-categorias-php .rcad-categories-page{
    background:#fff!important;
}

/* Fallback específico por clase de la plantilla */
.rcad-categories-page,
.rcad-categories-wrap,
.rcad-categories-main,
.rcad-categories-content{
    background:#fff!important;
}

/* ===== Fuente consolidada: css/category-count-v553.css ===== */
/* RCAD v5.53 — contador de publicaciones integrado bajo el título */

body.category .rcad-category-count-v392{
    display:none!important;
}

body.category .rcad-category-count-v553{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    margin:7px 0 0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#667085!important;
    font-size:11.5px!important;
    line-height:1.3!important;
    box-shadow:none!important;
}

body.category .rcad-category-count-v553 strong{
    color:#071b46!important;
    font-size:11.5px!important;
    font-weight:800!important;
}

body.category .rcad-category-count-v553 span{
    color:#667085!important;
    font-size:11.5px!important;
    font-weight:500!important;
}

body.category .rcad-category-head-v392{
    align-items:flex-start!important;
}

@media(max-width:620px){
    body.category .rcad-category-count-v553{
        margin-top:5px!important;
        font-size:11px!important;
    }
}

/* ===== Fuente consolidada: css/category-breadcrumb-global-v556.css ===== */
/* RCAD v5.56 — categorías: usar únicamente la miga global superior.
   La plantilla category.php ya no dibuja una segunda miga bajo el H1. */
body.category .rcad-category-breadcrumb-v392{
    display:none!important;
}

/* ===== Fuente consolidada: css/category-list-orbital-v571.css ===== */
/* RCAD v5.71 — compatibilidad real con Opciones de Listado de Orbital */
body.category .rcad-category-grid-v392{grid-template-columns:repeat(var(--rcad-list-cols,4),minmax(0,1fr))!important}
body.category .rcad-category-card-media-v392{aspect-ratio:var(--rcad-list-img-ratio,390/200)!important}
body.category .rcad-category-card-media-v392 img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:top center!important}
body.category .rcad-category-card-excerpt-v568{margin:8px 0 0;color:#667085;font-size:11.5px;line-height:1.48}
body.category .rcad-category-card-more-v568{display:inline-flex;margin-top:7px;color:#a96e00;font-size:11px;font-weight:700;text-decoration:none}
body.category .rcad-category-card-more-v568:hover{color:#071b46;text-decoration:underline}
body.category .rcad-category-card-meta-v392{display:flex;flex-wrap:wrap;align-items:center;gap:5px}
@media(max-width:900px){body.category .rcad-category-grid-v392{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){body.category .rcad-category-grid-v392{grid-template-columns:1fr!important}}


/* RCAD v6.96 — Categorías: cabecera y descripción dentro de la columna principal.
   La sidebar comienza arriba, alineada con el título, evitando el hueco vacío. */
body.category .rcad-category-layout-v393{align-items:start!important;}
body.category .rcad-category-main-v393 > .rcad-category-head-v392{margin-top:0!important;padding-top:0!important;}
body.category .rcad-category-sidebar-v393{align-self:start!important;}
body.category .rcad-category-sidebar-v393 > #secondary,
body.category .rcad-category-sidebar-v393 .entry-aside{margin-top:0!important;}


/* RCAD v6.97 — Categorías: respiración superior en escritorio.
   Baja 10px el encabezado de categoría y la sidebar, manteniendo su alineación. */
@media (min-width:901px){
  body.category .rcad-category-main-v393 > .rcad-category-head-v392{margin-top:10px!important;}
  body.category .rcad-category-sidebar-v393 > #secondary,
  body.category .rcad-category-sidebar-v393 .entry-aside{margin-top:10px!important;}
}
