/* Final homepage layout polish. */
html {
  scroll-behavior: smooth !important;
}

.t5-home-page main > section {
  scroll-margin-top: 78px;
}

.t5-home-page .t5-featured-section {
  padding-top: 58px !important;
  padding-bottom: 62px !important;
}

.t5-home-page .t5-featured-section .t5-home-section-head {
  margin-bottom: 24px !important;
}

.t5-home-page .t5-featured-controls {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  width: auto !important;
  height: auto !important;
  pointer-events: auto !important;
}

.t5-home-page .t5-featured-controls .t5-carousel-arrow {
  position: static !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  transform: none !important;
}

.t5-home-page .t5-featured-card {
  border: 1px solid #dfe4ea !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(16, 35, 59, .06) !important;
  transition: transform .28s ease, box-shadow .28s ease !important;
}

.t5-home-page .t5-featured-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 34px rgba(16, 35, 59, .11) !important;
}

.t5-home-page .t5-featured-card img {
  height: 205px !important;
  border-radius: 0 !important;
}

.t5-home-page .t5-featured-card small {
  margin: 15px 18px 0 !important;
  color: #718095 !important;
  font: 700 9px/1.2 "Jost", sans-serif !important;
  letter-spacing: .14em !important;
}

.t5-home-page .t5-featured-card h3 {
  margin: 8px 18px 4px !important;
  color: #111923 !important;
  font: 500 27px/1.05 "Cormorant Garamond", Georgia, serif !important;
}

.t5-home-page .t5-featured-card p {
  margin: 0 18px 18px !important;
  color: #667384 !important;
  font: 400 13px/1.6 "Jost", sans-serif !important;
}

.t5-home-page .t5-home-finder {
  left: 5.2% !important;
  right: 5.2% !important;
  top: auto !important;
  bottom: 108px !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
}

.t5-home-page .t5-featured-row {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.t5-home-page .t5-featured-dots {
  position: relative !important;
  width: 100% !important;
  min-height: 2px !important;
  height: 2px !important;
  margin: 8px auto 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  display: none !important;
}

.t5-home-page .t5-featured-dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 2px !important;
  min-width: 16px !important;
  min-height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #d6e0eb !important;
  opacity: .7 !important;
  box-shadow: none !important;
}

.t5-home-page .t5-featured-dot.is-active {
  flex-basis: 28px !important;
  width: 28px !important;
  background: #123f86 !important;
  opacity: 1 !important;
}

#homeTravelerTestimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

#homeTravelerTestimonials .t5-home-testimonial-card,
#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) {
  min-height: 310px !important;
  padding: 25px !important;
  border-radius: 0 !important;
  background: #fff !important;
  border: 1px solid #dfe4ea !important;
  box-shadow: 0 12px 30px rgba(16, 35, 59, .06) !important;
  transform: none !important;
}

#homeTravelerTestimonials .t5-home-testimonial-card:hover,
#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2):hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 36px rgba(16, 35, 59, .10) !important;
}

#homeTravelerTestimonials .t5-home-testimonial-text,
#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) .t5-home-testimonial-text {
  margin: 0 0 25px !important;
  color: #263447 !important;
  font: 400 15px/1.75 "Jost", sans-serif !important;
}

#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) .t5-home-testimonial-journey,
#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) .t5-home-testimonial-author h6,
#homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) .t5-home-testimonial-author span {
  color: inherit !important;
}

@media (max-width: 900px) {
  #homeTravelerTestimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .t5-home-page .t5-featured-section {
    padding-top: 38px !important;
    padding-bottom: 42px !important;
  }

  .t5-home-page .t5-featured-controls {
    display: none !important;
  }

  .t5-home-page .t5-featured-dots {
    display: flex !important;
  }

  .t5-home-page .t5-featured-card img {
    height: 220px !important;
  }

  .t5-home-page .t5-home-finder {
    left: 20px !important;
    right: 20px !important;
    bottom: 55px !important;
    width: auto !important;
    transform: none !important;
  }

  #homeTravelerTestimonials {
    display: flex !important;
    gap: 14px !important;
    overflow: hidden !important;
  }

  #homeTravelerTestimonials > * {
    flex: 0 0 88% !important;
  }

  #homeTravelerTestimonials .t5-home-testimonial-card,
  #homeTravelerTestimonials .t5-home-testimonial-card:nth-child(2) {
    min-height: 270px !important;
    padding: 22px !important;
  }
}
