.timeline {
  padding-block: 6.7rem;
}
@media (min-width: 768px) {
  .timeline {
    padding-block-start: 11rem;
    padding-block-end: 6rem;
    height: auto;
  }
}
.timeline__container {
  margin-inline: auto;
}
@media (max-width: 767px) {
  .timeline__container {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .timeline__main {
    display: flex;
    flex-direction: column;
    order: 1;
  }
}
@media (min-width: 768px) {
  .timeline__main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}
@media (max-width: 767px) {
  .timeline__content {
    order: 2;
  }
}
@media (min-width: 768px) {
  .timeline__content {
    flex: 0 1 auto;
    min-width: 0;
  }
}
.timeline__swiper-wrap {
  position: relative;
  width: 100%;
  margin-block-end: 2.8rem;
}
@media (max-width: 767px) {
  .timeline__swiper-wrap {
    order: 1;
  }
}
@media (min-width: 768px) {
  .timeline__swiper-wrap {
    width: 50%;
    max-width: 100%;
    height: 64.6rem;
    margin-block-end: 0;
    margin-inline-start: auto;
  }
}
.timeline__title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-block-end: 0;
  min-height: 3.1rem;
}
.timeline__swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
}
@media (max-width: 767px) {
  .timeline__swiper {
    width: 33.2rem;
    height: auto;
    margin-inline: auto;
  }
}
@media (min-width: 768px) {
  .timeline__swiper {
    border-radius: 4rem;
    width: 65.4rem;
    height: 64.6rem;
    overflow: hidden;
  }
}
.timeline__swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.timeline__swiper .swiper-slide {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .timeline__swiper .swiper-slide {
    width: 33.2rem;
    height: 34.6rem;
  }
}
@media (min-width: 768px) {
  .timeline__swiper .swiper-slide {
    width: 65.4rem;
    height: 64.6rem;
  }
}
.timeline__slide {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .timeline__slide {
    border-radius: 4rem;
  }
}
.timeline__slide-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
@media (max-width: 767px) {
  .timeline__slide-inner {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 768px) {
  .timeline__slide-inner {
    width: 100%;
    height: 100%;
  }
}
.timeline__slide-inner img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.timeline__notch {
  position: absolute;
  width: 8.8rem;
  height: 2.5rem;
  z-index: 2;
  background-color: #ffffff;
  pointer-events: none;
  /* Start 5.5rem from left; end 5.5rem from right. Bleed 0.1rem left and right to fill gap with corners; 0.1rem down (mobile). */
  inset-inline-start: calc(5.5rem + var(--notch-position, 0) / 100 * (100% - 19.6rem) - 0.1rem);
  inset-block-end: -0.1rem;
  transition: inset-inline-start 600ms ease;
  border-start-start-radius: 1rem;
  border-start-end-radius: 1rem;
}
@media (min-width: 768px) {
  .timeline__notch {
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 3rem;
    height: 15rem;
    background-color: #ffffff;
    /* Start 7rem from top (position 0), end 7rem above bottom (position 100) */
    inset-block-start: calc(7rem + var(--notch-position, 0) / 100 * (100% - 29rem));
    inset-block-end: auto;
    border-radius: 0;
    border-start-end-radius: 1.5rem;
    border-end-end-radius: 1.5rem;
    transition: inset-block-start 1000ms ease;
  }
}
.timeline {
  /* Corners flanking the notch: move with --notch-position, aligned to bottom of slide */
}
.timeline__notch-corner {
  z-index: 2;
  transition: inset-inline-start 600ms ease;
}
@media (min-width: 768px) {
  .timeline__notch-corner {
    display: none;
  }
}
.timeline__notch-corner--left {
  left: auto;
  right: auto;
  inset-block-end: -0.1rem;
  inset-inline-start: calc(5.5rem + var(--notch-position, 0) / 100 * (100% - 19.6rem) - var(--corner-radius-mob));
  inset-inline-end: auto;
}
@media (min-width: 768px) {
  .timeline__notch-corner--left {
    inset-inline-start: calc(5.5rem + var(--notch-position, 0) / 100 * (100% - 19.6rem) - var(--corner-radius-desk));
  }
}
.timeline__notch-corner--right {
  left: auto;
  right: auto;
  inset-block-end: -0.1rem;
  inset-inline-start: calc(5.5rem + var(--notch-position, 0) / 100 * (100% - 19.6rem) + 8.6rem);
  inset-inline-end: auto;
}
.timeline__notch-corner--above {
  display: none;
}
@media (min-width: 768px) {
  .timeline__notch-corner--above {
    display: block;
    /* Bottom-left corner: right above notch, bleed 0.1rem left, 0.1rem down */
    inset-inline-start: -0.1rem;
    inset-inline-end: auto;
    inset-block-start: auto;
    inset-block-end: calc(100% - 7rem - var(--notch-position, 0) / 100 * (100% - 29rem) - 0.1rem);
    transition: inset-block-end 1000ms ease;
  }
}
.timeline__notch-corner--below {
  display: none;
}
@media (min-width: 768px) {
  .timeline__notch-corner--below {
    display: block;
    /* Top-left corner: right below notch, bleed 0.1rem left, 0.1rem up */
    inset-inline-start: -0.1rem;
    inset-inline-end: auto;
    inset-block-start: calc(7rem + var(--notch-position, 0) / 100 * (100% - 29rem) + 15rem - 0.1rem);
    inset-block-end: auto;
    transition: inset-block-start 1000ms ease;
  }
}
.timeline__pagination {
  margin-block-start: 0;
  position: relative;
}
.timeline__pagination .swiper-pagination-bullet {
  width: 0.8rem;
  height: 0.8rem;
  background-color: #e0e0e0;
  opacity: 1;
  transition: background-color 0.2s ease;
}
.timeline__pagination .swiper-pagination-bullet-active {
  background-color: #27ae60;
}
.timeline__nav-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
  margin-inline-start: auto;
  align-self: center;
}
@media (max-width: 767px) {
  .timeline__nav-row {
    margin-inline-end: 0.8rem;
  }
}
@media (min-width: 768px) {
  .timeline__nav-row {
    display: none;
  }
}
.timeline__nav {
  margin-block-start: 0.1rem;
  align-self: center;
}
@media (max-width: 767px) {
  .timeline__nav {
    display: flex;
    position: relative;
    inset-block-start: auto;
    inset-inline-start: auto;
    inset-inline-end: auto;
    transform: none;
    width: 3.1rem;
    height: 3.1rem;
    border: none;
    border-radius: 50%;
    background-color: #00852c;
    background-image: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding-block: 0.95rem;
    padding-inline: 1.4rem 1.06rem;
    transition: opacity 0.2s ease;
  }
  .timeline__nav::after, .timeline__nav::before {
    display: none;
    content: none;
  }
  .timeline__nav:hover:not(.swiper-button-disabled), .timeline__nav:focus:not(.swiper-button-disabled) {
    opacity: 0.9;
  }
  .timeline__nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
  }
  .timeline__nav--prev {
    background-color: #868686;
    padding-inline: 1.06rem 1.4rem;
  }
  .timeline__nav--prev .timeline__nav-icon {
    transform: scaleX(-1);
  }
  .rtl .timeline__nav--prev .timeline__nav-icon {
    transform: scaleX(1);
  }
  .rtl .timeline__nav--next .timeline__nav-icon {
    transform: scaleX(-1);
  }
}
@media (min-width: 768px) {
  .timeline__nav {
    display: none;
  }
}
.timeline__nav-icon {
  width: 0.7rem;
  height: 0.9rem;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
}
.timeline__title {
  color: #033324;
  font-family: "Nohemi", sans-serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 0.06rem;
  color: #000000;
}
@media (min-width: 768px) {
  .timeline__title {
    color: #033324;
    font-family: "Nohemi", sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.16rem;
  }
}
.timeline__title {
  margin-block-end: 2rem;
  margin-block-start: 0;
}
.timeline__title-row .timeline__title {
  margin-block: 0;
  margin-inline-end: auto;
  line-height: 1;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .timeline__container > .timeline__title {
    margin-block-start: 0;
    margin-block-end: 0;
  }
}
.timeline__year {
  color: #033324;
  font-family: "Nohemi", sans-serif;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 0.12rem;
  color: #00852c;
  margin-block-start: 2.8rem;
  margin-block-end: 0;
}
@media (min-width: 768px) {
  .timeline__year {
    color: #033324;
    font-family: "Nohemi", sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.16rem;
    color: #00852c;
    margin-block-start: 8rem;
    margin-block-end: 0;
  }
}
.timeline__event-title {
  color: #033324;
  font-family: "Nohemi", sans-serif;
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: 0.12rem;
  color: #033324;
  margin-block-start: 0;
  margin-block-end: 0;
}
@media (min-width: 768px) {
  .timeline__event-title {
    color: #033324;
    font-family: "Nohemi", sans-serif;
    font-size: 4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.16rem;
  }
}
.timeline__description {
  color: #033324;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 141%;
  letter-spacing: 0;
  color: #033324;
  margin-block-start: 1.5rem;
  margin-block-end: 0;
}
@media (min-width: 768px) {
  .timeline__description {
    color: #033324;
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 141%;
    max-width: 46.9rem;
    margin-block-start: 2rem;
    margin-block-end: 0;
  }
}
.timeline__pagination-wrap {
  margin-block-start: 2.8rem;
}
@media (max-width: 767px) {
  .timeline__pagination-wrap {
    order: 2;
  }
}
@media (min-width: 768px) {
  .timeline__pagination-wrap {
    display: none;
    position: absolute;
    inset-block-end: 2rem;
    inset-inline-end: 0;
    margin-block-start: 0;
    width: 65.4rem;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
  }
  .timeline__pagination-wrap .swiper-pagination {
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
}
