.container-home {
  height: 100vh;
  /* Ocupa el 100% del alto de la pantalla */
  display: flex;
  padding: 7%;
  justify-content: center;
  align-items: end;
  padding-bottom: 30vh;
}

.gallery-editorial {
  position: relative;
  display: inline-block;
  margin: -70px;
}

.gallery-editorial img {
  width: 50%;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
  cursor: pointer;
}

.gallery-editorial img:hover {
  filter: brightness(50%);
  /* transform: scale(1.2); */
  z-index: 1;
  /* Lleva la imagen al frente */
}

/* Información que aparece al hacer hover sobre la imagen */
.info-container {
  font-family: "MD-IO";
  position: absolute;
  bottom: -45px;
  width: 100%;
  text-align: left;
  color: #ffffff;
  padding: 0px;
  font-size: 0.8rem;
  display: none;
  /* Oculta inicialmente */
  z-index: 1;
}

.info-line {
  font-family: "serialb";
  position: absolute !important;
  top: 105% !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  text-align: left;
  color: #ffffff;
  padding: 0px;
  font-size: 1rem;
  display: none;
  /* Oculta inicialmente */
  z-index: 1;
}

.info-line .info-line__date {
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 10px;
  font-family: "MD-IO";
}

/* Mostrar la información al hacer hover sobre la imagen */
.gallery-editorial:hover .info-container,
.gallery-editorial:hover .info-line {
  display: block;
  /* Muestra la información */
}

/*NOTAS*/
.custom-container {
  height: 100vh;
  /* Ocupa el 100% del alto de la pantalla */
  display: flex;
  /* Centra el contenido */
  justify-content: center;
  align-items: end;
  padding-bottom: 30vh;
}

.custom-container:hover {
  border-color: #ffffff;
}

/* Información que aparece al hacer hover sobre la imagen */
.info-container {
  font-family: "MD-IO";
  position: absolute;
  bottom: -45px;
  width: 100%;
  text-align: left;
  color: #ffffff;
  padding: 0px;
  font-size: 0.8rem;
  display: none;
  /* Oculta inicialmente */
}

.info-line {
  font-family: "MD-IO";
  position: absolute;
  top: -45px;
  width: 100%;
  text-align: left;
  color: #fffcfc;
  padding: 0px;
  font-size: 0.8rem;
  display: none;
  /* Oculta inicialmente */
}

@media screen and (min-width: 768px) {
  .gallery-editorial img {
    width: 130%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
    margin-bottom: 1px;
  }
}

@media screen and (max-width: 768px) {
  .container-home {
    padding-top: 20%;
    height: auto;
    display: inline-block;
    text-align: center;
  }

  .gallery-editorial {
    display: block;
    margin: 0;
    background-color: black;
  }

  .gallery-editorial img {
    width: 100%;
    opacity: 0.4;
    /* Opacidad reducida para móviles */
    height: auto;
  }

  .info-container {
    margin-left: 10px;
    bottom: 10px;
    display: block;
    /* Muestra la información en móviles */
  }

  .info-line {
    margin-left: 10px;

    top: 10px;
    display: block;
    /* Muestra la información en móviles */
  }
}