.story-timeline-section {
  position: relative;
}
.story-timeline-section .timeline-slider .swiper-slide {
  position: relative;
  height: auto;
  padding-bottom: 50%;
}
@media only screen and (min-width: 992px) {
  .story-timeline-section .timeline-slider .swiper-slide {
    padding: 0;
  }
}
.story-timeline-section .timeline-slider .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}
.story-timeline-section .timeline-slider .swiper-slide img.desktop {
  display: none;
}
@media only screen and (min-width: 992px) {
  .story-timeline-section .timeline-slider .swiper-slide img.desktop {
    display: block;
  }
}
.story-timeline-section .timeline-slider .swiper-slide img.mobile {
  display: block;
}
@media only screen and (min-width: 992px) {
  .story-timeline-section .timeline-slider .swiper-slide img.mobile {
    display: none;
  }
}
.story-timeline-section .timeline-slider .swiper-slide .timeline-content {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(64, 55, 45, 0.84);
  color: white;
  padding: 30px 20px;
  box-sizing: border-box;
}
@media only screen and (min-width: 992px) {
  .story-timeline-section .timeline-slider .swiper-slide .timeline-content {
    width: 50%;
    height: 100%;
    padding: 40px 30px;
  }
}
@media only screen and (min-width: 1200px) {
  .story-timeline-section .timeline-slider .swiper-slide .timeline-content {
    padding: 50px 85px;
  }
}
.story-timeline-section .timeline-slider .swiper-slide .timeline-content p {
  font-size: 14px;
  line-height: 24px;
  margin: 0 0 15px;
}
.story-timeline-section .timeline-slider .swiper-slide .timeline-content p.date {
  font-size: 16px;
  font-style: italic;
  margin: 0 0 20px;
}
.story-timeline-section .timeline-slider .swiper-slide .timeline-content h3 {
  font-size: 20px;
  margin: 0 0 20px;
}
@media only screen and (min-width: 992px) {
  .story-timeline-section .timeline-slider .swiper-slide .timeline-content h3 {
    font-size: 24px;
  }
}

.story-timeline-tabs {
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
}
@media only screen and (min-width: 992px) {
  .story-timeline-tabs {
    gap: 14px;
    margin: 67px 0;
  }
}
.story-timeline-tabs .title {
  display: block;
  font-size: 16px;
  line-height: 24px;
}
@media only screen and (max-width: 991.98px) {
  .story-timeline-tabs .title {
    width: 100%;
    text-align: center;
  }
}
.story-timeline-tabs a {
  display: block;
  border-radius: 25px;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: black;
  background: #A7C913;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
@media only screen and (min-width: 992px) {
  .story-timeline-tabs a {
    padding: 12px 25px;
    font-size: 14px;
  }
}
.story-timeline-tabs a:hover {
  background: #40372d;
  color: white;
}
.story-timeline-tabs a.active {
  background: #40372d;
  color: white;
}
