/* Tour pages: Ultimate-style long-scroll layout + scraped Elementor tabs */

.vh-day-by-day-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--vh-panel-border, rgba(0, 0, 0, 0.12));
}

.vh-itin-scraped {
  position: relative;
  padding-left: 0.5rem;
}

.vh-itin-scraped::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(197, 160, 89, 0.45), rgba(0, 0, 0, 0.08));
  border-radius: 2px;
  pointer-events: none;
}

/* Ultimate timeline (.vh-itin-track) supplies its own rail — hide duplicate strip */
.vh-itin-scraped:has(.vh-itin-track) {
  padding-left: 0;
}
.vh-itin-scraped:has(.vh-itin-track)::before {
  display: none;
}

@media (max-width: 640px) {
  .vh-itin-scraped {
    padding-left: 0;
  }
  .vh-itin-scraped::before {
    display: none;
  }
}

.vh-day-by-day-section .vh-center-cta {
  margin-top: 1.75rem;
}

.vh-tour-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0 3.5rem;
  max-width: 1200px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .vh-tour-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 2.75rem;
  }
}

.vh-tour-col-main {
  min-width: 0;
}

.vh-tour-col-side {
  position: sticky;
  top: 96px;
  align-self: start;
}

.vh-tour-meta {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.05rem;
  color: var(--vh-muted, #54605a);
  margin: 0 0 1.25rem;
}

.vh-tour-sidebar-card {
  background: #fff;
  border: 1px solid var(--vh-panel-border, rgba(0, 0, 0, 0.12));
  border-radius: var(--vh-radius, 12px);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.vh-tour-sidebar-card h3 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--vh-primary, #1e3d32);
}

.vh-tour-sidebar-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--vh-muted, #54605a);
}

/* Gallery embed */
.ut-gallery-wrap {
  margin-bottom: 1.75rem;
}

.ut-gallery-wrap .swiper {
  border-radius: var(--vh-radius, 12px);
  overflow: hidden;
  border: 1px solid var(--vh-panel-border, rgba(0, 0, 0, 0.12));
}

.ut-gallery-wrap .swiper-button-next,
.ut-gallery-wrap .swiper-button-prev {
  color: var(--vh-primary, #1e3d32) !important;
}

/* Tabs from scraped shortcodes — align with landing palette */
.ut-tab-wrap .tour-tabs-nav {
  border-bottom-color: var(--vh-gold-line, rgba(197, 160, 89, 0.45)) !important;
}

.ut-tab-wrap .tour-tabs-nav button {
  font-family: "Roboto", system-ui, sans-serif !important;
  background: rgba(30, 61, 50, 0.08) !important;
  color: var(--vh-primary, #1e3d32) !important;
  border-radius: 8px 8px 0 0 !important;
}

.ut-tab-wrap .tour-tabs-nav button.active {
  background: var(--vh-primary, #1e3d32) !important;
  color: #fff !important;
}

.ut-tab-wrap .tour-tabs-dropdown {
  font-family: "Roboto", system-ui, sans-serif !important;
  border: 1px solid var(--vh-panel-border, rgba(0, 0, 0, 0.12)) !important;
  border-radius: 8px !important;
}

.ut-tab-wrap .accordion-header {
  font-family: "Roboto", system-ui, sans-serif !important;
  background: var(--vh-primary, #1e3d32) !important;
}

.ut-tab-wrap .accordion-header:hover {
  background: #142a23 !important;
}

.ut-tab-wrap .accordion-body {
  background: rgba(243, 246, 244, 0.85) !important;
  font-family: "Roboto", system-ui, sans-serif !important;
}

.ut-include-wrap .trip-include-exclude {
  border-radius: var(--vh-radius, 12px) !important;
  border: 1px solid var(--vh-panel-border, rgba(0, 0, 0, 0.12)) !important;
}

.ut-include-wrap .trip-include-exclude h2 {
  font-family: "Playfair Display", Georgia, serif !important;
  color: var(--vh-primary, #1e3d32) !important;
}

/* Elementor fallback (rare) */
.ut-fallback .elementor {
  font-family: "Roboto", system-ui, sans-serif;
}

/* --- Match main site luxury header (dark bar + glass nav) on tour pages --- */
body.vh-landing {
  --lga-header-charcoal: #0b0f18;
  --lga-header-bg-image: url("https://luxurygolftoursasia.com/wp-content/uploads/2026/03/Hoi-An-Shores.avif");
}

body.vh-landing .vh-topbar {
  background: var(--lga-header-charcoal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
}

body.vh-landing .vh-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
}

body.vh-landing .vh-topbar-inner > span {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}

body.vh-landing .vh-topbar-inner > a {
  grid-column: 3;
  justify-self: end;
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
}

body.vh-landing .vh-topbar-inner > a:hover {
  color: #d4b56e !important;
}

body.vh-landing .vh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #121a2a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  /* visible so .vh-nav-dropdown is not clipped */
  overflow: visible;
  backdrop-filter: none;
}

body.vh-landing .vh-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--lga-header-bg-image) center / cover no-repeat;
  filter: blur(14px) saturate(1.05);
  opacity: 0.55;
  pointer-events: none;
}

body.vh-landing .vh-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 24, 0.78) 0%,
    rgba(12, 18, 32, 0.74) 100%
  );
  pointer-events: none;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.vh-landing .vh-header::after {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 24, 0.68) 0%,
      rgba(12, 18, 32, 0.64) 100%
    );
  }
}

body.vh-landing .vh-header-inner {
  position: relative;
  z-index: 2;
  min-height: 88px;
  overflow: visible;
}

body.vh-landing .vh-logo {
  color: var(--vh-gold, #c5a059);
  text-shadow: none;
}

body.vh-landing .vh-logo span {
  color: rgba(255, 255, 255, 0.55);
}

body.vh-landing .vh-nav > a,
body.vh-landing .vh-nav .vh-nav-parent {
  color: rgba(255, 255, 255, 0.95) !important;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 600;
}

body.vh-landing .vh-nav > a:hover,
body.vh-landing .vh-nav .vh-nav-parent:hover {
  color: var(--vh-accent, #d4b56e) !important;
}

body.vh-landing .vh-nav-dropdown {
  background: var(--lga-header-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

body.vh-landing .vh-nav-dropdown a {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.vh-landing .vh-nav-dropdown a:hover {
  color: var(--vh-gold-bright, #dfc078) !important;
}

body.vh-landing .vh-nav-dropdown-heading {
  color: rgba(212, 181, 110, 0.95) !important;
}

body.vh-landing .vh-btn--header-cta {
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  background: var(--lga-header-charcoal) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 1025px) {
  body.vh-landing .vh-btn--header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

body.vh-landing .vh-btn--header-cta:hover {
  background: #000 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

body.vh-landing .vh-nav-dropdown-wrap:hover,
body.vh-landing .vh-nav-dropdown-wrap:focus-within {
  z-index: 100;
}

body.vh-landing .vh-menu-btn span {
  background: rgba(255, 255, 255, 0.92);
}
