
/* ==========================================
   COME RAGGIUNGERCI - ISISLAB
   Timeline verticale
   ========================================== */

.getting-here-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 40px 0 55px;
  padding-left: 58px;
}

/* Linea verticale */
.getting-here-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 2px;
  background: #d5e2ec;
}

/* Singola tappa */
.getting-here-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Numero della tappa */
.getting-here-number {
  position: absolute;
  top: 0;
  left: -58px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2879a8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* Immagini delle tappe */
.getting-here-step > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  max-height: 240px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 5px;
  line-height: 0;
}

.getting-here-step img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.getting-here-step > a:hover img {
  transform: scale(1.025);
}

/* Testi */
.getting-here-step-content {
  padding: 0;
}

.getting-here-step-content h3 {
  margin: 0 0 12px;
  color: #183b5b;
  font-size: 1.3rem;
  line-height: 1.35;
  font-weight: 600;
}

.getting-here-step-content p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* Mappa del percorso */
.getting-here-map {
  margin: 25px 0 40px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.getting-here-map a {
  display: block;
  line-height: 0;
}

.getting-here-map img {
  display: block;
  width: 100%;
  max-width: 850px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  cursor: zoom-in;
}

.getting-here-map p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.9rem;
}

/* ==========================================
   LIGHTBOX
   ========================================== */

.seminar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.92);
}

.seminar-lightbox img {
  display: block;
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

.seminar-lightbox-close {
  position: absolute;
  top: 18px;
  right: 25px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.seminar-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 700px) {

  .getting-here-steps {
    gap: 38px;
    margin-top: 30px;
    padding-left: 48px;
  }

  .getting-here-steps::before {
    left: 15px;
  }

  .getting-here-number {
    left: -48px;
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }

  .getting-here-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .getting-here-step > a {
    min-height: 0;
    max-height: none;
  }

  .getting-here-step img {
    height: auto;
    max-height: 230px;
  }

  .getting-here-step-content h3 {
    font-size: 1.15rem;
  }

  .getting-here-step-content p {
    font-size: 0.95rem;
  }

  .seminar-lightbox {
    padding: 15px;
  }

  .seminar-lightbox img {
    max-width: 100%;
    max-height: 85vh;
  }

  .seminar-lightbox-close {
    top: 10px;
    right: 10px;
  }
}
