/*
 * Marcos Otero · Header Nuevo · compacto 1.3.0
 * Todos los selectores se limitan a #moh26-header.
 * Sin .header, .navbar, .container, .stricky, .menu-item o .sub-menu.
 * No modifica body, html, el pie de página ni el editor de WordPress.
 */
#moh26-header {
    --moh26-green: #367c2c;
    --moh26-green-dark: #24551e;
    --moh26-ink: #202920;
    --moh26-muted: #5b655b;
    --moh26-line: #e3e9e2;
    --moh26-soft: #f4f7f3;
    --moh26-sticky-top: 0px;
    --moh26-sticky-left: 0px;
    --moh26-sticky-width: 100%;
    position: relative;
    inset: auto;
    z-index: 50;
    isolation: isolate;
    overflow-anchor: none;
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--moh26-ink);
    box-shadow: none;
    transform: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
}
#moh26-header,
#moh26-header *,
#moh26-header *::before,
#moh26-header *::after {
    box-sizing: border-box;
}
#moh26-header::before,
#moh26-header::after,
#moh26-header a::before,
#moh26-header a::after,
#moh26-header button::before,
#moh26-header button::after,
#moh26-header li::before,
#moh26-header li::after {
    content: none;
}
#moh26-header [hidden] {
    display: none !important;
}
#moh26-header p,
#moh26-header ul,
#moh26-header li,
#moh26-header form {
    margin: 0;
    padding: 0;
}
#moh26-header ul,
#moh26-header li {
    list-style: none;
}
#moh26-header a {
    color: inherit;
    font: inherit;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    border: 0;
    background: none;
    box-shadow: none;
    transition: color .15s ease, background-color .15s ease;
}
#moh26-header button,
#moh26-header input {
    appearance: none;
    -webkit-appearance: none;
    float: none;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    box-shadow: none;
    font: inherit;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
}
#moh26-header button {
    cursor: pointer;
}
#moh26-header a:focus,
#moh26-header button:focus,
#moh26-header input:focus {
    outline: 2px solid var(--moh26-green);
    outline-offset: 4px;
}
#moh26-header a:focus:not(:focus-visible),
#moh26-header button:focus:not(:focus-visible) {
    outline: none;
}
#moh26-header .moh26-shell {
    display: block;
    width: calc(100% - 48px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    border: 0;
}
#moh26-header .moh26-icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    max-width: none;
    overflow: visible;
    vertical-align: middle;
}
#moh26-header .moh26-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    padding: 0;
    border: 0;
}

/* 1. Logotipo, información central y financiación. */
#moh26-header .moh26-masthead {
    display: grid;
    grid-template-columns: minmax(160px, 205px) minmax(0, 1fr) minmax(200px, 275px);
    grid-template-areas: "brand info funding";
    align-items: center;
    gap: 24px;
    min-height: 108px;
    padding: 12px 0;
}
#moh26-header .moh26-brand {
    grid-area: brand;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 205px;
    margin: 0;
    padding: 0;
}
#moh26-header .moh26-brand-img {
    display: block;
    width: 100%;
    max-width: 205px;
    height: auto;
    max-height: 82px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: left center;
    box-shadow: none;
}
#moh26-header .moh26-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    text-align: center;
}
/* Contacto y redes comparten una fila siempre que hay espacio. */
#moh26-header .moh26-contactline {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    min-width: 0;
}
#moh26-header .moh26-details,
#moh26-header .moh26-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    min-width: 0;
}
#moh26-header .moh26-detail,
#moh26-header .moh26-phone,
#moh26-header .moh26-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    color: var(--moh26-muted);
    font-size: 13px;
    line-height: 1.5;
}
#moh26-header .moh26-detail > span,
#moh26-header .moh26-email > span {
    min-width: 0;
    overflow-wrap: anywhere;
}
#moh26-header .moh26-details .moh26-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    color: var(--moh26-green);
}
#moh26-header .moh26-contact {
    margin: 0;
}
#moh26-header .moh26-phone {
    color: var(--moh26-green-dark);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
#moh26-header .moh26-email {
    color: var(--moh26-ink);
    font-size: 14px;
}
#moh26-header .moh26-contact .moh26-icon {
    color: var(--moh26-green);
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}
#moh26-header .moh26-contact a:hover {
    color: var(--moh26-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}
#moh26-header .moh26-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
#moh26-header .moh26-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: 1px solid var(--moh26-line);
    border-radius: 50%;
    color: var(--moh26-green-dark);
    background: #fff;
}
#moh26-header .moh26-social .moh26-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}
#moh26-header .moh26-social--labelled {
    width: auto;
    height: auto;
    min-height: 36px;
    border-radius: 18px;
    padding: 6px 12px;
    gap: 6px;
    font-size: 12px;
}
#moh26-header .moh26-social:hover {
    background: var(--moh26-green);
    border-color: var(--moh26-green);
    color: #fff;
}
#moh26-header .moh26-funding {
    grid-area: funding;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid var(--moh26-line);
}
#moh26-header .moh26-funding-link {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 275px;
    border-radius: 3px;
}
#moh26-header .moh26-funding-img {
    display: block;
    width: 100%;
    max-width: 275px;
    height: auto;
    max-height: 92px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    object-position: right center;
    box-shadow: none;
}

/* 2. Menú inferior. El JS fija SOLO esta fila y reserva su espacio. */
#moh26-header .moh26-nav-anchor {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-anchor: none;
}
#moh26-header .moh26-navband.moh26-navband--fixed {
    position: fixed;
    top: var(--moh26-sticky-top);
    right: auto;
    bottom: auto;
    left: var(--moh26-sticky-left);
    z-index: 100;
    width: var(--moh26-sticky-width);
    margin: 0;
    box-shadow: 0 3px 12px rgba(27, 46, 25, .12);
}
#moh26-header .moh26-navband {
    position: relative;
    display: block;
    width: 100%;
    border-top: 1px solid var(--moh26-line);
    border-bottom: 1px solid var(--moh26-line);
    background: #fff;
}
#moh26-header .moh26-nav {
    position: relative;
}
#moh26-header .moh26-navrow {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 54px;
}
#moh26-header .moh26-menu-panel {
    flex: 1 1 auto;
    min-width: 0;
}
#moh26-header .moh26-menu {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 10px;
    width: 100%;
}
#moh26-header .moh26-item {
    position: relative;
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}
#moh26-header .moh26-item-row {
    display: flex;
    align-items: center;
    min-width: 0;
}
#moh26-header .moh26-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 13px;
    color: var(--moh26-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    overflow-wrap: anywhere;
}
#moh26-header .moh26-item--parent > .moh26-item-row > .moh26-link {
    padding-right: 4px;
}
#moh26-header .moh26-item-row:hover > .moh26-link,
#moh26-header .moh26-link:focus-visible {
    color: var(--moh26-green);
}
#moh26-header .moh26-menu > .moh26-item--active > .moh26-item-row {
    box-shadow: inset 0 -3px 0 var(--moh26-green);
}
#moh26-header .moh26-item--active > .moh26-item-row > .moh26-link {
    color: var(--moh26-green-dark);
}
#moh26-header .moh26-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 40px;
    padding: 8px;
    border-radius: 5px;
    color: var(--moh26-muted);
}
#moh26-header .moh26-subtoggle .moh26-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    transition: transform .15s ease;
}
#moh26-header .moh26-subtoggle[aria-expanded="true"] .moh26-icon {
    transform: rotate(180deg);
}
#moh26-header .moh26-subtoggle:hover {
    background: var(--moh26-soft);
    color: var(--moh26-green);
}
#moh26-header .moh26-submenu {
    display: block;
    position: static;
    min-width: 0;
    width: auto;
    padding: 6px;
    border: 1px solid var(--moh26-line);
    border-radius: 0 0 8px 8px;
    background: #fff;
}
#moh26-header.moh26-ready .moh26-menu > .moh26-item > .moh26-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    width: 280px;
    max-width: calc(100vw - 48px);
    max-height: min(70vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 3px solid var(--moh26-green);
    box-shadow: 0 12px 30px rgba(27, 46, 25, .12);
}
#moh26-header.moh26-ready .moh26-menu > .moh26-item > .moh26-submenu.moh26-submenu--right {
    left: auto;
    right: 0;
}
#moh26-header .moh26-submenu .moh26-link {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}
#moh26-header .moh26-submenu .moh26-item-row:hover {
    border-radius: 4px;
    background: var(--moh26-soft);
}
#moh26-header .moh26-submenu .moh26-submenu {
    position: static;
    width: auto;
    margin: 0 8px 6px 16px;
    padding: 0 0 0 4px;
    border: 0;
    border-left: 2px solid var(--moh26-line);
    border-radius: 0;
    box-shadow: none;
}
#moh26-header .moh26-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 12px;
    gap: 9px;
    border: 1px solid var(--moh26-line);
    border-radius: 6px;
    color: var(--moh26-ink);
    font-size: 15px;
    font-weight: 600;
}
#moh26-header .moh26-menu-toggle:hover {
    background: var(--moh26-soft);
}
#moh26-header .moh26-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 12px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--moh26-green);
    color: #fff;
}
#moh26-header .moh26-search-toggle:hover,
#moh26-header .moh26-search-submit:hover {
    background: var(--moh26-green-dark);
}
#moh26-header .moh26-when-open,
#moh26-header [aria-expanded="true"] > .moh26-when-closed {
    display: none;
}
#moh26-header [aria-expanded="true"] > .moh26-when-open {
    display: inline-flex;
}
#moh26-header .moh26-admin-note {
    padding: 12px;
    color: #6d4f16;
    font-size: 13px;
}

/* 3. Buscador propio; al abrirse desplaza el contenido, no lo tapa. */
#moh26-header .moh26-search-panel {
    padding: 16px 0;
    border-top: 1px solid var(--moh26-line);
    background: var(--moh26-soft);
}
#moh26-header .moh26-search-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
}
#moh26-header .moh26-search-input {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #bcc8b9;
    border-radius: 5px;
    background: #fff;
    color: var(--moh26-ink);
    font-size: 16px;
}
#moh26-header .moh26-search-input::placeholder {
    color: #647060;
    opacity: 1;
}
#moh26-header .moh26-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 10px 16px;
    gap: 8px;
    border-radius: 5px;
    background: var(--moh26-green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* 4. Adaptación a pantalla; mismos puntos de corte que header.js. */
@media (max-width: 1150px) {
    #moh26-header .moh26-masthead {
        grid-template-columns: minmax(145px, 180px) minmax(0, 1fr) minmax(190px, 235px);
        gap: 20px;
    }
    #moh26-header .moh26-funding {
        padding-left: 14px;
    }
    #moh26-header .moh26-menu {
        gap: 0 3px;
    }
    #moh26-header .moh26-link {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }
}
@media (max-width: 959px) {
    #moh26-header .moh26-masthead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "brand funding" "info info";
        gap: 10px 24px;
        min-height: 0;
        padding: 14px 0;
    }
    #moh26-header .moh26-brand {
        max-width: 185px;
    }
    #moh26-header .moh26-funding {
        justify-self: end;
        width: 100%;
        max-width: 245px;
        border: 0;
        padding: 0;
    }
    #moh26-header .moh26-navrow {
        flex-wrap: wrap;
        gap: 0;
        min-height: 54px;
        padding: 5px 0;
    }
    /* Los menús largos siguen siendo accesibles con desplazamiento interno. */
    #moh26-header .moh26-navband.moh26-navband--fixed {
        max-height: calc(100vh - var(--moh26-sticky-top));
        max-height: calc(100dvh - var(--moh26-sticky-top));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    #moh26-header .moh26-menu-toggle {
        order: 1;
    }
    #moh26-header .moh26-search-toggle {
        order: 2;
    }
    #moh26-header .moh26-menu-panel {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }
    #moh26-header .moh26-menu {
        display: block;
        padding: 10px 0 4px;
    }
    #moh26-header .moh26-menu > .moh26-item {
        border-top: 1px solid var(--moh26-line);
    }
    #moh26-header .moh26-link {
        padding: 12px 10px;
        font-size: 15px;
    }
    #moh26-header .moh26-menu > .moh26-item--active > .moh26-item-row {
        box-shadow: inset 3px 0 0 var(--moh26-green);
        background: var(--moh26-soft);
    }
    #moh26-header .moh26-subtoggle {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }
    #moh26-header.moh26-ready .moh26-menu > .moh26-item > .moh26-submenu,
    #moh26-header.moh26-ready .moh26-menu > .moh26-item > .moh26-submenu.moh26-submenu--right {
        position: static;
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: none;
        margin: 0 0 8px 12px;
        padding: 0 0 0 8px;
        overflow: visible;
        border: 0;
        border-left: 2px solid var(--moh26-line);
        border-radius: 0;
        box-shadow: none;
    }
    #moh26-header .moh26-search-form {
        max-width: none;
    }
}
@media (max-width: 600px) {
    #moh26-header .moh26-shell {
        width: calc(100% - 32px);
    }
    #moh26-header .moh26-masthead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 10px 16px;
        padding: 12px 0;
    }
    #moh26-header .moh26-brand {
        max-width: 165px;
    }
    #moh26-header .moh26-funding {
        max-width: 200px;
    }
    #moh26-header .moh26-details,
    #moh26-header .moh26-contact {
        flex-direction: row;
        gap: 4px 12px;
    }
    #moh26-header .moh26-detail {
        font-size: 13px;
    }
    #moh26-header .moh26-email {
        font-size: 13px;
    }
    #moh26-header .moh26-contactline {
        gap: 6px 10px;
    }
    #moh26-header .moh26-search-submit {
        padding-right: 12px;
        padding-left: 12px;
    }
    #moh26-header .moh26-search-submit .moh26-icon {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    #moh26-header *,
    #moh26-header *::before,
    #moh26-header *::after {
        transition: none;
        animation: none;
    }
}

/* Al imprimir no se repite la barra fija en cada página. */
@media print {
    #moh26-header .moh26-nav-anchor {
        height: auto !important;
    }
    #moh26-header .moh26-navband.moh26-navband--fixed {
        position: static;
        inset: auto;
        width: 100%;
        max-height: none;
        overflow: visible;
        box-shadow: none;
    }
}


/* ==========================================================
   MOH26 · Cabecera más baja · ajuste 1.3.0
   Ajustes de densidad incluidos en este archivo completo.
   No cambia el posicionamiento fijo, los submenús ni el enlace UE.
   ========================================================== */

#moh26-header {
    --moh26-density-version: 1.3;
}

/* Logos más contenidos y sin una altura mínima innecesaria. */
#moh26-header .moh26-masthead {
    grid-template-columns: 180px minmax(0, 1fr) 240px;
    grid-template-areas: "brand info funding";
    gap: 16px;
    min-height: 0;
    padding: 8px 0;
}

#moh26-header .moh26-brand,
#moh26-header .moh26-brand-img {
    max-width: 180px;
}

#moh26-header .moh26-brand-img {
    height: auto;
    max-height: 62px;
}

/* Se oculta también si aún existe en una plantilla anterior. */
#moh26-header .moh26-tagline {
    display: none;
}

/* Dos líneas de datos y redes a su lado, no en una tercera fila. */
#moh26-header .moh26-info {
    display: grid;
    grid-template-columns: minmax(0, max-content) auto;
    justify-content: center;
    grid-template-areas: "details socials" "contact socials";
    align-items: center;
    gap: 4px 10px;
    justify-self: center;
    width: 100%;
    max-width: 590px;
    min-width: 0;
}

#moh26-header .moh26-contactline {
    display: contents;
}

#moh26-header .moh26-details {
    grid-area: details;
}

#moh26-header .moh26-contact {
    grid-area: contact;
}

#moh26-header .moh26-details,
#moh26-header .moh26-contact {
    flex-direction: row;
    gap: 3px 12px;
    margin: 0;
}

#moh26-header .moh26-detail {
    font-size: 12px;
    line-height: 18px;
}

#moh26-header .moh26-phone {
    font-size: 14px;
    line-height: 22px;
}

#moh26-header .moh26-email {
    font-size: 13px;
    line-height: 20px;
}

#moh26-header .moh26-socials {
    grid-area: socials;
    gap: 4px;
    margin: 0;
    max-width: 110px;
    justify-self: center;
}

#moh26-header .moh26-social {
    width: 30px;
    height: 30px;
    padding: 6px;
}

#moh26-header .moh26-social--labelled {
    width: auto;
    height: auto;
    min-height: 30px;
    padding: 4px 8px;
}

/*
 * El JPEG de la UE tiene margen vacío arriba y abajo.
 * Este marco reduce SOLO ese margen: bandera y texto completos.
 * No cambia el archivo de imagen ni su enlace.
 */
#moh26-header .moh26-funding {
    width: 100%;
    max-width: 240px;
    padding-left: 12px;
}

#moh26-header .moh26-funding-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 240px;
    height: 68px;
    overflow: hidden;
}

#moh26-header .moh26-funding-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: none;
}

/* Barra inferior de unos 46px, sin modificar el mecanismo fijo. */
#moh26-header .moh26-navrow {
    min-height: 44px;
    padding: 0;
    column-gap: 12px;
}

#moh26-header .moh26-menu {
    column-gap: 4px;
}

#moh26-header .moh26-menu > .moh26-item > .moh26-item-row > .moh26-link {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 24px;
}

#moh26-header .moh26-menu > .moh26-item--parent > .moh26-item-row > .moh26-link {
    padding-right: 4px;
}

#moh26-header .moh26-search-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    padding: 8px;
}

@media (min-width: 960px) and (max-width: 1150px) {
    #moh26-header .moh26-masthead {
        grid-template-columns: 160px minmax(0, 1fr) 220px;
        gap: 12px;
    }
}

/* Tablet: los dos logos juntos y los datos debajo. */
@media (max-width: 959px) {
    #moh26-header .moh26-masthead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "brand funding" "info info";
        gap: 6px 16px;
        padding: 6px 0;
    }

    #moh26-header .moh26-brand,
    #moh26-header .moh26-brand-img {
        max-width: 155px;
    }

    #moh26-header .moh26-brand-img {
        max-height: 52px;
    }

    #moh26-header .moh26-funding {
        max-width: 210px;
        padding: 0;
    }

    #moh26-header .moh26-funding-link {
        height: 56px;
    }

    #moh26-header .moh26-navrow {
        min-height: 46px;
        padding: 1px 0;
        column-gap: 0;
    }

    /* Se conservan 44px para los botones táctiles principales. */
    #moh26-header .moh26-menu-toggle {
        min-height: 44px;
        padding: 6px 10px;
    }

    #moh26-header .moh26-search-toggle {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        padding: 12px;
    }
}

/* Móvil: no se ocultan ni el horario, ni la dirección, ni la UE. */
@media (max-width: 600px) {
    #moh26-header .moh26-shell {
        width: calc(100% - 24px);
    }

    #moh26-header .moh26-masthead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
        gap: 5px 12px;
    }

    #moh26-header .moh26-brand,
    #moh26-header .moh26-brand-img {
        max-width: 145px;
    }

    #moh26-header .moh26-brand-img {
        max-height: 48px;
    }

    #moh26-header .moh26-funding {
        max-width: 185px;
    }

    #moh26-header .moh26-funding-link {
        height: 50px;
    }

    #moh26-header .moh26-info {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "details details" "contact socials";
        gap: 2px 8px;
    }

    #moh26-header .moh26-details,
    #moh26-header .moh26-contact {
        gap: 2px 8px;
    }

    #moh26-header .moh26-socials {
        max-width: 70px;
    }
}


/* ==========================================================
   MOH26 · Contacto uniforme y lupa sin fondo
   Añadir al FINAL de header.css.
   ========================================================== */

/* Dirección, horario, teléfono y correo: mismo estilo. */
#moh26-header .moh26-detail,
#moh26-header .moh26-phone,
#moh26-header .moh26-email {
    color: #616161;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

/* Iconos de los datos de contacto, también en gris. */
#moh26-header .moh26-details .moh26-icon,
#moh26-header .moh26-contact .moh26-icon {
    color: #616161;
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

/* Al pasar el ratón se subraya, sin cambiar a verde. */
#moh26-header .moh26-contact a:hover,
#moh26-header .moh26-contact a:focus-visible {
    color: #616161;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Redes sociales: icono gris y borde discreto. */
#moh26-header .moh26-social {
    color: #616161;
    background: transparent;
    border-color: #dedede;
}

#moh26-header .moh26-social:hover,
#moh26-header .moh26-social:focus-visible {
    color: #616161;
    background: transparent;
    border-color: #999999;
}

/* Mantiene el indicador de foco para navegar con teclado. */
#moh26-header .moh26-info a:focus {
    outline-color: #616161;
}

/* Lupa negra y sin fondo, incluso al abrir el buscador. */
#moh26-header .moh26-search-toggle,
#moh26-header .moh26-search-toggle:hover,
#moh26-header .moh26-search-toggle:focus,
#moh26-header .moh26-search-toggle:active,
#moh26-header .moh26-search-toggle[aria-expanded="true"] {
    color: #111111;
    background: transparent;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
}

#moh26-header .moh26-search-toggle .moh26-icon {
    color: inherit;
}

#moh26-header .moh26-search-toggle:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}