.page-banner { position: relative; }
.page-banner > img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.page-banner .page-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; background: linear-gradient(transparent, rgba(15, 23, 42, .55)); color: #fff; }
.page-banner .com-back-1, .page-banner .com-back-1 a { color: #fff; }
.page-title { font-weight: 700; }
.error { color: #dc3545; font-size: .875rem; }
#loader { display: none; }
.tp-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #b7c3d0;
  background-image: linear-gradient(165deg, rgba(16, 32, 51, 0.5), rgba(16, 32, 51, 0.72));
  overflow: hidden;
}
.tp-thumb-fallback > img {
  width: auto !important;
  height: auto !important;
  max-width: 58%;
  max-height: 46%;
  object-fit: contain !important;
  transform: none !important;
}
.tp-trip-img-wrap > a { display: block; height: 100%; }
.tp-trip-img-wrap .tp-thumb-fallback { height: 100%; min-height: 230px; }
.tp-trip-card:hover .tp-thumb-fallback > img { transform: none; }
.tp-fact-chip i { margin-right: .35rem; }
.tp-fact-chip img { height: 16px; width: auto; margin-right: .35rem; vertical-align: -2px; }
.tp-itn-facts { font-weight: 500; }
.tp-prose table { width: 100%; }
.tp-contact-map { height: 380px; }
.tp-contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tp-sticky-subnav { display: none; position: fixed; left: 0; right: 0; z-index: 1020; background: #fff; border-bottom: 1px solid #e8edf3; }
.tp-sticky-subnav.is-visible { display: block; }
.tp-subnav-list { display: flex; gap: .75rem; list-style: none; margin: 0; padding: .65rem 0; overflow-x: auto; }
.tp-subnav-link { color: #334155; text-decoration: none; white-space: nowrap; font-size: .875rem; font-weight: 600; }
.tp-subnav-link.active, .tp-subnav-link:hover { color: var(--tp-primary, #0d6efd); }
.tp-prose h2, .tp-prose h3 { scroll-margin-top: 110px; }
.tp-toc { background: #f3f7f1; border: 1px solid #e2eadf; border-radius: 16px; padding: 18px 22px 8px; margin: 0 0 2rem; }
.tp-toc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tp-toc-icon { width: 36px; height: 36px; border-radius: 10px; background: #e5efe2; color: #3d6b34; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tp-toc-title { font-weight: 800; color: #1f2a1c; line-height: 1.2; }
.tp-toc-count { font-size: .8rem; color: #6b7a66; }
.tp-toc-toggle { margin-left: auto; border: 0; background: transparent; color: #3d6b34; font-weight: 700; font-size: .9rem; }
.tp-toc-list { list-style: none; margin: 0; padding: 0 0 8px; }
.tp-toc-list > li { margin: 0; }
.tp-toc-list > li > a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; color: #243022; font-weight: 700; text-decoration: none; }
.tp-toc-list > li > a span { color: #3d6b34; font-variant-numeric: tabular-nums; min-width: 1.6rem; }
.tp-toc-list ul { list-style: none; margin: 0 0 6px 1.5rem; padding: 0 0 0 14px; border-left: 2px solid #d5e2d0; }
.tp-toc-list ul a { display: block; padding: 4px 0; color: #5c6b58; text-decoration: none; font-weight: 500; }
.tp-toc-list ul a::before { content: "– "; }
.tp-toc-list a:hover { color: #2f5a28; }
.tp-toc.is-collapsed .tp-toc-list { display: none; }
.tp-toc.is-collapsed { padding-bottom: 18px; }
.tp-nav-search { position: relative; }
.tp-search-toggle {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.tp-search-toggle.is-open {
    color: var(--tp-primary-dark) !important;
    background-color: var(--tp-primary-light);
}
.tp-search-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(380px, calc(100vw - 32px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .16);
    padding: 12px;
    z-index: 20;
}
.tp-search-panel[hidden] { display: none !important; }
.tp-search-results { max-height: 340px; overflow: auto; margin-top: 8px; }
.tp-search-results[hidden] { display: none !important; }
.tp-search-hit {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
}
.tp-search-hit:hover { background: #f1f5f9; color: var(--tp-primary-dark, #0b3a5b); }
.tp-search-kind {
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    min-width: 4.6rem;
}
.tp-search-empty { padding: 8px 10px; color: #64748b; font-size: .9rem; }
@media (max-width: 1199px) {
    .tp-nav-search { width: 100%; }
    .tp-search-panel {
        position: static;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}
.booking-box, .payment-container, .contact-form {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    padding: 1.5rem;
}
.page-title { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
#availability, .table-responsive { background: #fff; }

/* ===== Desktop main menu: hover + dropdown refinements ===== */
@media (min-width: 1200px) {
  /* Top-level links: animated underline instead of a filled box */
  .tp-navbar .navbar-nav > .nav-item > .nav-link {
    position: relative;
    background: transparent !important;
    transition: color .2s ease;
  }
  .tp-navbar .navbar-nav > .nav-item > .nav-link::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--tp-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
  }
  .tp-navbar .navbar-nav > .nav-item:hover > .nav-link,
  .tp-navbar .navbar-nav > .nav-item:focus-within > .nav-link,
  .tp-navbar .navbar-nav > .nav-item > .nav-link.active {
    color: var(--tp-primary-dark) !important;
    background: transparent !important;
  }
  .tp-navbar .navbar-nav > .nav-item:hover > .nav-link::before,
  .tp-navbar .navbar-nav > .nav-item:focus-within > .nav-link::before,
  .tp-navbar .navbar-nav > .nav-item > .nav-link.active::before {
    transform: scaleX(1);
  }
  .tp-navbar .navbar-nav > .dropdown > .dropdown-toggle::after {
    transition: transform .25s ease;
  }
  .tp-navbar .navbar-nav > .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Dropdown panels: fade/slide with a short close delay so the pointer can travel */
  .tp-navbar .navbar-nav .dropdown-menu:not(.mega-menu) {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    animation: none !important;
    margin-top: 0;
    border-top: 2px solid var(--tp-primary);
    transition: opacity .2s ease .12s, transform .2s ease .12s, visibility 0s linear .32s;
  }
  .tp-navbar .navbar-nav > .dropdown:not(.has-mega-menu):hover > .dropdown-menu,
  .tp-navbar .navbar-nav > .dropdown:not(.has-mega-menu):focus-within > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu:hover > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu-deep:hover > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu-deepest:hover > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu:focus-within > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu-deep:focus-within > .dropdown-menu,
  .tp-navbar .navbar-nav .dropdown-submenu-deepest:focus-within > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  /* Sub-flyouts slide sideways and have no top accent */
  .tp-navbar .navbar-nav .dropdown-menu-level-3,
  .tp-navbar .navbar-nav .dropdown-menu-level-4,
  .tp-navbar .navbar-nav .dropdown-menu-level-5 {
    border-top: 1px solid var(--tp-gray-200);
    transform: translateX(-8px);
    position: absolute;
    top: 0;
    left: 100%;
    margin: -6px 0 0 4px;
  }
  /* Invisible bridge so the top-level panel doesn't close crossing the gap */
  .tp-navbar .navbar-nav > .dropdown:not(.has-mega-menu) > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }

  /* Dropdown items: left accent bar rather than shifting text */
  .tp-navbar .dropdown-item {
    position: relative;
    transform: none !important;
    transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
  }
  .tp-navbar .dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 3px;
    background: var(--tp-primary);
    transform: translateY(-50%);
    transition: height .18s ease;
  }
  .tp-navbar .dropdown-item:hover,
  .tp-navbar .dropdown-item:focus,
  .tp-navbar .dropdown-submenu:hover > .dropdown-item,
  .tp-navbar .dropdown-submenu-deep:hover > .dropdown-item {
    padding-left: 18px;
  }
  .tp-navbar .dropdown-item:hover::before,
  .tp-navbar .dropdown-item:focus::before,
  .tp-navbar .dropdown-submenu:hover > .dropdown-item::before,
  .tp-navbar .dropdown-submenu-deep:hover > .dropdown-item::before {
    height: 60%;
  }
  .tp-navbar .dropdown-submenu:hover > .dropdown-item,
  .tp-navbar .dropdown-submenu-deep:hover > .dropdown-item {
    background-color: var(--tp-primary-light);
    color: var(--tp-primary-dark);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-navbar .navbar-nav .dropdown-menu,
  .tp-navbar .navbar-nav .nav-link::before,
  .tp-navbar .dropdown-item {
    transition: none !important;
  }
}

/* Search: keep the panel above dropdowns/mega menus and give the icon its own hover state */
.tp-nav-search { z-index: 1100; }
.tp-search-panel { z-index: 1100; }
@media (min-width: 1200px) {
  .tp-navbar .navbar-nav > .tp-nav-search > .tp-search-toggle {
    border-radius: 50%;
    transition: background-color .2s ease, color .2s ease;
  }
  .tp-navbar .navbar-nav > .tp-nav-search:hover > .tp-search-toggle,
  .tp-navbar .navbar-nav > .tp-nav-search > .tp-search-toggle.is-open {
    background: var(--tp-primary-light) !important;
    color: var(--tp-primary-dark) !important;
  }
  .tp-navbar .navbar-nav > .tp-nav-search > .tp-search-toggle::before { display: none; }
}
