/*
  Theme Name:   Wandering Toes
  Description:  Custom theme for Wandering Toes
  Author:       Oncotton LTD
  Author URI:   https://oncotton.net
  Version:      1.0.0 
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

/* ============================================================
   CRITICAL (ABOVE THE FOLD)
   - variables
   - base type
   - header/nav (fixed)
   - unified buttons
   - unified Swiper arrows
   ============================================================ */

:root{
  /* Font sizes (mirrors theme.json fontSizes for classic theme frontend) */
  --wp--preset--font-size--xs:  0.875rem;
  --wp--preset--font-size--sm:  1rem;
  --wp--preset--font-size--md:  1.25rem;
  --wp--preset--font-size--lg:  1.65rem;
  --wp--preset--font-size--xl:  clamp(2rem, 1.2rem + 2.5vw, 3rem);
  --wp--preset--font-size--xxl: clamp(3rem, 2.25rem + 5.6vw, 6rem);

  /* Header / layout */
  --header-height: 72px;
  --header-color: #fff;
  --offcanvas-width: 560px;
  --primary: #766F5A;
  --accent: #D4693A;

  /* Off-canvas palette */
  --nav-bg: #ffffff;
  --nav-fg: #111111;

  /* Burger icon */
  --burger-line-w: 32px;
  --burger-line-h: 4px;
  --burger-gap: 10px;
  --burger-radius: 999px;
  --burger-offset: calc(var(--burger-gap)/2 + var(--burger-line-h)/2);


}
b, strong {
font-weight: 700 !important;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
h1, h2, h3, h4, h5, h5 {    
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;}
h1 a, h2 a, h3 a, h4 a, h5 a {text-decoration: none}



.services-slider h2, .services-slider h3, .services-slider h4{    
word-break: break-word;
overflow-wrap: normal;
hyphens: none;}

.post-edit-link {position: relative; left: 10px; bottom: 10px; background: rgb(121, 25, 25); border-radius: 30px; padding: 5px 10px; color: #FFF; text-decoration: none; font-weight: 700; font-size: 10px;}

.wp-block-cover.sticky {
  position: sticky;
  top: 0;
  z-index: -1
}

.wp-block-cover {
  position: relative;
  z-index: 2
}



/* ----- Fixed Header ----- */
#wt-content { position: relative; padding-top: var(--header-height); }
body.admin-bar .site-header { top: 32px; }

.gap-20 { gap: 40px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.my-60 { margin-top: 60px !important; margin-bottom: 60px !important; }
.max-20 { max-width: 760px; margin: 0 auto; }
.wp-block-columns {gap: 40px}
.height-100 {height: 420px}

/* Remove Safari / iOS blue tap highlight */
#masthead a,
#masthead button {
	-webkit-tap-highlight-color: transparent;
}

/* Remove default focus halo in Safari, Chrome, Firefox */
#masthead a:focus,
#masthead button:focus {
	outline: none;
	box-shadow: none;
}

/* Remove active highlight when clicking */
#masthead a:active,
#masthead button:active {
	outline: none;
	box-shadow: none;
}

/* Remove Firefox dotted focus ring */
#masthead a::-moz-focus-inner,
#masthead button::-moz-focus-inner {
	border: 0;
}

/* Optional: remove focus styles from menu items specifically */
#primary-menu a:focus,
#primary-menu a:active {
	outline: none;
	box-shadow: none;
}
#primary-menu {
  font-size: 1rem

}
/* ========================================
   BUTTONS
======================================== */

.wp-block-buttons{
  margin:20px 0;
  gap:15px;
}

.wp-block-button a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45em;

  padding:.7em 1.4em;
  border-radius:30px;
  border:none;

  text-decoration:none;

  transition:
	transform .14s ease,
	box-shadow .14s ease,
	background-color .16s ease,
	color .16s ease;

  will-change:transform;
}

/* primary button */
.wp-block-button a:not(.has-secondary-background-color){
  background:var(--wp--preset--color--primary);
  border: solid 2px var(--wp--preset--color--primary);
}

/* subtle hover */
.wp-block-button a:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}

/* click press */
.wp-block-button a:active{
  transform:translateY(0);
  box-shadow:none;
}

/* ========================================
   OUTLINE BUTTON / READ MORE
======================================== */
.wp-block-button.is-style-outline a{background: transparent; border: solid 2px var(--wp--preset--color--primary);}



/* ========================================
   POST EXCERPT
======================================== */

.wp-block-post-excerpt__excerpt{
  padding:0 0 20px;
}

/* ========================================
   SEPARATOR
======================================== */

.wp-block-separator{
  border-top:1px solid;
  margin:30px 0 0;
  padding-bottom:0;
}

/* ========================================
   MODERN TICK LIST
======================================== */

.wp-block-list{
  list-style:none;
  padding-left:0;
  margin:0;
}

.wp-block-list li{
  position:relative;
  padding-left:2rem;
  margin-bottom:.75rem;

  font-size:1rem;
  line-height:1.4;
}

.wp-block-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;

  color:#333;
  font-weight:600;
  font-size:1.1rem;
}

.wp-block-list.has-white-color li::before {
  color: #fff
}

.footer .wp-block-list li::before {display: none}

/* Phone list override */
.wp-block-list.tel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'><path d='M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2a1 1 0 011-.24c1.12.37 2.33.57 3.59.57a1 1 0 011 1V21a1 1 0 01-1 1C10.07 22 2 13.93 2 4a1 1 0 011-1h3.49a1 1 0 011 1c0 1.26.2 2.47.57 3.59a1 1 0 01-.25 1l-2.19 2.2z'/></svg>");
}
.wp-block-list.address-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'><path d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5A2.5 2.5 0 1112 6a2.5 2.5 0 010 5.5z'/></svg>");
}

/* Pill badge shown over featured image */
.wt-card__pill{
  position:absolute;
  top:12px;
  right:12px;
  display:inline-block;
  padding:4px 10px;
  font-size:0.825rem;
  line-height:1;
  border-radius:999px;
  background: var(--wp--preset--color--dark);
  color:#fff;
  letter-spacing:.3px;
  z-index:2;
}

.wt-card__pill--news{
  background: var(--wp--preset--color--dark);
}

.wt-card__pill--project{
  background: var(--wp--preset--color--dark);
}
.wt-ratio-4-3{
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;
  margin-bottom:12px;
}

.wt-ratio-4-3 img.wt-ratio-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* ========================================
   HEADER
======================================== */

.site-header{
  position:absolute;
  inset:0 0 auto 0;
  z-index:9999;
  background:transparent;
  transition:transform .36s ease, background-color .24s ease, box-shadow .24s ease;
  will-change:transform;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 32px;
  position: relative;
  transition: background-color .3s ease, box-shadow .3s ease;
  animation: header-jelly .7s ease-out forwards;
}

/* ── Desktop logo: far left, always visible ── */
@media (min-width: 991px) {

  .site-branding {
	flex-shrink: 0;
  }

  /* Nav fills remaining space, pushing actions to the right */
  .site-navigation {
	margin-left: 8px;
	margin-right: auto;
  }
}

/* Mobile: logo stays in normal flow */
@media (max-width: 990px) {
  .site-branding { flex-shrink: 0; }
  .site-navigation { margin-left: auto; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 20px
}


@keyframes header-jelly{
  0%{opacity:0; transform:scale(.995)}
  50%{opacity:1; transform:scale(1.01)}
  100%{transform:scale(1)}
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

body.scrolled .header-inner{
  padding-block:10px;
}

/* ========================================
   LOGO
======================================== */

.site-branding svg{
  fill:var(--wp--preset--color--primary);
}

.site-logo svg{
  height:48px;
  width:auto;
  display:block;
  transform-origin:left center;
  animation:logoScaleIn .7s cubic-bezier(.34,1.56,.64,1) forwards;
  transition:height .4s cubic-bezier(.4,0,.2,1), filter .3s ease;
  filter:brightness(0) invert(1);
}

body.scrolled .site-logo svg{
  height:32px;
  filter:none;
}

@keyframes logoScaleIn{
  0%{transform:scale(2.4); opacity:0}
  45%{transform:scale(.92); opacity:1}
  65%{transform:scale(1.06)}
  80%{transform:scale(.98)}
  100%{transform:scale(1)}
}

/* ========================================
   HERO BACKGROUND ZOOM
======================================== */

.wp-block-cover__image-background:not(.has-parallax){
  transform:scale(1);
  animation:heroZoom 20s ease-out forwards;
  will-change:transform;
}

@keyframes heroZoom{
  to{transform:scale(1.08)}
}

.none-parallax {transform:none;animation:none;will-change:none}
/* ========================================
   HERO CONTENT ENTRANCE
======================================== */

.wp-block-cover h1,
.wp-block-cover p,
.wp-block-cover .wp-block-buttons{
  opacity:0;
  transform:translateY(30px);
  animation:heroFadeUp .8s ease forwards;
}

.wp-block-cover h1{ animation-delay:.3s; }
.wp-block-cover p{ animation-delay:.6s; }
.wp-block-cover .wp-block-buttons{ animation-delay:.9s; }

@keyframes heroFadeUp{
  from{
	opacity:0;
	transform:translateY(30px);
  }
  to{
	opacity:1;
	transform:translateY(0);
  }
}

/* ========================================
   PARALLAX SUPPORT
======================================== */

.wp-block-cover h1{
  will-change:transform;
}

/* ========================================
   MISC
======================================== */
.wp-block-quote {
  position: relative;
  border: none;
  border-left: 5px solid #2c5f5a;
  margin: 3rem auto;
  max-width: 780px;
  padding: 2.5rem 3rem 2.5rem 4rem;
  background: none;
  box-shadow: none;
}

.wp-block-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Georgia', serif;
  font-size: 8rem;
  color: #2c5f5a;
  line-height: 1;
}

.wp-block-quote p {
  font-family: 'Georgia', serif;
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.9;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  margin: 0;
}

.wp-block-quote p::after {
  content: '\201D';
  font-family: 'Georgia', serif;
  font-size: 1.65rem;
  color: #2c5f5a;
  margin-left: 4px;
}

.anim-right{
  padding:10px 80px 10px 10px;
  color:#000;
  font-weight:300;
  will-change:transform;
  transition:transform .1s ease-out;
}

.anim-right.scroll-out{
  transform:translateX(100vw);
  opacity:0;
}

img.custom-logo{
  height: 148px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: height .4s cubic-bezier(.4,0,.2,1), filter .3s ease;
}

body.scrolled img.custom-logo{
  height: 65px;
  filter: none;
}

/* ========================================
   REDUCED wtN
======================================== */

@media (prefers-reduced-wtn:reduce){

  .site-header,
  .header-container,
  .site-logo svg,
  .wp-block-cover__image-background{
	animation:none;
	transition:none;
  }

  .wp-block-cover h1,
  .wp-block-cover p,
  .wp-block-cover .wp-block-buttons{
	opacity:1;
	transform:none;
  }

}

/* ========================================
   HERO WRAPPER PARALLAX
======================================== */

.wp-block-cover .wp-block-group{
  --hero-parallax:0px;
  transform:translate3d(0,var(--hero-parallax),0);
  will-change:transform;
}

/* ========================================
   HERO CONTENT ENTRANCE
======================================== */

.wp-block-cover h1,
.wp-block-cover p,
.wp-block-cover .wp-block-buttons,
ul:not(.sub-menu):not(.mega-links):not(.nav-sub-list):not(#primary-menu),
ol, h2, h3, h4, h5, p{
  opacity:0;
  transform:translateY(30px);
  animation:heroFadeUp .8s ease forwards;
}

.wp-block-cover h1{animation-delay:.3s;}
.wp-block-cover p{animation-delay:.6s;}
.wp-block-cover .wp-block-buttons{animation-delay:.9s;}
.wp-block-cover .wp-block-accordion p {animation-delay:0s;}

@keyframes heroFadeUp{
  from{
	opacity:0;
	transform:translateY(30px);
  }
  to{
	opacity:1;
	transform:translateY(0);
  }
}

.floating-search{
  transform-origin:50% 60%;
}

.floating-search:hover{
  animation:plateWobble .6s ease;
}

@keyframes plateWobble{

  0%{
	transform:rotate(0deg) scale(1);
  }

  20%{
	transform:rotate(-8deg) scale(1.02);
  }

  35%{
	transform:rotate(6deg);
  }

  50%{
	transform:rotate(-4deg);
  }

  65%{
	transform:rotate(2.5deg);
  }

  80%{
	transform:rotate(-1.2deg);
  }

  100%{
	transform:rotate(0deg);
  }

}

body.search-open {
	position: relative;
}

body.search-open::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 999;
	pointer-events: none;
}
body.search-open #masthead .header-container {display: none}


/* ========================================
   NAVIGATION
======================================== */

:root {
  --nav-ease: cubic-bezier(.22, .85, .32, 1);
  --nav-ease-soft: cubic-bezier(.16, 1, .3, 1);
  --nav-text: #111;
  --nav-text-strong: #000;
  --nav-text-soft: rgba(0,0,0,.62);
  --nav-border: rgba(0,0,0,.08);
  --nav-border-strong: rgba(0,0,0,.12);
  --glass-bg: rgba(255,255,255,.68);
  --glass-bg-strong: rgba(255,255,255,.82);
  --glass-stroke: rgba(255,255,255,.55);
  --mega-bg: rgba(255,255,255,.72);
  --mega-shadow: 0 20px 60px rgba(0,0,0,.08);
  --overlay-bg: rgba(245,245,247,.72);
  --overlay-stroke: rgba(255,255,255,.7);
  --header-offset: 48px;
  --header-speed: .36s;
  --menu-speed: .28s;
  --menu-speed-fast: .2s;
}

/* ========================================
   BASE / HEADER
======================================== */

#site-navigation .menu > li > a {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  transform: translateY(0);
  transition:
	transform var(--header-speed) ease,
	background-color .24s ease,
	box-shadow .24s ease,
	backdrop-filter .24s ease;
  will-change: transform;
}

body.nav-hide .site-header { transform: translateY(-110%); }
body.nav-open .site-header,
body.search-open .site-header { transform: translateY(0) !important; }
body.admin-bar .site-header { top: 32px; }
body.scrolled .header-inner { padding-block: 10px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (prefers-reduced-wtn: reduce) {
  .site-header { transition: none; transform: none; }
}

/* ========================================
   SEARCH BUTTON
======================================== */

.floating-search {
  background: transparent;
  width: 30px; height: 30px;
  padding: 0; border: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer; line-height: 0; color: #fff;
  transition: color .2s ease;
}
.floating-search svg { width: 20px; height: 20px; display: block; }
.nav-open .floating-search { opacity: 0; }
body.scrolled .floating-search { color: #111; }

/* ========================================
   MENU TYPOGRAPHY / WRAPPER
======================================== */

.menu-navigation-container ul,
.menu-navigation-de-container ul,
.menu-navigation-gb-container ul,
ul.mega-links {
  font-family: var(--wp--preset--font-family--system);
  font-weight: 400;
}

#site-navigation { position: relative; }

#primary-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
  pointer-events: auto;
}

#primary-menu > li {
  list-style: none;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}

#primary-menu a {
  text-decoration: none;
  pointer-events: auto;
}

#primary-menu .sub-menu,
#primary-menu .sub-menu.is-visible {
  display: block;
}

/* ========================================
   TOP LEVEL LINKS
======================================== */

#primary-menu > li { position: relative; }

#primary-menu > li > a {
  position: relative;
  display: block;
  padding: 18px 16px;
  border-radius: 999px;
  z-index: 2;
  color: #fff;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li.current-page-ancestor > a { opacity: .7; }

/* Scrolled: dark background → switch link colours to dark */
body.scrolled #primary-menu > li > a { color: #111; }
body.scrolled #primary-menu > li.current-menu-item > a,
body.scrolled #primary-menu > li.current-menu-ancestor > a { opacity: 1; color: var(--wp--preset--color--primary); }

/* ── Scrolled header ── */
body.scrolled .header-container {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding: 4px 0;
  border-bottom: solid 1px var(--wp--preset--color--light);
}

/* ── CTA nav buttons ──
   Add class "btn-outline" or "btn-primary" to menu items
   via WP Admin → Appearance → Menus → Screen Options → CSS Classes
── */
@media (min-width: 991px) {

  #primary-menu > li.btn-outline > a {
	border: 1.5px solid rgba(255,255,255,0.75);
	padding: 7px 20px;
	color: #fff;
  }
  #primary-menu > li.btn-outline > a:hover {
	background: rgba(255,255,255,0.15);
  }

  #primary-menu > li.btn-primary > a {
	background: var(--wp--preset--color--primary);
	padding: 8px 20px;
	color: #fff;
  }
  #primary-menu > li.btn-primary > a:hover {
	opacity: .85;
  }

  /* Scrolled state — button colours stay consistent */
  body.scrolled #primary-menu > li.btn-outline > a {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
  }
  body.scrolled #primary-menu > li.btn-outline > a:hover {
	background: rgba(118,111,90,.08);
  }
  body.scrolled #primary-menu > li.btn-primary > a { color: #fff; opacity: 1; }

}

/* ========================================
   HEADER HARDCODED CTA BUTTONS
======================================== */

.header-btn {
  display: none;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 15px 18px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

@media (min-width: 991px) {
  .header-btn { display: inline-flex; align-items: center; }

  .header-btn--outline {
	border: 1.5px solid rgba(255,255,255,0.75);
	color: #fff;
	background: transparent;
  }
  .header-btn--outline:hover { background: rgba(255,255,255,0.15); }

  .header-btn--primary {
	background: var(--wp--preset--color--primary);
	color: #fff;
	border: 1.5px solid transparent;
  }
  .header-btn--primary:hover { opacity: .85; }

  body.scrolled .header-btn--outline {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
  }
  body.scrolled .header-btn--outline:hover { background: rgba(118,111,90,.08); }
  body.scrolled .header-btn--primary { color: #fff; opacity: 1; }

  /* Hide "Book Now" header button while the sticky bar's "Check availability" is visible */
  body.sticky-bar-visible .header-btn--primary {
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
  }
}


.entry-content:has(> :is(p, h1, h2, h3, h4, h5, ul, ol):first-child) {margin: 160px auto 0 auto;width:calc(100%-80px);max-width:1200px;padding:40px
}

body.error404 h1, body.error404 svg, body.error404 p {margin: 0px auto;width:calc(100%-80px);max-width:1200px;padding:0px
}


body:has(.entry-content > :is(p, h1, h2, h3, h4, h5, ul, ol):first-child) .header-container, body.error404 .header-container{
	background-color: var(--wp--preset--color--accent);
}

/* ========================================
   DESKTOP — hide sub-panel, show menu
======================================== */

/* Sub-panel is mobile-only — always hidden on desktop */
.nav-sub-panel { display: none; }

/* ========================================
   MENU PILL (desktop only)
======================================== */

@media (min-width: 991px) {

  .menu-pill {
	position: absolute;
	top: 50%;
	transform: translateY(-50%) scale(0.98);
	height: 46px;
	background: var(--accent);
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.35);
	pointer-events: none;
	z-index: 1; opacity: 0;
	transition:
	  left .35s cubic-bezier(.25,.9,.35,1),
	  width .35s cubic-bezier(.25,.9,.35,1),
	  transform .25s ease,
	  opacity .2s ease;
  }

  .menu-pill.is-visible {
	opacity: 1;
	transform: translateY(-50%) scale(1);
  }

  .menu-pill.wobble { animation: menuPillWobble .28s ease; }

  @keyframes menuPillWobble {
	0%   { transform: translateY(-50%) scale(0.985); }
	55%  { transform: translateY(-50%) scale(1.02); }
	100% { transform: translateY(-50%) scale(1); }
  }

}

/* ========================================
   HAMBURGER
======================================== */

.mobile-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center; align-items: center;
  gap: 4px;
  width: 20px; height: 40px;
  border: 0; background: transparent;
  cursor: pointer; z-index: 1202; position: relative;
}

.mobile-menu .bar {
  width: 24px; height: 2px;
  border-radius: 1px; background: #fff;
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

body.scrolled .mobile-menu .bar { background: #111; }
.mobile-menu[aria-expanded="true"] .bar { background: #000; }

.search-hamburger {
  display: flex; align-items: center; gap: 20px;
  position: relative; z-index: 1202;
}

body.nav-open .mobile-menu .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .mobile-menu .bar:nth-child(2) { opacity: 0; }
body.nav-open .mobile-menu .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 991px) {
  .mobile-menu { display: none; }
  .wp-block-columns + .wp-block-cover { margin-top: 10px; }
}

/* ========================================
   DESKTOP MEGA MENU
======================================== */

@media (min-width: 991px) {

  #primary-menu > .menu-item-has-children > a {
	position: relative;
	padding-right: 28px;
  }

  #primary-menu > .menu-item-has-children > a::after {
	content: "";
	position: absolute; right: 12px; top: 50%;
	width: 5px; height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	transition: transform .22s ease;
  }

  #primary-menu > .menu-item-has-children:hover > a::after,
  #primary-menu > .menu-item-has-children:focus-within > a::after,
  #primary-menu > .menu-item-has-children.is-mega-open > a::after {
	transform: translateY(-35%) rotate(225deg);
  }

  /* Hide submenus by default on desktop */
  #primary-menu > .menu-item-has-children > .sub-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
  }

  /* Non-language mega panels — both in-DOM and teleported */
  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu,
  body > ul.sub-menu.mega-teleported {
	position: fixed;
	left: 24px; right: 24px;
	top: calc(var(--header-offset) + 8px); /* JS overrides on hover */
	width: auto; min-width: 0;
	margin: 0; padding: 28px;
	list-style: none;
	border-radius: 28px;
	z-index: 1190;
	background: var(--mega-bg);
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	border: 1px solid rgba(255,255,255,.55);
	box-shadow: 0 24px 80px rgba(0,0,0,.10), inset 0 0 0 rgba(255,255,255,.75);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px) scale(.992);
	transform-origin: top center;
	transition:
	  opacity .2s ease,
	  visibility 0s linear .2s,
	  transform .2s ease;
	will-change: opacity, transform;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(300px, 1.05fr) minmax(420px, 1.35fr);
	gap: 44px;
	align-items: start;
  }

  /* Reveal — slide down from slightly above, like apple.com */
  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu,
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu,
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu,
  body > ul.sub-menu.mega-teleported.is-mega-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	transition:
	  opacity .22s ease,
	  visibility 0s linear 0s,
	  transform .32s var(--nav-ease-soft);
  }

  /* Exit — slides down + fades out instead of flickering back up */
  body > ul.sub-menu.mega-teleported.is-mega-closing {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px) scale(.995);
	transition:
	  opacity .22s ease,
	  visibility 0s linear .22s,
	  transform .28s var(--nav-ease-soft);
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu.mega-ready,
  body > ul.sub-menu.mega-teleported.mega-ready { padding: 34px 36px; }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu.mega-ready > li,
  body > ul.sub-menu.mega-teleported.mega-ready > li { margin: 0; list-style: none; }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-panel,
  body > ul.sub-menu.mega-teleported .mega-panel { display: contents; }

  .mega-panel { min-height: 180px; }

  #primary-menu p { font-weight: 400; }
.mega-info h2 {margin: 0 0 10px 0; padding-bottom: 0}
  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-info,
  body > ul.sub-menu.mega-teleported .mega-info {
	position: relative;
	padding-right: 8px;
	/* Reserve height so the panel doesn't reflow when heading/paragraph vary */
	min-height: 140px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-info::after,
  body > ul.sub-menu.mega-teleported .mega-info::after {
	content: "";
	position: absolute;
	top: -40px; right: -22px; bottom: -40px;
	width: 1px;
	background: linear-gradient(to bottom, transparent, rgba(0,0,0,.08) 10%, rgba(0,0,0,.08) 90%, transparent);
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-eyebrow,
  body > ul.sub-menu.mega-teleported .mega-eyebrow {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
	color: rgba(0,0,0,.42); margin-bottom: 16px;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-title,
  body > ul.sub-menu.mega-teleported .mega-title {
	font-size: clamp(30px, 3vw, 50px);
	line-height: .98; letter-spacing: -.04em;
	font-weight: 800; color: #000; margin: 0 0 18px;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-text,
  body > ul.sub-menu.mega-teleported .mega-text {
	max-width: 32ch; font-size: 17px; line-height: 1.55;
	color: rgba(0,0,0,.64); margin: 0 0 24px; font-weight: 500;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-parent-link,
  body > ul.sub-menu.mega-teleported .mega-parent-link {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 0; font-size: 14px; line-height: 1.2;
	color: #000; background: transparent; border-radius: 0;
	font-weight: 700;
	transition: transform .2s ease, opacity .2s ease;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-parent-link::after,
  body > ul.sub-menu.mega-teleported .mega-parent-link::after {
	content: "→"; font-size: 16px; line-height: 1;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-parent-link:hover,
  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-parent-link:focus,
  body > ul.sub-menu.mega-teleported .mega-parent-link:hover,
  body > ul.sub-menu.mega-teleported .mega-parent-link:focus { transform: translateX(4px); }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links,
  body > ul.sub-menu.mega-teleported .mega-links {
	display: grid; grid-template-columns: 1fr;
	gap: 10px; align-content: start; padding-top: 2px;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links > li,
  body > ul.sub-menu.mega-teleported .mega-links > li {
	margin: 0; list-style: none;
	opacity: 0; transform: translateY(16px);
	transition: opacity .28s ease, transform .42s var(--nav-ease-soft), filter .28s ease;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li,
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li,
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li,
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li {
	opacity: 1; transform: translateY(0);
  }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li:nth-child(1),
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li:nth-child(1),
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li:nth-child(1),
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li:nth-child(1) { transition-delay: .04s; }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li:nth-child(2),
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li:nth-child(2),
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li:nth-child(2),
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li:nth-child(2) { transition-delay: .08s; }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li:nth-child(3),
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li:nth-child(3),
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li:nth-child(3),
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li:nth-child(3) { transition-delay: .12s; }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li:nth-child(4),
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li:nth-child(4),
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li:nth-child(4),
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li:nth-child(4) { transition-delay: .16s; }

  #primary-menu > .menu-item-has-children:not(.language-selector):hover > .sub-menu .mega-links > li:nth-child(5),
  #primary-menu > .menu-item-has-children:not(.language-selector):focus-within > .sub-menu .mega-links > li:nth-child(5),
  #primary-menu > .menu-item-has-children:not(.language-selector).is-mega-open > .sub-menu .mega-links > li:nth-child(5),
  body > ul.sub-menu.mega-teleported.is-mega-open .mega-links > li:nth-child(5) { transition-delay: .20s; }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a,
  body > ul.sub-menu.mega-teleported .mega-links a {
	display: flex; align-items: center; justify-content: space-between;
	gap: 2px; min-height: 42px; padding: 8px 22px;
	border-radius: 18px; color: #111;
	text-decoration: none; line-height: 1.2; font-weight: 400;
	transition: background-color .2s ease, transform .24s ease, box-shadow .24s ease;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a::after,
  body > ul.sub-menu.mega-teleported .mega-links a::after {
	content: "";
	display: inline-block; width: 14px; height: 14px;
	margin-left: 6px; flex: 0 0 auto;
	background: no-repeat center / contain url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<path d='M7 17L17 7'/><path d='M7 7h10v10'/>\
</svg>");
	opacity: .5;
	transition: transform .24s ease, opacity .24s ease;
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a:hover,
  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a:focus,
  body > ul.sub-menu.mega-teleported .mega-links a:hover,
  body > ul.sub-menu.mega-teleported .mega-links a:focus {
	background: rgba(255,255,255,.64);
	transform: translateX(2px);
	box-shadow: 0 6px 18px rgba(0,0,0,.05);
  }

  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a:hover::after,
  #primary-menu > .menu-item-has-children:not(.language-selector) > .sub-menu .mega-links a:focus::after,
  body > ul.sub-menu.mega-teleported .mega-links a:hover::after,
  body > ul.sub-menu.mega-teleported .mega-links a:focus::after {
	opacity: 1;
	transform: translate(3px, -2px);
  }

  body.mega-menu-open::before {
	content: "";
	position: fixed; inset: 0;
	background: rgba(255,255,255,.16);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 1095;
	pointer-events: none;
  }

  #primary-menu > .language-selector > .sub-menu {
	position: absolute;
	left: auto; right: 0;
	top: calc(100% + 8px);
	min-width: 180px; padding: 10px; margin: 0;
	border-radius: 14px; z-index: 1195;
	background: rgba(255,255,255,.74);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border: 1px solid rgba(255,255,255,.45);
	border-top: .5px solid rgba(255,255,255,.75);
	box-shadow: 0 12px 34px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7);
	transform: translateY(10px) scale(.985);
	transform-origin: top right;
	transition: opacity .22s ease, visibility 0s linear .22s, transform .28s var(--nav-ease);
	gap: 10px;
	display: flex;
	flex-direction: column;
  }

  #primary-menu > .language-selector:hover > .sub-menu,
  #primary-menu > .language-selector:focus-within > .sub-menu {
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: translateY(0) scale(1);
	transition: opacity .22s ease, visibility 0s linear 0s, transform .28s var(--nav-ease);
  }

} /* end @media (min-width: 991px) */

/* ========================================
   LANGUAGE SELECTOR (shared)
======================================== */

.language-selector { position: relative; }

.language-selector > a {
  font-size: 0; display: flex; align-items: center; gap: 8px; text-decoration: none;
}

.language-selector > a::before {
  content: "";
  width: 30px; height: 18px;
  display: inline-block;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  position: relative; top: 1px;
}

.sub-menu { list-style: none; }

.language-selector .sub-menu li a {
  display: block;
  padding: 6px 18px;
  border-radius: 999px;
  line-height: 1.2;
  color: #000;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}

.language-selector .sub-menu li.current-lang a,
.language-selector .sub-menu li a:hover,
.language-selector .sub-menu li a:focus {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-color: rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(0,0,0,0.05);
}

.language-selector.lang-eng > a::before {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'>\
  <rect x='1' y='1' width='58' height='34' rx='12' fill='black'/>\
  <text x='30' y='23' text-anchor='middle' font-family='Arial, Helvetica, sans-serif' font-size='14' font-weight='700' fill='white'>ENG</text>\
</svg>");
}

.language-selector.lang-de > a::before {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'>\
  <rect x='1' y='1' width='58' height='34' rx='12' fill='black'/>\
  <text x='30' y='23' text-anchor='middle' font-family='Arial, Helvetica, sans-serif' font-size='14' font-weight='700' fill='white'>DE</text>\
</svg>");
}

/* ========================================
   MOBILE NAV
======================================== */

@media (max-width: 990px) {

  #site-navigation {
	position: fixed;
	inset: 0;
	z-index: 1200;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	transition: opacity .24s ease, visibility 0s linear .24s;
  }

  #site-navigation::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.7)), rgba(245,245,247,.72);
	backdrop-filter: blur(24px) saturate(140%);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	opacity: 0;
	transition: opacity .36s ease;
  }

  #site-navigation.is-open {
	opacity: 1; visibility: visible; pointer-events: auto;
	transition: opacity .24s ease, visibility 0s linear 0s;
	height: calc(100vh - 20px);
	border-radius: 20px;
	outline: 1px solid rgb(255, 255, 255);
  }
  
  #site-navigation.is-open::before {
	opacity: 1;
  }
  /* ── Main menu panel ── */
  #site-navigation .menu-navigation-container,
  #site-navigation .menu-navigation-de-container,
  #site-navigation .menu-navigation-gb-container {
	position: absolute; inset: 0;
	display: flex; align-items: start;
	padding: 0 40px;
	width: 100%; height: 100%;
	transition: transform .42s var(--nav-ease-soft), opacity .3s ease;
	will-change: transform, opacity;
	margin-top: 10vh
  }

  /* Slide main panel left when sub-panel opens */
  #site-navigation.nav-sub-open .menu-navigation-container,
  #site-navigation.nav-sub-open .menu-navigation-de-container,
  #site-navigation.nav-sub-open .menu-navigation-gb-container {
	transform: translateX(-48px);
	opacity: 0;
	pointer-events: none;
  }

  #primary-menu {
	width: calc(100% - 70px); max-width: none; display: block;
  }
  #primary-menu > li.language-selector > a {font-size: 1rem}
  #primary-menu > .language-selector.menu-item-has-children > a::after {display: none}
  .language-selector > a::before {top: 4px; margin-right: 10px;}

  /* ── Mobile menu items
	 Use a specific class added by JS rather than !important
	 to avoid leaking to desktop ── */
  #primary-menu > li {
	width: 100%;
	border-bottom: 1px solid rgba(0,0,0,.08);
  }

  /* Hidden state — JS adds .nav-animate to nav when opening */
  #site-navigation:not(.is-open) #primary-menu > li {
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity .36s ease, transform .5s var(--nav-ease-soft);
  }

  #site-navigation.is-open #primary-menu > li {
	opacity: 1;
	transform: translateY(0);
	transition: opacity .36s ease, transform .5s var(--nav-ease-soft);
  }

  #site-navigation.is-open #primary-menu > li:nth-child(1) { transition-delay: .04s; }
  #site-navigation.is-open #primary-menu > li:nth-child(2) { transition-delay: .08s; }
  #site-navigation.is-open #primary-menu > li:nth-child(3) { transition-delay: .12s; }
  #site-navigation.is-open #primary-menu > li:nth-child(4) { transition-delay: .16s; }
  #site-navigation.is-open #primary-menu > li:nth-child(5) { transition-delay: .20s; }
  #site-navigation.is-open #primary-menu > li:nth-child(6) { transition-delay: .24s; }

  #primary-menu > li > a {
	display: block;
	padding: 18px 44px 18px 0;
	border-radius: 0;
	font-size: 2.1rem; line-height: 1.02;
	letter-spacing: -.04em; font-weight: 400;
	color: #000; position: relative;
  }

  /* Chevron — points right to indicate drill-down */
  #primary-menu > .menu-item-has-children > a::after {
	content: "";
	position: absolute; right: 6px; top: 50%;
	width: 10px; height: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-60%) rotate(-45deg);
	transition: transform .24s ease;
  }

  /* Sub-menus hidden on mobile — sub-panel takes over */
  #primary-menu > .menu-item-has-children > .sub-menu {
	display: none !important;
  }

  /* ── Sub panel ── */
  .nav-sub-panel {
	display: flex; /* override the desktop display:none */
	position: absolute; inset: 0;
	flex-direction: column; justify-content: start;
	padding: 80px 40px 40px;
	transform: translateX(60px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition:
	  transform .42s var(--nav-ease-soft),
	  opacity .3s ease,
	  visibility 0s linear .3s;
	will-change: transform, opacity;
  }

  #site-navigation.nav-sub-open .nav-sub-panel {
	transform: translateX(0);
	opacity: 1; visibility: visible; pointer-events: auto;
	transition:
	  transform .42s var(--nav-ease-soft),
	  opacity .3s ease,
	  visibility 0s linear 0s;
  }

  .nav-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
  width: 40px;
  height: 40px;
	padding: 10px 12px;
	border-radius: 999px;
  
	background: rgba(255,255,255,0.55);
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
  
	border: 1px solid rgba(255,255,255,0.4);
	border-top: 0.5px solid rgba(255,255,255,0.7);
  
	box-shadow:
	  inset 0 1px 0 rgba(255,255,255,0.7),
	  0 4px 12px rgba(0,0,0,0.06);
  
	cursor: pointer;
  
	margin-bottom: 36px;
  
	font-size: 13px;
	font-weight: 700;
	color: rgba(0,0,0,.55);
	letter-spacing: .08em;
	text-transform: uppercase;
  
	transition:
	  background-color .25s ease,
	  box-shadow .25s ease,
	  transform .2s ease,
	  color .2s ease;
  }
  
  .nav-back:hover {
	background: rgba(255,255,255,0.75);
	color: #000;
	transform: translateY(-1px);
	box-shadow:
	  inset 0 1px 0 rgba(255,255,255,0.8),
	  0 6px 18px rgba(0,0,0,0.08);
  }
  
  .nav-back:active {
	transform: translateY(0);
	box-shadow:
	  inset 0 1px 0 rgba(255,255,255,0.6),
	  0 2px 6px rgba(0,0,0,0.06);
  }
  .nav-back svg { width: 16px; height: 16px; flex-shrink: 0; }

  .nav-sub-list {
	list-style: none; margin: 0; padding: 0; width: 100%;
	font-family: var(--wp--preset--font-family--system);
  }
  .current-lang {background: rgba(255,255,255,0.45);
	backdrop-filter: blur(8px) saturate(140%);
	-webkit-backdrop-filter: blur(8px) saturate(140%);
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.35);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(0,0,0,0.05);
	list-style: none;padding-left: 20px}

  .nav-sub-list > li {
	border-bottom: 1px solid rgba(0,0,0,.08);
	opacity: 1; transform: none;
  }

  .nav-sub-list > li > a {
	display: block;
	padding: 16px 0;
	font-size: 1.6rem; line-height: 1.02;
	letter-spacing: -.03em; font-weight: 400;
	color: #000; text-decoration: none;
	transition: color .2s ease;
  }

  #site-navigation.nav-sub-open .nav-sub-list > li {
	animation: subItemIn .4s var(--nav-ease-soft) both;
  }

  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(1) { animation-delay: .06s; }
  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(2) { animation-delay: .10s; }
  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(3) { animation-delay: .14s; }
  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(4) { animation-delay: .18s; }
  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(5) { animation-delay: .22s; }
  #site-navigation.nav-sub-open .nav-sub-list > li:nth-child(6) { animation-delay: .26s; }

  @keyframes subItemIn {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
  }

  .menu-pill { display: none !important; }

  body.nav-open { overflow: hidden; touch-action: none; }

  body > ul.sub-menu.mega-teleported { display: none !important; }

} /* end @media (max-width: 990px) */


/* =========================
   REDUCED wtN
========================= */

@media (prefers-reduced-wtn: reduce) {
  .menu-pill,
  #primary-menu .sub-menu,
  #primary-menu .sub-menu li,
  #primary-menu a::after {
	transition: none !important;
	animation: none !important;
  }
}


.swiper-wrapper {padding-bottom: 20px}
.services-slider {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: center
}
.services-slider .swiper-wrapper {
  align-items: stretch;
}
.services-slider .swiper-wrapper .wp-block-column{
  display: flex;
  gap: 0;
  color: #000
}

.services-slider .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column
}
.services-slider .swiper-slide img{
  border-radius: 50%;
  margin-top: 50px
}

.wp-block-image img[src^="data:image/svg+xml"] {
   border-radius: 0 !important
}
.services-slider h3 {
  font-size: clamp(1rem, 3vw, 2rem);
 word-break: keep-all;
 overflow-wrap: normal;
}

.services-slider .wp-block-column, .cards .wp-block-column{
	align-items: center;
	justify-content: start;
	gap: 14px;
	padding: 0;
	border-radius: 30px;
	  box-shadow: 0 4px 12px rgba(0,0,0,.12),
	  inset 0 1px 0 rgba(255,255,255,.5);
	  transform: translateZ(0); /* prevents flicker */
	  backface-visibility: hidden;
	background: rgba(255,255,255,1);
	backdrop-filter: blur(5px) saturate(110%);
	-webkit-backdrop-filter: blur(5px) saturate(110%);
	  color: #000;
	}
 .services-slider .wp-block-column.no-card {background: none; text-align: left; color: #ffffff;border-radius: 0 !important;
   box-shadow: none !important;
   transform: none !important;
   backface-visibility: visible !important;
   background: transparent !important;
   backdrop-filter: none !important;
   -webkit-backdrop-filter: none !important;
}
  
   .services-slider .wp-block-column.no-card p {padding: 0 60px 0 0;}

	.cards {gap: 30px !important}
	.cards .wp-block-column {background: rgba(255, 255, 255, 1);
	padding: 60px;
	}
	
.cards {
	  display: flex;
	  align-items: stretch;
	}
	
	.cards > .wp-block-column {
	  display: flex;
	  flex-direction: column;
	  align-items: start;
	}
	
	.cards > .wp-block-column .wp-block-buttons {
	  margin-top: auto;
	}
	
   .cards > .wp-block-column h3 {margin: 0; min-height: 65px; padding: 0}
   .cards > .wp-block-column p {padding-top: 0}
	
   .services-slider .wp-block-column h3, .services-slider .wp-block-column p {padding-left: 50px; padding-right: 50px; padding-top: 0px; padding-bottom: 0} 
   .services-slider .wp-block-column p {font-size: 0.825rem}
   .services-slider .wp-block-column h4 {padding: 30px 0 0; margin: 0}
   .services-slider .wp-block-column h4 + p {padding: 0; margin: 0 0 10px 0; opacity: .4 !important}
.wp-block-column p {padding-bottom: 20px}
.services-slider .wp-block-column h3 {  
  font-size: clamp(0.8rem, 4cqw, 1.54rem);
padding-top: 80px;
  word-break: keep-all;
  overflow-wrap: normal; font-weight: 700}


/* ========================================
   CARD — frosted glass + 3-D hover
======================================== */

.card {
  background: rgba(255,255,255,0.24);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 22px;
  overflow: visible;
  position: relative;
  padding: 10px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}

/* Outer wrapper — frosted pill container */
.wp-block-columns.card {
  min-height: 100px !important;
  padding: 10px !important;
  gap: 6px !important;
  border-radius: 26px !important;
  box-shadow:
	0 8px 32px rgba(0,0,0,.18),
	inset 0 1px 0 rgba(255,255,255,.25);
}

/* Stitch consecutive card groups into one unified block */
.wp-block-columns.card + .wp-block-columns.card {
  margin-top: 2px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  box-shadow:
	0 8px 32px rgba(0,0,0,.18),
	inset 0 1px 0 rgba(255,255,255,.25);
}

.wp-block-columns.card:has(+ .wp-block-columns.card) {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none;
}

/* Each inner column = one card tile */
.wp-block-columns.card > .wp-block-column {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow .3s ease;
}

/* Solid colour overlay — revealed on hover via ::after on the cover */
.wp-block-columns.card .wp-block-cover {
  min-height: 100px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.wp-block-columns.card .wp-block-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background .3s ease;
  pointer-events: none;
  z-index: 1;
}

/* Keep text above the colour overlay */
.wp-block-columns.card .wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

/* Distinct solid colour per card — alternating teal / forest */
.wp-block-columns.card > .wp-block-column:nth-child(1):hover .wp-block-cover::after {
  background: rgba(14, 50, 68, 0.82);
}
.wp-block-columns.card > .wp-block-column:nth-child(2):hover .wp-block-cover::after {
  background: rgba(36, 66, 46, 0.82);
}

/* Subtle lift — no zoom, no 3D */
.wp-block-columns.card > .wp-block-column:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

/* Shared text styles */
.card img {width: 30px; height: auto}
.card h3, .card p {padding: 0; margin: 0; line-height: 1em; color: #fff}
.card h3 {font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em}
.card p {font-size: .825rem; padding-top: 8px; opacity: .85}
.card h3 a, .card p a{text-decoration:none; color: #fff}


/* ========================================
   [properties] SHORTCODE CARDS
   Layout: wp-block-columns flex (WP built-in).
   wp-block-column flex:1 1 0% = equal widths
   regardless of count — 2 cols or 3 cols just works.
======================================== */

/* Always visible — bypasses the scroll-reveal animation
   that normally hides wp-block-columns until JS fires */
.wt-properties,
.wt-js .wt-properties {
  opacity: 1 !important;
  transform: none !important;
  gap: 24px !important;
}

/* Card — sits on the wp-block-column */
.wt-property-card {
  overflow: hidden;
  transition: box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Thumbnail */
.wt-property-card__thumb, .type-properties .wp-block-post-featured-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1024 / 780;
  flex-shrink: 0;
  border-radius: 25px
}

.wt-property-card__img, .type-properties .wp-block-post-featured-image .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.wt-property-card:hover .wt-property-card__img { transform: scale(1.04); }

/* Body */
.wt-property-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.wt-property-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.wt-property-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.wt-property-card__title a:hover { color: var(--accent); }

.wt-property-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #555;
  flex: 1;
}

/* Action row */
.wt-property-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.wt-property-card__btn, .wp-block-post-excerpt__more-text a {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .01em;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.wt-property-card__btn--primary, .wp-block-post-excerpt__more-text a {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.wt-property-card__btn--primary:hover { opacity: .86; }

.wt-property-card__btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.wt-property-card__btn--secondary:hover {
  background: var(--primary);
  color: #fff;
}

.wt-properties__empty {
  color: #585858;
  font-style: italic;
}

/* ========================================
   [reviews] SHORTCODE — SWIPER SLIDER
======================================== */

.wt-reviews {
  position: relative;
  overflow: hidden; /* clip the partial next slide + star */
}

/* Decorative background star — right side */
.wt-reviews__bg-star {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%); /* JS overrides this on scroll */
  width: 480px;
  max-width: 45vw;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  z-index: 0;
}

/* Keep slider + nav above the star */
.wt-reviews__swiper,
.wt-reviews__nav {
  position: relative;
  z-index: 1;
}

.wt-reviews__swiper {
  overflow: visible; /* let slides bleed right */
  padding-bottom: 4px; /* room for card shadow */
}

/* Card */
.wt-review-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  box-sizing: border-box;
  border: solid 1px #efefef
}

/* Header row: avatar left, stars right */
.wt-review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Circular avatar */
.wt-review-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.wt-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stars */
.wt-review-card__stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.wt-star { fill: #e0e0e0; }
.wt-star--filled { fill: var(--primary); }

/* Review text */
.wt-review-card__text {
  font-size: 1rem;
  line-height: 1.65;
  color: #222;
  flex: 1;
}

.wt-review-card__text p { margin: 0; }

/* Author */
.wt-review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.wt-review-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.wt-review-card__location {
  font-size: 0.8rem;
  color: #585858;
}

/* Nav — prev/next circles */
.wt-reviews__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-left: 20px; /* overridden by JS to match content edge */
}

.wt-reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.wt-reviews__arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.wt-reviews__arrow.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.wt-reviews__empty {
  color: #585858;
  font-style: italic;
}

.mb-neg-50 {margin-bottom: -50px}
.wp-block-columns.alignfull.no-gap {gap: 0;margin: 0;padding: 0; max-width: 100%; margin-bottom: -10px}
.wp-block-columns.alignfull.no-gap .wp-block-cover {border-radius: 0;margin: 0;padding: 0}
.wp-block-columns.alignfull.no-gap img {border-radius: 0}

.wp-block-columns .wp-block-columns {gap: 10px}
/* -----------------------------
   INITIAL STATE
----------------------------- */

/* Hide cover inner container */
.wt-js .wp-block-cover .wp-block-cover__inner-container {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}
.wp-block-cover + .wp-block-columns {margin-top: 120px; padding: 0 20px}
.wp-block-cover + .wp-block-columns.alignfull {padding: 0}
.wp-block-cover + .wp-block-columns.tp-0 {padding-top: 0 !important; margin-top: 0 !important}


/* Hide ALL columns by default */
.wt-js .wp-block-columns {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1);
}

/* Card: start blur at 0 so it fades in with opacity instead of popping */
.wt-js .wp-block-columns.card {
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1), backdrop-filter .7s ease, -webkit-backdrop-filter .7s ease;
}

.wt-js .wp-block-columns.card.is-visible {
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

/* BUT — do NOT hide columns inside covers */
.wt-js .wp-block-cover .wp-block-columns {
  opacity: 1;
  transform: none;
}


/* -----------------------------
   VISIBLE STATE
----------------------------- */

.wt-js .wp-block-cover.is-visible 
.wp-block-cover__inner-container.is-visible {
  opacity: 1;
  transform: none;
}

.wt-js .wp-block-columns.is-visible {
  opacity: 1;
  transform: none;
}

.wt-js .wp-block-columns.is-visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   GUTENBERG BLOCKS
   ============================================================ */

   .wp-block-gallery {margin: 120px 0}
   .wp-block-cover:not(.footer) {min-height: 60vh}
   /* Style any Details inside a Group */
   .wp-block-group details.wp-block-details {
	 border-top: 1px solid rgba(0,0,0,.15);
   }
   .wp-block-group details.wp-block-details:last-of-type {
	 border-bottom: 1px solid rgba(0,0,0,.15);
   }
   
   /* Summary row layout (text left, icon right) */
   .wp-block-group details.wp-block-details > summary {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 gap: 1rem;
	 padding: clamp(14px, 2vw, 22px) 0;
	 font-size: var(--wp--preset--font-size--medium); font-weight: 300; 
	 cursor: pointer;
	 list-style: none;  
	 outline: none;
   }
   
   /* Remove WebKit marker */
   .wp-block-group details.wp-block-details > summary::-webkit-details-marker { display: none; }
   
   /* Right-side + / – icon */
/* Right-side + / X icon */
   .wp-block-group details.wp-block-details > summary::after {
	 content: "+";
	 display: inline-block;
	 font-weight: 300;
	 line-height: 1;
	 margin-left: 1rem;
	 opacity: .85;
	 transition: transform 0.3s ease, opacity 0.3s ease;
	 transform-origin: center;
   }
   
   /* When open, rotate the + to form an X */
   .wp-block-group details.wp-block-details[open] > summary::after {
	 transform: rotate(45deg); /* 45° makes + look like × */
	 opacity: 1;
   }
   /* The JS creates an inner wrapper to animate height */
   .wp-block-group .wt-acc-panel {
	 overflow: hidden;
	 height: 0;                 /* will be animated by JS */
	 will-change: height;
   }
   .wp-block-group .wt-acc-panel > .wt-acc-inner {
	 padding: 0 0 clamp(14px, 2vw, 20px) 0;
   }
   
   /* Nice focus ring for keyboard users */
   .wp-block-group details.wp-block-details > summary:focus-visible {
	 outline: 2px solid currentColor;
	 outline-offset: 3px;
   }
   
   /* Tidy inner spacing */
   .wp-block-group .wt-acc-inner > *:first-child { margin-top: 0; }
   .wp-block-group .wt-acc-inner > *:last-child  { margin-bottom: 0; }
   .wp-block-group {
  margin: 40px auto!important;
   }
.wp-block-cover__inner-container {margin: 20px auto !important}
/* Restrict normal Cover blocks to the global content size */
.wp-block-cover:not(.alignwide):not(.alignfull),
.wp-block-columns:not(.alignwide),
.wp-block-heading:not(.alignwide), .container, .wp-block-gallery:not(.alignwide), .wp-block-query:not(.alignwide):not(.alignfull), .search-results-container {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
}
.alignwide {
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
}

/* Grid container */
.search-results-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Individual result cards */
.search-results-item article {
  width: 100%;
}

/* Tablet breakpoint (optional) */
@media (max-width: 1024px) {
  .search-results-item {
	grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
  .search-results-item {
	grid-template-columns: 1fr;
  }
  .wp-block-cover:not(.footer) {min-height: 40vh}

}
#primary{
  position: relative;
}

#primary::before{
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 20;
}

body.nav-open #primary::before{
  opacity: 1;
}
.post-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder styling */
.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
	linear-gradient(
	  135deg,
	  #e7e7e7 0%,
	  #e2e2e2 50%,
	  #d0d0d0 100%
	);
  color: #ffffff;
  text-align: center;
}



.container + h2 { margin: 0; padding: 0
}
body.home .wp-block-columns.alignfull {
  width: calc(100% - 20px);
  margin: 0;
  max-width: 100%;
  gap: 10px
}
.wp-block-gallery img {padding: 5px}
.wp-block-columns.alignfull {
  width: calc(100%);
  margin: 10px;
  max-width: calc(100% - 20px);
  gap: 10px
}
.wp-block-columns.alignfull.no-margin {
  margin: 10px 0 !important;
  width: calc(100%)
}

.widget {
  width: var(--wp--style--global--content-size);
  margin: 0 auto;
  max-width: 100%;
  padding-top: 100px
}
/* Ensure the post item can position children */
.wp-block-post {
  position: relative;
}

/* Anchor the image as the positioning context */
.wp-block-post-featured-image {
  position: relative;
}

/* Date pill styling */
.wp-block-post-date {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;

  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wp-block-image img {border-radius: 25px}
.wp-block-gallery figure,
.wp-block-gallery .wp-block-image,
.wp-block-gallery li,
.wp-block-gallery img {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition:
	opacity .5s ease,
	transform .6s cubic-bezier(.22,.8,.2,1);
  transition-delay: var(--gallery-delay, 0ms);
  will-change: opacity, transform;
}

.wp-block-gallery figure.is-visible,
.wp-block-gallery .wp-block-image.is-visible,
.wp-block-gallery li.is-visible,
.wp-block-gallery img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-wtn: reduce) {
  .wp-block-gallery figure,
  .wp-block-gallery .wp-block-image,
  .wp-block-gallery li,
  .wp-block-gallery img {
	opacity: 1;
	transform: none;
	transition: none;
  }
}

/* Remove default margins */
.wp-block-post-date time {
  margin: 0;
  display: block;
}

/* Optional: ensure image stays clean */
.wp-block-post-featured-image img {
  display: block;
}

p.address {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-items: center;
  line-height: 0.4em;
  margin: 0;
  padding: 0
}
p.address strong {
  font-family: var(--wp--preset--font-family--system);
}

#footer p {
  max-width: 390px
}

/* icon column */
p.address::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.49);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  grid-row: 1 / span 2; /* spans title + address */
}

/* location icon */
p.address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21s7-5.686 7-11a7 7 0 10-14 0c0 5.314 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* email */
p.email {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-items: center;
}

p.email::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.49);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6h16v12H4z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 6l8 7 8-7'/%3E%3C/svg%3E");
}

.wp-block-cover__background.has-secondary-background-color {color: #FFF}
#footer .wp-block-page-list {
  font-size: var(--wp--preset--font-size--xs) !important;
}
.footer-contact .wp-block-columns {margin: 20px 0}
 .footer ul {padding: 0; margin: 0; list-style: none}
 .footer ul li { list-style: none; }
 .footer .wp-block-heading { padding: 0; margin: 0 0 8px; }

#footer ul.wp-block-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

#footer ul.wp-block-list li {
  list-style: none;
  padding: 10px 0;
  padding-left: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

#footer ul.wp-block-list li:first-child {
  border-top: 1px solid rgba(255,255,255,.12);
}

#footer ul.wp-block-list li::before {
  display: none !important;
}

#footer ul.wp-block-list li a {
  display: block;
  text-decoration: none;
  font-size: var(--wp--preset--font-size--xs);
  color: inherit;
  transition: opacity .2s ease;
}

#footer ul.wp-block-list li a:hover { opacity: .65; }

.footer-contact h2 {
  margin-bottom: 40px
}
ul.styled-list {list-style: none; padding: 0}
ul.product-list h4, ul.styled-list li, ul.product-list h2, ul.product-list h3 {
  border-bottom: solid 1px;
  padding: 25px 20px 25px 0;
  margin: 0;

}
/* =================================
   NUMBERED FEATURE LIST
================================= */

ol.wp-block-list {
  counter-reset: feature;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 400
}

ol.wp-block-list > li {
  counter-increment: feature;
  position: relative;

  margin-bottom: 110px;
  padding-left: 120px;

  max-width: 760px;
  line-height: 1.55;

  /* animation base */
  opacity: 0;
  transform: translateY(40px);
  transition:
	transform .7s cubic-bezier(.22,.8,.2,1),
	opacity .6s ease;
}

/* visible state */
ol.wp-block-list > li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* big background number */
ol.wp-block-list > li::before {
  content: counter(feature);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--wp--preset--font-family--system);
  font-weight: 700;
  font-size: 143px;
  line-height: 1;
  color: #000;
  opacity: .08;
  pointer-events: none;
}

/* heading */
ol.wp-block-list > li strong {
  display: block;
  font-weight: 700;
  font-family: var(--wp--preset--font-family--system);
  font-size: var(--wp--preset--font-size--lg)
}

ol.wp-block-list strong {
  word-break: keep-all;
  overflow-wrap: normal;
}

/* mobile */
@media (max-width:768px){

  ol.wp-block-list > li{
	padding-left:80px;
	margin-bottom:80px;
  }

  ol.wp-block-list > li::before{
	font-size:100px;
  }

}


ul.styled-list li {padding: 20px 0}
ul.product-list h4 a, ul.styled-list li a {
  color: rgb(0,0,0) !important;
  transition: color 0.2s ease;
}
#search-backdrop.nav-overlay[hidden]{ display:block; } /* keep layout-free when hidden */

/* ===== Overlay shell ===== */

#search-title.sr-only {color: #fff}
.search-overlay{
  position: fixed; inset: 0; z-index: 1003;
  display: grid; place-items: start center;
  padding: clamp(24px, 4vw, 48px);
  visibility: hidden; opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
  pointer-events: none;
  
}

.search-overlay.is-open{
  visibility: visible; opacity: 1; pointer-events: auto;
  transition: opacity .25s ease, visibility 0s;
}

/* Close button (top-right like your mock) */
.search-overlay__close{
  position: fixed; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  color: #fff; background: rgba(0,0,0,.35);
  display: grid; place-items: center; font-size: 22px; line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(3px);
  z-index: 99999
}

/* Center box that holds the form + results */
.search-overlay__box{
  width: min(920px, 92vw);
  margin-top: clamp(8vh, 14vh, 24vh);
  margin-left: auto;
  margin-right: auto
}

.search-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Card item */
.search-item {
  border-radius: 14px;
  overflow: hidden;
}

/* Link wrapper */
.search-item a {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  text-decoration: none;
  color: #111;

  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;

  transition: all 0.25s ease;
}

/* Hover state */
.search-item a:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Title */
.search-item__title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}

/* Excerpt */
.search-item__excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Optional: subtle divider effect */
.search-item + .search-item {
  margin-top: 2px;
}

/* Big pill input like screenshot */
.search-overlay__form{
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  display: flex; align-items: center;
  min-height: 76px;
  padding: 0 64px 0 28px;
}

.search-overlay__input{
  appearance: none; border: 0; outline: 0;
  width: 100%;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  background: transparent;
  color: #111;
}

.search-overlay__input::placeholder{ color: #444; opacity: .7; }

.search-overlay__submit{
  position: absolute; right: 18px;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 0; background: #111; color: #fff; cursor: pointer;
}

/* Results list */
.search-overlay__results{ margin-top: 18px; }
.search-overlay__list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.search-item__link{
  display: grid; gap: 4px;
  padding: 12px 14px; border-radius: 12px;
  text-decoration: none; color: inherit;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
}
.search-item__link:hover{ background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.search-item__title{ font-weight: 700; }
.search-item__type{ font-size: .85rem; opacity: .6; }
.search-item__excerpt{ opacity: .8; }

.search-overlay__empty{ color: #fff; opacity: .9; padding: 8px 2px; }
.search-overlay__hint{ color:#fff; opacity:.75; margin-top: 8px; font-size: .95rem; }

.nav-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay__box {
  opacity: 0;
  transform: translateY(10px);
  transition: all .25s ease;
}

.nav-overlay.is-active .search-overlay__box {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced wtn */
@media (prefers-reduced-wtn: reduce){
  .search-overlay,
  .nav-overlay{ transition: none !important; }
}


.search-item__pill {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.2;
}

.search-item {
  position: relative;
}
.search-overlay__more {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
}
.search-overlay__summary, .search-overlay__summary a{color: #fff}

.search-overlay__list .type-itinerary .search-item__link {background: #eadfdf; color: #000}
.search-overlay__list .type-destination .search-item__link {background: #e2eadf; color: #000}
.search-overlay__list .type-page .search-item__link {background: #dfe6ea; color: #000}
.search-overlay__list .type-itinerary .search-item__pill{background: #9a8686}
.search-overlay__list .type-destination .search-item__pill{background: #657161}
.search-overlay__list .type-page .search-item__pill{background: #5f6b71}



/* Hide the header triggers while the SEARCH overlay is open */
body.search-open .floating-search,
body.search-open .mobile-menu{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.98);
  transition: opacity .2s ease, visibility 0s linear .2s, transform .2s ease;
}

/* Return to normal when search closes */
body:not(.search-open) .floating-search{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .2s ease, visibility 0s linear 0s, transform .2s ease;
  background: #fff;
  border-radius: 50%;
  color: #000
}

body:not(.search-open) .mobile-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .2s ease, visibility 0s linear 0s, transform .2s ease;
  border-radius: 50%;
  color: #000
}

/* Fly up and fade out when body has .scrolling */
.reveal-ready.scrolling .floating-search{
  transform-origin: 50% 0%;
  will-change: transform, opacity;
  animation: floatSearchFlyOut 360ms cubic-bezier(.22,.61,.36,1) forwards;
  pointer-events: none; /* don't grab clicks while hidden */
}

/* When back at the top (no .scrolling), slide back in from top + fade */
.reveal-ready:not(.scrolling) .floating-search{
  will-change: transform, opacity;
  animation: floatSearchFlyIn 300ms cubic-bezier(.22,.61,.36,1) forwards;
  pointer-events: auto;
}

@keyframes floatSearchFlyOut{
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  35%  { opacity: 1; transform: translateY(-10px) scale(0.995); }
  100% { opacity: 0; transform: translateY(calc(-100% - 40px)) scale(0.98); }
  /* -100% = its own height; extra -40px guarantees it clears the top edge */
}

@keyframes floatSearchFlyIn{
  0%   { opacity: 0; transform: translateY(calc(-100% - 40px)) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reduced wtn: just fade */
@media (prefers-reduced-wtn: reduce){
  .reveal-ready.scrolling .floating-search{
	animation: floatSearchFadeOut 200ms ease forwards;
  }
  .reveal-ready:not(.scrolling) .floating-search{
	animation: floatSearchFadeIn 200ms ease forwards;
  }
  @keyframes floatSearchFadeOut{ from{opacity:1} to{opacity:0} }
  @keyframes floatSearchFadeIn { from{opacity:0} to{opacity:1} }
}

.reveal-ready.scrolling .reviews-slider .swiper-nav .reveal-up { opacity: 1 !important; transform: none !important; }
.footer-copyright {text-align: center;padding: 20px 0; margin: 0 auto; border-top: solid 1px #fff;font-size: 0.825rem;display: flex;justify-content: space-between;align-items: center;max-width: var(--wp--style--global--content-size);
}
.footer-copyright a {color: #fff; text-decoration: none}
.footer {border-top: solid 1px var(--wp--preset--color--dark); color: var(--wp--preset--color--dark);}

.footer a:hover {color: var(--wp--preset--color--accent);}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 32px;
  border-top: 1px solid rgba(0,0,0,.10);
  font-size: 0.8rem;
  color: #585858;
}

.footer__copy { white-space: nowrap; }

.footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__legal a {
  color: #585858;
  text-decoration: none;
  transition: color .2s ease;
}

.footer__legal a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .footer__bar { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
}

 .border-column .wp-block-columns .wp-block-column {border: none;padding: 0;margin: 0}
 .border-column .wp-block-columns {gap: 10px}
 


 /** RESPONSIVENESS **/
 
 @media (max-width: 1260px) {
 .wp-block-cover:not(.alignwide):not(.alignfull) {
 max-width: var(--wp--style--global--content-size);
 margin-left: 20px;
 margin-right: 20px;
 border-radius: 10px;
 }
 .itinerary-filters {margin: 40px 20px !important}
 .wp-block-columns .wp-block-cover:not(.alignwide):not(.alignfull), .wp-block-cover.alignfull .wp-block-cover__inner-container {
  max-width: var(--wp--style--global--content-size);
  margin-left: 0;
  margin-right: 0;
  border-radius: ;
  }
  
  
.itinerary-slider.slider--show-1 .swiper-slide.itinerary-slide {
  height: auto
}
}

  @media (max-width: 990px) {
	.project-grid-wrapper.wp-block-cover .wp-block-cover__inner-container {
	  opacity: 1 !important;
	  transform: none !important;
	}
	.wp-block-cover, .wp-block-cover-image {padding: 0 20px}
	.wp-block-columns:not(.wp-block-cover .wp-block-columns) {
	  padding: 0 20px
	} 
	.wp-block-columns.alignfull {padding: 0 !important}
	.wp-block-column p {padding-bottom: 20px}
	  body.admin-bar .site-header{ top: 46px; }
	   .wp-block-columns.custom-breakpoint {
		 flex-wrap: wrap !important;
	   }
	   .wp-block-columns.custom-breakpoint .wp-block-column{
		 flex-basis: 100%!important;
		 
	   }
	   .header-container {
		 padding: 4px 20px;
	   }

	   
	   .scrolling .header-container {
		  background: #fff;
		  background-color: rgba(255, 255, 255, 0.95); /* or any color */
		  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		}
	   .scrolling .custom-logo.logo--invert, .scrolling .mobile-menu--on-light, .scrolling .mobile-menu {
		 filter: none !important;
		 
		 color: #000;
	   }
	   
	   .site-branding img.custom-logo {
		 height: 95px
	   }

	   .floating-search svg {width: 30px}
	   .footer ul li {padding: 5px 0}

.services-slider .wp-block-column h3, .services-slider .wp-block-column p {
  padding-left: 20px;
  padding-right: 20px
}
.services-slider .swiper-button-next {right: 20px;}
.services-slider .swiper-button-prev {right: 20px;}
.services-slider .swiper-button-prev, .services-slider .swiper-button-next {top: -10px}
.services-slider {margin-top: 20; margin-bottom: 20px}
	} 
 @media (max-width: 640px) {
   .wp-block-spacer.xs-hide {display: none !important}
 }
 
 

 /* Project slider basics */
 
 .project-categories a {text-decoration: none; color: #FFF;}
 .project-slider-wrap {
   position: relative;
 }
 .project-categories {list-style: none; padding: 0; margin: 0}
 .project-slider .swiper-slide {
   height: auto; /* allow cards to auto-size vertically */
 }
 
 .project-card {
   display: block;
   text-decoration: none;
   color: inherit;
 }
 
 .project-card__figure {
   margin: 0 0 .75rem;
   overflow: hidden;
   border-radius: 12px;
 }
 
 .project-card__img {
   display: block;
   width: 100%;
   height: auto;
   object-fit: cover;
 }
 
 /* Fallback placeholder if no thumbnail (optional) */
 .project-card__img--placeholder {
   width: 100%;
   aspect-ratio: 16 / 9;
   background: linear-gradient(180deg, #e9e9e9, #dcdcdc);
 }
 
 .project-card__title {
   font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
   line-height: 1.25;
   margin: 0;
 }
 
 /* Swiper controls spacing */
 .project-slider .swiper-button-prev,
 .project-slider .swiper-button-next {
   --offset: 8px;
   top: 40%;
   width: 40px;
   height: 40px;
 }
 
 @media (min-width: 1024px) {
   .project-slider .swiper-button-prev { left: var(--offset); }
   .project-slider .swiper-button-next { right: var(--offset); }
 }
 
 /* Optional: adjust pagination bullets */
 .project-slider .swiper-pagination-bullet {
   opacity: .4;
 }
 .project-slider .swiper-pagination-bullet-active {
   opacity: 1;
 }
 
 
 
 /* TIMELINE BASE */
 .wp-block-list.time-line {
   position: relative;
   max-width: 1100px;
   margin: 0 auto;
   padding: 0;
   list-style: none;
 }
 
 /* Central vertical line */
 .wp-block-list.time-line::before {
   content: "";
   position: absolute;
   top: 0;
   bottom: 0;
   left: 50%;
   width: 2px;
   background: #ccc;
   transform: translateX(-50%);
 }
 
 /* Timeline items */
 .wp-block-list.time-line li {
   position: relative;
   width: 50%;
   padding: 2.5rem 3rem;
   box-sizing: border-box;
   line-height: 1.5;
 }
 
 /* Dots on the line */
 .wp-block-list.time-line li::before {
   content: "";
   position: absolute;
   top: 2.75rem;
   width: 14px;
   height: 14px;
   background: #000;
   border-radius: 50%;
   z-index: 2;
 }
 
 /* Left side */
 .wp-block-list.time-line li:nth-child(odd) {
   left: 0px;
   text-align: right;
 }
 
 .wp-block-list.time-line li:nth-child(odd)::before {
   right: -7px;
 }
 
 /* Right side */
 .wp-block-list.time-line li:nth-child(even) {
   left: 50%;
   text-align: left;
 }
 
 .wp-block-list.time-line li:nth-child(even)::before {
   left: -7px;
 }
 
 /* Year styling (first line in li) */
 .wp-block-list.time-line li {
   font-size: 0.95rem;
 }
 
/* Timeline year styling (robust, image-safe) */
 .wp-block-list.time-line > li strong {
   display: inline-block;
   font-size: 1.25rem;
   font-weight: 700;
   line-height: 1.1;
   margin: 0.25rem 0 0.5rem;
 }
 
 /* Optional visual card feel */
 .wp-block-list.time-line li {
   border-bottom: solid 1px rgb(223, 221, 221)
 }
 
 /* Spacing between items */
 .wp-block-list.time-line li + li {
   margin-top: 2rem;
 }
 
 
 /* Timeline reveal states */
 .wp-block-list.time-line > li {
   opacity: 0;
   transform: translateY(18px);
   transition: opacity 700ms ease, transform 700ms ease;
   will-change: opacity, transform;
 }
 
 .wp-block-list.time-line > li.is-visible {
   opacity: 1;
   transform: translateY(0);
 }


 
 @media (prefers-reduced-wtn: reduce) {
   .wp-block-list.time-line > li {
	 opacity: 1;
	 transform: none;
	 transition: none;
   }
 }
 
 /* MOBILE */
 @media (max-width: 768px) {
   .wp-block-list.time-line::before {
	 left: 20px;
   }
 
   .wp-block-list.time-line li {
	 width: 100%;
	 left: 0 !important;
	 padding: 2rem 1rem 2rem 3.5rem;
	 text-align: left;
   }
 
   .wp-block-list.time-line li::before {
	 left: 13px;
	 right: auto;
   }
   .wp-block-cover__inner-container {padding: 20px 0}
 }
 
 
 /* ===== Minimal Gravity Forms Grid (Theme Framework compatible) ===== */
 .gfield--type-honeypot {position: absolute; top:-100px; opacity: 0;}
 h2.gform_submission_error {
   font-size: 23px;
   font-weight: 600;
	 background: none;
	 border: none;
	 border-left: 3px solid #c0392b;
	 padding: 12px 16px;
	 margin: 0 0 24px;
	 color: #333;
	 line-height: 1.5;
	 box-shadow: none;
	 border-radius: 0;
   }
   
 .gform_required_legend {display: none}
 .gform_wrapper .gfield_description.gfield_validation_message {color: #b00; font-weight: 600}
 /* 12-col grid for each row container */
 .gform_wrapper .gform-grid-row,
 .gform_wrapper .gform_page .gform_page_fields .gform_fields {
   display: grid;
   grid-template-columns: repeat(12, minmax(0, 1fr));
   gap: 20px; /* space between fields */
 }
 
 /* Map GF width utility classes to grid spans */
 .gform_wrapper .gfield--width-full        { grid-column: span 12; }
 .gform_wrapper .gfield--width-three-quarter{ grid-column: span 9;  }
 .gform_wrapper .gfield--width-two-thirds  { grid-column: span 8;  }
 .gform_wrapper .gfield--width-half        { grid-column: span 6;  }
 .gform_wrapper .gfield--width-third       { grid-column: span 4;  }
 .gform_wrapper .gfield--width-quarter     { grid-column: span 3;  }
 
 /* Make individual fields grid items */
 .gform_wrapper .gform_fields > .gfield {
   min-width: 0; /* prevent overflow */
 }
 
 /* Complex fields (e.g., Name) use their own grid */
 .gform_wrapper .ginput_complex.gform-grid-row {
   display: grid;
   grid-template-columns: repeat(12, minmax(0, 1fr));
   gap: 16px;
 }
 
 /* Equal split for complex sub-fields when size is "auto" */
 .gform_wrapper .ginput_complex .gform-grid-col--size-auto { grid-column: span 6; }
 /* If GF outputs explicit sizes, support them too */
 .gform_wrapper .ginput_complex .gform-grid-col--size-1 { grid-column: span 1; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-2 { grid-column: span 2; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-3 { grid-column: span 3; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-4 { grid-column: span 4; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-5 { grid-column: span 5; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-6 { grid-column: span 6; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-7 { grid-column: span 7; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-8 { grid-column: span 8; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-9 { grid-column: span 9; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-10{ grid-column: span 10; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-11{ grid-column: span 11; }
 .gform_wrapper .ginput_complex .gform-grid-col--size-12{ grid-column: span 12; }
 
 /* Page footers/buttons line up under the grid */
 .gform_wrapper .gform-page-footer,
 .gform_wrapper .gform_page_footer {
   display: flex;
   gap: 12px;
   justify-content: flex-end;
   margin-top: 20px;
 }
 
 .gform_submission_error.hide_summary {
   background: rgba(192, 57, 43, 0.06);
   border: none;
   border-left: 3px solid #c0392b;
   padding: 12px 16px;
   margin: 0 0 24px;
   font-size: 0.9rem;
   font-weight: 400;
   color: #333;
   line-height: 1.5;
   box-shadow: none;
   border-radius: 6px;
   outline: none;
   -webkit-tap-highlight-color: transparent;
   -webkit-appearance: none;
 }
 
 .gform_submission_error.hide_summary:focus,
 .gform_submission_error.hide_summary:focus-visible {
   outline: none;
   box-shadow: none;
 }
 
 .gform_wrapper .gfield_description.gfield_validation_message {
   background: rgba(192, 57, 43, 0.06);
   border-left: 3px solid #c0392b;
   padding: 8px 12px;
   margin: 6px 0 0;
   font-size: 0.85rem;
   font-weight: 400;
   color: #333;
   line-height: 1.4;
   border-radius: 4px;
   outline: none;
 }
 
 /* ===== Basic input styling you can customize ===== */
 .gform_wrapper input[type="text"],
 .gform_wrapper input[type="email"],
 .gform_wrapper input[type="url"],
 .gform_wrapper input[type="tel"],
 .gform_wrapper input[type="number"],
 .gform_wrapper input[type="password"],
 .gform_wrapper input[type="date"],
 .gform_wrapper textarea,
 .gform_wrapper select {
   all: unset; 
   width: 100%;
   padding: 10px 12px;
   border: 1px solid #d6d6d6;
   border-radius: 8px;
   font-size: 16px;
   line-height: 1.4;
   box-sizing: border-box;
   background: #fff;

 }
 
 .gform_wrapper select {
padding-right: 2.5em;    /* make room for arrow */
 background: #fff url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 0.7em center;
 background-size: 1em;
 
  }
  
 .gform_wrapper .gform_page .gform_page_fields .gform_fields .gfield--type-section {
   grid-column: 1 / -1; /* spans the entire grid */
   width: 100%;         /* ensures full width */
 }
 
 .gfield.number-nights {
   width: 100px
 }
 
 .gfield--width-half.width-sm {
   grid-column: span 3;
   
 }
 
 .gfield--width-half.width-sm.width-sm-last:after {
   grid-column: span 6;
 }
 
 .gform_wrapper input:focus,
 .gform_wrapper textarea:focus,
 .gform_wrapper select:focus {
   outline: none;
   border-color: #003376;              /* match your theme color */
   box-shadow: 0 0 0 3px rgba(0,51,118,.15);
 }
 .ginput_container_number .small {width: 90px !important}
 
 /* Labels & sublabels spacing */
 .gform_wrapper .gfield_label { font-weight: 600; margin-bottom: 6px; display:block; }
 .gform_wrapper .gform-field-label--type-sub { font-size: 12px; color: #666; margin-top: 6px; display:block; }
 
 /* Sections */
 .gform_wrapper .gsection .gsection_title { font-size: 20px; margin: 10px 0; }
 
 /* Datepicker icon alignment */
 .gform_wrapper .ginput_container_date { display: flex; align-items: center; gap: 8px; }
 
 /* Validation/help text */
 .gform_wrapper .gfield_description { font-size: 13px; color: #666; margin-top: 6px; }
 fieldset {
   border: none;
   padding: 0;
   margin: 0
 }
 .gf_progressbar {background: #efefef; border-radius: 15px; margin-bottom: 20px}
 .gform-theme--framework .gf_progressbar .percentbar_blue {
 background: #003376;
 border-radius: 15px;
 color: #fff;
padding: 1px 15px 0; font-size: 0.825rem}
 
 .gsection_title {
   margin: 0;
   padding: 0
 }
 
.gform_next_button, .gform_previous_button, .gform_button  {
   all: unset; 
   font-family: var(--wp--preset--font-family--system);
   display: inline-block;
   cursor: pointer;
   padding:.9em 1.6em;
   border-radius: 30px;
   font-size: 16px;
   line-height: 1.2;
   background: transparent;
   color: #000;
   text-align: center;
   transition: all 0.2s ease;
   margin-top: 20px
 }
 
.gform_next_button:hover, .gform_previous_button:hover, .gform_button:hover{
   transform:translateY(-1px);
   box-shadow:0 6px 14px rgba(0,0,0,.06);
 }
 
 .gform_wrapper input[type="submit"] {
   background: var(--wp--preset--color--primary);
   color: #fff
   
 }
 
 .gsection {width: 100%}
 
 /* Consent checkbox */
 .ginput_container_consent {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-top: 20px
 }
 
 .ginput_container_consent input[type="checkbox"] {
   all: unset;
   flex-shrink: 0;
   width: 18px;
   height: 18px;
   border: 1px solid #d6d6d6;
   border-radius: 4px;
   background: #fff;
   cursor: pointer;
   margin-top: 2px;
   transition: border-color 0.15s, background 0.15s;
   position: relative;
 }
 
 .ginput_container_consent input[type="checkbox"]:checked {
   background: #003376;
   border-color: #003376;
 }
 
 .ginput_container_consent input[type="checkbox"]:checked::after {
   content: '';
   position: absolute;
   left: 5px;
   top: 2px;
   width: 5px;
   height: 9px;
   border: 2px solid #fff;
   border-top: none;
   border-left: none;
   transform: rotate(45deg);
 }
 
 .ginput_container_consent input[type="checkbox"]:focus {
   border-color: #003376;
   box-shadow: 0 0 0 3px rgba(0, 51, 118, 0.15);
 }
 
 .ginput_container_consent .gfield_consent_label {
   font-size: 14px;
   color: #444;
   line-height: 1.5;
   cursor: pointer;
 }
 
 .ginput_container_consent .gfield_consent_label a {
   color: #003376;
   text-decoration: underline;
   text-underline-offset: 2px;
 }

.gfield--type-consent legend.gfield_label {display: none}
 /* ===== Responsive: stack to 1 column on small screens ===== */
 @media (max-width: 640px) {
   .gform_wrapper .gfield--width-full,
   .gform_wrapper .gfield--width-three-quarter,
   .gform_wrapper .gfield--width-two-thirds,
   .gform_wrapper .gfield--width-half,
   .gform_wrapper .gfield--width-third,
   .gform_wrapper .gfield--width-quarter {
	 grid-column: span 12;
   }
 
   .gform_wrapper .ginput_complex .gform-grid-col--size-auto { grid-column: span 12; }
   .gform_wrapper .gform-page-footer,
   .gform_wrapper .gform_page_footer { justify-content: stretch; }
   .gform_wrapper .gform-page-footer .button,
   .gform_wrapper .gform_page_footer .button { width: 100%; }
 }
 
 
 .team {
   max-width: 980px;
   margin: 0 auto;
 }
 
 .team .wp-block-columns {
   position: relative;
   display: flex;
   align-items: center;
   gap: 94px;
 }
 
 /* image column */
 .team .wp-block-column:first-child {
   flex: 0 0 240px !important;
   position: relative;
 }
 
 .team .wp-block-image {
   position: relative;
   width: 240px;
   height: 240px;
   margin: 0;
   z-index: 9
 }
 
 .team .wp-block-image::before {
   content: "";
   position: absolute;
   inset: -18px;
   border-radius: 50%;
   background: #eef1f5;
   z-index: 0;
   animation: floatCircle 9s ease-in-out infinite;
 }
 
 .team .wp-block-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%;
   position: relative;
   z-index: 1;
   animation: floatImage 8s ease-in-out infinite;
 }
 
 /* text column */
 .team .wp-block-column:last-child {
   position: relative;
   flex: 1 1 auto;
   max-width: 620px;
   padding-top: 0; 
 }
 

 
 /* curved connector line */
 .team .wp-block-column.team-member-info::before {
   content: "";
   position: absolute;
	left: -90px;
   top: 70px;
   width: 70px;
   height: 60px;
   border-top: 1px solid #acacac;
   border-left: 1px solid #acacac;
   border-top-left-radius: 80px;
   background: transparent;
 }
 
 /* text styling */
 .team h4 {
   margin: 0;
   font-size: 28px;
   line-height: 1.1;
   padding: 0;
   color:var(--wp--preset--color--primary);
 }
 
 .team .wp-block-column:last-child > p:nth-child(3) {
   margin: 0 0 22px;
   font-size: 18px;
   color: #555;
 }
 
 .team .wp-block-column:last-child > p:nth-child(4) {
   margin: 0;
   max-width: 340px;
   font-size: 18px;
   line-height: 1.55;
   color: #444;
 }
 
 .team .wp-block-social-links {
   margin-top: 28px;
 }
 

 
 .team .wp-block-image {
   perspective: 900px;
 }
 
 /* image base */
 .team .wp-block-image img {
   transition: transform 0.2s ease-out, box-shadow 0.3s ease;
   transform-style: preserve-3d;
   will-change: transform;
 }


/* ========================================
   PROPERTY SINGLE
======================================== */

/* ── Hero ── */
.property-hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  /* No overflow:hidden — widget can float below hero when calendar opens */
}

.property-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.property-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay: gradient, text anchored to bottom of hero */
.property-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
	rgba(0,0,0,.65) 0%,
	rgba(0,0,0,.20) 55%,
	rgba(0,0,0,.60) 100%);
  display: flex;
  align-items: flex-end;
}

.property-hero__content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 40px;
}

.property-hero__inner {
  color: #fff;
}

.property-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
  color: inherit;
}

.property-hero__teaser {
  font-size: 1.0625rem;
  opacity: .85;
  margin: 0 0 22px;
  max-width: 560px;
  line-height: 1.55;
}

.property-hero__stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.property-hero__stat {
  font-size: .875rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 18px;
  border-radius: 999px;
}

/* "Check availability" button inside hero — uses theme accent colour */
.property-hero__book-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #D4693A;
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s, transform .1s;
}
.property-hero__book-btn:hover {
  background: #b8572e;
  transform: translateY(-1px);
}

/* ── Hero responsive ── */
@media (max-width: 900px) {
  .property-hero {
	height: auto;
	min-height: 0;
  }
  .property-hero__overlay {
	position: relative;
	inset: auto;
	min-height: 460px;
	align-items: flex-end;
  }
  .property-hero__content {
	padding: 36px 20px;
  }
}

/* ── Sticky booking bar ──
   Always at top:0; transform does all the work:
   • hidden  → translateY(-100%)  — above the viewport, never visible
   • visible + nav showing → translateY(--header-height)  — below nav
   • visible + nav hidden  → translateY(0)  — flush with viewport top
   This avoids the "110% of own height" bug where top:72px made it visible. */
.property-sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: #fff;
  border-bottom: 1px solid #e8e4df;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transform: translateY(-100%);           /* hidden above viewport */
  transition: transform .25s ease;
  will-change: transform;
}

/* Visible with nav showing — 16px gap below the header */
.property-sticky-bar.is-visible {
  transform: translateY(calc(var(--header-height, 72px)));
}

/* Nav hidden (scroll down) — move bar flush to top of viewport */
body.nav-hide .property-sticky-bar.is-visible {
  transform: translateY(0);
}

/* Admin toolbar offsets */
body.admin-bar .property-sticky-bar.is-visible {
  transform: translateY(calc(var(--header-height, 72px) + 32px + 16px));
}
body.admin-bar.nav-hide .property-sticky-bar.is-visible {
  transform: translateY(32px);
}

.property-sticky-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.property-sticky-bar__title {
  font-size: .9375rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-sticky-bar__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  background: #D4693A;          /* theme accent colour */
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .01em;
  transition: background .15s, transform .1s;
}
.property-sticky-bar__btn:hover {
  background: #b8572e;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .property-sticky-bar__inner {
	padding: 10px 16px;
  }
  .property-sticky-bar__title {
	display: none;
  }
  .property-sticky-bar__btn {
	width: 100%;
	text-align: center;
  }
}

/* ── Body ── */
.property-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 40px;
}

/* ── Info cards grid ── */
.property-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.property-info-card {
  background: #f5f4f1;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-info-card__label {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #999;
}

.property-info-card__value {
  font-size: 1.375rem;
  font-weight: 650;
  color: #111;
  line-height: 1.2;
}

.property-info-card__sub {
  font-size: .875rem;
  color: #777;
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Notable features ── */
.property-features {
  border-top: 1px solid #e5e4e0;
  padding-top: 40px;
  margin-bottom: 48px;
}

.property-features__title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 22px;
}

.property-features__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.property-features__item {
  font-size: .9375rem;
  color: #444;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.property-features__item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--wp--preset--color--primary, #766F5A);
}

/* ── Editor content ── */
.property-content {
  border-top: 1px solid #e5e4e0;
  padding-top: 48px;
  margin-top: 8px;
}

/* ── Mosaic gallery ── */
.property-gallery {
  margin-top: 60px;
}

.property-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 6px;
}

.property-mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: #e8e6e1;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}

.property-mosaic__item--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.property-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease, opacity .3s ease;
}

.property-mosaic__item:hover img {
  transform: scale(1.04);
  opacity: .9;
}

.property-mosaic__more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: .01em;
  pointer-events: none;
}

/* ── Lightbox ── */
.prop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prop-lightbox[hidden] { display: none; }

body.lightbox-open { overflow: hidden; }

.prop-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}

.prop-lightbox__close:hover { background: rgba(255,255,255,.22); }

.prop-lightbox__swiper {
  width: 100%;
  height: 100vh;
}

.prop-lightbox__swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  box-sizing: border-box;
}

.prop-lightbox__swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.prop-lightbox__swiper .swiper-button-prev,
.prop-lightbox__swiper .swiper-button-next {
  color: #fff;
  background: rgba(255,255,255,.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s ease;
}

.prop-lightbox__swiper .swiper-button-prev:hover,
.prop-lightbox__swiper .swiper-button-next:hover {
  background: rgba(255,255,255,.2);
}

.prop-lightbox__swiper .swiper-button-prev::after,
.prop-lightbox__swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.prop-lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  z-index: 10;
  pointer-events: none;
  letter-spacing: .05em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .property-info-grid {
	grid-template-columns: repeat(2, 1fr);
  }
  .property-features__list {
	grid-template-columns: repeat(2, 1fr);
  }
  .property-mosaic {
	grid-auto-rows: 200px;
  }
}

@media (max-width: 600px) {
  .property-mosaic {
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 160px;
  }
  .property-mosaic__item--hero {
	grid-column: span 2;
	grid-row: span 1;
  }
  .prop-lightbox__swiper .swiper-slide {
	padding: 56px 16px 48px;
  }
}

@media (max-width: 560px) {
  .property-body {
	padding: 40px 20px 32px;
  }
  .property-info-grid {
	grid-template-columns: 1fr 1fr;
	gap: 8px;
  }
  .property-info-card {
	padding: 16px 18px;
  }
  /* hero inner — padding is now on .property-hero__content */
  .property-features__list {
	grid-template-columns: 1fr;
  }
}



/* Mobile-only nav elements — hidden on desktop by default */
.nav-mobile-header,
.nav-mobile-footer {
  display: none;
}

/* ════════════════════════════════════════════════════════════
   MOBILE  (max-width: 990px)
   ════════════════════════════════════════════════════════════ */

@media (max-width: 990px) {

  /* ── 1. HEADER BAR ───────────────────────────────────────── */

  /* Logo far left, actions group (search + hamburger) far right */
  .header-container {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 8px 18px;
	gap: 0;
  }

  .site-branding {
	flex: 0 0 auto;
	margin-right: auto; /* pushes everything else to the right */
  }

  /* Hide desktop-only CTAs on mobile */
  .header-btn--outline,
  .header-btn--primary {
	display: none !important;
  }

  /* Tidy up actions group — search left of hamburger */
  .header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	margin-right: 0;
	flex-shrink: 0;
  }

  /* Search button */
  .floating-search {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	order: 1;
  }

  .floating-search svg {
	width: 22px;
	height: 22px;
  }

  /* Hamburger */
  .mobile-menu {
	width: 38px;
	height: 38px;
	padding: 0;
	order: 2;
  }


  /* ── 2. MOBILE NAV LAYOUT ───────────────────────────────── */

  /* Nav panel: flex column so logo sits top, menu centres, Book Now sits bottom */
  #site-navigation.is-open {
	display: flex !important;
	flex-direction: column;
  }

  /* Logo in top-left of nav */
  .nav-mobile-header {
	padding: 28px 24px 0 40px;
	flex-shrink: 0;
  }

  /* Invert logo colours for dark nav background */
  .nav-mobile-header .site-logo svg {
	filter: brightness(0) invert(1) !important;
	height: 36px;
	animation: none;
  }

  .nav-mobile-header .site-logo img {
	filter: brightness(0) invert(1) !important;
	height: 36px;
	width: auto;
  }

  /* Menu container: grows to fill space, centres items vertically */
  #site-navigation .menu-navigation-container,
  #site-navigation .menu-navigation-de-container,
  #site-navigation .menu-navigation-gb-container {
	position: relative !important;
	inset: auto !important;
	flex: 1;
	display: flex !important;
	align-items: center;
	margin-top: 0;
	padding: 20px 40px 20px 40px;
	width: 100%;
	height: auto;
  }

  /* Menu list fills the container */
  #primary-menu {
	width: 100% !important;
  }

  /* Generous padding on each nav link — 40px left to match container */
  #primary-menu > li > a {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	padding-left: 40px !important;
	font-size: 2rem !important;
  }

  /* Book Now CTA at the bottom */
  .nav-mobile-footer {
	padding: 0 40px 48px 40px;
	flex-shrink: 0;
  }

  .nav-mobile-book {
	display: inline-block;
	padding: 16px 36px;
	background: #D4693A;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .04em;
	border-radius: 999px;
	text-decoration: none;
	transition: background .2s ease;
  }

  .nav-mobile-book:hover {
	background: #c05830;
  }

  /* Show nav header/footer only on mobile */
  .nav-mobile-header,
  .nav-mobile-footer {
	display: block;
  }


  /* ── 3. TRAVEL-THEMED SLIDEOUT ────────────────────────────── */

  /* Dark tropical night background — replaces frosted white glass */
  #site-navigation::before {
	background: linear-gradient(160deg, #0e2020 0%, #1b2e28 45%, #2a3020 100%) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
  }

  /* Fallback: also set bg on the nav itself in case ::before doesn't cover */
  #site-navigation.is-open {
	background: #0e2020;
	border-radius: 0 !important;
	outline: none !important;
  }

  /* White/warm dividers between items */
  #site-navigation.is-open #primary-menu > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* Large nav links — white on dark */
  #site-navigation.is-open #primary-menu > li > a {
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 300;
	letter-spacing: -.03em;
  }

  #site-navigation.is-open #primary-menu > li > a:hover {
	color: #D4693A !important;
  }

  /* Chevron arrow — white */
  #site-navigation.is-open #primary-menu > .menu-item-has-children > a::after {
	border-color: rgba(255, 255, 255, 0.55) !important;
  }

  /* Hamburger bars stay white while nav is open */
  body.nav-open .mobile-menu .bar,
  .mobile-menu[aria-expanded="true"] .bar {
	background: #fff !important;
  }

  /* Add "Book Now" CTA link inside the open nav at the bottom */
  #site-navigation .menu-navigation-container::after,
  #site-navigation .menu-navigation-gb-container::after {
	content: 'Book Now →';
	display: inline-block;
	margin-top: 36px;
	padding: 14px 32px;
	background: #D4693A;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .04em;
	border-radius: 999px;
	text-decoration: none;
	pointer-events: none; /* decorative — actual link is in nav */
  }


  /* ── 3. CONTENT PADDING ─────────────────────────────────── */

  /* Standalone paragraphs and headings outside columns/covers */
  .entry-content > .wp-block-paragraph,
  .entry-content > .wp-block-heading,
  .entry-content > h1,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > h4,
  .entry-content > p {
	padding-left: 20px;
	padding-right: 20px;
  }

  /* Images: add breathing room and soften edges */
  .wp-block-image:not(.alignfull):not(.alignwide) {
	padding-left: 20px;
	padding-right: 20px;
  }

  .wp-block-image:not(.alignfull):not(.alignwide) img,
  .wp-block-media-text__media img {
	border-radius: 12px;
  }

  /* General page content container */
  .entry-content {
	padding: 0;
  }

  /* Gallery images */
  .wp-block-gallery {
	padding: 0 20px;
  }

  /* Group blocks that act as sections */
  .wp-block-group:not(.alignfull):not(.alignwide) {
	padding-left: 20px;
	padding-right: 20px;
  }

  /* Query loop (blog/archive listings) */
  .wp-block-query {
	padding-left: 20px;
	padding-right: 20px;
  }

}

/* ── Sticky booking bar — mobile fix ───────────────────── */

@media (max-width: 600px) {
  .property-sticky-bar__inner {
	padding: 10px 16px;
	gap: 10px;
  }

  .property-sticky-bar__title {
	display: none;
  }

  .property-sticky-bar__btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 14px 20px;
	white-space: nowrap;
  }
}


/* ── Card grid — compact on mobile ─────────────────────── */

@media (max-width: 990px) {

  /* Tighter outer pill (generic cards not inside #hero-cat) */
  .wp-block-columns.card {
	padding: 5px !important;
	gap: 4px !important;
	border-radius: 20px !important;
  }

  /* Keep stitched groups flush on mobile */
  .wp-block-columns.card + .wp-block-columns.card {
	margin-top: 2px !important;
  }

  /* ── #hero-cat: unified glass wrapper on mobile ─────────── */

  /* Outer columns wrapper becomes the single glass card */
  #hero-cat {
	background: rgba(255, 255, 255, 0.20) !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	gap: 0 !important;
	padding: 5px !important;
	box-shadow:
	  0 8px 32px rgba(0,0,0,.18),
	  inset 0 1px 0 rgba(255,255,255,.25) !important;
	flex-direction: column !important;
  }

  /* No gap between the two stacked outer columns */
  #hero-cat > .wp-block-column {
	margin: 0 !important;
	padding: 0 !important;
  }

  /* Strip glass from inner card groups — they're now inside the unified wrapper */
  #hero-cat .wp-block-columns.card {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	gap: 3px !important;
	border-radius: 0 !important;
	margin: 0 !important;
	min-height: unset !important;
  }

  /* No extra margin between the two card groups inside hero-cat */
  #hero-cat .wp-block-columns.card + .wp-block-columns.card {
	margin-top: 3px !important;
  }

  /* Individual tile border-radius */
  #hero-cat .wp-block-columns.card > .wp-block-column {
	border-radius: 12px !important;
  }

  /* Cover height handled below, after the generic card rules */

  /* Media-text row inside hero-cat — tighter */
  #hero-cat .wp-block-media-text {
	gap: 10px !important;
	align-items: center !important;
  }

  #hero-cat .wp-block-media-text__media img {
	width: 26px !important;
	height: 26px !important;
	filter: none !important;
  }

  #hero-cat .card h3,
  #hero-cat .wp-block-heading {
	font-size: .95rem !important;
	margin: 0 !important;
	line-height: 1.2 !important;
  }

  #hero-cat .card p,
  #hero-cat .wp-block-media-text__content p {
	font-size: .78rem !important;
	padding-top: 2px !important;
	margin: 0 !important;
	opacity: .85;
  }

  /* Smaller inner tiles */
  .wp-block-columns.card > .wp-block-column {
	border-radius: 14px;
  }

  /* Shorter cover height on mobile (generic cards) */
  .wp-block-columns.card .wp-block-cover {
	min-height: 160px !important;
	border-radius: 12px;
  }

  /* Smaller type inside cards */
  .card h3 { font-size: 1rem; }
  .card p  { font-size: .78rem; padding-top: 5px; }
  .card img { width: 24px; }

  /* ── #hero-cat overrides — must come AFTER generic card rules ── */

  /* Reset cover height so it grows with content only */
  #hero-cat .wp-block-columns.card .wp-block-cover {
	min-height: 0 !important;
	height: auto !important;
	padding: 10px 12px !important;
	border-radius: 10px !important;
  }

  #hero-cat .wp-block-cover__inner-container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
  }

  /* Kill double hover — disable ::after colour overlay inside hero-cat */
  #hero-cat .wp-block-columns.card > .wp-block-column:hover .wp-block-cover::after {
	background: transparent !important;
  }

  /* Kill the generic box-shadow lift inside hero-cat */
  #hero-cat .wp-block-columns.card > .wp-block-column:hover {
	box-shadow: none !important;
  }

}


/* ── Extra small (< 480px) ─────────────────────────────── */

@media (max-width: 480px) {

  /* Tighten header padding on very small screens */
  .header-container {
	padding: 6px 14px;
  }

  /* Hero covers: more compact */
  .wp-block-cover:not(.footer) {
	min-height: 50vh;
  }

  /* Card layout: single column on very small screens */
  .wp-block-columns.card {
	flex-direction: column;
  }

  .wp-block-columns.card > .wp-block-column {
	flex-basis: 100% !important;
  }

  /* Even shorter covers at xs */
  .wp-block-columns.card .wp-block-cover {
	min-height: 130px !important;
  }

}
