/* appunnami_tourism theme: Bootstrap 5.3 overrides that reproduce appunnamitourism.com
   (indigo pills, dark header and hero with a wave, trust marquee, flat cards).
   The four partner colours (--primary-color, --secondary-color, --tertiary-color,
   --whole-site-text-color) are bound inline in base.html from theme_colors.
   Look derived from the free html.design / ThemeWagon "Tourism" template: see CREDITS.txt. */

:root {
  --ap-accent: #e27141;          /* footer link hover (on dark only) */
  --ap-heading: #1f1f1f;
  --ap-body: #5f5f5f;
  --ap-subtle: #6b6b6b;
  --ap-muted: #767676;
  --ap-ink: #000d10;
  --ap-surface: #ffffff;
  --ap-surface-alt: #f6f5fb;
  --ap-hairline: #e4e3ee;
  --ap-hero-overlay: linear-gradient(rgba(0, 13, 16, 0.3), rgba(18, 44, 45, 0.5));   /* the old waterfall photo is already dark */
  --ap-hero-overlay-own: linear-gradient(rgba(0, 13, 16, 0.55), rgba(18, 44, 45, 0.78)); /* a partner's own, brighter photo */
  --ap-indicator-off: #8781bd;
  --ap-radius-pill: 30px;
  --ap-radius-card: 8px;
  --ap-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --ap-card-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.16);
  --ap-focus: #2b2278;
  --ap-header-h: 0px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[id] { scroll-margin-top: 16px; }

.ap-theme {
  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--whole-site-text-color);
  --bs-link-color-rgb: 43, 34, 120;
  --bs-link-hover-color-rgb: 0, 13, 16;
  font-family: var(--bs-body-font-family);
  font-size: 15px;
  color: var(--whole-site-text-color);
  background: var(--ap-surface);
  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. */
.ap-theme [hidden] { display: none !important; }
.ap-theme p { color: var(--ap-body); }
.ap-theme h1, .ap-theme h2, .ap-theme h3, .ap-theme h4, .ap-theme h5, .ap-theme h6 { color: var(--whole-site-text-color); }
.ap-theme a:focus-visible, .ap-theme button:focus-visible { outline: 3px solid var(--ap-focus); outline-offset: 2px; }
.ap-theme .container { --bs-gutter-x: 30px; }
.ap-theme .row.ap-g30 { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
.ap-skip { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 12px; }
.brand { font-family: 'Poppins', sans-serif; font-weight: 600; }
.ap-link { color: var(--primary-color); text-decoration: underline; }
.ap-link:hover { color: var(--tertiary-color); }
.ap-messages .alert { margin-bottom: 1rem; }
.ap-landing .ap-messages { max-width: 1140px; margin: 0 auto; padding: 24px 15px 0; }

/* ---------- Buttons ---------- */
.ap-btn, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 150px;
  min-height: 44px;
  padding: 0 24px;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: var(--ap-radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.ap-btn:hover, .ap-btn:focus-visible, .cta-btn:hover, .cta-btn:focus-visible {
  background: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: #fff;
}
.ap-btn.disabled, .ap-btn[disabled], .cta-btn.disabled, .cta-btn[disabled] { opacity: 0.6; pointer-events: none; }
.ap-btn-sm { min-width: 130px; min-height: 40px; font-size: 14px; }
.ap-btn-dark { background: var(--tertiary-color); border-color: var(--tertiary-color); }
.ap-btn-dark:hover, .ap-btn-dark:focus-visible { background: var(--primary-color); border-color: var(--primary-color); }
.ap-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: var(--ap-radius-pill);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ap-btn-outline:hover, .ap-btn-outline:focus-visible { background: var(--primary-color); color: #fff; }
.ap-btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 0 28px;
  background: #fff;
  color: #141414;
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--ap-radius-pill);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ap-btn-hero:hover, .ap-btn-hero:focus-visible { background: var(--primary-color); color: #fff; }
.ap-theme .btn-outline-secondary {
  --bs-btn-color: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--primary-color);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
  --bs-btn-border-radius: var(--ap-radius-pill);
}
@media (max-width: 767.98px) {
  .ap-btn, .cta-btn { min-width: 130px; font-size: 14px; }
}

/* ---------- Header (dark; scrolls away like the old site) ---------- */
.ap-header { width: 100%; background: linear-gradient(180deg, var(--tertiary-color) 0%, var(--secondary-color) 100%); }
.ap-navbar { padding: 14px 0 6px; }
.ap-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  line-height: 1;
  text-decoration: none;
}
.ap-logo-plate img { display: block; width: auto; height: auto; max-height: 76px; max-width: 280px; }
.ap-logo-plate .brand { color: var(--primary-color); font-size: 20px; padding: 8px 4px; }
.ap-header-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ap-navbar .navbar-nav { flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
.ap-navbar .nav-link {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ap-navbar .nav-link:hover,
.ap-navbar .nav-link:focus-visible,
.ap-navbar .nav-link[aria-current="page"] { background: var(--primary-color); color: #fff; }
.ap-navbar .navbar-toggler {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 6px 9px;
  line-height: 1;
}
.ap-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35); }
.ap-navbar .navbar-toggler svg { width: 22px; height: 22px; display: block; }
@media (min-width: 768px) {
  .ap-header-bar { flex-direction: column; justify-content: center; }
  .ap-navbar .navbar-collapse { flex-grow: 0; justify-content: center; margin-top: 10px; }
  .ap-navbar .navbar-toggler { display: none; }
}
@media (max-width: 767.98px) {
  .ap-navbar .navbar-collapse { margin: 10px 0 4px; padding: 6px 0 10px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .ap-navbar .navbar-nav { align-items: stretch; }
  .ap-navbar .nav-link { text-align: center; }
  .ap-logo-plate img { max-height: 52px; max-width: 200px; }
}

/* ---------- Trust marquee ---------- */
.ap-marquee { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--ap-hairline); }
.ap-marquee a { display: block; color: #000; text-decoration: none; }
.ap-marquee-track {
  display: block;
  padding: 12px 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  animation: ap-marquee 15s linear infinite;
}
@keyframes ap-marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
@media (max-width: 767.98px) {
  .ap-marquee-track { font-size: 14px; padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-marquee-track { animation: none; white-space: normal; text-align: center; padding: 10px 15px; }
}

/* ---------- Main ---------- */
.ap-main { flex: 1 0 auto; }
.ap-breadcrumb { --bs-breadcrumb-divider: "›"; font-size: 13px; margin-bottom: 1.25rem; }
.ap-breadcrumb a { color: var(--primary-color); text-decoration: none; }
.ap-breadcrumb a:hover { text-decoration: underline; }
.ap-breadcrumb .active { color: var(--ap-subtle); }
.ap-page-head { margin-bottom: 2rem; }
.ap-page-head h1 { font-size: 40px; font-weight: 700; color: var(--whole-site-text-color); margin-bottom: 0.4rem; }
.ap-page-head p { font-size: 16px; color: var(--ap-subtle); margin: 0; }
.ap-section-head { margin-bottom: 30px; }
.ap-section-head h1, .ap-section-head h2 { font-size: 40px; font-weight: 700; color: var(--whole-site-text-color); margin: 0; line-height: 1.2; }
.ap-section-head p { font-size: 15px; color: var(--ap-subtle); margin: 8px 0 0; }
.ap-block-title { font-size: 22px; font-weight: 700; color: var(--whole-site-text-color); margin: 2rem 0 1rem; }
.ap-surface-alt { background: var(--ap-surface-alt); }
@media (max-width: 767.98px) {
  .ap-section-head { margin-bottom: 20px; }
  .ap-section-head h1, .ap-section-head h2, .ap-page-head h1, .ap-404-title { font-size: 28px; }
}

/* ---------- Hero ---------- */
.ap-hero { position: relative; background: var(--tertiary-color); overflow: hidden; color: #fff; }
.ap-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ap-hero-overlay); pointer-events: none; }
.ap-hero.has-own-photo::before { background: var(--ap-hero-overlay-own); }
.ap-hero .carousel, .ap-hero .carousel-inner { position: relative; z-index: 2; }
.ap-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ap-hero-slide { min-height: clamp(480px, 70svh, 700px); }
.ap-hero-content {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 150px;
}
/* A featured experience's own photo replaces the shared hero background on its slide. */
.ap-hero-slide { position: relative; }
.ap-hero-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ap-hero-slide.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ap-hero-overlay); }
.ap-hero-title {
  color: #fff !important;
  font-family: 'Righteous', 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  line-height: 1.15;
  max-width: 1000px;
  margin: 0;
}
.ap-hero-title.is-feature { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
.ap-theme .ap-hero-text { color: #fff; font-size: 16px; line-height: 1.6; max-width: 63%; margin: 22px auto 0; }
.ap-theme .ap-hero-price { color: #fff; font-size: 18px; margin: 12px 0 0; }
.ap-hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ap-hero-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ap-hero .carousel-indicators { z-index: 4; margin-bottom: 4.5rem; }
.ap-hero .carousel-indicators [data-bs-target] { width: 30px; height: 4px; border: 0; border-radius: 999px; background-color: var(--ap-indicator-off); opacity: 1; }
.ap-hero .carousel-indicators .active { background-color: #fff; }
.ap-hero .carousel-control-prev, .ap-hero .carousel-control-next { z-index: 4; width: 7%; }
.ap-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 90px; width: 100%; display: block; pointer-events: none; }
.ap-hero-wave path { fill: var(--ap-surface); }
.ap-festival {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 10px 16px 10px 10px;
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
}
.ap-festival img { width: 110px; height: 80px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.ap-festival-text { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.4; }
.ap-fade-up { animation: ap-fade-up 0.9s ease both; }
.ap-fade-down { animation: ap-fade-down 0.9s ease both; }
@keyframes ap-fade-up { from { opacity: 0; transform: translate3d(0, 30px, 0); } to { opacity: 1; transform: none; } }
@keyframes ap-fade-down { from { opacity: 0; transform: translate3d(0, -30px, 0); } to { opacity: 1; transform: none; } }
@media (max-width: 991.98px) {
  .ap-theme .ap-hero-text { max-width: 100%; }
}
@media (max-width: 767.98px) {
  .ap-hero-slide { min-height: 520px; }
  .ap-hero-content { padding-top: 40px; padding-bottom: 120px; }
  .ap-hero-title { font-size: 2.4rem; }
  .ap-hero-wave { height: 56px; }
  .ap-hero-ctas { margin-top: 26px; }
}

/* ---------- Top destination tiles ---------- */
.ap-destinations { padding: 60px 0 40px; }
.ap-tile {
  position: relative;
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: var(--ap-radius-card);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: var(--ap-card-shadow);
  color: #fff;
  text-decoration: none;
}
.ap-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ap-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 13, 16, 0.7) 100%); pointer-events: none; }
.ap-tile:hover img, .ap-tile:focus-visible img { transform: scale(1.06); }
.ap-tile-title { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; }
.ap-tile-title h2, .ap-tile-title h3 { color: #fff !important; font-size: 22px; font-weight: 700; margin: 0; }
.ap-tile-title p { margin: 4px 0 0; display: flex; flex-wrap: wrap; column-gap: 18px; }
.ap-tile-title span { color: #fff; font-size: 14px; }
.ap-view-all { margin-top: 30px; }
@media (max-width: 767.98px) {
  .ap-destinations { padding: 36px 0 20px; }
  .ap-tile { height: 180px; }
}

/* ---------- Listing sections and cards ---------- */
.ap-packages { padding: 30px 0 30px; }
.ap-listing { padding-top: 40px; }
.ap-swipe-hint { display: none; font-size: 13px; color: var(--ap-subtle) !important; margin-top: 6px !important; }
.ap-card, .card-soft {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-card-shadow);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}
.ap-card:hover, .card-soft:hover { box-shadow: var(--ap-card-shadow-hover); }
.ap-card { display: flex; flex-direction: column; height: 100%; }
.ap-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.ap-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-card-media-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-weight: 600; padding: 1rem; text-align: center; }
.ap-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.ap-card-title { font-size: 18px; font-weight: 700; color: var(--whole-site-text-color) !important; margin: 0 0 10px; line-height: 1.35; }
.ap-card-title a { color: inherit; text-decoration: none; }
.ap-card-title a:hover { color: var(--primary-color); }
.ap-card-meta { font-size: 13px; color: var(--ap-subtle); margin: -4px 0 10px; }
.ap-card-price { font-size: 14px; color: var(--whole-site-text-color); margin-bottom: 14px; }
.ap-card-price .ap-fare-label { font-weight: 600; margin-top: 4px; }
.ap-card-price .ap-fare-label:first-child { margin-top: 0; }
.ap-card-price .ap-fare { display: block; }
.ap-card-actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ap-card-rooms { list-style: none; padding: 0; margin: 0; }
.ap-card-rooms li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.ap-card-rooms li span:last-child { white-space: nowrap; font-weight: 600; }
.ap-listing-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; align-items: center; margin-top: 28px; }
.ap-listing-actions a:not(.ap-btn-outline) { color: var(--primary-color); font-weight: 600; }
.ap-pricing-note { text-align: center; font-size: 12px; color: var(--ap-subtle) !important; margin-top: 40px; }
@media (min-width: 768px) {
  .ap-listing[data-expanded="false"] .ap-card-col:nth-child(n+7) { display: none; }
}
@media (max-width: 767.98px) {
  .ap-packages { padding: 10px 0 20px; }
  .ap-swipe-hint { display: block; }
  .ap-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
  }
  .ap-rail > .ap-card-col { flex: 0 0 82%; width: 82%; max-width: 82%; scroll-snap-align: start; }
  .ap-listing-actions { margin-top: 12px; }
}

/* 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(--ap-subtle); text-decoration: line-through; font-size: 0.92em; }
.price-current { font-weight: 700; color: var(--whole-site-text-color); }
.price-context { font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ap-subtle); }
.price-savings {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(43, 34, 120, 0.1);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ap-tariff-on-request { font-weight: 700; color: var(--whole-site-text-color); }

/* ---------- About, Why Choose Us, certifications, safety (landing) ---------- */
.ap-about { padding: 70px 0 30px; }
.ap-about h2, .ap-why h2 { font-size: 40px; font-weight: 700; margin: 0 0 20px; }
.ap-about p, .ap-why p { font-size: 16px; line-height: 1.7; color: var(--ap-body); }
.ap-about-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--ap-radius-card); }
.ap-why { padding: 50px 0 20px; }
.ap-call-band {
  margin-top: 30px;
  padding: 32px 36px;
  border: 1px solid var(--ap-hairline);
  border-radius: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
}
.ap-call-band h3 { font-size: 26px; font-weight: 700; margin: 0; }
.ap-photo-gallery { padding: 50px 0 20px; }
.ap-gallery-tile { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ap-surface-alt); border-radius: var(--ap-radius-card); }
.ap-gallery-tile img, [data-preview-gallery] img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-openable { cursor: zoom-in; }
.ap-gallery[data-expanded="false"] .ap-gallery-col:nth-child(n+10) { display: none; }
@media (max-width: 991.98px) {
  .ap-gallery[data-expanded="false"] .ap-gallery-col:nth-child(n+7) { display: none; }
}
.ap-certifications { padding: 50px 0 20px; }
.ap-cert-card { display: flex; flex-direction: row; gap: 16px; align-items: flex-start; height: 100%; padding: 24px; }
.ap-cert-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(43, 34, 120, 0.1); color: var(--primary-color); }
.ap-cert-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ap-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; }
.ap-cert-card p { margin: 0; }
.ap-safety-band { padding: 40px 0 60px; }
.ap-safety ul { padding-left: 1.2rem; margin: 0; }
.ap-safety li { color: var(--ap-body); margin-bottom: 6px; }
@media (max-width: 767.98px) {
  .ap-about { padding: 40px 0 10px; }
  .ap-about h2, .ap-why h2 { font-size: 28px; }
  .ap-call-band { padding: 22px 20px; }
  .ap-call-band h3 { font-size: 21px; }
}

/* ---------- Footer ---------- */
.ap-footer { background: var(--secondary-color); color: #fff; padding: 56px 0 30px; margin-top: auto; text-align: center; }
.ap-main + .ap-footer { margin-top: 0; }
.ap-footer p, .ap-footer li, .ap-footer small { color: #fff; }
.ap-footer a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.ap-footer a:hover, .ap-footer a:focus-visible { color: var(--ap-accent); }
.ap-footer .ap-logo-plate img { max-height: 70px; max-width: 240px; }
.ap-footer-name { font-size: 22px; font-weight: 700; margin: 20px 0 4px; color: #fff; }
.ap-footer-role { font-size: 16px; margin: 0 0 14px; }
.ap-footer-contacts { list-style: none; margin: 0 0 8px; padding: 0; }
.ap-footer-contacts li { margin: 6px 0; font-size: 16px; }
.ap-footer-contacts svg { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.ap-footer-address { font-size: 14px; white-space: pre-line; line-height: 1.8; margin: 8px 0 0; }
.ap-footer-links { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.ap-footer-links a { font-size: 14px; text-transform: uppercase; }
.ap-footer hr { border-color: rgba(255, 255, 255, 0.25); opacity: 1; margin: 30px 0 24px; }
.ap-disclosure { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.85) !important; max-width: 860px; margin: 0 auto 18px; }
.ap-copyright { font-size: 14px; margin: 0; }
.ap-powered { display: block; font-size: 12px; margin-top: 6px; }
.ap-powered a { font-size: 12px; opacity: 0.85; }
@media (max-width: 767.98px) {
  .ap-footer { padding: 40px 0 24px; }
}

/* ---------- Back to top ---------- */
.ap-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1020;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, bottom 0.3s ease;
}
.ap-back-to-top.is-visible { opacity: 1; visibility: visible; }
.ap-back-to-top:hover, .ap-back-to-top:focus-visible { background: var(--tertiary-color); }
.ap-back-to-top svg { width: 20px; height: 20px; }

/* ---------- Mobile action bar (detail pages) ---------- */
.ap-mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; }
.ap-mobile-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-top: 1px solid var(--ap-hairline);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 15px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ap-mobile-bar .ap-btn, .ap-mobile-bar .ap-btn-outline { min-width: 0; min-height: 40px; padding: 0 18px; }
.ap-mobile-bar-price { flex: 1 1 auto; font-weight: 700; color: var(--whole-site-text-color); font-size: 15px; line-height: 1.2; }
.ap-mobile-bar-price small { font-weight: 400; color: var(--ap-subtle); font-size: 12px; }
@media (max-width: 991.98px) {
  body:has(.ap-mobile-bar) { padding-bottom: 64px; }
  body:has(.ap-mobile-bar) .ap-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; }
.ap-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;
}
.ap-lightbox-nav:hover, .ap-lightbox-nav:focus-visible { background: var(--primary-color); }
.ap-lightbox-nav svg { width: 22px; height: 22px; }
.ap-lightbox-prev { left: 8px; }
.ap-lightbox-next { right: 8px; }
.ap-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. */
.ap-detail { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "box" "body"; row-gap: 24px; }
.ap-detail-media { grid-area: media; min-width: 0; }
.ap-detail-box { grid-area: box; min-width: 0; }
.ap-detail-body { grid-area: body; min-width: 0; }
@media (min-width: 992px) {
  .ap-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; }
}
.ap-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ap-radius-card); background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.ap-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-media-fallback { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 22px; font-weight: 600; padding: 2rem; text-align: center; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 14px; }
.ap-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(43, 34, 120, 0.1);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
}
.ap-chip-muted { background: #f1f1f4; color: var(--whole-site-text-color); }
.ap-desc { font-size: 15px; line-height: 1.8; color: var(--ap-body); }
.ap-facts { margin: 1.25rem 0; padding: 16px 20px; background: var(--ap-surface-alt); border-left: 4px solid var(--primary-color); border-radius: 0 var(--ap-radius-card) var(--ap-radius-card) 0; }
.ap-facts p { margin: 0 0 6px; color: var(--ap-body); }
.ap-facts p:last-child { margin-bottom: 0; }
.ap-facts strong { color: var(--whole-site-text-color); font-weight: 700; }
.ap-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ap-checklist li { position: relative; padding-left: 28px; color: var(--ap-body); }
.ap-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(--primary-color);
}
.ap-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(--tertiary-color);
}
.ap-price-box {
  position: sticky;
  top: 16px;
  background: #fff;
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-card-shadow);
  padding: 28px 25px;
}
.ap-price-box h1 { font-size: 26px; font-weight: 700; color: var(--whole-site-text-color) !important; margin: 0 0 16px; line-height: 1.3; }
.ap-fare-group { padding: 12px 0; border-top: 1px solid var(--ap-hairline); }
.ap-fare-group:first-of-type { border-top: 0; padding-top: 0; }
.ap-fare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; }
.ap-fare-row .price-current { font-size: 18px; }
.ap-box-note { font-size: 13px; color: var(--ap-subtle) !important; margin: 6px 0 0; }
.ap-box-extra { font-size: 14px; color: var(--whole-site-text-color) !important; margin: 10px 0 0; }
.ap-box-ctas { display: grid; gap: 12px; margin-top: 18px; }
.ap-box-ctas .ap-btn { width: 100%; }
.ap-consent { font-size: 13px; color: var(--ap-body) !important; margin: 0; }
.ap-consent a { color: var(--primary-color); text-decoration: underline; }
.ap-advance-notice { font-size: 13px; padding: 10px 12px; background: #fff8e1; border-left: 3px solid #f0b400; color: #5c4400 !important; margin: 12px 0 0; }
.ap-map { margin-top: 1rem; }
.ap-map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--ap-radius-card); }
.ap-gallery-section { margin-top: 3.5rem; }
.ap-gallery-section .ap-gallery-tile { aspect-ratio: auto; height: 220px; }
.ap-safety { margin-top: 3rem; }
@media (max-width: 991.98px) {
  .ap-price-box { position: static; }
}
@media (max-width: 767.98px) {
  .ap-gallery-section .ap-gallery-tile { height: 140px; }
}

/* Room types */
.ap-room { padding: 20px; margin-bottom: 16px; }
.ap-room-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ap-surface-alt); border-radius: var(--ap-radius-card); }
.ap-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%; }
.ap-room h3 { font-size: 18px; font-weight: 700; color: var(--whole-site-text-color) !important; margin: 0 0 8px; }
.ap-room-facts { font-size: 13px; color: var(--ap-subtle) !important; margin: 0 0 2px; }
.ap-room-price { text-align: right; }
.ap-room-extra {
  margin: -8px 0 16px 28px;
  padding: 12px 16px;
  border-top: 1px solid var(--ap-hairline);
  background: var(--ap-surface-alt);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  align-items: center;
}
.ap-room-extra-name { color: var(--whole-site-text-color); font-weight: 600; }
.ap-tariff-list { list-style: none; padding: 0; margin: 0 0 6px; }
.ap-tariff-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--ap-hairline); color: var(--whole-site-text-color); }
.ap-tariff-list li span:last-child { white-space: nowrap; font-weight: 700; }
@media (max-width: 767.98px) {
  .ap-room-price { text-align: left; margin-top: 8px; }
  .ap-room-extra { margin-left: 12px; }
}

/* ---------- Booking, checkout, lookup ---------- */
.ap-card-modern {
  background: #fff;
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-card-shadow);
  border: 1px solid var(--ap-hairline);
  padding: 2rem;
}
@media (max-width: 575.98px) {
  .ap-card-modern { padding: 1.25rem; }
}
.ap-card-modern h2, .ap-card-title { font-size: 20px; font-weight: 700; color: var(--whole-site-text-color) !important; margin-bottom: 1rem; }
.ap-form .form-control, .ap-form .form-select, .ap-card-modern .form-control, .ap-card-modern .form-select {
  border-radius: 8px;
  border-color: #d5d4e0;
  min-height: 42px;
}
.ap-form .form-control:focus, .ap-form .form-select:focus, .ap-card-modern .form-control:focus, .ap-card-modern .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(43, 34, 120, 0.2);
}
.ap-theme .form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
.ap-form .form-label { font-weight: 600; color: var(--whole-site-text-color); }
.ap-submit { width: 100%; min-height: 48px; font-size: 16px; }
.booking-stepper { display: flex; gap: 0.55rem; margin-bottom: 1rem; }
.booking-step {
  flex: 1;
  text-align: center;
  border: 1px solid var(--ap-hairline);
  border-radius: 999px;
  padding: 0.46rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  background: var(--ap-surface-alt);
}
.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: var(--ap-surface-alt); padding: 0.72rem 0.85rem; margin-bottom: 1rem; }
.booking-hint { color: #64748b; font-size: 0.88rem; margin-bottom: 0.85rem; }
.ap-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ap-line span { color: var(--ap-body); }
.ap-line strong { color: var(--whole-site-text-color); font-weight: 700; white-space: nowrap; }
.ap-line-total strong, .ap-line-total span { font-size: 16px; font-weight: 700; color: var(--whole-site-text-color); }
.ap-line-payable { background: rgba(43, 34, 120, 0.07); margin: 6px -10px 0; padding: 8px 10px; border-radius: 8px; }
.ap-room-row { border: 1px solid var(--ap-hairline); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.ap-room-row.is-extra { margin-left: 22px; background: var(--ap-surface-alt); }
.ap-room-row.is-extra .ap-room-name::before { content: "\21B3\00a0"; color: var(--ap-subtle); }
.ap-room-hint { font-size: 12px; color: var(--ap-subtle); margin-top: 4px; }
.dest-meta { font-size: 13px; color: var(--ap-body); }
.dest-meta a { color: var(--primary-color); }

/* ---------- Blog ---------- */
.ap-blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ap-blog-card img { height: 200px; object-fit: cover; width: 100%; }
.ap-blog-card h2 { font-size: 20px; font-weight: 700; color: var(--whole-site-text-color) !important; margin-bottom: 8px; }
.ap-blog-article { overflow: hidden; }
.ap-blog-article h1 { font-size: 32px; font-weight: 700; color: var(--whole-site-text-color) !important; }

/* ---------- 404 ---------- */
.ap-404 { text-align: center; padding: 40px 0 60px; }
.ap-theme .ap-404-code { font-family: 'Righteous', 'Poppins', sans-serif; font-size: 96px; line-height: 1; color: var(--primary-color); margin-bottom: 12px; }
.ap-404-title { font-size: 32px; font-weight: 700; color: var(--whole-site-text-color) !important; }
.ap-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .ap-fade-up, .ap-fade-down { animation: none; }
  .ap-tile img, .ap-btn, .cta-btn, .ap-btn-hero, .ap-back-to-top { transition: none; }
  .ap-tile:hover img, .ap-tile:focus-visible img { transform: none; }
}

/* Bootstrap alerts in the theme's own colours (the web check-in notice, lookup notes) */
.ap-theme .alert-info { --bs-alert-color: var(--tertiary-color); --bs-alert-bg: rgba(43, 34, 120, 0.07); --bs-alert-border-color: rgba(43, 34, 120, 0.25); --bs-alert-link-color: var(--primary-color); }
.ap-tile-title .ap-tile-desc { display: block; font-size: 14px; max-width: 36ch; margin-top: 4px; }
.ap-mobile-bar .ap-btn, .ap-mobile-bar .ap-btn-outline { white-space: nowrap; font-size: 13px; padding: 0 14px; }
