:root {
  --color-bg: #fffadf;
  --color-bg-alt: #fffcee;
  --color-dark: #333333;
  --color-primary: #3a5a40;
  --color-primary-dark: #064c00;
  --color-accent: #dc851f;
  --color-accent-dark: #b9680f;
  --color-muted: #69727d;
  --color-border: #e5dcb8;
  --color-white: #ffffff;
  --color-c3: #3a5a40;
  --color-c3-dark: #29452f;
  --color-c4: #cc3366;
  --color-c4-dark: #9f214b;
  --color-c5: #dc851f;
  --color-c5-dark: #b9680f;
  --color-c6: #064c00;
  --color-c6-dark: #043800;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(51, 51, 51, 0.1);
  --shadow-md: 0 10px 30px rgba(51, 51, 51, 0.14);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; text-wrap: balance; }

/* Images/background-photos get a visible shimmer placeholder while they
   load (see site.js), instead of either a blank gap (looks broken/unfinished)
   or the browser's own top-to-bottom paint-as-bytes-arrive (looks glitchy).
   The shimmer sits behind the image as a CSS background, so it's visible
   through whatever hasn't painted yet; once loaded, site.js adds
   hh-fade-loaded and the shimmer/animation switches off. Classes are only
   ever added by JS, so a JS failure just leaves images with no shimmer
   rather than broken. */
@keyframes hh-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hh-fade-img, .hh-fade-bg {
  background-image: linear-gradient(100deg, var(--color-bg-alt) 30%, var(--color-border) 50%, var(--color-bg-alt) 70%);
  background-size: 200% 100%;
  animation: hh-shimmer 1.6s ease-in-out infinite;
}
.hh-fade-loaded { background-image: none; animation: none; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
}
/* Small caps label above every heading -- on mobile it's just wasted
   vertical real estate above the heading it's labelling; drop it there. */
@media (max-width: 560px) {
  .eyebrow { display: none; }
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.related-tours-section.section-alt {
  background: var(--color-bg);
}

#tour-catalogue.section-alt {
  background: var(--color-bg);
}

.gift-final-section.section-alt {
  background: var(--color-bg);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
@media (max-width: 560px) {
  .section-head { margin-bottom: 24px; }
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--color-muted);
  text-wrap: balance;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 3vw, 13px) clamp(16px, 6vw, 28px);
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.68rem, 2.4vw, 0.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
/* Outline buttons fill with the accent orange on hover, matching the primary
   button rather than turning grey. */
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-block { width: 100%; }

#tours-list { padding-bottom: 24px; }
.section.section-sm { padding: 24px 0; }

.section-actions {
  margin-top: 34px;
  text-align: center;
  border-radius: var(--radius);
  padding: 32px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
@media (max-width: 700px) {
  .section-actions { min-height: 220px; padding: 24px; }
}
.section-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,22,.35), rgba(20,32,22,.8));
  border-radius: var(--radius);
  z-index: -1;
}
.section-actions .btn-outline {
  border-color: var(--color-bg);
  color: var(--color-bg);
}
.section-actions .btn-outline:hover {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-bg);
}
.tour-session-list { display: grid; gap: 8px; margin: 22px 0; }
.tour-session-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.tour-session-link { display: flex; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-white); }
.tour-session-link:hover { border-color: var(--color-accent); }
.tour-session-link span { color: var(--color-muted); }
/* Pin the booking button to the bottom of every session card so the CTA sits
   on the same line across a row regardless of how long the title runs. */
.session-card .btn-block { margin-top: auto; }

/* Session cards use the green panel treatment from the live site. The
   .tour-card-body qualifier keeps these ahead of the generic .tour-card
   colours defined further down the stylesheet. */
.session-card,
.session-card .tour-card-body { background: var(--color-primary); }
.session-card .tour-card-body .tour-price { color: #ffffff; }

/* Date and time sit in fixed single-line rows: only the values differ card to card. */
.session-card .session-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  margin-bottom: 2px;
}
.session-card .session-meta-row:last-child { margin-bottom: 6px; }
.session-card .session-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.session-card .tour-card-body h3,
.session-card .tour-card-body h3 a { color: var(--color-bg); }
.session-card .tour-card-body h3 a:hover { color: #ffdca8; }
.session-card .tour-card-body p.desc { color: rgba(255, 250, 223, 0.82); }

/* Titles clamp to 3 lines and reserve that height (see .tour-card h3 below),
   so the date/time row lines up at the same position across a row of cards
   regardless of whether an individual title runs 2 or 3 lines. */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 223, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo span.leaf { color: var(--color-accent); flex-shrink: 0; }
.site-header .logo { overflow: visible; text-overflow: clip; flex: 0 0 auto; font-size: 1.35rem; }
.site-header .brand-logo {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 50%;
  object-fit: cover;
}
.site-header .logo > span { overflow: visible; text-overflow: clip; color: #39583f; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-links > a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark);
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links > a:hover { background: var(--color-primary); color: var(--color-bg); }
.nav-links a.active { color: var(--color-accent); }
.nav-dropdown { position:relative; }
/* Invisible strip bridging the gap to the popup below, so moving the mouse
   straight down from the label into the menu doesn't break the hover chain
   (the popup is position:absolute, so it isn't part of the parent's own
   hover-triggering box without this). */
.nav-dropdown::after { content:""; position:absolute; left:0; right:0; top:100%; height:14px; }
.nav-dropdown-menu { position:absolute; z-index:50; top:calc(100% + 14px); left:50%; transform:translateX(-50%); width:290px; padding:10px; background:var(--color-primary); border:1px solid var(--color-primary-dark); border-radius:14px; box-shadow:var(--shadow-md); }
.nav-dropdown-menu { display:none; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display:block; }
.nav-dropdown-menu a { display:block; padding:11px 12px; border-radius:9px; color:var(--color-bg); transition:background .15s ease, color .15s ease; }
.nav-dropdown-menu a:hover { background:var(--color-bg); color:var(--color-primary); }
.nav-dropdown-menu small { display:block; margin-top:2px; color:var(--color-bg); opacity:.75; font-size:.72rem; font-weight:400; white-space:normal; transition:color .15s ease; }
/* "Heritage Research & Trail Curation" only needs a forced break in the
   desktop hover dropdown, where it's cramped into a fixed-width popup --
   on mobile it just wraps naturally like every other item. */
.nav-heritage-break { display: none; }
@media (min-width: 981px) {
  .nav-heritage-break { display: block; }
}
/* Opposite of .nav-heritage-break: a forced line break that only shows up
   on mobile, where headings are narrower and a specific 2-word/2-word
   split reads better than however the text happens to wrap naturally. */
.mobile-only-break { display: none; }
@media (max-width: 700px) {
  .mobile-only-break { display: block; }
}
.nav-dropdown-menu a:hover small { color:var(--color-primary); opacity:.75; }
.split-dropdown { display:flex; align-items:center; gap:3px; padding:9px 12px 9px 16px; border-radius:999px; transition: background .2s ease, color .2s ease; }
.split-dropdown .nav-dropdown-label { padding-right:0; }
.split-dropdown.active .nav-dropdown-label { color:var(--color-accent); }
.split-dropdown:hover,
.split-dropdown:focus-within { background: var(--color-primary); }
.split-dropdown:hover .nav-dropdown-label,
.split-dropdown:focus-within .nav-dropdown-label,
.split-dropdown:hover .nav-dropdown-toggle,
.split-dropdown:focus-within .nav-dropdown-toggle { color: var(--color-bg) !important; }
.split-dropdown:hover .nav-dropdown-toggle::after,
.split-dropdown:focus-within .nav-dropdown-toggle::after { border-top-color: var(--color-bg) !important; }
.nav-dropdown-toggle { all: unset; box-sizing: border-box; appearance: none !important; -webkit-appearance: none !important; border: 0 !important; background: transparent !important; color:var(--color-dark) !important; cursor:pointer; padding:4px 6px; display:inline-flex; align-items:center; justify-content:center; }
.nav-dropdown-toggle::after { content:""; display:block; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid var(--color-dark) !important; transition: border-top-color .2s ease; }
.split-dropdown .nav-dropdown-menu { display:none; }
.split-dropdown:hover .nav-dropdown-menu,
.split-dropdown:focus-within .nav-dropdown-menu,
.split-dropdown.open .nav-dropdown-menu { display:block; }
.school-pathways-two { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.school-pathway-card { min-height:280px; border-radius:var(--radius); padding:34px; display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; color:white; background-size:cover; background-position:center; box-shadow:var(--shadow-md); }
.school-pathway-card::before { content:""; position:absolute; inset:0; background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.5) 40%,rgba(0,0,0,.94)); }
.school-pathway-card > * { position:relative; z-index:1; }
.school-pathway-card h3 { color:white; font-size:1.55rem; margin-bottom:8px; }
.school-pathway-card p { color:rgba(255,255,255,.85); }
.school-pathway-card .path-link { font-weight:700; margin-top:12px; }
.card-slider { position:relative; }
.card-slider-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:24px; }
.card-slider-head .section-head { text-align:left; margin:0; max-width:none; }
.card-slider-head .section-head h2 { margin-bottom:0; }
@media (max-width: 760px) {
  .card-slider-head .section-head { text-align: center; margin: 0 auto; }
}
.card-slider-controls { display:flex; gap:9px; flex-shrink:0; }
.card-slider-controls button { all: unset; box-sizing: border-box; appearance: none !important; -webkit-appearance: none !important; width:42px; height:42px; border-radius:50%; border:1px solid var(--color-accent) !important; outline: none !important; background:var(--color-accent) !important; color:var(--color-white) !important; cursor:pointer; font-size:1.1rem; display:flex; align-items:center; justify-content:center; -webkit-tap-highlight-color: transparent; }
.card-slider-controls button:focus,
.card-slider-controls button:focus-visible { outline: none !important; box-shadow: 0 0 0 2px var(--color-accent-dark); }
.card-slider-controls button:hover { background:var(--color-accent-dark) !important; }
.card-slider-track { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(280px, 31%); gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; padding:4px 4px 18px; }
.card-slider-track .tour-card,
.card-slider-track .tour-slide { scroll-snap-align:start; }
.card-slider-controls button[disabled] { opacity:.35; cursor:default; }
.slider-view-all { text-align:center; margin-top:22px; }

/* Compact tour slide: header image + title */
.tour-slide {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: var(--color-bg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tour-slide:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour-slide-photo {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.tour-slide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-slide-photo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.tour-slide-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 16px 18px 18px;
}
.tour-slide-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--color-bg);
}
.tour-slide-more {
  font-size: .8rem;
  font-weight: 700;
  color: #ffdca8;
}
.tour-slide:hover .tour-slide-more { color: var(--color-white); }

@media (max-width: 700px) {
  .card-slider-track { grid-auto-columns: minmax(230px, 78%); gap: 14px; }
  .card-slider-head { flex-direction: column; align-items: center; gap: 0; margin-bottom: 4px; }
  .card-slider-controls { display: none; }
  .rental-specs.card-slider-track { grid-auto-columns: minmax(120px, 42%); gap: 20px; }
  #tour-catalogue { padding-top: 14px; }
}
.audience-path-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.audience-path-card { min-height:320px; padding:42px; border-radius:var(--radius); display:flex; flex-direction:column; justify-content:flex-end; color:white; position:relative; overflow:hidden; box-shadow:var(--shadow-md); }
.audience-path-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgba(22,47,30,.94),rgba(22,47,30,.28)); }
.audience-path-card.locals { background:url('https://hiddenheritage.sg/wp-content/uploads/2025/06/DSC00199-2048x2048.jpg') center/cover; }
.audience-path-card.visitors { background:url('https://hiddenheritage.sg/wp-content/uploads/2025/06/DSC00440-2048x2048.jpg') center/cover; }
.audience-path-card h3 { color:white; font-size:1.55rem; margin:8px 0; }
.audience-path-card p { color:rgba(255,255,255,.86); }
.audience-path-label { text-transform:uppercase; letter-spacing:.1em; font-size:.76rem; font-weight:800; color:#ffdca8; }
.audience-path-link { font-weight:700; margin-top:16px; }
.audience-badge { align-self:flex-start; border-radius:999px; padding:5px 10px; margin-bottom:10px; font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; font-weight:800; }
.audience-badge.locals { background:#e4efdf; color:var(--color-primary-dark); }
.audience-badge.visitors { background:#fff0cf; color:#9a5700; }
.audience-badge.archive { background:#ece9e1; color:#67635d; }

.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
.nav-cta .btn { white-space: nowrap; }
/* Sits directly beside Book Now; the extra right margin keeps the icon row
   visually distinct from the button. */
.nav-social { display: flex; align-items: center; gap: 8px; margin-right: 4px; }
.nav-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-social a:hover { background: var(--color-primary-dark); color: var(--color-bg); }
.nav-social a svg { width: 15px; height: 15px; }

/* Tighten the desktop nav before it switches to the hamburger at 980px, so it
   doesn't overflow past the container on common laptop viewport widths. */
@media (max-width: 1460px) {
  .nav { gap: 12px; }
  .site-header .logo { font-size: 1.15rem; gap: 6px; }
  .site-header .brand-logo { width: 64px; height: 64px; flex: 0 0 64px; }
  .nav-links { gap: 14px; }
  .nav-links a,
  .nav-dropdown summary,
  .split-dropdown .nav-dropdown-label { font-size: 0.78rem; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 0.7rem; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--color-primary) !important;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 6px;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-bg) !important;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
/* Hamburger morphs into an X in the same box while the mobile menu is open,
   so there's an obvious way to close it and keep scrolling. */
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-tags span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.hero-tags span::after {
  content: "\2022";
  margin-left: 22px;
  color: var(--color-border);
}
.hero-tags span:last-child::after { content: ""; margin: 0; }

.hero-title {
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--color-dark);
}

.hero-sub {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.button-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 480px) {
  .button-group-compact { flex-wrap: wrap; gap: 5px; }
  .button-group-compact .btn { flex: 1; padding: 8px 6px; font-size: 0.55rem; }
}
#top-programmes, #plan-programme, #tours, #corporate { scroll-margin-top: 100px; }

/* Layered homepage slideshow and category navigation */
.hero-showcase {
  min-height: 480px;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--color-white);
  isolation: isolate;
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: -3; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.62) 100%);
}
.hero-showcase-inner {
  display: block;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-copy { max-width: 520px; }
.hero-cta { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-categories.hero-categories-desktop { display: none; }
.hero-categories-mobile { margin: 16px 0 4px; }
@media (min-width: 981px) {
  .hero-categories.hero-categories-mobile { display: none; }
  .hero-showcase-inner { display: flex; align-items: flex-start; gap: 32px; max-width: 1400px; }
  .hero-categories.hero-categories-desktop {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1 1 640px;
    gap: 14px;
    margin-top: 32px;
    padding-bottom: 4px;
  }
  .hero-categories.hero-categories-desktop::-webkit-scrollbar { display: none; }
  .hero-categories.hero-categories-desktop .hero-category { flex: 0 0 220px; min-height: 360px; scroll-snap-align: start; }
}
.hero-kicker {
  display: block;
  margin-bottom: 16px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff3b0;
}
.hero-showcase .hero-title,
.hero-showcase .hero-sub { text-align: left; margin-left: 0; margin-right: 0; color: var(--color-white); }
.hero-showcase .hero-title { font-size: clamp(2.35rem, 3.8vw, 3.35rem); max-width: 720px; }
.hero-showcase .hero-sub { max-width: 500px; margin-bottom: 0; color: rgba(255,255,255,.86); }
.hero-showcase .hero-actions { justify-content: flex-start; }
.btn-hero-outline { border-color: rgba(255,255,255,.8); color: var(--color-white); background: rgba(0,0,0,.12); }
.btn-hero-outline:hover { background: var(--color-white); color: var(--color-dark); }
.hero-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; scrollbar-width: none; }
.hero-categories::-webkit-scrollbar { display: none; }
.hero-category span {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 112px;
  padding-top: 44px;
  line-height: 1.15;
  text-align: left;
}
.hero-category span strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-box-pack: end;
  overflow: hidden;
  min-height: calc(1.15em * 2);
  font-weight: inherit;
}
.hero-category small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-box-pack: end;
  overflow: hidden;
  margin-top: 5px;
  color: rgba(255,255,255,.78);
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}
.hero-category {
  position: relative;
  min-height: 244px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #284632;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-category::before { content:""; position:absolute; inset:0; background:linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15) 35%, rgba(0,0,0,.88)); }
.hero-category span {
  position: relative;
  z-index: 1;
  padding: 44px 13px 14px;
  font-size: .96rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.hero-category:hover, .hero-category:focus-visible { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(0,0,0,.38); }

@media (max-width: 980px) {
  .hero-showcase { align-items: stretch; }
  .hero-showcase-inner { padding-top: 32px; padding-bottom: 8px; }
  .hero-copy { max-width: 650px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 22px; max-width: 340px; }
  .hero-cta .btn { width: auto; justify-content: flex-start; text-align: left; }
  /* 2x2 instead of a horizontally-scrolling 1x4: the last card or two were
     easy to miss off-screen and got far fewer taps. */
  .hero-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; mask-image: none; -webkit-mask-image: none; }
  .hero-category { min-height: 170px; }
  .hero-category span { min-height: 80px; padding-top: 26px; }
  /* Mobile hero categories scroll as a 1-row slider instead of wrapping, so
     a 3rd card (Singapore Classics) is reachable without extra vertical space. */
  .hero-categories.hero-categories-mobile {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
    margin: 16px 0 0;
  }
  .hero-categories.hero-categories-mobile::-webkit-scrollbar { display: none; }
  .hero-categories.hero-categories-mobile .hero-category { flex: 0 0 44%; scroll-snap-align: start; }
}
@media (max-width: 1280px) {
  .hero-showcase-inner {
    padding-top: 84px;
    padding-bottom: 34px;
  }
}
@media (max-width: 600px) {
  .hero-showcase { min-height: 280px; }
  .hero-showcase-inner { padding-top: 22px; padding-bottom: 6px; }
  .hero-showcase .hero-title { font-size: 2.35rem; }
  .hero-showcase .hero-sub { font-size: .95rem; }
  .hero-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; gap: 8px; mask-image: none; -webkit-mask-image: none; }
  .hero-category { min-height: 140px; }
  .hero-category span { min-height: 62px; padding-top: 18px; font-size: .85rem; }
  .hero-category small { font-size: .62rem; }
  .hero-categories.hero-categories-mobile .hero-category { flex: 0 0 44%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-category { transition: none; }
}

/* Placeholder photo blocks */
.placeholder-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  min-height: 160px;
}
.placeholder-photo.has-photo > div:not(.hero-overlay) { opacity: 0; }
.placeholder-photo.has-photo .photo-slot-badge { display: none; }
.tour-featured-photo {
  min-height: 0;
  aspect-ratio: 2 / 1;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: var(--color-bg-alt) !important;
}
.placeholder-photo.alt {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}
.placeholder-photo.c3 {
  background: linear-gradient(135deg, var(--color-c3) 0%, var(--color-c3-dark) 100%);
}
.placeholder-photo.c4 {
  background: linear-gradient(135deg, var(--color-c4) 0%, var(--color-c4-dark) 100%);
}
.placeholder-photo.c5 {
  background: linear-gradient(135deg, var(--color-c5) 0%, var(--color-c5-dark) 100%);
}
.placeholder-photo.c6 {
  background: linear-gradient(135deg, var(--color-c6) 0%, var(--color-c6-dark) 100%);
}
.placeholder-photo .ph-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Cycle tour card photo colours across the palette */
.tour-grid .tour-card:nth-child(6n+1) .placeholder-photo { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }
.tour-grid .tour-card:nth-child(6n+2) .placeholder-photo { background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%); }
.tour-grid .tour-card:nth-child(6n+3) .placeholder-photo { background: linear-gradient(135deg, var(--color-c3) 0%, var(--color-c3-dark) 100%); }
.tour-grid .tour-card:nth-child(6n+4) .placeholder-photo { background: linear-gradient(135deg, var(--color-c4) 0%, var(--color-c4-dark) 100%); }
.tour-grid .tour-card:nth-child(6n+5) .placeholder-photo { background: linear-gradient(135deg, var(--color-c5) 0%, var(--color-c5-dark) 100%); }
.tour-grid .tour-card:nth-child(6n) .placeholder-photo { background: linear-gradient(135deg, var(--color-c6) 0%, var(--color-c6-dark) 100%); }

/* Tour cards */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Search/price filtering sets the `hidden` attribute on nonmatching cards
   (site.js), but this class's own `display: flex` has equal specificity to
   the browser's default [hidden]{display:none} and, being author CSS, wins
   the tie -- so filtered-out cards stayed visible. This compound selector
   is more specific than the plain class, so it wins instead. */
.tour-card[hidden] { display: none; }
.tour-card .tour-card-body { background: var(--color-primary); }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.tour-card .placeholder-photo { min-height: 190px; border-radius: 0; }
.tour-card .tour-featured-photo { min-height: 0; }
.upcoming-tours-grid .tour-card-body .desc { display: none; }

/* All tour cards use the green panel treatment sitewide. */
.tour-card-body .tour-price { color: #ffdca8; }
.tour-card-more {
  margin-top: auto;
  font-size: .8rem;
  font-weight: 700;
  color: #ffdca8;
}
.tour-card:hover .tour-card-more { color: var(--color-white); }

.tour-detail-hero.tour-artwork-hero {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background-color: var(--color-dark) !important;
}
.tour-title-band {
  padding: 34px 0 38px;
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.tour-title-band .breadcrumb { margin-bottom: 12px; color: rgba(255,255,255,.72); }
.tour-title-band h1 { max-width: 920px; font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 10px; }
.tour-title-band .tour-subtitle { max-width: 850px; color: rgba(255,255,255,.82); }

.original-tour-heading { background: var(--color-primary); color: var(--color-bg); text-align:center; padding:70px 0 58px; }
.original-tour-heading h1 { font-size:clamp(2rem,4vw,3rem); text-transform:uppercase; margin-bottom:14px; }
.original-tour-heading p { font-weight:700; }
.original-tour-content { padding:18px 0 80px; background:var(--color-bg); }
.original-tour-grid { display:grid; grid-template-columns:minmax(0, 1.65fr) minmax(290px, .8fr); gap:24px; align-items:start; }
.original-tour-artwork { width:100%; aspect-ratio:16/9; background-size:contain; background-repeat:no-repeat; background-position:center; border-radius:24px; }
.original-tour-action { display:flex; justify-content:flex-end; margin:14px 0 24px; }
.original-tour-main .tour-intro h2 { font-size:1.5rem; color:var(--color-primary-dark); margin-bottom:12px; }
.original-tour-facts { background:var(--color-primary); color:#fff; border-radius:24px; padding:10px 26px; }
.original-tour-facts > div { padding:20px 0; border-bottom:1px solid rgba(255,255,255,.28); }
.original-tour-facts > div:last-child { border-bottom:0; }
.original-tour-facts h3 { color:var(--color-bg); font-size:1rem; text-transform:uppercase; margin-bottom:8px; }
.original-tour-facts p,.original-tour-facts li { font-size:.88rem; }
.original-tour-facts ul { padding-left:18px; list-style:disc; }
@media(max-width:850px){.original-tour-grid{grid-template-columns:1fr}.original-tour-facts{order:2}.original-tour-heading{padding:48px 0 40px}}

.tour-page-heading { padding:31px 0 27px; text-align:center; background:var(--color-primary); color:var(--color-bg); }
.tour-page-heading h1 { max-width:1100px; margin:0 auto 14px; font-size:clamp(2rem,4vw,3rem); text-transform:uppercase; }
.tour-page-heading p { font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; }
.tour-heading-icon { width:1.1em; height:1.1em; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width:600px) {
  .tour-page-heading h1 { font-size:1.3rem; line-height:1.2; }
}
@media (max-width: 900px) {
  .tour-page-heading { padding: 10px 0; }
  .tour-page-heading h1 {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tour-page-heading p { display: none; }
}
.tour-inline-artwork { width:100%; min-height:0; aspect-ratio:16/9; border-radius:24px; background-size:contain; background-repeat:no-repeat; background-position:center; position: relative; }
.tour-gallery-hero-slide { position: relative; }
.tour-video-overlay {
  position: absolute;
  inset: 0;
  display: none;
  border-radius: inherit;
  overflow: hidden;
  background: #000;
  z-index: 2;
}
.tour-video-overlay.is-active { display: block; }
.tour-video-overlay video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.tour-video-controls { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 3; }
.tour-video-controls button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}
.tour-video-controls button svg { width: 16px; height: 16px; }
.tour-gallery-video-thumb { position: relative; }
.tour-gallery-play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}
.tour-gallery-play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}
section.tour-detail-section { padding-top:28px; padding-bottom:12px; }
.tour-gallery-photo { min-height:140px; border-radius:10px; background-size:cover; background-position:center; }
.tour-featured-photo { min-height:190px; background-size:cover; background-position:center; }
section.related-tours-section { padding-top:12px; padding-bottom:24px; }
.tour-inline-action { display:flex; justify-content:flex-start; margin:14px 0 8px; }

/* Text-link CTA that jumps to the pricing/dates card, styled like the
   uppercase field labels rather than a button. */
.tour-dates-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: 0;
}
.tour-dates-jump:hover,
.tour-dates-jump:focus-visible { color: var(--color-accent); }
.tour-dates-jump-arrow { font-size: 0.95rem; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.tour-detail-main { min-width: 0; grid-area: main; }
.tour-detail-layout > .tour-detail-sidebar { grid-area: sidebar; }
.tour-detail-layout > .tour-faqs-box { grid-area: faqs; }
.tour-good-to-know { width: 100%; max-width: 100%; }
@media (max-width: 900px) {
  .tour-detail-layout {
    display:flex;
    flex-direction:column;
    gap: 20px;
    grid-template-columns: 1fr;
    grid-template-areas: "main" "booking" "faqs" "contact";
  }
  .tour-detail-layout > div:first-child { order:1; }
  /* Unwrap the sidebar column on mobile so its two cards (booking/checkout,
     then the Get In Touch form) can be reordered independently around the
     FAQ box, instead of moving as one fixed block. */
  .tour-detail-layout > .tour-detail-sidebar { display: contents; }
  .tour-detail-layout > .tour-detail-sidebar > .booking-box { grid-area: booking; order:2; }
  .tour-detail-layout > .tour-good-to-know { order:3; width:100%; }
  .tour-detail-layout > .tour-faqs-box { grid-area: faqs; order:4; width:100%; }
  .tour-detail-layout > .tour-detail-sidebar > .tour-contact-sidebar-card { grid-area: contact; order:5; }
  .booking-box.tour-box-no-sessions { display: none; }
}

.tour-detail-sidebar { display: flex; flex-direction: column; gap: 44px; }
.tour-contact-sidebar-card {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 28px 28px 16px;
  box-shadow: var(--shadow-md);
}
.tour-contact-sidebar-card .form-status { min-height: 0; }
.tour-contact-sidebar-card .section-head { text-align: left; max-width: none; margin: 0 0 14px; }
.tour-contact-sidebar-card .eyebrow { color: #ffdca8; font-size: 0.72rem; margin-bottom: 6px; }
.tour-contact-sidebar-card h2 { color: var(--color-bg); font-size: 1.05rem; font-family: var(--font-heading); }
.tour-contact-sidebar-card .contact-form { padding: 0; box-shadow: none; gap: 10px; }
.tour-contact-sidebar-card .form-group { gap: 4px; }
.tour-contact-sidebar-card .form-group label { font-size: 0.76rem; }
.tour-contact-sidebar-card .form-group input,
.tour-contact-sidebar-card .form-group select,
.tour-contact-sidebar-card .form-group textarea {
  padding: 9px 12px;
  font-size: 0.85rem;
}
.tour-contact-sidebar-card .form-group textarea { min-height: 40px; }
.tour-contact-sidebar-card .btn-block { padding: 11px 16px; font-size: 0.76rem; }

.tour-card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }

.tour-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.tour-card h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-bg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}
.tour-card h3 a { color: inherit; }
.tour-card h3 a:hover { color: #ffdca8; }

/* Workshop titles are short (1-2 lines) -- the shared 3-line reserve above
   leaves a visible gap under them, so clamp/reserve for 2 lines here instead.
   type-workshops is the post-type class post_class() adds automatically, so
   this covers both the Corporate page slider and the /workshops/ grid. */
.tour-card.type-workshops h3 {
  -webkit-line-clamp: 2;
  min-height: 2.6em;
}

.tour-card p.desc {
  color: rgba(255, 250, 223, 0.82);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tour-card .tour-meta { color: rgba(255, 250, 223, 0.82); }

.tour-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tour-meta span { display: flex; align-items: center; gap: 4px; }

.view-all-wrap { text-align: center; margin-top: 20px; }

/* Gift banner */
.gift-banner {
  background: #39583f;
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.gift-banner h2 { color: var(--color-white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gift-banner p { color: rgba(255,255,255,0.82); max-width: 480px; }
.gift-banner .btn-light { background: var(--color-accent); color: var(--color-white); }
.gift-banner .btn-light:hover { background: var(--color-accent-dark); }

/* Testimonials */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--color-accent); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 0.95rem; margin-bottom: 16px; color: var(--color-dark); }
.testimonial-card .author { font-size: 0.8rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tours-section-head { margin-bottom: 24px; }
.reviews-link { margin-top: 30px; }

/* Compact Google review strip */
.google-reviews-section { background: var(--color-bg); padding: 62px 0 70px; }
.google-reviews-title { text-align: center; color: #39583f; font-size: clamp(1.55rem, 3vw, 2.35rem); margin-bottom: 32px; }
.google-g, .review-google { font-family: Arial, sans-serif; font-weight: 800; color: #4285f4; }
.google-g { display: inline-block; font-size: 1.15em; margin-left: 8px; }
.google-reviews-layout { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 28px; align-items: center; }
.google-rating-summary { text-align: center; display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.google-rating-summary > strong { font-size: 1rem; margin-bottom: 4px; }
.google-rating-summary > span { font-size: .72rem; color: var(--color-dark); }
.google-stars { color: #f4b400; font-size: 1.65rem; letter-spacing: 1px; line-height: 1.1; }
.google-stars.small { font-size: 1rem; margin: 10px 0 8px; }
.google-wordmark { display: flex; font-family: Arial, sans-serif; font-size: 1.5rem; margin-top: 7px; letter-spacing: -2px; }
.google-wordmark span:nth-child(1),.google-wordmark span:nth-child(4) { color:#4285f4; }
.google-wordmark span:nth-child(2),.google-wordmark span:nth-child(6) { color:#ea4335; }
.google-wordmark span:nth-child(3) { color:#fbbc05; }
.google-wordmark span:nth-child(5) { color:#34a853; }
.google-review-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.google-review-card { background: #fff; border: 1px solid #d8d8d8; border-radius: 8px; padding: 16px; min-height: 178px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.google-reviewer { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; font-family: Arial,sans-serif; font-size: .78rem; }
.google-reviewer b,.google-reviewer small { display:block; }
.google-reviewer small { color:#777; margin-top:1px; }
.review-avatar { width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font:700 1rem Arial,sans-serif; }
.avatar-c { background:#dd3c79; }.avatar-m { background:#278f77; }.avatar-w { background:#596c64; }
.review-google { font-size: 1rem; }
.google-review-card p { font-family: Arial,sans-serif; color:#111; font-size:.8rem; line-height:1.35; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
.google-reviews-action { text-align:right; margin-top:14px; }
.google-reviews-action a { font-size:.8rem; color:#39583f; font-weight:700; }
section.gift-final-section,
body.home main > section.gift-final-section { padding-top: 24px; padding-bottom: 48px; }
@media (max-width: 850px) {
  .google-reviews-layout { grid-template-columns:1fr; }
  .google-rating-summary { margin-bottom:4px; }
  .google-review-track { overflow-x:auto; grid-template-columns:repeat(3,minmax(250px,78vw)); padding-bottom:10px; scroll-snap-type:x mandatory; }
  .google-review-card { scroll-snap-align:start; }
  .google-reviews-action { text-align:center; }
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}
.feature-item { display: flex; gap: 18px; }
.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.feature-icon.c2 { background: var(--color-accent); }
.feature-icon.c3 { background: var(--color-c3); }
.feature-icon.c4 { background: var(--color-c4); }
.feature-icon.c5 { background: var(--color-c5); }
.feature-icon.c6 { background: var(--color-c6); }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-item p { color: var(--color-muted); font-size: 0.92rem; }

/* Contact CTA */
.contact-cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
  background: var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-cta-text { padding: 48px; }
.contact-cta-text .eyebrow { color: #ffdca8; }
.contact-cta-text h2 { margin-bottom: 14px; color: var(--color-bg); }
.contact-cta-text p { color: rgba(255,255,255,0.82); margin-bottom: 24px; }
.contact-hints { color: var(--color-bg); margin-bottom: 8px; }
.contact-hints strong { display: block; margin-bottom: 8px; }
.contact-hints ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.contact-hints li { color: rgba(255,255,255,0.82); padding-left: 16px; position: relative; }
.contact-hints li::before { content: "\2013"; position: absolute; left: 0; color: #ffdca8; }

.contact-cta .placeholder-photo { min-height: 280px; border-radius: 0; }
.contact-cta .btn-outline { border-color: var(--color-accent); color: var(--color-accent); }
.contact-cta .btn-outline:hover,
.contact-cta .btn-outline:focus-visible { color: var(--color-white); }


/* Corporate page "Made For Your Group": on desktop this is the normal
   side-by-side split-feature (text left, photo right). On mobile, drop the
   photo entirely -- just a plain green card with the text and CTA, same as
   every other mobile contact-style card on the site. */
@media (max-width: 800px) {
  /* .corporate-team-feature is the same element as .container (0 side
     margin, 24px side padding), so a background-color on it paints
     edge-to-edge -- the 24px padding is inside its own border-box, not a
     gutter around it. Put the card's background/radius on the inner text
     div instead so it sits inset like every other card on the page. */
  .corporate-team-feature img { display: none; }
  .corporate-team-feature > div {
    background: var(--color-primary);
    border-radius: var(--radius);
    padding: 28px;
  }
  .corporate-team-feature .eyebrow { color: #ffdca8; }
  .corporate-team-feature h2 { color: var(--color-bg); }
  .corporate-team-feature p { color: rgba(255, 255, 255, 0.9); }
}

/* Text+form variant: two independent green cards with visible space between
   them, matching the contact-us page's form + info-block layout, instead of
   one flush box (which is for the text+photo variant used elsewhere). */
.contact-cta-with-form {
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
/* "Not Sure Which Tour Suits You Best" form (Tours/Upcoming/Discontinued
   pages): tighter gap between the intro card and the form card than the
   shared default, since there's no photo/hints content to justify 40px.
   Compound selector (not just .tour-help-cta) so it reliably beats the
   later same-specificity .contact-cta-with-form mobile override rather
   than depending on source order. */
.contact-cta-with-form.tour-help-cta { gap: 20px; }
@media (max-width: 900px) {
  .contact-cta-with-form.tour-help-cta { gap: 12px; }
}
.contact-cta-with-form .contact-cta-text {
  background: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Unified variant: one stacked green card, description then form, no separate action buttons. */
.contact-cta-unified {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
  gap: 0;
}
.contact-cta-unified .contact-cta-text { padding-bottom: 0; }
.contact-cta-unified .contact-form {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0 48px 48px;
}

/* Logo strip */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}
.logo-strip span,
.logo-strip a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-muted);
  font-size: 1rem;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
.logo-strip a:hover,
.logo-strip a:focus-visible {
  color: var(--color-primary);
  opacity: 1;
}

/* Press banner ("As Featured On") */
.press-banner {
  background: #39583f;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}
.press-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 32px;
}
.press-logo-strip {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.press-logo-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: press-logo-scroll 32s linear infinite;
}
.press-logo-track:hover { animation-play-state: paused; }
.press-logo-group { display: contents; }
@keyframes press-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .press-logo-track { animation: none; }
}
.press-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 10px;
  padding: 14px;
  width: 92px;
  height: 92px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.press-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
a.press-logo-item:hover,
a.press-logo-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) {
  .press-banner { padding: 36px 20px; }
  .press-logo-track { gap: 10px; }
  .press-logo-item { width: 68px; height: 68px; padding: 10px; }
}

/* Blog teaser */
.blog-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-teaser .placeholder-photo { min-height: 260px; border-radius: 0; }
.blog-teaser-text { padding: 44px; }
.blog-teaser-text h3 { font-size: 1.4rem; margin-bottom: 14px; }
.blog-teaser-text p { color: var(--color-muted); margin-bottom: 22px; }
.home-blog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.home-blog-card { overflow:hidden; background:var(--color-primary); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.home-blog-image { display:block; aspect-ratio:16/10; overflow:hidden; background:#e9e2c4; }
.home-blog-image img { width:100%; height:100%; object-fit:cover; background:#e9e2c4; }
.home-blog-image-fallback { display:flex; width:100%; height:100%; align-items:center; justify-content:center; padding:24px; background:var(--color-primary); color:var(--color-bg); font-weight:700; text-align:center; }
.home-blog-body { padding:16px 18px 18px; }
.home-blog-body time { display:block; margin-bottom:10px; color:#ffdca8; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.home-blog-body h3 { margin-bottom:0; font-size:1.02rem; line-height:1.35; color:var(--color-bg); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-blog-body h3 a { color:var(--color-bg); }
.home-blog-body p { display:none; }
.home-blog-read { color:#ffdca8; font-weight:700; font-size:.8rem; }
.home-blog-all { margin-top:30px; text-align:center; }
/* Same cream background as the gift-card section right after it, no color
   break to justify the standard 56px+56px section padding stacking with
   the button's own 30px margin -- tighten this seam specifically. */
#blog { padding-bottom: 24px; }
.gift-final-section { padding-top: 24px; }
@media (max-width:900px) { .home-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media (max-width:480px) { .home-blog-grid { gap:12px; } .home-blog-body { padding:14px; } }
@media (max-width:900px) {
  section#blog { padding-bottom: 12px; }
  section.gift-final-section { padding-top: 16px; }
}
@media (max-width:480px) {
  #blog .section-head h2 { font-size: 1.55rem; }
  .gift-banner { padding: 40px 22px; }
  .gift-banner h2 { font-size: 1.32rem; }
}

/* Internal dashboard pages */
.internal-banner {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 0.8rem;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}
.internal-banner strong { color: var(--color-white); }

.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.dashboard-toolbar .count { color: var(--color-muted); font-size: 0.9rem; }

.dashboard-table-wrap {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
table.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 640px;
}
.dashboard-table th {
  text-align: left;
  padding: 14px 18px;
  background: var(--color-bg-alt);
  color: var(--color-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}
.dashboard-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-muted);
  vertical-align: middle;
}
.dashboard-table tr:last-child td { border-bottom: none; }
.dashboard-table tr:hover td { background: var(--color-bg-alt); }
.dashboard-table td.tour-name { color: var(--color-dark); font-weight: 700; }
.dashboard-table td a.view-link { color: var(--color-primary); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.dashboard-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.dashboard-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-bg-alt);
  color: var(--color-dark);
}
.dashboard-pill.self-paced { background: rgba(15,71,194,0.1); color: var(--color-primary); }

/* FAQ accordion */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  /* !important: Elementor's own global button styling is still loaded on
     pages like this one and otherwise overrides this plain <button>'s text
     to a near-invisible cream, since Elementor's kit happens to reuse the
     same cream as our --color-bg. */
  color: var(--color-dark) !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .icon { font-size: 1.3rem; color: var(--color-accent); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
/* Open/close is a plain display swap rather than a max-height transition.
   A transitioned height leaves the panel stuck shut wherever the animation
   doesn't run, and a fixed max-height also clips longer answers. */
.faq-answer {
  display: none;
  color: var(--color-muted);
  font-size: 0.94rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer-inner { padding: 0 4px 22px; }

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: var(--color-muted); max-width: 600px; margin: 0 auto; text-wrap: balance; }
.page-hero-photo {
  position: relative;
  min-height: 325px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: var(--color-white);
  isolation: isolate;
}
/* This hero photo has the people near the bottom of the frame; on wide
   screens the tall image gets cropped down to the hero's 325px min-height,
   and centering the crop cuts off the people below. Shift the visible
   window down. */
.contact-hero-photo { background-position: center 80%; }
.page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 90, 64, 0.75);
  z-index: -1;
}
.page-hero-photo .container { width: 100%; }
.page-hero-photo h1,
.page-hero-photo p { color: var(--color-white); text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.page-hero-photo p { max-width: 720px; }
.tours-catalogue-hero { background-image: url('https://hiddenheritage.sg/wp-content/uploads/2025/01/dsc00832-scaled.jpg'); background-position: center 80%; }
.page-hero-photo.dark-overlay::before { background: rgba(58, 90, 64, 0.75); }
.content-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.content-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.content-card { background:var(--color-white); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow-sm); }
.content-card h3 { margin-bottom:10px; }
.content-card p { color:var(--color-muted); }
/* ---------- Blog: article + post cards ---------- */

.post-header { padding: 31px 0 27px; text-align: center; background: var(--color-primary); }
.post-header-inner { display: flex; flex-direction: column; align-items: center; }
.post-header h1 { max-width: 1100px; margin: 0 auto; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; text-wrap: balance; color: var(--color-bg); }
@media (max-width: 600px) {
  .post-header h1 { font-size: 1.3rem; line-height: 1.2; }
}
@media (max-width: 900px) {
  .post-header { padding: 10px 0; }
  .post-header h1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.post-header .eyebrow { margin-bottom: 10px; color: #ffdca8; }
.post-header .post-meta { color: rgba(255,250,223,.78); }
.post-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: var(--color-muted);
  margin: 4px 0 0;
}
.post-featured-image { padding: 32px 0 0; }
.post-featured-image-img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: var(--shadow-md); }

/* A comfortable reading measure, centred in the container. */
.post-measure { max-width: 68ch; margin-inline: auto; }
.post-body-section { padding-top: 44px; }
.post-article .entry-content { font-size: 0.875rem; line-height: 1.55; color: #000; }
.post-article .entry-content h2 { font-size: 1.5rem; margin-top: 2rem; }
.post-article .entry-content h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.post-article .entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.post-article .entry-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: 18px;
  color: var(--color-muted);
  font-style: italic;
}

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 5px 12px;
}
.post-tags a:hover { border-color: var(--color-primary); }

.post-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.related-posts-section { padding-top: 8px; }
@media (max-width: 900px) {
  section.post-body-section { padding-bottom: 16px; }
  .post-footer-nav { margin-top: 20px; padding-top: 16px; }
}
.related-posts-title { font-size: 1.5rem; margin-bottom: 22px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card[hidden] { display: none; }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-alt); }
.post-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.post-card-photo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.post-card-meta {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255, 250, 223, .82);
  margin-bottom: 10px;
}
.post-card-cat { color: #ffdca8; }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card h3 a { color: var(--color-bg); }
.post-card h3 a:hover { color: #ffdca8; }
.post-card-excerpt { color: rgba(255, 250, 223, .82); font-size: .92rem; flex: 1; margin-bottom: 16px; }
.post-card-more { font-weight: 700; font-size: .86rem; color: #ffdca8; margin-top: auto; }
.post-card-more:hover { color: var(--color-bg); }

/* Category quick-filter chips on the blog listing */
.blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-chip {
  all: unset;
  box-sizing: border-box;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: 999px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  color: var(--color-bg) !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.blog-chip:hover { border-color: var(--color-bg) !important; }
.blog-chip:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.blog-chip.is-active {
  background: var(--color-bg) !important;
  border-color: var(--color-bg) !important;
  color: var(--color-dark) !important;
}
.blog-chip-count {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
}
.blog-chip.is-active .blog-chip-count { background: rgba(0, 0, 0, .08); }
#blog-no-results { grid-column: 1 / -1; }

.post-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; }
.post-pagination a, .post-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  font-weight: 600;
  font-size: .88rem;
}
.post-pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.post-pagination a:hover { border-color: var(--color-primary); }
.post-empty { text-align: center; color: var(--color-muted); padding: 48px 20px; }
.error-404-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 20px 0 56px; }

.related-posts-section .post-card-meta { display: none; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .post-card-body { padding: 14px 14px 16px; }
  .post-card-meta { display: none; }
  .post-card h3 { font-size: .95rem; margin-bottom: 0; }
  .post-card-excerpt { display: none; }
  .post-article .entry-content { font-size: 0.875rem; }
}

/* PayNow QR shown directly in the payment panel */
.paynow-qr {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 4px auto 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px;
}

/* Inline WhatsApp link inside the booking steps */
.whatsapp-inline-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.whatsapp-inline-link:hover { color: var(--color-accent-dark); }

/* ---------- Corporate: "What we can arrange" picker ---------- */
.arrange-hint { color: var(--color-muted); font-size: .92rem; }
.arrange-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 26px;
}
/* About Us "What We Do" has 6 pills -- force a 3-and-3 grid on wider
   screens instead of letting the 6th wrap alone onto its own row. */
@media (min-width: 701px) {
  .arrange-tabs.arrange-tabs-6 {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }
}
/* Corporate "What We Can Arrange" has 8 pills -- force an even 4-and-4
   grid on wider screens instead of the uneven 6-then-2 wrap. */
@media (min-width: 701px) {
  .arrange-tabs.arrange-tabs-8 {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
  }
}
.arrange-tab {
  all: unset;
  box-sizing: border-box;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  padding: 12px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px !important;
  border: 1px solid var(--color-accent) !important;
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  font-family: var(--font-heading);
  font-size: .92rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.arrange-tab:hover { background: var(--color-white) !important; color: var(--color-accent) !important; }
.arrange-tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.arrange-tab.is-active {
  background: var(--color-white) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.arrange-panels { position: relative; }
.arrange-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.arrange-panel[hidden] { display: none; }
.arrange-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--color-bg-alt);
}
.arrange-panel-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.arrange-panel-body p { color: var(--color-muted); font-size: 1rem; }
.arrange-panel-body p a { text-decoration: underline; font-weight: 700; }
.arrange-panel-body p a:hover { color: var(--color-accent); }
/* Corporate "What We Can Arrange" picker: same layout, green card. */
.arrange-panel-green { background: var(--color-primary); }
.arrange-panel-green .arrange-panel-body h3 { color: var(--color-bg); }
.arrange-panel-green .arrange-panel-body p { color: rgba(255, 250, 223, .88); }
/* Text-only picker panel (no photo slot) -- e.g. Heritage Research "Built
   Around Your Organisation". */
.arrange-panel-text { grid-template-columns: 1fr; background: var(--color-primary); }
.arrange-panel-text .arrange-panel-body h3 { color: var(--color-bg); }
.arrange-panel-text .arrange-panel-body p { color: rgba(255, 250, 223, .88); }

/* About Us "What We Do" picker: green card, text left / photo slot right on desktop. */
.arrange-panel-photo {
  grid-template-columns: 1.1fr 1fr;
  background: var(--color-primary);
  padding: 0;
  overflow: hidden;
}
.arrange-panel-photo .arrange-panel-body { padding: 40px; }
.arrange-panel-photo .arrange-panel-body h3 { color: var(--color-bg); }
.arrange-panel-photo .arrange-panel-body p { color: rgba(255, 250, 223, .88); }
.arrange-panel-photo .arrange-panel-media { position: relative; min-height: 260px; height: 100%; }
/* Same cream background as the sections around it, so the standard 56px
   top+bottom section padding (112px total) reads as an obvious gap without
   a color break to justify it -- tighten just this one seam. */
.founder-section { padding-top: 20px; padding-bottom: 24px; }
/* About Us has several plain, uniform-background sections stacked in a
   row with no color break between them -- the standard 56px top+bottom
   section padding (112px combined) reads as excess dead space there.
   Tighten both sides of each so consecutive sections don't compound. */
.about-tight-section { padding-top: 24px; padding-bottom: 24px; }
/* Travel Arrangement's intro section follows the page's own photo hero
   directly -- the hero's own 40px bottom padding plus this section's
   about-tight-section top padding still left a visibly large gap. */
.travel-intro-section { padding-top: 12px; }
/* Corporate page workshop cards without a photo yet were falling back to
   the sitewide green placeholder gradient, which read as an odd color
   clash against this section's cream background -- use a plain cream
   placeholder here instead. */
.workshop-card-slider .placeholder-photo { background: var(--color-bg-alt); color: var(--color-muted); }
.arrange-panel-photo .arrange-panel-media img,
.arrange-panel-photo .arrange-panel-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: rgba(0, 0, 0, .12);
}

@media (max-width: 760px) {
  .arrange-tabs { justify-content: flex-start; gap: 8px; }
  .arrange-tab { font-size: .84rem !important; padding: 11px 16px; }
  .arrange-panel { grid-template-columns: 1fr; gap: 18px; padding: 18px; }

  /* On mobile the photo becomes a full-bleed backdrop with the text overlaid on a gradient. */
  .arrange-panel-photo {
    display: block;
    position: relative;
    isolation: isolate;
    min-height: 340px;
    padding: 0;
  }
  .arrange-panel-photo .arrange-panel-media { position: absolute; inset: 0; z-index: -2; min-height: 0; }
  .arrange-panel-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, .85) 100%);
    z-index: -1;
  }
  .arrange-panel-photo .arrange-panel-body {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
  }
  .arrange-panel-photo .arrange-panel-body h3,
  .arrange-panel-photo .arrange-panel-body p { color: var(--color-white); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
}
@media (max-width: 560px) {
  .arrange-tabs { gap: 6px; }
  .arrange-tab { font-size: .68rem !important; padding: 7px 12px; min-height: 0; }
}


/* Founders: green panel with the photo alongside */
.founder-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
}
.founder-panel {
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius);
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-panel .eyebrow { color: #ffdca8; }
.founder-panel h2 { color: var(--color-bg); margin: 8px 0 14px; }
.founder-panel p { color: rgba(255, 250, 223, .88); margin: 0; }
.founder-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Guides slider */
.guide-card { margin: 0; display: flex; flex-direction: column; }
.guide-card-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  flex-shrink: 0;
}
.guide-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card figcaption { padding-top: 12px; text-align: center; }
.guide-card figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}
.guide-card figcaption span { color: var(--color-muted); font-size: .86rem; }
.guide-card-photo-fallback { width: 100%; height: 100%; display: block; }
.guide-slider .card-slider-track { grid-auto-columns: minmax(0, calc((100% - 5 * 14px) / 6)); gap: 14px; }
.guide-slider .guide-card figcaption strong { font-size: 0.86rem; }
.guide-slider .guide-card figcaption span { font-size: 0.76rem; }
@media (max-width: 760px) {
  .guide-slider .card-slider-track { grid-auto-columns: minmax(110px, 42%); }
}

/* Partners as one flowing block of names, separated by dividers */
.about-partner-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--color-dark);
  text-wrap: pretty;
}
.about-partner-text span { color: var(--color-accent); margin: 0 7px; }

@media (max-width: 600px) {
  .about-partner-text { font-size: .94rem; line-height: 1.85; }
}

@media (max-width: 800px) {
  .founder-feature { grid-template-columns: 1fr; }
  .founder-panel { padding: 30px 26px; }
  .founder-photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Audio guide rental page ---------- */
.rental-hero img { width: 100%; height: auto; display: block; }

.rental-heading {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.rental-subline { text-align: center; color: var(--color-muted); margin-bottom: 22px; }
.rental-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }

.rental-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rental-tier {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.rental-tier h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; margin-bottom: 6px; color: var(--color-bg); }
.rental-tier h4 { font-weight: 500; color: rgba(255, 250, 223, .78); font-size: .92rem; margin-bottom: 14px; }
.rental-tier h4:last-child { margin-bottom: 0; }
.rental-tier .rental-price { color: #ffdca8; font-size: 1.9rem; margin-bottom: 6px; text-transform: none; }
.rental-tier .rental-price span { font-size: .95rem; font-weight: 600; color: rgba(255, 250, 223, .78); }

.rental-slider-head { align-items: center; }
.rental-slider-head .rental-heading { margin: 0; }
.rental-use { margin: 0; display: flex; flex-direction: column; }
.rental-use img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.rental-use figcaption {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  padding-top: 12px;
}

.rental-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 26px; }
.rental-step { text-align: center; }
.rental-step img { height: 130px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 14px; display: block; }
.rental-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.rental-step p { color: var(--color-muted); font-size: .92rem; }

.rental-specs-slider {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.rental-specs-controls { justify-content: flex-end; margin-bottom: 16px; }
.rental-specs.card-slider-track {
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 23%);
  gap: 26px;
  align-items: end;
  padding: 4px 4px 8px;
}
.rental-spec { text-align: center; scroll-snap-align: start; }
/* All 4 specs fit comfortably on wider screens, so the swipe/arrow
   slider mechanism (meant for mobile) is just noise there. */
@media (min-width: 701px) {
  .rental-specs-controls { display: none; }
  .rental-specs.card-slider-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
}
.rental-spec h3 { color: var(--color-bg); }
.rental-spec img { height: 80px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 14px; display: block; filter: brightness(0) invert(1); }
.rental-spec h3 { font-size: 1.02rem; }

/* Plain bordered accordion, matching the live rental page: 2 columns of
   individually-boxed questions instead of one long stacked list. */
.faq-plain { max-width: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.faq-plain .faq-item { background: transparent; box-shadow: none; border: 1px solid #ddd; border-radius: 8px; margin: 0; }
.faq-plain .faq-question { padding: 14px 12px; font-weight: 500; font-size: 1rem; }
.faq-plain .faq-answer-inner { padding: 0 12px 16px; }
@media (max-width: 700px) {
  .faq-plain { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .rental-tiers, .rental-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rental-tiers, .rental-steps { grid-template-columns: 1fr; }
  .rental-specs-slider { padding: 32px 20px; }
  .rental-actions .btn { flex: 1 1 auto; text-align: center; }
  .rental-slider-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

.rental-section { padding: 28px 0; }
@media (max-width: 560px) {
  .rental-section { padding: 18px 0; }
}

.split-feature { display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; }
/* Heritage Research "We Don't Just Curate" mirrors the usual split-feature
   (cards left, text right instead of text left, photo/cards right) -- but
   only on desktop, where there's a second column to mirror into. Markup
   keeps text first (so mobile still stacks text-then-cards like every
   other split-feature section); visually reorder just the desktop grid. */
@media (min-width: 901px) {
  .placemaking-split { grid-template-columns: .95fr 1.05fr; }
  .placemaking-split .placemaking-text { order: 2; }
  .placemaking-split .content-grid-3 { order: 1; }
}
.split-feature img { width:100%; border-radius:var(--radius); aspect-ratio:4/3; object-fit:cover; }
/* The text column had no vertical rhythm: headings, paragraphs and the button
   all sat flush against each other. */
.split-feature > div > * + * { margin-top: 14px; }
.split-feature > div > .btn { margin-top: 26px; }
.blog-card-image { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; }
.blog-card { overflow:hidden; padding:0; }
.blog-card-body { padding:24px; }
.blog-filter-bar { margin-bottom: 14px; }
#blog-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}
#blog-reset:hover,
#blog-reset:focus-visible {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.blog-empty-state { text-align:center; padding:56px 24px; background:var(--color-white); border-radius:var(--radius); }
.blog-empty-state p { color:var(--color-muted); }
.gift-options { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:28px 0; }
.gift-amount { border:2px solid var(--color-border); background:var(--color-white); border-radius:var(--radius); padding:24px; text-align:center; }
.gift-amount strong { display:block; color:var(--color-primary); font-size:1.7rem; margin-bottom:8px; }
@media (max-width: 800px) {
  .content-grid-3, .content-grid-4, .gift-options, .split-feature { grid-template-columns:1fr; }
  #schools-plan-photo { display:none; }
  .page-hero-photo { min-height:280px; }
  .school-pathways-two { grid-template-columns:1fr; }
  .card-slider-track { grid-auto-columns: 44%; gap: 14px; padding-left: 0; padding-right: 0; }
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form {
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: contents; }
@media (min-width: 640px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--color-bg); position: relative; }
.required-mark { color: var(--color-accent); font-size: 0.75em; vertical-align: super; margin-left: 2px; }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-primary-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg);
}
.form-group textarea { resize: vertical; min-height: 60px; }
.contact-form .form-status { color: rgba(255,255,255,0.85); }
.contact-form .form-status.is-success { color: #ffdca8; }
.form-whatsapp-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: -4px;
}
.form-whatsapp-note a {
  color: var(--color-bg);
  text-decoration: underline;
  font-weight: 700;
}
.tour-contact-sidebar-card .form-whatsapp-note { font-size: 0.76rem; }

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-item h2 { margin-bottom: 6px; font-size: 1rem; color: var(--color-bg); }
.contact-info-item p { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

.form-website-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tour-interest-intro { font-size: 0.85rem; margin-bottom: 0; }
.tour-interest-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
}
.tour-interest-trigger:hover { color: var(--color-accent-dark, var(--color-accent)); }
.btn.tour-interest-trigger {
  background: var(--color-accent);
  border: none;
  padding: clamp(10px, 3vw, 13px) clamp(16px, 6vw, 28px);
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
}
.btn.tour-interest-trigger:hover { color: var(--color-white); background: var(--color-accent-dark, var(--color-accent)); }
.tour-message-jump {
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: underline;
}
.tour-message-jump:hover { color: var(--color-accent-dark, var(--color-accent)); }

.tour-interest-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tour-interest-modal.is-open { display: flex; }
.tour-interest-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.tour-interest-modal-box {
  position: relative;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 20px 24px 16px;
  width: min(420px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.tour-interest-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-bg);
  opacity: 0.75;
  cursor: pointer;
  padding: 4px 8px;
}
.tour-interest-modal-close:hover,
.tour-interest-modal-close:focus-visible { opacity: 1; }
.tour-interest-modal-title { margin-bottom: 8px; font-size: 1.1rem; color: var(--color-bg); }
.tour-interest-modal-box .tour-interest-modal-note { margin-bottom: 16px; font-size: 0.78rem; color: var(--color-bg); }
.optional-mark { color: rgba(255, 250, 223, 0.65); font-weight: 400; font-size: 0.85em; }
.tour-interest-form { text-align: left; }
.tour-interest-form .form-group { margin-bottom: 10px; gap: 2px; }
.tour-interest-form .form-group input,
.tour-interest-form .form-group textarea { padding: 8px 12px; }
.tour-interest-form .form-group textarea { min-height: 0; height: 38px; resize: none; }
.tour-interest-form .form-status { color: rgba(255, 255, 255, 0.85); min-height: 0; margin-top: 8px; }
.tour-interest-form .form-status.is-success { color: #ffdca8; }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 14px; cursor: pointer; }
.form-checkbox-row input { margin-top: 3px; flex-shrink: 0; accent-color: var(--color-accent); }
.form-checkbox-row span { font-size: 0.7rem; color: rgba(255, 255, 255, 0.85); line-height: 1.4; }
.tour-contact-form-wrap { max-width: 640px; margin: 0 auto; }
section.tour-contact-section { padding: 48px 0; }
.tour-contact-section .section-head { margin-bottom: 28px; }
@media (max-width: 620px) {
  section.tour-contact-section { padding: 32px 0; }
  .tour-contact-section .section-head { margin-bottom: 20px; }
  .tour-contact-section .contact-form { padding: 24px; gap: 12px; }
}
.form-status { font-size: 0.9rem; min-height: 1.2em; }
.form-status:empty { min-height: 0; margin: 0; }
.form-status.is-success { color: var(--color-primary); }
.form-status.is-error { color: #b3261e; }

/* Footer */
.site-footer {
  background: #39583f;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: var(--color-white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); max-width: 260px; }
.footer-brand-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.footer-brand-contact a,
.footer-brand-contact li { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-brand-contact a:hover { color: var(--color-white); }
.newsletter-form { margin-top: 18px; max-width: 340px; }
.newsletter-form label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--color-white); margin-bottom: 8px; text-wrap: balance; }
.newsletter-form-row { display: flex; gap: 8px; }
.newsletter-form-row input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); border-radius: 999px; padding: 9px 16px; color: var(--color-white); font-size: 0.85rem; }
.newsletter-form-row input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form-row input:focus { outline: none; border-color: var(--color-accent); }
.newsletter-form-row button { all: unset; box-sizing: border-box; background: var(--color-accent); color: var(--color-white); font-weight: 700; font-size: 0.85rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.newsletter-form-row button:hover { background: var(--color-accent-dark); }
.newsletter-status { margin-top: 8px; color: rgba(255,255,255,0.7); }
.newsletter-status:empty { display: none; }
.newsletter-status.is-success { color: #ffdca8; }
.newsletter-status.is-error { color: #ffb3a7; }
.footer-col h3 { color: var(--color-white); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--color-white); }
.social-row { display: flex; gap: 14px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.social-row a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.footer-bottom a:hover { color: var(--color-white); }

/* Floating contact button */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: transform 0.15s ease;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 31px; height: 31px; display: block; }
.footer-brand-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 56px; }

/* Tour detail page */
.tour-detail-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  border-radius: 0;
}
.tour-detail-hero .hero-overlay {
  padding: 40px 0 32px;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}
.tour-detail-hero .hero-overlay .container { color: var(--color-white); }
.tour-detail-hero .breadcrumb { font-size: 0.8rem; opacity: 0.85; margin-bottom: 10px; }
.tour-detail-hero .breadcrumb a { text-decoration: underline; }
.tour-detail-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--color-white); margin-bottom: 8px; }
.tour-detail-hero .tour-subtitle { opacity: 0.9; font-size: 0.95rem; }

.photo-slot-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(0,0,0,0.45);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(3px);
}

.tour-gallery-section { padding: 24px 0; }
.tour-gallery-grid,
.tour-gallery-block h2 { display: none; }
.tour-gallery-grid .placeholder-photo {
  min-height: 140px;
  border-radius: 10px;
}
.tour-gallery-grid .placeholder-photo .ph-icon { font-size: 1.4rem; margin-bottom: 4px; }
.tour-gallery-grid .placeholder-photo div { font-size: 0.65rem; }

/* Header photo (mobile: the gallery's own hero slide; desktop: the inline
   artwork) is the "viewer" — a strip of small thumbnails below it swaps the
   clicked photo in, keeping the same header box size on both breakpoints. */
.tour-gallery-hero-slide { display: none; }
.tour-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 10px;
  padding-bottom: 2px;
}
.tour-gallery-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  /* Slightly over "cover" -- at these fractional flex widths, exact cover
     can leave a hairline sliver of the page background at one edge from
     subpixel rounding. */
  background-size: 108%;
  background-position: center;
  scroll-snap-align: start;
  cursor: pointer;
  border: 2px solid transparent;
}
.tour-gallery-thumb:hover,
.tour-gallery-thumb:focus-visible { border-color: var(--color-accent); outline: none; }
.tour-mobile-dates,
.tour-mobile-quickfacts,
.tour-mobile-dates-wrap,
.tour-sticky-book { display: none; }
/* Light "no dates yet" card -- originally mobile-only, now shared with the
   desktop sidebar too so both look the same instead of the desktop version
   sitting bare on the dark green booking box. */
.tour-no-dates-box {
  background: #f7f4e8;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
}
.tour-no-dates-box p { color: var(--color-muted); font-size: 0.86rem; margin-bottom: 0; }
@media (max-width: 900px) {
  section.tour-detail-section { padding-top: 0; }
  .tour-detail-main { display: flex; flex-direction: column; }
  .tour-inline-artwork { display: none; }
  .tour-gallery-block.tour-block { order: -4; margin-top: 20px; }
  .tour-good-to-know.tour-block { margin-top: 20px; }
  .tour-good-to-know.tour-block h2 { font-size: 1.05rem; color: var(--color-dark); }
  .tour-gallery-block h2 { display: none; }
  .tour-mobile-quickfacts { order: -3; margin-top: 18px; }
  .tour-details-jump { order: -2; display: inline-flex; margin-bottom: 4px; }
  .tour-mobile-dates-wrap { display: block; order: -1; }
  .tour-gallery-hero-slide { display: block; }
  .tour-gallery-grid {
    display: block;
    grid-template-columns: none;
  }
  .tour-gallery-grid .tour-gallery-photo:not(.tour-gallery-hero-slide),
  .tour-gallery-grid .placeholder-photo { display: none; }
  .tour-gallery-grid .tour-gallery-hero-slide {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
  }
  .tour-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-top: 10px;
    padding-bottom: 2px;
  }
  .tour-gallery-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background-size: 108%;
    background-position: center;
    scroll-snap-align: start;
    cursor: pointer;
    border: 2px solid transparent;
  }
  .tour-gallery-thumb:hover,
  .tour-gallery-thumb:focus-visible { border-color: var(--color-accent); outline: none; }
  .tour-mobile-quickfacts {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    padding: 2px 0 4px;
  }
  .tour-quickfact { display: flex; align-items: center; gap: 4px; min-width: 0; }
  /* Price and Time always show in full; Meeting Point (least critical at a
     glance) absorbs any leftover shrinkage and truncates with an ellipsis. */
  .tour-quickfact:nth-child(1),
  .tour-quickfact:nth-child(2) { flex: 0 0 auto; }
  .tour-quickfact:nth-child(3) { flex: 1 1 0; min-width: 0; }
  .tour-quickfact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  /* A real "$" character rather than a drawn icon, so the shape always
     reads correctly -- but at a light font-weight so its visual weight
     matches the ~1.8px thin strokes on the clock/pin icons beside it,
     instead of looking noticeably bolder than them. */
  .tour-quickfact .tour-quickfact-dollar {
    display: block;
    width: 15px;
    flex-shrink: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--color-primary);
    text-align: center;
  }
  .tour-quickfact span {
    display: flex;
    flex-direction: column;
    font-size: 0.58rem;
    color: var(--color-muted);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tour-quickfact strong {
    font-size: 0.68rem;
    color: var(--color-dark);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tour-mobile-dates-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 8px;
  }
  .tour-mobile-dates-title svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tour-mobile-dates {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 4px;
    margin-right: -24px;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 80%, transparent 100%);
  }
  .tour-mobile-date-pill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 4px 16px;
    border-radius: 8px;
    background: var(--color-accent);
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .tour-mobile-date-pill strong { font-size: 0.78rem; font-weight: 700; color: var(--color-bg); }
  .tour-mobile-date-pill small { font-size: 0.64rem; color: rgba(255, 250, 223, 0.82); }
  .tour-sticky-book {
    display: block;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 16px;
    z-index: 40;
  }
  .tour-sticky-book .btn { box-shadow: var(--shadow-md); }
  body.single-all-tours { padding-bottom: 76px; }
  body.single-all-tours .joinchat { bottom: 78px !important; }
  .tour-inline-action { display: none; }
}
.tour-detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-areas: "main sidebar" "faqs sidebar";
  gap: 44px;
  align-items: start;
}

.tour-intro p,
.tour-intro li {
  color: #000;
  font-size: 0.875rem;
  line-height: 1.55;
}
.tour-intro p { margin-bottom: 10px; }
.tour-about-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 16px;
  margin-bottom: 18px;
}
@media (min-width: 901px) {
  .tour-about-heading { font-size: 1.35rem; }
}

/* Tour descriptions often use a standalone bold line ("What to expect",
   "Good to know", etc.) as an informal sub-heading rather than a real <h3>
   -- match it to the same heading font/colour as "About The Tour" so both
   read consistently, without affecting a bold WORD used mid-sentence for
   emphasis (:only-child means the whole paragraph is just that one run). */
.tour-intro p > strong:only-child {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-size: 1rem;
}
.tour-intro p:has(> strong:only-child) {
  margin-top: 22px;
  margin-bottom: 10px;
}

.tour-block { margin-top: 40px; clear: both; }
.tour-block h2 { font-size: 1.35rem; margin-bottom: 18px; }
.tour-good-to-know.tour-block { margin-top: 20px; }

.tour-highlights { display: flex; flex-direction: column; gap: 12px; }
.tour-highlights li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-dark);
  font-size: 0.95rem;
}
.tour-highlights li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
}
.info-grid .info-item.full { grid-column: 1 / -1; }
.info-item h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 6px;
  font-weight: 700;
}
.info-item, .info-item p, .info-item ul { color: var(--color-muted); font-size: 0.875rem; line-height: 1.55; }
.info-item p { margin-bottom: 10px; }
.info-item .meeting-point-link { margin-bottom: 4px; }
.info-item .meeting-point-link a { color: var(--color-accent); text-decoration: underline; font-weight: 600; }
.info-grid.tour-green-box .info-item .meeting-point-link a { color: #ffdca8; }
.tour-faq-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 250, 223, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tour-faq-jump:hover,
.tour-faq-jump:focus-visible { color: var(--color-white); }
.tour-faq-jump-arrow { font-size: 0.9rem; line-height: 1; }
.tour-faqs-box {
  margin-top: 0;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.tour-faqs-box h2 { color: #ffdca8; font-size: 1.05rem; }
.tour-faq-list { display: flex; flex-direction: column; gap: 10px; }
.tour-faq-pair {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 4px 18px;
}
.tour-faq-pair summary {
  cursor: pointer;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-bg);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tour-faq-pair summary::-webkit-details-marker { display: none; }
.tour-faq-pair summary::after {
  content: "\002B";
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
  color: #ffdca8;
}
.tour-faq-pair[open] summary::after { transform: rotate(45deg); }
.tour-faq-answer { padding: 0 0 16px; font-size: 0.76rem; color: rgba(255, 250, 223, 0.88); }
.tour-faq-answer p { margin: 0 0 10px; }
.tour-faq-answer p:last-child { margin-bottom: 0; }
.info-item ul { padding-left: 18px; list-style: disc; }
.info-item ul li { margin-bottom: 0; }
.info-item ul li + li { margin-top: 0.35rem; }

.booking-box {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 14px 28px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
}
.booking-box .price-tag { font-size: 1.05rem; font-weight: 700; font-family: var(--font-heading); color: var(--color-primary); margin-bottom: 20px; }
.booking-box .price-disclaimer { font-size: 0.76rem; color: var(--color-muted); font-style: italic; margin-top: -12px; margin-bottom: 20px; line-height: 1.5; }

.upcoming-dates h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 700;
}
.date-pill-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.date-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.date-pill:hover,
.date-pill:focus-visible { border-color: var(--color-accent); background: var(--color-bg-alt); outline: none; }
.date-pill-text { display: flex; flex-direction: column; gap: 0; }
.date-pill-text strong { font-size: 0.85rem; color: var(--color-dark); }
.date-pill-text small { font-size: 0.72rem; color: var(--color-muted); }

/* Desktop-only: the gallery thumbs strip sits right under the header photo,
   so it doesn't need the full .tour-block spacing used elsewhere. */
@media (min-width: 901px) {
  .tour-gallery-block.tour-block { margin-top: 10px; }
}
.no-date-note { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 4px; line-height: 1.5; }
.no-date-note a { color: var(--color-accent); font-weight: 700; text-decoration: underline; }
.self-paced-note {
  font-size: 0.85rem;
  color: var(--color-dark);
  background: var(--color-bg-alt);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.booking-steps { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.booking-step { display: flex; gap: 12px; }
.booking-step p { font-size: 0.85rem; color: var(--color-muted); }
.booking-step ul { font-size: 0.85rem; color: var(--color-muted); padding-left: 18px; margin-top: 4px; }

.payment-select-wrap { width: 100%; }
.payment-select-wrap > p { font-size: 0.85rem; color: var(--color-dark); margin-bottom: 10px; }
.payment-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.payment-tab {
  flex: 1;
  padding: 9px 4px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
/* Selected tab uses the accent orange, matching the step-number circles,
   so the active payment method stands out from the green UI around it. */
.payment-tab.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.payment-panel p { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 10px; }
.payment-panel[hidden] { display: none; }
.eventbrite-widget-container {
  min-height: 420px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 4px;
}
.eventbrite-widget-container iframe { width: 100% !important; border: none; display: block; }
@media (max-width: 560px) {
  .eventbrite-widget-container { min-height: 380px; padding: 2px; }
}
.payment-method-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.payment-method-chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Good To Know + the booking box in the site green, with cream/orange text.
   Combined-class selectors so these reliably outrank the plain .info-grid /
   .booking-box rules regardless of source order. */
.info-grid.tour-green-box,
.booking-box.tour-green-box {
  background: var(--color-primary);
  border-color: transparent;
}
.info-grid.tour-green-box .info-item h3,
.booking-box.tour-green-box .price-tag,
.booking-box.tour-green-box .upcoming-dates h3 { color: #ffdca8; }
.info-grid.tour-green-box .info-item p,
.info-grid.tour-green-box .info-item ul,
.info-grid.tour-green-box .info-item,
.booking-box.tour-green-box .price-disclaimer,
.booking-box.tour-green-box .booking-step p,
.booking-box.tour-green-box .booking-step ul,
.booking-box.tour-green-box .payment-select-wrap > p,
.booking-box.tour-green-box .payment-panel p { color: rgba(255, 250, 223, 0.88); }
.booking-box.tour-green-box .no-date-note { color: #ffdca8; }
.booking-box.tour-green-box .tour-interest-intro { color: rgba(255, 250, 223, 0.88); }
.booking-box.tour-green-box .no-date-note a { color: #ffdca8; }
.booking-box.tour-green-box .tour-no-dates-box .tour-interest-intro { color: var(--color-muted); }
.booking-box.tour-green-box .payment-select-wrap > p strong { color: var(--color-bg); }
.booking-box.tour-green-box .date-pill {
  background: var(--color-bg);
  border-color: rgba(255, 255, 255, 0.3);
}
.booking-box.tour-green-box .btn-outline {
  border-color: var(--color-bg);
  color: var(--color-bg);
}
.booking-box.tour-green-box .payment-method-chips span {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-bg);
}
.paynow-instruction { margin-top: 14px; margin-bottom: 12px !important; }
.paynow-fallback { font-size: .82rem; color: rgba(255,250,223,.78); margin-bottom: 12px !important; }
.paynow-fallback strong { color: var(--color-bg); letter-spacing: .02em; }

/* Schools: three pathway cards instead of two */
.school-pathways-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .school-pathways-three { grid-template-columns: 1fr; }
}

/* Services hub page: four pathway cards, reusing the same photo-card look. */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.services-grid .school-pathway-card { min-height: 240px; }
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Schools: topic icons ahead of the programme sliders */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.topic-tile { text-align: center; }
.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  margin-bottom: 12px;
}
.topic-icon svg { width: 32px; height: 32px; }
.topic-tile h3 { font-size: 0.98rem; margin-bottom: 0; }
@media (max-width: 760px) {
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
}

.related-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-cta, .blog-teaser { grid-template-columns: 1fr; gap: 0; }
  .contact-cta .placeholder-photo, .blog-teaser .placeholder-photo { min-height: 340px; }
  .contact-cta .contact-cta-text { padding: 28px 28px 12px; }
  .reviews-widget { padding: 20px 20px 10px; }
  .google-reviews-section { padding-bottom: 12px; }
  #corporate { padding-top: 12px; }
  .contact-cta-with-form { gap: 20px; }
  .contact-cta-with-form .contact-cta-text { padding: 28px; }
  .contact-cta-with-form .contact-form { padding: 28px; }
  .contact-cta-unified .contact-cta-text { padding: 28px 28px 0; }
  .contact-cta-unified .contact-form { padding: 0 28px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-col:nth-of-type(2) { order: 2; }
  .footer-grid > .footer-col:nth-of-type(3) { order: 1; }
  .contact-layout { grid-template-columns: 1fr; }
  .tour-detail-layout { grid-template-columns: 1fr; grid-template-areas: "main" "booking" "faqs" "contact"; gap: 20px; }
  .tour-detail-layout > .tour-detail-sidebar { display: contents; }
  .tour-detail-layout > .tour-detail-sidebar > .booking-box { grid-area: booking; }
  .tour-detail-layout > .tour-detail-sidebar > .tour-contact-sidebar-card { grid-area: contact; }
  .booking-box { position: static; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
}

@media (max-width: 560px) {
  .site-footer { padding-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .hero-tags { gap: 8px 14px; }
  .hero-tags span::after { margin-left: 14px; }
  .logo { font-size: 1.2rem; gap: 6px; }
  .site-header .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .nav { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 11px 16px; font-size: 0.72rem; }
}


/* WordPress architecture proof additions */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 8px;
  padding: 12px 18px;
  z-index: 99999;
  background: #fff;
  color: #064c00;
}
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 58px; width: auto; }
.primary-navigation ul { list-style: none; }
.primary-navigation .nav-links { display: flex; align-items: center; gap: 14px; }
.primary-navigation .nav-links a { font-weight: 600; font-size: .87rem; }
.primary-navigation .nav-links .nav-dropdown summary,
.primary-navigation .nav-links .split-dropdown .nav-dropdown-label { font-size: .87rem; }
.hero-showcase { background-image: var(--hero-image); background-size: cover; background-position: center; }
.hero-showcase::before { content: none; }
.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tour-featured-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #d9d3ae, #f5edc9); }
.tour-featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-placeholder .tour-featured-photo { opacity: .6; }
.feature-artwork { min-height: 420px; border-radius: var(--radius); background: linear-gradient(145deg, rgba(58,90,64,.12), rgba(220,133,31,.28)), url('https://hiddenheritage.sg/wp-content/uploads/2025/06/IMG_1780.jpg') center/cover; }
.tour-inline-artwork { min-height: 0; border-radius: var(--radius); overflow: hidden; background-color: #e9e1bc; }
.tour-inline-artwork img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.tour-lead { font-size: 1.18rem; font-weight: 600; color: var(--color-primary); }
.entry-content > * + *, .tour-intro > * + * { margin-top: 1.25rem; }
.tour-intro > * + * { margin-top: 0.7rem; }
.entry-content ul, .entry-content ol, .tour-intro ul, .tour-intro ol { list-style: revert; padding-left: 1.4rem; }
.tour-intro li + li { margin-top: 0.35rem; }
.entry-content a, .tour-intro a { color: var(--color-primary-dark); text-decoration: underline; }
.entry-content h2 { font-size: 1.5rem; margin-top: 2rem; }
.entry-content h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.entry-content p { color: var(--color-dark); line-height: 1.65; }
.content-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.travel-services-section .content-card { background: var(--color-primary); }
.travel-services-section .content-card h3 { color: var(--color-bg); }
.travel-services-section .content-card p { color: rgba(255, 250, 223, 0.82); }
.trail-curation-for-section .content-card { background: var(--color-primary); }
.trail-curation-for-section .content-card h3 { color: var(--color-bg); }
.trail-curation-for-section .content-card p { color: rgba(255, 250, 223, 0.82); }
.storytellers-weeks-section .content-card { background: var(--color-primary); }
.storytellers-weeks-section .content-card h3 { color: var(--color-bg); }
.storytellers-weeks-section .content-card p { color: rgba(255, 250, 223, 0.82); }
.experiences-grid { align-items: stretch; }
.experiences-grid .content-card { display: flex; flex-direction: column; }
.experiences-grid .content-card p { flex-grow: 1; }
.content-card-green { background: var(--color-primary); }
.content-card-green h3 { color: var(--color-bg); }
.content-card-green p { color: rgba(255, 250, 223, 0.82); }
.content-card-green .btn { margin-top: 20px; }
@media (max-width: 900px) {
  .travel-intro-feature img { display: none; }
  .travel-services-section .content-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .travel-services-section .content-card { padding: 16px; }
}
.reviews-widget { background: transparent; border-radius: var(--radius); padding: 28px; box-shadow: none; }
/* The TrustIndex Google reviews widget decides how many review cards fit
   side-by-side based on its own container's pixel width. Our site's default
   1180px container left too little room next to the rating summary column
   for more than 2 cards to appear on desktop -- widen just this section so
   its own responsive logic can show 3+ instead. */
.google-reviews-section .container { max-width: 1400px; }
@media (max-width: 900px) {
  .google-reviews-section .container { max-width: 100%; }
}
/* The earlier @media(max-width:900px) .reviews-widget padding override sits
   before this unconditional rule in the stylesheet, so at equal specificity
   this one always won regardless of viewport -- redeclare it here, after,
   so mobile actually gets the tighter padding. */
@media (max-width: 900px) {
  .reviews-widget { padding: 20px 20px 10px; }
}
.navigation.pagination { margin-top: 40px; }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--color-accent); }

/* ---------- About Us: In The Media (press mentions) ---------- */
.media-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.media-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.media-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.media-feature-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-alt); }
.media-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.media-feature-photo-fallback { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); }
.media-feature-body { padding: 14px 16px 16px; }
.media-feature-outlet {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffdca8;
  margin-bottom: 4px;
}
.media-feature-body h3 { font-size: 0.88rem; line-height: 1.35; color: var(--color-bg); }
@media (max-width: 900px) {
  .media-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .media-features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ---------- Link in bio (standalone, no site header/footer) ---------- */
.linkinbio-page {
  background: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--font-body);
  min-height: 100vh;
  padding: 48px 20px 60px;
}
.linkinbio-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.linkinbio-logo { display: inline-block; width: 140px; height: 140px; margin-bottom: 6px; }
.linkinbio-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.linkinbio-wrap h1 { font-size: 1.3rem; margin-bottom: 6px; }
.linkinbio-tagline { color: var(--color-muted); margin-bottom: 26px; }
.linkinbio-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; margin-bottom: 14px; }
.linkinbio-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.linkinbio-social a:hover { background: var(--color-primary-dark); }
.linkinbio-social a svg { width: 20px; height: 20px; }
.linkinbio-cta { margin-bottom: 8px; }
.linkinbio-section-title { text-align: center; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1rem; margin: 18px 0 10px; }
.linkinbio-newsletter { background: var(--color-primary); border-radius: var(--radius); padding: 20px; margin-bottom: 10px; text-align: left; }
.linkinbio-newsletter .newsletter-form { max-width: none; margin-top: 0; }
.linkinbio-featured-tour { margin-bottom: 16px; }
.linkinbio-featured-tour .tour-card { width: 100%; }
.linkinbio-featured-tour .tour-price,
.linkinbio-featured-tour .desc { display: none !important; }
.linkinbio-featured-tour .tour-card-body { padding: 16px 16px 18px; }
.linkinbio-featured-tour .tour-card h3 { margin-bottom: 12px; min-height: 0; -webkit-line-clamp: 2; }
.linkinbio-sessions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
  text-align: left;
}
.linkinbio-sessions .tour-card-body { padding: 8px 14px 10px; }
.linkinbio-sessions .tour-card-body .desc { display: none; }
.linkinbio-sessions .tour-card-body h3 { font-size: 0.95rem; line-height: 1.3; margin-bottom: 6px; }
.linkinbio-sessions .tour-price { font-size: 0.7rem; }
.linkinbio-tile {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  column-gap: 14px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 8px;
  margin-bottom: 8px;
}
.linkinbio-tile img { grid-column: 1; width: 44px !important; height: 44px !important; aspect-ratio: 1 / 1 !important; border-radius: calc(var(--radius) - 6px); object-fit: cover; flex-shrink: 0; }
.linkinbio-tile span { grid-column: 2; text-align: center; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-bg); }
.linkinbio-tile-group-start { margin-top: 22px; }
.linkinbio-media { display: flex; flex-direction: column; }
.linkinbio-media .linkinbio-tile:last-child { margin-bottom: 0; }
.linkinbio-page .btn-block + .btn-block { margin-top: 10px; }
.linkinbio-copyright { color: var(--color-muted); font-size: 0.8rem; margin-top: 40px; }
.linkinbio-nav-toggle-wrap { position: fixed; top: 16px; right: 16px; z-index: 60; }
.linkinbio-page .nav-toggle { display: flex !important; position: static; box-shadow: 0 4px 16px rgba(0,0,0,0.45); }
.linkinbio-page .primary-navigation {
  display: none;
  position: fixed;
  top: 60px;
  right: 16px;
  left: auto;
  width: min(260px, calc(100vw - 32px));
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  background: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 59;
  text-align: left;
}
.linkinbio-page .primary-navigation.is-open { display: block; }
.linkinbio-page .primary-navigation .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.linkinbio-page .primary-navigation .nav-links > a,
.linkinbio-page .primary-navigation .nav-dropdown-label,
.linkinbio-page .primary-navigation .nav-dropdown-toggle { color: var(--color-bg) !important; font-weight: 600; font-size: 0.9rem; }
.linkinbio-page .primary-navigation .nav-dropdown-toggle::after { border-top-color: var(--color-bg) !important; }
.linkinbio-page .primary-navigation .nav-dropdown-menu {
  position: static;
  transform: none;
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .28s ease, opacity .2s ease;
}
.linkinbio-page .primary-navigation .nav-dropdown.open .nav-dropdown-menu,
.linkinbio-page .primary-navigation .split-dropdown.open .nav-dropdown-menu {
  max-height: 500px;
  opacity: 1;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-bg-alt); padding: 20px 24px; box-shadow: var(--shadow-md); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .nav-links { align-items: stretch; flex-direction: column; }
}
@media (max-width: 620px) {
  .tour-grid { grid-template-columns: 1fr; }
  #tours-list .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  #tours-list .tour-card-body { padding: 14px 14px 16px; }
  #tours-list .tour-card-body .desc { display: none; }
  #tours-list .tour-card-body h3 { font-size: 0.95rem; line-height: 1.3; margin-bottom: 12px; }
  #tours-list .tour-price { font-size: 0.7rem; }
  .tour-inline-artwork { min-height: 0; }
  .upcoming-tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .upcoming-tours-grid .tour-card-body { padding: 14px 14px 16px; }
  .upcoming-tours-grid .tour-card-body .desc { display: none; }
  /* Titles run to their full length; equal-height rows keep the cards aligned. */
  .upcoming-tours-grid .tour-card-body h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }
  .upcoming-tours-grid .tour-price {
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
  .upcoming-tours-grid .btn-block { padding: 10px 12px; font-size: 0.72rem; }
  .related-tours-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .related-tours-grid .tour-slide-body { padding: 14px 14px 16px; }
  .related-tours-grid .tour-slide-title { font-size: 0.95rem; line-height: 1.3; }
}

/* Keep each meta row on one line on the narrowest phones. */
@media (max-width: 400px) {
  .upcoming-tours-grid .tour-price { font-size: 0.64rem; letter-spacing: 0; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .tour-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 28px; }
  .booking-box { min-width: 0; }
}

/* Keep the homepage sections visually connected without stacked empty space. */
body.home main > .section {
  padding-bottom: 14px;
  padding-top: 14px;
}

@media (max-width: 760px) {
  body.home main > .section {
    padding-bottom: 10px;
    padding-top: 10px;
  }
}

@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .hero { padding: 48px 0 60px; }
  /* This mobile .section padding sits later in the stylesheet than
     .about-tight-section (used sitewide to close up dead space between
     back-to-back same-background sections), and since both are single-class
     selectors of equal specificity, this one silently won at every mobile
     width regardless of which page/screenshot showed the "fixed" version on
     desktop. Redeclare it here so mobile actually gets the tight spacing. */
  .about-tight-section { padding-top: 24px; padding-bottom: 24px; }
  .founder-section { padding-top: 20px; padding-bottom: 24px; }
}

@media (max-width: 1024px) {
  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-border);
    gap: 18px;
  }
}

/* Keep primary navigation visible instead of collapsing it into a hamburger. */
@media (max-width: 1024px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .nav-links,
  body.nav-open .nav-links {
    position: static;
    display: flex;
    order: 3;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    padding: 12px 0 2px;
    border-top: 1px solid var(--color-border);
    border-bottom: 0;
    background: transparent;
  }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: none !important; }
}

@media (max-width: 560px) {
  .nav-links,
  body.nav-open .nav-links {
    gap: 8px 16px;
    justify-content: flex-start;
  }
  .nav-links a { font-size: .8rem; }
  .site-header .logo > span { max-width: 155px; }
  .nav-dropdown { width:100%; }
  .nav-dropdown-menu { position:static; transform:none; width:100%; margin-top:8px; box-shadow:none; }
  .split-dropdown { flex-wrap:wrap; }
  .split-dropdown .nav-dropdown-menu { flex-basis:100%; }
  .audience-path-grid { grid-template-columns:1fr; }
  .audience-path-card { min-height:280px; padding:28px; }
}

/* Tour/workshop search & filter bar */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-primary);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}
.filter-bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-bg);
}
.filter-bar-title .filter-bar-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-dark);
}
.filter-bar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
}
.filter-group { display: flex; flex-direction: column; gap: 7px; }
.filter-group-search { flex: 1; min-width: 220px; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffdca8;
}
.filter-search-wrap { position: relative; }
.filter-search-wrap .filter-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.45;
  pointer-events: none;
}
.filter-group input, .filter-group select {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  background: var(--color-bg);
  color: var(--color-dark);
  min-width: 170px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.filter-group-search input { padding-left: 40px; width: 100%; }
#tours-list .filter-group-search input,
#blog-list .filter-group-search input { padding-left: 16px; }
.filter-group input::placeholder { color: var(--color-muted); }
.filter-group input:focus, .filter-group select:focus {
  outline: none;
  border-color: #ffdca8;
  box-shadow: 0 0 0 3px rgba(255, 220, 168, 0.2);
  background: var(--color-white);
}
.filter-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b6560' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.filter-bar .btn { height: 44px; white-space: nowrap; }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-bg);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.category-pill:hover { border-color: var(--color-bg); }
.category-pill.is-active { background: var(--color-bg); color: var(--color-dark); border-color: var(--color-bg); }
#filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}
#filter-reset:hover,
#filter-reset:focus-visible {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.filter-count { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 28px; }
.tour-grid .tour-card[style*="display: none"] { display: none; }
.tour-grid .no-results { grid-column: 1 / -1; text-align: center; padding: 48px 20px; color: var(--color-muted); }

/* Grid pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pagination-btn:hover:not(:disabled) { border-color: var(--color-primary); }
.pagination-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.pagination-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pagination-btn.pagination-nav { padding: 0 18px; }

/* Final WordPress navigation overrides must follow the source stylesheet. */
@media (max-width: 980px) {
  .nav { flex-wrap: nowrap; }
  .primary-navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    background: var(--color-primary);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .nav-links,
  body.nav-open .primary-navigation .nav-links {
    display: flex;
    position: static;
    width: 100%;
    padding: 0;
    border: 0;
    flex-direction: column;
    align-items: stretch;
    background: transparent;
  }
  .primary-navigation .nav-links > a,
  .primary-navigation .nav-dropdown-label {
    color: var(--color-bg);
  }
  .primary-navigation .nav-dropdown-toggle {
    color: var(--color-bg) !important;
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
  }
  .primary-navigation .nav-dropdown-toggle::after {
    border-top-color: var(--color-bg) !important;
  }
  .nav-toggle { display: flex !important; }
  .nav-social { display: none; }
  /* iOS Safari silently ignores position:sticky on any element that has an
     ancestor with overflow-x:hidden (html/body here, needed to stop
     horizontal scroll elsewhere) — fixed is unaffected by that and works
     everywhere. site.js pads the body to match so content doesn't jump
     under it. */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  .primary-navigation .nav-dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  /* Animate the submenu open instead of snapping it into place. Opening
     "Tours" pushes Corporate/Blog/Contact Us further down the page; without
     this, a fast second tap can register on whatever link ends up under the
     old position before your eyes/hand catch up to the shift. Animating the
     height gives that a moment to settle first. */
  .primary-navigation .nav-dropdown-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .28s ease, opacity .2s ease;
  }
  .primary-navigation .nav-dropdown.open .nav-dropdown-menu,
  .primary-navigation .split-dropdown.open .nav-dropdown-menu {
    max-height: 500px;
    opacity: 1;
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 6px;
    padding: 10px 16px;
  }
  .site-header .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    overflow: hidden;
    font-size: .98rem;
  }
  .site-header .brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }
  .site-header .logo > span {
    display: none;
  }
  .nav-cta {
    flex: 0 0 auto;
    margin-left: 0;
  }
  .nav-cta .btn {
    padding: 10px 13px;
    font-size: .66rem;
  }
  .nav-toggle {
    position: relative;
    z-index: 2;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid var(--color-primary);
  }
  .primary-navigation {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
}
