/* History / Timeline — Leonard milestones */
.lp-timeline-wrap {
  padding: 40px 0 90px;
}

.lp-timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.lp-timeline-main {
  min-width: 0;
}

.lp-timeline-intro {
  max-width: 62ch;
  margin-bottom: 2.5rem;
}

.lp-timeline-intro p {
  color: #4a5c59;
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0;
}

.lp-year-rail {
  position: relative;
  padding-left: 0;
}

.lp-year-rail::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, #1a7a6d 0%, #c9a227 50%, #0a3d3a 100%);
  border-radius: 3px;
}

.lp-mile {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.lp-mile-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1a7a6d;
  color: #0a3d3a;
  font-family: "Lexend", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(10, 61, 58, 0.12);
  flex-shrink: 0;
}

.lp-mile:nth-child(even) .lp-mile-dot {
  border-color: #c9a227;
  background: #0a3d3a;
  color: #fff;
}

.lp-mile-card {
  background: #fff;
  border: 1px solid #dce8e6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 61, 58, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-mile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10, 61, 58, 0.1);
}

.lp-mile-card.has-img {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
}

.lp-mile-card .thumb {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
}

.lp-mile-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.lp-mile-body .year-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a7a6d;
  margin-bottom: 0.4rem;
}

.lp-mile-body h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.2rem;
  color: #0a3d3a;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.lp-mile-body p {
  margin: 0;
  color: #4a5c59;
  font-size: 0.98rem;
  line-height: 1.7;
}

.lp-mile-body p + p {
  margin-top: 0.65rem;
}

.lp-timeline-side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-timeline-nav {
  background: #0a3d3a;
  color: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
}

.lp-timeline-nav h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1rem;
  margin: 0 0 0.85rem;
  color: #fff;
}

.lp-timeline-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.lp-timeline-nav a:last-child {
  border-bottom: 0;
}

.lp-timeline-nav a:hover {
  color: #e8c547;
  padding-left: 4px;
}

.lp-timeline-cta {
  background: #fff;
  border: 1px solid #dce8e6;
  border-radius: 14px;
  padding: 1.25rem;
}

.lp-timeline-cta h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.05rem;
  color: #0a3d3a;
  margin: 0 0 0.5rem;
}

.lp-timeline-cta p {
  color: #4a5c59;
  font-size: 0.92rem;
  margin: 0 0 1rem;
  line-height: 1.55;
}

.lp-timeline-cta .vl-btn4 {
  font-size: 0.9rem !important;
  padding: 0.7rem 1.1rem !important;
}

@media (max-width: 991px) {
  .lp-timeline-layout {
    grid-template-columns: 1fr;
  }

  .lp-timeline-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lp-mile-card.has-img {
    grid-template-columns: 1fr;
  }

  .lp-mile-card .thumb {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .lp-year-rail::before {
    left: 22px;
  }

  .lp-mile {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .lp-mile-dot {
    width: 44px;
    height: 44px;
    font-size: 0.62rem;
  }

  .lp-timeline-side {
    grid-template-columns: 1fr;
  }
}
