/* ========================================================
   1. BOTÓN FLOTANTE DISPARADOR (Magenta Bimestral)
   ======================================================== */
#ba-trigger-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #a60f4e;
    color: #ffffff;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 14px;
    cursor: pointer;
    box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#ba-trigger-btn:hover {
    background-color: #880a3e;
    transform: translateY(-50%) scale(1.05);
}

/* ========================================================
   2. CAJÓN LATERAL (DRAWER) Y BLINDAJE DE ESTILOS
   ======================================================== */
#ba-drawer {
    position: fixed;
    top: 0;
    right: -360px;
    width: 330px;
    height: 100vh;
    background: #ffffff !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
    z-index: 1000000;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box;
}

#ba-drawer.ba-open {
    right: 0;
}

#ba-drawer,
#ba-drawer * {
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

.ba-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0 !important;
    background-color: #f7f7f7 !important;
}

#ba-drawer .ba-drawer-header h3 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

#ba-drawer #ba-close-btn {
    background: transparent !important;
    border: none !important;
    font-size: 1.8rem !important;
    cursor: pointer;
    color: #333333 !important;
    line-height: 1;
}

#ba-drawer #ba-close-btn:hover {
    color: #000000 !important;
}

.ba-drawer-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.ba-tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #e6e6e6 !important;
    border-radius: 10px;
    background-color: #ffffff !important;
    gap: 10px;
}

.ba-tool-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

#ba-drawer .ba-tool-info strong {
    display: block;
    font-size: 0.92rem !important;
    color: #222222 !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

#ba-drawer .ba-tool-info small {
    display: block;
    color: #666666 !important;
    font-size: 0.78rem !important;
    line-height: 1.2;
}

.ba-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* Switches */
.ba-switch {
    width: 44px;
    height: 24px;
    background-color: #d1d1d6 !important;
    border-radius: 12px;
    position: relative;
    border: none !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}

.ba-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff !important;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.ba-switch[aria-pressed="true"] {
    background-color: #a60f4e !important;
}

.ba-switch[aria-pressed="true"]::after {
    transform: translateX(20px);
}

/* Botones de acción */
.ba-action-btn {
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid #a60f4e !important;
    background: #ffffff !important;
    color: #a60f4e !important;
    font-weight: 600 !important;
    cursor: pointer;
    font-size: 0.85rem !important;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ba-action-btn:hover,
.ba-action-btn[aria-pressed="true"],
.ba-action-btn.ba-active-btn {
    background-color: #a60f4e !important;
    color: #ffffff !important;
}

.ba-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Grupo de botones para tamaño de fuente */
.ba-font-btn-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ba-font-btn {
    min-width: 36px;
    padding: 6px 10px !important;
    text-align: center;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
}

/* ========================================================
   CONTROLES DEL LECTOR DE PANTALLA (SCREEN READER)
   ======================================================== */
.ba-tool-reader {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.ba-reader-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.ba-reader-speed-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed #e6e6e6;
    font-size: 0.82rem;
    color: #666666;
}

.ba-speed-btns {
    display: flex;
    gap: 4px;
}

.ba-speed-btn {
    background: #f0f0f2 !important;
    border: 1px solid #dcdce0 !important;
    color: #444444 !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ba-speed-btn:hover,
.ba-speed-btn.ba-speed-active {
    background: #a60f4e !important;
    border-color: #a60f4e !important;
    color: #ffffff !important;
}

/* Estado activo del lector interactivo en la web */
body.ba-reader-active {
    cursor: help !important;
}

body.ba-reader-active p,
body.ba-reader-active h1,
body.ba-reader-active h2,
body.ba-reader-active h3,
body.ba-reader-active h4,
body.ba-reader-active h5,
body.ba-reader-active h6,
body.ba-reader-active a,
body.ba-reader-active li,
body.ba-reader-active button,
body.ba-reader-active span {
    cursor: pointer !important;
}

/* Borde punteado al pasar el ratón */
body.ba-reader-active *:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *):hover {
    outline: 2px dashed #a60f4e !important;
    outline-offset: 3px !important;
}

/* Resaltado del bloque que se está escuchando */
.ba-reading-highlight {
    outline: 2.5px solid #a60f4e !important;
    outline-offset: 4px !important;
    background-color: rgba(166, 15, 78, 0.12) !important;
    transition: all 0.2s ease;
}

/* ========================================================
   3. MODO OSCURO (CORRECCIÓN DE CONTENEDORES Y VÍDEO)
   ======================================================== */
body.ba-dark-theme,
body.ba-dark-theme #ajax-content-wrap,
body.ba-dark-theme #page-wrap,
body.ba-dark-theme .container-wrap,
body.ba-dark-theme .container,
body.ba-dark-theme .main-content,
body.ba-dark-theme main,
body.ba-dark-theme section,
body.ba-dark-theme article,
body.ba-dark-theme .vc_row,
body.ba-dark-theme .vc_row-fluid,
body.ba-dark-theme .wpb_row,
body.ba-dark-theme .row,
body.ba-dark-theme .row-bg,
body.ba-dark-theme .row-bg-wrap,
body.ba-dark-theme .row_col_wrap_12,
body.ba-dark-theme .inner-wrap,
body.ba-dark-theme .span_12,
body.ba-dark-theme .full-width-section,
body.ba-dark-theme [class*="section"],
body.ba-dark-theme [class*="row-bg"],
body.ba-dark-theme header,
body.ba-dark-theme footer,
body.ba-dark-theme #header-outer,
body.ba-dark-theme #header-secondary-outer,
body.ba-dark-theme #footer-outer,
body.ba-dark-theme #footer-outer #copyright,
body.ba-dark-theme #footer-outer .row,
body.ba-dark-theme #footer-outer .container {
    background-color: #121212 !important;
    background-image: none !important;
}

body.ba-dark-theme .vc_column_container,
body.ba-dark-theme .vc_column-inner,
body.ba-dark-theme .wpb_column,
body.ba-dark-theme .wpb_wrapper,
body.ba-dark-theme .nectar-slider-wrap,
body.ba-dark-theme .nectar-video-wrap,
body.ba-dark-theme .nectar-video-inner,
body.ba-dark-theme .video-color-overlay,
body.ba-dark-theme .video-overlay,
body.ba-dark-theme .swiper-slide,
body.ba-dark-theme .slide,
body.ba-dark-theme [class*="video"] {
    background-color: #121212 !important;
    background-image: none !important;
    border-color: #121212 !important;
}

body.ba-dark-theme video {
    background-color: #121212 !important;
    filter: brightness(0.9);
}

body.ba-dark-theme .vc_row::before,
body.ba-dark-theme .vc_row::after,
body.ba-dark-theme .row-bg::before,
body.ba-dark-theme .row-bg::after,
body.ba-dark-theme .row-bg-wrap::before,
body.ba-dark-theme .row-bg-wrap::after {
    background-color: #121212 !important;
    background-image: none !important;
}

body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color: #fff"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color:#fff"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color: rgb(255, 255, 255)"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color:rgb(255, 255, 255)"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color: #b3b3b3"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color:#b3b3b3"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color: #f4f4f4"],
body.ba-dark-theme div:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *)[style*="background-color:#f4f4f4"] {
    background-color: #121212 !important;
}

/* Divisores de formas y overlays en Modo Oscuro (¡Patrocínanos! y secciones) */
body.ba-dark-theme .nectar-shape-divider-wrap,
body.ba-dark-theme .nectar-shape-divider,
body.ba-dark-theme .nectar-shape-divider svg,
body.ba-dark-theme .nectar-shape-divider polygon,
body.ba-dark-theme .nectar-shape-divider path {
    fill: #121212 !important;
    color: #121212 !important;
    background-color: transparent !important;
}

body.ba-dark-theme .row-bg.using-bg-color,
body.ba-dark-theme .column-overlay-layer,
body.ba-dark-theme .column-bg-overlay-wrap,
body.ba-dark-theme .column-bg-overlay,
body.ba-dark-theme [class*="using-bg-color"],
body.ba-dark-theme div[style*="background-color: #b3b3b3"],
body.ba-dark-theme div[style*="background-color:#b3b3b3"] {
    background: #121212 !important;
    background-color: #121212 !important;
    background-image: none !important;
}

/* Fix para botón 3D Informe anual de actividades 2025 */
body.ba-dark-theme .nectar-3d-transparent-button,
body.ba-dark-theme .nectar-3d-transparent-button .inner-wrap,
body.ba-dark-theme .nectar-3d-transparent-button .front-3d,
body.ba-dark-theme .nectar-3d-transparent-button .back-3d,
body.ba-dark-theme .nectar-3d-transparent-button svg,
body.ba-contrast-theme .nectar-3d-transparent-button,
body.ba-contrast-theme .nectar-3d-transparent-button .inner-wrap,
body.ba-contrast-theme .nectar-3d-transparent-button .front-3d,
body.ba-contrast-theme .nectar-3d-transparent-button .back-3d,
body.ba-contrast-theme .nectar-3d-transparent-button svg {
    overflow: visible !important;
    background-color: transparent !important;
}

body.ba-dark-theme .nectar-3d-transparent-button,
body.ba-contrast-theme .nectar-3d-transparent-button {
    position: relative !important;
    z-index: 100 !important;
}

body.ba-dark-theme .vc_column_container:has(.nectar-3d-transparent-button),
body.ba-dark-theme .vc_column-inner:has(.nectar-3d-transparent-button),
body.ba-dark-theme .wpb_wrapper:has(.nectar-3d-transparent-button),
body.ba-contrast-theme .vc_column_container:has(.nectar-3d-transparent-button),
body.ba-contrast-theme .vc_column-inner:has(.nectar-3d-transparent-button),
body.ba-contrast-theme .wpb_wrapper:has(.nectar-3d-transparent-button) {
    position: relative !important;
    z-index: 99 !important;
    overflow: visible !important;
}

body.ba-dark-theme .vc_col-sm-4:empty,
body.ba-contrast-theme .vc_col-sm-4:empty,
body.ba-dark-theme .vc_column_container:empty,
body.ba-contrast-theme .vc_column_container:empty,
body.ba-dark-theme .wpb_wrapper:empty,
body.ba-contrast-theme .wpb_wrapper:empty {
    background-color: transparent !important;
    pointer-events: none !important;
}

/* Contención de flotados y protección del pie de página */
body.ba-dark-theme .container-wrap,
body.ba-contrast-theme .container-wrap {
    overflow: hidden !important;
    clear: both !important;
}

body.ba-dark-theme .wpb_row::after,
body.ba-dark-theme .vc_row::after,
body.ba-dark-theme .row_col_wrap_12::after,
body.ba-dark-theme .main-content::after,
body.ba-contrast-theme .wpb_row::after,
body.ba-contrast-theme .vc_row::after,
body.ba-contrast-theme .row_col_wrap_12::after,
body.ba-contrast-theme .main-content::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

#footer-outer {
    position: relative !important;
    z-index: 100 !important;
    clear: both !important;
    overflow: visible !important;
}

#footer-outer #copyright,
#footer-outer #copyright .container,
#footer-outer #copyright .col {
    overflow: visible !important;
}

/* Barra de búsqueda modal Salient en Modo Oscuro */
body.ba-dark-theme #search-outer,
body.ba-dark-theme #search-outer #search,
body.ba-dark-theme #search-outer #search-box,
body.ba-dark-theme #search-outer .container,
body.ba-dark-theme #search-outer .inner-wrap,
body.ba-dark-theme #search-outer form,
body.ba-dark-theme #search-outer .ui-widget-content,
body.ba-dark-theme #search-outer .nectar-ajax-search-results {
    background-color: #121212 !important;
    background: #121212 !important;
    color: #ffffff !important;
}

body.ba-dark-theme #search-outer input[type="text"] {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
}

body.ba-dark-theme #search-outer input[type="text"]::placeholder,
body.ba-dark-theme #search-outer #search-box input {
    color: #cccccc !important;
}

body.ba-dark-theme #search-outer #close a,
body.ba-dark-theme #search-outer #close a span,
body.ba-dark-theme #search-outer .icon-salient-x {
    color: #ffffff !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) *:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *):not(#footer-outer):not(#footer-outer *) {
    color: #e2e2e2 !important;
    border-color: #2b2b2b !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) h1:not(#ba-drawer *):not(#footer-outer *),
body.ba-dark-theme:not(.ba-contrast-theme) h2:not(#ba-drawer *):not(#footer-outer *),
body.ba-dark-theme:not(.ba-contrast-theme) h3:not(#ba-drawer *):not(#footer-outer *),
body.ba-dark-theme:not(.ba-contrast-theme) h4:not(#ba-drawer *):not(#footer-outer *) {
    color: #ffffff !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) a:not(#ba-drawer *):not(#ba-trigger-btn):not(#footer-outer):not(#footer-outer *) {
    color: #e84c8a !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) button:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-dark-theme:not(.ba-contrast-theme) a[class*="button"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-dark-theme:not(.ba-contrast-theme) a[class*="btn"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-dark-theme:not(.ba-contrast-theme) .vc_btn3,
body.ba-dark-theme:not(.ba-contrast-theme) [role="button"] {
    color: #ffffff !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright li a i,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright .social a i,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer[data-cols="1"] #copyright li a i {
    color: #ffffff !important;
    border-color: #555555 !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright li a i::after,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright .social a i::after,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer[data-cols="1"] #copyright li a i::after,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer[data-cols="1"] #copyright a i::after {
    border-color: #555555 !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright li a:hover i,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright .social a:hover i {
    color: #ffffff !important;
    border-color: #ffffff !important;
    background-color: #222222 !important;
}

body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright li a:hover i::after,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer #copyright .social a:hover i::after,
body.ba-dark-theme:not(.ba-contrast-theme) #footer-outer[data-cols="1"] #copyright li a:hover i::after {
    border-color: #ffffff !important;
}

/* ========================================================
   4. ALTO CONTRASTE CLARO
   ======================================================== */
body.ba-contrast-theme:not(.ba-dark-theme),
body.ba-contrast-theme:not(.ba-dark-theme) #ajax-content-wrap,
body.ba-contrast-theme:not(.ba-dark-theme) .container-wrap,
body.ba-contrast-theme:not(.ba-dark-theme) .main-content,
body.ba-contrast-theme:not(.ba-dark-theme) main,
body.ba-contrast-theme:not(.ba-dark-theme) section,
body.ba-contrast-theme:not(.ba-dark-theme) .vc_row,
body.ba-contrast-theme:not(.ba-dark-theme) .wpb_row,
body.ba-contrast-theme:not(.ba-dark-theme) .row-bg,
body.ba-contrast-theme:not(.ba-dark-theme) header {
    background-color: #ffffff !important;
    background-image: none !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) *:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *):not(#footer-outer):not(#footer-outer *):not(button):not(a[class*="button"]):not(a[class*="btn"]):not(.vc_btn3):not([role="button"]):not(button *):not(a[class*="button"] *):not(a[class*="btn"] *) {
    color: #000000 !important;
    font-weight: 800 !important;
    -webkit-text-stroke: 0.8px #000000 !important;
    paint-order: stroke fill !important;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.9) !important;
    text-decoration: underline 4px solid #000000 !important;
    text-underline-offset: 5px !important;
    text-decoration-skip-ink: none !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) a:not(#ba-drawer *):not(#ba-trigger-btn):not(#footer-outer):not(#footer-outer *):not([class*="button"]):not([class*="btn"]) {
    text-decoration: underline 5px solid #000000 !important;
    text-underline-offset: 5px !important;
    color: #000000 !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) button:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme:not(.ba-dark-theme) a[class*="button"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme:not(.ba-dark-theme) a[class*="btn"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme:not(.ba-dark-theme) .vc_btn3,
body.ba-contrast-theme:not(.ba-dark-theme) [role="button"] {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    text-decoration: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) button:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme:not(.ba-dark-theme) a[class*="button"]:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme:not(.ba-dark-theme) a[class*="btn"]:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme:not(.ba-dark-theme) .vc_btn3 * {
    color: #ffffff !important;
    text-decoration: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

/* Barra de búsqueda modal en Alto Contraste Claro */
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer,
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer #search,
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer #search-box,
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer .container {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) #search-outer input[type="text"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    font-weight: 700 !important;
}

body.ba-contrast-theme:not(.ba-dark-theme) #search-outer #close a,
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer #close a span,
body.ba-contrast-theme:not(.ba-dark-theme) #search-outer .icon-salient-x {
    color: #000000 !important;
}

/* ========================================================
   5. ALTO CONTRASTE OSCURO
   ======================================================== */
body.ba-contrast-theme.ba-dark-theme,
body.ba-contrast-theme.ba-dark-theme #ajax-content-wrap,
body.ba-contrast-theme.ba-dark-theme #page-wrap,
body.ba-contrast-theme.ba-dark-theme .container-wrap,
body.ba-contrast-theme.ba-dark-theme .container,
body.ba-contrast-theme.ba-dark-theme .main-content,
body.ba-contrast-theme.ba-dark-theme main,
body.ba-contrast-theme.ba-dark-theme section,
body.ba-contrast-theme.ba-dark-theme article,
body.ba-contrast-theme.ba-dark-theme .vc_row,
body.ba-contrast-theme.ba-dark-theme .vc_row-fluid,
body.ba-contrast-theme.ba-dark-theme .wpb_row,
body.ba-contrast-theme.ba-dark-theme .row,
body.ba-contrast-theme.ba-dark-theme .row-bg,
body.ba-contrast-theme.ba-dark-theme .row-bg-wrap,
body.ba-contrast-theme.ba-dark-theme header,
body.ba-contrast-theme.ba-dark-theme footer,
body.ba-contrast-theme.ba-dark-theme #header-outer {
    background-color: #000000 !important;
    background-image: none !important;
}

body.ba-contrast-theme.ba-dark-theme *:not(#ba-drawer):not(#ba-drawer *):not(#ba-trigger-btn):not(#ba-trigger-btn *):not(#footer-outer):not(#footer-outer *):not(button):not(a[class*="button"]):not(a[class*="btn"]):not(.vc_btn3) {
    color: #ffff00 !important;
    font-weight: 700 !important;
    -webkit-text-stroke: 1.2px #000000 !important;
    paint-order: stroke fill !important;
    text-shadow:
        -2px -2px 0 #000000,
        2px -2px 0 #000000,
        -2px 2px 0 #000000,
        2px 2px 0 #000000,
        0px -2px 0 #000000,
        0px 2px 0 #000000,
        -2px 0px 0 #000000,
        2px 0px 0 #000000,
        0 0 6px #000000 !important;
    text-decoration: none !important;
}

body.ba-contrast-theme.ba-dark-theme a:not(#ba-drawer *):not(#ba-trigger-btn):not([class*="button"]):not([class*="btn"]) {
    text-decoration: underline 3px solid #ffff00 !important;
    color: #ffff00 !important;
}

body.ba-contrast-theme.ba-dark-theme button:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme.ba-dark-theme a[class*="button"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme.ba-dark-theme a[class*="btn"]:not(#ba-drawer *):not(#ba-trigger-btn),
body.ba-contrast-theme.ba-dark-theme .vc_btn3,
body.ba-contrast-theme.ba-dark-theme [role="button"] {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
    text-decoration: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

body.ba-contrast-theme.ba-dark-theme button:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme.ba-dark-theme a[class*="button"]:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme.ba-dark-theme a[class*="btn"]:not(#ba-drawer *):not(#ba-trigger-btn) *,
body.ba-contrast-theme.ba-dark-theme .vc_btn3 * {
    color: #ffff00 !important;
    text-decoration: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

/* Barra de búsqueda modal en Alto Contraste Oscuro */
body.ba-contrast-theme.ba-dark-theme #search-outer,
body.ba-contrast-theme.ba-dark-theme #search-outer #search,
body.ba-contrast-theme.ba-dark-theme #search-outer #search-box,
body.ba-contrast-theme.ba-dark-theme #search-outer .container,
body.ba-contrast-theme.ba-dark-theme #search-outer .inner-wrap,
body.ba-contrast-theme.ba-dark-theme #search-outer form,
body.ba-contrast-theme.ba-dark-theme #search-outer .ui-widget-content {
    background-color: #000000 !important;
    background: #000000 !important;
}

body.ba-contrast-theme.ba-dark-theme #search-outer input[type="text"] {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
    font-weight: 700 !important;
}

body.ba-contrast-theme.ba-dark-theme #search-outer #close a,
body.ba-contrast-theme.ba-dark-theme #search-outer #close a span,
body.ba-contrast-theme.ba-dark-theme #search-outer .icon-salient-x {
    color: #ffff00 !important;
}

body.ba-contrast-theme.ba-dark-theme .nectar-shape-divider-wrap,
body.ba-contrast-theme.ba-dark-theme .nectar-shape-divider,
body.ba-contrast-theme.ba-dark-theme .nectar-shape-divider svg,
body.ba-contrast-theme.ba-dark-theme .nectar-shape-divider polygon,
body.ba-contrast-theme.ba-dark-theme .nectar-shape-divider path {
    fill: #000000 !important;
    color: #000000 !important;
    background-color: transparent !important;
}

body.ba-contrast-theme.ba-dark-theme .row-bg.using-bg-color,
body.ba-contrast-theme.ba-dark-theme .column-overlay-layer,
body.ba-contrast-theme.ba-dark-theme .column-bg-overlay-wrap,
body.ba-contrast-theme.ba-dark-theme .column-bg-overlay,
body.ba-contrast-theme.ba-dark-theme [class*="using-bg-color"],
body.ba-contrast-theme.ba-dark-theme div[style*="background-color: #b3b3b3"],
body.ba-contrast-theme.ba-dark-theme div[style*="background-color:#b3b3b3"],
body.ba-contrast-theme.ba-dark-theme div[style*="background-color: #f4f4f4"],
body.ba-contrast-theme.ba-dark-theme div[style*="background-color:#f4f4f4"] {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* ========================================================
   6. PIE DE PÁGINA EN ALTO CONTRASTE (SOLO O COMBINADO)
   ======================================================== */
body.ba-contrast-theme #footer-outer,
body.ba-contrast-theme #footer-outer #copyright,
body.ba-contrast-theme #footer-outer .container,
body.ba-contrast-theme #footer-outer .row {
    background-color: #000000 !important;
    background: #000000 !important;
}

body.ba-contrast-theme #footer-outer #copyright *,
body.ba-contrast-theme #footer-outer #copyright p,
body.ba-contrast-theme #footer-outer #copyright h4,
body.ba-contrast-theme #footer-outer #copyright a,
body.ba-contrast-theme #footer-outer #copyright a:not(.nectar-button),
body.ba-contrast-theme #footer-outer #copyright i,
body.ba-contrast-theme #footer-outer #copyright span,
body.ba-contrast-theme #footer-outer #copyright li a,
body.ba-contrast-theme #footer-outer #copyright li a i,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a i,
body.ba-contrast-theme #footer-outer #copyright .social a,
body.ba-contrast-theme #footer-outer #copyright .social a i,
body.ba-contrast-theme #footer-outer .social li a,
body.ba-contrast-theme #footer-outer .social li a i,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright .social a,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright .social a i,
body.ba-contrast-theme #footer-outer #copyright .widget_archive h4 {
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    text-decoration: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

body.ba-contrast-theme #footer-outer #copyright i::before,
body.ba-contrast-theme #footer-outer #copyright li a i::before,
body.ba-contrast-theme #footer-outer #copyright .social a i::before,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a i::before {
    color: #ffff00 !important;
}

body.ba-contrast-theme #footer-outer #copyright .social a i,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a i {
    background-color: transparent !important;
    border: 2px solid #ffff00 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.ba-contrast-theme #footer-outer #copyright li a i::after,
body.ba-contrast-theme #footer-outer #copyright .social a i::after,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a i::after,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright a i::after {
    border-color: #ffff00 !important;
}

body.ba-contrast-theme #footer-outer #copyright .social a:hover i,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a:hover i {
    color: #000000 !important;
    background-color: #ffff00 !important;
    border-color: #ffff00 !important;
}

body.ba-contrast-theme #footer-outer #copyright .social a:hover i::before,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a:hover i::before {
    color: #000000 !important;
}

body.ba-contrast-theme #footer-outer #copyright li a:hover i::after,
body.ba-contrast-theme #footer-outer #copyright .social a:hover i::after,
body.ba-contrast-theme #footer-outer[data-cols="1"] #copyright li a:hover i::after {
    border-color: #ffff00 !important;
    background-color: #ffff00 !important;
}