:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
.timeline-slider {
  position: relative;
  overflow: hidden;
}
* + .timeline-slider {
  margin-top: var(--wp--preset--spacing--normal);
}
@media (min-width: 782px) {
  * + .timeline-slider {
    margin-top: var(--wp--preset--spacing--m);
  }
}
@media (max-width: 1023px) {
  .timeline-slider {
    max-width: 88vw;
  }
}
.timeline-slider img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
@media (max-width: 1149px) {
  .timeline-slider img {
    aspect-ratio: 1/0.65;
    object-fit: cover;
    margin: 0 0 2rem 0;
  }
}
.timeline-slider h3 {
  font-size: var(--wp--preset--font-size--font-90);
  font-weight: 600;
  margin: 0;
  padding: 2rem 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
}
.timeline-slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-slider ul li {
  margin: 0;
  color: #000;
}
.timeline-slider ul li:after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  margin: 1.8rem 0;
  background: #F0A540;
}
.timeline-slider ul li:last-child:after {
  display: none;
}
.timeline-slider__date {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}
@media (min-width: 1150px) {
  .timeline-slider .swiper-slide {
    padding-left: 300px;
  }
  .timeline-slider h3 {
    line-height: 0.85;
    margin: 0;
    padding: 0;
    color: rgba(55, 42, 102, 0.35);
  }
  .timeline-slider img {
    width: calc(100% - 300px);
    position: absolute;
    top: 100px;
    left: 92px;
    z-index: 1;
  }
  .timeline-slider__events {
    padding: var(--wp--preset--spacing--normal);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    position: relative;
    z-index: 3;
  }
}
.timeline-slider .slider-controls {
  width: 100px;
  height: 44px;
  position: absolute;
  top: 2rem;
  right: 2rem;
}
.timeline-slider .slider-controls .swiper-button-next,
.timeline-slider .slider-controls .swiper-button-prev {
  width: 44px;
  height: 44px;
}
.timeline-slider .slider-controls .swiper-button-next:after,
.timeline-slider .slider-controls .swiper-button-prev:after {
  display: none;
}
.timeline-slider .slider-controls .swiper-button-next:hover rect:nth-child(1),
.timeline-slider .slider-controls .swiper-button-prev:hover rect:nth-child(1) {
  fill-opacity: 0.75;
}
.timeline-slider .slider-controls .swiper-button-next:hover path,
.timeline-slider .slider-controls .swiper-button-prev:hover path {
  fill: #F0A540;
}
.timeline-slider .slider-controls .swiper-button-next {
  right: 0;
}
.timeline-slider .slider-controls .swiper-button-prev {
  left: 0;
}
.timeline-slider .slider-controls rect:nth-child(1) {
  fill-opacity: 0.5;
  transition: fill-opacity 0.35s ease-in-out;
}
.timeline-slider .slider-controls path {
  transition: fill 0.35s ease-in-out;
}
@media (min-width: 1150px) {
  .timeline-slider .slider-controls {
    top: 120px;
    right: calc(100% - 210px);
  }
  .timeline-slider .slider-controls .swiper-button-next rect:nth-child(1),
  .timeline-slider .slider-controls .swiper-button-prev rect:nth-child(1) {
    fill-opacity: 0.2;
  }
  .timeline-slider .slider-controls .swiper-button-next:hover rect:nth-child(1),
  .timeline-slider .slider-controls .swiper-button-prev:hover rect:nth-child(1) {
    fill-opacity: 0.35;
  }
}
