.elementor-253502 .elementor-element.elementor-element-e4b803b > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-253502 .elementor-element.elementor-element-e4b803b .elementor-wrapper{--video-aspect-ratio:2.33333;}body.elementor-page-253502:not(.elementor-motion-effects-element-type-background), body.elementor-page-253502 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F8FC;}:root{--page-title-display:none;}/* Start custom CSS *//* =========================================
   BOSTON MEDICAL
   FORMULARIO DE CONTRASEÑA WORDPRESS
   ========================================= */

/* Contenedor principal */
.post-password-form {
    width: calc(100% - 40px);
    max-width: 600px;
    margin: 60px auto !important;
    padding: 50px 55px;
    background: #F4F8FD;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================
   LOGO BOSTON MEDICAL
   ========================================= */

.post-password-form::before {
    content: "";
    display: block;
    width: 270px;
    max-width: 100%;
    height: 65px;
    flex-shrink: 0;
    margin: 0 auto 30px;

    background-image: url("https://bostonmedical.com.mx/wp-content/uploads/2023/12/Logo_BM.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* =========================================
   TEXTOS
   ========================================= */

.post-password-form p {
    width: 100%;
    margin: 0;
    padding: 0;
}

.post-password-form > p:first-child {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #25364A;
    margin-bottom: 30px;
}

/* =========================================
   CAMPO Y BOTÓN
   ========================================= */

.post-password-form > p:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

.post-password-form label {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    color: #25364A;
    margin: 0;
    padding: 0;
}

/* Campo contraseña */
.post-password-form input[type="password"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    margin: 10px 0 0 !important;
    padding: 0 16px !important;

    background: #FFFFFF !important;
    color: #25364A !important;
    border: 1px solid #D5DFEA !important;
    border-radius: 8px !important;

    font-size: 16px;
    line-height: normal;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none;
}

.post-password-form input[type="password"]:focus {
    border-color: #5798E8 !important;
    box-shadow: 0 0 0 3px rgba(87, 152, 232, 0.12) !important;
}

/* Botón Entrar */
.post-password-form input[type="submit"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;

    background: #5798E8 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;

    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box !important;
    transition: background 0.2s ease;
}

.post-password-form input[type="submit"]:hover {
    background: #397CCF !important;
    color: #FFFFFF !important;
}

/* =========================================
   RESPONSIVE FORMULARIO
   ========================================= */

@media (max-width: 767px) {

    .post-password-form {
        width: calc(100% - 30px);
        max-width: 100%;
        margin: 35px auto !important;
        padding: 35px 22px;
        border-radius: 16px;
    }

    .post-password-form::before {
        width: 220px;
        height: 55px;
        margin-bottom: 25px;
    }

    .post-password-form > p:first-child {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .post-password-form label {
        font-size: 14px;
    }

    .post-password-form input[type="password"],
    .post-password-form input[type="submit"] {
        width: 100% !important;
        height: 50px !important;
    }

} /* CIERRE CORRECTO DEL MEDIA QUERY */


/* =========================================
   BOSTON MEDICAL MX
   PÁGINA AUTOAPLICACIÓN
   CORRECCIÓN LOGO + VIDEO
   ========================================= */

/* Contenedor principal Elementor */
body.page-id-253502 .elementor-element-58b7084 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
    gap: 30px;
}

/* Logo */
body.page-id-253502
.elementor-element-58b7084
.elementor-widget-image {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

body.page-id-253502
.elementor-element-58b7084
.elementor-widget-image img {
    display: block;
    width: 260px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* Video */
body.page-id-253502
.elementor-element-58b7084
.elementor-widget-video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}



/* =========================================
   VIDEO AUTOAPLICACIÓN - BOSTON MEDICAL
   ========================================= */

/* Contenedor del video */
body.page-id-253502
.elementor-element-58b7084
.elementor-widget-video {
    width: 100% !important;
    max-width: 1070px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
}

/* Proporción original del video */
body.page-id-253502
.elementor-element-58b7084
.elementor-widget-video .elementor-wrapper {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    overflow: hidden;
}

/* Video completo y controles visibles */
body.page-id-253502
.elementor-element-58b7084
.elementor-widget-video video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Adaptación móvil */
@media (max-width: 767px) {
    body.page-id-253502
    .elementor-element-58b7084
    .elementor-widget-video {
        max-width: 100% !important;
    }
}

/* =========================================
   RESPONSIVE PÁGINA AUTOAPLICACIÓN
   ========================================= */

@media (max-width: 767px) {

    body.page-id-253502
    .elementor-element-58b7084 {
        gap: 20px;
        padding: 20px 15px;
    }

    body.page-id-253502
    .elementor-element-58b7084
    .elementor-widget-image img {
        width: 210px !important;
    }

}/* End custom CSS */