/* === BANNER VIDEO === */
.banner-video {
  position: relative;
  width: 100%;
  height: 90vh; /* puedes ajustar el alto del banner */
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}

/* el video se expande al tamaño completo del banner */
.banner-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* se adapta sin deformarse */
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* texto superpuesto opcional */
.banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}

.banner-texto h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.banner-texto p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* 🔧 Fuerza a que todas las imágenes de blog tengan el mismo alto */
.blog figure {
  height: 400px; /* Ajusta el número hasta que se vea igual que tu banner */
  overflow: hidden;
}

/* 🔧 Hace que todas las imágenes se ajusten sin deformarse */
.blog figure img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene proporción y rellena el espacio */
  display: block;
}
