.content-block-wrapper:not(.no-scroll) {
  height: 100vh;
  display: flex;
  flex-wrap: nowrap;
  position: relative;
}

.content-block-wrapper:not(.no-scroll) .content-block {
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.min-width-50 {
  min-width: 50vw;
}

.width-auto img,
img.width-auto {
  width: auto;
}

.custom-height-with-padding img,
img.custom-height-with-padding {
  height: calc(100vh - 80px); /* 64PX FOR 32PX EACH SIDE. CHANGE ACCORDINGLY */
}

.title-block {
  z-index: 2;
}

.title-block .kt-row-column-wrap {
  margin: 0 !important;
}

.story-buttons-element {
  top: 50%;
  transform: translate(calc(-100% + -120px), -50%);
  left: 100vw;
  z-index: 999;
  width: max-content;
}

@media (min-width: 1024px) {
  .story-buttons-element {
    position: absolute !important;
  }
}

.skip-story {
  backdrop-filter: blur(3px);
}

/* MOBILE STYLING */
@media (max-width: 1024px) {
  .title-block {
    min-width: 80vw;
    z-index: 2;
  }

  .story-buttons-element {
    position: relative !important;
    left: auto;
    top: auto;
    transform: none;
  }

  .story-buttons-element .skip-story {
    display: none;
  }

  .location-element {
    top: 40px !important;
    left: 40px !important;
  }

  .small-image-block {
    width: 100vw !important;
  }

  .large-image-block {
    width: clamp(100vw, 200vw, 1800px);
  }
}

@media (max-width: 768px) {
  .title-block {
    min-width: 100vw;
  }
}

/* --- Timeline Sidebar Navigation --- */

@media (max-width: 1024px) {
  .timeline-nav {
    display: none;
  }

  .timeline-nav-mobile {
    display: flex !important;
  }
}

.timeline-nav-mobile {
  display: none;
  position: sticky;
  bottom: 0;
  left: 0;
  padding: 30px 0;
  z-index: 10;
  overflow-x: auto;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.timeline-nav-mobile::-webkit-scrollbar {
  display: none;
}

.timeline-nav-inner-mobile {
  width: 100%;
  width: fit-content;
  transform: translateX(-33px);
}

.timeline-nav-inner-mobile li {
  display: flex;
  align-items: center;
  text-wrap: nowrap;
}

.timeline-nav-inner-mobile ul {
  display: flex;
  list-style: none;
  padding: 0 calc(50vw - 60px) 0 50vw;
  margin: 0;
  min-width: 200vw;
}

.timeline-nav-stripe-wrapper-mobile {
  display: flex;
  width: 200px;
  justify-content: space-evenly;
  align-items: center;
}

.timeline-nav-inner-mobile a {
  color: white;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
}

.timeline-nav-inner-mobile a.active {
  border: 1px solid white;
  padding-bottom: 3px;
}

.timeline-nav-stripe-mobile {
  width: 1px;
  height: 20px;
  background-color: white;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

/* Container for the sidebar */
.timeline-nav {
  position: sticky;
  bottom: 0;
  left: 0; /* Adjust spacing from the left edge */
  height: 100vh;
  width: min-content; /* Fixed width for the sidebar */
  padding: 0 30px;
  z-index: 30;
  overflow-y: auto; /* Enable vertical scrolling */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.timeline-nav::-webkit-scrollbar {
  display: none;
}

/* Inner container that will scroll */
.timeline-nav-inner {
  position: relative;
  width: fit-content;
  height: auto; /* Adjust height dynamically */
  max-height: 100%; /* Prevent overflow */
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth scrolling animation */
}

/* The list that holds the years */
.timeline-nav ul {
  width: 50px;
  list-style: none;
  padding: 50vh 0 calc(50vh - 25px) 0; /* Add padding so we can scroll items to center */
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Start from top, let JavaScript handle centering */
  align-items: center;
}

.timeline-nav li {
  position: relative;
  width: min-content;
  height: 100px;
  display: flex;
  flex-direction: column;
}

.timeline-nav li.min-height {
  height: min-content;
}

.timeline-nav-stripe-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
  flex-grow: 1;
}

.timeline-nav-stripe {
  width: 100%;
  height: 0.5px;
  background-color: white;
  max-width: 20px;
}

.location-element {
  position: absolute !important;
  top: 60px;
  left: 120px;
}

.location-element img {
  width: 80px;
  height: 100px;
  object-fit: contain;
}

/* VIDEO BLOCK STYLING */
.video-block {
  min-width: 800px;
}

/* ----------------- FROM CUSTOMIZER ----------------- */
/* ----------------- FROM CUSTOMIZER ----------------- */
/* ----------------- FROM CUSTOMIZER ----------------- */

/* Styling for each year link */
.timeline-nav a {
  text-decoration: none;
  color: white; /* Default text color */
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-wrap: nowrap;
  padding: 8px 8px 4px 8px;
  border: 1px solid transparent;
}

.timeline-nav a.active {
  border-color: white;
}

.timeline-nav a:hover {
  border-color: white;
}

/* --------- 1M LIVES, 5M BIKES --------- */

.msm-count-up-extra {
  overflow: hidden;
}

.msm-count-up-extra > .kt-inside-inner-col {
  transition: transform 2s ease-in-out;
  position: relative;
  justify-content: center;
}

.msm-count-up-extra-top {
  transform: translateY(-100%);
  position: absolute !important;
  text-wrap: balance;
}

#buffalo-evolution {
  margin-top: -100vh;
  z-index: 40;
}

@media screen and (max-width: 1024px) {
  #buffalo-evolution {
    margin-top: -96.8px;
  }
}

.fly-out-wysiwyg_imagevideo_01 .entry-content-asset.videofit,
.fly-out-wysiwyg_imagevideo_02 .entry-content-asset.videofit,
.fly-out-wysiwyg_imagevideo_03 .entry-content-asset.videofit {
  padding-top: 51%;
}

.title-block .kt-row-column-wrap {
  margin: 0 !important;
}

.milestone-video-outer {
  height: 100vh;
}

.milestone-video-outer video {
  height: 100%;
  object-fit: cover;
}

.explore-our-journey-ball {
  width: 120px;
  min-height: 120px;
  border-radius: 9999px;
  overflow: hidden;
}

.explore-our-journey-ball .kt-inside-inner-col {
  width: 100%;
  height: 100%;
}

.kt-modal-content {
  max-height: none !important;
}

/* 1024PX HEADER BREAKPOINT STYLING */
@media screen and (max-width: 1024px) {
  .wp-block-kadence-header-tablet.kb-header-sticky-wrapper {
    z-index: 999999 !important;
    position: relative !important;
  }

  /* Position the off-canvas container */
  .wp-block-kadence-off-canvas {
    top: 0px !important; /* Start from top */
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
  }

  /* Change the menu to slide from top instead of left */
  .wp-block-kadence-off-canvas .kb-off-canvas-inner-wrap {
    top: 100px !important; /* Position below header */
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;

    /* Make it full width */
    width: 100vw !important;
    max-width: none;

    height: calc(100vh - 100px);

    transform: translateY(-100%) !important;
  }

  /* If the wpadminbar exists, increase the top offset */
  body:has(#wpadminbar) .wp-block-kadence-off-canvas .kb-off-canvas-inner-wrap {
    top: 132px !important;
    height: calc(100vh - 132px);
  }

  .wp-block-kadence-off-canvas.active .kb-off-canvas-inner-wrap {
    transform: translate(0%, 0%) !important;
  }

  /* For screens wider than 782px, set top to 152px */
  @media (max-width: 783px) {
    body:has(#wpadminbar)
      .wp-block-kadence-off-canvas
      .kb-off-canvas-inner-wrap {
      top: 146px !important;
      height: calc(100vh - 146px);
    }
  }

  .kb-off-canvas-close:focus {
    background-color: transparent;
    color: black;
  }

  .kb-off-canvas-close:active {
    background-color: transparent;
    color: black;
  }

  .kb-off-canvas-close:hover {
    background-color: transparent;
    color: black;
  }

  .kb-off-canvas-close {
    position: absolute;
    background-color: transparent;
    color: black;
    padding: 0;
    display: flex;
    align-items: center;

    /* PREPARE FOR SHOWING */
    display: none;
    visibility: hidden;
    pointer-events: none;
  }

  .kb-off-canvas-close svg {
    width: 24px;
  }

  /* Hide .kb-off-canvas-close if its next sibling has class .triggered */
  .kb-off-canvas-close:has(+ .triggered) {
    display: flex;
    visibility: visible;
    pointer-events: all;
  }

  .wp-block-kadence-off-canvas-trigger.triggered {
    opacity: 0;
    pointer-events: none;
  }
}

.wp-block-kadence-image.logo-20-years-mobile img {
  height: 36px;
}

.wp-block-kadence-image.logo-mobile img {
  height: 50px;
}

.kb-button .kt-btn-inner-text,
.menu-block .kt-inside-inner-col span,
.kb-navigation.menu .kb-link-wrap a span.kb-nav-label-content {
  transform: translateY(0.12em);
  display: inline-block;
  vertical-align: top;
}

.msm-with-modal-background h2.wp-block-kadence-advancedheading {
  transform: translateY(0px) !important;
}

h1,
h2,
h3 {
  transform: translateY(0.12em);
  will-change: transform;
}

.count-up-text {
  transform: translateY(0.7em);
  will-change: transform;
}

.confetti-single {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kb-row-layout-wrap.hero-section .kt-row-column-wrap {
  min-height: calc(100vh - 120px);
}

.wp-block-kadence-column.small-image-block {
  height: calc(100vh - 80px);
  overflow: hidden;
}

.wp-block-kadence-column.small-image-block img {
  width: 100vh;
  object-fit: cover;
}

.wp-block-kadence-column.small-image-block * {
  height: 100%;
}

.wp-block-kadence-column.large-image-block {
  height: calc(100vh - 80px);
  overflow: hidden;
}

.wp-block-kadence-column.large-image-block img {
  width: 200vh;
  object-fit: cover;
  object-position: top left;
}

.wp-block-kadence-column.large-image-block * {
  height: 100%;
}

#product-fly-out .kt-modal-close,
#milestone-fly-out .kt-modal-close {
  border: 2px solid #ed1c34 !important;
}

#product-fly-out .kt-modal-close:hover,
#milestone-fly-out .kt-modal-close:hover {
  border: 2px solid #000 !important;
}

.kt-modal-close:hover {
  border: 2px solid #000 !important;
}

.kt-modal-close {
  top: 40px !important;
  right: 40px !important;
  padding: 6px !important;
  border: 2px solid #fff !important;
  border-radius: 0px !important;
}

@media screen and (max-width: 768px) {
  .kt-modal-close {
    top: 20px !important;
    right: 20px !important;
  }
}

.wpml-language-switcher-block::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url(/wp-content/uploads/2025/10/language-icon.svg) !important;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: -35px;
  top: 50%;
  z-index: 100;
  transform: translateY(-50%);
}

.wpml-language-switcher-block.wp-block-navigation {
  width: auto !important;
}

.wpml-language-switcher-block .has-child .wp-block-navigation__container {
  min-width: unset;
}

.wp-block-navigation .wp-block-navigation-item__label {
  font-family: "Univers59UltraCondensed", Helvetica;
  text-transform: uppercase;
  font-size: 20px;
  transform: translateY(0.12em);
}

.wp-block-kadence-column.on-the-move-country-image img {
  width: 200px;
  height: auto;
}

.wp-block-kadence-column.on-the-move-country-image {
  position: absolute;
  bottom: 40px;
  right: 40px;
}

.wp-block-kadence-column.onthemove-symbol-image {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 100px;
}

.wp-block-kadence-column.coc-symbol-image img {
  width: 100%;
  height: auto;
}

.wp-block-kadence-column.pd-symbol-image img {
  width: 200px;
  height: auto;
}

.wp-block-kadence-column.pd-symbol-image {
  position: absolute;
  top: 40px;
  right: 40px;
}

@media screen and (max-width: 1024px) {
  .wp-block-kadence-column.coc-symbol-image,
  .wp-block-kadence-column.pd-symbol-image {
    top: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}

.wp-block-kadence-column.onthemove-content-box {
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-kadence-column.onthemove-image-background {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wp-block-kadence-column.onthemove-image-background img {
  width: 620px;
}

.wp-block-kadence-column.coc-symbol-image {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 100px;
}

.wp-block-kadence-column.coc-image-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wp-block-kadence-column.coc-image-background * {
  height: 100%;
}

.wp-block-kadence-column.coc-image-background img {
  object-fit: cover;
  width: 100%;
}

.wp-block-kadence-column.carousel-background {
  position: absolute;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
}

.wp-block-kadence-column.carousel-background .splide__pagination {
  display: none;
}

.wp-block-kadence-column.carousel-background .kb-slide-item * {
  height: 100vh !important;
}

.wp-block-kadence-column.coc-content-box {
  width: max-content;
  z-index: 4;
}

@media screen and (max-width: 1024px) {
  .wp-block-kadence-column.coc-content-box {
    width: 100%;
    max-width: calc(100vw - 80px);
  }
}

@media screen and (max-width: 768px) {
  .wp-block-kadence-column.coc-content-box {
    max-width: calc(100vw - 40px);
  }
}

@media screen and (min-width: 1024px) {
  .wp-block-kadence-column.coc-content-box {
    max-width: calc(100vw - 140px);
  }
}

.content-block-wrapper.no-scroll video {
  width: 100%;
}

.on-the-move-background-image img {
  max-height: 70vh;
}

@media screen and (max-width: 768px) {
  .msm-with-modal-content::before {
    top: -50px !important;
  }

  .msm-count-up::before {
    top: -44px !important;
  }

  .wp-block-kadence-column.on-the-move-country-image {
    bottom: 120px !important;
    right: 50% !important;
    transform: translateX(50%);
  }

  .on-the-move-background-image img {
    max-height: 400px !important;
  }
}

@media screen and (max-width: 767px) {
  .ending-block-wrapper {
    width: 100vw;
  }

  .carousel-width {
    min-width: 0 !important;
    width: 100vw;
  }

  .top-block-row-layout {
    background-position: center 30% !important;
  }

  .top-block-wrapper {
    height: calc(100vh + 120px);
    padding-bottom: 120px;
  }

  .title-block-content-element {
    max-width: calc(100vw - 80px);
  }

  .top-block-wrapper .kt-inside-inner-col {
    height: 100% !important;
    background-position: 50% 100% !important;
  }

  .wp-block-kadence-column.onthemove-image-background {
    width: 90%;
  }
}

@media screen and (max-width: 1024px) {
  .msm-with-modal-content::before {
    top: -66px !important;
  }
}

/* CAROUSEL ELEMENT */
.carousel-width {
  min-width: 800px;
}

.msm-count-up {
  position: relative;
}

.msm-count-up::before {
  content: "";
  width: 2px;
  height: 19px;
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
}

.msm-with-modal-content-wrapper,
.onthemove-content-box {
  max-width: 100vw;
  padding: 0 45px;
}

.msm-with-modal-content {
  position: relative;
}

.msm-with-modal-content::before {
  content: "";
  width: 2px;
  height: 19px;
  position: absolute;
  top: -71px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
}

.msm-with-modal-background {
  position: absolute !important;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.msm-with-modal-background * {
  height: 100%;
}

.msm-with-modal-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smooth Sticky Header Animation */
.kb-header-sticky-wrapper.item-is-stuck {
  transition: top 0.4s ease-in-out;
}

#on-the-move-in-zimbabwe .wp-block-kadence-column .kt-inside-inner-col {
  border-color: #fff;
}

.wp-block-kadence-image.coming-soon-logo img {
  min-height: 100px;
}

/* Gallery slide icons */
/* /* Previous/Left Arrow Button */
button.splide__arrow.splide__arrow--prev.slick-prev {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all .1s linear;
  border: none;
  padding: 0;
  background: transparent;
  opacity: 1;
}

/* Hide the default inline SVG */
button.splide__arrow.splide__arrow--prev.slick-prev svg {
  display: none;
}

/* White blurred background with 0.3 opacity */
button.splide__arrow.splide__arrow--prev.slick-prev::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

/* Your custom arrow image at 100% opacity */
button.splide__arrow.splide__arrow--prev.slick-prev::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url('/wp-content/uploads/2025/10/gallery-left-arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 1;
}

/* Next/Right Arrow Button */
button.splide__arrow.splide__arrow--next.slick-next {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all .1s linear;
  border: none;
  padding: 0;
  background: transparent;
  opacity: 1;
}

button.splide__arrow.splide__arrow--next.slick-next svg {
  display: none;
}

button.splide__arrow.splide__arrow--next.slick-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

button.splide__arrow.splide__arrow--next.slick-next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-image: url('/wp-content/uploads/2025/10/gallery-right-arrow.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 1;
}