/* =================================================================
   Shared "listing results" page — sidebar filters + result cards.
   Same layout/UX as the Hotels results page (hotel-search.css's
   "Results page" section), reused by Tours/Visas/Sightseeing/Cruise/
   Destinations since each is a small static catalog rendered fully
   server-side (no fetch/skeleton loading needed).
   ================================================================= */

.lst-hero {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(155deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-navy-light) 100%);
  color: #fff;
  /* var(--nav-h): the header's transparent menu row floats over the top of
     this band (see header.css), so the content starts below it. */
  padding: calc(0.75rem + var(--nav-h)) 0 2.25rem;
  margin-bottom: 2rem;
}

/* Tours: the same destination photo as the Tours landing hero, under a navy
   scrim that keeps the white menu pills, title and breadcrumb readable. */
.lst-hero--tours {
  background:
    linear-gradient(180deg, rgba(6, 22, 44, 0.78) 0%, rgba(8, 28, 56, 0.55) 45%, rgba(8, 28, 56, 0.72) 100%),
    url("/images/tours/tours-hero.jpg") center 40% / cover no-repeat,
    var(--brand-navy);
}

@media (max-width: 767.98px) {
  .lst-hero--tours {
    background:
      linear-gradient(180deg, rgba(6, 22, 44, 0.8) 0%, rgba(8, 28, 56, 0.62) 50%, rgba(8, 28, 56, 0.76) 100%),
      url("/images/tours/tours-hero-sm.jpg") center / cover no-repeat,
      var(--brand-navy);
  }
}

.lst-hero-inner {
  position: relative;
}

.lst-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.lst-crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.lst-crumbs a:hover {
  color: var(--brand-gold-bright);
}

.lst-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lst-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem);
  margin: 0;
}

.lst-hero-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.2rem 0 0;
}

.lst-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

.lst-hero-back:hover {
  opacity: 1;
  color: var(--brand-gold-bright);
}

.lst-hero-back .icon {
  width: 15px;
  height: 15px;
}

.lst-page {
  padding-bottom: 4rem;
}

.lst-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.lst-filters {
  position: sticky;
  /* clears the fixed header, which stays pinned and compact once scrolled */
  top: calc(106 * var(--hs) + 1rem);
  max-height: calc(100vh - 106 * var(--hs) - 2rem);
  overflow-y: auto;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 95, 184, 0.05);
}

.lst-fhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.lst-fhead b {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.lst-fhead button {
  background: none;
  border: none;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.78rem;
}

.lst-fhead button:hover {
  text-decoration: underline;
}

.lst-fhead b {
  font-size: 1.05rem;
}

.lst-fsec {
  padding: 1rem 0;
  border-top: 1px solid #eaf3ff;
}

.lst-fsec:first-of-type {
  border-top: none;
  padding-top: 0;
}

.lst-fsec h4 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 0.7rem;
}

.lst-fsec[hidden] {
  display: none;
}

.lst-range-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand-gold);
}

/* Dual-handle range: two transparent sliders stacked over one track. */
.lst-range {
  position: relative;
  height: 22px;
  margin: 0.2rem 0.4rem 0;
}

.lst-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 4px;
  background: #e3e8f0;
}

.lst-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px;
  background: var(--brand-navy);
}

.lst-range input[type="range"] {
  position: absolute;
  left: -0.4rem;
  width: calc(100% + 0.8rem);
  top: 0;
  height: 22px;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.lst-range input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: 22px;
}

.lst-range input[type="range"]::-moz-range-track {
  background: transparent;
}

.lst-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--brand-navy);
  box-shadow: 0 1px 5px rgba(30, 95, 184, 0.4);
  cursor: grab;
}

.lst-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--brand-navy);
  box-shadow: 0 1px 5px rgba(30, 95, 184, 0.4);
  cursor: grab;
}

.lst-facet-options.is-collapsed .lst-chk-extra {
  display: none;
}

.lst-more {
  margin-top: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 600;
}

.lst-more:hover {
  text-decoration: underline;
}

.lst-price-val {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.lst-price-val span:first-child {
  color: #8b95a5;
  font-weight: 500;
}

.lst-price-range {
  width: 100%;
  accent-color: var(--brand-navy);
}

.lst-chk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: #4b5565;
}

.lst-chk input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.lst-chk-box {
  width: 18px;
  height: 18px;
  border-radius: 0.3rem;
  border: 1.5px solid #cdd4de;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lst-chk-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lst-chk input:checked + .lst-chk-box {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}

.lst-chk input:checked + .lst-chk-box svg {
  opacity: 1;
}

.lst-chk:hover {
  color: var(--brand-navy);
}

.lst-chk input:focus-visible + .lst-chk-box {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

.lst-chk-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: #9aa4b2;
}

.lst-sortbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.lst-rescount {
  font-size: 0.88rem;
  color: #6b7789;
}

.lst-rescount b {
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.lst-sorttabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lst-stab {
  border: 1px solid #dde3ec;
  border-radius: 2rem;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7789;
  background: #fff;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lst-stab.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

.lst-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lst-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed #dde3ec;
  border-radius: 1rem;
}

.lst-empty h3 {
  color: var(--brand-navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.lst-empty p {
  color: #6b7789;
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.lst-empty button {
  border: 1px solid var(--brand-navy);
  color: var(--brand-navy);
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.lst-empty button:hover {
  background: var(--brand-navy);
  color: #fff;
}

.lst-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid #e6ebf2;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  color: inherit;
  text-decoration: none;
}

.lst-card,
.lst-card * {
  text-decoration: none;
}

.lst-card:hover {
  box-shadow: 0 16px 36px rgba(30, 95, 184, 0.12);
  border-color: #d5dde9;
  transform: translateY(-2px);
  color: inherit;
}

.lst-card:hover .lst-card-name {
  color: var(--brand-gold-bright, var(--brand-gold));
}

.lst-card-image {
  position: relative;
  background-color: #dfe7f1;
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.lst-card-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 2rem;
  background: rgba(30, 95, 184, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.lst-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
}

.lst-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.lst-card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--brand-navy);
}

.lst-card-tagline {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #6b7789;
  margin-bottom: 0.8rem;
}

.lst-card-tagline .icon {
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  color: var(--brand-gold);
}

.lst-card-price {
  text-align: right;
  flex-shrink: 0;
  padding-left: 1rem;
  border-left: 1px solid #eaf3ff;
}

.lst-card-price-label {
  display: block;
  font-size: 0.7rem;
  color: #8b95a5;
  text-transform: uppercase;
}

.lst-card-price-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.lst-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.lst-card-tag {
  font-size: 0.72rem;
  color: #4b5565;
  background: #f4f6fa;
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
}

.lst-card-tag.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #8a6d1a;
  background: var(--brand-gold-soft);
}

.lst-card-tag.rating svg {
  width: 11px;
  height: 11px;
}

.lst-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.5rem 1.05rem;
  border-radius: 2rem;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.83rem;
  transition: background-color 0.2s ease, gap 0.2s ease;
}

.lst-card:hover .lst-card-cta {
  background: var(--brand-gold);
  gap: 0.55rem;
}

.lst-card-cta svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 991.98px) {
  .lst-layout {
    grid-template-columns: 1fr;
  }

  .lst-filters {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .lst-card {
    grid-template-columns: 1fr;
  }

  .lst-card-image {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .lst-card-head {
    flex-direction: column;
  }

  .lst-card-price {
    text-align: left;
  }

  .lst-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =================================================================
   Tour package card (Tours/Search): photo + thumbnails | details | price
   ================================================================= */
.tcard {
  grid-template-columns: 300px minmax(0, 1fr) 270px;
  border-radius: 1.1rem;
  box-shadow: 0 6px 22px rgba(30, 95, 184, 0.06);
}

.tcard .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tcard-media {
  position: relative;
  min-height: 300px;
  background: linear-gradient(145deg, #cfdcec 0%, #e9eff7 100%);
}

.tcard-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.tcard-badge {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  border-radius: 2rem;
  background: rgba(30, 95, 184, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.tcard-thumbs {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.4rem;
}

.tcard-thumb {
  flex: 1 1 0;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.tcard-thumb:hover,
.tcard-thumb.active {
  border-color: #fff;
  opacity: 1;
}

.tcard-main {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem 1.5rem;
  min-width: 0;
}

.tcard-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.tcard-title a {
  color: var(--brand-navy);
}

.tcard-title a:hover {
  color: var(--brand-gold);
}

.tcard-where {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4b5565;
}

.tcard-where .icon {
  margin-top: 0.12rem;
  color: var(--brand-gold);
}

.tcard-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #6b7789;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcard-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tcard-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  border-radius: 2rem;
  background: #f1f4f9;
  color: #3d4a5e;
  font-size: 0.78rem;
  font-weight: 500;
}

.tcard-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-navy);
}

.tcard-chip-spec {
  background: var(--brand-gold-soft, #fbf1da);
  color: #8a6d1a;
}

.tcard-hl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.3rem;
  font-size: 0.88rem;
}

.tcard-hl-head b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-navy);
}

.tcard-hl-head b .icon {
  color: var(--brand-gold);
}

.tcard-hl-head a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--brand-navy);
  font-weight: 600;
  text-decoration: underline !important;
}

.tcard-hl-head a:hover {
  color: var(--brand-gold);
}

.tcard-hl-head a .icon {
  width: 13px;
  height: 13px;
}

.tcard-hl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: #4b5565;
}

.tcard-hl li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tcard-hl .icon {
  margin-top: 0.1rem;
  color: #e0a43a;
}

.tcard-aside {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-left: 1px dashed #dde3ec;
}

.tcard-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tcard-price-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8b95a5;
}

.tcard-off {
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  background: #e4f6ec;
  color: #1a8a55;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.tcard-price {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand-navy);
}

.tcard-was {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.tcard-was s {
  color: #8b95a5;
}

.tcard-was span {
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  background: #fdeaea;
  color: #d33d3d;
  font-weight: 600;
  font-size: 0.78rem;
}

.tcard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 2rem;
  border: 1.5px solid var(--brand-navy);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tcard-btn .icon {
  width: 16px;
  height: 16px;
}

.tcard-btn-primary {
  margin-top: 0.4rem;
  background: var(--brand-navy);
  color: #fff;
}

.tcard-btn-primary:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #fff;
}

.tcard-btn-outline {
  background: #fff;
  color: var(--brand-navy);
}

.tcard-btn-outline:hover {
  background: var(--brand-navy);
  color: #fff;
}

.tcard-facts {
  display: flex;
  margin-top: auto;
  padding: 0.7rem 0.4rem;
  border-radius: 0.8rem;
  background: #f4f7fb;
}

.tcard-facts > div {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0 0.3rem;
  text-align: center;
  font-size: 0.72rem;
  color: #8b95a5;
}

.tcard-facts > div + div {
  border-left: 1px solid #dde3ec;
}

.tcard-facts .icon {
  color: var(--brand-navy);
}

.tcard-facts b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--brand-navy);
}

@media (max-width: 1199.98px) {
  .tcard {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .tcard-aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.25rem;
    border-left: none;
    border-top: 1px dashed #dde3ec;
  }

  .tcard-aside > * {
    grid-column: 1;
  }

  .tcard-aside .tcard-btn,
  .tcard-aside .tcard-facts {
    grid-column: 2;
    margin-top: 0;
  }

  .tcard-aside .tcard-btn-primary { grid-row: 1; }
  .tcard-aside .tcard-btn-outline { grid-row: 2; }
  .tcard-aside .tcard-facts { grid-row: 3; }
}

@media (max-width: 767.98px) {
  .tcard {
    grid-template-columns: 1fr;
  }

  .tcard-media {
    min-height: 0;
    height: 230px;
  }

  .tcard-hl {
    grid-template-columns: 1fr;
  }

  .tcard-aside {
    display: flex;
  }
}

/* Enquiry modal */
.tenq .modal-content {
  border: none;
  border-radius: 1.1rem;
  overflow: hidden;
}

.tenq .modal-header {
  align-items: flex-start;
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: none;
}

.tenq-eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.tenq .modal-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand-navy);
}

.tenq .modal-body {
  padding: 0.5rem 1.5rem 1.5rem;
}

.tenq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.tenq-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b5565;
}

.tenq-grid .wide {
  grid-column: 1 / -1;
}

.tenq-grid input,
.tenq-grid textarea {
  padding: 0.6rem 0.8rem;
  border: 1px solid #d5dce8;
  border-radius: 0.6rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--brand-navy);
}

.tenq-grid input:focus,
.tenq-grid textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(197, 148, 59, 0.2);
}

.tenq-error {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: #d33d3d;
}

.tenq-submit {
  margin-top: 1rem;
}

.tenq-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.5rem 0 0.5rem;
  text-align: center;
  color: var(--brand-navy);
}

.tenq-done[hidden],
#tourEnquiryForm[hidden],
.tenq-error[hidden] {
  display: none;
}

.tenq-done .icon {
  width: 44px;
  height: 44px;
  color: #1a8a55;
}

.tenq-done p {
  margin: 0 0 0.6rem;
  color: #6b7789;
}

@media (max-width: 575.98px) {
  .tenq-grid {
    grid-template-columns: 1fr;
  }
}

.tcard-hl li {
  min-width: 0;
}

.tcard-hl li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Sightseeing: same photo as the Sightseeing landing hero, under a navy scrim. */
.lst-hero--sightseeing {
  background:
    linear-gradient(180deg, rgba(6, 22, 44, 0.78) 0%, rgba(8, 28, 56, 0.55) 45%, rgba(8, 28, 56, 0.72) 100%),
    url("https://images.unsplash.com/photo-1552832230-c0197dd311b5?fm=jpg&q=72&w=1800&auto=format&fit=crop&ixlib=rb-4.1.0") center 52% / cover no-repeat,
    var(--brand-navy);
}

@media (max-width: 767.98px) {
  .lst-hero--sightseeing {
    background:
      linear-gradient(180deg, rgba(6, 22, 44, 0.8) 0%, rgba(8, 28, 56, 0.62) 50%, rgba(8, 28, 56, 0.76) 100%),
      url("https://images.unsplash.com/photo-1552832230-c0197dd311b5?fm=jpg&q=68&w=760&auto=format&fit=crop&ixlib=rb-4.1.0") center / cover no-repeat,
      var(--brand-navy);
  }
}

.tcard-hl b {
  color: var(--brand-navy);
}

/* Grid children must be allowed to shrink below their content, or one long
   nowrap line (a highlight, a chip row) widens the whole page on phones. */
.lst-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.lst-layout > * {
  min-width: 0;
}

.lst-card {
  grid-template-columns: 240px minmax(0, 1fr);
}

.tcard {
  grid-template-columns: 300px minmax(0, 1fr) 270px;
}

/* Phones/tablets: filters fold away behind their header until asked for. */
.lst-fhead-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  .lst-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lst-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lst-fhead {
    cursor: pointer;
  }

  .lst-fhead-toggle {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0.9rem;
    color: var(--brand-navy);
    transition: transform 0.2s ease;
  }

  .lst-fhead-toggle .icon {
    width: 18px;
    height: 18px;
  }

  .lst-filters:not(.is-collapsed) .lst-fhead-toggle {
    transform: rotate(180deg);
  }

  .lst-filters.is-collapsed .lst-fsec {
    display: none;
  }

  .lst-filters.is-collapsed .lst-fhead {
    margin-bottom: 0;
  }
}

@media (max-width: 1199.98px) {
  .tcard {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tcard {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .tcard {
    grid-template-columns: minmax(0, 1fr);
  }
}
