.project-detail__legacy {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  overflow: hidden;
}

.project-detail__legacy img {
  max-width: 100%;
  height: auto;
}

.project-detail__legacy iframe {
  display: block;
  max-width: 100%;
  margin-inline: auto;
}

.project-detail__legacy .video-set,
.project-detail__legacy .contenedor_resultados_ddhh,
.project-detail__legacy #contenedor_datos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
}

.project-detail__legacy .video,
.project-detail__legacy .resultados_ddhh {
  flex: 1 1 min(100%, 20rem);
  min-width: 0;
}

.project-detail__legacy .video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.project-detail__legacy #imagen_banner,
.project-detail__legacy #video_intro,
.project-detail__legacy #intro_derechos,
.project-detail__legacy #contenidovideo,
.project-detail__legacy #temas_hhdd,
.project-detail__legacy #numeralia,
.project-detail__legacy #video_galeria,
.project-detail__legacy #fotos_evidencias,
.project-detail__legacy #herramientas_lxm,
.project-detail__legacy #introduction_hdd {
  width: 100% !important;
  height: auto !important;
  margin: 2rem 0;
  padding: 0;
}

.project-detail__legacy .boxes {
  width: min(100%, 14rem);
  overflow: hidden;
}

.project-detail__legacy .da-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-detail__legacy a {
  color: #1c212d;
}

.project-detail__legacy .herramientas_lxm {
  margin: 1rem;
  max-width: 12rem;
  text-align: center;
}

@media (max-width: 42rem) {
  .project-detail__legacy {
    padding-inline: 1rem;
  }

  .project-detail__legacy .boxes {
    width: 100%;
  }

  .project-detail__legacy .resultados_ddhh {
    flex-basis: 100%;
  }
}
