/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 07 2026 | 04:42:44 */
/*====================================
MODAL PROCEDIMIENTOS
======================================*/
.uagb-swiper {
    position: relative;
    padding-bottom: 30px; /* deja espacio para que se vean los dots */
}

.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.swiper-pagination-bullet {
    background: #CCB79F !important; /* cambia este color al que combine con tu diseño */
    opacity: 0.5;
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
    display: inline-block;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #CCB79F !important; /* mismo color, pero completamente sólido cuando está activo */
}

.swiper-pagination-bullet:focus {
    outline: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #CCB79F !important; /* cambia esto al color que quieras */
	background: none !important;
	width: 0 !important;
}

.swiper-button-next,
.swiper-button-prev:focus {
    outline: none !important;
}

/*
#popmake-2295 .swiper-button-prev {
    left: 0 !important;
    right: auto !important;
}

#popmake-2295 .swiper-button-next {
    right: 0 !important;
    left: auto !important;
}*/

.swiper-button-next:after, 
.swiper-button-prev:after{
	font-size: 30px !important;
}

#popmake-2295 .wp-block-columns {
    gap: 0px !important;
}

/* El modal se ajusta al viewport, sin overflow visible */
#popmake-2295.pum-container {
  width: min(800px, 92vw) !important;
  max-height: 92vh !important;
  height: auto !important;
  top: 4vh !important;
  overflow: hidden !important;
}

#popmake-2295 .pum-content {
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* La imagen escala según la altura de pantalla, manteniendo su proporción real */
#popmake-2295 .wp-block-image img {
  height: 65vh;
  max-height: 620px;
  width: auto;
  max-width: 100%;
}

/* En pantallas bajas (laptops pequeñas, landscape en móvil) reduce aún más */
@media (max-height: 700px) {
  #popmake-2295 .wp-block-image img {
    height: 80vh;
  }
  #popmake-2295 h3 {
    font-size: clamp(14px, 1.5vw, 20px) !important;
  }
  #popmake-2295 p {
    font-size: clamp(12px, 1.2vw, 14px) !important;
  }
}

* ===== SOLO popup #popmake-3039 ===== */
#popmake-3039 .uagb-slider-container {
    position: relative;
}
#popmake-3039 .swiper-button-prev,
#popmake-3039 .swiper-button-next {
    position: absolute !important;
    top: var(--arrow-top, 175px) !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    color: #A89067 !important;
}
#popmake-3039 .swiper-wrapper {
    min-height: var(--slider-max-height, auto) !important;
}

/* Dots debajo de la imagen: el JS controla el "top" via inline style */
#popmake-3039 .wp-block-uagb-slider .swiper-pagination {
  position: absolute !important;
  left: 0;
  width: 100%;
  z-index: 50;
  margin: 0;
  padding: 0;
  text-align: center;
  pointer-events: none;
}
#popmake-3039 .wp-block-uagb-slider .swiper-pagination-bullet {
  pointer-events: auto;
}

/*====================================
MODAL RESULTADOS
======================================*/

#popmake-2414{
	padding: 0;
}

#popmake-2414 .uagb-swiper {
    position: relative;
    padding-bottom: 0px;
}

#popmake-2414 .swiper-button-prev {
    left: 25px !important;
    right: auto !important;
}

#popmake-2414 .swiper-button-next {
    right: 25px !important;
    left: auto !important;
}

/*
html.pum-open.pum-open-overlay.pum-open-scrollable:has(#pum-2414.pum-active) body>:not([aria-modal=true]) {
    padding-right: 0 !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable:has(#pum-2414.pum-active) .pum-overlay.pum-active {
    overflow-y: hidden !important;
}*/

html.pum-open.pum-open-overlay.pum-open-scrollable:has(.pum-active) body>:not([aria-modal=true]) {
    padding-right: 0 !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable:has(.pum-active) .pum-overlay.pum-active {
    overflow-y: hidden !important;
}
