body, html {
	overflow-x: initial !important;
}

html.fix-bar .site-logo {
	display: block;
}

body #wrap {
	padding-top: 80px;
}

footer.footer {
	margin: 30px 0 0 0;
	padding: 15px 0;
	border: none;
	height: auto;
	min-height: 80px;
}

.tour-page div.description {
	margin: 15px 0 25px 0;
	color: #333;
}
.tour-page .event_details {
	margin-bottom: 10px;
}
.tour-page .carousel-section {
	padding: 0;
}
.tour-page #page {
	padding-top: 0;
}
.tour-page .header-logo-img {
	margin-bottom: 50px;
}
.tour-page h1.event-title {
	margin: 0 0 15px 0;
	padding: 0;
}

.tour_related_events {
	margin-bottom: 50px !important;
}

body.home-new-header-footer .hero-heading {
	padding-top: 0px;
	margin-bottom: 50px;
}

/* Ensure homepage-like search input (avoid legacy focus styles) */
body.home-new-header-footer .search-dropdown .search-input-wrapper .input-field,
body.home-new-header-footer .search-dropdown .search-input-wrapper .input-field:focus-within {
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
}

body.home-new-header-footer .search-dropdown .input-text,
body.home-new-header-footer .search-dropdown .input-text:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

/* Icon alignment: ensure it centers like homepage */
body.home-new-header-footer .search-dropdown .search-input-wrapper .input-field .input-icon {
  display: block;
  flex-shrink: 0;
  align-self: center;
  margin: 0;
  padding: 0;
}

/* Center tour event cards (match centered results layout) */
body.home-new-header-footer .tour-events-grid {
  max-width: var(--container-width, 1147px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-24, 24px);
  padding-right: var(--spacing-24, 24px);
  /* Use auto-fit so we don't leave an "empty third column" gap */
  grid-template-columns: repeat(auto-fit, minmax(308px, 360px)) !important;
  justify-content: center !important;
  justify-items: center;
}

/* Center tour header logo image */
body.home-new-header-footer .product-detailed-item .header-logo-img {
  display: flex;
  justify-content: center;
}

body.home-new-header-footer .product-detailed-item .header-logo-img img {
  margin-left: auto;
  margin-right: auto;
  max-height: 200px;
}

/* Tour description styled like footer card (without reusing footer classes) */
body.home-new-header-footer .description.tour-description-card {
  border: 1px solid var(--colors-base-white-15, rgba(235, 235, 238, 0.15));
  border-radius: 24px;
  padding: var(--spacing-40, 40px);
  padding-bottom: 30px;
  margin: 50px 40px;
  color: #fff;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px) brightness(0.9);
  -webkit-backdrop-filter: blur(20px) brightness(0.9);
  background: #080c1340;
}

@media (width < 768px) {
  body.home-new-header-footer .description.tour-description-card {
    margin: 50px 0;
  }
}

/* Expand/collapse for long tour descriptions */
body.home-new-header-footer .description.tour-description-card.has-toggle[data-tour-description] {
  /* room for the floating button */
  padding-bottom: calc(var(--spacing-40, 40px) + 64px);
}

body.home-new-header-footer .tour-description-content[data-tour-description-content] {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 280ms ease;
}

body.home-new-header-footer .description.tour-description-card.is-expanded .tour-description-content[data-tour-description-content] {
  overflow: visible;
}

/* subtle fade at bottom when collapsed */
body.home-new-header-footer .description.tour-description-card[data-tour-description].has-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  border-radius: 0 0 24px 24px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 12, 19, 0), rgba(8, 12, 19, 0.55));
  opacity: 1;
  transition: opacity 160ms ease;
}

body.home-new-header-footer .description.tour-description-card.is-expanded::after {
  opacity: 0;
}

/* floating toggle button */
body.home-new-header-footer .tour-description-toggle[data-tour-description-toggle] {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  /* Improve contrast over varied content */
  background-color: rgba(11, 10, 21, 0.55);
  -webkit-text-fill-color: transparent; /* keep gradient text from btn-outline */
}


body.home-new-header-footer .description.tour-description-card h1,
body.home-new-header-footer .description.tour-description-card h2,
body.home-new-header-footer .description.tour-description-card h3,
body.home-new-header-footer .description.tour-description-card h4,
body.home-new-header-footer .description.tour-description-card h5,
body.home-new-header-footer .description.tour-description-card h6 {
  color: #fff;
  text-shadow: none;
}

/* Ensure Select2 dropdown matches homepage (avoid default blue highlight) */
body.home-new-header-footer .search-dropdown .select2-results__option--highlighted,
body.home-new-header-footer .search-dropdown .select2-results__option--highlighted[aria-selected],
body.home-new-header-footer .search-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--bg-surface-secondary-80, rgba(11, 10, 21, 0.8)) !important;
  color: var(--fg-primary-rest, #ebebee) !important;
}

body.home-new-header-footer .search-dropdown .select2-results__option[aria-selected="true"] {
  background: var(--bg-surface-secondary-80, rgba(11, 10, 21, 0.8)) !important;
  color: var(--fg-primary-rest, #ebebee) !important;
}
.tour-page .product-detailed-item {
	padding-top: 10px;
}
.search-results-page a:hover,
.tour-page a:hover {
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6 {
	color: inherit;
}
