/* ==========================================================================
   Site UI additions: global search, search results page, travel guides.
   Uses the theme colours from style.css (green #2e8b57, maroon #800000).
   ========================================================================== */

:root {
  --tpi-green: #2e8b57;
  --tpi-green-dark: #246e45;
  --tpi-green-soft: #eaf5ef;
  --tpi-maroon: #800000;
  --tpi-yellow: #FFD700;
  --tpi-text: #333333;
  --tpi-muted: #6b7280;
  --tpi-border: #e5e7eb;
  --tpi-radius: 14px;
  --tpi-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --tpi-shadow-hover: 0 16px 40px rgba(17, 24, 39, 0.14);
}

/* ---------- Search suggestions dropdown ---------- */
ul.gs-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 8px 0 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: var(--tpi-radius);
  box-shadow: var(--tpi-shadow-hover);
  max-height: 420px;
  overflow-y: auto;
  text-align: left;
  z-index: 1050;
}
ul.gs-results li { border: 0; background: transparent; padding: 0; }
ul.gs-results .gs-heading,
ul.gs-results .gs-group {
  padding: 10px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tpi-muted);
}
ul.gs-results .gs-group { color: var(--tpi-green); }
ul.gs-results .gs-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--tpi-text);
  text-decoration: none;
}
ul.gs-results .gs-item a:hover,
ul.gs-results .gs-item.active a { background: var(--tpi-green-soft); }
ul.gs-results .gs-thumb {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--tpi-green-soft);
}
ul.gs-results .gs-thumb-icon { display: inline-flex; align-items: center; justify-content: center; }
ul.gs-results .gs-thumb-icon::before {
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f3c5"; /* location dot */
  color: var(--tpi-green);
}
ul.gs-results .gs-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}
ul.gs-results .gs-type {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
  padding: 3px 8px;
  border-radius: 20px;
}
ul.gs-results .gs-empty { padding: 14px 12px; color: var(--tpi-muted); }
ul.gs-results .gs-all a {
  display: block;
  margin-top: 4px;
  padding: 10px 12px;
  border-top: 1px solid var(--tpi-border);
  font-weight: 600;
  color: var(--tpi-maroon);
  text-decoration: none;
}
ul.gs-results .gs-all a:hover,
ul.gs-results .gs-all.active a { background: #fbf1f1; border-radius: 0 0 10px 10px; }
@media (max-width: 575px) {
  ul.gs-results .gs-type { display: none; }
}

/* ---------- Search results page ---------- */
.search-page { padding: 70px 0 100px; background: #fafaf7; }
.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 60px;
  box-shadow: var(--tpi-shadow);
}
.search-page-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 20px;
  font-size: 17px;
  background: transparent;
  color: var(--tpi-text);
}
.search-page-form button {
  border: 0;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  color: #fff;
  background: var(--tpi-green);
  transition: background .2s;
}
.search-page-form button:hover { background: var(--tpi-green-dark); }
.search-summary { text-align: center; color: var(--tpi-muted); margin-bottom: 30px; }
.search-summary strong { color: var(--tpi-text); }
.search-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.search-tabs a {
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid var(--tpi-border);
  background: #fff;
  color: var(--tpi-text);
  font-size: 14px;
  text-decoration: none;
}
.search-tabs a:hover { border-color: var(--tpi-green); color: var(--tpi-green); }
.search-tabs a span { color: var(--tpi-muted); margin-left: 4px; }
.search-group { margin-bottom: 48px; scroll-margin-top: 120px; }
.search-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--tpi-text);
}
.search-group-title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--tpi-green);
}
.search-empty { text-align: center; padding: 40px 20px; }
.search-empty h2 { font-size: 24px; margin-bottom: 10px; }
.search-empty p { color: var(--tpi-muted); }
.search-empty .search-tabs { margin: 20px 0 0; }

/* ---------- Shared clean card (search results + travel guides) ---------- */
.tpi-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: var(--tpi-radius);
  overflow: hidden;
  box-shadow: var(--tpi-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tpi-card:hover { transform: translateY(-4px); box-shadow: var(--tpi-shadow-hover); }
.tpi-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--tpi-green-soft);
  overflow: hidden;
}
.tpi-card-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tpi-card:hover .tpi-card-img img { transform: scale(1.05); }
.tpi-card-img .tpi-card-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--tpi-green);
  opacity: .5;
}
.tpi-card-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--tpi-green);
}
.tpi-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tpi-card-title { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.tpi-card-title a { color: var(--tpi-text); text-decoration: none; }
.tpi-card-title a:hover { color: var(--tpi-green); }
.tpi-card-text { color: var(--tpi-muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.tpi-card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--tpi-green);
  text-decoration: none;
}
.tpi-card-link i { margin-left: 6px; transition: margin .2s; }
.tpi-card-link:hover { color: var(--tpi-maroon); }
.tpi-card-link:hover i { margin-left: 10px; }

/* ---------- Travel guide pages ---------- */
.guide-page { padding: 70px 0 100px; background: #fafaf7; }
.guide-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.guide-section { margin-top: 60px; }
.guide-article {
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: var(--tpi-radius);
  padding: 36px 40px;
  box-shadow: var(--tpi-shadow);
}
.guide-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
}
.guide-lead { font-size: 19px; line-height: 1.6; color: var(--tpi-text); margin-bottom: 24px; }
.guide-hero-img { width: 100%; border-radius: 12px; margin-bottom: 28px; }
.guide-content { color: #4b5563; font-size: 16.5px; line-height: 1.8; }
.guide-content h2 {
  font-size: 26px;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tpi-green-soft);
  color: var(--tpi-text);
}
.guide-content h3 { font-size: 20px; margin: 26px 0 8px; color: var(--tpi-green); }
.guide-content p { margin-bottom: 16px; }
.guide-content ul, .guide-content ol { padding-left: 22px; margin-bottom: 18px; }
.guide-content li { margin-bottom: 8px; }
.guide-content li::marker { color: var(--tpi-green); }
.guide-content strong { color: var(--tpi-text); }
.guide-content a { color: var(--tpi-green); text-decoration: underline; }
.guide-content img { max-width: 100%; height: auto; border-radius: 10px; }
.guide-content table {
  width: 100%;
  margin: 10px 0 24px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--tpi-border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 15px;
}
.guide-content th { background: var(--tpi-green); color: #fff; font-weight: 600; }
.guide-content th, .guide-content td { padding: 12px 14px; border-bottom: 1px solid var(--tpi-border); text-align: left; }
.guide-content tr:last-child td { border-bottom: 0; }
.guide-content tbody tr:nth-child(even) { background: #f9fafb; }

.guide-sidebar { position: sticky; top: 110px; }
.guide-widget {
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: var(--tpi-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--tpi-shadow);
}
.guide-widget h5 { font-size: 18px; margin-bottom: 14px; color: var(--tpi-text); }
.guide-links { list-style: none; padding: 0; margin: 0; }
.guide-links li + li { border-top: 1px solid var(--tpi-border); }
.guide-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--tpi-text);
  text-decoration: none;
  transition: color .2s, padding .2s;
}
.guide-links a i { color: var(--tpi-green); width: 16px; }
.guide-links a:hover { color: var(--tpi-green); padding-left: 4px; }
.guide-widget-cta {
  background: linear-gradient(135deg, var(--tpi-green) 0%, var(--tpi-green-dark) 100%);
  border: 0;
  color: #fff;
}
.guide-widget-cta h5 { color: #fff; }
.guide-widget-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 18px; }
.guide-widget-cta .theme-btn { background: var(--tpi-yellow); color: var(--tpi-text); }
.guide-widget-cta .theme-btn:hover { background: #fff; color: var(--tpi-green); }

@media (max-width: 991px) {
  .guide-sidebar { position: static; }
}
@media (max-width: 575px) {
  .guide-article { padding: 24px 20px; }
  .guide-content h2 { font-size: 22px; }
}
/* ---------- Accessibility: respect "reduce motion" OS setting ---------- */
@media (prefers-reduced-motion: reduce) {
  .wow, .animated {
    animation: none !important;
    visibility: visible !important;
  }
  html { scroll-behavior: auto !important; }
}
/* ==========================================================================
   Site-wide polish (keeps the existing green / maroon / yellow theme)
   ========================================================================== */

/* ---------- Page banner / breadcrumb ---------- */
.site-breadcrumb .breadcrumb-menu li.active { color: var(--tpi-yellow) !important; }
.site-breadcrumb .breadcrumb-menu li a:hover { color: var(--tpi-yellow); }
.site-breadcrumb .breadcrumb-title { text-shadow: 0 3px 18px rgba(0, 0, 0, .45); }

/* ---------- Home hero slider ---------- */
.hero-single { overflow: hidden; }
/* Layers: photo (0) < dark overlay (1) < text (2) */
.hero-single .hero-bg { z-index: 0 !important; }
.home-2 .hero-single::before {
  z-index: 1 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, .10) 0%, rgba(0, 0, 0, .55) 100%) !important;
}
.hero-single > .container { position: relative; z-index: 2; }
.hero-single .hero-content-wrapper h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.hero-single .hero-content-wrapper,
.hero-single .hero-content-wrapper p {
  color: #fff;
  font-size: clamp(16px, 1.8vw, 22px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* ---------- Home search box: typed text was white on white ---------- */
.search-container .search-box input {
  color: var(--tpi-text);
  background: #fff;
  border: 1px solid var(--tpi-border);
  box-shadow: var(--tpi-shadow);
}
.search-container .search-box input:focus { border-color: var(--tpi-green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .15); }
.search-container .search-box input::placeholder { color: var(--tpi-muted); }

/* ---------- Home feature boxes ---------- */
.feature-area2 .feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 24px !important;
  padding: 28px 26px !important;
}
.feature-area2 .feature-item .feature-content p { margin-bottom: 0; }

/* ---------- Counter strip: numbers were dark grey on green ---------- */
.counter-area .counter-box .counter,
.counter-area .counter-box .counter-sign,
.counter-area .counter-box .title { color: #fff !important; }
.counter-area .counter-box .title { font-weight: 500; opacity: .9; }

/* ---------- Tour package cards (home, tour type, tour detail) ---------- */
.flight-area .row,
.flight-item-wrap .row { align-items: stretch !important; }
.flight-item {
  display: flex;
  flex-direction: column;
  height: calc(100% - 25px);
  border-radius: 22px !important;
  padding: 12px !important;
  border: 1px solid var(--tpi-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.flight-item:hover { transform: translateY(-4px); box-shadow: var(--tpi-shadow-hover); }
.flight-item .flight-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px !important;
}
.flight-item .flight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px !important;
  transition: transform .4s ease;
}
.flight-item .badge {
  right: 10px !important;
  top: 10px !important;
  border-radius: 20px !important;
  padding: 6px 12px !important;
  font-size: 11px;
}
.flight-item .flight-content { display: flex; flex-direction: column; flex: 1; padding: 4px 4px 0; }
.flight-item .flight-title { margin-top: 10px; }
.flight-item .flight-title h4 { font-size: 17px; line-height: 1.4; }
.flight-item .flight-title h4 a:hover { color: var(--tpi-green); }
.flight-item .flight-bottom { margin-top: auto; }
.flight-item .add-wishlist { display: none; }               /* had no working action */

/* ---------- Long admin-written descriptions ---------- */
.section-desc,
.pack-description,
.listing-item {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.8;
}
.section-desc { max-width: 1000px; margin: 0 auto; }
.section-desc h2, .section-desc h3, .section-desc h4,
.pack-description h2, .pack-description h3, .pack-description h4,
.listing-item h2, .listing-item h3 {
  margin: 28px 0 10px;
  color: var(--tpi-text);
  line-height: 1.3;
}
.section-desc h2, .pack-description h2 { font-size: 26px; }
.section-desc h3, .pack-description h3, .listing-item h3 { font-size: 21px; }
.section-desc p, .pack-description p, .listing-item p { margin-bottom: 14px; }
.section-desc ul, .section-desc ol,
.pack-description ul, .pack-description ol,
.listing-item ul, .listing-item ol { padding-left: 22px; margin-bottom: 16px; }
.section-desc li::marker, .pack-description li::marker, .listing-item li::marker { color: var(--tpi-green); }

.tpi-collapsible { position: relative; }
.tpi-collapsible.is-collapsed { max-height: 300px; overflow: hidden; }
.tpi-collapsible.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 90%);
  pointer-events: none;
}
.tpi-readmore {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 30px;
  padding: 9px 22px;
  border: 1px solid var(--tpi-green);
  border-radius: 30px;
  background: #fff;
  color: var(--tpi-green);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, color .2s;
}
.tpi-readmore:hover { background: var(--tpi-green); color: #fff; }

/* ---------- Blog cards ---------- */
.blog-area .row > [class*="col-"] { display: flex; }
.blog-area .blog-item { width: 100%; display: flex; flex-direction: column; }
.blog-area .blog-item .blog-item-info { display: flex; flex-direction: column; flex: 1; }
.blog-area .blog-item .blog-item-info .theme-btn { margin-top: auto !important; align-self: flex-start; }
.blog-item .blog-item-img img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

/* ---------- Footer: social icons were dark on dark ---------- */
.footer-social li a,
.footer-social a {
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
}
.footer-social li a:hover,
.footer-social a:hover { background: var(--tpi-green) !important; }

/* ---------- Small consistency fixes ---------- */
.theme-btn { transition: background .25s ease, color .25s ease, transform .2s ease; }
.theme-btn:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(46, 139, 87, .45);
  outline-offset: 2px;
}
/* ==========================================================================
   Header mega menus: responsive
   ========================================================================== */
@media (min-width: 992px) {
  /* Mega menus open across the header container, not shifted by a fixed % */
  .main-navigation .navbar > .container { position: relative; }
  .main-navigation .navbar-nav { position: static !important; }
  .navbar .dropdown-menu.mega-menu {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    transform: none !important;
    padding: 22px 18px !important;
    border-radius: 18px !important;
    border: 1px solid var(--tpi-border) !important;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .14) !important;
    max-height: 75vh;
    overflow-y: auto !important;
  }
  /* All column groups side by side in one even row */
  .navbar .dropdown-menu.mega-menu > .row { flex-wrap: nowrap; margin: 0; }
  .navbar .dropdown-menu.mega-menu > .row > [class*="col-"] {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding: 0 12px;
  }
  .navbar .dropdown-menu.mega-menu > .row > [class*="col-"]:last-child { border-right: 0 !important; }
  .navbar .dropdown-menu.mega-menu ul { padding-left: 0; margin: 0; list-style: none; }
  .navbar .dropdown-menu.mega-menu .dropdown-item {
    border-radius: 8px;
    padding: 6px 10px !important;
    font-size: 15px;
    white-space: normal;
  }
  .navbar .dropdown-menu.mega-menu .dropdown-item:hover { background: var(--tpi-green-soft); color: var(--tpi-green); }
  .navbar .dropdown-menu.mega-menu .dropdown-header { padding: 8px 10px 4px; font-size: 15px; }
}
/* Laptop widths: tighten the nav so all items fit on one line */
@media (min-width: 992px) and (max-width: 1299px) {
  .navbar .nav-item .nav-link { margin-right: 14px !important; font-size: 15px !important; }
  .navbar .header-nav-right .theme-btn { padding: 9px 14px; font-size: 15px; }
}
@media (max-width: 991px) {
  /* The old 220px box made the mobile menu almost unusable */
  .navbar-collapse { max-height: calc(100vh - 90px) !important; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
  .navbar .dropdown-menu.mega-menu {
    width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    max-height: 55vh;
    overflow-y: auto;
    padding: 6px 4px !important;
    margin: 4px 0 10px;
    border: 1px solid var(--tpi-border) !important;
    box-shadow: none !important;
  }
  .navbar .dropdown-menu.mega-menu > .row { margin: 0; --bs-gutter-x: 0; }
  .navbar .dropdown-menu.mega-menu [class*="col-"] { border-right: 0 !important; }
  .navbar .dropdown-menu.mega-menu ul { padding-left: 0; margin: 0; list-style: none; }
  .navbar .dropdown-menu.mega-menu .dropdown-item { white-space: normal; padding: 7px 12px; }
  .navbar .dropdown-menu.mega-menu .dropdown-header { padding: 10px 12px 4px; }
}

/* ==========================================================================
   Home: "View all" under each tour category section
   ========================================================================== */
.flight-area.py-120 { padding-top: 70px !important; padding-bottom: 50px !important; }
.tpi-viewall { text-align: center; margin-top: 12px; }
.tpi-viewall-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 2px solid var(--tpi-green);
  border-radius: 40px;
  background: #fff;
  color: var(--tpi-green);
  font-weight: 600;
  transition: background .25s, color .25s, transform .2s;
}
.tpi-viewall-btn:hover { background: var(--tpi-green); color: #fff; transform: translateY(-2px); }
.tpi-viewall-count {
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 13px;
  background: var(--tpi-green-soft);
  color: var(--tpi-green);
}
.tpi-viewall-btn:hover .tpi-viewall-count { background: rgba(255, 255, 255, .2); color: #fff; }

/* ==========================================================================
   Buttons: keep text visible (hover bubble stays behind the label)
   ========================================================================== */
.theme-btn { isolation: isolate; }
.blog-item .theme-btn,
.blog-item .theme-btn:hover { color: #fff !important; }

/* ==========================================================================
   Home: feature cards (white cards with icon tile)
   ========================================================================== */
.feature-area2 .feature-item {
  position: relative;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 18px;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--tpi-border);
  border-radius: 20px !important;
  padding: 32px 28px !important;
  box-shadow: var(--tpi-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-area2 .feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tpi-green), var(--tpi-yellow));
}
.feature-area2 .feature-item:hover { transform: translateY(-6px); box-shadow: var(--tpi-shadow-hover); }
.feature-area2 .feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px !important;
  background: var(--tpi-green-soft) !important;
}
.feature-area2 .feature-icon img { width: 40px; }
.feature-area2 .feature-content { color: var(--tpi-muted) !important; }
.feature-area2 .feature-content h4 { color: var(--tpi-text) !important; font-size: 21px; margin-bottom: 8px; }
.feature-area2 .feature-content p { color: var(--tpi-muted); line-height: 1.7; }

/* ==========================================================================
   Home: "Our Most Popular Tour Packages" category carousel
   (photo cards with the title on a dark gradient)
   ========================================================================== */
.destination-area .destination-item {
  position: relative;
  margin: 6px 0 16px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--tpi-shadow);
}
.destination-area .destination-img { border-radius: 20px !important; }
.destination-area .destination-img img {
  aspect-ratio: 3 / 4;
  height: auto !important;
  object-fit: cover;
  border-radius: 0 !important;
}
.destination-area .destination-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .8) 100%);
  pointer-events: none;
}
.destination-area .destination-btn {
  top: 14px !important;
  right: 14px;
  left: auto !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 18px !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3 !important;
}
.destination-area .destination-item:hover .destination-btn { background: var(--tpi-green); color: #fff !important; }
.destination-area .destination-info {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100% !important;
  margin: 0 !important;
  padding: 22px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
.destination-area .destination-info h4 { margin-bottom: 10px; }
.destination-area .destination-info h4 a { color: #fff !important; font-size: 21px; line-height: 1.25; }
.destination-area .destination-info h4 a:hover { color: var(--tpi-yellow) !important; }
.destination-area .destination-more-info { justify-content: space-between !important; flex-wrap: wrap; }
.destination-area .destination-more-info span { color: rgba(255, 255, 255, .92) !important; font-size: 14px; }
.destination-area .destination-more-info span i { color: var(--tpi-yellow) !important; }
.destination-area .destination-more-info span:first-child {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   Home: counter strip
   ========================================================================== */
.counter-area .counter-wrap {
  background: linear-gradient(135deg, var(--tpi-green) 0%, var(--tpi-green-dark) 100%) !important;
  box-shadow: 0 20px 45px rgba(46, 139, 87, .25);
}
@media (min-width: 992px) {
  .counter-area .counter-wrap .row > [class*="col-"] + [class*="col-"] { border-left: 1px solid rgba(255, 255, 255, .18); }
}
/* Floating "Book Now" (below 1200px): brand colours instead of pink, smaller */
@media (max-width: 1199px) {
  .mobile-booknow-btn {
    background: linear-gradient(135deg, var(--tpi-green) 0%, var(--tpi-green-dark) 100%) !important;
    padding: 12px 26px !important;
    font-size: 16px !important;
    box-shadow: 0 10px 25px rgba(46, 139, 87, .35) !important;
  }
}
.destination-area .destination-img img { display: block; }
.destination-area .destination-img { margin: 0 !important; }
.destination-area .destination-item { background: transparent; }
/* ==========================================================================
   Brand: the template's light teal tints -> light green
   ========================================================================== */
:root {
  --theme-color-light: rgba(46, 139, 87, .12);
  --theme-bg-light: rgba(46, 139, 87, .06);
}

/* ==========================================================================
   Home: search card (overlaps the bottom of the hero banner)
   ========================================================================== */
.tpi-search-section { position: relative; z-index: 5; margin-top: -70px; padding-bottom: 20px; }
.tpi-search-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 34px 40px 28px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(17, 24, 39, .12);
}
.tpi-search-head { text-align: center; margin-bottom: 22px; }
.tpi-search-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tpi-green);
}
.tpi-search-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; color: var(--tpi-text); }
.tpi-search-head p { margin: 0; color: var(--tpi-muted); }

.search-container .tpi-search-box { max-width: none; }
.search-container .tpi-search-box input {
  height: 64px;
  padding: 0 170px 0 56px !important;
  font-size: 17px !important;
  color: var(--tpi-text) !important;
  background: #f7faf8 !important;
  border: 2px solid var(--tpi-border) !important;
  border-radius: 50px !important;
  box-shadow: none !important;
  backdrop-filter: none;
}
.search-container .tpi-search-box input:focus {
  background: #fff !important;
  border-color: var(--tpi-green) !important;
  box-shadow: 0 0 0 5px rgba(46, 139, 87, .12) !important;
}
.search-container .tpi-search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-container .tpi-search-box .icon-left {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 18px;
  color: var(--tpi-green);
}
.search-container .tpi-search-box .tpi-search-btn {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border: 0;
  border-radius: 50px;
  background: var(--tpi-green);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transform: none;
  transition: background .2s;
}
.search-container .tpi-search-box .tpi-search-btn:hover { background: var(--tpi-green-dark); }
.tpi-search-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.tpi-search-chips span { color: var(--tpi-muted); font-size: 14px; margin-right: 2px; }
.tpi-search-chips a {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
  transition: background .2s, color .2s;
}
.tpi-search-chips a:hover { background: var(--tpi-green); color: #fff; }
@media (max-width: 767px) {
  .tpi-search-section { margin-top: -40px; }
  .tpi-search-card { padding: 24px 18px 20px; border-radius: 20px; }
  .search-container .tpi-search-box input { height: 56px; padding: 0 64px 0 48px !important; font-size: 16px !important; }
  .search-container .tpi-search-box .icon-left { left: 18px; }
  .search-container .tpi-search-box .tpi-search-btn { padding: 0 18px; }
  .search-container .tpi-search-box .tpi-search-btn span { display: none; }
}

/* Counter strip icons: white tiles with green icons */
.counter-area .counter-box .icon {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
/* ==========================================================================
   Shared buttons for new components
   ========================================================================== */
.tpi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--tpi-green);
  border-radius: 40px;
  background: var(--tpi-green);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tpi-btn:hover { background: var(--tpi-green-dark); border-color: var(--tpi-green-dark); transform: translateY(-1px); }
.tpi-btn-outline { background: #fff; color: var(--tpi-green) !important; }
.tpi-btn-outline:hover { background: var(--tpi-green); color: #fff !important; }
.tpi-btn-yellow { background: var(--tpi-yellow); border-color: var(--tpi-yellow); color: var(--tpi-text) !important; }
.tpi-btn-yellow:hover { background: #fff; border-color: #fff; color: var(--tpi-green) !important; }
.tpi-btn-block { display: flex; width: 100%; }

/* ==========================================================================
   Tour category page: sidebar
   ========================================================================== */
.tpi-cat-sidebar { position: sticky; top: 110px; }
.tpi-cat-box {
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 18px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: var(--tpi-shadow);
}
.tpi-cat-box-title { font-size: 18px; margin: 0 0 12px 4px; }
.tpi-cat-list { max-height: 55vh; overflow-y: auto; padding-right: 4px; }
.tpi-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--tpi-text);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.tpi-cat-list a:hover { background: var(--tpi-green-soft); color: var(--tpi-green); }
.tpi-cat-list a.active { background: var(--tpi-green); color: #fff; font-weight: 600; }
.tpi-cat-count {
  flex: 0 0 auto;
  min-width: 30px;
  padding: 1px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: #f1f5f3;
  color: var(--tpi-muted);
}
.tpi-cat-list a.active .tpi-cat-count { background: rgba(255, 255, 255, .22); color: #fff; }
.tpi-cat-help {
  background: linear-gradient(135deg, var(--tpi-green) 0%, var(--tpi-green-dark) 100%);
  border: 0;
  color: #fff;
}
.tpi-cat-help h4 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.tpi-cat-help p { color: rgba(255, 255, 255, .88); font-size: 14.5px; margin-bottom: 16px; }
.tpi-cat-phone { display: block; margin-top: 12px; color: #fff; font-weight: 600; text-align: center; }
.tpi-cat-phone:hover { color: var(--tpi-yellow); }
@media (max-width: 991px) {
  .tpi-cat-sidebar { position: static; }
  .tpi-cat-list { max-height: 260px; }
}

/* ==========================================================================
   Tour category page: tour list cards
   ========================================================================== */
.tpi-list-head { margin-bottom: 18px; color: var(--tpi-muted); }
.tpi-list-head strong { color: var(--tpi-text); }
.tpi-tour-list { display: flex; flex-direction: column; gap: 22px; }
.tpi-tour-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 20px;
  box-shadow: var(--tpi-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tpi-tour-card:hover { transform: translateY(-3px); box-shadow: var(--tpi-shadow-hover); }
.tpi-tour-img { position: relative; display: block; min-height: 230px; overflow: hidden; background: var(--tpi-green-soft); }
.tpi-tour-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tpi-tour-card:hover .tpi-tour-img img { transform: scale(1.05); }
.tpi-tour-duration {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--tpi-maroon);
}
.tpi-tour-body { display: flex; flex-direction: column; padding: 22px 24px; }
.tpi-tour-title { font-size: 21px; line-height: 1.35; margin: 0 0 8px; }
.tpi-tour-title a { color: var(--tpi-text); }
.tpi-tour-title a:hover { color: var(--tpi-green); }
.tpi-tour-places {
  margin: 0 0 12px;
  color: var(--tpi-muted);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tpi-tour-places i { color: var(--tpi-green); margin-right: 4px; }
.tpi-tour-amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.tpi-tour-amenities li {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
}
.tpi-tour-amenities i { margin-right: 4px; }
.tpi-tour-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tpi-border);
}
.tpi-tour-price small { display: block; font-size: 12px; color: var(--tpi-muted); }
.tpi-tour-price strong { font-size: 20px; color: var(--tpi-maroon); }
.tpi-tour-actions { display: flex; gap: 8px; }
@media (max-width: 767px) {
  .tpi-tour-card { grid-template-columns: 1fr; }
  .tpi-tour-img { min-height: 0; aspect-ratio: 16 / 10; }
  .tpi-tour-body { padding: 18px; }
  .tpi-tour-actions { width: 100%; }
  .tpi-tour-actions .tpi-btn { flex: 1; }
}

/* ==========================================================================
   Tour detail page
   ========================================================================== */
.tour-single .listing-header { margin-bottom: 18px; }
.tour-single .listing-title { font-size: 30px; line-height: 1.25; }
.tour-single .listing-location { color: var(--tpi-muted); }
.tour-single .listing-location i { color: var(--tpi-green); }

.tpi-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.tpi-fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 14px;
}
.tpi-fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
}
.tpi-fact small { display: block; font-size: 12px; color: var(--tpi-muted); text-transform: uppercase; letter-spacing: .05em; }
.tpi-fact strong { display: block; font-size: 15px; color: var(--tpi-text); line-height: 1.35; }

/* Included / Not included as two tinted cards */
.listing-included, .listing-notincluded {
  height: 100%;
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 16px;
}
.listing-included { background: #f0f8f3; border: 1px solid #d5ebde; }
.listing-notincluded { background: #fdf3f3; border: 1px solid #f3dada; }
.listing-included h5, .listing-notincluded h5 { font-size: 18px; margin-bottom: 12px; }
.listing-included h5 { color: var(--tpi-green); }
.listing-notincluded h5 { color: var(--tpi-maroon); }

/* Itinerary accordion */
.tpi-itinerary { position: relative; }
.tpi-itinerary-toggle {
  position: absolute;
  right: 0;
  top: -46px;
  border: 0;
  background: none;
  color: var(--tpi-green);
  font-weight: 600;
  font-size: 14px;
}
.tpi-itinerary-toggle:hover { text-decoration: underline; }
.tpi-day {
  position: relative;
  margin: 0 0 12px 22px;
  border: 1px solid var(--tpi-border);
  border-radius: 14px;
  background: #fff;
}
.tpi-day::before {                      /* timeline line */
  content: "";
  position: absolute;
  left: -22px;
  top: 0;
  bottom: -12px;
  border-left: 2px dashed rgba(46, 139, 87, .35);
}
.tpi-day:last-child::before { bottom: 50%; }
.tpi-day::after {                       /* timeline dot */
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--tpi-green);
}
.tpi-day summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}
.tpi-day summary::-webkit-details-marker { display: none; }
.tpi-day-num {
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--tpi-green);
}
.tpi-day-title { flex: 1; font-weight: 600; font-size: 17px; color: var(--tpi-text); }
.tpi-day summary i { color: var(--tpi-muted); transition: transform .2s; }
.tpi-day[open] summary i { transform: rotate(180deg); }
.tpi-day[open] { border-color: rgba(46, 139, 87, .35); box-shadow: var(--tpi-shadow); }
.tpi-day-body { padding: 0 18px 16px; color: #4b5563; line-height: 1.8; }
.tpi-day-body p { margin: 0; }

/* Sidebar: sticky "book this tour" card */
.tpi-sticky-cta {
  position: sticky;
  top: 110px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--tpi-green);
  box-shadow: var(--tpi-shadow-hover);
}
.tpi-sticky-cta-title { font-weight: 600; color: var(--tpi-text); margin-bottom: 6px; line-height: 1.4; }
.tpi-sticky-cta-price { margin-bottom: 14px; }
.tpi-sticky-cta-price small { display: block; font-size: 12px; color: var(--tpi-muted); }
.tpi-sticky-cta-price strong { font-size: 24px; color: var(--tpi-maroon); }
.tpi-sticky-cta .tpi-btn + .tpi-btn { margin-top: 10px; }
@media (max-width: 991px) {
  .tpi-sticky-cta { position: static; }
}
/* Tour detail: related tours grid (fits 5 per row on wide screens) */
.tpi-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.tpi-related-grid .flight-item { height: 100%; margin-bottom: 0; }
.tpi-related-grid .flight-item .flight-title h4 { font-size: 16px; }
.tpi-related-grid .flight-bottom { flex-wrap: wrap; gap: 4px 10px; }
.tpi-related-grid .flight-price,
.tpi-related-grid .flight-price span,
.tpi-related-grid .flight-text-btn a { white-space: nowrap; }
.tpi-related-grid .flight-price { font-size: 14px; }
.tpi-related-grid .flight-price span { font-size: 16px; }
.tpi-related-grid .flight-text-btn a { font-size: 14px; }
/* Tour cards: location line fits the card (template set a fixed 250px
   scrolling marquee, which spilled into the next card) */
.flight-item .tour-location-marquee {
  width: auto !important;
  max-width: 100%;
  min-width: 0;
  margin: 10px 0 2px;
}
.flight-item .tour-location-marquee .marquee { min-width: 0; }
.flight-item .tour-location-marquee .marquee span {
  display: block;
  animation: none !important;
  transform: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: var(--tpi-muted);
}
/* ==========================================================================
   Shared sections
   ========================================================================== */
.tpi-section { padding: 90px 0; }
.tpi-section-soft { background: #f6faf7; }
.tpi-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.tpi-section-head .site-title { margin-top: 10px; }
.tpi-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.tpi-btn-ghost:hover { background: #fff; border-color: #fff; color: var(--tpi-green) !important; }
.tpi-about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tpi-quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tpi-green);
}

/* Form fields with label above */
.tpi-field { display: block; width: 100%; margin: 0; }
.tpi-field > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--tpi-text); }
.tpi-field .form-control {
  height: auto;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--tpi-border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--tpi-text);
  background: #fbfcfb;
  box-shadow: none;
}
.tpi-field textarea.form-control { min-height: 110px; resize: vertical; }
.tpi-field .form-control:focus { background: #fff; border-color: var(--tpi-green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .12); }
.tpi-field .form-control.is-invalid { border-color: #dc3545; }
.tpi-field .invalid-feedback { font-size: 13px; }

/* ==========================================================================
   About page
   ========================================================================== */
.tpi-why-card, .tpi-office {
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 18px;
  box-shadow: var(--tpi-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tpi-why-card:hover, .tpi-office:hover { transform: translateY(-4px); box-shadow: var(--tpi-shadow-hover); }
.tpi-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 22px;
  color: var(--tpi-green);
  background: var(--tpi-green-soft);
}
.tpi-why-card h3, .tpi-office h3 { font-size: 19px; margin-bottom: 8px; color: var(--tpi-text); }
.tpi-why-card p, .tpi-office p { margin: 0; color: var(--tpi-muted); line-height: 1.7; font-size: 15px; }

.tpi-review {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 18px;
  box-shadow: var(--tpi-shadow);
}
.tpi-review-stars { color: #f5b301; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.tpi-review blockquote { flex: 1; margin: 0 0 20px; color: #4b5563; font-size: 15.5px; line-height: 1.75; }
.tpi-review figcaption { display: flex; align-items: center; gap: 12px; }
.tpi-review figcaption strong { display: block; color: var(--tpi-text); }
.tpi-review figcaption small { color: var(--tpi-muted); }
.tpi-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: var(--tpi-green);
}

.tpi-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--tpi-green) 0%, #1d5e3a 100%);
  box-shadow: 0 20px 45px rgba(46, 139, 87, .25);
}
.tpi-cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.tpi-cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.tpi-contact-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  box-shadow: 0 25px 60px rgba(17, 24, 39, .10);
}
.tpi-contact-info {
  padding: 44px 40px;
  color: #fff;
  background: linear-gradient(160deg, var(--tpi-green) 0%, #1b5235 100%);
}
.tpi-contact-info .tpi-quote-eyebrow { color: var(--tpi-yellow); }
.tpi-contact-info h2 { color: #fff; font-size: 30px; margin: 10px 0; }
.tpi-contact-info > p { color: rgba(255, 255, 255, .85); margin-bottom: 28px; }
.tpi-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.tpi-contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.tpi-contact-list small { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.tpi-contact-list a, .tpi-contact-list div { color: #fff; font-weight: 500; }
.tpi-contact-list a:hover { color: var(--tpi-yellow); }
.tpi-contact-list p { margin: 0; color: #fff; }
.tpi-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  background: rgba(255, 255, 255, .14);
}
.tpi-contact-form { padding: 44px 44px 40px; }
.tpi-contact-form h2 { font-size: 26px; margin-bottom: 4px; }
.tpi-quote-sub { color: var(--tpi-muted); margin-bottom: 22px; }
.tpi-office { text-align: left; }
.tpi-office-phone, .tpi-office-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; }
.tpi-office-phone { color: var(--tpi-text); margin-right: 14px; }
.tpi-office-map { color: var(--tpi-green); }
.tpi-office-map:hover, .tpi-office-phone:hover { color: var(--tpi-maroon); }
.tpi-map { overflow: hidden; border-radius: 22px; box-shadow: var(--tpi-shadow); line-height: 0; }
.tpi-map iframe { width: 100%; height: 420px; border: 0; }
@media (max-width: 991px) {
  .tpi-contact-wrap { grid-template-columns: 1fr; }
  .tpi-contact-info, .tpi-contact-form { padding: 32px 24px; }
}

/* ==========================================================================
   State tour list: enquiry form in the sidebar
   ========================================================================== */
.tpi-enquiry-box .tpi-enquiry-sub { font-size: 14px; color: var(--tpi-muted); margin: -4px 4px 14px; }
.tpi-enquiry-box .booking-form .form-group { margin-bottom: 14px; }
.tpi-enquiry-box .booking-form label { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.tpi-enquiry-box .booking-form .form-control { border-radius: 12px; min-height: 46px; }

/* ==========================================================================
   Popup: Get a Free Quote
   ========================================================================== */
.tpi-quote-modal .modal-content { position: relative; overflow: hidden; border: 0; border-radius: 22px; }
.tpi-quote-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background-color: #f1f5f3;
  background-size: 11px;
  opacity: 1;
}
.tpi-quote-grid { display: grid; grid-template-columns: 5fr 7fr; }
.tpi-quote-side {
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(46, 139, 87, .95) 0%, rgba(27, 82, 53, .97) 100%),
    url("../img/breadcrumb/01.jpg") center / cover;
}
.tpi-quote-side .tpi-quote-eyebrow { color: var(--tpi-yellow); }
.tpi-quote-side h3 { color: #fff; font-size: 24px; line-height: 1.3; margin: 10px 0 20px; }
.tpi-quote-side ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.tpi-quote-side li { display: flex; gap: 10px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.tpi-quote-side li i { color: var(--tpi-yellow); margin-top: 4px; }
.tpi-quote-call { margin-top: auto; color: #fff; font-weight: 700; font-size: 18px; }
.tpi-quote-call:hover { color: var(--tpi-yellow); }
.tpi-quote-main { padding: 34px 32px 30px; }
.tpi-quote-main .modal-title { font-size: 24px; margin-bottom: 2px; }
.tpi-quote-main .tpi-quote-sub { margin-bottom: 18px; }
.tpi-quote-main .tpi-field .form-control { min-height: 44px; padding: 9px 12px; }
.tpi-quote-main .tpi-field textarea.form-control { min-height: 80px; }
@media (max-width: 767px) {
  .tpi-quote-grid { grid-template-columns: 1fr; }
  .tpi-quote-side { display: none; }
  .tpi-quote-main { padding: 28px 20px 22px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tpi-footer {
  position: relative;
  margin-top: 90px;
  color: rgba(255, 255, 255, .75);
  background: linear-gradient(180deg, #123524 0%, #0c2619 100%);
}
.tpi-footer a { color: rgba(255, 255, 255, .78); }
.tpi-footer a:hover { color: var(--tpi-yellow); }
.tpi-footer-cta {
  position: relative;
  top: -60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: -20px;
  padding: 34px 44px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--tpi-green) 0%, #1f6a42 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .25);
}
.tpi-footer-cta h3 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.tpi-footer-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.tpi-footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tpi-footer-main { padding-bottom: 50px; }
.tpi-footer-logo img { max-width: 130px; margin-bottom: 18px; }
.tpi-footer-about { line-height: 1.75; margin-bottom: 22px; }
.tpi-footer-social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tpi-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s, color .2s;
}
.tpi-footer-social a:hover { background: var(--tpi-yellow); color: #123524; }
.tpi-footer-title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 12px;
  font-size: 18px;
  color: #fff;
}
.tpi-footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--tpi-yellow);
}
.tpi-footer-title-sm { margin-top: 26px; font-size: 16px; }
.tpi-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.tpi-footer-links a { transition: color .2s, padding .2s; }
.tpi-footer-links a:hover { padding-left: 4px; }
.tpi-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tpi-footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.tpi-footer-contact small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .5); }
.tpi-footer-contact a, .tpi-footer-contact div { color: #fff; }
.tpi-footer-contact p { margin: 0; }
.tpi-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--tpi-yellow);
  background: rgba(255, 255, 255, .08);
}
.tpi-footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tpi-footer-tags a {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .18);
}
.tpi-footer-tags a:hover { border-color: var(--tpi-yellow); }
.tpi-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.tpi-footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tpi-footer-bottom p { margin: 0; font-size: 14px; }
.tpi-footer-bottom p a { color: var(--tpi-yellow); }
.tpi-footer-pay { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tpi-footer-pay img { height: 24px; border-radius: 4px; background: #fff; padding: 2px 4px; }
@media (max-width: 767px) {
  .tpi-footer-cta { padding: 26px 22px; top: -40px; }
  .tpi-footer-cta h3 { font-size: 21px; }
}
/* ==========================================================================
   Header: slides away on scroll down, back on scroll up
   ========================================================================== */
.navbar.fixed-top { transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.navbar.fixed-top.nav-hidden { transform: translateY(-110%); }

/* ==========================================================================
   Wishlist
   ========================================================================== */
.tpi-wish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--tpi-maroon);
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s;
}
.tpi-wish:hover { transform: scale(1.08); }
.tpi-wish.is-saved { background: var(--tpi-maroon); color: #fff; }
.tpi-tour-card { position: relative; }
.tpi-tour-card > .tpi-wish { position: absolute; z-index: 3; top: 14px; left: 286px; }
.flight-item .flight-img > .tpi-wish { position: absolute; z-index: 3; top: 10px; left: 10px; width: 36px; height: 36px; font-size: 15px; }
.tpi-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tpi-wish-inline {
  flex: 0 0 auto;
  width: auto;
  height: 42px;
  padding: 0 18px;
  border-radius: 30px;
  border: 1.5px solid var(--tpi-maroon);
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}
.tpi-wish-inline span { font-size: 14px; }
.tpi-top-wish { position: relative; }
.tpi-wish-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #123524;
  background: var(--tpi-yellow);
}
.tpi-wishlist-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tpi-wishlist-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#wishlistEmpty .tpi-why-icon { color: var(--tpi-maroon); background: #fbf1f1; }
.tpi-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: 30px;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.tpi-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) {
  .tpi-tour-card > .tpi-wish { left: auto; right: 14px; }
  .tpi-title-row { flex-direction: column; }
}

/* ==========================================================================
   Tour list filters
   ========================================================================== */
.tpi-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 16px;
  box-shadow: var(--tpi-shadow);
}
.tpi-filter-search { position: relative; flex: 1 1 220px; }
.tpi-filter-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--tpi-muted); }
.tpi-filter-q {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border: 1.5px solid var(--tpi-border);
  border-radius: 30px;
  font-size: 14px;
  outline: 0;
}
.tpi-filter-q:focus { border-color: var(--tpi-green); }
.tpi-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tpi-filter-chips button {
  padding: 7px 13px;
  border: 1.5px solid var(--tpi-border);
  border-radius: 30px;
  background: #fff;
  color: var(--tpi-text);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.tpi-filter-chips button:hover { border-color: var(--tpi-green); color: var(--tpi-green); }
.tpi-filter-chips button.active { background: var(--tpi-green); border-color: var(--tpi-green); color: #fff; }
.tpi-filter-sort { width: auto; min-width: 190px; height: 42px; border-radius: 30px; font-size: 14px; border: 1.5px solid var(--tpi-border); }
.tpi-filter-empty { padding: 24px; text-align: center; color: var(--tpi-muted); background: #fff; border: 1px dashed var(--tpi-border); border-radius: 16px; margin-bottom: 16px; }
.tpi-filter-reset { border: 0; background: none; color: var(--tpi-green); font-weight: 600; text-decoration: underline; }
.tpi-tour-card[hidden] { display: none !important; }
@media (max-width: 575px) {
  .tpi-filter-sort { width: 100%; }
  .tpi-filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .tpi-filter-chips button { flex: 0 0 auto; }
}

/* ==========================================================================
   Call-back form (mobile number only)
   ========================================================================== */
.tpi-callback { margin-top: 14px; }
.tpi-callback-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--tpi-text); }
.tpi-callback-row {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1.5px solid var(--tpi-border);
  border-radius: 40px;
  background: #fff;
}
.tpi-callback-row:focus-within { border-color: var(--tpi-green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .12); }
.tpi-callback-cc { padding: 0 6px 0 12px; font-size: 14px; font-weight: 600; color: var(--tpi-muted); }
.tpi-callback-row input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; font-size: 15px; background: transparent; color: var(--tpi-text); }
.tpi-callback-row button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 30px;
  background: var(--tpi-green);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.tpi-callback-row button:disabled { opacity: .6; }
.tpi-callback-msg { margin: 6px 4px 0; font-size: 13px; min-height: 0; }
.tpi-callback-msg:empty { display: none; }
.tpi-callback-msg.is-success { color: var(--tpi-green); font-weight: 600; }
.tpi-callback-msg.is-error { color: #c0392b; }
.tpi-callback-dark .tpi-callback-label { color: #fff; }
.tpi-callback-dark .tpi-callback-row { border-color: transparent; }
.tpi-callback-dark .tpi-callback-row button { background: var(--tpi-yellow); color: #123524; }
.tpi-callback-dark .tpi-callback-msg.is-success { color: var(--tpi-yellow); }
.tpi-callback-dark .tpi-callback-msg.is-error { color: #ffd2cc; }
.tpi-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; color: var(--tpi-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.tpi-or::before, .tpi-or::after { content: ""; flex: 1; height: 1px; background: var(--tpi-border); }
.tpi-callback-modal .modal-content { border: 0; border-radius: 20px; }
.tpi-callback-modal-body { padding: 30px 24px 24px; text-align: center; }
.tpi-callback-modal-body h5 { font-size: 21px; margin-bottom: 6px; }
.tpi-callback-modal-body > p { color: var(--tpi-muted); font-size: 14px; }
.tpi-callback-modal-body .tpi-callback-label { display: none; }

/* ==========================================================================
   Mobile bottom action bar (below 992px it replaces the floating buttons)
   ========================================================================== */
.tpi-mbar { display: none; }
@media (max-width: 991px) {
  .floating-contact-buttons, .mobile-booknow-btn, #scroll-top { display: none !important; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tpi-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--tpi-border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  }
  .tpi-mbar a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 12px;
    color: var(--tpi-text);
    font-size: 11px;
    font-weight: 600;
  }
  .tpi-mbar a i { font-size: 19px; color: var(--tpi-green); }
  .tpi-mbar a .fa-whatsapp { color: #25d366; }
  .tpi-mbar a.tpi-mbar-main { background: var(--tpi-green); color: #fff; }
  .tpi-mbar a.tpi-mbar-main i { color: #fff; }
  .tpi-mbar .tpi-wish-count { top: 0; right: calc(50% - 22px); }
  .tpi-toast { bottom: 84px; }
}
/* ==========================================================================
   Section headings: scale down on small screens, tidy tagline pill
   ========================================================================== */
.site-title { font-size: clamp(24px, 3.2vw + 10px, 40px); line-height: 1.2; }
.site-title-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  line-height: 1.3;
  vertical-align: middle;
}
.site-title-tagline i { flex: 0 0 30px; }
@media (max-width: 767px) {
  .site-heading { margin-bottom: 28px; }
  .site-title-tagline { font-size: 11.5px; letter-spacing: 1.5px; padding: 4px 12px 4px 3px; }
  .site-title-tagline i { flex-basis: 24px; width: 24px; height: 24px; line-height: 24px; font-size: 12px; }
  .site-title { margin-top: 10px; }
  .tpi-section { padding: 60px 0; }
  .flight-area.py-120 { padding-top: 50px !important; padding-bottom: 30px !important; }
  .tpi-section-head { margin-bottom: 28px; }
}

/* ==========================================================================
   Mobile bottom bar v2: rounded floating dock with a raised Enquire button
   ========================================================================== */
@media (max-width: 991px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .tpi-mbar {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    align-items: end;
    padding: 6px 4px;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(17, 24, 39, .18);
  }
  .tpi-mbar a {
    gap: 2px;
    padding: 6px 2px 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 14px;
    transition: color .2s, background .2s;
  }
  .tpi-mbar a i { font-size: 19px; color: var(--tpi-green); transition: transform .2s; }
  .tpi-mbar a:active i { transform: scale(.9); }
  .tpi-mbar a.is-active { color: var(--tpi-green); background: var(--tpi-green-soft); }
  .tpi-mbar a.tpi-mbar-wa i { color: #25d366; }
  /* Centre "Enquire" button lifted out of the bar */
  .tpi-mbar a.tpi-mbar-main { background: transparent; color: var(--tpi-green); padding-top: 0; }
  .tpi-mbar-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    margin-bottom: 2px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: linear-gradient(135deg, var(--tpi-green) 0%, #1f6a42 100%);
    box-shadow: 0 8px 18px rgba(46, 139, 87, .45);
  }
  .tpi-mbar a.tpi-mbar-main .tpi-mbar-fab i { color: #fff; font-size: 19px; }
  .tpi-mbar .tpi-wish-count { top: 2px; right: calc(50% - 20px); }
  .tpi-toast { bottom: 104px; }
}
/* AJAX form feedback */
.tpi-form-msg { margin-top: 12px; font-size: 14px; }
.tpi-form-msg:empty { display: none; }
.tpi-form-msg.is-success { padding: 10px 14px; border-radius: 10px; color: #1d5e3a; background: #eaf5ef; font-weight: 600; }
.tpi-form-msg.is-error { padding: 10px 14px; border-radius: 10px; color: #a12a1f; background: #fdeeec; }
.tpi-field-error { margin-top: 4px; font-size: 13px; color: #c0392b; }
.is-invalid { border-color: #dc3545 !important; }
/* ==========================================================================
   Rich text from the admin editor (CKEditor) - consistent on every page.
   The theme resets ul/ol to list-style:none globally, so lists lost bullets.
   ========================================================================== */
.tpi-content { color: #4b5563; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.tpi-content > :first-child { margin-top: 0; }
.tpi-content > :last-child { margin-bottom: 0; }
.tpi-content p { margin: 0 0 14px; }
.tpi-content h1, .tpi-content h2, .tpi-content h3,
.tpi-content h4, .tpi-content h5, .tpi-content h6 { color: var(--tpi-text); line-height: 1.3; margin: 26px 0 10px; font-weight: 700; }
.tpi-content h1 { font-size: 30px; }
.tpi-content h2 { font-size: 26px; }
.tpi-content h3 { font-size: 21px; }
.tpi-content h4 { font-size: 18px; }
.tpi-content h5, .tpi-content h6 { font-size: 16px; }
.tpi-content ul, .tpi-content ol { margin: 0 0 16px; padding-left: 24px; }
.tpi-content ul { list-style: disc; }
.tpi-content ol { list-style: decimal; }
.tpi-content ul ul { list-style: circle; margin: 6px 0 0; }
.tpi-content ol ol { list-style: lower-alpha; margin: 6px 0 0; }
.tpi-content li { margin-bottom: 6px; padding-left: 2px; }
.tpi-content li::marker { color: var(--tpi-green); }
.tpi-content strong, .tpi-content b { color: var(--tpi-text); font-weight: 700; }
.tpi-content a { color: var(--tpi-green); text-decoration: underline; text-underline-offset: 2px; }
.tpi-content a:hover { color: var(--tpi-maroon); }
.tpi-content img { max-width: 100%; height: auto !important; border-radius: 10px; margin: 8px 0; }
.tpi-content figure { margin: 16px 0; }
.tpi-content figure.image { display: table; }
.tpi-content figcaption { font-size: 13px; color: var(--tpi-muted); text-align: center; margin-top: 6px; }
.tpi-content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--tpi-green);
  border-radius: 0 10px 10px 0;
  background: #f6faf7;
  color: var(--tpi-text);
  font-style: italic;
}
.tpi-content hr { margin: 24px 0; border: 0; border-top: 1px solid var(--tpi-border); opacity: 1; }
.tpi-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 10px 0 20px;
  border-collapse: collapse;
  font-size: 15px;
}
.tpi-content table tbody, .tpi-content table thead { display: table; width: 100%; border-collapse: collapse; }
.tpi-content th, .tpi-content td { padding: 10px 12px; border: 1px solid var(--tpi-border); text-align: left; vertical-align: top; }
.tpi-content th, .tpi-content thead td { background: var(--tpi-green-soft); color: var(--tpi-text); font-weight: 700; }
.tpi-content tbody tr:nth-child(even) td { background: #fafbfa; }
.tpi-content iframe, .tpi-content video { max-width: 100%; border: 0; border-radius: 10px; }
.tpi-content iframe[src*="youtube"], .tpi-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tpi-content .text-center, .tpi-content [style*="text-align:center"], .tpi-content [style*="text-align: center"] { text-align: center; }
.tpi-content .image-style-align-left { float: left; margin: 4px 18px 10px 0; max-width: 50%; }
.tpi-content .image-style-align-right { float: right; margin: 4px 0 10px 18px; max-width: 50%; }
.tpi-content::after { content: ""; display: table; clear: both; }
/* Pasted Word/Docs HTML often brings fixed fonts and sizes; keep it on-brand */
.tpi-content span[style*="font-family"], .tpi-content p[style*="font-family"] { font-family: inherit !important; }
.tpi-content [style*="font-size"] { font-size: inherit !important; }
@media (max-width: 767px) {
  .tpi-content { font-size: 15.5px; }
  .tpi-content h1 { font-size: 24px; }
  .tpi-content h2 { font-size: 22px; }
  .tpi-content h3 { font-size: 19px; }
  .tpi-content .image-style-align-left, .tpi-content .image-style-align-right { float: none; max-width: 100%; margin: 10px 0; }
}
/* Text pasted from Google Docs / Word arrives with inline black colour and tight line-height */
.tpi-content [style*="line-height"] { line-height: inherit !important; }
.tpi-content [style*="color: rgb(0, 0, 0)"], .tpi-content [style*="color:rgb(0,0,0)"],
.tpi-content [style*="color: #000"], .tpi-content [style*="color:#000"],
.tpi-content [style*="color: black"], .tpi-content [style*="color:black"] { color: inherit !important; }
.tpi-content h1 [style*="color"], .tpi-content h2 [style*="color"], .tpi-content h3 [style*="color"] { color: inherit !important; }
.tpi-content [style*="background-color: transparent"] { background-color: transparent !important; }
/* Category carousel: amenity icons in a tidy pill */
.destination-area .destination-more-info span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}
.destination-area .destination-more-info span:last-child i { color: #fff !important; font-size: 13px; margin: 0; }

/* Home: video card */
.tpi-video-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--tpi-border);
  box-shadow: var(--tpi-shadow);
}
.tpi-video-text { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.tpi-video-text .site-title { margin: 12px 0 14px; }
.tpi-video-text p { color: var(--tpi-muted); line-height: 1.8; margin: 0; }
.tpi-video-media {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.tpi-video-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .05)); }
.tpi-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--tpi-maroon) !important;
  font-size: 26px;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .3), 0 15px 35px rgba(0, 0, 0, .3);
  transition: transform .25s ease;
}
.tpi-video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.tpi-video-play i { margin-left: 4px; }
@media (max-width: 991px) {
  .tpi-video-card { grid-template-columns: 1fr; }
  .tpi-video-media { min-height: 240px; order: -1; }
  .tpi-video-text { padding: 28px 22px; }
}
/* ==========================================================================
   Blog detail
   ========================================================================== */
.tpi-post-hero {
  position: relative;
  padding: 120px 0 70px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.tpi-post-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .75) 100%); }
.tpi-post-hero .container { position: relative; max-width: 960px; }
.tpi-post-crumbs { font-size: 14px; margin-bottom: 14px; color: rgba(255, 255, 255, .8); }
.tpi-post-crumbs a { color: rgba(255, 255, 255, .9); }
.tpi-post-crumbs a:hover { color: var(--tpi-yellow); }
.tpi-post-crumbs i { margin: 0 6px; font-size: 12px; }
.tpi-post-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; margin-bottom: 18px; text-shadow: 0 3px 18px rgba(0, 0, 0, .4); }
.tpi-post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 15px; color: rgba(255, 255, 255, .9); }
.tpi-post-meta li { display: flex; align-items: center; gap: 8px; }
.tpi-post-meta .tpi-review-avatar { width: 32px; height: 32px; font-size: 14px; }
.tpi-post-meta i { color: var(--tpi-yellow); }
.tpi-post-section { background: #fafaf7; }
.tpi-post { background: #fff; border: 1px solid var(--tpi-border); border-radius: 20px; padding: 28px 34px 34px; box-shadow: var(--tpi-shadow); }
.tpi-post-cover { width: 100%; border-radius: 14px; margin-bottom: 26px; }
.tpi-post-body { font-size: 17px; }
.tpi-post-body h2 { padding-top: 18px; border-top: 1px solid var(--tpi-border); }
.tpi-post-body > h2:first-child { border-top: 0; padding-top: 0; }
.tpi-post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--tpi-border); }
.tpi-post-share span { font-weight: 600; color: var(--tpi-text); margin-right: 6px; }
.tpi-post-share a, .tpi-post-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--tpi-border);
  border-radius: 50%;
  background: #fff;
  color: var(--tpi-text);
  transition: background .2s, color .2s, border-color .2s;
}
.tpi-post-share a:hover, .tpi-post-share button:hover { background: var(--tpi-green); border-color: var(--tpi-green); color: #fff; }
.tpi-post-share a.is-wa { color: #25d366; }
.tpi-post-share a.is-wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.tpi-post-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--tpi-green) 0%, #1d5e3a 100%);
}
.tpi-post-cta h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.tpi-post-cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.tpi-post-sidebar { position: sticky; top: 110px; }
.tpi-post-search { display: flex; border: 1.5px solid var(--tpi-border); border-radius: 30px; overflow: hidden; }
.tpi-post-search input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; outline: 0; }
.tpi-post-search button { width: 48px; border: 0; background: var(--tpi-green); color: #fff; }
.tpi-recent { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tpi-recent a { display: flex; gap: 12px; align-items: center; color: var(--tpi-text); }
.tpi-recent img { flex: 0 0 72px; width: 72px; height: 60px; object-fit: cover; border-radius: 10px; }
.tpi-recent strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.4; }
.tpi-recent small { display: block; margin-top: 4px; color: var(--tpi-muted); font-size: 12px; }
.tpi-recent a:hover strong { color: var(--tpi-green); }
.guide-widget-cta .tpi-callback-label { display: none; }
@media (max-width: 991px) {
  .tpi-post-sidebar { position: static; }
  .tpi-post-hero { padding: 90px 0 50px; }
}
@media (max-width: 575px) {
  .tpi-post { padding: 18px 16px 24px; border-radius: 16px; }
  .tpi-post-body { font-size: 16px; }
  .tpi-post-cta { padding: 22px 18px; }
}
.tpi-video-text .site-title-tagline { align-self: flex-start; }

/* Blog sidebar: only the "Need help planning?" box stays in view while scrolling */
@media (min-width: 992px) {
  .tpi-post-sidebar { position: static !important; height: 100%; }
  .tpi-post-sidebar .guide-widget-cta { position: sticky; top: 110px; z-index: 2; }
  .navbar.fixed-top.nav-hidden ~ * .tpi-post-sidebar .guide-widget-cta { top: 20px; }
}
/* The theme's body { overflow-x: hidden } turns <body> into a scroll container,
   which silently disables every position: sticky element on the site.
   overflow-x: clip still prevents sideways scrolling but keeps sticky working. */
html { overflow-x: hidden; }
body { overflow-x: clip !important; overflow-y: visible !important; }
/* ==========================================================================
   Floating Call / WhatsApp buttons (desktop) - redesigned
   The old float/wiggle animations also used transform, which overrode the
   hover transform, so hover never moved the buttons.
   ========================================================================== */
.floating-contact-buttons {
  right: 24px !important;
  bottom: 24px !important;
  gap: 14px !important;
  align-items: flex-end;
}
.floating-contact-buttons .contact-btn {
  position: relative;
  width: 56px;
  height: 56px;
  padding: 0 !important;
  justify-content: center;
  border-radius: 50% !important;
  overflow: visible !important;
  animation: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18) !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.floating-contact-buttons .contact-btn i { font-size: 23px !important; color: #fff; }
.floating-contact-buttons .call-btn { background: var(--tpi-green) !important; }
.floating-contact-buttons .whatsapp-btn { background: #25d366 !important; }
.floating-contact-buttons .contact-btn:hover,
.floating-contact-buttons .contact-btn:focus-visible {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25) !important;
}
.floating-contact-buttons .call-btn:hover { background: var(--tpi-green-dark) !important; }
.floating-contact-buttons .whatsapp-btn:hover { background: #1ebe5a !important; }

/* Soft pulse ring on WhatsApp only, to draw the eye without shaking */
.floating-contact-buttons .whatsapp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: tpiPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes tpiPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Label that slides out to the left on hover / keyboard focus */
.contact-btn-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--tpi-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}
.contact-btn-label small { font-size: 11px; font-weight: 500; color: var(--tpi-muted); }
.contact-btn-label::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
.floating-contact-buttons .contact-btn:hover .contact-btn-label,
.floating-contact-buttons .contact-btn:focus-visible .contact-btn-label {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}
.floating-contact-buttons .call-btn .contact-btn-label { color: var(--tpi-green); }
.floating-contact-buttons .whatsapp-btn .contact-btn-label { color: #128c4b; }
@media (prefers-reduced-motion: reduce) {
  .floating-contact-buttons .whatsapp-btn::before { animation: none; }
}
/* ==========================================================================
   Home: How it works (replaces the empty video section)
   ========================================================================== */
.tpi-how { background: #f6faf7; }
.tpi-how-sub { margin: 10px 0 0; color: var(--tpi-muted); font-size: 17px; }
.tpi-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  counter-reset: none;
}
/* dashed line linking the steps */
.tpi-steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 52px;
  border-top: 2px dashed rgba(46, 139, 87, .35);
}
.tpi-step {
  position: relative;
  padding: 30px 22px 26px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--tpi-border);
  border-radius: 20px;
  box-shadow: var(--tpi-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tpi-step:hover { transform: translateY(-5px); box-shadow: var(--tpi-shadow-hover); }
.tpi-step-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  background: var(--tpi-green);
  box-shadow: 0 0 0 8px var(--tpi-green-soft);
}
.tpi-step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: rgba(46, 139, 87, .1);
}
.tpi-step h3 { font-size: 19px; margin-bottom: 8px; color: var(--tpi-text); }
.tpi-step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--tpi-muted); }
.tpi-step:last-child .tpi-step-icon { background: var(--tpi-maroon); box-shadow: 0 0 0 8px #fbf1f1; }

.tpi-how-cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--tpi-green) 0%, #1d5e3a 100%);
  box-shadow: 0 20px 45px rgba(46, 139, 87, .25);
}
.tpi-how-cta h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.tpi-how-cta ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tpi-how-cta li { color: rgba(255, 255, 255, .9); }
.tpi-how-cta li i { color: var(--tpi-yellow); margin-right: 6px; }
.tpi-how-cta li a { color: #fff; font-weight: 700; text-decoration: underline; }
.tpi-how-cta .tpi-callback { margin: 0; }
.tpi-how-cta .tpi-callback-label { display: none; }
.tpi-how-cta .tpi-callback-row { padding: 6px; }
.tpi-how-cta .tpi-callback-row input { height: 46px; font-size: 16px; }
.tpi-how-cta .tpi-callback-row button { height: 46px; padding: 0 22px; font-size: 15px; }

@media (max-width: 991px) {
  .tpi-steps { grid-template-columns: repeat(2, 1fr); }
  .tpi-steps::before { display: none; }
  .tpi-how-cta { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (max-width: 575px) {
  .tpi-steps { grid-template-columns: 1fr; gap: 14px; }
  .tpi-step { text-align: left; padding: 20px 18px; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .tpi-step-icon { grid-row: span 2; margin: 0; }
  .tpi-step-num { font-size: 32px; }
}
/* Tripadvisor icon in the top bar - same circle as the other social icons */
.top-social .tpi-ta-link { display: inline-flex; align-items: center; justify-content: center; }
.top-social .tpi-ta-icon { width: 18px; height: 18px; display: block; }
.top-social .tpi-ta-link:hover { background: #34e0a1; border-color: #34e0a1; color: #000; }.top-social { display: flex; align-items: center; }
.top-social a { display: inline-flex !important; align-items: center; justify-content: center; vertical-align: middle; line-height: 1 !important; box-sizing: border-box; flex: 0 0 33px; }
.top-social .tpi-ta-icon { width: 21px; height: 21px; }
/* Theme sets li { list-style:none } globally; editor lists need their bullets back */
.tpi-content li { list-style: inherit !important; display: list-item; }
