@charset "UTF-8";
/**
 * Bootstrap 5.3 – Variabili SCSS di base
 * @see https://getbootstrap.com/docs/5.3/customize/sass/
 */
/* ----------------------------------------------------------
 * SPACING
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * COLOR SYSTEM
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BODY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * LINK
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BORDER RADIUS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TABS
 * ---------------------------------------------------------- */
.block__timeline {
  --timeline-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.block__timeline .timeline-swiper-container {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 8px;
}
.block__timeline .timeline {
  list-style-type: none;
  display: flex;
  padding: 0;
  margin: 0;
  transition-timing-function: var(--timeline-ease);
}
.block__timeline .swiper-slide {
  --timeline-fill: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.block__timeline .swiper-slide.is-past {
  --timeline-fill: 1;
}
.block__timeline .swiper-slide.swiper-slide-active {
  --timeline-fill: 0.5;
}
.block__timeline .swiper-slide.swiper-slide-active .date-badge {
  color: #fff;
  background-color: #ea1017;
  border-color: #ea1017;
  box-shadow: 0 6px 18px rgba(234, 16, 23, 0.16);
}
.block__timeline .swiper-slide.swiper-slide-active .timeline-dot {
  background-color: #ea1017;
  border-color: #ea1017;
}
.block__timeline .swiper-slide.swiper-slide-active .timeline-dot::after {
  opacity: 1;
  transform: scale(1);
}
.block__timeline .date-badge-wrapper {
  padding-inline: 0.5rem;
}
.block__timeline .date-badge {
  display: inline-block;
  padding: 0.35rem 1.5rem;
  border: 1px solid rgba(234, 16, 23, 0.35);
  border-radius: 50rem;
  background-color: rgba(255, 255, 255, 0.6);
  color: #ea1017;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
  transition: transform 0.45s var(--timeline-ease), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.45s ease;
}
.block__timeline .timeline-visual {
  width: 100%;
  height: 2px;
  position: relative;
  z-index: 1;
}
.block__timeline .timeline-line {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 37, 41, 0.23);
  transform-origin: left center;
}
.block__timeline .timeline-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ea1017;
  transform: scaleX(var(--timeline-fill));
  transform-origin: left center;
  transition: transform 0.65s var(--timeline-ease);
}
.block__timeline .timeline-dot {
  position: absolute;
  top: -5px;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background-color: #f4f4f4;
  border: 1px solid rgba(33, 37, 41, 0.65);
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.block__timeline .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(234, 16, 23, 0.22);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 0.45s ease, transform 0.55s var(--timeline-ease);
}
.block__timeline .timeline-content {
  padding: 0 1rem;
  line-height: 1.65;
}
.block__timeline .timeline-content .text {
  transition: transform 0.5s var(--timeline-ease);
}
.block__timeline .timeline-content .text > :last-child {
  margin-bottom: 0;
}
.block__timeline .timeline-progress {
  height: 2px;
  width: clamp(64px, 24vw, 240px);
  margin-right: auto;
  overflow: hidden;
  background-color: rgba(33, 37, 41, 0.2);
}
.block__timeline .timeline-progress-fill {
  display: block;
  height: 100%;
  background-color: #ea1017;
  transform: scaleX(var(--timeline-progress, 0));
  transform-origin: left center;
  transition: transform 0.65s var(--timeline-ease);
}
.block__timeline .timeline-is-static .swiper-navigation {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .block__timeline .swiper-slide:hover .date-badge {
    transform: translateY(-4px);
    border-color: #ea1017;
    box-shadow: 0 8px 20px rgba(234, 16, 23, 0.12);
  }
  .block__timeline .swiper-slide:hover .timeline-dot {
    border-color: #ea1017;
    background-color: #ea1017;
  }
  .block__timeline .swiper-slide:hover .timeline-dot::after {
    opacity: 1;
    transform: scale(1.15);
  }
  .block__timeline .swiper-slide:hover .timeline-content .text {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .block__timeline *,
  .block__timeline *::before,
  .block__timeline *::after {
    transition: none !important;
  }
}