.Timeline.Overview {
  margin: 0;
  padding: 9.375rem 0;
}
@media (max-width: 768px) {
  .Timeline.Overview {
    padding: 3.75rem 0;
  }
}
.Timeline.Overview::before {
  content: "";
  left: 50%;
  max-width: 100.2vw;
  transform: var(--transform, translateX(-50%));
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 120rem;
  background: #FDEEEF;
  max-width: 110rem;
}
@media (max-width: 768px) {
  .Timeline.Overview::before {
    max-width: 100vw;
  }
}
.Timeline.Overview > .block-grid {
  content: "";
  left: 50%;
  max-width: 100.2vw;
  transform: var(--transform, translateX(-50%));
  position: relative;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 120rem;
  max-width: 110rem;
  z-index: 2;
}
@media (max-width: 768px) {
  .Timeline.Overview > .block-grid {
    max-width: 100%;
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .Timeline.Overview > .block-grid {
    background: url("/wp-content/themes/ibizz/images/road.svg") no-repeat center center;
    background-size: contain;
    min-height: 38.5625rem;
    padding: 0 5rem;
    flex-wrap: nowrap;
  }
}
@media (max-width: 768px) {
  .Timeline.Overview > .block-grid {
    flex-wrap: wrap;
    padding: 0rem;
  }
}
@media (min-width: 1024px) {
  .Timeline.Overview > .block-grid > li {
    position: relative;
  }
  .Timeline.Overview > .block-grid > li:first-child {
    align-self: center;
    margin-top: 7.5rem;
    top: 2.5rem;
  }
  .Timeline.Overview > .block-grid > li:nth-child(2) {
    margin-left: 9.375rem;
  }
  .Timeline.Overview > .block-grid > li:nth-child(3) {
    align-self: flex-end;
    top: 1.25rem;
    margin-left: 6.25rem;
  }
  .Timeline.Overview > .block-grid > li:nth-child(3) .Item {
    display: flex;
    flex-direction: column-reverse;
  }
  .Timeline.Overview > .block-grid > li:nth-child(3) .Item > .inner {
    padding-bottom: 1.875rem;
  }
  .Timeline.Overview > .block-grid > li:nth-child(4) {
    align-self: center;
    margin-top: 13.75rem;
    margin-left: 6.25rem;
  }
  .Timeline.Overview > .block-grid > li:nth-child(5) {
    margin-left: 6.25rem;
  }
}
@media (max-width: 768px) {
  .Timeline.Overview > .block-grid > li {
    width: 100%;
  }
}

.timeline-popup {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999;
}
.timeline-popup .popup-inner {
  position: relative;
  background: white;
  width: 83rem;
  height: 43.875rem;
  padding: 2.5rem;
}
.timeline-popup .popup-inner span.close {
  cursor: pointer;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}
@media (max-width: 768px) {
  .timeline-popup .popup-inner {
    width: 100%;
    height: auto;
    padding: 1.25rem;
  }
}
@media (max-width: 768px) {
  .timeline-popup .popup-content {
    flex-direction: column;
  }
}
.timeline-popup .popup-content > figure {
  width: 38.4375rem;
  height: 38.875rem;
  border-radius: 0 12.5rem 0 0;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .timeline-popup .popup-content > figure {
    min-width: 38.4375rem;
    height: 38.875rem;
  }
}
@media (max-width: 768px) {
  .timeline-popup .popup-content > figure {
    width: 100%;
    height: auto;
  }
}
.timeline-popup .popup-content > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.timeline-popup .popup-content > .inner {
  margin-left: 4.375rem;
}
@media (max-width: 768px) {
  .timeline-popup .popup-content > .inner {
    margin-left: 0;
    padding-bottom: 6.25rem;
  }
}
.timeline-popup .popup-content > .inner .h4 {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 22.4px */
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #E40F18;
}
.timeline-popup .popup-navigation {
  position: absolute;
  bottom: 3.125rem;
  left: 3.75rem;
}
@media (max-width: 768px) {
  .timeline-popup .popup-navigation {
    bottom: 1.875rem;
    left: auto;
    right: 1.25rem;
  }
}
.timeline-popup .popup-navigation button {
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.timeline-popup .popup-navigation button.next {
  margin-left: 0.625rem;
  transform: rotate(180deg);
}

.timeline-popup {
  display: none;
}

.timeline-popup.visible {
  display: flex;
}

/* Also hide all popups by default */
.popup-content {
  display: none;
}

.popup-content.active {
  display: flex;
}

.Timeline.Item {
  cursor: pointer;
}
.Timeline.Item > figure {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 100%;
  border: 0.25rem solid white;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.Timeline.Item > figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.Timeline.Item > .inner > .Heading .h3 {
  color: #E40F18;
}
.Timeline.Item > .inner > .Heading .h4 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 120%;
  color: #0F314D;
}
.Timeline.Item:hover > figure {
  border-color: #E40F18;
}
.Timeline.Item:hover > .inner > nav .more {
  background: #E40F18;
  color: white;
}