/* Exact Travelite AdventureTour hero (tours page only) — match reference layout */

/* DM Sans / DM Serif loaded via local-fonts.css */

:root {
  --tr-primary-color: #ffd200;
  --tr-white-color: #ffffff;
  --tr-bantext-color: #e6e6e6;
  --tr-heading-color: #222222;
  --tr-black-color: #000000;
}

html,
body {
  overflow-x: hidden;
}

.tr_banner_section {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 760px;
  max-height: none;
  background: #111;
  margin: 0;
  padding: 0;
}

.tr_banner_slide {
  position: relative;
  height: 100%;
  width: 100%;
}

.tr_banner_fullslider,
.tr_banner_fullslider .swiper-wrapper,
.tr_banner_fullslider .swiper-slide,
.tr_header_slide {
  height: 100%;
  width: 100%;
}

.tr_header_slide {
  position: relative;
  overflow: hidden;
}

.tr_header_slide_img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 110%;
  height: 110%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-out;
  pointer-events: none;
  overflow: hidden;
}

.tr_header_slide_img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tr_header_slide_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.tr_banner_fullslider .swiper-slide-active .tr_header_slide_img {
  transform: scale(1.03);
}

/* Left content — stays on left only (scoped !important beats global h1/p rules) */
.tr_banner_section .tr_heading_text {
  max-width: 38%;
  width: 38%;
  position: absolute;
  z-index: 10;
  top: 24%;
  left: 5%;
  right: auto;
  color: #fff !important;
  font-family: "DM Sans", sans-serif !important;
  pointer-events: auto;
}

.tr_banner_section .tr_heading_text h5 {
  position: relative;
  display: inline-block;
  font-family: "DM Serif Display", serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  margin: 0 0 12px !important;
  padding-right: 90px;
  text-transform: none !important;
  white-space: normal !important;
}

.tr_banner_section .tr_heading_text h5::after {
  content: "";
  position: absolute;
  left: calc(100% - 80px);
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 2px;
  background-color: var(--tr-primary-color);
}

.tr_banner_section .tr_heading_text h1 {
  font-family: "DM Serif Display", serif !important;
  font-size: 52px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
  max-width: 100% !important;
  width: auto !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

.tr_banner_section .tr_heading_text p {
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
  color: #e6e6e6 !important;
  max-width: 420px !important;
  width: 100% !important;
  padding: 0 0 28px !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

/* Fade slides stack — inactive must not steal hover from CTA */
.tr_banner_fullslider {
  position: relative;
  z-index: 2;
}

.tr_banner_fullslider .swiper-slide {
  pointer-events: none !important;
}

.tr_banner_section .tr_header_slide_img {
  pointer-events: none !important;
}

/* Layout slot under copy — real button is outside Swiper */
.tr_banner_section .w2f-tours-wipe-slot {
  display: block;
  width: 160px;
  height: 48px;
  visibility: hidden;
  pointer-events: none;
}

/*
 * Tours Explore wipe — unique classnames only.
 * Uses background-size (no ::before, no .rr-btn, no transform fill).
 * Lives outside fade Swiper so hover always works.
 */
.tr_banner_section .w2f-tours-wipe {
  position: absolute;
  left: 5%;
  top: 55%;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 152px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid #ffd200 !important;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  color: #000000 !important;
  background-color: #ffd200 !important;
  background-image: linear-gradient(#000000, #000000) !important;
  background-repeat: no-repeat !important;
  background-position: 100% 50% !important;
  background-size: 0% 100% !important;
  transition: background-size 500ms ease, color 500ms ease !important;
  cursor: pointer;
  pointer-events: auto !important;
  transform: none !important;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.tr_banner_section .w2f-tours-wipe::before,
.tr_banner_section .w2f-tours-wipe::after {
  content: none !important;
  display: none !important;
}

.tr_banner_section .w2f-tours-wipe i {
  font-size: 13px;
  line-height: 1;
  color: inherit !important;
}

.tr_banner_section .w2f-tours-wipe:hover,
.tr_banner_section .w2f-tours-wipe:focus-visible {
  color: #ffffff !important;
  background-color: #ffd200 !important;
  background-position: 0% 50% !important;
  background-size: 100% 100% !important;
  border-color: #ffd200 !important;
  transform: none !important;
}

/* Right cards only — scrolling, never cover left content */
.tr_banner_imgslider {
  position: absolute !important;
  top: 18%;
  left: 48% !important;
  right: -60px !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  z-index: 6;
  padding: 10px 0 20px;
  box-sizing: border-box;
  overflow: hidden !important;
}

.tr_banner_imgslider .swiper-wrapper {
  overflow: visible !important;
}

.tr_banner_imgslider .swiper-slide {
  height: auto;
  margin-top: 0 !important;
  padding: 0 !important;
  opacity: 1;
  box-sizing: border-box;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tr_banner_imgslider .swiper-slide:not(.swiper-slide-active) {
  transform: translateY(28px);
  opacity: 0.92;
}

.tr_banner_imgslider .swiper-slide-active {
  transform: translateY(0);
  opacity: 1;
}

.tr_imgslide_box {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.tr_imgslide_box > img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.tr_imgslide_box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0) 0%, rgba(21, 21, 21, 0.82) 100%);
  border-radius: 0 0 6px 6px;
  pointer-events: none;
}

.tr_imgslide_text {
  position: absolute;
  left: 20px;
  right: 16px;
  bottom: 28px;
  z-index: 2;
}

.tr_imgslide_text > img {
  width: auto;
  height: 14px;
  margin-bottom: 8px;
  display: block;
}

.tr_imgslide_text h3 {
  margin: 0;
  padding: 6px 0 4px;
  font-family: "DM Serif Display", serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  color: #fff !important;
}

.tr_imgslide_text h3 a {
  color: #fff !important;
  text-decoration: none !important;
  line-height: inherit !important;
}

.tr_imgslide_text p {
  margin: 0;
  color: #fff !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 1399px) {
  .tr_banner_section {
    height: 680px;
  }
  .tr_banner_section .tr_heading_text {
    max-width: 36%;
    width: 36%;
  }
  .tr_banner_section .tr_heading_text h1 {
    font-size: 44px !important;
    line-height: 1.2 !important;
  }
  .tr_banner_imgslider {
    left: 46% !important;
    right: -40px !important;
    top: 18%;
  }
  .tr_imgslide_box > img {
    height: 360px;
  }
}

@media (max-width: 1199px) {
  .tr_banner_section {
    height: 620px;
  }
  .tr_banner_section .tr_heading_text {
    top: 22%;
    max-width: 38%;
    width: 38%;
  }
  .tr_banner_section .tr_heading_text h1 {
    font-size: 36px !important;
    line-height: 1.22 !important;
  }
  .tr_banner_section .tr_heading_text p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    max-width: 360px !important;
  }
  .tr_banner_imgslider {
    left: 45% !important;
    right: -30px !important;
    top: 22%;
  }
  .tr_imgslide_box > img {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .tr_banner_section {
    height: auto;
    max-height: none;
    padding-bottom: 30px;
    overflow: visible;
  }
  .tr_banner_fullslider,
  .tr_banner_fullslider .swiper-slide,
  .tr_header_slide {
    height: 480px;
  }
  .tr_banner_section .tr_heading_text {
    top: 20%;
    left: 20px;
    right: 20px;
    max-width: 340px;
    width: auto;
    text-align: left;
  }
  .tr_banner_section .tr_heading_text h5,
  .tr_banner_section .tr_heading_text h1,
  .tr_banner_section .tr_heading_text p {
    text-align: left !important;
    white-space: normal !important;
    max-width: 100% !important;
  }
  .tr_banner_section .tr_heading_text h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  .tr_banner_section .tr_heading_text h1 br {
    display: none !important;
  }
  .tr_banner_section .tr_heading_text p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    padding-bottom: 22px !important;
  }
  /* Mobile: card scroll full viewport width */
  .tr_banner_imgslider {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: -40px;
    padding: 0 0 10px !important;
    z-index: 8;
    overflow: hidden !important;
  }
  .tr_banner_imgslider .swiper-wrapper {
    width: auto !important;
  }
  .tr_banner_imgslider .swiper-slide {
    width: auto !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .tr_banner_imgslider .swiper-slide:not(.swiper-slide-active) {
    transform: none !important;
  }
  .tr_imgslide_box > img {
    height: 260px;
  }
}

@media (max-width: 575px) {
  .tr_banner_section .tr_heading_text {
    max-width: 300px;
  }
  .tr_banner_section .tr_heading_text h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .tr_banner_section .tr_heading_text p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  .tr_imgslide_box > img {
    height: 240px;
  }
}
