.legal {
  padding-top: calc(var(--v) + var(--alto-muesca));
}

.legal__cabeza {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.legal__titulo {
  font-size: var(--texto-titular);
  line-height: 1;
}

.legal__texto {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 36rem;
  padding-left: 1.5rem;
}

.legal__apartado {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.legal__subtitulo {
  font-size: var(--texto-titulo-3);
  line-height: 1.2;
}

.legal__apartado p {
  font-size: var(--texto-entradilla);
  line-height: 1.75;
}

.legal__apartado strong {
  font-weight: 500;
}

.legal__apartado a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .1875rem;
  transition: opacity .3s var(--curva-ease-in-out);
}

@media (hover: hover) {
  .legal__apartado a:hover {
    opacity: .6;
  }
}

@media (max-width: 991.98px) {
  .legal__rejilla {
    row-gap: var(--v);
  }

  .legal__texto {
    padding-left: 0;
  }
}

@media (max-width: 809.98px) {
  .legal__texto {
    gap: 3rem;
  }

  .legal__apartado {
    gap: 1rem;
  }

  .legal__apartado p {
    line-height: 1.7;
  }
}

.legal__lista {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: var(--texto-entradilla);
  line-height: 1.6;
}

.legal__lista li::marker {
  color: var(--color-texto-secundario);
}

.legal__subtitulo a,
.legal__fecha a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .1875rem;
  transition: opacity .3s var(--curva-ease-in-out);
}

@media (hover: hover) {
  .legal__subtitulo a:hover,
  .legal__fecha a:hover {
    opacity: .6;
  }
}
