/* Loaded after style.css: keep the complete mobile banner visible. */
@media (max-width: 767px) {
  .cai-layered-hero {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  .cai-layered-hero .cai-layered-hero__desktop {
    display: none !important;
  }

  .cai-layered-hero .cai-layered-hero__mobile {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Final category-grid card overrides: this stylesheet is enqueued after style.css. */
.cai-tour-grid-card__image,
.cai-tour-grid-card__image img {
  border-radius: 0 !important;
}

.cai-tour-grid-card__image::after {
  display: none !important;
}

.cai-tour-grid-card__departure em {
  padding-left: 19px !important;
}

.cai-tour-grid-card__image {
  background: transparent !important;
}

.cai-tour-grid-card__days {
  margin-top: 10px !important;
}

.cai-tour-grid-card__route-scroll > div {
  align-items: flex-start !important;
  height: 33px !important;
}

.cai-tour-grid-card__route-scroll span {
  display: block !important;
  width: 70px !important;
  height: 32px !important;
  padding: 0 6px !important;
  color: #075df0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.cai-tour-grid-card__route-scroll span::before {
  top: 23px !important;
  left: 6px !important;
}

.cai-tour-grid-card__route-scroll span::after {
  top: 26px !important;
  right: -1px !important;
  width: 63px !important;
}

/* Route stops: labels above a segmented blue path, with a compact drag bar. */
.cai-tour-grid-card__route-scroll {
  margin: 7px 0 9px !important;
  padding: 0 0 7px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: #858585 #f0f1f3 !important;
}

.cai-tour-grid-card__route-scroll::-webkit-scrollbar {
  display: block !important;
  height: 6px !important;
}

.cai-tour-grid-card__route-scroll::-webkit-scrollbar-track {
  background: #f0f1f3 !important;
  border-radius: 9px !important;
}

.cai-tour-grid-card__route-scroll::-webkit-scrollbar-thumb {
  background: #858585 !important;
  border-radius: 9px !important;
}

.cai-tour-grid-card__route-scroll > div {
  display: flex !important;
  align-items: flex-start !important;
  height: 37px !important;
  min-width: max-content !important;
  padding: 0 2px !important;
}

.cai-tour-grid-card__route-scroll span {
  position: relative !important;
  display: block !important;
  width: 70px !important;
  height: 37px !important;
  padding: 0 5px !important;
  color: #075df0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 13px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.cai-tour-grid-card__route-scroll span::before {
  top: 23px !important;
  left: 5px !important;
  width: 7px !important;
  height: 7px !important;
  border: 2px solid #0765ff !important;
  border-radius: 50% !important;
  background: #fff !important;
}

.cai-tour-grid-card__route-scroll span::after {
  top: 26px !important;
  right: 0 !important;
  width: 61px !important;
  height: 2px !important;
  background: #0765ff !important;
}

.cai-tour-grid-card__actions {
  flex: 1 1 auto !important;
}

.cai-tour-grid-card footer .cai-tour-grid-card__pdf {
  width: 38px !important;
  flex: 0 0 38px !important;
  border: 2px solid #ff7100 !important;
  background: #fff !important;
  color: #ff7100 !important;
  font-size: 0 !important;
  font-weight: 700 !important;
}

.cai-tour-grid-card footer .cai-tour-grid-card__pdf span::before {
  content: "PDF";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.cai-tour-grid-card footer .cai-tour-grid-card__whatsapp {
  background: #fff !important;
  color: #159947 !important;
}

.cai-tour-grid-card footer .cai-tour-grid-card__detail {
  min-width: 0 !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  width: auto !important;
  padding: 0 20px !important;
  white-space: nowrap !important;
}

/* Higher specificity beats the older compact-card padding in style.css. */
body .cai-tour-category-grid .cai-tour-grid-card footer .cai-tour-grid-card__actions .cai-tour-grid-card__detail {
  padding: 0 20px !important;
}

/* Clean route path: drag/swipe remains available, but no slider bar is shown. */
body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll {
  margin: 8px 0 7px !important;
  padding: 0 0 3px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll::-webkit-scrollbar {
  display: none !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll > div {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  height: 35px !important;
  min-width: max-content !important;
  padding: 0 !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll > div::before {
  position: absolute !important;
  top: 25px !important;
  right: 34px !important;
  left: 4px !important;
  height: 2px !important;
  background: #0765ff !important;
  content: "" !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll span {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 70px !important;
  height: 35px !important;
  padding: 0 4px !important;
  background: transparent !important;
  color: #075df0 !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 12px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll span::before {
  top: 21px !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border: 2px solid #0765ff !important;
  border-radius: 50% !important;
  background: #fff !important;
  transform: translateX(-50%) !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll span::after {
  display: none !important;
}

/* Category heading and help CTA follow the supplied editorial composition. */
body .cai-tour-category-grid .cai-tour-category-grid__head {
  margin: 0 auto 34px !important;
  text-align: center !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head > p {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  margin: 0 0 7px !important;
  color: #091947 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: .29em !important;
  line-height: 1 !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head > p span {
  display: block !important;
  width: 44px !important;
  height: 2px !important;
  background: #1683ff !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head h2 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 0 !important;
  color: #061743 !important;
  font-size: clamp(33px,4.6vw,62px) !important;
  font-weight: 750 !important;
  letter-spacing: -.06em !important;
  line-height: 1.04 !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head h2 > i {
  color: #071b4c !important;
  font-size: .67em !important;
  transform: translateY(-1px) !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head h2 em {
  color: #0876f8 !important;
  font-family: Georgia,serif !important;
  font-size: 1.08em !important;
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: -.09em !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__head > div {
  margin: 8px auto 0 !important;
  color: #14285c !important;
  font-size: 17px !important;
  font-weight: 400 !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__help {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 31px !important;
  color: #14285c !important;
  font-size: 14px !important;
  font-style: italic !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__help a {
  display: inline-flex !important;
  align-items: center !important;
  color: #075df0 !important;
  border-bottom: 2px solid #075df0 !important;
  font-style: normal !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

body .cai-tour-category-grid .cai-tour-category-grid__help a b {
  margin-left: 5px !important;
  font-size: 18px !important;
}

@media (max-width:640px){
  body .cai-tour-category-grid .cai-tour-category-grid__head > p{gap:10px!important;font-size:10px!important;letter-spacing:.18em!important}
  body .cai-tour-category-grid .cai-tour-category-grid__head > p span{width:25px!important}
  body .cai-tour-category-grid .cai-tour-category-grid__head h2{gap:8px!important;font-size:34px!important}
  body .cai-tour-category-grid .cai-tour-category-grid__head > div{font-size:14px!important}
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll span:first-child {
  padding-left: 0 !important;
  text-align: left !important;
}

body .cai-tour-category-grid .cai-tour-grid-card .cai-tour-grid-card__route-scroll span:first-child::before {
  left: 0 !important;
  transform: none !important;
}
