/* Scoped to the recovered timeline; no Elementor runtime is required. */
.torch-timeline {
  --timeline-navy: #001842;
  --timeline-gold: #ffc13d;
  padding-bottom: 3rem;
}

.torch-timeline .timeline-header {
  padding: 3.5rem 1rem;
  margin-bottom: 3rem;
  background: var(--timeline-navy);
  text-align: center;
}

.torch-timeline .timeline-header h1 {
  color: #fff;
  font-size: clamp(2.75rem, 6vw, 4rem);
  line-height: 1.15;
}

.torch-timeline .timeline-header h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin: 1.25rem auto 0;
  background: var(--timeline-gold);
}

.torch-timeline .timeline-entry {
  position: relative;
  padding: .75rem 0;
}

.torch-timeline .timeline-entry::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: #d9e0eb;
}

.torch-timeline .timeline-entry::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid var(--timeline-navy);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--timeline-gold);
}

.torch-timeline .timeline-entry > .elementor-container {
  width: calc(100% - 2rem);
  max-width: 1000px;
  margin-inline: auto;
}

.torch-timeline .timeline-entry > .elementor-container > .elementor-column {
  width: 50%;
}

.torch-timeline .timeline-entry .elementor-widget-wrap.elementor-element-populated {
  width: auto;
  flex: 1;
  margin: 0 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #d9e0eb;
  border-top: 3px solid var(--timeline-gold);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgb(0 24 66 / 6%);
  background: #fff;
  color: #555;
  line-height: 1.6;
}

.torch-timeline .timeline-entry h4 {
  margin: 0 0 .35rem;
  color: var(--timeline-navy);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.torch-timeline .timeline-entry p {
  margin: 0;
}

@media (max-width: 767px) {
  .torch-timeline .timeline-header {
    padding: 2.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .torch-timeline .timeline-entry::before,
  .torch-timeline .timeline-entry::after {
    left: 1.5rem;
  }

  .torch-timeline .timeline-entry > .elementor-container {
    padding-left: 2rem;
  }

  .torch-timeline .timeline-entry > .elementor-container > .elementor-column {
    width: 100%;
    min-width: 0;
  }

  .torch-timeline .timeline-entry--left .elementor-column:nth-child(2),
  .torch-timeline .timeline-entry--right .elementor-column:first-child {
    display: none;
  }

  .torch-timeline .timeline-entry .elementor-widget-wrap.elementor-element-populated {
    margin: 0;
    padding: 1rem 1.25rem;
  }
}
