/* =========================
   WPROCKET LAZYLOAD
========================= */

/* Imagen oculta mientras carga */
img[data-lazy-src] {
  opacity: 0;
}

/* Fade-in cuando carga */
img.lazyloaded {
  -webkit-transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  opacity: 1;
}


/* =========================
   IMÁGENES (FONDO + FIX CLS)
========================= */

.entry-content img,
.entry-content picture {
  display: block;              /* 🔥 elimina espacio fantasma abajo */
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #f5f5f5;         /* fondo mientras carga */
}


/* =========================
   FIGURE FIX (opcional recomendado)
========================= */

.entry-content figure {
  overflow: hidden;            /* evita que sobresalga el fondo */
}


/*Sticky Clickio*/
#wtgCloseButton {
    position: absolute;
    top: -32px;
    right: 10px;
    border-radius: 10px 10px 0 0;
    width: 42px;
    height: 32px;
    background: #000;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  
    transition: opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;  
}

#wtgSticky {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  z-index: 9999;
  transition: transform 0.5s ease;
  overflow: hidden;
}

#wtgSticky.is-visible {
  overflow: visible; /* cuando sube, ya puede verse botón y sombra */
}

#wtgStickyWrapper {
  background-color: #fff;
  box-shadow: 0 -4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
  /* clip-path: inset(0 0 0 0); */ /* evita fugas visuales */
}

#wtgAdText {
  width: 728px;
  margin-left: auto;
  margin-right: auto;
  font-size: 8px;
  color: #000000b3;
  opacity:0.8;
  text-align: center;
  padding: 2px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 3px;  
}

#wtgStickyScrollDivInner {
  width: 728px;
  height: auto;
  min-height: 90px;
  margin-left: auto;
  margin-right: auto; 
  text-align:center;
}

@media (max-width: 1023px) {
  #wtgSticky {
    display: none !important;
  }
}
/*Fin de Sticky Clickio*/

/*Sticky Clickio Mobile*/
/* =========================================================
   STICKY BOTTOM MOVIL CLICKIO 320x50
   ========================================================= */

#wtgStickyMobile {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  transform: translateX(-50%) translateY(100%);
  transition: transform 0.5s ease;
  overflow: hidden;
}

#wtgStickyMobile.is-visible {
  overflow: visible;
}

#wtgStickyWrapperMobile {
  position: relative;
  background: #fff;
  box-shadow: 0 -4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

#wtgAdTextMobile {
  width: 320px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 2px 0;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 3px;
  text-align: center;
  color: #000;
  opacity: 0.8;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#wtgStickyScrollDivInnerMobile {
  width: 320px;
  height: 50px;
  min-height: 50px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  overflow: hidden;
}

#wtgStickyScrollDivInnerMobile iframe,
#wtgStickyScrollDivInnerMobile > div {
  max-width: 100%;
}

#wtgCloseButtonMobile {
  position: absolute;
  top: -36px;
  right: 8px;
  width: 46px;
  height: 36px;
  border-radius: 10px 10px 0 0;
  background: #000;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* solo mostrar esta versión en <= 1024px */
@media (min-width: 1025px) {
  #wtgStickyMobile {
    display: none !important;
  }
}
/*Fin de Sticky Clickio Mobile*/