/* ======================
   Css Custom Elmentor Dapozzo.pro
   ====================== */
:root {
	--ida-text: #331400;
	--ida-background: #ebd9c6;
}


.ddE_contenedor-principal {
    display: block !important;
    overflow: hidden;
}

/* Imagen flotante */
.ddE_imagen-float {
    float: left;
    width: 30%;
    margin-right: 20px;
    
}

.ddE_imagen-float.right {
    float: right;
    margin-left: 20px;
    margin-right: 0;
}

.ddE_imagen {
    width: 100%;
    display: block;
}

/* Comentario debajo de imagen */
.ddE_comentario {
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    color: #555;
    margin-bottom: 10px;
}

.ddE_contenido-texto {
    /* overflow: hidden; */
    font-size: 16px;
    line-height: 1.6;
    color: var(--ida-text, #331400);
}

/* Responsive: apilar imagen y centrar comentario */
@media (max-width: 767px) {
    .ddE_imagen-float {
        float: none !important;
        width: 100%;
        margin: 0 auto 15px auto;
        text-align: center;
    }

    .ddE_comentario {
        text-align: center;
    }
}


/* === Estilos base para Widget_Texto_Y_Gallery === */
.ddE_contenedor-principal {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* Galeria flotante */
.ddE_gallery-float {
  padding: 5px;
  float: left;
  width: 30%;
  margin-right: 20px;
  padding-top: 4px;
}

.ddE_gallery-float.left {
  float: left;
  margin: 0 20px 20px 0;
}

.ddE_gallery-float.right {
  float: right;
  margin: 0 0 20px 20px;
}

.ddE_contenido-texto {
  margin-bottom: 20px;
}

.ddE_galeria-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 5px;
}

.ddE_galeria-wrapper a {
  text-decoration: none;
  line-height: 0;
}

.ddE_galeria-imagen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-style: solid;
  border-color: #fff;
  border-width: 2px;
  box-shadow: 0 0 0 4px #996600;
  transition: transform 0.3s ease;
  max-width: 100%;
}

.ddE_galeria-imagen:hover {
  transform: scale(1.03);
  cursor: zoom-in;
}

/* === Responsivo: móviles 2 columnas === */
@media (max-width: 767px) {
  .ddE_galeria-imagen {
    width: 48%;
    aspect-ratio: auto;
  }

  .ddE_gallery-float {
    float: none;
    margin: 0 auto 20px auto;
    width: 100% !important;
  }
}

/* === Personalización del lightbox de Elementor === */
.e-gallery-lightbox .dialog-lightbox-close-button {
  color: white;
  font-size: 28px;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  padding: 10px;
}

.e-gallery-lightbox .elementor-lightbox-title {
  color: white;
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
}

.e-gallery-lightbox .elementor-lightbox-wrapper {
  background-color: rgba(0,0,0,0.9);
}

.e-gallery-lightbox .elementor-lightbox-navigation {
  color: white;
  font-size: 32px;
}


.ddcw-download-wrap {
  text-align: center;
  margin-top: 10px;
}

.ddcw-audio-download {
  display: inline-block;
  background: #331401;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s ease, opacity .25s ease;
}

.ddcw-audio-download:hover {
  background: #4a1f0c;
  opacity: .95;
}
