:root {
  --tours-ink: #142b2d;
  --tours-green: #006847;
  --tours-green-dark: #004b35;
  --tours-green-soft: #eaf5f0;
  --tours-gold-soft: #fff3d6;
  --tours-muted: #61706f;
  --tours-line: #dce5e1;
  --tours-surface: #ffffff;
  --tours-page: #fbfcfb;
  --tours-shadow: 0 10px 30px rgba(20, 52, 43, .08);
}

html { scroll-behavior: smooth; }

.tours-listing-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--tours-page);
  color: var(--tours-ink);
  font-family: var(--mtp-font-sans, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
  font-weight: 400;
}

.tours-listing-page *,
.tours-listing-page *::before,
.tours-listing-page *::after { box-sizing: border-box; }

.tours-listing-page .tours-navigation,
.tours-listing-page .tours-navigation:not(.top-nav-collapse) {
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid rgba(12, 54, 41, .08);
  box-shadow: 0 2px 12px rgba(16, 52, 42, .07);
}

.tours-listing-page .tours-navigation .navbar-brand,
.tours-listing-page .tours-navigation .nav-link {
  border-radius: 0 !important;
  color: var(--tours-ink) !important;
}

.tours-listing-page .tours-navigation .navbar-toggler { border-color: rgba(20, 43, 45, .26); }
.tours-listing-page .tours-navigation .navbar-toggler-icon { filter: invert(1); }
.tours-listing-page .tours-navigation .nav-link:hover,
.tours-listing-page .tours-navigation .nav-link:focus { color: var(--tours-green) !important; }

.tours-listing-page .tours-navigation .topnav > .nav-item:nth-child(5) > .nav-link {
  position: relative;
  color: var(--tours-green) !important;
}

.tours-listing-page .tours-navigation .topnav > .nav-item:nth-child(5) > .nav-link::before {
  position: absolute;
  right: 10px;
  bottom: 2px;
  left: 10px;
  height: 2px;
  background: var(--tours-green);
  content: "";
}

.tours-listing-page .tours-navigation .topnav > .nav-item:last-child > .nav-link {
  margin-left: 7px;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 8px !important;
  background: var(--tours-green);
  color: #fff !important;
}

.tours-listing-page .tours-navigation .topnav > .nav-item:last-child > .nav-link:hover,
.tours-listing-page .tours-navigation .topnav > .nav-item:last-child > .nav-link:focus {
  background: var(--tours-green-dark);
  color: #fff !important;
}

.tours-main { padding-top: 55px; }

.tours-container {
  width: calc(100% - 64px);
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.tours-hero {
  position: relative;
  min-height: 455px;
  overflow: hidden;
  background-color: #f8fbf8;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .99) 33%, rgba(255, 255, 255, .92) 44%, rgba(255, 255, 255, .16) 67%, rgba(255, 255, 255, 0) 100%),
    url("../../img/home/train_nine_arch_bridge.jpg");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tours-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42px;
  background: linear-gradient(0deg, rgba(9, 58, 39, .1), transparent);
  content: "";
  pointer-events: none;
}

.tours-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 455px;
  align-items: center;
}

.tours-hero-copy {
  width: 47%;
  max-width: 590px;
  padding: 43px 0 38px;
}

.tours-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--tours-green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tours-eyebrow span {
  width: 23px;
  height: 2px;
  background: var(--tours-green);
}

.tours-hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--tours-ink);
  font-size: clamp(2.6rem, 4.3vw, 4.55rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .98;
}

.tours-hero h1 em {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  color: var(--tours-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04em;
  font-weight: 500;
  letter-spacing: -.035em;
}

.tours-hero h1 em::after {
  display: inline-block;
  width: 70px;
  height: 18px;
  margin-left: 13px;
  border-top: 2px dashed var(--tours-green);
  content: "\f072";
  font-family: "Font Awesome 5 Free";
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  line-height: 0;
  transform: rotate(-8deg);
  vertical-align: middle;
}

.tours-hero-lead {
  max-width: 520px;
  margin: 23px 0 0;
  color: #3f5252;
  font-size: .96rem;
  line-height: 1.68;
}

.tours-hero-trust {
  display: flex;
  margin-top: 27px;
  flex-wrap: wrap;
  gap: 17px 33px;
}

.tours-hero-trust > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tours-trust-icon {
  display: inline-flex;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tours-green-soft);
  color: var(--tours-green);
  font-size: 1.1rem;
}

.tours-trust-icon--gold {
  background: var(--tours-gold-soft);
  color: #a96d08;
}

.tours-hero-trust strong {
  color: #213737;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: capitalize;
}

.tours-discovery { padding: 20px 0 36px; }

.tour-search-panel {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid var(--tours-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--tours-shadow);
}

.tour-search-row {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
}

.tour-search-box {
  position: relative;
  display: block;
  margin: 0;
}

.tour-search-box i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #71817d;
  transform: translateY(-50%);
}

.tour-search-box input,
.tour-sort select,
.tour-filter-field select {
  min-height: 47px;
  border: 1px solid #d3ded9;
  border-radius: 7px;
  background-color: #fff;
  color: var(--tours-ink);
  font-size: .875rem;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.tour-search-box input {
  width: 100%;
  padding: 0 17px 0 44px;
}

.tour-search-box input:focus,
.tour-sort select:focus,
.tour-filter-field select:focus {
  border-color: var(--tours-green);
  box-shadow: 0 0 0 3px rgba(0, 104, 71, .12);
}

.tour-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #354a48;
  font-size: .82rem;
  white-space: nowrap;
}

.tour-sort select {
  min-width: 220px;
  padding: 0 38px 0 13px;
}

.tour-category-tabs {
  display: flex;
  margin-top: 17px;
  flex-wrap: wrap;
  gap: 10px;
}

.tour-category-tabs button,
.tour-filter-toggle,
.tour-results-heading button,
.tour-filter-heading button,
.tour-save-button,
.tour-empty-state button {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.tour-category-tabs button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #d7e1dc;
  border-radius: 7px;
  background: #fff;
  color: #314541;
  font-size: .8rem;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.tour-category-tabs button:hover { border-color: #83ae9d; color: var(--tours-green); transform: translateY(-1px); }
.tour-category-tabs button.active { border-color: var(--tours-green); background: var(--tours-green); color: #fff; box-shadow: 0 5px 13px rgba(0, 104, 71, .18); }

.tour-filter-toggle {
  display: none;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 13px;
  padding: 10px 14px;
  border: 1px solid var(--tours-line);
  border-radius: 8px;
  background: #fff;
  color: var(--tours-green-dark);
  font-size: .875rem;
  font-weight: 700;
}

.tour-filter-toggle-label { display: inline-flex; align-items: center; gap: 8px; }
.tour-filter-toggle > span { color: var(--tours-muted); font-size: .75rem; font-weight: 500; }
.tour-filter-toggle > .tour-filter-toggle-label { color: var(--tours-green-dark); font-size: .875rem; font-weight: 700; }

.tours-results-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 25px;
}

.tour-filters > form,
.tour-filter-help {
  border: 1px solid var(--tours-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(20, 52, 43, .05);
}

.tour-filters > form { padding: 22px; }

.tour-filter-heading,
.tour-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tour-filter-heading { margin-bottom: 21px; }
.tour-filter-heading h2 { margin: 0; color: var(--tours-ink); font-size: .94rem; font-weight: 800; text-transform: uppercase; }

.tour-filter-heading button,
.tour-results-heading button {
  padding: 3px;
  background: transparent;
  color: var(--tours-green);
  font-size: .74rem;
  font-weight: 700;
}

.tour-filter-heading button i,
.tour-results-heading button i { margin-left: 5px; }

.tour-filter-field {
  display: block;
  margin: 0 0 17px;
}

.tour-filter-field > span,
.tour-price-filter > label {
  display: block;
  margin: 0 0 7px;
  color: #304440;
  font-size: .76rem;
  font-weight: 700;
}

.tour-filter-field select { width: 100%; min-height: 42px; padding: 0 11px; }

.tour-price-filter { margin: 4px 0 19px; }
.tour-price-filter label small { font-size: .7rem; font-weight: 500; }

.tour-price-filter input[type="range"] {
  width: 100%;
  height: 5px;
  margin: 8px 0 10px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tours-green) var(--tour-range-progress, 100%), #d8e4df var(--tour-range-progress, 100%));
  outline: 0;
}

.tour-price-filter input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--tours-green);
  box-shadow: 0 1px 4px rgba(0, 57, 38, .35);
  cursor: pointer;
}

.tour-price-filter input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--tours-green);
  box-shadow: 0 1px 4px rgba(0, 57, 38, .35);
  cursor: pointer;
}

.tour-price-filter input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(0, 104, 71, .15); }

.tour-price-filter > div {
  display: flex;
  justify-content: space-between;
  color: #6a7875;
  font-size: .68rem;
}

.tour-price-filter strong { color: #334844; font-weight: 600; }

.tour-apply-button {
  width: 100%;
  min-height: 47px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #087b58, var(--tours-green));
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease;
}

.tour-apply-button:hover { box-shadow: 0 7px 15px rgba(0, 104, 71, .2); transform: translateY(-1px); }

.tour-filter-help {
  display: grid;
  margin-top: 17px;
  padding: 20px;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  background: linear-gradient(145deg, #fffdf8, #f8f4eb);
}

.tour-filter-help-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tours-green-soft);
  color: var(--tours-green);
}

.tour-filter-help h3 { margin: 1px 0 6px; color: var(--tours-ink); font-size: .82rem; font-weight: 800; }
.tour-filter-help p { margin: 0 0 12px; color: #51625e; font-size: .75rem; line-height: 1.55; }
.tour-filter-help a { display: inline-flex; min-height: 35px; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #92b2a6; border-radius: 6px; color: var(--tours-green); font-size: .75rem; font-weight: 700; }
.tour-filter-help a:hover { background: var(--tours-green); color: #fff; text-decoration: none; }

.tour-results-heading { min-height: 32px; margin-bottom: 12px; }
.tour-results-heading p { margin: 0; color: #415450; font-size: .8rem; }
.tour-results-heading p i { margin-right: 6px; color: var(--tours-green); }

.tour-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.tour-listing-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dbe4e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 52, 43, .07);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tour-listing-card:hover {
  border-color: #b7ccc3;
  box-shadow: 0 14px 32px rgba(20, 52, 43, .12);
  transform: translateY(-3px);
}

.tour-listing-card[hidden] { display: none; }

.tour-card-media {
  position: relative;
  height: 235px;
  overflow: hidden;
  flex: 0 0 235px;
  background: #dce8e2;
}

.tour-card-media > a { display: block; width: 100%; height: 100%; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tour-listing-card:hover .tour-card-media > a img { transform: scale(1.035); }

.tour-popular-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #16855f;
  box-shadow: 0 3px 8px rgba(0, 54, 36, .25);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tour-save-button {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(17, 46, 40, .27);
  color: #fff;
  font-size: 1.14rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  transition: background .18s ease, transform .18s ease;
}

.tour-save-button:hover,
.tour-save-button[aria-pressed="true"] { background: #fff; color: #c44753; transform: scale(1.05); }

.tour-card-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.tour-card-meta {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  gap: 12px;
  color: #455753;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tour-card-meta > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.tour-card-meta > span:first-child i { color: var(--tours-green); }

.tour-card-country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tours-green-dark);
  text-transform: none;
}

.tour-card-country img {
  width: 22px;
  height: 15px;
  border: 1px solid rgba(14, 52, 40, .14);
  border-radius: 1px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(9, 24, 48, .12);
}

.tour-listing-card h2 {
  margin: 0 0 10px;
  color: var(--tours-ink);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.18;
}

.tour-listing-card h2 a { color: inherit; }
.tour-listing-card h2 a:hover { color: var(--tours-green); text-decoration: none; }

.tour-listing-card p {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #536461;
  font-size: .81rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.tour-card-footer > span { color: var(--tours-green-dark); font-size: .76rem; font-weight: 600; }
.tour-card-footer > span strong { font-size: 1.12rem; font-weight: 800; }

.tour-card-footer > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid #a9c2b8;
  border-radius: 7px;
  color: var(--tours-green);
  font-size: .77rem;
  font-weight: 700;
  white-space: nowrap;
}

.tour-card-footer > a:hover { border-color: var(--tours-green); background: var(--tours-green); color: #fff; text-decoration: none; }
.tour-card-footer > a i { transition: transform .18s ease; }
.tour-card-footer > a:hover i { transform: translateX(2px); }

.tour-empty-state {
  padding: 70px 24px;
  border: 1px dashed #b9ccc5;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.tour-empty-state > span { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 15px; border-radius: 50%; background: var(--tours-green-soft); color: var(--tours-green); font-size: 1.45rem; }
.tour-empty-state h2 { margin: 0 0 8px; color: var(--tours-ink); font-size: 1.25rem; font-weight: 800; }
.tour-empty-state p { margin: 0 0 18px; color: var(--tours-muted); font-size: .875rem; }
.tour-empty-state button { min-height: 40px; padding: 8px 15px; border-radius: 7px; background: var(--tours-green); color: #fff; font-size: .8rem; font-weight: 700; }

.tour-planning { padding: 0 0 30px; }

.tour-planning-card {
  position: relative;
  display: grid;
  min-height: 190px;
  overflow: hidden;
  align-items: center;
  padding: 27px 72px 27px 320px;
  border: 1px solid #e3e8df;
  border-radius: 15px;
  background:
    radial-gradient(circle at 16% 120%, rgba(61, 145, 102, .26), transparent 33%),
    linear-gradient(110deg, #f3f3e9, #fffef9 48%, #f4f6ed);
  box-shadow: 0 8px 25px rgba(20, 52, 43, .05);
}

.tour-planning-art {
  position: absolute;
  bottom: -56px;
  left: 66px;
  display: flex;
  width: 210px;
  height: 210px;
  align-items: center;
  justify-content: center;
  border: 26px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  background: linear-gradient(145deg, #8ecab0, #296f58);
  color: #fff;
  font-size: 4.2rem;
  transform: rotate(-8deg);
}

.tour-planning-copy { position: relative; z-index: 1; max-width: 820px; }
.tour-planning-copy h2 { margin: 0 0 9px; color: var(--tours-ink); font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; }
.tour-planning-copy > p { max-width: 700px; margin: 0 0 16px; color: #4d5d59; font-size: .83rem; line-height: 1.6; }

.tour-planning-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 24px; }
.tour-planning-actions > a { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 7px; background: var(--tours-green); color: #fff; font-size: .78rem; font-weight: 700; }
.tour-planning-actions > a:hover { background: var(--tours-green-dark); color: #fff; text-decoration: none; }
.tour-planning-actions > span { color: #304a43; font-size: .71rem; font-weight: 600; }
.tour-planning-actions > span i { margin-right: 5px; color: var(--tours-green); }

.tour-planning-plane {
  position: absolute;
  top: 42px;
  right: 47px;
  color: #a89a66;
  font-size: 2.2rem;
  opacity: .64;
  transform: rotate(-16deg);
}

.tour-planning-plane::after {
  position: absolute;
  top: 24px;
  right: 14px;
  width: 145px;
  height: 55px;
  border-bottom: 2px dashed rgba(142, 129, 82, .55);
  border-radius: 50%;
  content: "";
}

.tour-benefits { padding: 25px 0; background: linear-gradient(110deg, #034735, #006248 58%, #014430); color: #fff; }
.tour-benefits .tours-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tour-benefits article { display: grid; align-items: center; grid-template-columns: 43px minmax(0, 1fr); gap: 14px; }
.tour-benefits article > i { color: #d8f3e6; font-size: 1.9rem; }
.tour-benefits h2 { margin: 0 0 3px; color: #fff; font-size: .78rem; font-weight: 800; }
.tour-benefits p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .71rem; line-height: 1.5; }

.tours-listing-page .train-flow-footer { border-top: 0; background: #fff; color: #50635e; }
.tours-listing-page .train-flow-footer a { color: var(--tours-green); }

.tour-category-tabs button:focus-visible,
.tour-filter-toggle:focus-visible,
.tour-results-heading button:focus-visible,
.tour-filter-heading button:focus-visible,
.tour-save-button:focus-visible,
.tour-apply-button:focus-visible,
.tour-card-footer > a:focus-visible,
.tour-planning-actions > a:focus-visible,
.tour-empty-state button:focus-visible {
  outline: 3px solid rgba(0, 104, 71, .28);
  outline-offset: 2px;
}

@media (max-width: 1199.98px) {
  .tours-hero-copy { width: 53%; }
  .tours-hero h1 em::after { width: 48px; }
  .tour-card-media { height: 210px; flex-basis: 210px; }
  .tour-card-footer { align-items: flex-start; flex-direction: column; }
  .tour-card-footer > a { width: 100%; justify-content: center; }
  .tour-planning-card { padding-left: 280px; }
  .tour-planning-art { left: 43px; }
}

@media (max-width: 991.98px) {
  .tours-container { width: calc(100% - 40px); }

  .tours-listing-page .tours-navigation .navbar-collapse {
    margin: 8px -15px -8px;
    padding: 10px 20px 18px;
    background: #fff;
    border-top: 1px solid var(--tours-line);
  }

  .tours-listing-page .tours-navigation .topnav > .nav-item:nth-child(5) > .nav-link::before { display: none; }
  .tours-listing-page .tours-navigation .topnav > .nav-item:last-child > .nav-link { display: inline-flex; margin: 7px 0 0; }

  .tours-hero,
  .tours-hero-content { min-height: 420px; }

  .tours-hero { background-image: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 43%, rgba(255, 255, 255, .75) 65%, rgba(255, 255, 255, .18)), url("../../img/home/train_nine_arch_bridge.jpg"); }
  .tours-hero-copy { width: 62%; }
  .tours-hero h1 { font-size: 3.3rem; }
  .tours-hero-trust { gap: 15px; }

  .tour-search-row { grid-template-columns: 1fr; gap: 13px; }
  .tour-sort { justify-content: flex-end; }
  .tour-sort select { min-width: 250px; }

  .tours-results-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 18px; }
  .tour-filters > form { padding: 18px; }
  .tour-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .tour-card-media { height: 270px; flex-basis: 270px; }
  .tour-card-footer { align-items: center; flex-direction: row; }
  .tour-card-footer > a { width: auto; }

  .tour-planning-card { min-height: 210px; padding: 27px 45px 27px 220px; }
  .tour-planning-art { left: 28px; width: 165px; height: 165px; border-width: 19px; font-size: 3.2rem; }
  .tour-planning-plane { display: none; }
  .tour-benefits .tours-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 38px; }
}

@media (max-width: 767.98px) {
  .tours-main { padding-top: 52px; }
  .tours-container { width: calc(100% - 28px); }

  .tours-hero {
    min-height: 500px;
    background-image: linear-gradient(0deg, rgba(9, 37, 31, .91), rgba(9, 37, 31, .25)), url("../../img/home/train_nine_arch_bridge.jpg");
    background-position: center;
  }

  .tours-hero-content { min-height: 500px; align-items: flex-end; }
  .tours-hero-copy { width: 100%; max-width: 620px; padding: 110px 0 37px; }
  .tours-eyebrow { color: #c6f1df; }
  .tours-eyebrow span { background: #c6f1df; }
  .tours-hero h1 { max-width: 500px; color: #fff; font-size: clamp(2.45rem, 11vw, 3.5rem); text-shadow: 0 2px 14px rgba(0, 0, 0, .22); }
  .tours-hero h1 em { display: block; width: max-content; margin-top: 4px; color: #c8f2df; }
  .tours-hero h1 em::after { display: none; }
  .tours-hero-lead { margin-top: 17px; color: rgba(255, 255, 255, .88); font-size: .88rem; }
  .tours-hero-trust { margin-top: 20px; }
  .tours-hero-trust strong { color: #fff; }
  .tours-trust-icon { background: rgba(255, 255, 255, .16); color: #fff; }
  .tours-trust-icon--gold { background: rgba(255, 225, 159, .2); color: #ffe3a3; }

  .tour-search-panel { padding: 16px; }
  .tour-sort { align-items: stretch; flex-direction: column; gap: 6px; }
  .tour-sort select { width: 100%; min-width: 0; }
  .tour-category-tabs { flex-wrap: nowrap; margin-right: -16px; margin-left: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: thin; }
  .tour-category-tabs button { flex: 0 0 auto; }

  .tour-filter-toggle { display: flex; gap: 8px; }
  .tours-results-layout { display: block; }
  .tour-filters { display: none; margin-bottom: 17px; }
  .tour-filters.is-open { display: block; }
  .tour-filter-help { display: none; }
  .tour-results-heading button { display: none; }
  .tour-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-card-media { height: 200px; flex-basis: 200px; }
  .tour-card-footer { align-items: flex-start; flex-direction: column; }
  .tour-card-footer > a { width: 100%; }

  .tour-planning-card { display: block; min-height: 0; padding: 28px 25px; }
  .tour-planning-art { display: none; }
  .tour-benefits .tours-container { gap: 20px; }
}

@media (max-width: 575.98px) {
  .tours-container { width: calc(100% - 20px); }
  .tours-listing-page .tours-navigation .navbar-brand { max-width: calc(100% - 48px); margin-right: 0; }
  .tours-listing-page .tours-navigation .navbar-brand span { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }

  .tours-hero,
  .tours-hero-content { min-height: 530px; }
  .tours-hero-copy { padding-bottom: 29px; }
  .tours-hero h1 { font-size: 2.6rem; }
  .tours-hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tours-hero-trust > div { display: block; text-align: center; }
  .tours-trust-icon { width: 39px; height: 39px; margin: 0 auto 7px; }
  .tours-hero-trust strong { font-size: .63rem; }

  .tours-discovery { padding-top: 12px; }
  .tour-search-panel { margin-bottom: 12px; padding: 13px; }
  .tour-category-tabs { margin-right: -13px; margin-left: -13px; padding-right: 13px; padding-left: 13px; }
  .tour-category-tabs button { min-height: 38px; padding: 7px 13px; font-size: .74rem; }
  .tour-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-card-media { height: 220px; flex-basis: 220px; }
  .tour-card-content { padding: 17px; }
  .tour-card-footer { align-items: center; flex-direction: row; }
  .tour-card-footer > a { width: auto; }

  .tour-planning { padding-bottom: 18px; }
  .tour-planning-card { padding: 24px 19px; border-radius: 11px; }
  .tour-planning-actions { align-items: flex-start; flex-direction: column; }
  .tour-planning-actions > a { width: 100%; justify-content: center; }

  .tour-benefits { padding: 23px 0; }
  .tour-benefits .tours-container { grid-template-columns: 1fr; gap: 18px; }
  .tour-benefits article { grid-template-columns: 38px minmax(0, 1fr); }
  .tour-benefits article > i { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-listing-card,
  .tour-card-media img,
  .tour-category-tabs button,
  .tour-save-button,
  .tour-apply-button,
  .tour-card-footer > a i { transition: none; }
}
