/* Design derived from "TourNest" by ThemeSINE (https://www.themesine.com/), MIT License. See LICENSE-TourNest.txt. */

/* ts_boat_tourism theme: Bootstrap 5.3 overrides that reproduce tstourismboat.com.
   The four partner colours (--primary-color, --secondary-color, --tertiary-color,
   --whole-site-text-color) are bound inline in base.html from theme_colors. */

:root {
  --ts-accent: #2cdbb5;
  --ts-heading: #565a5c;
  --ts-body: #666666;
  --ts-muted: #aaaaaa;
  --ts-subtle: #6f6f6f;
  --ts-surface-alt: #f9f9f9;
  --ts-hairline: #ebebeb;
  --ts-hero-overlay: rgba(0, 122, 207, 0.4);
  --ts-brand-blue: #2a67b2;
  --ts-glass: rgba(0, 0, 0, 0.6);
  --ts-card-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  --ts-card-shadow-hover: 0 0 20px rgba(0, 0, 0, 0.2);
  --ts-btn-shadow: 0 5px 20px rgba(14, 15, 18, 0.2);
  --ts-btn-shadow-hover: 0 5px 20px rgba(14, 15, 18, 0.7);
  --ts-radius-btn: 5px;
  --ts-header-h: 82px;
}
.ts-landing { --ts-header-h: 140px; }
@media (max-width: 991.98px) {
  :root, .ts-landing { --ts-header-h: 78px; }
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[id] { scroll-margin-top: calc(var(--ts-header-h) + 16px); }

.ts-theme {
  --bs-body-font-family: 'Poppins', 'Noto Sans Telugu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--whole-site-text-color);
  --bs-link-color-rgb: 42, 103, 178;
  --bs-link-hover-color-rgb: 31, 83, 148;
  font-family: var(--bs-body-font-family);
  font-size: 14px;
  color: var(--whole-site-text-color);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Bootstrap's display utilities (d-md-inline-flex…) are !important and come after
   its [hidden] rule, so they would show an element the script left hidden. */
.ts-theme [hidden] { display: none !important; }
.ts-theme p { color: var(--ts-body); }
.ts-theme h1, .ts-theme h2, .ts-theme h3, .ts-theme h4, .ts-theme h5, .ts-theme h6 { color: var(--whole-site-text-color); }
:lang(te) { font-family: 'Noto Sans Telugu', 'Poppins', sans-serif; line-height: 1.6; }
.ts-theme .container { --bs-gutter-x: 30px; }
@media (min-width: 1200px) {
  .ts-theme .container { max-width: 1170px; }
}
.ts-theme .row.ts-g30 { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
.ts-skip { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 12px; }
.brand { font-family: 'Poppins', sans-serif; font-weight: 600; }
.ts-link { color: var(--ts-brand-blue); text-decoration: underline; }
.ts-link:hover { color: #1f5394; }
.ts-messages .alert { margin-bottom: 1rem; }
.ts-landing .ts-messages {
  max-width: 1170px;
  margin: 0 auto;
  padding: calc(var(--ts-header-h) + 24px) 15px 0;
}

/* ---------- Buttons ---------- */
.ts-btn, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 120px;
  min-height: 40px;
  padding: 0 16px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--ts-radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out, border-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.ts-btn:hover, .ts-btn:focus-visible, .cta-btn:hover, .cta-btn:focus-visible {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: #fff;
}
.ts-btn:focus-visible, .cta-btn:focus-visible, .ts-btn-hero:focus-visible, .ts-btn-outline:focus-visible {
  outline: 3px solid var(--ts-brand-blue);
  outline-offset: 2px;
}
.ts-btn.disabled, .ts-btn[disabled], .cta-btn.disabled, .cta-btn[disabled] { opacity: 0.6; pointer-events: none; }
.ts-btn-sm { min-width: 110px; min-height: 35px; font-size: 14px; }
.ts-btn-sm:hover { box-shadow: 0 5px 20px rgba(14, 15, 18, 0.3); }
.ts-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  background: #fff;
  color: var(--ts-heading);
  border: 1px solid var(--ts-hairline);
  border-radius: var(--ts-radius-btn);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.ts-btn-outline:hover { border-color: var(--primary-color); color: var(--ts-heading); }
.ts-btn-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  background: var(--primary-color);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: var(--ts-radius-btn);
  box-shadow: var(--ts-btn-shadow);
  text-decoration: none;
  transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
.ts-btn-hero:hover, .ts-btn-hero:focus-visible { background: var(--tertiary-color); color: #fff; box-shadow: var(--ts-btn-shadow-hover); }
.ts-theme .btn-outline-secondary {
  --bs-btn-color: var(--secondary-color);
  --bs-btn-border-color: var(--secondary-color);
  --bs-btn-hover-bg: var(--secondary-color);
  --bs-btn-hover-border-color: var(--secondary-color);
  --bs-btn-active-bg: var(--secondary-color);
  --bs-btn-active-border-color: var(--secondary-color);
  --bs-btn-border-radius: var(--ts-radius-btn);
}
@media (max-width: 991.98px) {
  .ts-btn, .cta-btn { min-width: 100px; font-size: 13px; }
}

/* ---------- Header ---------- */
.ts-header { z-index: 1030; width: 100%; }
.ts-header-inner {
  position: sticky;
  top: 0;
  background: var(--secondary-color);
  border-bottom: 2px solid #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}
.ts-header-landing {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  transition: background-color 0.5s linear;
}
.ts-header-landing.is-scrolled,
.ts-header.is-open { background-color: var(--secondary-color); }
.ts-navbar { padding: 12px 0; }
.ts-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  line-height: 1;
  text-decoration: none;
}
.ts-logo-plate img { display: block; width: auto; height: auto; max-height: 48px; max-width: 150px; }
.ts-logo-plate .brand { color: var(--ts-brand-blue); font-size: 18px; padding: 8px 4px; }
.ts-dual-logo { display: flex; align-items: center; gap: 15px; }
.ts-dual-logo .ts-logo-plate img { max-height: 72px; transition: max-height 0.4s ease; }
.ts-header-landing.is-scrolled .ts-dual-logo .ts-logo-plate img { max-height: 48px; }
.ts-navbar .nav-link {
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  margin: 0 12px;
  transition: color 0.3s linear;
}
.ts-navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}
.ts-navbar .nav-link:hover,
.ts-navbar .nav-link:focus-visible,
.ts-navbar .nav-link[aria-current="page"] { color: var(--primary-color); }
.ts-navbar .nav-link:hover::before,
.ts-navbar .nav-link[aria-current="page"]::before { width: 100%; }
.ts-navbar .ts-nav-cta { margin-left: 12px; }
.ts-navbar .navbar-toggler {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  padding: 6px 9px;
  line-height: 1;
}
.ts-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(0, 216, 255, 0.35); }
.ts-navbar .navbar-toggler svg { width: 22px; height: 22px; display: block; }
@media (min-width: 992px) {
  .ts-landing-bar { flex-direction: column; align-items: center; padding-top: 8px; }
  .ts-landing-bar .navbar-collapse { justify-content: center; margin-top: 12px; flex-grow: 0; }
}
@media (max-width: 991.98px) {
  .ts-navbar .navbar-collapse {
    background: var(--secondary-color);
    margin: 10px calc(var(--bs-gutter-x) * -0.5) -12px;
    padding: 8px calc(var(--bs-gutter-x) * 0.5) 16px;
  }
  .ts-navbar .nav-link { margin: 0; padding: 10px 0; font-size: 15px; }
  .ts-navbar .nav-link::before { display: none; }
  .ts-navbar .ts-nav-cta { margin: 10px 0 0; }
  .ts-dual-logo { gap: 8px; }
  .ts-dual-logo .ts-logo-plate img,
  .ts-header-landing.is-scrolled .ts-dual-logo .ts-logo-plate img { max-height: 44px; max-width: 110px; }
  .ts-logo-plate img { max-height: 44px; max-width: 130px; }
}

/* ---------- Main ---------- */
.ts-main { flex: 1 0 auto; }
.ts-breadcrumb { --bs-breadcrumb-divider: "›"; font-size: 13px; margin-bottom: 1.25rem; }
.ts-breadcrumb a { color: var(--ts-brand-blue); text-decoration: none; }
.ts-breadcrumb a:hover { text-decoration: underline; }
.ts-breadcrumb .active { color: var(--ts-subtle); }
.ts-page-head { margin-bottom: 2rem; }
.ts-page-head h1 { font-size: 30px; font-weight: 500; color: var(--ts-heading); margin-bottom: 0.4rem; }
.ts-page-head p { font-size: 16px; color: var(--ts-subtle); margin: 0; }
.ts-section-head { text-align: center; margin-bottom: 50px; }
.ts-section-head h1, .ts-section-head h2 { font-size: 30px; font-weight: 500; color: var(--ts-heading); padding-bottom: 14px; margin: 0; }
.ts-section-head p { font-size: 16px; color: var(--ts-subtle); margin: 0; }
.ts-block-title { font-size: 20px; font-weight: 500; color: var(--ts-heading); margin: 2rem 0 1rem; }
.ts-surface-alt { background: var(--ts-surface-alt); }
@media (max-width: 767.98px) {
  .ts-section-head { margin-bottom: 28px; }
  .ts-section-head h1, .ts-section-head h2, .ts-page-head h1, .ts-404-title { font-size: 24px; }
}

/* ---------- Hero ---------- */
.ts-hero { position: relative; height: clamp(560px, 100svh, 900px); background: #1d4e7a; overflow: hidden; }
.ts-hero .carousel, .ts-hero .carousel-inner, .ts-hero .carousel-item { height: 100%; }
.ts-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts-hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ts-brand-blue) 0%, #0b3f6b 60%, var(--secondary-color) 100%);
}
.ts-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ts-hero-overlay);
  z-index: 1;
}
.ts-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(170px + 12px);
  padding-bottom: 48px;
}
.ts-hero-title {
  color: #fff !important;
  font-size: 84px;
  font-weight: 600;
  line-height: 1.22;
  max-width: 800px;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}
.ts-hero-title.is-feature { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; }
.ts-hero-ctas { margin-top: 8px; }
.ts-hero-ctas .ts-btn-hero { margin-top: 39px; }
.ts-hero-chip {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ts-theme .ts-hero-price { color: #fff; font-size: 18px; font-weight: 500; margin: 12px 0 0; }
.ts-hero .carousel-indicators { z-index: 3; margin-bottom: 1.25rem; }
.ts-hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border: 0; border-radius: 999px; }
.ts-hero .carousel-control-prev, .ts-hero .carousel-control-next { z-index: 3; width: 7%; }
.ts-fade-up { animation: ts-fade-up 1s ease both; }
.ts-fade-down { animation: ts-fade-down 1s ease both; }
@keyframes ts-fade-up { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes ts-fade-down { from { opacity: 0; transform: translate3d(0, -40px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) {
  .ts-hero-title { font-size: 64px; }
  .ts-hero-content { padding-top: calc(var(--ts-header-h) + 32px); }
}
@media (max-width: 767.98px) {
  .ts-hero { height: auto; min-height: 560px; }
  .ts-hero .carousel-item { min-height: 560px; }
  .ts-hero-title { font-size: 43px; }
  .ts-hero-ctas .ts-btn-hero { margin-top: 24px; }
}
@media (max-width: 480px) {
  .ts-hero-title { font-size: 30px; }
}

/* Festival greeting badge */
.ts-festival {
  position: absolute;
  top: calc(170px + 16px);
  right: 15px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  padding: 12px 16px 12px 12px;
  background: var(--ts-glass);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
}
.ts-festival img { width: 120px; height: 86px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.ts-festival-text { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.4; }
@media (max-width: 991.98px) {
  .ts-festival { top: calc(var(--ts-header-h) + 16px); }
}
@media (max-width: 767.98px) {
  .ts-festival {
    position: static;
    flex-direction: column;
    text-align: center;
    max-width: none;
    margin-bottom: 24px;
  }
  .ts-festival img { width: 140px; height: 96px; }
}

/* ---------- Service strip ---------- */
.ts-service { padding: 80px 0 54px; background: #fff; }
.ts-service-box { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.ts-service-box img { flex: 0 0 auto; width: auto; height: 80px; }
.ts-service-body { text-align: center; flex: 1 1 auto; }
.ts-service-title { font-size: 16px; font-weight: 500; color: var(--ts-heading) !important; text-transform: capitalize; margin: 20px 0 12px; }
.ts-service-body p { color: var(--ts-subtle); margin: 0; }
@media (max-width: 767.98px) {
  .ts-service { padding: 48px 0 24px; }
  .ts-service-box { flex-direction: column; align-items: center; text-align: center; }
  .ts-service-title { margin-top: 8px; }
}

/* ---------- Top destination tiles ---------- */
.ts-destinations { padding: 117px 0 109px; }
.ts-tile {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ts-brand-blue) 0%, var(--secondary-color) 100%);
  box-shadow: var(--ts-card-shadow);
  color: #fff;
  text-decoration: none;
}
.ts-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ts-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}
.ts-tile:hover img, .ts-tile:focus-visible img { transform: scale(1.5); }
.ts-tile-title {
  position: absolute;
  left: 60px;
  right: 20px;
  bottom: 20%;
  z-index: 1;
}
.ts-tile-title h2, .ts-tile-title h3 { color: #fff !important; font-size: 24px; font-weight: 500; margin: 0 0 6px; transition: color 0.6s linear; }
.ts-tile-title p { margin: 0; display: flex; flex-wrap: wrap; column-gap: 30px; }
.ts-tile-title span { color: #fff; font-size: 16px; transition: color 0.6s linear; }
.ts-tile-title .ts-tile-desc { font-size: 14px; display: block; max-width: 36ch; }
.ts-tile:hover .ts-tile-title h2, .ts-tile:hover .ts-tile-title h3, .ts-tile:hover .ts-tile-title span,
.ts-tile:focus-visible .ts-tile-title h2, .ts-tile:focus-visible .ts-tile-title h3, .ts-tile:focus-visible .ts-tile-title span { color: var(--ts-accent) !important; }
.ts-tile:focus-visible { outline: 3px solid var(--ts-brand-blue); outline-offset: 3px; }
.ts-view-all { text-align: center; margin-top: 40px; }
@media (max-width: 1199.98px) {
  .ts-tile-title { bottom: 6%; left: 15px; }
}
@media (max-width: 767.98px) {
  .ts-destinations { padding: 56px 0; }
  .ts-tile { height: 200px; }
  .ts-tile-title h2, .ts-tile-title h3 { font-size: 20px; }
  .ts-tile-title span { font-size: 14px; }
}

/* ---------- Listing sections and cards ---------- */
.ts-packages { padding: 120px 0 90px; }
.ts-listing + .ts-listing { margin-top: 90px; }
.ts-swipe-hint { display: none; font-size: 13px; color: var(--ts-subtle) !important; margin-top: 6px !important; }
.ts-card, .card-soft {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: var(--ts-card-shadow);
  transition: box-shadow 0.5s ease;
}
.ts-card:hover, .card-soft:hover { box-shadow: var(--ts-card-shadow-hover); }
.ts-card { display: flex; flex-direction: column; height: 100%; padding-bottom: 20px; }
.ts-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--ts-brand-blue), var(--secondary-color)); }
.ts-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-card-media-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-weight: 500; padding: 1rem; text-align: center; }
.ts-card-body { padding: 0 25px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ts-card-title {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  color: var(--ts-heading) !important;
  padding: 20px 0;
  margin: 0 0 15px;
  line-height: 1.35;
}
.ts-card-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ts-hairline); }
.ts-card-title a { color: inherit; text-decoration: none; }
.ts-card-title a:hover { color: var(--ts-brand-blue); }
.ts-card-meta { font-size: 13px; color: var(--ts-subtle); margin: -6px 0 10px; }
.ts-card-price { font-size: 14px; color: var(--ts-heading); margin-bottom: 14px; }
.ts-card-price .ts-fare-label { font-weight: 500; margin-top: 4px; }
.ts-card-price .ts-fare-label:first-child { margin-top: 0; }
.ts-card-price .ts-fare { display: block; }
.ts-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ts-card-rooms { list-style: none; padding: 0; margin: 0; }
.ts-card-rooms li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.ts-card-rooms li span:last-child { white-space: nowrap; font-weight: 500; }
.ts-listing-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; align-items: center; margin-top: 30px; }
.ts-listing-actions a:not(.ts-btn-outline) { color: var(--ts-brand-blue); font-weight: 500; }
.ts-pricing-note { text-align: center; font-size: 12px; color: var(--ts-subtle) !important; margin-top: 40px; }
@media (min-width: 768px) {
  .ts-listing[data-expanded="false"] .ts-card-col:nth-child(n+7) { display: none; }
}
@media (max-width: 767.98px) {
  .ts-packages { padding: 56px 0 40px; }
  .ts-listing + .ts-listing { margin-top: 48px; }
  .ts-swipe-hint { display: block; }
  .ts-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
  }
  .ts-rail > .ts-card-col { flex: 0 0 82%; width: 82%; max-width: 82%; scroll-snap-align: start; }
  .ts-listing-actions { margin-top: 16px; }
}

/* Shared price contract classes (used by partners/includes/*) */
.price-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.2rem; }
.price-compare { color: var(--ts-subtle); text-decoration: line-through; font-size: 0.92em; }
.price-current { font-weight: 600; color: var(--ts-heading); }
.price-context { font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ts-subtle); }
.price-savings {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(44, 219, 181, 0.16);
  color: #0b7a62;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ts-tariff-on-request { font-weight: 600; color: var(--ts-heading); }

/* ---------- Landing gallery and certifications ---------- */
.ts-photo-gallery { padding: 90px 0; }
.ts-gallery-tile { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ts-surface-alt); }
.ts-gallery-tile img, [data-preview-gallery] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-openable { cursor: zoom-in; }
.ts-gallery[data-expanded="false"] .ts-gallery-col:nth-child(n+10) { display: none; }
@media (max-width: 991.98px) {
  .ts-gallery[data-expanded="false"] .ts-gallery-col:nth-child(n+7) { display: none; }
}
.ts-certifications { padding: 0 0 90px; }
.ts-cert-card { display: flex; flex-direction: row; gap: 16px; align-items: flex-start; height: 100%; padding: 24px; }
.ts-cert-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(42, 103, 178, 0.1); color: var(--ts-brand-blue); }
.ts-cert-card h3 { font-size: 16px; font-weight: 500; color: var(--ts-heading) !important; margin: 0 0 6px; }
.ts-cert-number { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; color: var(--whole-site-text-color) !important; margin: 0 0 4px; word-break: break-all; }
.ts-cert-card p { margin: 0; }
@media (max-width: 767.98px) {
  .ts-photo-gallery { padding: 56px 0; }
  .ts-certifications { padding-bottom: 56px; }
}

/* ---------- Footer ---------- */
.ts-footer { background: var(--ts-surface-alt); padding: 120px 0 60px; margin-top: auto; }
.ts-main + .ts-footer { margin-top: 0; }
.ts-footer h2 { font-size: 16px; font-weight: 600; color: var(--ts-heading) !important; margin-bottom: 40px; }
.ts-footer ul { list-style: none; padding: 0; margin: 0; }
.ts-footer li { margin-bottom: 10px; }
.ts-footer a { color: var(--ts-heading); font-size: 16px; text-decoration: none; transition: color 0.3s linear; }
.ts-footer a:hover, .ts-footer a:focus-visible { color: var(--primary-color); }
.ts-footer .ts-logo-plate { padding: 8px 12px; }
.ts-footer .ts-logo-plate img { max-height: 110px; max-width: 220px; }
.ts-footer-address { font-size: 14px; color: var(--ts-body); white-space: pre-line; line-height: 2; margin: 0; }
.ts-footer hr { border-color: var(--ts-hairline); opacity: 1; margin: 60px 0 40px; }
.ts-copyright { text-align: center; font-size: 16px; color: var(--ts-subtle) !important; margin: 0; }
.ts-copyright a { color: var(--primary-color); font-size: 16px; }
.ts-copyright a:hover { color: var(--tertiary-color); }
.ts-powered { display: block; text-align: center; font-size: 12px; margin-top: 8px; }
.ts-powered a { color: var(--ts-subtle); font-size: 12px; }
@media (max-width: 767.98px) {
  .ts-footer { padding: 64px 0 40px; }
  .ts-footer h2 { margin-bottom: 18px; }
  .ts-footer .col-md-6 + .col-md-6 { margin-top: 30px; }
  .ts-footer hr { margin: 36px 0 24px; }
}

/* ---------- Back to top ---------- */
.ts-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1020;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: var(--primary-color);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.4s ease, border-radius 0.4s ease, bottom 0.3s ease;
}
.ts-back-to-top.is-visible { opacity: 1; visibility: visible; }
.ts-back-to-top:hover, .ts-back-to-top:focus-visible { background: var(--ts-accent); border-radius: 50%; }
.ts-back-to-top svg { width: 20px; height: 20px; }

/* ---------- Mobile action bar (detail pages) ---------- */
.ts-mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; }
.ts-mobile-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-top: 1px solid var(--ts-hairline);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 15px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ts-mobile-bar-price { flex: 1 1 auto; font-weight: 600; color: var(--ts-heading); font-size: 15px; line-height: 1.2; }
.ts-mobile-bar-price small { font-weight: 400; color: var(--ts-subtle); font-size: 12px; }
@media (max-width: 991.98px) {
  body:has(.ts-mobile-bar) { padding-bottom: 64px; }
  body:has(.ts-mobile-bar) .ts-back-to-top { bottom: 94px; }
}

/* ---------- Lightbox ---------- */
.partner-gallery-lightbox .modal-content { background: transparent; border: 0; box-shadow: none; }
.partner-gallery-lightbox .btn-close { filter: invert(1) grayscale(1) brightness(200%); opacity: 0.95; }
.partner-gallery-lightbox .modal-body { position: relative; touch-action: pan-y; }
.partner-gallery-lightbox-image { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.ts-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ts-lightbox-nav:hover, .ts-lightbox-nav:focus-visible { background: var(--primary-color); }
.ts-lightbox-nav svg { width: 22px; height: 22px; }
.ts-lightbox-prev { left: 8px; }
.ts-lightbox-next { right: 8px; }
.ts-lightbox-count { color: #fff; font-size: 14px; margin-top: 8px; }

/* ---------- Detail pages ---------- */
/* Grid areas keep the fare box (with the page h1) right under the image on phones and
   beside the content, sticky, from 992px; DOM order matches the phone reading order. */
.ts-detail { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "box" "body"; row-gap: 24px; }
.ts-detail-media { grid-area: media; min-width: 0; }
.ts-detail-box { grid-area: box; min-width: 0; }
.ts-detail-body { grid-area: body; min-width: 0; }
@media (min-width: 992px) {
  .ts-detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "media box" "body box"; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 0; }
}
.ts-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--ts-brand-blue), var(--secondary-color)); }
.ts-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-media-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 22px; font-weight: 500; padding: 2rem; text-align: center; }
.ts-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 14px; }
.ts-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 216, 255, 0.12);
  color: #075f73;
  font-size: 13px;
  font-weight: 500;
}
.ts-chip-muted { background: #f1f1f1; color: var(--ts-heading); }
.ts-desc { font-size: 14px; line-height: 1.75; color: var(--ts-body); }
.ts-facts { margin: 1.25rem 0; padding: 16px 20px; background: var(--ts-surface-alt); border-left: 3px solid var(--primary-color); }
.ts-facts p { margin: 0 0 6px; color: var(--ts-body); }
.ts-facts p:last-child { margin-bottom: 0; }
.ts-facts strong { color: var(--ts-heading); font-weight: 600; }
.ts-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ts-checklist li { position: relative; padding-left: 28px; color: var(--ts-body); }
.ts-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.32 8.39a.75.75 0 1 1 1.06-1.06l2.1 2.1 3.49-4.46Z'/%3E%3C/svg%3E") center/12px no-repeat,
    var(--ts-accent);
}
.ts-checklist.is-note li::before {
  background:
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M8.93 6.588l-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0'/%3E%3C/svg%3E") center/14px no-repeat,
    var(--ts-brand-blue);
}
.ts-price-box {
  position: sticky;
  top: calc(var(--ts-header-h) + 16px);
  background: #fff;
  box-shadow: var(--ts-card-shadow);
  padding: 28px 25px;
}
.ts-price-box h1 { font-size: 26px; font-weight: 500; color: var(--ts-heading) !important; margin: 0 0 16px; line-height: 1.3; }
.ts-fare-group { padding: 12px 0; border-top: 1px solid var(--ts-hairline); }
.ts-fare-group:first-of-type { border-top: 0; padding-top: 0; }
.ts-fare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; }
.ts-fare-row .price-current { font-size: 18px; }
.ts-box-note { font-size: 13px; color: var(--ts-subtle) !important; margin: 6px 0 0; }
.ts-box-extra { font-size: 14px; color: var(--ts-heading) !important; margin: 10px 0 0; }
.ts-box-ctas { display: grid; gap: 10px; margin-top: 18px; }
.ts-box-ctas .ts-btn { width: 100%; min-height: 44px; }
.ts-consent { font-size: 13px; color: var(--ts-body) !important; margin: 0; }
.ts-consent a { color: var(--ts-brand-blue); text-decoration: underline; }
.ts-advance-notice { font-size: 13px; padding: 10px 12px; background: #fff8e1; border-left: 3px solid #f0b400; color: #5c4400 !important; margin: 12px 0 0; }
.ts-map { margin-top: 1rem; }
.ts-map iframe { width: 100%; height: 300px; border: 0; }
.ts-gallery-section { margin-top: 3.5rem; }
.ts-gallery-section .ts-gallery-tile { aspect-ratio: auto; height: 220px; }
.ts-safety { margin-top: 3rem; }
.ts-safety ul { padding-left: 1.2rem; margin: 0; }
.ts-safety li { color: var(--ts-body); margin-bottom: 6px; }
@media (max-width: 991.98px) {
  .ts-price-box { position: static; }
}
@media (max-width: 767.98px) {
  .ts-gallery-section .ts-gallery-tile { height: 140px; }
}

/* Room types */
.ts-room { padding: 20px; margin-bottom: 16px; }
.ts-room-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ts-surface-alt); }
.ts-room-media img, .room-carousel-image { width: 100%; height: 100%; object-fit: cover; }
.room-carousel { aspect-ratio: 4 / 3; overflow: hidden; }
.room-carousel .carousel-inner, .room-carousel .carousel-item { height: 100%; }
.ts-room h3 { font-size: 18px; font-weight: 500; color: var(--ts-heading) !important; margin: 0 0 8px; }
.ts-room-facts { font-size: 13px; color: var(--ts-subtle) !important; margin: 0 0 2px; }
.ts-room-price { text-align: right; }
.ts-room-extra {
  margin: -8px 0 16px 28px;
  padding: 12px 16px;
  border-top: 1px solid var(--ts-hairline);
  background: var(--ts-surface-alt);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  align-items: center;
}
.ts-room-extra-name { color: var(--ts-heading); font-weight: 500; }
.ts-tariff-list { list-style: none; padding: 0; margin: 0 0 6px; }
.ts-tariff-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--ts-hairline); color: var(--ts-heading); }
.ts-tariff-list li span:last-child { white-space: nowrap; font-weight: 600; }
@media (max-width: 767.98px) {
  .ts-room-price { text-align: left; margin-top: 8px; }
  .ts-room-extra { margin-left: 12px; }
}

/* ---------- Booking, checkout, lookup ---------- */
.ts-card-modern {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  padding: 2rem;
}
@media (max-width: 575.98px) {
  .ts-card-modern { padding: 1.25rem; }
}
.ts-card-modern h2, .ts-card-title { font-size: 20px; font-weight: 500; color: var(--ts-heading) !important; margin-bottom: 1rem; }
.ts-form .form-control, .ts-form .form-select, .ts-card-modern .form-control, .ts-card-modern .form-select {
  border-radius: 8px;
  border-color: #dee2e6;
  min-height: 42px;
}
.ts-form .form-control:focus, .ts-form .form-select:focus, .ts-card-modern .form-control:focus, .ts-card-modern .form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.ts-form .form-label { font-weight: 500; color: var(--ts-heading); }
.ts-submit { width: 100%; min-height: 48px; border-radius: 8px; font-weight: 600; font-size: 16px; }
.booking-stepper { display: flex; gap: 0.55rem; margin-bottom: 1rem; }
.booking-step {
  flex: 1;
  text-align: center;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 0.46rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
}
.booking-step.is-active { color: #fff; border-color: var(--primary-color); background: var(--primary-color); }
.locked-date-box { border: 1px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; padding: 0.72rem 0.85rem; margin-bottom: 1rem; }
.booking-hint { color: #64748b; font-size: 0.88rem; margin-bottom: 0.85rem; }
.ts-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ts-line span { color: var(--ts-body); }
.ts-line strong { color: var(--ts-heading); font-weight: 600; white-space: nowrap; }
.ts-line-total strong, .ts-line-total span { font-size: 16px; font-weight: 700; color: var(--whole-site-text-color); }
.ts-line-payable { background: rgba(0, 216, 255, 0.08); margin: 6px -10px 0; padding: 8px 10px; border-radius: 8px; }
.ts-room-row { border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.ts-room-row.is-extra { margin-left: 22px; background: var(--ts-surface-alt); }
.ts-room-row.is-extra .ts-room-name::before { content: "\21B3\00a0"; color: var(--ts-subtle); }
.ts-room-hint { font-size: 12px; color: var(--ts-subtle); margin-top: 4px; }
.dest-meta { font-size: 13px; color: var(--ts-body); }
.dest-meta a { color: var(--ts-brand-blue); }

/* ---------- Blog ---------- */
.ts-blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ts-blog-card img { height: 200px; object-fit: cover; width: 100%; }
.ts-blog-card h2 { font-size: 20px; font-weight: 500; color: var(--ts-heading) !important; margin-bottom: 8px; }
.ts-blog-article { overflow: hidden; }
.ts-blog-article h1 { font-size: 30px; font-weight: 500; color: var(--ts-heading) !important; }

/* ---------- 404 ---------- */
.ts-404 { text-align: center; padding: 40px 0 60px; }
.ts-theme .ts-404-code { font-size: 96px; font-weight: 700; line-height: 1; color: var(--primary-color); margin-bottom: 12px; }
.ts-404-title { font-size: 30px; font-weight: 500; color: var(--ts-heading) !important; }
.ts-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .ts-fade-up, .ts-fade-down { animation: none; }
  .ts-tile img, .ts-header-landing, .ts-btn, .cta-btn, .ts-btn-hero, .ts-back-to-top { transition: none; }
  .ts-tile:hover img, .ts-tile:focus-visible img { transform: none; }
}
