.hero-parallax {
  width: 100%;
  /* margin-top: calc(var(--header-eyebrow-height) + var(--header-height)); */
  /* height: 50vh; */
}

.main-slider {
  height: 100%;
  position: relative;
  overflow: hidden;
  --swiper-pagination-bottom: calc(var(--bookingtabs-height) + 0.25rem);
  --swiper-navigation-sides-offset: 0;
  --swiper-theme-background: var(--primary);
  --swiper-theme-color: #ffffff;

  .img-container {
    /* position: absolute; */
    padding-bottom: 100%;

    z-index: 1;
  }

  .content-text {
    position: absolute;
    margin: 0;
    width: 100%;

    /* bottom: 2rem; */
    bottom: 0.5rem;

    .btn-text {
      color: var(--foreground);
      text-decoration: underline;
    }

    @media (min-width: 1024px) {
      bottom: 5rem !important;
    }
  }

  .img-container {

    img,
    video {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;

      &:only-child {
        display: block !important;
      }

      &:first-child {
        display: none;
      }

      &:last-child {
        display: block;
      }
    }
  }

  [role='button'] {
    background-color: var(--primary);
  }
}

/* Banner arrows: a --primary square at each edge with a thin chevron.
   Shared with the Now Showing slider (.now-showing__slider, _components.css),
   which sets its own colours and vertical position. */
:is(.main-slider, .now-showing__slider) {
  .swiper-button-next,
  .swiper-button-prev {
    position: absolute;
    width: var(--swiper-navigation-size);
  }

  .swiper-button-next {
    right: 0;
  }

  .swiper-button-prev {
    left: 0;
  }
}

.main-banner-content {
  position: relative;
  height: 100%;
}

.main-pagination {
  position: absolute;
  z-index: 1;
  text-align: center;
}

.main-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-banner-btn .main-btn-text {
  /* background: rgba(0, 0, 0, 0.1607843137); */
  background-color: white;
  color: #1d1c1a;
  padding: 0.5rem 1rem;
  /* border: 1px solid var(--foreground); */
  text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .main-slider {
    .img-container {
      /* position: absolute; */
      padding-bottom: 39%;

      img,
      video {
        &:first-child {
          display: block;
        }

        &:last-child {
          display: none;
        }
      }
    }
  }
}

@media only screen and (min-width: 1024px) {
  /* .main-slider .swiper-button-next,
	.main-slider .swiper-button-prev {
		display: block;
	} */
}

@media (min-width: 1024px) {
  .main-slider .content-text {
    bottom: 5rem !important;
  }
}