.logo_footer,
.logo_toplogo {
    max-width: 95%;
}

a.logo {
    padding: 5px 0 5px 0;
}

/* Menú principal - estado activo más visible y consistente con el tema */
.theme_header .sf-menu > li.active > a {
    color: #ffffff !important;
    font-weight: 700 !important;
    border-bottom: 3px solid rgba(255, 255, 255, 0.95) !important;
    padding-bottom: 21px !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.theme_header .sf-menu > li > a:hover {
    color: #ffffff !important;
    font-weight: 700 !important;
    border-bottom: 3px solid rgba(255, 255, 255, 0.65) !important;
    padding-bottom: 21px !important;
}

/* Submenú activo también más visible */
.theme_header .sf-menu > li > ul > li.active > a {
    color: #000000 !important;
    font-weight: 700 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Evita foco negro ilegible en botones color1 y mantiene una señal clara de enfoque */
.theme_button.color1:focus,
.theme_button.color1:focus-visible,
.theme_button.color1:active {
    background-color: #fcca03 !important;
    color: #333333 !important;
    text-decoration: none;
}

.theme_button.color1:focus,
.theme_button.color1:focus-visible {
    outline: 2px solid #333333;
    outline-offset: 2px;
}
