.elementor-4596 .elementor-element.elementor-element-ce1efe3{--display:flex;}#elementor-popup-modal-4596{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-4596 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-4596 .dialog-close-button{display:flex;}#elementor-popup-modal-4596 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for html, class: .elementor-element-107ab4d *//* =========================================================
   POPUP AVISO DE CIERRE – COMPACTO (MENOS ALTO, MENOS SCROLL)
   Scope: Popup ID 4596
   ========================================================= */

/* Wrappers: sin padding y sin overflow lateral */
#elementor-popup-modal-4596,
#elementor-popup-modal-4596 .dialog-widget,
#elementor-popup-modal-4596 .dialog-widget-content,
#elementor-popup-modal-4596 .dialog-message{
  overflow-x: hidden !important;
  max-width: 100% !important;
}

#elementor-popup-modal-4596 .dialog-widget-content,
#elementor-popup-modal-4596 .dialog-message{
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
}

/* Box sizing */
#elementor-popup-modal-4596 .epc-popup,
#elementor-popup-modal-4596 .epc-popup *{
  box-sizing: border-box;
  max-width: 100%;
}

/* Contenedor principal: un poco más angosto */
#elementor-popup-modal-4596 .epc-popup{
  width: 860px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  overflow: hidden;
}

/* Banner superior: más bajo */
#elementor-popup-modal-4596 .epc-popup__hero{
  height: 170px; /* antes 260 */
  background-image: url("https://espaciospucvsantiago.cl/wp-content/uploads/2024/03/WEB-V2.1-V2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Cuerpo: menos padding */
#elementor-popup-modal-4596 .epc-popup__body{
  padding: 26px 44px 24px; /* antes 42 64 36 */
  text-align: center;
  width: 100%;
}

/* Foto interior: limitar altura y recortar */
#elementor-popup-modal-4596 .epc-popup__photo{
  display: block;
  width: 100%;
  height: 170px;           /* clave */
  object-fit: cover;       /* recorta sin deformar */
  object-position: center;
  margin: 0 auto 18px;     /* menos margen */
}

/* Tipografías más compactas */
#elementor-popup-modal-4596 .epc-popup__title{
  margin: 0 0 12px;
  font-size: 26px;         /* antes 32 */
  font-weight: 800;
  line-height: 1.15;
  color: #1e6fa8;
}

#elementor-popup-modal-4596 .epc-popup__text{
  max-width: 720px;
  margin: 0 auto 16px;     /* menos */
  font-size: 16.5px;       /* antes 19 */
  line-height: 1.45;
  color: #2a79b2;
}

/* Banda: menos padding y font */
#elementor-popup-modal-4596 .epc-popup__bar{
  width: 100%;
  margin: 12px auto 16px;
  padding: 12px 14px;
  background: #8c4a4a;
  color: #fff;
  font-size: 16.5px;       /* antes 19 */
  font-weight: 800;
}

/* Gracias */
#elementor-popup-modal-4596 .epc-popup__thanks{
  margin: 6px 0 12px;
  font-size: 24px;         /* antes 30 */
  font-weight: 800;
  color: #1e6fa8;
}

/* Logo más pequeño */
#elementor-popup-modal-4596 .epc-popup__logo{
  display: block;
  height: 44px;            /* antes 56 */
  width: auto;
  max-width: 100%;
}

/* X blanca */
#elementor-popup-modal-4596 .dialog-close-button{
  color: #fff !important;
  opacity: .95;
}
#elementor-popup-modal-4596 .dialog-close-button:hover{
  opacity: 1;
}

/* Mobile: aún más compacto */
@media (max-width: 767px){
  #elementor-popup-modal-4596 .epc-popup{ max-width: calc(100vw - 18px); }
  #elementor-popup-modal-4596 .epc-popup__hero{ height: 120px; }
  #elementor-popup-modal-4596 .epc-popup__body{ padding: 18px 14px 16px; }
  #elementor-popup-modal-4596 .epc-popup__photo{ height: 130px; margin-bottom: 12px; }
  #elementor-popup-modal-4596 .epc-popup__title{ font-size: 21px; }
  #elementor-popup-modal-4596 .epc-popup__text{ font-size: 15.5px; }
  #elementor-popup-modal-4596 .epc-popup__bar{ font-size: 15.5px; }
  #elementor-popup-modal-4596 .epc-popup__thanks{ font-size: 20px; }
  #elementor-popup-modal-4596 .epc-popup__logo{ height: 38px; }
}

/* Color botón cerrar (X) */
#elementor-popup-modal-4596 .dialog-close-button{
  color: #1f70a8 !important;
}

#elementor-popup-modal-4596 .dialog-close-button svg{
  fill: #1f70a8 !important;
}

/* Centrado vertical y horizontal del logo */
#elementor-popup-modal-4596 .epc-popup__logos{
  display: flex;
  align-items: center;   /* CENTRADO vertical */
  justify-content: center;
  min-height: 70px;      /* asegura aire vertical */
}/* End custom CSS */