/* Tour listing only. Load after the shared homepage styles. */
.tl-page {
  --tl-ink: #173b3e;
  --tl-muted: #687b7e;
  --tl-accent: #0c6466;
  --tl-header-height: 135px;
  background: #fff;
  color: var(--tl-ink);
  padding-bottom: 64px;
  font-family: "DM Sans", Arial, sans-serif;
}

.tl-page *,
.tl-page *::before,
.tl-page *::after {
  box-sizing: border-box;
}
.tl-page [hidden] {
  display: none !important;
}
.tl-page a {
  text-decoration: none;
}
.tl-page button,
.tl-page input,
.tl-page select {
  font: inherit;
}
.tl-page button {
  cursor: pointer;
}
.tl-page a:focus-visible,
.tl-page button:focus-visible,
.tl-page input:focus-visible,
.tl-page select:focus-visible {
  outline: 3px solid #e97053;
  outline-offset: 4px;
}
.tl-page svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.tl-page h1,
.tl-page h2,
.tl-page h3 {
  color: var(--tl-ink);
}
.tl-intro {
  padding: 24px 0 28px;
  background: linear-gradient(120deg, #f1f6f3, #f9faf6 70%);
  border-bottom: 1px solid #e7eeea;
}
.tl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--tl-muted);
}
.tl-breadcrumb a {
  color: var(--tl-accent);
}
.tl-intro-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}
.tl-eyebrow {
  display: block;
  color: var(--tl-accent);
  font-size: 10px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  font-weight: 800;
}
.tl-page .tl-intro h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -1.8px;
  line-height: 1.15;
  margin: 10px 0 12px;
}
.tl-page .tl-intro h1 em {
  color: var(--tl-accent);
  font-family: Georgia, serif;
  font-weight: 400;
}
.tl-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--tl-muted);
}
.tl-search-wrap > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tl-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #dae5df;
  border-radius: 12px;
  padding: 6px 6px 6px 15px;
  box-shadow: 0 5px 20px #123c3e05;
}
.tl-search-box svg {
  color: var(--tl-accent);
}
.tl-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 10px 0;
  background: #fff;
  font-size: 13px;
  color: var(--tl-ink);
}
.tl-search-box button {
  background: var(--tl-accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
}
.tl-destination-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.tl-destination-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce5de;
  border-radius: 22px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}
.tl-destination-shortcuts a.is-active {
  background: var(--tl-ink);
  border-color: var(--tl-ink);
  color: #fff;
}
.tl-destination-shortcuts span {
  font-size: 10px;
  opacity: 0.7;
}
.tl-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}
.tl-sidebar {
  position: sticky;
  top: calc(var(--tl-header-height) + 16px);
  max-height: calc(100vh - var(--tl-header-height) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  border: 1px solid #e3e9e5;
  border-radius: 14px;
  padding: 22px 19px;
  background: #fff;
}
.tl-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tl-page .tl-filter-heading h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.45;
}
.tl-close-filters {
  display: none;
}
.tl-filter-group {
  border: 0;
  border-bottom: 1px solid #edf0ed;
  margin: 22px 0 0;
  padding: 0 0 22px;
  min-width: 0;
}
.tl-filter-group legend {
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  margin-bottom: 14px;
}
.tl-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.tl-check:last-child {
  margin-bottom: 0;
}
.tl-check input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--tl-accent);
  flex-shrink: 0;
}
.tl-check small {
  margin-left: auto;
  font-size: 10px;
  color: var(--tl-muted);
}
.tl-filter-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.tl-apply {
  width: 100%;
  border: 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--tl-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.tl-filter-actions a {
  font-size: 11px;
  text-decoration: underline;
  color: var(--tl-muted);
}
.tl-help {
  background: #f5f8f5;
  padding: 16px;
  border-radius: 10px;
  margin-top: 24px;
}
.tl-help .tl-eyebrow {
  font-size: 8px;
  letter-spacing: 0.07em;
}
.tl-page .tl-help h3 {
  font-size: 17px;
  margin: 10px 0;
  letter-spacing: -0.3px;
}
.tl-help p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--tl-muted);
  margin-bottom: 12px;
}
.tl-help a {
  font-size: 11px;
  font-weight: 700;
  color: var(--tl-accent);
}
.tl-results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.tl-page .tl-results-toolbar h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  line-height: 1.3;
  margin: 0 0 5px;
}
.tl-results-toolbar p {
  font-size: 12px;
  color: var(--tl-muted);
  margin: 0;
}
.tl-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tl-sort-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--tl-muted);
  white-space: nowrap;
}
.tl-sort-label select {
  border: 1px solid #dce4df;
  padding: 10px 9px;
  border-radius: 8px;
  background: #fff;
  color: var(--tl-ink);
  font-size: 12px;
  font-weight: 700;
  max-width: 178px;
}
.tl-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tl-active-filters:not(:empty) {
  margin: -6px 0 20px;
}
.tl-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  border: 1px solid #dce7df;
  background: #f6f9f6;
  border-radius: 20px;
  font-size: 11px;
  color: var(--tl-accent);
}
.tl-filter-chip span:last-child {
  font-size: 15px;
  line-height: 1;
}
.tl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}
.tl-card {
  border: 1px solid #e2e8e3;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.tl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px #153c400c;
}
.tl-card-image-link {
  display: block;
  position: relative;
  aspect-ratio: 1.55;
  overflow: hidden;
  background: #e3ede6;
}
.tl-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.tl-card:hover .tl-card-image {
  transform: scale(1.04);
}
.tl-card-category {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fffffff2;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--tl-accent);
  font-size: 9px;
  font-weight: 800;
}
.tl-card-body {
  padding: 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.tl-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  color: var(--tl-muted);
  font-size: 10px;
}
.tl-card-location svg {
  width: 12px;
  height: 12px;
}
.tl-page .tl-card h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  font-weight: 800;
}
.tl-card h3 a:hover {
  color: var(--tl-accent);
}
.tl-card-caption {
  font-size: 10px;
  line-height: 1.6;
  color: var(--tl-muted);
  margin: auto 0 16px;
  padding-top: 4px;
}
.tl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #edf0ed;
}
.tl-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tl-price > span {
  color: var(--tl-muted);
  font-size: 9px;
}
.tl-price strong {
  font-size: 22px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.tl-price small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}
.tl-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tl-accent);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  padding: 9px 10px;
  border: 1px solid #dce8df;
  border-radius: 7px;
}
.tl-detail-link:hover {
  background: var(--tl-accent);
  color: #fff;
  border-color: var(--tl-accent);
}
.tl-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.tl-pagination a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dce4df;
  border-radius: 8px;
  font-size: 12px;
}
.tl-pagination a[aria-current="page"] {
  background: var(--tl-ink);
  color: #fff;
  border-color: var(--tl-ink);
}
.tl-bottom-note {
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid #e8ede8;
}
.tl-page .tl-bottom-note h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.tl-bottom-note p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--tl-muted);
  max-width: 750px;
  margin: 0;
}
.tl-empty {
  text-align: center;
  padding: 65px 24px;
  background: #f7faf7;
  border: 1px dashed #d7e3da;
  border-radius: 14px;
}
.tl-empty > span {
  font-size: 50px;
  color: var(--tl-accent);
}
.tl-page .tl-empty h3 {
  font-size: 23px;
  margin: 12px 0;
  letter-spacing: -0.5px;
}
.tl-empty p {
  font-size: 13px;
  color: var(--tl-muted);
}
.tl-empty a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--tl-accent);
  text-decoration: underline;
}
.tl-mobile-filter-button {
  display: none;
}
.tl-filter-overlay {
  display: none;
}

@media (max-width: 1100px) {
  .tl-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
  .tl-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tl-intro-layout {
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .tl-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
  }
  .tl-intro-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .tl-page .tl-intro h1 {
    font-size: 37px;
  }
  .tl-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .tl-page.tl-enhanced .tl-sidebar {
    display: none;
  }
  .tl-page.tl-enhanced .tl-mobile-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dce4df;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--tl-ink);
    font-size: 12px;
    font-weight: 700;
  }
  .tl-page.tl-enhanced .tl-sidebar.is-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(350px, 90vw);
    border-radius: 0;
    border: 0;
    z-index: 1002;
    overflow-y: auto;
    padding: 24px;
    max-height: none;
  }
  .tl-page .tl-filter-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #0b252b66;
    z-index: 1001;
  }
  .tl-page.tl-enhanced .tl-close-filters {
    display: block;
    font-size: 26px;
    background: #f3f6f3;
    color: var(--tl-ink);
    border: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
  }
  .tl-help {
    display: none;
  }
}
@media (max-width: 600px) {
  .tl-intro {
    padding-top: 18px;
  }
  .tl-breadcrumb {
    margin-bottom: 20px;
  }
  .tl-page .tl-intro h1 {
    font-size: 34px;
  }
  .tl-results-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .tl-toolbar-actions {
    justify-content: space-between;
  }
  .tl-sort-label select {
    max-width: 165px;
  }
  .tl-destination-shortcuts {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .tl-destination-shortcuts a {
    flex-shrink: 0;
  }
  .tl-card-grid {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-card-image-link {
    aspect-ratio: 1.7;
  }
  .tl-page .tl-card h3 {
    font-size: 17px;
  }
  .tl-card-location {
    font-size: 11px;
  }
  .tl-card-caption {
    font-size: 11px;
  }
  .tl-card-footer {
    align-items: center;
  }
  .tl-detail-link {
    font-size: 12px;
    padding: 11px 14px;
  }
  .tl-price strong {
    font-size: 25px;
  }
  .tl-search-box input {
    font-size: 12px;
  }
  .tl-search-box button {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tl-card,
  .tl-card-image {
    transition: none;
  }
}

.tl-card-image-link .tl-image-fallback {
  display: none;
}
.tl-card-image-link.tl-image-missing .tl-card-image {
  visibility: hidden;
}
.tl-card-image-link.tl-image-missing .tl-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(145deg, #e7f0e8, #f3f5ed);
  color: #557b70;
  font-size: 11px;
  font-weight: 700;
}
.tl-image-fallback svg {
  width: 35px;
  height: 35px;
  opacity: 0.65;
}