
/* =====================================
   STEMON MÉXICO - ESTILOS GENERALES
===================================== */

/* Encabezado */
.site-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */
.site-branding img {
    max-height: 110px;
    width: auto;
}


/* =====================================
   CARRUSEL SLIDEVERSE
===================================== */

/* Tamaño del carrusel en computadora */
@media (min-width: 1024px) {

    .stemon-slider {
        width: 90% !important;
        max-width: 1600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

/* Tamaño del carrusel en celulares */
@media (max-width: 1023px) {

    .stemon-slider {
        width: 96% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}



/* =====================================
   STEMON - FONDOS A PANTALLA COMPLETA
===================================== */

@media (min-width: 1024px) {

    /* Grupos con fondo de color */
    body.page .entry-content > .wp-block-group.has-background {
        width: 100vw !important;
        max-width: none !important;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Mantener el contenido interior centrado */
    body.page .entry-content > .wp-block-group.has-background
    > .wp-block-group__inner-container {
        width: 90%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* Slider STEMON: ancho amplio */
@media (min-width: 1024px) {
    .stemon-slider {
        width: 76vw !important;
        max-width: 1600px !important;
        margin-left: calc(50% - 38vw) !important;
        margin-right: 0 !important;
    }
}



/* =====================================
   STEMON - HEADER COMPACTO Y FIJO
===================================== */

/* Encabezado fijo */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: #ffffff;
    padding-top: 5px !important;
    padding-bottom: -5px !important;
}

/* Logo más pequeño */
.site-branding img {
    max-height: 9	5px !important;
    width: auto !important;
}

/* Reducir separación del menú */
.main-navigation {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Reducir el espacio blanco del encabezado */
.site-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Reducir espacio alrededor del logo */
.site-branding {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Tamaño del logo */
.site-branding img {
    max-height: 75px !important;
    width: auto !important;
}

/* Reducir separación del menú azul */
.main-navigation {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



/* =====================================
   STEMON - PORTADA MÓVIL
===================================== */

@media (max-width: 767px) {

    /* Altura de la portada */
    .cover-home.wp-block-cover {
        height: 250px !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Imagen con zoom */
    .cover-home .wp-block-cover__image-background {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: scale(1) !important;
    }

}






