/* by osmy — El recorrido.
   Requiere tokens.css.
*/

body.os-site .os-journey {
  background: var(--os-paper);
}

/* ---------- INTRO ---------- */

body.os-site .os-journey__intro {
  margin-bottom: var(--os-space-5);
}

body.os-site .os-journey__intro h2 {
  margin: 0;
}

/* ---------- LIST ---------- */

body.os-site .os-journey__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- WEEK ---------- */

body.os-site .os-journey__week {
  display: grid;

  /* Distribución exacta: mitad izquierda / mitad derecha */
  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: var(--os-space-6);

  /* Semana centrada respecto al bloque de texto */
  align-items: center;

  padding-block: clamp(2.8rem, 4vw, 4rem);

  border-top: 1px solid var(--os-color-border);
}

body.os-site .os-journey__week:last-child {
  border-bottom: 1px solid var(--os-color-border);
}

/* ---------- LABEL ---------- */

body.os-site .os-journey__label {
  display: block;

  justify-self: start;

  color: var(--os-wine);

  font-family: var(--os-font-display);
  font-size: var(--os-type-h4);
  line-height: 1;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CONTENT ---------- */

body.os-site .os-journey__content {
  width: 100%;
  min-width: 0;

  justify-self: stretch;

  text-align: left;
}

body.os-site .os-journey__content h3 {
  margin: 0 0 var(--os-space-3);
}

body.os-site .os-journey__content p {
  max-width: 48ch;

  margin: 0;

  color: var(--os-color-text-secondary);
}

/* ---------- TABLET ---------- */

@media (max-width: 900px) {

  body.os-site .os-journey__week {
    grid-template-columns:
      minmax(7rem, 0.75fr)
      minmax(0, 1.25fr);

    column-gap: var(--os-space-5);
  }

}

/* ---------- MOBILE ---------- */

@media (max-width: 760px) {

  body.os-site .os-journey__intro {
    margin-bottom: var(--os-space-5);
  }

  body.os-site .os-journey__week {
    grid-template-columns: 1fr;

    align-items: start;

    row-gap: var(--os-space-4);

    padding-block: var(--os-space-6);
  }

  body.os-site .os-journey__label {
    justify-self: start;
  }

  body.os-site .os-journey__content {
    width: 100%;
  }

  body.os-site .os-journey__content p {
    max-width: 36rem;
  }

}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 420px) {

  body.os-site .os-journey__label {
    font-size: var(--os-type-small);
  }

}