:root {
  --sidebar-width: 22rem;
  --layout-gap: 6rem;
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 27rem;
    --layout-gap: 8rem;
  }
}
.timeline .event {
  margin-bottom: 3rem;
  color: #0F1217;
}
.timeline .event:last-child {
  margin-bottom: 0;
}
.timeline .event > *:last-child {
  margin-bottom: 0;
}
.timeline__date {
  margin: 0 0 1.5ch 0;
}
.timeline__event-block {
  padding-bottom: 5rem;
  position: relative;
}
.timeline__event-block:last-child {
  padding-bottom: 0;
}
.timeline__event-block:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: #F98126;
  border-radius: 100%;
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 3;
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline__event-block:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(0, 57, 99, 0.2);
  position: absolute;
  top: 0;
  left: 8px;
  z-index: 1;
}
.timeline__event-block h2 {
  font-size: 3.2rem;
  font-weight: 300;
  margin: 0;
  color: #2A6574;
}
.timeline__event-block h2 + img {
  margin-top: 2ch;
}
.timeline__event-block h4 {
  font-size: var(--wp--preset--font-size--font-22);
  font-weight: 400;
  margin: 0 0 0.65ch 0;
  padding-bottom: 0.7ch;
  color: #003963;
  border-bottom: 1px solid rgba(0, 57, 99, 0.3);
}
.timeline__event-block ul, .timeline__event-block ol {
  padding-left: 15px;
  margin: 0;
}
.timeline__event-block ul li, .timeline__event-block ol li {
  margin-bottom: 5px;
}
.timeline__event-block ul li:last-child, .timeline__event-block ol li:last-child {
  margin-bottom: 0;
}
.timeline__event-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.timeline__event-block.active:before {
  background: #fff;
  box-shadow: 0 0 0 5px #F98126;
}
.timeline__event-block .divider {
  display: block;
  width: 1px;
  background: #F98126;
  position: absolute;
  top: 0;
  z-index: 2;
}
@media (max-width: 599px) {
  .timeline__event-block {
    padding-left: 36px;
  }
  .timeline__event-block .divider {
    left: 8px;
  }
}
@media (min-width: 600px) {
  .timeline__event-block:before {
    top: 5px;
    left: calc(35% - 8px);
  }
  .timeline__event-block:after {
    left: 35%;
  }
  .timeline__event-block .divider {
    left: 35%;
  }
}
@media (max-width: 599px) {
  .timeline {
    padding-left: 6px;
  }
}
@media (min-width: 600px) {
  .timeline__event-block {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
  }
  .timeline__event-block > div.timeline__date {
    width: calc(35% - 30px);
  }
  .timeline__event-block > div.timeline__events {
    width: calc(65% - 30px);
  }
}
@media (min-width: 1024px) {
  .timeline__event-block h2 {
    font-size: 4rem;
    line-height: 1;
  }
  .timeline__event-block .inner {
    position: sticky;
    top: 130px;
  }
  .timeline__event-block .timeline__date {
    margin-bottom: 0;
  }
}
@media (min-width: 1200px) {
  .timeline__event-block h2 {
    font-size: 4.5rem;
  }
}

.timeline-tabs ul.tabs {
  justify-content: center;
  margin: 0 0 var(--wp--preset--spacing--m) 0;
  background: transparent;
  border-radius: 0;
  position: relative;
}
.timeline-tabs ul.tabs:before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, #003963 0%, #003963 50%, #F98126 50%, #F98126 100%);
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  right: 0;
  opacity: 0.5;
}
.timeline-tabs ul.tabs a {
  height: auto;
  font-size: var(--wp--preset--font-size--font-28);
  font-weight: 300;
  background: #fff !important;
  border-radius: 0;
  transition: font-weight 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.timeline-tabs ul.tabs a.active, .timeline-tabs ul.tabs a:hover, .timeline-tabs ul.tabs a:active, .timeline-tabs ul.tabs a:focus {
  font-weight: 400;
}
.timeline-tabs ul.tabs li {
  margin: 0;
  padding: 0;
}
.timeline-tabs ul.tabs li:first-child a {
  padding: 0 0.8ch 0 1.6ch;
  color: #091734 !important;
}
.timeline-tabs ul.tabs li:last-child a {
  padding: 0 1.6ch 0 0.8ch;
  color: #F98126 !important;
}