.elementor-28 .elementor-element.elementor-element-2d47b72{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-28 .elementor-element.elementor-element-2d47b72 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-28 .elementor-element.elementor-element-4491c56 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-28 .elementor-element.elementor-element-836f4a1{border-style:solid;border-width:0px 0px 1px 0px;border-color:#474646;padding:0px 0px 0px 0px;}.elementor-28 .elementor-element.elementor-element-8b7cb76 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-28 .elementor-element.elementor-element-1b1e996{border-style:solid;border-width:0px 0px 1px 0px;border-color:#474646;padding:0px 0px 0px 0px;}.elementor-28 .elementor-element.elementor-element-fba4211 > .elementor-element-populated{padding:0px 0px 0px 0px;}@media(max-width:1024px){.elementor-28 .elementor-element.elementor-element-2d47b72{margin-top:-70px;margin-bottom:0px;}}/* Start custom CSS for html, class: .elementor-element-994714c *//* ============================= */
/* CONTENEDOR BASE */
/* ============================= */

.gallery-fore .qodef-e.qodef-image-wrapper{
  position: relative !important;
  overflow: hidden;
}

/* ============================= */
/* DEGRADADO SUAVE INFERIOR */
/* ============================= */

.gallery-fore .qodef-e.qodef-image-wrapper::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0) 100%
  );
}

/* ============================= */
/* CAPTION BASE (SIEMPRE VISIBLE) */
/* ============================= */

.gallery-fore .custom-caption{
  position: absolute !important;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  color: #ffffff;
  font-size: clamp(15px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;

  text-shadow: 0 4px 20px rgba(0,0,0,0.6);

  transition: 
    color .3s ease,
    transform .3s ease;

  transform: scale(1);
  transform-origin: left bottom;

  pointer-events: none;
}

/* ============================= */
/* HOVER SOLO EN DESKTOP */
/* ============================= */

@media (hover: hover) and (pointer: fine){

  .gallery-fore .qodef-e.qodef-image-wrapper:hover .custom-caption{
    color: #f2d200;   /* amarillo */
    transform: scale(1.005); /* +0.5% */
  }

}
/* Ajuste específico para móvil */
@media (max-width: 768px){

  .gallery-fore .custom-caption{
    left: 40px;
    right: 18px;
    bottom: 18px;

    font-size: clamp(16px, 4vw, 20px);
  }

}
/* 1) Apaga el degradado en el wrapper (era el que se “salía”) */
.gallery-fore .qodef-e.qodef-image-wrapper::after{
  content: none !important;
}

/* 2) El contenedor REAL de la imagen (clip perfecto) */
.gallery-fore .qodef-e-image,
.gallery-fore a.qodef-popup-item{
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}

/* 3) Degradado ahora SÍ pegado a la imagen */
.gallery-fore .qodef-e-image::after,
.gallery-fore a.qodef-popup-item::after{
  content: "" !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0) 100%
  );
}

/* 4) Caption SIEMPRE blanca encima del degradado */
.gallery-fore .custom-caption{
  position: absolute !important;
  left: 40px;
  right: 24px;
  bottom: 24px;
  z-index: 3 !important;

  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;

  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;

  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  transition: color .3s ease, transform .3s ease;
  transform: scale(1);
  transform-origin: left bottom;

  pointer-events: none;
}

/* 5) IMPORTANTE: que la caption se pegue al mismo “clip” de la imagen */
.gallery-fore .qodef-e.qodef-image-wrapper{
  position: relative !important;
}

/* 6) Hover solo desktop: amarillo + escala 0.5% */
@media (hover: hover) and (pointer: fine){
  .gallery-fore .qodef-e.qodef-image-wrapper:hover .custom-caption{
    color: #f2d200;
    transform: scale(1.005);
  }
}

/* 7) Móvil: un pelín más adentro y sombra más suave */
@media (max-width: 768px){
  .gallery-fore .custom-caption{
    left: 40px;
    right: 26px;
    bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  }

  .gallery-fore .qodef-e-image::after,
  .gallery-fore a.qodef-popup-item::after{
    height: 35%;
  }
}


/* Desktop: texto un poco más pequeño */
@media (min-width: 1024px){

  .gallery-fore .custom-caption{
    font-size: clamp(16px, 1.4vw, 22px);
  }

}
/* Desktop: un poco más a la izquierda y más pequeño */
@media (min-width: 1024px){

  .gallery-fore .custom-caption{
    font-size: clamp(16px, 1.4vw, 22px);
    left: 12px;   /* antes 40px */
    right: 24px;
  }

}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-2d47b72 *//* Sección base */
.gallery-sync-section{
  position: relative;
  overflow: hidden;
}

/* BG (duplicado) */
.gallery-sync-section .gallery-bg{
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;          /* IMPORTANTÍSIMO */
  filter: blur(55px) saturate(140%);
  transform: scale(1.55);
  opacity: 0.95;
}

/* Overlay oscuro para look cine */
.gallery-sync-section::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.20),
    rgba(0,0,0,0.75)
  );
}

/* FORE (la real) */
.gallery-sync-section .gallery-fore{
  position: relative;
  z-index: 3;
}/* End custom CSS */