:root {
  --category-canvas: #f5f1e9;
  --category-ink: #062f2b;
  --category-copy: #536059;
  --category-line: #d8d1c3;
  --category-accent: #0a655b;
}

body:has(.tour-category-landing) main { padding-top: 0 !important; }

.tour-category-index,
.tour-category-landing {
  min-height: 70vh;
  background: var(--category-canvas);
  color: var(--category-ink);
}

.tour-category-index { padding: 76px 0; }
.tour-category-landing { padding: 0 0 96px; }

.tour-category-index__intro { max-width: 760px; text-align: center; }
.tour-category-index__intro p,
.tour-category-landing__eyebrow {
  margin: 0;
  color: var(--category-accent);
  font: 700 .68rem/1.2 "DM Sans", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tour-category-index h1,
.tour-category-landing h2 {
  margin: 12px 0;
  color: var(--category-ink);
  font: 500 clamp(2rem, 4vw, 3.4rem)/1.03 "Playfair Display", Georgia, serif;
  letter-spacing: -.035em;
}

.tour-category-index__intro > span,
.tour-category-landing__browse header > span {
  display: block;
  color: var(--category-copy);
  line-height: 1.55;
}

.tour-category-index__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.tour-category-index__card {
  position: relative;
  display: grid;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #183e38;
  color: #fff;
  text-decoration: none;
}

.tour-category-index__card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .62));
}

.tour-category-index__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-category-index__card span,
.tour-category-index__card i { position: absolute; z-index: 1; bottom: 15px; }
.tour-category-index__card span { left: 16px; font-weight: 800; }
.tour-category-index__card i { right: 16px; }

.tour-category-landing__hero {
  position: relative;
  min-height: clamp(400px, 31.5vw, 600px);
  overflow: hidden;
  background: #173e38;
}

.tour-category-landing__hero picture,
.tour-category-landing__hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-category-landing__hero picture img { display: block; object-fit: cover; }
.tour-category-landing__hero picture::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 23, 20, .7), rgba(0, 23, 20, .32) 68%, rgba(0, 23, 20, .42));
}

.tour-category-landing__hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: inherit;
  padding-top: 24px;
  padding-bottom: 24px;
  color: #fff;
}

.tour-category-landing__hero-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.tour-category-landing__hero-badges span {
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, .13);
  font: 700 .61rem/1 "DM Sans", sans-serif;
  letter-spacing: .02em;
}

.tour-category-landing__hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font: 500 clamp(2.9rem, 6vw, 5.6rem)/.95 "Playfair Display", Georgia, serif;
  letter-spacing: -.045em;
}

.tour-category-landing__hero-description {
  max-width: 530px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(.88rem, 1.2vw, 1rem);
  line-height: 1.55;
}

.tour-category-landing__promise {
  padding-top: clamp(64px, 8vw, 112px);
  text-align: center;
}

.tour-category-landing__promise > h2 {
  max-width: 860px;
  margin: 0 auto 12px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 2.65vw, 2.8rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.045em;
}

.tour-category-landing__promise > h2 em { font-weight: 400; }
.tour-category-landing__promise > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--category-copy);
  font: 400 clamp(.98rem, 1.15vw, 1.08rem)/1.65 "DM Sans", sans-serif;
}

.tour-category-landing__highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: clamp(42px, 5vw, 64px);
  text-align: left;
}

.tour-category-landing__highlights article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.tour-category-landing__highlights i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--category-ink);
  color: #fff;
  font-size: .62rem;
}

.tour-category-landing__highlights h3 {
  margin: 0 0 4px;
  color: var(--category-ink);
  font: 700 .87rem/1.25 "DM Sans", sans-serif;
}

.tour-category-landing__highlights p {
  margin: 0;
  color: var(--category-copy);
  font: 400 .82rem/1.55 "DM Sans", sans-serif;
}

.tour-category-landing__story {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(360px, 1fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  width: min(100% - 40px, 1320px);
  margin-top: clamp(66px, 9vw, 126px);
}

.tour-category-landing__story-image {
  width: min(100%, 700px);
  max-width: 700px;
  height: 515px;
  overflow: hidden;
  border-radius: 14px;
  background: #d7d1c3;
}

.tour-category-landing__story-image img { width: 100%; height: 100%; object-fit: cover; }
.tour-category-landing__story-copy { max-width: 560px; }
.tour-category-landing__story-rule { width: 100%; height: 1px; margin: 13px 0 22px; background: #6d756f; }
.tour-category-landing__story-copy h2 { max-width: 540px; margin: 0 0 15px; font-family: "Lora", Georgia, serif; font-size: clamp(2rem, 3.1vw, 3.25rem); font-weight: 500; line-height: 1.07; }
.tour-category-landing__story-copy > p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--category-copy);
  font: 400 1rem/1.72 "DM Sans", sans-serif;
}

.tour-category-landing__browse {
  margin-top: clamp(66px, 9vw, 118px);
  text-align: center;
}

.tour-category-landing__browse header { max-width: 680px; margin: 0 auto; }
.tour-category-landing__browse header h2 { margin-bottom: 7px; }
.tour-category-landing__filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  max-width: 900px;
  margin: 30px auto 28px;
  text-align: left;
}

.tour-category-landing__filters label,
.tour-category-landing__filters a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--category-line);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, .72);
  color: var(--category-copy);
  font: 600 .76rem/1 "DM Sans", sans-serif;
}

.tour-category-landing__filters i { color: var(--category-accent); }
.tour-category-landing__filters input,
.tour-category-landing__filters select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--category-ink);
  font: inherit;
}

.tour-category-landing__filters a {
  justify-content: center;
  color: var(--category-ink);
  text-decoration: none;
  white-space: nowrap;
}

.tour-category-landing__filters a:hover { border-color: var(--category-accent); background: #fff; }

.tour-category-landing__tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  text-align: left;
}

.tour-category-landing .home-editorial-tour-card {
  border: 1px solid rgba(12, 47, 43, .1);
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(29, 39, 33, .08);
}

.tour-category-landing .home-editorial-tour-card__body { min-height: 184px; padding: 12px; }
.tour-category-landing__empty { padding: 35px; color: var(--category-copy); }

.tour-category-landing__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.tour-category-landing__pagination a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--category-line);
  border-radius: 50%;
  color: var(--category-ink);
  text-decoration: none;
}

.tour-category-landing__pagination .active { border-color: var(--category-ink); background: var(--category-ink); color: #fff; }

.tour-category-landing__faq { width: min(100% - 40px, 860px); margin-top: 94px; }
.tour-category-landing__faq details { border-top: 1px solid var(--category-line); padding: 18px 0; }
.tour-category-landing__faq summary { color: var(--category-ink); font-weight: 800; cursor: pointer; }
.tour-category-landing__faq p { color: var(--category-copy); line-height: 1.6; }
.tour-category-landing__state { min-height: 50vh; display: grid; place-items: center; margin: 0; }

@media (max-width: 900px) {
  .tour-category-index__grid,
  .tour-category-landing__tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-category-landing__highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-category-landing__story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .tour-category-landing__filters { grid-template-columns: 1fr 1fr; }
  .tour-category-landing__filters a { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body:has(.tour-category-landing) main { padding-top: 0 !important; }
  .tour-category-index { padding: 48px 0; }
  .tour-category-landing { padding-bottom: 64px; }
  .tour-category-landing__hero { min-height: 390px; }
  .tour-category-landing__hero-content { width: min(100% - 40px, 1180px); }
  .tour-category-landing__hero h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .tour-category-landing__highlights,
  .tour-category-landing__story,
  .tour-category-landing__filters { grid-template-columns: 1fr; }
  .tour-category-landing__story { width: min(100% - 40px, 960px); }
  .tour-category-landing__story-image { height: min(515px, 105vw); max-width: none; }
  .tour-category-landing__filters a { grid-column: auto; }
  .tour-category-landing__tour-grid { grid-template-columns: 1fr; max-width: 390px; margin-inline: auto; }
}
