.site-nav ul{padding:0;margin:0;list-style:none;display:flex;align-items:center;gap:1.25rem;font-size:.83rem;color:#514b6b}.site-nav li{margin:0}.site-nav a:hover{color:var(--gold)}.site-language{display:none}.footer-language{font-size:14px;color:#c7c0d7}.footer-language>span{display:block;margin-bottom:.55rem;letter-spacing:.1em;text-transform:uppercase;font-size:14px}.footer-language .trp-language-switcher{width:auto!important;background:transparent!important;border:0!important}.footer-language .trp-language-switcher>div{display:none!important}.footer-language .trp-language-switcher>div:first-child{display:block!important;padding:0!important;background:transparent!important;border:0!important}.footer-language .trp-language-switcher a{display:flex!important;align-items:center!important;gap:.4rem!important;color:#fff!important}.site-footer__inner{grid-template-columns:1.4fr 1fr .55fr .7fr}@media(max-width:980px){.site-nav ul{gap:.8rem;font-size:.73rem}.site-footer__inner{grid-template-columns:1.4fr 1fr .55fr .7fr}}@media(max-width:800px){.site-footer__inner{grid-template-columns:1fr}.footer-language{margin-top:1rem}}

/* Header buttons (Sign In / Join Lotus Sanctuary / Book A Session) */
.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.header-actions__link {
	font-size: 15px; /* Sign In / My Account (owner review #68) */
	color: #2b2118;
	text-decoration: none;
}
.header-actions .button {
	/* app.css hides .button--small at <=800px and uppercases .button. */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	letter-spacing: normal;
	text-transform: none;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 12px;
	white-space: nowrap;
	text-decoration: none;
}
.header-actions__join {
	background: #543884;
	border: 1px solid #543884;
	color: #fff;
	font-weight: 400;
}
.header-actions__book {
	background: #fff;
	border: 1px solid #ce9f67;
	color: #2b2118;
	font-weight: 600;
}
.header-actions__link:hover,
.header-actions__link:focus-visible {
	color: var(--gold, #ce9f67);
}

/* Header button overrides.
   homepage-overrides.css (loaded later) styles every a.button with
   !important, adding a purple fill, chevron (::after) and dash (::before).
   These selectors are scoped to .site-header .header-actions (desktop header and
   mobile menu) so they win on specificity, without touching the global rules,
   including the Persian [dir="rtl"] a.button padding rule, which otherwise added
   chevron space on one side of these chevron-less buttons. */
.site-header .header-actions a.button.header-actions__join,
.site-header .header-actions a.button.header-actions__book {
	min-height: 0 !important;
	padding-block: 8px !important;
	padding-inline: 16px !important;
	font-size: 13px !important; /* owner review #68: the two header buttons keep their own look, at 13px */
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
}
.site-header .header-actions a.button.header-actions__join {
	background: #543884 !important;
	border-color: #543884 !important;
	color: #fff !important;
	font-weight: 400 !important;
}
.site-header .header-actions a.button.header-actions__book {
	background: #fff !important;
	border-color: #ce9f67 !important;
	color: #2b2118 !important;
	font-weight: 600 !important;
}
.site-header .header-actions a.button.header-actions__join::before,
.site-header .header-actions a.button.header-actions__join::after,
.site-header .header-actions a.button.header-actions__book::before,
.site-header .header-actions a.button.header-actions__book::after {
	content: none !important;
	display: none !important;
}
.site-header .header-actions a.button.header-actions__join:hover,
.site-header .header-actions a.button.header-actions__join:focus-visible,
.site-header .header-actions a.button.header-actions__book:hover,
.site-header .header-actions a.button.header-actions__book:focus-visible {
	background: #ce9f67 !important;
	border-color: #ce9f67 !important;
	color: #2f214c !important;
	box-shadow: none !important;
}
.site-header .header-actions a.button.header-actions__join:focus-visible,
.site-header .header-actions a.button.header-actions__book:focus-visible,
.site-header .header-actions a.header-actions__link:focus-visible {
	outline: 2px solid #2f214c !important;
	outline-offset: 0 !important;
}

/* Mega-menu dropdowns.
   Structure recap (see inc/mega-menu-walker.php for the full explanation):
   top-level item -> .sub-menu--level-1 (the dropdown panel itself)
     -> either leaf links directly (e.g. Media), or column-heading items
        which each contain their own -> .sub-menu--level-2 (the actual
        links under that heading, e.g. under "Healing Pathway").

   IMPORTANT: everything specific to the desktop hover/flyout/multi-column
   treatment lives inside the min-width:782px query below. Earlier versions
   had these rules unscoped (applying at every width), and because some of
   them had higher CSS specificity than the mobile accordion's reset rules,
   they could bleed through and fight with the mobile behavior in
   inconsistent ways depending on exact render conditions. Keeping desktop
   and mobile fully walled off from each other avoids that class of bug
   entirely, regardless of specificity math. */

.site-nav .menu-item-has-children {
	position: relative;
}

.site-nav .menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.lotus-nav-caret {
	display: inline-block;
	width: .55em;
	height: .55em;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-image: var(--lotus-chevron-icon);
	mask-image: var(--lotus-chevron-icon);
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	transform: rotate(90deg);
	transition: transform .2s ease;
}

.site-nav .menu-item-has-children:not(.is-dismissed):has(:focus-visible) > .lotus-nav-toggle .lotus-nav-caret,
.site-nav .menu-item-has-children.is-open > .lotus-nav-toggle .lotus-nav-caret {
	transform: rotate(-90deg);
}

.site-nav .menu-item-has-children.is-open > a {
	color: var(--gold); /* Open menu: same gold as hover. No bold, so the word never widens and the menu never shifts (owner, 11 Oct). */
}

/* Column heading text/color treatment - shared by both breakpoints since
   it's purely cosmetic (color, font, caps) and doesn't affect layout. */
.site-nav .sub-menu--level-1 > .menu-item-has-children > a {
	color: var(--lotus-gold);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
}
/* Column headings are real links to their own pages (owner review #68). */
.site-nav .sub-menu--level-1 > .menu-item-has-children > a:hover,
.site-nav .sub-menu--level-1 > .menu-item-has-children > a:focus-visible {
	color: var(--lotus-purple, #543884);
}

/* Dropdown toggle: a separate button after each top-level label that has a dropdown, so the
   label itself can link to its page (owner review #68). Neutral on every breakpoint; it only
   carries the caret. */
.site-nav .lotus-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 24px;
	min-height: 24px;
	margin: 0;
	margin-inline-start: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}
.site-nav .lotus-nav-toggle::before,
.site-nav .lotus-nav-toggle::after {
	content: none;
}
.site-nav .lotus-nav-toggle:hover,
.site-nav .menu-item-has-children.is-open > .lotus-nav-toggle {
	color: var(--gold, #ce9f67);
	background: transparent;
}
.site-nav .lotus-nav-toggle:focus-visible {
	outline: 2px solid var(--gold, #ce9f67);
	outline-offset: 0;
}

.lotus-nav-desc {
	display: block;
	margin-top: .15rem;
	color: var(--lotus-copy);
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 400;
	white-space: normal;
}

.site-nav .sub-menu--level-2 a,
.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a {
	display: block;
	color: var(--lotus-purple);
	font-family: var(--sans);
	font-size: 13px;
}
.site-nav .sub-menu--level-2 a:hover,
.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a:hover {
	color: var(--gold);
}

/* ================= DESKTOP (>= 1280px): hover flyouts, columns =================
   One breakpoint for the whole header (menu toggle, nav panel, action
   groups, dropdowns). Below it the eight items plus the action group no
   longer fit on one line, so the mobile layout takes over. app.css and
   design-system.css only know 800px / 781px; the header selectors here are
   prefixed with .site-header so they win over those without !important. */
@media (min-width: 1280px) {
	.site-header {
		position: relative;
	}
	/* One row: logo | navigation starting right after the logo | action group at the end. */
	.site-header .site-header__inner {
		display: grid;
		/* Logo | navigation right after it | action group pushed to the end (owner, 12 Oct). */
		grid-template-columns: max-content minmax(0, 1fr) max-content;
		align-items: stretch;
		max-width: 1440px;
		min-height: 72px; /* owner review #68 (was 84px) */
		padding-block: 0;
		padding-inline: 44px;
		gap: 24px;
	}
	.site-header .brand {
		align-self: center;
		justify-self: start;
		flex-shrink: 0;
	}
	.site-header .site-nav {
		display: flex;
		align-items: stretch;
		justify-content: flex-start;
		min-width: 0;
		padding-inline-start: 36px; /* owner review #68 (was 24px) */
	}
	.site-header .site-nav > ul {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 15px;
	}
	/* Links fill the header height so the pointer never crosses a dead zone
	   between a trigger and its dropdown. */
	.site-header .site-nav > ul > li {
		display: flex;
		align-items: stretch;
	}
	.site-header .site-nav > ul > li > .lotus-nav-toggle {
		align-self: center;
	}
	.site-header .site-nav > ul > li > a {
		display: inline-flex;
		align-items: center;
		white-space: nowrap;
		font-size: 15px !important; /* all header navigation text is 15px (owner 15 Nov) */
	}
	.site-header .site-header__actions {
		align-self: center;
		justify-self: end;
	}
	.site-header .site-nav .site-nav__actions,
	.site-header .site-menu-toggle {
		display: none;
	}

	/* Dropdowns open centred beneath their own menu button (design corrections, PR #102): the
	   panel's start edge sits at the middle of the button and `translate` pulls it back by half
	   its own width (the opposite way in RTL). `translate` is a separate property, so the
	   open/close `transform: translateY()` animation below is untouched. interactions.js shifts
	   an open panel back inside the viewport through --lotus-nav-shift when it would cross a
	   screen edge (LTR and RTL). Panels are sized to their content and capped to the viewport width. */
	/* Open state is driven only by the trigger: JS (interactions.js) adds
	   .is-open on pointer-enter of the top-level <li> (trigger + its own
	   panel, never page content) and removes it on leave; keyboard focus uses
	   :focus-visible. There is deliberately NO :hover / :focus-within rule, so
	   an invisible panel or bridge can never open the menu.

	   Bridge above the panel so the pointer can travel from the header
	   edge into the panel. It is a child of the panel, so while the panel is
	   hidden (visibility:hidden, pointer-events:none) it is not hit-testable. */
	.site-nav .sub-menu--level-1::before {
		content: "";
		position: absolute;
		inset-inline: 0;
		top: -10px;
		height: 10px;
	}

	.site-nav .sub-menu--level-1 {
		position: absolute;
		top: 100%;
		inset-inline-start: calc(50% + var(--lotus-nav-shift, 0px));
		translate: -50% 0;
		/* 20px higher than before (it sat 10px below an 84px header; the header is now 72px). */
		margin-top: 0; /* owner 13 Oct */
		background: #fff;
		border-radius: 1rem;
		box-shadow: var(--lotus-shadow);
		padding: 32px;
		border: 1px solid #f0ebe1;
		width: max-content;
		min-width: 220px;
		max-width: calc(100vw - 32px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(6px);
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
		z-index: 40;
	}

	[dir="rtl"] .site-nav .sub-menu--level-1 { translate: 50% 0; }

	.site-nav .menu-item-has-children:not(.is-dismissed):has(:focus-visible) > .sub-menu--level-1,
	.site-nav .menu-item-has-children.is-open > .sub-menu--level-1 {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
		transition-delay: 0s;
	}

	/* Multi-column layout: only kicks in when the dropdown's direct
	   children are themselves heading groups (nested menu-item-has-children),
	   like Offerings (3 groups) or Programs (1 group). A flat dropdown like
	   Media, with no heading groups, stays a simple vertical list. */
	.site-nav .sub-menu--level-1:has(> .menu-item-has-children) {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 48px;
	}
	.site-nav .sub-menu--level-1:has(> .menu-item-has-children) > .menu-item-has-children {
		flex: 0 1 auto;
		min-width: 170px;
	}
	.site-nav .sub-menu--level-1 > .menu-item-has-children > a {
		white-space: nowrap;
		margin-bottom: 10px;
	}

	/* Level 2: plain in-flow content, visible any time its parent heading
	   is visible - there's no separate per-heading toggle on desktop. */
	.site-nav .sub-menu--level-2 {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		box-shadow: none;
		padding: 0;
		margin: 0;
		min-width: 0;
		display: block;
	}
	.site-nav .sub-menu--level-2 li {
		margin-bottom: 0;
	}
	.site-nav .sub-menu--level-2 a,
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a {
		padding: 7px 0;
	}
	.site-nav .sub-menu--level-2 li:last-child {
		margin-bottom: 0;
	}
	.site-nav .sub-menu--level-2 a,
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a {
		white-space: nowrap;
	}

	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) {
		display: block;
	}
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) li {
		margin-bottom: 0;
	}
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) li:last-child {
		margin-bottom: 0;
	}

	/* Panel type per the mockup. homepage-overrides.css forces every
	   .site-nav link to 15px !important, so these need !important too. */
	.site-header .site-nav .sub-menu--level-1 > .menu-item-has-children > a {
		font-size: 15px !important; /* all header navigation text is 15px (owner 15 Nov) */
	}
	.site-header .site-nav .sub-menu--level-2 a,
	.site-header .site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a {
		font-size: 15px !important; /* all header navigation text is 15px (owner 15 Nov) */
	}
}

/* Narrow desktops (1280-1399px): 15px links plus the action group are tight, so the
   side margins, the logo gap and the space between links shrink here only. */
@media (min-width: 1280px) and (max-width: 1399px) {
	.site-header .site-header__inner { padding-inline: 24px; gap: 12px; }
	.site-header .site-nav { padding-inline-start: 0; }
	.site-header .site-nav > ul { gap: 20px; } /* owner 13 Oct */
	.site-header .site-header__actions { gap: 10px; }
}
/* 1400-1499px: the owner's 36px menu indent stays; outer margins and link spacing are a
   little smaller so a signed-in header (My Account) still fits on one line. */
@media (min-width: 1400px) and (max-width: 1499px) {
	.site-header .site-header__inner { padding-inline: 32px; gap: 16px; }
	.site-header .site-nav > ul { gap: 12px; }
}

/* ================= MOBILE (< 1280px): tap accordion =================
   design-system.css styles the toggle and the opened panel only up to
   781px; the header rules below extend the same look up to 1279px. */
@media (max-width: 1279px) {
	.site-header .site-header__inner {
		display: flex;
		justify-content: space-between;
	}
	.site-header .site-menu-toggle {
		display: block;
		margin-left: 0;
		margin-inline-start: auto;
	}
	.site-header .site-nav {
		display: none !important;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		max-height: 80vh;
		overflow-y: auto;
		padding: 24px;
		background: #fff;
		border-top: 1px solid var(--lotus-border, #f0ebe1);
		border-radius: 0 0 .75rem .75rem;
		box-shadow: 0 18px 38px rgba(48, 38, 66, .12);
	}
	.site-header .site-nav.is-open {
		display: block !important;
	}
	.site-header .site-nav > ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 15px !important;
	}
	.site-header .site-nav a {
		display: block;
		padding: 13px 8px;
	}
	.site-header .site-nav .header-actions .button {
		display: inline-flex;
		padding: 8px 16px;
	}
	.site-nav .sub-menu--level-1 {
		background: #fbfaf7;
		border-radius: .75rem;
	}
	.site-nav .sub-menu--level-2 {
		background: transparent;
	}
	.site-nav .sub-menu--level-1,
	.site-nav .sub-menu--level-2 {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		display: none;
		min-width: 0;
		margin: 0;
		padding: 1rem .5rem;
	}

	.site-nav .menu-item-has-children.is-open > .sub-menu--level-1,
	.site-nav .menu-item-has-children.is-open .sub-menu--level-2 {
		display: block;
	}

	.site-nav .sub-menu--level-1 > .menu-item-has-children > a {
		margin-top: .2rem;
		margin-bottom: 4px;
	}

	.site-nav .sub-menu--level-2 li,
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) li {
		margin-bottom: .35rem;
	}
	.site-nav .sub-menu--level-2 li:last-child,
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) li:last-child {
		margin-bottom: 0;
	}
	.site-nav .sub-menu--level-2 {
		margin-inline-start: 0;
	}
	.site-nav .sub-menu--level-2 a,
	.site-nav .sub-menu--level-1:not(:has(> .menu-item-has-children)) a {
		padding-block: 8px;
		padding-inline: 16px 0;
		color: #6b6055;
	}
	.site-nav .sub-menu--level-1 > .menu-item-has-children > a {
		font-size: 15px;
		padding-block: 10px 5px;
		padding-inline: 16px 0;
	}
	.site-nav > ul > .menu-item-has-children.is-open {
		margin-bottom: 15px;
	}
	.site-header__inner > .site-header__actions {
		display: none;
	}
	/* Row dividers and caret alignment (caret sits at the row's end edge). */
	.site-header .site-nav > ul > li {
		border-bottom: 1px solid var(--lotus-border, #f0ebe1);
	}
	.site-header .site-nav > ul > li > a {
		padding-inline: 0;
	}
	/* Top-level row: the label link fills the row; its dropdown toggle sits at the end edge
	   with a full-size touch target; the panel opens on its own line below. */
	.site-header .site-nav > ul > .menu-item-has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.site-header .site-nav > ul > .menu-item-has-children > a {
		display: block;
		flex: 1 1 auto;
		min-width: 0;
	}
	.site-header .site-nav > ul > .menu-item-has-children > .lotus-nav-toggle {
		min-width: 44px;
		min-height: 44px;
		margin: 0;
	}
	.site-header .site-nav > ul > .menu-item-has-children > .sub-menu--level-1 {
		flex: 0 0 100%;
	}
	/* Join and Book are stacked, each the full menu width; Sign In / My
	   Account is centred beneath them. Selectors carry .site-header so they
	   beat the generic mobile button rule above. */
	.site-header .site-nav .site-nav__actions {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-block-start: 24px;
		text-align: center;
	}
	.site-header .site-nav .site-nav__actions .button {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
		padding: 12px 16px;
	}
	.site-header .site-nav .site-nav__actions .header-actions__link {
		order: 3;
		align-self: center;
		padding-block: 8px;
	}
}
