.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
  margin: 100px auto;
}

.bannerContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
  width: 650px;
  min-height: 100px;
}

.contenido-blog {
  width: 100%;
}

.imagen-lateral {
  float: left;
  margin: 0 20px 0 0;
  border-radius: 8px;
}

.servicio-content {
  overflow: hidden;
  /* para contener el float */
}

.imagen-banner {
  position: relative;
  float: left;
  width: 30vw;
  margin: 0 20px 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.imagen-banner img.imagen-lateral {
  width: 100%;
  height: auto;
  display: block;
}

.titulo-superpuesto {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(216, 160, 123, 0.711);
  color: white;
  padding: 8px 15px;
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.custom-btn {
  background-color: #D2A679;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.custom-btn:hover {
  background-color: #c49569;
  /* Darker green for hover effect */
}


.titleContainer {
  padding: 8px 0;
  width: 100%;
  background-color: rgb(216 160 123 / 80%);
  box-shadow: 0 0 8px rgb(0 0 0 / 20%);
  display: flex;
  position: absolute;
  bottom: 0px;
}

.titleServicio {
  font-size: 20px;
  padding-left: 30px;
  color: white;
  line-height: 1.2;
}

.imagen {
  z-index: -1;
  width: 100%;
  height: 100%;
  max-height: 50rem;
  object-fit: cover;
}

@media (max-width: 768px) {
  .titleServicio {
    font-size: 1.5rem;
    /* Smaller font size for mobile screens */
    padding-left: 20px;
    padding-right: 20px;
  }

  .titleContainer {
    bottom: 10px;
    /* Adjust position on smaller screens */
  }



}

.servicio-content h2 {
  font-size: 24px;
  line-height: 1.4;
  color: #838383;

}

.servicio-content h3 {
  font-size: 20px;
  line-height: 1.8;
  color: #838383;
}

.servicio-content p {
  font-size: 18px;

}

.servicio-content li {
  font-size: 18px;

}

.contenedor-video-externo {
  margin-top: 60px;
  width: 100%;
  background-color: #d2ab86;
  padding: 40px 0;
  text-align: center; /* 🔧 Nuevo: centra el texto adentro */
}

.video-responsive {
  width: 70%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 60px auto;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.video-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.titulo-video {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff !important; 
  margin-bottom: 5px;
  font: inherit;
  position: relative;
  display: inline-block;
}