/* ===============================
   NOVEDADES - HERO
================================ */
.novedades-hero {
  background-image: url('../assets/images/novedades-hero.jpg');
}

.novedades-hero .page-hero-text {
  width: calc(590 * var(--u));
}

/* ===============================
   NOVEDADES - TEMAS
================================ */
.novedades-temas {
  display: flex;
  height: calc(615 * var(--u));
  background: var(--color-white);
}

.novedades-temas-imagen {
  flex: 0 0 calc(1165 * var(--u));
  background: url('../assets/images/novedades-documentacion.jpg') center / cover no-repeat;
}

.novedades-temas-lista {
  margin: 0;
  padding: calc(112 * var(--u)) 0 0 calc(128 * var(--u));
  list-style: none;
}

.novedades-temas-lista li {
  display: flex;
  align-items: center;
  height: calc(41 * var(--u));
  font-size: calc(25 * var(--u));
  font-weight: 600;
}

.novedades-temas-lista span {
  width: calc(56 * var(--u));
  font-family: var(--font-title);
  font-weight: 700;
  font-stretch: 112.5%;
  font-size: calc(32 * var(--u));
  color: var(--color-red);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1080px) {
  .novedades-hero {
    --hero-pad-top: 474;
    --hero-pad-bottom: 375;
    background-image: url('../assets/images/novedades-hero-mobile.jpg');
  }

  .novedades-hero .page-hero-text {
    width: calc(700 * var(--m));
  }

  /* La lista va en blanco sobre la foto, que ocupa todo el bloque */
  .novedades-temas {
    position: relative;
    display: block;
    height: calc(732 * var(--m));
    margin-top: calc(16 * var(--m));
    background: var(--color-dark);
  }

  .novedades-temas-imagen {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/novedades-documentacion-mobile.jpg');
  }

  .novedades-temas-lista {
    position: relative;
    padding: calc(122 * var(--m)) 0 0 calc(442 * var(--m));
    color: var(--color-white);
  }

  .novedades-temas-lista li {
    height: calc(48.6 * var(--m));
    font-size: max(calc(30.2 * var(--m)), 13px);
    letter-spacing: 0.025em;
  }

  .novedades-temas-lista span {
    width: max(calc(66 * var(--m)), 26px);
    font-size: max(calc(38.4 * var(--m)), 16px);
    letter-spacing: 0;
  }
}

/* ===============================
   CELULARES: los renglones de la lista crecen con la letra
================================ */
@media (max-width: 859px) {
  .novedades-temas {
    height: auto;
    min-height: calc(732 * var(--m));
    padding-bottom: 32px;
  }

  .novedades-temas-lista {
    padding-left: calc(400 * var(--m));
    padding-right: 16px;
  }

  .novedades-temas-lista li {
    height: auto;
    min-height: calc(48.6 * var(--m));
    padding: 4px 0;
  }
}
