.elementor-3298 .elementor-element.elementor-element-73efe1e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0.5;--padding-top:14%;--padding-bottom:14%;--padding-left:14%;--padding-right:14%;}.elementor-3298 .elementor-element.elementor-element-73efe1e:not(.elementor-motion-effects-element-type-background), .elementor-3298 .elementor-element.elementor-element-73efe1e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://proyecta.com.pa/wp-content/uploads/2026/06/banner-milla-9-1.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-3298 .elementor-element.elementor-element-73efe1e::before, .elementor-3298 .elementor-element.elementor-element-73efe1e > .elementor-background-video-container::before, .elementor-3298 .elementor-element.elementor-element-73efe1e > .e-con-inner > .elementor-background-video-container::before, .elementor-3298 .elementor-element.elementor-element-73efe1e > .elementor-background-slideshow::before, .elementor-3298 .elementor-element.elementor-element-73efe1e > .e-con-inner > .elementor-background-slideshow::before, .elementor-3298 .elementor-element.elementor-element-73efe1e > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:#000000;--background-overlay:'';}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-3298 .elementor-element.elementor-element-38c5d51{text-align:center;}.elementor-3298 .elementor-element.elementor-element-38c5d51 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-weight:600;color:#FFFFFF;}.elementor-3298 .elementor-element.elementor-element-794e66c{--display:grid;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--gap:40px 40px;--row-gap:40px;--column-gap:40px;--grid-auto-flow:row;--padding-top:4%;--padding-bottom:6%;--padding-left:3%;--padding-right:3%;}.elementor-3298 .elementor-element.elementor-element-1eff42e{--display:flex;}.elementor-3298 .elementor-element.elementor-element-e75c0a0 .ekit-team-modal-close{right:10px;color:#656565;}.elementor-3298 .elementor-element.elementor-element-e75c0a0 .profile-body .profile-title{font-family:"Montserrat", Sans-serif;font-size:24px;}.elementor-3298 .elementor-element.elementor-element-e75c0a0 .profile-body .profile-designation{font-family:"Montserrat", Sans-serif;font-size:18px;}.elementor-3298 .elementor-element.elementor-element-e75c0a0 .ekit-team-modal-close svg{fill:#656565;}.team-popup-id-e75c0a0 .ekit-team-modal-close{color:#656565;}.team-popup-id-e75c0a0 .ekit-team-modal-close svg{fill:#656565;}.elementor-3298 .elementor-element.elementor-element-23a360b{text-align:start;}.elementor-3298 .elementor-element.elementor-element-23a360b .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:700;text-transform:uppercase;color:#636363;}.elementor-3298 .elementor-element.elementor-element-85a8e5c{--display:flex;}.elementor-3298 .elementor-element.elementor-element-f255d23 .ekit-team-modal-close{right:10px;color:#656565;}.elementor-3298 .elementor-element.elementor-element-f255d23 .profile-body .profile-title{font-family:"Montserrat", Sans-serif;font-size:24px;}.elementor-3298 .elementor-element.elementor-element-f255d23 .profile-body .profile-designation{font-family:"Montserrat", Sans-serif;font-size:18px;}.elementor-3298 .elementor-element.elementor-element-f255d23 .ekit-team-modal-close svg{fill:#656565;}.team-popup-id-f255d23 .ekit-team-modal-close{color:#656565;}.team-popup-id-f255d23 .ekit-team-modal-close svg{fill:#656565;}.elementor-3298 .elementor-element.elementor-element-95e2af6{text-align:start;}.elementor-3298 .elementor-element.elementor-element-95e2af6 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:700;text-transform:uppercase;color:#636363;}.elementor-3298 .elementor-element.elementor-element-86910fd{--display:flex;}.elementor-3298 .elementor-element.elementor-element-1963b06 .ekit-team-modal-close{right:10px;color:#656565;}.elementor-3298 .elementor-element.elementor-element-1963b06 .profile-body .profile-title{font-family:"Montserrat", Sans-serif;font-size:24px;}.elementor-3298 .elementor-element.elementor-element-1963b06 .profile-body .profile-designation{font-family:"Montserrat", Sans-serif;font-size:18px;}.elementor-3298 .elementor-element.elementor-element-1963b06 .ekit-team-modal-close svg{fill:#656565;}.team-popup-id-1963b06 .ekit-team-modal-close{color:#656565;}.team-popup-id-1963b06 .ekit-team-modal-close svg{fill:#656565;}.elementor-3298 .elementor-element.elementor-element-cdecf99{text-align:start;}.elementor-3298 .elementor-element.elementor-element-cdecf99 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:700;text-transform:uppercase;color:#636363;}.elementor-3298 .elementor-element.elementor-element-4820dbb{--display:flex;}.elementor-3298 .elementor-element.elementor-element-817647f .ekit-team-modal-close{right:10px;color:#656565;}.elementor-3298 .elementor-element.elementor-element-817647f .profile-body .profile-title{font-family:"Montserrat", Sans-serif;font-size:24px;}.elementor-3298 .elementor-element.elementor-element-817647f .profile-body .profile-designation{font-family:"Montserrat", Sans-serif;font-size:18px;}.elementor-3298 .elementor-element.elementor-element-817647f .ekit-team-modal-close svg{fill:#656565;}.team-popup-id-817647f .ekit-team-modal-close{color:#656565;}.team-popup-id-817647f .ekit-team-modal-close svg{fill:#656565;}.elementor-3298 .elementor-element.elementor-element-bed9c8f{text-align:start;}.elementor-3298 .elementor-element.elementor-element-bed9c8f .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:700;text-transform:uppercase;color:#636363;}@media(max-width:1024px){.elementor-3298 .elementor-element.elementor-element-794e66c{--grid-auto-flow:row;}}@media(min-width:1025px){.elementor-3298 .elementor-element.elementor-element-73efe1e:not(.elementor-motion-effects-element-type-background), .elementor-3298 .elementor-element.elementor-element-73efe1e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:fixed;}}@media(max-width:767px){.elementor-3298 .elementor-element.elementor-element-794e66c{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for container, class: .elementor-element-794e66c *//* =========================================
   1. BOTÓN DE CERRAR (X) - Ya funciona bien
   ========================================= */
.modal-content button.ekit-team-modal-close {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    padding: 10px !important;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 999;
}

.modal-content button.ekit-team-modal-close svg {
    width: 24px !important;
    height: 24px !important;
    fill: #333333 !important;
    transition: all 0.3s ease;
}

.hover-area .profile-content {
    padding-right: 20px;
        padding-left: 20px;
}

.modal-content button.ekit-team-modal-close:hover {
    background-color: transparent !important;
}

.modal-content button.ekit-team-modal-close:hover svg {
    opacity: 0.5 !important;
    transform: scale(1.1);
}

/* =========================================
   2. IMAGEN - CONSERVANDO ASPECT RATIO
   ========================================= */
.modal-content {
    max-width: 1000px !important;
}

.modal-body {
    display: flex !important;
    flex-direction: row !important;
}

/* Contenedor de la imagen */
.ekit-team-modal-img {
    flex: 0 0 45% !important;
    width: 45% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

/* La imagen - SIN forzar altura */
.ekit-team-modal-img img {
    width: 100% !important;
    height: auto !important; /* AUTO para mantener proporción */
    max-height: 600px !important; /* Límite máximo opcional */
    object-fit: contain !important; /* Contain en lugar de cover */
    position: relative !important;
}

/* Contenedor de texto */
.ekit-team-modal-info.has-img {
    flex: 0 0 55% !important;
    width: 55% !important;
    padding: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column !important;
    }
    
    .ekit-team-modal-img {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 20px !important;
    }
    
    .ekit-team-modal-img img {
        max-height: 400px !important;
    }
    
    .ekit-team-modal-info.has-img {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }
}

.image-grid .profile-image-card img{
    height: 400px !important;
    object-fit: cover;
}/* End custom CSS */