/*
 * Lotus Retreat Center design system
 * Shared by the editable homepage and all native-block service pages.
 */
:root {
	--lotus-purple: #363061;
	--lotus-purple-dark: #27224e;
	--lotus-gold: #CE9F67; /* brand gold (was #c69c4e; owner decision 25 Nov 2026) */
	--lotus-cream: #fbfaf7;
	--lotus-lavender: #eeeaff;
	--lotus-blue: #f2f8fc;
	--lotus-blush: #fbf6f3;
	--lotus-ink: #24213d;
	--lotus-copy: #383E48;
	--lotus-border: rgba(84, 56, 132, .16);
	--lotus-shadow: 0 14px 36px rgba(48, 38, 66, .10);
	--lotus-max: 1240px;
	--lotus-section-gap: 120px;
}

html {
	overflow-x: hidden;
}

body {
	background: var(--lotus-cream);
	color: var(--lotus-copy);
	font-size: clamp(1rem, .35vw + .94rem, 1.125rem);
	line-height: 1.2;
	letter-spacing: .025rem;
	overflow-x: hidden;
}

body p,
body li,
body a,
body button {
	line-height: 1.6;
	letter-spacing: .025rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
	color: var(--lotus-purple);
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.5 !important; /* owner 30 Nov 2026 (was 1.2): every heading, English and Persian */
	letter-spacing: .02rem !important;
	text-transform: capitalize;
}

.lotus-page-editable,
.lotus-home-editable {
	background: var(--lotus-cream);
	width: 100%;
}

.lotus-page-editable > *,
.lotus-home-editable > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.lotus-page-editable .lotus-section,
.lotus-home-editable .lotus-section {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: var(--lotus-max);
	padding: 60px clamp(24px, 5vw, 56px);
	width: 100%;
}

.lotus-page-editable .lotus-section--intro,
.lotus-home-editable .lotus-section--intro {
	max-width: 900px;
	padding-top: 120px;
	padding-bottom: 120px;
	text-align: center;
}

.lotus-page-editable .lotus-section + .lotus-section,
.lotus-home-editable .lotus-section + .lotus-section {
	margin-top: 0;
}

.lotus-page-editable .lotus-offerings-intro,
.lotus-home-editable .lotus-offerings-intro {
	padding-top: 60px;
	padding-bottom: 50px;
}

.lotus-page-editable .lotus-offerings-group,
.lotus-home-editable .lotus-offerings-group {
	padding-top: 50px;
	padding-bottom: 50px;
}

p.lotus-eyebrow,
p.eyebrow,
.lotus-page-editable p.is-style-eyebrow {
	color: #ce9f67;
	font-family: var(--sans);
	font-size: 20px !important;
	font-weight: 500;
	letter-spacing: .12rem !important;
	line-height: 1.2 !important;
	margin: 0 0 1rem !important;
	text-transform: uppercase !important;
}
/* Persian has no case or letter-spacing; keep RTL eyebrows natural. */
html:lang(fa) p.lotus-eyebrow,
html:lang(fa) p.eyebrow,
html:lang(fa) .lotus-page-editable p.is-style-eyebrow {
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.lotus-display,
.lotus-display-heading {
	font-size: clamp(3rem, 5.6vw, 5.6rem) !important;
}

.lotus-section-title,
.lotus-section-heading {
	font-size: clamp(2.25rem, 4vw, 4rem) !important;
}

/* NOTE: a rule used to force "Our Journey" headings to 52px here on
   desktop — removed, since it was overriding the correct 44px sizing
   (higher specificity than the fix in homepage-overrides.css, so it won
   regardless of file load order). The mobile responsive clamp() rule
   further down this file is unaffected and still applies. */

.lotus-editorial {
	align-items: center !important;
	column-gap: clamp(48px, 7vw, 112px) !important;
	margin-inline: auto !important;
	max-width: 1120px !important;
	padding-top: 60px;
	padding-bottom: 60px;
}

.lotus-editorial > .wp-block-column {
	align-self: center;
	min-width: 0;
}

.lotus-editorial figure,
.lotus-editorial .wp-block-image {
	margin: 0 auto;
	text-align: center;
}

/* Universal rule: every photo across the site gets rounded corners,
   matching the 1.5rem radius already used on card/box patterns. Scoped
   to real content images (editable page/home areas + blog post body),
   not UI chrome like the site logo or nav icons, so those stay
   untouched. */
.lotus-editorial img,
.lotus-sacred-art img,
.lotus-page-editable .wp-block-image img,
.lotus-home-editable .wp-block-image img,
.entry-content img {
	border-radius: 1.5rem;
	display: block;
	height: auto;
	margin-inline: auto;
	max-width: 100%;
	object-fit: contain;
}

.lotus-editorial img {
	max-height: 620px;
	width: auto;
}

/* Full-width editable hero with a restrained singing-bowl curve. */
.lotus-hero,
.lotus-page-hero,
.lotus-page-editable > .wp-block-cover:first-child {
	isolation: isolate;
	min-height: clamp(560px, 66vw, 760px);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.lotus-hero,
.lotus-page-hero {
	border-radius: 0 0 50% 50% / 0 0 7% 7%;
}

.lotus-page-editable > .wp-block-cover:first-child {
	border-radius: 0 0 50% 50% / 0 0 7% 7%;
}

.lotus-hero .wp-block-cover__inner-container,
.lotus-page-hero .wp-block-cover__inner-container,
.lotus-page-editable > .wp-block-cover:first-child .wp-block-cover__inner-container {
	margin-inline: auto;
	max-width: 900px;
	padding-inline: 24px;
	text-align: center;
	width: 100%;
}

.lotus-hero .wp-block-buttons,
.lotus-page-hero .wp-block-buttons,
.lotus-page-editable > .wp-block-cover:first-child .wp-block-buttons {
	justify-content: center;
}

/* Button styling now lives entirely in homepage-overrides.css, which loads
   after this file. The rules that used to be here targeted ".button" —
   matching the wp-block-button WRAPPER <div>, not just the inner <a> link —
   which rendered a second, stray, centered chevron below every button. */


.is-style-outline .wp-block-button__link,
.lotus-button.is-style-outline .wp-block-button__link,
.lotus-button--light .wp-block-button__link {
	background: #fff !important;
	border-color: #fff !important;
	color: var(--lotus-purple) !important;
}

.is-style-outline .wp-block-button__link:hover,
.lotus-button.is-style-outline .wp-block-button__link:hover,
.lotus-button--light .wp-block-button__link:hover {
	background: var(--lotus-gold) !important;
	border-color: var(--lotus-gold) !important;
	color: var(--lotus-purple-dark) !important;
}

/* Cards and FAQs use the same quiet elevation language. */
.lotus-card,
.lotus-service-card,
.lotus-related-card,
.lotus-review-card {
	background: #fff;
	border: 1px solid var(--lotus-border);
	border-radius: 22px;
	box-shadow: var(--lotus-shadow);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.lotus-card:hover,
.lotus-service-card:hover,
.lotus-related-card:hover,
.lotus-review-card:hover {
	border-color: rgba(206, 159, 103, .65);
	box-shadow: 0 22px 48px rgba(48, 38, 66, .16);
	transform: translateY(-7px) scale(1.015);
}

.lotus-faq details,
.lotus-page-editable details {
	background: #fff;
	border: 1px solid var(--lotus-border);
	border-radius: 12px;
	margin-bottom: 10px;
	padding: 0;
}

.lotus-faq summary,
.lotus-page-editable details summary {
	cursor: pointer;
	font-weight: 600;
	padding: .85rem 1.15rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	list-style: none;
}
.lotus-faq summary::-webkit-details-marker,
.lotus-page-editable details summary::-webkit-details-marker {
	display: none;
}
.lotus-faq summary::after,
.lotus-page-editable details summary::after {
	content: "";
	display: inline-block;
	flex-shrink: 0;
	width: .8em;
	height: .8em;
	background-color: #CE9F67;
	-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;
}
.lotus-faq details[open] summary::after,
.lotus-page-editable details[open] summary::after {
	transform: rotate(-90deg);
}

.lotus-faq details > *:not(summary),
.lotus-page-editable details > *:not(summary) {
	padding-inline: 1.15rem;
	padding-block: 0 1rem;
	margin: 0;
	text-align: left;
	font-size: 16px;
	color: #514968;
}

/* Review placement: exactly two cards per desktop view. */
.lotus-reviews {
	max-width: none !important;
	padding: 0 max(24px, calc((100% - var(--lotus-max)) / 2)) !important;
}

.lotus-reviews__heading {
	margin: 0 auto 48px;
	max-width: 820px;
	text-align: center;
}

.lotus-review-carousel {
	margin-inline: auto;
	max-width: var(--lotus-max);
	overflow: hidden;
	width: 100%;
}

.lotus-review-track {
	display: grid !important;
	gap: 28px !important;
	grid-auto-columns: calc((100% - 28px) / 2);
	grid-auto-flow: column;
	overflow-x: auto;
	padding: 10px 8px 34px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.lotus-review-track::-webkit-scrollbar {
	display: none;
}

.lotus-review-card {
	box-sizing: border-box;
	border: 1px solid var(--lotus-gold);
	border-radius: 15px;
	min-height: 290px;
	padding: clamp(28px, 4vw, 48px);
	scroll-snap-align: start;
}

.lotus-review-card:hover {
	border-color: var(--lotus-gold);
}

.lotus-review-card blockquote,
.lotus-review-card .lotus-review-text {
	color: var(--lotus-purple);
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.25vw, 1.5rem) !important;
	line-height: 1.35 !important;
	margin: 1rem 0 1.5rem;
}

.lotus-review-stars {
	color: var(--lotus-gold);
	letter-spacing: .12rem;
}

.lotus-review-controls {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 18px;
}

.lotus-review-controls button {
	background: #fff;
	border: 1px solid var(--lotus-purple);
	border-radius: 999px;
	color: var(--lotus-purple);
	cursor: pointer;
	height: 42px;
	padding: 0;
	width: 42px;
}

/* Mobile navigation. */
.site-menu-toggle {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: none;
	height: 44px;
	padding: 10px;
	width: 44px;
}

.site-menu-toggle > span:not(.screen-reader-text) {
	background: var(--lotus-purple);
	display: block;
	height: 2px;
	margin: 5px 0;
	transition: transform .2s ease, opacity .2s ease;
	width: 24px;
}

@media (max-width: 781px) {
	:root {
		--lotus-section-gap: 72px;
	}

	body {
		font-size: 1rem;
	}

	body.menu-is-open {
		overflow: hidden;
	}

	.site-menu-toggle {
		display: block;
		margin-left: auto;
	}

	.site-nav {
		background: #fff;
		border-top: 1px solid var(--lotus-border);
		border-radius: 0 0 .75rem .75rem;
		box-shadow: 0 18px 38px rgba(48, 38, 66, .12);
		display: none !important;
		left: 0;
		padding: 24px;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.site-nav.is-open {
		display: block !important;
	}

	.site-nav ul {
		align-items: stretch;
		flex-direction: column;
		font-size: 15px !important;
		gap: 0;
	}

	.site-nav a {
		display: block;
		padding: 13px 8px;
	}

	.site-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
		opacity: 0;
	}

	.site-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.lotus-page-editable .lotus-section,
	.lotus-home-editable .lotus-section {
		padding: 36px 24px;
	}

	.lotus-page-editable .lotus-section--intro,
	.lotus-home-editable .lotus-section--intro {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.lotus-display,
	.lotus-display-heading {
		font-size: clamp(2.65rem, 12vw, 4.15rem) !important;
	}

	.lotus-section-title,
	.lotus-section-heading,
	body.home .lotus-editorial .lotus-section-title,
	body.home .lotus-editorial .lotus-section-heading,
	body.home .lotus-editorial h2 {
		font-size: clamp(2.2rem, 9vw, 3.25rem) !important;
	}

	.lotus-editorial {
		display: flex !important;
		flex-direction: column;
		gap: 28px !important;
		padding-top: 36px;
		padding-bottom: 36px;
	}

	/* On every service page the supporting image comes before its related copy. */
	.lotus-page-editable .lotus-editorial > .wp-block-column:has(figure),
	.lotus-page-editable .lotus-editorial > .wp-block-column:has(.wp-block-image) {
		order: -1 !important;
	}

	.lotus-page-editable .lotus-editorial > .wp-block-column {
		width: 100%;
	}

	.lotus-page-editable .lotus-editorial img,
	.lotus-home-editable .lotus-editorial img,
	.lotus-page-editable .lotus-sacred-art img {
		height: auto !important;
		margin-inline: auto !important;
		max-height: min(72vh, 620px);
		max-width: min(100%, 680px) !important;
		object-fit: contain !important;
		width: auto !important;
	}

	.lotus-hero,
	.lotus-page-hero,
	.lotus-page-editable > .wp-block-cover:first-child {
		border-radius: 0 0 50% 50% / 0 0 3.5% 3.5%;
		min-height: 620px;
	}

	.lotus-hero .wp-block-cover__inner-container,
	.lotus-page-hero .wp-block-cover__inner-container,
	.lotus-page-editable > .wp-block-cover:first-child .wp-block-cover__inner-container {
		padding: 56px 24px 72px;
	}
	/* Heroes built from the hero patterns already have their side inset: the cover's 16px plus the
	   text block's (.hero__inner) 1.4rem, as on Home. The 24px above was added on top of that on
	   every other page (62px a side, so at 320px the text had 196px and long titles ran past their
	   box). One inset everywhere: 38px a side, the same as Home. Heroes without .hero__inner keep 24px. */
	.lotus-page-editable > .wp-block-cover:first-child:has(.hero__inner) .wp-block-cover__inner-container {
		padding-inline: 0;
	}

	.lotus-page-editable .wp-block-buttons,
	.lotus-home-editable .wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.lotus-page-editable .wp-block-button,
	.lotus-home-editable .wp-block-button,
	.lotus-page-editable .wp-block-button__link,
	.lotus-home-editable .wp-block-button__link {
		width: 100%;
	}

	.lotus-review-track {
		grid-auto-columns: 100%;
	}

	.lotus-reviews {
		padding: 72px 24px !important;
	}

	.lotus-review-card {
		min-height: 250px;
	}
}

/* Chakra page: same visual rhythm as the homepage, without article constraints. */
body.page-chakra-aura-healing .lotus-page-editable {
	max-width: none;
}

body.page-chakra-aura-healing .lotus-page-editable > .wp-block-group:not(.alignfull),
body.page-chakra-aura-healing .lotus-page-editable > .wp-block-columns:not(.alignfull) {
	margin-inline: auto;
	max-width: var(--lotus-max);
}

body.page-chakra-aura-healing .lotus-page-editable > .wp-block-cover:first-child {
	margin-bottom: 0;
	max-width: none;
}

body.page-chakra-aura-healing .lotus-page-editable .wp-block-columns {
	align-items: center;
}

@media (max-width: 781px) {
	body.page-chakra-aura-healing .lotus-page-editable > .wp-block-cover:first-child {
		min-height: 560px;
	}

	body.page-chakra-aura-healing .lotus-page-editable > .wp-block-cover:first-child img.wp-block-cover__image-background {
		height: 100%;
		left: 50%;
		max-width: none !important;
		object-fit: cover;
		object-position: center;
		position: absolute;
		transform: translateX(-50%);
		width: 100% !important;
	}
}
