/* Sri Lanka Yala Safaris (www.srilankayalasafaris.com) — Core Palette, Typography & Layout */
:root {
  --bg-canvas: #faf5ec;
  --bg-sage: #edf1e7;
  --bg-sage-soft: #eef2e8;
  --bg-jungle-deep: #012f23;
  --bg-jungle: #18382b;
  --bg-jungle-night: #13231b;
  --bg-jungle-canopy: #193d2f;
  --bg-pure: #ffffff;
  --ink-primary: #18382b;
  --ink-dark: #08291f;
  --ink-secondary: #3f4942;
  --ink-muted: #667268;
  --ink-terracotta: #92501e;
  --ink-ochre: #704831;
  --safari-gold: #f5a623;
  --safari-gold-bright: #f7aa19;
  --safari-gold-deep: #e08e0b;
  --rule-sand: #e2dac9;
  --rule-sage: #d3ddd0;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

html.ultra-smooth-active {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-secondary);
  background-color: var(--bg-canvas);
  background-image: none;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink-primary);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--ink-terracotta);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--safari-gold);
  color: var(--ink-dark) !important;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
}

/* Container & Layout */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.site-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main#main-content,
.main-wrap,
.wsite-section-wrap,
.wsite-body-section {
  flex: 1;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
}

/* Header structural helpers — Positioned Inside Hero Section with Transparent Background */
.dusk-header,
header.dusk-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Inner Pages Without a Full-Bleed Dark Hero Banner (gallery, reviews, contact) */
body.no-header-page .dusk-header,
body.no-header-page header.dusk-header,
body.janaka-contact .dusk-header,
body.janaka-contact header.dusk-header {
  position: sticky !important;
  top: 0 !important;
  background: #012f23 !important;
  background-color: #012f23 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

body.no-header-page .dusk-header .nav-wrap,
body.janaka-contact .dusk-header .nav-wrap {
  background: #012f23 !important;
  background-color: #012f23 !important;
}

body.no-header-page .site-canvas,
body.no-header-page .main-wrap,
body.janaka-contact .site-canvas,
body.janaka-contact .main-wrap {
  padding-top: 20px !important;
  min-height: 75vh;
}

.dusk-header .nav-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.dusk-header .nav-wrap > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: transparent !important;
}

.dusk-header .logo {
  order: 1;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dusk-header .desktop-nav,
.dusk-header .desktop-nav-center {
  display: none;
}

.dusk-header .header-action-contact {
  order: 2;
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media screen and (min-width: 921px) {
  .dusk-header .nav-wrap > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(12px, 2vw, 28px) !important;
  }

  .dusk-header .logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: 1 !important;
  }

  .dusk-header .desktop-nav,
  .dusk-header .desktop-nav-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    order: 2 !important;
    margin: 0 auto !important;
  }

  .dusk-header .header-action-contact {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    order: 3 !important;
    margin-left: auto !important;
  }
}

/* Contact Button: Theme Yellow Background, Black Text, 10% Border-Radius, White Background on Hover */
.nav-contact-btn,
.dusk-header .header-action-contact .nav-contact-btn,
.dusk-header .desktop-nav .wsite-menu-item-wrap.nav-contact-item-wrap .wsite-menu-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #f5a623 !important;
  color: #000000 !important;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 10px 24px !important;
  min-height: 42px !important;
  border-radius: 10% !important;
  border: 2px solid #f5a623 !important;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.45) !important;
  text-shadow: none !important;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.nav-contact-btn span,
.nav-contact-btn *,
.dusk-header .header-action-contact .nav-contact-btn span,
.dusk-header .header-action-contact .nav-contact-btn *,
.dusk-header .desktop-nav .wsite-menu-item-wrap.nav-contact-item-wrap .wsite-menu-item span {
  color: #000000 !important;
  text-shadow: none !important;
  transition: color 0.18s ease !important;
}

.nav-contact-btn:hover,
.dusk-header .header-action-contact .nav-contact-btn:hover,
.dusk-header .desktop-nav .wsite-menu-item-wrap.nav-contact-item-wrap .wsite-menu-item:hover {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  border-radius: 10% !important;
}

.nav-contact-btn:hover span,
.nav-contact-btn:hover *,
.dusk-header .header-action-contact .nav-contact-btn:hover span,
.dusk-header .header-action-contact .nav-contact-btn:hover *,
.dusk-header .desktop-nav .wsite-menu-item-wrap.nav-contact-item-wrap .wsite-menu-item:hover span {
  color: #000000 !important;
}

.dusk-header .logo img,
.dusk-header .logo .janaka-brand-logo {
  display: block;
  max-height: 88px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}

@media screen and (min-width: 768px) {
  .dusk-header .logo img,
  .dusk-header .logo .janaka-brand-logo {
    max-height: 108px;
  }
}

.dusk-header .hamburger {
  order: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

@media screen and (min-width: 921px) {
  .dusk-header .hamburger {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .nav-contact-btn,
  .dusk-header .header-action-contact .nav-contact-btn {
    padding: 8px 14px !important;
    min-height: 36px !important;
    font-size: 11.5px !important;
    letter-spacing: 0.08em !important;
  }
}

.desktop-nav .wsite-menu-default,
.dusk-header .desktop-nav .wsite-menu-default {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: clamp(10px, 1.8vw, 28px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.desktop-nav .wsite-menu-item-wrap,
.dusk-header .desktop-nav .wsite-menu-item-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.desktop-nav .wsite-menu-item,
.dusk-header .desktop-nav .wsite-menu-item {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 8px clamp(4px, 0.6vw, 10px) !important;
  font-size: clamp(12.5px, 0.95vw, 13.5px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.65) !important;
}

.desktop-nav .wsite-menu-item-wrap.has-submenu > .wsite-menu-item::after {
  content: "▾";
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #f5a623;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.desktop-nav .wsite-menu-wrap {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.desktop-nav .wsite-menu-item-wrap:hover > .wsite-menu-wrap,
.desktop-nav .wsite-menu-item-wrap:focus-within > .wsite-menu-wrap {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.desktop-nav .wsite-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .wsite-menu-subitem {
  display: block;
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav-toggle {
  align-self: flex-end;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-nav .wsite-menu-default,
.mobile-nav .wsite-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav .wsite-menu-item-wrap {
  position: relative;
}

.mobile-nav .icon-caret {
  position: static;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-nav .icon-caret svg {
  display: block;
  width: 14px;
  height: 9px;
  margin: 0;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mobile-nav .icon-caret[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media screen and (max-width: 920px) {
  .dusk-header .hamburger {
    display: inline-flex;
    order: 3;
  }

  .dusk-header .logo {
    order: 1;
  }

  .dusk-header .header-action-contact {
    order: 2;
    margin-left: auto;
  }

  .dusk-header .desktop-nav {
    display: none;
  }
}

/* Hero Banner — Clean, single full-screen responsive viewport presentation */
body:not(.janaka-contact) .banner-wrap,
body:not(.janaka-contact) .banner-wrap > .wsite-elements,
body:not(.janaka-contact) .banner-wrap .wsite-header-elements,
body:not(.janaka-contact) .banner-wrap .wsite-section-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  border-radius: 0;
  overflow: hidden !important;
  border-bottom: none;
  background-color: #012f23;
}

body.wsite-page-index .banner-wrap,
body.wsite-page-index .banner-wrap > .wsite-elements,
body.wsite-page-index .banner-wrap .wsite-header-elements,
body.wsite-page-index .banner-wrap .wsite-section-wrap {
  min-height: 100vh;
  min-height: 100svh;
}

body:not(.janaka-contact) .banner-wrap .wsite-header-section {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: auto !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover !important;
  background-position: center 35%;
  background-repeat: no-repeat !important;
  filter: saturate(1.15) contrast(1.05) brightness(1.02);
}

body.wsite-page-index .banner-wrap .wsite-header-section {
  min-height: 100vh !important;
  min-height: 100svh !important;
  filter: saturate(1.18) contrast(1.06) brightness(1.03);
}

/* Neutral photography gradient with subtle bottom fade into the second section */
body:not(.janaka-contact) .wsite-header-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.1) 68%,
    rgba(0, 0, 0, 0) 100%
  ),
  linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 24%,
    transparent 86%,
    rgba(0, 0, 0, 0.55) 95%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
  pointer-events: none;
  z-index: 1;
}

/* Subtle bottom edge fade right at the boundary of the second section */
body:not(.janaka-contact) .banner-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9%;
  min-height: 60px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    #000000 100%
  ) !important;
  pointer-events: none;
  z-index: 3;
}

/* Hero Multi-Image Slideshow (4-Second Interval Crossfade) */
.hero-slideshow-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
  will-change: opacity;
}

.hero-slide-layer.is-active {
  opacity: 1;
}

.hero-slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vh, 48px);
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 24, 18, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body:not(.wsite-page-index) .hero-slideshow-dots {
  bottom: clamp(20px, 3.5vh, 40px);
}

.hero-slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.28s ease, background-color 0.28s ease;
}

.hero-slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero-slideshow-dot.is-active {
  width: 24px;
  background: #f5a623;
}

body:not(.janaka-contact) .wsite-header-section .wsite-section-content {
  position: relative;
  z-index: 4;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 48px;
  padding-bottom: 64px;
}

body.wsite-page-index .wsite-header-section .wsite-section-content {
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 104px;
}

body:not(.janaka-contact) .wsite-header-section .container {
  max-width: 1360px;
  width: 100%;
  padding-left: clamp(24px, 5vw, 64px) !important;
  padding-right: clamp(24px, 5vw, 64px) !important;
  padding-top: 100px;
  padding-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.banner {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  text-align: left;
}

/* Remove "Discover the Wild Side of Sri Lanka" container box on photo banners */
body:not(.janaka-contact) .banner-wrap .banner > .wsite-section-elements {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  max-width: 860px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Editorial Kicker */
.hero-editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-editorial-kicker::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #f5a623;
}

/* Editorial Headline Typography */
body:not(.janaka-contact) .banner h2.wsite-content-title,
body.wsite-page-index .banner-wrap .banner h2,
body.wsite-page-index .banner-wrap .banner h2 * {
  margin: 0 0 20px 0 !important;
  color: #ffffff !important;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 5.8vw, 80px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.06 !important;
  text-align: left !important;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.85), 0 1px 6px rgba(0, 0, 0, 0.95) !important;
}

body:not(.janaka-contact) .banner h2.wsite-content-title font[color="#f5a623"],
body.wsite-page-index .banner-wrap .sri-lanka-tracks,
body.wsite-page-index .banner-wrap .sri-lanka-tracks * {
  color: #f5a623 !important;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  text-shadow: 0 3px 26px rgba(245, 166, 35, 0.55), 0 2px 8px rgba(0, 0, 0, 0.95) !important;
}

/* Float inner multicol elements to the left ONLY on non-contact hero banners */
body:not(.janaka-contact) .banner .wsite-multicol,
body:not(.janaka-contact) .banner .wsite-multicol-table-wrap,
body:not(.janaka-contact) .banner .wsite-multicol-table,
body:not(.janaka-contact) .banner .wsite-multicol-tbody,
body:not(.janaka-contact) .banner .wsite-multicol-tr,
body:not(.janaka-contact) .banner .wsite-multicol-col {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  text-align: left !important;
}

body:not(.janaka-contact) .banner .wsite-spacer {
  display: none !important;
}

body:not(.janaka-contact) .banner .wsite-button {
  margin-top: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 36px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  background: #f5a623 !important;
  color: #0b1510 !important;
  border: 1px solid #ffbe4d !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(245, 166, 35, 0.4) !important;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

body:not(.janaka-contact) .banner .wsite-button:hover {
  background: #ffffff !important;
  color: #0b1510 !important;
  border-color: #ffffff !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7) !important;
}

/* Ensure banner paragraph text is white on photo banners ONLY (excluding Contact page) */
body:not(.janaka-contact) .banner .paragraph,
body:not(.janaka-contact) .banner .paragraph * {
  color: #f2f7f4 !important;
  font-size: 16.5px !important;
  line-height: 1.7 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35) !important;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  body:not(.janaka-contact) .banner-wrap,
  body:not(.janaka-contact) .banner-wrap > .wsite-elements,
  body:not(.janaka-contact) .banner-wrap .wsite-header-elements,
  body:not(.janaka-contact) .banner-wrap .wsite-section-wrap,
  body:not(.janaka-contact) .banner-wrap .wsite-header-section,
  body:not(.janaka-contact) .wsite-header-section .wsite-section-content {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  body.wsite-page-index .banner-wrap,
  body.wsite-page-index .banner-wrap > .wsite-elements,
  body.wsite-page-index .banner-wrap .wsite-header-elements,
  body.wsite-page-index .banner-wrap .wsite-section-wrap,
  body.wsite-page-index .banner-wrap .wsite-header-section,
  body.wsite-page-index .wsite-header-section .wsite-section-content {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }
}

@media screen and (max-width: 767px) {
  body:not(.janaka-contact) .banner-wrap,
  body:not(.janaka-contact) .banner-wrap > .wsite-elements,
  body:not(.janaka-contact) .banner-wrap .wsite-header-elements,
  body:not(.janaka-contact) .banner-wrap .wsite-section-wrap {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
  }

  body.wsite-page-index .banner-wrap,
  body.wsite-page-index .banner-wrap > .wsite-elements,
  body.wsite-page-index .banner-wrap .wsite-header-elements,
  body.wsite-page-index .banner-wrap .wsite-section-wrap {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
  }

  body:not(.janaka-contact) .banner-wrap .wsite-header-section,
  body.wsite-page-index .banner-wrap .wsite-header-section {
    position: relative !important;
    inset: auto !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
    transform: none !important;
  }

  body.wsite-page-index .banner-wrap .wsite-header-section {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }

  body:not(.janaka-contact) .wsite-header-section .wsite-section-content,
  body.wsite-page-index .wsite-header-section .wsite-section-content {
    min-height: 100vh !important;
    min-height: 100svh !important;
    height: auto !important;
    padding-top: 24px !important;
    padding-bottom: 48px !important;
    transform: none;
  }

  body.wsite-page-index .wsite-header-section .wsite-section-content {
    position: relative !important;
    align-items: center !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    padding-top: 24px !important;
    padding-bottom: 84px !important;
  }

  body:not(.janaka-contact) .wsite-header-section .container {
    padding: 84px 18px 40px !important;
  }

  body.wsite-page-index .wsite-header-section .container {
    position: static !important;
    padding: 84px 18px 48px !important;
  }

  body.wsite-page-index .wsite-header-section .banner,
  body.wsite-page-index .banner-wrap .banner > .wsite-section-elements,
  body.wsite-page-index .banner .wsite-multicol,
  body.wsite-page-index .banner .wsite-multicol-table-wrap,
  body.wsite-page-index .banner .wsite-multicol-table,
  body.wsite-page-index .banner .wsite-multicol-tbody,
  body.wsite-page-index .banner .wsite-multicol-tr,
  body.wsite-page-index .banner .wsite-multicol-col {
    position: static !important;
  }

  body:not(.janaka-contact) .banner .wsite-multicol-col {
    margin-bottom: 0 !important;
  }

  body:not(.janaka-contact) .banner h2.wsite-content-title,
  body.wsite-page-index .banner-wrap .banner h2,
  body.wsite-page-index .banner-wrap .banner h2 * {
    font-size: clamp(28px, 7.6vw, 40px) !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }

  body:not(.janaka-contact) .banner .paragraph,
  body:not(.janaka-contact) .banner .paragraph * {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body:not(.janaka-contact) .banner .wsite-button {
    width: 100% !important;
    max-width: 300px !important;
    padding: 13px 20px !important;
    text-align: center !important;
  }

  body.wsite-page-index .banner .wsite-button,
  body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > table:nth-of-type(1) > tbody:nth-of-type(1) > tr:nth-of-type(1) > td:nth-of-type(1) > div:nth-of-type(2) > a:nth-of-type(1) {
    position: static !important;
    margin-top: 18px !important;
    z-index: 6 !important;
    width: 100% !important;
    max-width: min(300px, 100%) !important;
  }
}

/* Hero Bottom Cross Section — Bridges Bottom of Hero Section and Second Section without overlapping buttons */
.hero-cross-bridge-wrap,
div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1),
body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
  z-index: 35;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  pointer-events: auto;
  overflow: visible !important;
  background-color: #012f23 !important;
  background: #012f23 !important;
}

.hero-cross-bridge-card,
div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1),
body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) {
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: translateY(-30%) !important;
  z-index: 40;
  width: 90%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 24px;
  border: none !important;
  outline: none !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  display: grid !important;
  grid-template-columns: 1fr 1.25fr 1fr !important;
  align-items: center;
  padding: 26px 28px;
  overflow: hidden;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.hero-cross-sub-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 10px 24px;
  min-width: 0;
  color: #000000 !important;
}

.hero-cross-sub-section:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: none;
}

.cross-sub-center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 8px;
}

.cross-sub-badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.cross-award-img {
  height: 54px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
}

.cross-tripadvisor-owl {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.cross-web-logo {
  display: block;
  object-fit: contain;
}

.cross-sub-icon-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cross-sub-icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #f5f7f6;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cross-jeep-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.16);
  color: #000000;
  flex-shrink: 0;
}

.cross-jeep-badge svg {
  width: 22px;
  height: 22px;
  stroke: #000000;
}

.cross-sub-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  color: #000000 !important;
}

.cross-sub-info.center-info {
  align-items: center;
  text-align: center;
}

.cross-top-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.cross-top-img {
  display: block;
  object-fit: contain;
  width: auto;
  max-width: 100%;
}

.cross-top-google {
  height: 48px;
}

.cross-top-tripadvisor {
  height: 76px;
}

.cross-top-traveler {
  height: 48px;
}

.cross-metric-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.cross-score,
.cross-metric {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: #000000 !important;
  letter-spacing: -0.02em;
}

.cross-stars {
  font-size: 17px;
  color: #f5a623;
  letter-spacing: 2px;
  text-shadow: none;
}

.cross-title {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 13.5px;
  font-weight: 800;
  color: #000000 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cross-title.gold-accent {
  color: #000000 !important;
  letter-spacing: 0.08em;
  font-size: 13.5px;
}

.cross-caption {
  font-size: 12.5px;
  font-weight: 600;
  color: #1f2421 !important;
  letter-spacing: 0.02em;
}

@media screen and (min-width: 768px) {
  .hero-cross-bridge-card,
  div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1),
  body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: translateY(-30%) !important;
  }
}

@media screen and (max-width: 960px) {
  .hero-cross-bridge-card,
  div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1),
  body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) {
    width: calc(100% - 24px) !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: translateY(-30%) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 16px 12px !important;
    border-radius: 18px !important;
  }
}

@media screen and (max-width: 767px) {
  .hero-cross-bridge-wrap,
  div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1),
  body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
    background-color: #012f23 !important;
    background: #012f23 !important;
  }

  .hero-cross-bridge-card,
  div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1),
  body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: -28px !important;
    transform: translateY(-28px) !important;
    width: calc(100% - 16px) !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 12px 6px !important;
    border-radius: 16px !important;
  }

  .hero-cross-sub-section {
    padding: 4px 6px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .hero-cross-sub-section:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: none !important;
    padding-bottom: 4px !important;
  }

  .cross-top-media {
    margin-bottom: 4px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .cross-top-google,
  .cross-top-traveler {
    height: 24px !important;
    max-height: 24px !important;
  }

  .cross-top-tripadvisor {
    height: 32px !important;
    max-height: 32px !important;
  }

  .cross-metric-row {
    gap: 3px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
  }

  .cross-score,
  .cross-metric {
    font-size: 15px !important;
    line-height: 1.1 !important;
  }

  .cross-stars {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
  }

  .cross-title,
  .cross-title.gold-accent {
    font-size: 9.5px !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
    overflow-wrap: break-word;
  }

  .cross-caption {
    font-size: 8.5px !important;
    line-height: 1.25 !important;
    color: #4b5563 !important;
    overflow-wrap: break-word;
  }
}

/* Focus Mode Target Element — Save Up to 30% Book Direct Section (.wsite-background-75 on index.html ONLY) */
body.wsite-page-index div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > div:nth-of-type(2) > div#wsite-content:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) {
  background-color: #faf5ec !important;
  background-image: radial-gradient(circle at 88% 22%, rgba(245, 166, 35, 0.14) 0%, rgba(24, 56, 43, 0.05) 45%, rgba(250, 245, 236, 0) 75%) !important;
  border-radius: 18px;
}

/* Focus Mode Target Element — Guest Reviews TripAdvisor Award Column (td:nth-of-type(1)) */
div:nth-of-type(1) > div:nth-of-type(1) > main#main-content:nth-of-type(1) > div:nth-of-type(2) > div#wsite-content:nth-of-type(1) > div:nth-of-type(7) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > table:nth-of-type(1) > tbody:nth-of-type(1) > tr:nth-of-type(1) > td:nth-of-type(1) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #ffffff !important;
  border: 1px solid #e2dac9 !important;
  border-top: 4px solid #00aa6c !important;
  border-radius: 18px !important;
  padding: 32px 24px !important;
  box-shadow: 0 12px 30px rgba(24, 56, 43, 0.08) !important;
}

.home-review-award,
.home-review-award ul,
.home-review-award li,
.home-review-award a {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

#CDSWIDCOELOGO[src^="data:"],
.tripadvisor-user-award-img[src^="data:"],
.home-review-award img[src^="data:"] {
  display: none !important;
}

#CDSWIDCOELOGO:not([src^="data:"]),
.tripadvisor-user-award-img:not([src^="data:"]),
.home-review-award img:not([src^="data:"]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 240px !important;
  object-fit: contain !important;
  margin: 12px auto 0 !important;
}

/* Body Sections — Preserve Authentic Sri Lanka Yala Safaris Color Rhythm */
.wsite-body-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid rgba(24, 56, 43, 0.08);
  box-shadow: none !important;
}

/* Warm Sunlit Sand Sections */
.wsite-body-section[style*="#faf5ec"],
.wsite-body-section[style*="#FAF5EC"],
.wsite-body-section[style*="#f7f3eb"],
.wsite-body-section[style*="#f8f3ec"],
.wsite-body-section[style*="#f8f4ec"] {
  background-color: #faf5ec !important;
  color: #3f4942;
}

/* Soft Tropical Sage Sections */
.wsite-body-section[style*="#edf1e7"],
.wsite-body-section[style*="#eef2e8"],
.wsite-body-section[style*="#ebefe5"],
.wsite-body-section[style*="#edf0e8"] {
  background-color: #e8f0e2 !important;
  color: #2f3e35;
}

/* Deep Jungle Emerald & Yala Forest Green Sections */
.wsite-body-section[style*="#012f23"],
#wsite-content .janaka-benefits {
  background-color: #012f23 !important;
  background-image: linear-gradient(180deg, #012f23 0%, #06382a 100%) !important;
  color: #eff3f1 !important;
}

.wsite-body-section[style*="#18382b"],
#wsite-content .home-why-choose,
#wsite-content .home-wildlife-section {
  background-color: #18382b !important;
  background-image: linear-gradient(180deg, #18382b 0%, #112a20 100%) !important;
  color: #faf5ec !important;
}

.wsite-body-section[style*="#13231b"],
#wsite-content .wsite-background-12,
#wsite-content .udawalawe-wildlife,
#wsite-content .bundala-wildlife,
#wsite-content .wilpattu-wildlife,
#wsite-content .minneriya-wildlife,
#wsite-content .kumana-wildlife {
  background-color: #13231b !important;
  background-image: linear-gradient(180deg, #13231b 0%, #18382b 100%) !important;
  color: #faf5ec !important;
}

.wsite-body-section[style*="#193d2f"] {
  background-color: #193d2f !important;
  background-image: linear-gradient(135deg, #193d2f 0%, #0d261c 100%) !important;
  color: #faf5ec !important;
}

.wsite-body-section .container {
  padding-top: 76px;
  padding-bottom: 76px;
}

/* Display Headings */
h2.wsite-content-title {
  margin: 0 0 24px;
  color: var(--ink-primary);
  font-family: var(--font-display) !important;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.18 !important;
}

/* Headings inside Dark Jungle Sections */
.wsite-body-section[style*="#012f23"] h2.wsite-content-title,
.wsite-body-section[style*="#012f23"] h2.wsite-content-title *,
.wsite-body-section[style*="#18382b"] h2.wsite-content-title,
.wsite-body-section[style*="#18382b"] h2.wsite-content-title *,
.wsite-body-section[style*="#13231b"] h2.wsite-content-title,
.wsite-body-section[style*="#13231b"] h2.wsite-content-title *,
.wsite-body-section[style*="#193d2f"] h2.wsite-content-title,
.wsite-body-section[style*="#193d2f"] h2.wsite-content-title *,
#wsite-content .wsite-background-12 h2.wsite-content-title,
#wsite-content .wsite-background-12 h2.wsite-content-title *,
#wsite-content .udawalawe-wildlife h2.wsite-content-title,
#wsite-content .udawalawe-wildlife h2.wsite-content-title *,
#wsite-content .bundala-wildlife h2.wsite-content-title,
#wsite-content .bundala-wildlife h2.wsite-content-title *,
#wsite-content .wilpattu-wildlife h2.wsite-content-title,
#wsite-content .wilpattu-wildlife h2.wsite-content-title *,
#wsite-content .minneriya-wildlife h2.wsite-content-title,
#wsite-content .minneriya-wildlife h2.wsite-content-title *,
#wsite-content .kumana-wildlife h2.wsite-content-title,
#wsite-content .kumana-wildlife h2.wsite-content-title * {
  color: #faf5ec !important;
}

.paragraph {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-secondary);
}

/* Honor Authentic Inline <font> Colors from www.srilankayalasafaris.com */
font[color="#18382b"],
font[color="#112520"],
font[color="#08291f"],
font[color="#063329"],
font[color="#002315"] {
  color: #18382b !important;
}

font[color="#2a2a2a"] {
  color: #26332c !important;
}

font[color="#faf5ec"],
font[color="#eff3f1"],
font[color="#f2eadb"],
font[color="#ffffff"] {
  color: #faf5ec !important;
}

font[color="#ddd8ce"] {
  color: #dce5df !important;
}

font[color="#3f4942"] {
  color: #35453c !important;
}

font[color="#667268"],
font[color="#756b5d"] {
  color: #55665c !important;
}

font[color="#92501e"],
font[color="#704831"] {
  color: #a85518 !important;
}

font[color="#f69609"],
font[color="#f7aa19"],
font[color="#f5a623"] {
  color: #f5a623 !important;
}

/* Multicolumn Tables */
.wsite-multicol-table-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wsite-multicol-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.wsite-multicol-col {
  vertical-align: top;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .wsite-body-section .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .wsite-header-section {
    min-height: 100vh;
    min-height: 100svh;
  }

  body:not(.janaka-contact) .banner-wrap .banner > .wsite-section-elements {
    padding: 0 !important;
  }

  .wsite-multicol-table-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  table.wsite-multicol-table,
  .wsite-multicol-table,
  .wsite-multicol-tbody,
  .wsite-multicol-tr,
  td.wsite-multicol-col,
  .wsite-multicol-col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .wsite-multicol-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 24px;
  }

  .wsite-multicol-col:last-child {
    margin-bottom: 0;
  }

  /* Prevent iframe, video or image overflows on mobile */
  iframe, video, canvas, svg {
    max-width: 100% !important;
  }
}

/* Buttons — Vibrant Safari Amber Gold & Deep Yala Forest Green Actions */
.wsite-button {
  display: inline-block;
  background: linear-gradient(135deg, #f7aa19 0%, #f5980c 100%);
  color: #08291f !important;
  border: 2px solid #f5a623;
  border-radius: 10px !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.28) !important;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.wsite-button:hover {
  background: #18382b;
  color: #faf5ec !important;
  border-color: #18382b;
}

/* Buttons inside dark jungle sections invert on hover to bright gold/white */
.wsite-body-section[style*="#18382b"] .wsite-button:hover,
.wsite-body-section[style*="#012f23"] .wsite-button:hover,
.wsite-body-section[style*="#13231b"] .wsite-button:hover,
.wsite-body-section[style*="#193d2f"] .wsite-button:hover,
.wsite-header-section .wsite-button:hover {
  background: #ffffff;
  color: #08291f !important;
  border-color: #ffffff;
}

.wsite-button-inner {
  display: inline-block;
  padding: 13px 26px;
  color: inherit !important;
  font-weight: 700;
}

/* Dividers */
hr.styled-hr {
  border: 0;
  border-top: 1px solid var(--rule-sand);
  margin: 16px 0;
}

/* Image Gallery — Modern CSS Grid Overriding Legacy Weebly Floats & Negative Crop Offsets */
.imageGallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 18px !important;
  line-height: normal !important;
}

.imageGallery.is-gallery-empty {
  display: block !important;
}

.imageGallery.is-gallery-empty::before {
  content: "New safari photographs can be uploaded directly from the Admin Panel and synced via Cloudflare R2.";
  display: block;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px dashed #d5cfc2;
  border-radius: 14px;
  color: #5c5954;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: center;
}

.imageGallery::after {
  display: none !important;
}

.imageGallery > span {
  display: none !important;
}

.imageGallery > div[id*="-imageContainer"] {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.imageGallery > div[id*="-imageContainer"] > div[id*="-insideImageContainer"] {
  margin: 0 !important;
}

.imageGallery .galleryImageHolder {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #e4dccb;
  background: #14221b;
  box-shadow: 0 8px 24px rgba(24, 56, 43, 0.08);
}

.imageGallery .galleryInnerImageHolder,
.imageGallery .galleryInnerImageHolder a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.imageGallery .galleryImage {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  top: auto !important;
  left: auto !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.imageGallery a:hover .galleryImage {
  transform: scale(1.04);
}

@media screen and (max-width: 560px) {
  .imageGallery {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Footer Styles, Multi-Column Alignment & Strict Icon Constraints */
.footer-wrap {
  width: 100%;
  background-color: #011c15 !important;
  color: #dce7e2 !important;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-wrap .paragraph,
.footer-wrap p,
.footer-wrap li,
.footer-wrap div:not(.wsite-button) {
  color: #dce7e2 !important;
}

.footer-wrap .paragraph font,
.footer-wrap .paragraph span:not(.wsite-button-inner):not(.footer-contact-icon) {
  color: inherit !important;
}

.footer-wrap .paragraph strong,
.footer-wrap .paragraph strong font,
.footer-wrap .paragraph font[size="4"],
.footer-wrap h2,
.footer-wrap h3,
.footer-wrap h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer-wrap a:not(.wsite-button) {
  color: #e8f2ee !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-wrap a:not(.wsite-button):hover {
  color: #f5a623 !important;
  text-decoration: underline !important;
}

.footer-wrap .wsite-button,
.footer-wrap .wsite-button .wsite-button-inner {
  color: #08291f !important;
}

.footer-wrap .wsite-button:hover,
.footer-wrap .wsite-button:hover .wsite-button-inner {
  background: #ffffff !important;
  color: #08291f !important;
  border-color: #ffffff !important;
}

.footer-wrap hr.styled-hr {
  border-top-color: rgba(220, 231, 226, 0.18) !important;
}

.footer-wrap .container {
  padding-top: 60px;
  padding-bottom: 48px;
}

.footer-wrap .wsite-multicol-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
}

.footer-wrap .wsite-multicol-col {
  vertical-align: top !important;
}

.footer-wrap .wsite-image img,
.footer-wrap .janaka-brand-logo {
  max-height: 52px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto 12px;
}

.footer-wrap img {
  max-width: 100% !important;
  height: auto !important;
}

/* Contact rows in footer with strict inline icon alignment */
.footer-contact-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 8px !important;
  margin-bottom: 10px !important;
  line-height: 1.5 !important;
  font-size: 14px !important;
  color: #e8f2ee !important;
}

.footer-contact-row a {
  color: #e8f2ee !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact-row a:hover {
  color: #f5a623 !important;
  text-decoration: underline !important;
}

/* Strictly constrain footer contact icons so they NEVER balloon or break columns */
.footer-contact-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  color: #f5a623 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  line-height: 1;
}

.footer-contact-icon svg,
.footer-wrap .footer-contact-row svg,
.footer-wrap svg:not(.mobile-nav-toggle svg):not(.icon-caret svg) {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  display: block !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* Global Mobile Responsive Safeguards */
@media screen and (max-width: 767px) {
  /* Prevent any unexpected horizontal overflow */
  html, body, .wrapper, .site-canvas, .main-wrap, #wsite-content {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  /* Responsive Display Headings */
  h1, h2, h3,
  h2.wsite-content-title,
  .wsite-content-title {
    font-size: clamp(24px, 6.5vw, 34px) !important;
    line-height: 1.2 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Responsive Paragraphs */
  .paragraph, p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Touch-friendly, wrapped buttons on mobile */
  .wsite-button {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .wsite-button-inner {
    padding: 12px 20px !important;
    font-size: 12px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Ensure TripAdvisor summary card adapts cleanly */
  .home-review-summary,
  .home-review-award,
  .TA_selfserveprop,
  .TA_certificateOfExcellence {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Footer stacking on mobile */
  .footer-wrap .container {
    padding-top: 44px;
    padding-bottom: 36px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-contact-row {
    font-size: 14px !important;
    word-break: break-word;
  }
}
