/* Wonderland Essentials — Historia (cronología) */
.wl.wl-history {
  --wl-history-line: var(--wl-gold);
  --wl-history-dot: #0A1947;
  background: var(--wl-gradient);
  color: var(--wl-cream);
  padding: 72px 0 86px;
}
.wl .wl-history__head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 92px;
  align-items: start;
  margin-bottom: 58px;
}
.wl .wl-history__eyebrow { margin-bottom: 18px; color: var(--wl-gold); }
.wl .wl-history__title { color: var(--wl-cream); }
.wl .wl-history__intro {
  max-width: 560px;
  /* La primera línea se alinea con el antetítulo, como en la referencia */
  padding-top: 2.4em;
  color: rgba(250,247,239,.94);
}

/* ---------- Línea temporal ---------- */
.wl .wl-history__timeline {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  column-gap: 24px;
  padding: 0 6px;
}
.wl .wl-history__timeline::before {
  content: '';
  position: absolute;
  left: 4%; right: 4%; top: 108px;
  height: 2px;
  background: var(--wl-history-line);
  opacity: .95;
}
.wl .wl-history__timeline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 105px;
  height: 8px;
  pointer-events: none;
  background: radial-gradient(circle, var(--wl-history-line) 1.4px, transparent 1.8px) left center / 9px 8px repeat-x;
  opacity: .75;
  -webkit-mask: linear-gradient(90deg, #000 0 5%, transparent 10% 90%, #000 95% 100%);
          mask: linear-gradient(90deg, #000 0 5%, transparent 10% 90%, #000 95% 100%);
}
.wl .wl-history__item { position: relative; z-index: 1; min-width: 0; text-align: center; }
.wl .wl-history__year {
  height: 82px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: var(--wl-gold-deep);
  font-family: var(--wl-font-display);
  font-size: clamp(2.35rem, 3.25vw, 3.55rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.wl .wl-history__dot {
  width: 31px; height: 31px;
  margin: 11px auto 0;
  border: 6px solid var(--wl-history-line);
  border-radius: 50%;
  background: var(--wl-history-dot);
  box-shadow: 0 0 0 2px rgba(238,214,172,.12);
}
.wl .wl-history__stem {
  width: 1px; height: 39px;
  margin: 0 auto;
  background: var(--wl-history-line);
  opacity: .8;
}
.wl .wl-history__item-title {
  min-height: 54px;
  margin: 0 auto 18px;
  color: var(--wl-gold-deep);
  font-family: var(--wl-font-display);
  font-size: 1.18rem;
  line-height: 1.02;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.wl .wl-history__item-text {
  max-width: 205px;
  margin: 0 auto;
  color: rgba(250,247,239,.8);
  font-size: .79rem;
  line-height: 1.55;
}

@media (max-width: 1050px) {
  .wl .wl-history__head { grid-template-columns: 1fr; gap: 28px; }
  .wl .wl-history__intro { max-width: 700px; padding-top: 0; }
  .wl .wl-history__timeline {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    row-gap: 0;
    padding-left: 42px;
  }
  .wl .wl-history__timeline::before { left: 17px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .wl .wl-history__timeline::after { display: none; }
  .wl .wl-history__item { text-align: left; padding: 0 0 34px 22px; }
  .wl .wl-history__year { height: auto; justify-content: flex-start; font-size: 2.5rem; margin-bottom: 8px; }
  .wl .wl-history__dot { position: absolute; left: -39px; top: 8px; margin: 0; width: 26px; height: 26px; border-width: 5px; }
  .wl .wl-history__stem { display: none; }
  .wl .wl-history__item-title { min-height: 0; margin: 0 0 10px; font-size: 1.1rem; }
  .wl .wl-history__item-text { max-width: 680px; margin: 0; }
}
@media (max-width: 620px) {
  .wl .wl-history__title { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .wl.wl-history { padding: 60px 0 64px; }
  .wl .wl-history__head { margin-bottom: 45px; }
  .wl .wl-history__timeline { padding-left: 35px; }
}
