:root {
  --intro-slide-bottom: 30%;
}

@media (max-width: 720px) {
  :root {
    --intro-slide-bottom: 50px; /* or whatever value you want */
  }
}

.tl-slideshow {
  position: relative;
  height: calc(100dvh + 177px);
  overflow: hidden;
}

.tl-slide .site-header {
  position: relative;
  z-index: 100;
}
.tl-slideshow-footer {
  /* position: absolute;
  bottom: 0;
  left: 0; */
  width: 100%;
  opacity: 0;
  display: none;
}

.tl-slide-section-empty .tl-slide-section-content {
  display: none;
}
.tl-slide {
  width: 100%;
  min-height: 100dvh;
  position: relative;
  background-color: #000;
}

.tl-slide-background-container {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  object-fit: contain;
}

.tl-slide-background {
  width: 100%;
  height: 100dvh;
  background-size: contain;
  background-position: center;
  object-fit: contain;
  z-index: 1;
}

.tl-intro-slide {
  height: calc(100dvh + 177px) !important;
  min-height: unset !important;
}

.tl-intro-slide .tl-slideshow-title {
  top: 40vh !important;
}

.tl-slideshow-title {
  position: absolute;
  width: 100%;
  top: 20vh;
  z-index: 10;
  color: #fff;
  text-align: center;
}

.tl-slideshow-title h1 {
  font-size: 48px !important;
  font-weight: 600 !important;
  text-shadow: 0px 0px 10px rgb(0 0 0 / 65%) !important;
  font-family: 'Roboto Slab', sans-serif !important;
  color: #fff !important;
}

.tl-slideshow-title p {
  font-size: 1.5rem !important;
  font-weight: 400 !important;
}

.tl-slide-intro {
  position: absolute;
  bottom: 0;
  left: 0;
  /* position: relative; */
  /* left: 30%; */
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  z-index: 10;
  opacity: 1;
  pointer-events: none;
  background-color: rgba(101, 1, 1, 0.8);
  color: #fff;
  padding: 2rem;
  opacity: 0;
}

/* .tl-slide-intro .tl-date-card-title {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
} */

.tl-slide-sections-wrapper {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.tl-slide-sections {
  position: relative;
  width: 300vw;
  display: flex;
  padding-bottom: 60px;
}

.tl-slide-section {
  display: flex;
  /* padding: 2rem; */
  color: #fff;
  width: 100vw;
  flex-shrink: 0;
}

.tl-slide-section-content {
  background-color: rgba(101, 1, 1, 0.8);
  padding: 2rem;
  max-width: 50%;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .tl-slide-section-content {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .tl-slide-section-content {
    max-height: 250px;
    overflow: scroll;
  }
}

.tl-date-card {
  position: relative;
  /* max-width: 80%; */
  margin: 0 auto;
}

.tl-date-card a {
  color: #fff;
}

.tl-date-card-title {
  position: absolute !important;
  top: -4px !important;
  left: 50px !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  font-family: 'Roboto Slab', sans-serif !important;
  color: #fff !important;
}

.tl-date-card-subtitle {
  font-size: 28px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin: 0 0 0 30px !important;
  font-family: 'Roboto Slab', sans-serif !important;
  color: #fff !important;
}
.tl-date-card-content {
  position: relative;
  padding: 20px;
  font-size: 15px !important;
  line-height: 2;
  margin: 0;
  font-family: 'Merriweather', serif !important;
  color: #fff !important;
}

.tl-date-card::before {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  background-color: #fff;
  height: 1px;
  content: '';
}
.tl-date-card::after {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  background-color: #fff;
  height: 40px;
  content: '';
}

.tl-date-card-title::before {
  position: absolute;
  top: 10px;
  left: -50px;
  width: 40px;
  background-color: #fff;
  height: 1px;
  content: '';
}

.tl-date-card-title::after {
  position: absolute;
  top: 10px;
  right: -50px;
  width: 40px;
  background-color: #fff;
  height: 1px;
  content: '';
}

.tl-date-card-content::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 1px;
  background-color: #fff;
  height: 40px;
  content: '';
}

.tl-arrow {
  position: absolute;
  top: 90vh;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  z-index: 10;
}

.tl-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb05 2s infinite;
  animation: sdb05 2s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb05 {
  0% {
    -webkit-transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

@keyframes sdb05 {
  0% {
    transform: rotate(-45deg) translate(0, 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: rotate(-45deg) translate(-20px, 20px);
    opacity: 0;
  }
}

.tl-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  opacity: 0;
}

.tl-slide-section {
  width: 100vw;
}

@media (max-width: 500px) {
  .tl-slide-section {
    width: 100vw;
  }
}

.tl-slide-navigation {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.tl-slide-dots {
  display: flex;
  gap: 10px;
}

.tl-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tl-slide-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Vertical slide navigation */
.tl-vslide-navigation {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.tl-vslide-dots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tl-vslide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tl-vslide-dot.active {
  background-color: #fff;
  transform: scale(1.2);
}
