/* =====================================================================
   Upcoming Retreats 2026
   Path in theme: /assets/css/retreats-2026.css
   Loaded ONLY on page-retreats-2026.php (see functions.php block)
   Prefix "xr-" on every class so nothing clashes with the theme.
   ===================================================================== */

:root {
	--xr-sand: #ece9e4;
	--xr-sand-light: #FAF6F0;
	--xr-cream: #F5EAD8;
	--xr-clay: #A4441E;
	--xr-clay-dark: #8c4a32;
	--xr-orange: #d87c13;
	--xr-forest: #757437;
	--xr-ink: #201e1d;
	--xr-text: #565759;
	--xr-line: #BBB3A4;

	--xr-display: 'Cormorant Garamond', Garamond, serif;
	--xr-body: 'Karla', sans-serif;
	--xr-prata: 'Prata', serif;

	--xr-max: 1100px;
	--xr-radius: 12px;
	--xr-nav-h: 76px;
}

/* ---------- Base (zero-specificity reset, scoped to this page) ---------- */
html { scroll-behavior: smooth; }

body.xr-body {
	margin: 0;
	font-family: var(--xr-body);
	background: var(--xr-sand-light);
	color: var(--xr-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

:where(.xr-page, .xr-nav) *,
:where(.xr-page, .xr-nav) *::before,
:where(.xr-page, .xr-nav) *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:where(.xr-page) img { display: block; max-width: 100%; height: auto; }
:where(.xr-page, .xr-nav) a { color: inherit; text-decoration: none; }

.xr-page section[id] { scroll-margin-top: calc(var(--xr-nav-h) + 12px); }

/* ---------- Shared pieces ---------- */
.xr-container { max-width: var(--xr-max); margin: 0 auto; padding: 0 24px; }
.xr-section { padding: 88px 0; }
.xr-center { text-align: center; }

.xr-eyebrow {
	font-family: var(--xr-body);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--xr-clay);
	margin-bottom: 10px;
}

/* Also used by the brown footer newsletter title */
.section-title {
	font-family: var(--xr-display);
	font-size: clamp(30px, 5vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	color: #000;
	margin-bottom: 16px;
}
/* Section titles on this page: same style as Day Pass (Prata) */
.xr-page .section-title {
	font-family: var(--xr-prata);
	font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	color: #1a1a1a;
	margin-bottom: 14px;
}

.xr-lead { font-size: 16px; line-height: 1.6; max-width: 860px; color: #222; }

.xr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--xr-clay);
	color: #fff !important;
	font-family: var(--xr-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 12px 28px;
	border: 1px solid var(--xr-clay);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.xr-btn:hover { background: #8a3818; border-color: #8a3818; transform: translateY(-2px); }
.xr-btn--outline { background: transparent; color: var(--xr-forest) !important; border-color: var(--xr-forest); }
.xr-btn--outline:hover { background: var(--xr-forest); border-color: var(--xr-forest); color: #fff !important; }

.xr-link {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--xr-clay) !important;
}
.xr-link:hover { color: var(--xr-forest) !important; }

.xr-actions { margin-top: 48px; text-align: center; }

/* ---------- Nav ---------- */
.xr-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: var(--xr-nav-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 32px;
	z-index: 1000;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.admin-bar .xr-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .xr-nav { top: 46px; } }

.xr-nav.is-scrolled {
	background: #fff;
	border-bottom-color: #ECE4D3;
	box-shadow: 0 4px 24px -12px rgba(22, 38, 28, .18);
}
.xr-nav-logo img { display: block; max-width: 150px; height: auto; }

.xr-nav-right { display: flex; align-items: center; gap: 20px; }
.xr-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.xr-nav-links a {
	position: relative;
	display: inline-block;
	color: var(--xr-ink);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .08em;
	padding: 4px 0;
	transition: color .3s ease;
}
.xr-nav-links a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -2px;
	width: 0; height: 1.5px;
	background: currentColor;
	transition: width .25s ease;
}
.xr-nav-links a:hover::after { width: 100%; }
.xr-nav:not(.is-scrolled) .xr-nav-links a { color: #fff; }

.xr-nav-links a.xr-nav-cta {
	background: var(--xr-clay);
	color: #fff;
	padding: 10px 20px;
	border-radius: 100px;
}
.xr-nav-links a.xr-nav-cta::after { display: none; }
.xr-nav-links a.xr-nav-cta:hover { background: var(--xr-forest); }

.xr-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.xr-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--xr-ink); }
.xr-nav:not(.is-scrolled) .xr-nav-toggle span { background: #fff; }

@media (max-width: 960px) {
	.xr-nav { padding: 0 20px; }
	.xr-nav-toggle { display: flex; }
	.xr-nav-links {
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		background: #fff;
		padding: 8px 24px 20px;
		border-bottom: 1px solid #ECE4D3;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
	}
	.xr-nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
	.xr-nav-links li { width: 100%; }
	.xr-nav-links a,
	.xr-nav:not(.is-scrolled) .xr-nav-links a { display: block; padding: 12px 0; color: var(--xr-ink); }
	.xr-nav-links a::after { display: none; }
	.xr-nav-links a.xr-nav-cta,
	.xr-nav:not(.is-scrolled) .xr-nav-links a.xr-nav-cta { display: inline-block; margin-top: 8px; padding: 10px 20px; color: #fff; }
}

/* ---------- Hero (image only, about half the screen) ---------- */
.xr-hero {
	position: relative;
	height: clamp(300px, 44vh, 480px);
	overflow: hidden;
	background: var(--xr-forest);
}
.xr-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 65%;
}
/* Dark shade at the top so the white menu reads over the photo */
.xr-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,0) 80%, rgba(0,0,0,.15) 100%);
}

/* ---------- Intro (H1 + text under the hero) ---------- */
.xr-intro { background: #fff; padding: 72px 0 0; text-align: center; }
.xr-intro h1 {
	font-family: var(--xr-prata);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
	font-weight: 400;
	line-height: 1.25;
	color: var(--xr-ink);
	margin-bottom: 16px;
	
}
.xr-intro p { font-size: 16px; line-height: 1.8; max-width: 940px; margin: 0 auto; }

@keyframes xrZoom   { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes xrFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes xrFade   { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Signature Retreats ---------- */
.xr-signature { background: #fff; padding: 56px 0 72px; }
.xr-signature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 36px;
	text-align: center;
}
.xr-sig-card { background: #F2F2F0; display: flex; flex-direction: column; }
.xr-sig-card--holiday { background: #F7EDE7; }
.xr-sig-photo { position: relative; display: block; }
.xr-sig-photo img { width: 100%; height: 260px; object-fit: cover; object-position: top; }
.xr-sig-label {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 1;
	padding: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	color: #fff;
	background: #7B846F;
}
.xr-sig-card--holiday .xr-sig-label { background: #B04E18; }
.xr-sig-body { padding: 22px 20px 26px; }
.xr-sig-body h3 { font-family: var(--xr-prata); font-size: 24px; font-weight: 400; color: #000; margin-bottom: 4px; }
.xr-sig-body p { font-size: 16px; margin-bottom: 10px; }
.xr-sig-body a { color: #B04E18; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.xr-sig-body a:hover { color: var(--xr-forest); }

/* ---------- Filter + retreat grid (keeps the current look) ---------- */
.xr-retreats { padding: 40px 0 96px; background: #fff; }

#retreats-filter {
	display: grid;
	grid-template-columns: 1fr 1fr 220px;
	align-items: end;
	gap: 20px;
	max-width: 980px;
	margin: 0 auto;
	padding: 15px 30px;
}
#retreats-filter label {
	display: block;
	font-size: 16px;
	color: var(--xr-ink);
	padding-left: 15px;
	margin-bottom: 5px;
}
#retreats-filter select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background: #fff url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 1.2em center/1em;
	border: 1px solid #e0e0e0;
	border-radius: 30px;
	padding: 10px 40px 10px 16px;
	font-family: var(--xr-body);
	font-size: 15px;
	color: #333;
	cursor: pointer;
}
#retreats-filter .xr-filter-submit .xr-btn { width: 100%; padding: 13px 20px; font-size: 14px; }

/* Choices.js (same tweaks as the current page) */
#retreats-filter .choices { margin-bottom: 0; font-family: var(--xr-body); }
#retreats-filter .choices__inner { border-radius: 35px; background-color: #fff; padding-left: 12px; }
#retreats-filter .choices.is-open .choices__inner { border-radius: 25px 25px 0 0; }
#retreats-filter .choices__list--dropdown,
#retreats-filter .choices__list[aria-expanded] {
	top: 0;
	border: none;
	border-radius: 15px;
	box-shadow: rgba(0,0,0,.12) 0 1px 3px, rgba(0,0,0,.24) 0 1px 2px;
	z-index: 20;
}
#retreats-filter .choices__list--single { padding-left: 8px; }

.xr-query { text-align: center; margin: 24px 0 36px; }
.xr-query p {
	display: inline-block;
	font-family: var(--xr-prata);
	font-size: 18px;
	color: #000;
	padding: 1px 10px;
	border-left: 3px solid;
}

#xr-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	row-gap: 50px;
	margin-bottom: 30px;
}
#xr-grid .xr-card {
	position: relative;
	flex-basis: 300px;
	padding: 20px;
	background: #fff;
	overflow: hidden;
	-webkit-mask-image: url('https://xinalaniretreat.com/wp-content/uploads/2024/08/mascara-cuadrada-xinalani.png');
	mask-image: url('https://xinalaniretreat.com/wp-content/uploads/2024/08/mascara-cuadrada-xinalani.png');
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	transition: all .6s ease;
}
#xr-grid .xr-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(236,233,228,.2) 0%, rgba(236,233,228,.6) 100%);
	opacity: 0;
	transition: opacity .3s ease;
}
#xr-grid .xr-card:hover::before { opacity: 1; }
#xr-grid .xr-card > * { position: relative; z-index: 1; }
#xr-grid .xr-card.is-collapsed { display: none; }
#xr-grid .xr-card.is-revealed { animation: xrFade .5s ease both; }

#xr-grid .xr-card-photo {
	position: relative;
	text-align: center;
	-webkit-mask-image: url('https://xinalaniretreat.com/wp-content/uploads/2025/03/mascara-circular-xinalani.png');
	mask-image: url('https://xinalaniretreat.com/wp-content/uploads/2025/03/mascara-circular-xinalani.png');
	-webkit-mask-size: 95% 95%;
	mask-size: 95% 95%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	transition: all .6s ease;
}
#xr-grid .xr-card-photo a { display: block; width: 100%; }
#xr-grid .xr-card-photo img {
	display: block;
	width: 100%;
	max-width: 265px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 auto;
	border-radius: 10px;
	transition: all .6s ease;
}
#xr-grid .xr-card:hover .xr-card-photo { -webkit-mask-size: 150% 150%; mask-size: 150% 150%; }
#xr-grid .xr-card:hover .xr-card-photo img { border-radius: 200px 200px 10px 10px; }

/* Mixto label */
#xr-grid .mixto-retreat .xr-card-photo::after {
	content: "";
	position: absolute;
	bottom: 0; left: 0;
	width: 100%;
	height: 77px;
	background: url('https://xinalaniretreat.com/wp-content/uploads/2025/08/mixto-retreat-label.png') no-repeat center bottom / contain;
	pointer-events: none;
}

#xr-grid .xr-sold-out {
	position: absolute;
	bottom: 26px; left: 0;
	width: 100%;
	padding: 15px 0;
	background: #f0eee9;
	color: var(--xr-forest);
	font-size: 14px;
	font-weight: 600;
}

#xr-grid .xr-card-content { text-align: center; }
#xr-grid .xr-card-title {
	font-family: var(--xr-prata);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
	color: #000;
	margin-top: 20px;
}
#xr-grid .xr-card-dates { display: block; font-size: 14px; line-height: 18px; color: var(--xr-text); margin-top: 8px; }
#xr-grid .xr-card-more { margin-top: 6px; }
#xr-grid .xr-card-more a { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--xr-orange); }

.xr-load-more { text-align: center; }

/* ---------- Rooms ---------- */
.xr-rooms { background: #fff; padding-top: 0; }
.xr-rooms-banner {           /* full width; keeps the photo's own shape (about 2.2:1) so wide screens don't zoom in */
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 2.2 / 1;
	min-height: 320px;
	object-fit: cover;
	object-position: center 45%;
	margin-bottom: 56px;
}

.xr-rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.xr-room { background: #F7F2EC; display: flex; flex-direction: column; }
.xr-room > img { width: 100%; height: 300px; object-fit: cover; }
.xr-room-body { display: flex; flex-direction: column; flex: 1; padding: 32px 38px 36px; }
.xr-room-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--xr-clay); margin-bottom: 10px; }
.xr-room-tier { margin-left: 4px; }
.xr-room h3 { font-family: var(--xr-prata); font-size: 24px; font-weight: 400; color: #1a1a1a; margin-bottom: 12px; }
.xr-room-text { font-size: 15px; line-height: 1.6; color: #444; margin-bottom: 18px; }
.xr-room-features { list-style: none; margin-bottom: 26px; }
.xr-room-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #444; margin-bottom: 8px; }
.xr-room-features .xr-icon { flex-shrink: 0; color: #9c8a5e; }
.xr-room-link {
	align-self: flex-start;
	margin-top: auto;
	padding-bottom: 8px;
	border-bottom: 1px solid #d9a07a;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--xr-clay) !important;
	transition: color .2s, border-color .2s;
}
.xr-room-link:hover { color: var(--xr-forest) !important; border-color: var(--xr-forest); }

/* ---------- A Day at Your Retreat ---------- */
.xr-day { background: #fff; } /* 29 Oct 2026: white (was sand) */
.xr-day-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(3, auto);
	grid-auto-flow: column;
	gap: 16px 56px;
	margin-top: 40px;
}
.xr-day-item { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: center; }
.xr-day-img { width: 100px; height: 100px; border-radius: 6px; overflow: hidden; }
.xr-day-img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.xr-day-title { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: #000; margin-bottom: 4px; }
.xr-day-time { color: var(--xr-clay); margin-right: 6px; }
.xr-day-item p:not(.xr-day-title) { font-size: 15px; line-height: 1.55; color: #1a1a1a; }

/* ---------- Come for the Retreat ---------- */
.xr-exp { background: var(--xr-sand-light); } /* 29 Oct 2026: beige #FAF6F0 (was white) */
.xr-exp .xr-lead { max-width: 860px; font-size: 16px; color: #1a1a1a; }
.xr-exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 40px; }
.xr-exp-card img { width: 100%; height: auto; aspect-ratio: 1.38 / 1; object-fit: cover; margin-bottom: 16px; }
.xr-exp-card h3 { font-family: var(--xr-body); font-size: 15px; font-weight: 600; letter-spacing: .14em; color: var(--xr-clay); margin-bottom: 6px; }
.xr-exp-card p { font-size: 15px; line-height: 1.55; color: #1a1a1a; }

/* ---------- Banner ---------- */

.xr-banner {
	position: relative;
	/* Grows with the screen width (photo shape) so the reflection stays in view,
	   but never taller than the screen, so the button is always visible. Phones: 420px. */
	height: clamp(420px, calc(100vw / 2.1), 92vh);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center 80%; /* frame from her raised hands down to the reflection */
}
.xr-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20,30,40,.40) 0%, rgba(20,30,40,.15) 40%, rgba(20,30,40,0) 65%);
}
.xr-banner-content { position: relative; z-index: 1; padding: 0 24px clamp(48px, 9vw, 120px); }
.xr-banner h2 {
	font-family: var(--xr-display);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.2;
	color: #fff;
	margin-bottom: 26px;
	text-shadow: 0 2px 18px rgba(20,30,40,.45);
}

/* ---------- Reviews (cards, same format as Day Pass) ---------- */
.xr-reviews { background: #fff; }
.xr-reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.xr-review {
	display: flex;
	flex-direction: column;
	background: #F7F2EC;
	border-radius: 28px;
	padding: 28px 26px;
}
.xr-review-name { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--xr-clay); margin-bottom: 4px; }
.xr-review-source { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #1a1a1a; margin-bottom: 12px; }
.xr-review-text { font-size: 14px; line-height: 1.55; color: #222; margin-bottom: 14px; flex: 1; }
.xr-review-stars { color: var(--xr-clay); font-size: 15px; letter-spacing: .15em; }
.xr-review-link {
	align-self: flex-start;
	margin-top: 12px;
	padding-bottom: 2px;
	border-bottom: 1px solid #d9a07a;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--xr-clay) !important;
}
.xr-review-link:hover { color: var(--xr-forest) !important; border-color: var(--xr-forest); }
.xr-reviews-all { margin-top: 32px; text-align: center; }
.xr-reviews-all a { padding-bottom: 4px; border-bottom: 1px solid var(--xr-clay); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--xr-clay) !important; }
.xr-reviews-all a:hover { color: var(--xr-forest) !important; border-color: var(--xr-forest); }


/* ---------- Getting here (Ocean Reset background + Day Pass leaf) ---------- */
.xr-getting { background: #FAF6F0; position: relative; overflow: hidden; }
.xr-getting::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: clamp(140px, 14vw, 260px);
	aspect-ratio: 260 / 296;
	background: url('https://xinalaniretreat.com/wp-content/uploads/2026/09/xinalani-leaf-boat.png') right top / contain no-repeat;
	pointer-events: none;
	z-index: 0;
}
.xr-getting-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 3fr; align-items: stretch; min-height: 520px; }
.xr-getting-media { position: relative; min-height: 320px; }
.xr-getting-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.xr-getting-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 7vw, 96px) clamp(24px, 7vw, 120px);	
	max-width: 860px;
}

.xr-getting-content .section-title { margin-bottom: 28px; }
.xr-getting-content p:not(.xr-eyebrow) { font-size: 16px; line-height: 1.65; color: #222; max-width: 600px; }
.xr-note { margin-top: 16px; font-size: 13px !important; font-style: italic; }
/* ---------- Best time (text left, photo to the edge on the right) ---------- */
.xr-season { background: #fff; }
.xr-season-grid { display: grid; grid-template-columns: 1.85fr 1fr; align-items: stretch; min-height: 520px; }
.xr-season-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 7vw, 96px) clamp(24px, 8vw, 140px);
}
.xr-season-text .section-title { margin-bottom: 28px; }
.xr-season-text p:not(.xr-eyebrow) { font-size: 16px; line-height: 1.65; color: #222; max-width: 560px; margin-bottom: 18px; }
.xr-season-media { position: relative; min-height: 360px; }
.xr-season-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 55%; }
/* ---------- FAQ (simple list, same as design) ---------- */

.xr-faq { background: var(--xr-sand-light); } /* #FAF6F0 = rgb(250, 246, 240) */
.xr-faq-head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.xr-faq-head .section-title { color: var(--xr-text); margin: 10px 0 18px; }
.xr-sep { width: 40px; height: 2px; background: #cd7c26; margin: 0 auto; }
.xr-faq-list { max-width: 700px; margin: 0 auto; }
.xr-faq-item { border-bottom: 1px solid var(--xr-sand); }
.xr-faq-item summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	font-family: var(--xr-prata);
	font-size: 1.12rem;
	line-height: 1.4;
	color: var(--xr-text);
	transition: color .2s;
}
.xr-faq-item summary::-webkit-details-marker { display: none; }
.xr-faq-item summary:hover,
.xr-faq-item[open] summary { color: var(--xr-forest); }
.xr-faq-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--xr-forest);
	color: var(--xr-forest);
	transition: all .3s ease;
}
.xr-faq-item[open] .xr-faq-icon { background: var(--xr-forest); color: #fff; transform: rotate(180deg); }
.xr-faq-answer { padding-bottom: 18px; }
.xr-faq-answer p { font-size: 16px; line-height: 1.72; color: var(--xr-text); }
.xr-faq-cta { display: flex; justify-content: center; margin-top: 64px; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.xr-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.xr-js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.xr-hero-img { animation: none; }
	.xr-js .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.xr-exp-grid { grid-template-columns: 1fr 1fr; }
	.xr-reviews-grid { grid-template-columns: 1fr 1fr; }
	.xr-faq-grid,
	.xr-season-grid,
	.xr-getting-grid { grid-template-columns: 1fr; }
	.xr-getting-media { min-height: 0; aspect-ratio: 4 / 3; }
	.xr-getting::after { width: 110px; }
}

@media (max-width: 700px) {
	.xr-section { padding: 64px 0; }
	.xr-signature { padding-top: 40px; }
	.xr-intro { padding-top: 48px; }
	.xr-hero { height: auto; aspect-ratio: 4 / 3; }	
	.xr-rooms-banner { aspect-ratio: auto; height: 420px; margin-bottom: 40px; } /* phones: same as before */
	.xr-signature-grid,
	.xr-rooms-grid,
	.xr-exp-grid { grid-template-columns: 1fr; }

	#retreats-filter { grid-template-columns: 1fr; padding: 0; }
	#retreats-filter .xr-filter-submit .xr-btn { margin-top: 4px; }

	.xr-day-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
	.xr-day-item { grid-template-columns: 88px 1fr; gap: 14px; }
	.xr-day-img { width: 88px; height: 88px; }

   	.xr-intro p { font-size: 15px; line-height: 1.65; }
	.xr-reviews-grid { grid-template-columns: 1fr; }
}


/* ---------- Day Pass footer: rules it normally gets from daypasses.css ---------- */
#dp-footer,
#dp-footer *,
#dp-footer *::before,
#dp-footer *::after { box-sizing: border-box; }
/* Footer: Karla for text, Prata for titles */
body #dp-footer,
body #dp-footer p,
body #dp-footer a,
body #dp-footer li,
body #dp-footer input,
body #dp-footer button,
body #dp-footer label {
	font-family: 'Karla', sans-serif;
}
body #dp-footer h1,
body #dp-footer h2,
body #dp-footer h3,
body #dp-footer h4,
body #dp-footer .section-title {
	font-family: 'Prata', serif !important;
	font-weight: 400;
	letter-spacing: 0;
}
#dp-footer input { max-width: 100%; }
/* No underline on footer links/social icons (Day Pass gets this from daypasses.css, not loaded here) */
#dp-footer a,
#dp-footer a:hover,
#dp-footer a:focus { text-decoration: none; }
#dp-footer ul.social li,
#dp-footer ul.social li a.icon { border: 0; border-bottom: 0; box-shadow: none; background-image: none; }

/* ---------- Site popup (pops/popup-mixto-group.php) ----------
   The popup brings its own box/button CSS but inherits text styles
   from the page. Pin them so it looks the same as on the home page. */
#popup-offer {
	--xr-pop-font: 'Open Sans', Arial, sans-serif;
	font-family: var(--xr-pop-font);
	font-size: 13px;
	line-height: 1.4;
	color: #000;
	box-sizing: border-box;
}
#popup-offer p {
	font-family: var(--xr-pop-font);
	font-size: 13px;
	line-height: 1.4;
	margin: 0 0 10px;
}
#popup-offer h3 {
	font-family: 'Prata', serif;
	letter-spacing: normal;
	text-transform: none;
}
#popup-offer #offer-button a {
	display: inline-block;
	font-family: var(--xr-pop-font);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
}
#popup-offer #popup-tarifas-close a {
	display: block;
	line-height: 25px;
	text-decoration: none;
}
/* ---------- Getting here: iPhone/iPad video size fix (Safari only) ---------- */
@supports (-webkit-touch-callout: none) {
	@media (max-width: 960px) {
		.xr-getting-media {
			width: 100%;
			justify-self: stretch;
			aspect-ratio: auto;
			height: 0;
			padding-top: 75%; /* 4:3, same proportion as Android */
		}
	}
}
/* =====================================================================
   RETREATS PAGE = ROOMS PAGE STYLES (26 Oct 2026)
   Replaces the 21 Oct patch (never uploaded). Follows the director's 22 Oct "Typography v2" rule used on /rooms-2026/.
   Paste at the VERY END of assets/css/retreats-2026.css.
   "html body.xinalani-ui #xr-page.xr-page" is needed to win over xinalani-ui.css (its :is(#main …) selectors) and retreat-finder.css.
   ===================================================================== */

/* ---------- Every screen size ---------- */

/* Intro (H1 + text) = Rooms "Stay at Xinalani" intro */
html body.xinalani-ui #xr-page.xr-page .xr-intro h1 { font-family: var(--xr-prata); font-weight: 400; font-size: 26px; line-height: 1.25; color: #1a1a1a; }
html body.xinalani-ui #xr-page.xr-page .xr-intro p { font-size: 15px; line-height: 1.6; color: #222; }

/* Finder + "Coming Up" titles = section titles */
html body.xinalani-ui #xr-page.xr-page .xrf-title { font-family: var(--xr-prata); font-weight: 400; font-size: 26px; line-height: 1.25; color: #1a1a1a; }
html body.xinalani-ui #xr-page.xr-page .xrf-sub { font-size: 16px; line-height: 1.6; color: #222; }
html body.xinalani-ui #xr-page.xr-page .xrf-card-title,
html body.xinalani-ui #xr-page.xr-page .xrf-card-title a { color: #2b2622; }
/* "Explore all retreats" / "Search again" = "See all reviews on Tripadvisor" link */
html body.xinalani-ui #xr-page.xr-page .xrf-link { padding: 0 0 4px; border-bottom: 1px solid var(--xr-clay); font-size: 14px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }

/* Buttons = Rooms buttons (same padding) */
html body.xinalani-ui #xr-page.xr-page .xr-btn,
html body.xinalani-ui #xr-page.xr-page .xrf-btn { padding: 14px 30px; }

/* Signature cards: brand colours only (was off-palette green #7B846F and orange #B04E18) */
html body.xinalani-ui #xr-page.xr-page .xr-sig-label { background: var(--xr-forest); }
html body.xinalani-ui #xr-page.xr-page .xr-sig-card--holiday .xr-sig-label { background: var(--xr-clay); }
html body.xinalani-ui #xr-page.xr-page .xr-sig-body h3 { color: #2b2622; }
html body.xinalani-ui #xr-page.xr-page .xr-sig-body p { color: #6b625a; }

/* Room cards = Rooms page room card (colours + line spacing) */
html body.xinalani-ui #xr-page.xr-page .xr-room h3 { font-size: 22px; line-height: 1.2; color: #2b2622; margin-bottom: 8px; }
html body.xinalani-ui #xr-page.xr-page .xr-room-features li { line-height: 1.4; }

/* Day schedule text (the "Come for the Retreat" cards are styled in the next block) */
html body.xinalani-ui #xr-page.xr-page .xr-day-item p:not(.xr-day-title) { color: #444; }

/* FAQ = Rooms FAQ (Karla questions, darker text) */
html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary { font-family: 'Karla', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.4; letter-spacing: .01em; color: #1a1a1a; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-answer p { font-size: 15px; line-height: 1.6; color: #444; }

/* ---------- Desktop (≥ 961px) = Rooms Typography v2 ---------- */
@media (min-width: 961px) {
	/* Eyebrows: 12px on 1024px screens → 15px from 1280px, wider spacing */
	html body.xinalani-ui #xr-page.xr-page .xr-eyebrow { font-size: clamp(12px, 1.1719vw, 15px); font-weight: 600; letter-spacing: .12em; line-height: 1.3; }

	/* Titles + texts: Rooms line spacing */
	html body.xinalani-ui #xr-page.xr-page .section-title,
	html body.xinalani-ui #xr-page.xr-page .xr-intro h1,
	html body.xinalani-ui #xr-page.xr-page .xrf-title { font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.22; }
	html body.xinalani-ui #xr-page.xr-page .xr-lead,
	html body.xinalani-ui #xr-page.xr-page .xr-intro p,
	html body.xinalani-ui #xr-page.xr-page .xrf-sub { font-size: 18px; line-height: 1.45; }
	html body.xinalani-ui #xr-page.xr-page .xr-getting-content p:not(.xr-eyebrow),
	html body.xinalani-ui #xr-page.xr-page .xr-season-text p:not(.xr-eyebrow) { font-size: 18px; line-height: 1.45; }
	html body.xinalani-ui #xr-page.xr-page .xrf-link { font-size: 15px; }

	/* Room cards: same sizes as the Rooms page room card */
	html body.xinalani-ui #xr-page.xr-page .xr-room-label { font-size: clamp(10px, 0.9766vw, 12.5px); letter-spacing: .12em; line-height: 1.3; }
	html body.xinalani-ui #xr-page.xr-page .xr-room h3 { font-size: clamp(15px, 1.9vw, 24.5px); line-height: 1.25; }
	html body.xinalani-ui #xr-page.xr-page .xr-room-text { font-size: clamp(12px, 1.11vw, 14.25px); line-height: 1.4; }
	html body.xinalani-ui #xr-page.xr-page .xr-room-features li { font-size: clamp(12px, 1.08vw, 13.8px); line-height: 1.7; margin-bottom: 0; }
	html body.xinalani-ui #xr-page.xr-page .xr-room-link { font-size: clamp(10px, 1vw, 12.8px); letter-spacing: .12em; }

	/* Day schedule texts */
	html body.xinalani-ui #xr-page.xr-page .xr-day-item p:not(.xr-day-title) { font-size: 16px; line-height: 1.45; }

	/* Reviews = Rooms */
	html body.xinalani-ui #xr-page.xr-page .xr-review-name { font-size: 14px; }
	html body.xinalani-ui #xr-page.xr-page .xr-review-source { font-size: 12px; }
	html body.xinalani-ui #xr-page.xr-page .xr-review-text { font-size: 15.5px; line-height: 1.4; }
	html body.xinalani-ui #xr-page.xr-page .xr-reviews-all a { font-size: 15px; letter-spacing: .08em; line-height: 1.6; }

	/* FAQ = Rooms */
	html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary { font-size: 20px; line-height: 1.4; }
	html body.xinalani-ui #xr-page.xr-page .xr-faq-answer p { font-size: 17.5px; line-height: 1.55; }
}

/* =====================================================================
   RETREATS PAGE — SECTIONS = ROOMS PAGE (26 Oct 2026, 2nd block)
   Paste at the VERY END of assets/css/retreats-2026.css, AFTER the "RETREATS PAGE = ROOMS PAGE STYLES" block.
   1) "Come for the Retreat" cards = Rooms "What's Included in your Stay" cards
   2) Banner "Find the Retreat That Feels Right for You" = font of the room pages' closing banner (Prata, not italic)
   3) Getting here + Seasonality = Rooms "Plan your stay" fixes (same size on every screen; iPhone video fix)
   4) FAQ = Rooms FAQ (title left, questions right, ↓ arrow)
   5) Room cards: two links per card (Eco Chic, Deluxe, Dorms), like the Rooms page
   ===================================================================== */

/* ---------- 1) Come for the Retreat = Rooms "What's Included" cards ---------- */
html body.xinalani-ui #xr-page.xr-page .xr-exp-grid { gap: 40px 32px; }
html body.xinalani-ui #xr-page.xr-page .xr-exp-card { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
html body.xinalani-ui #xr-page.xr-page .xr-exp-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.38 / 1; object-fit: cover; margin-bottom: 18px; border-radius: 0; }
html body.xinalani-ui #xr-page.xr-page .xr-exp-card h3 {
	font-family: 'Karla', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	line-height: 1.4; color: var(--xr-clay); margin: 0 0 8px; padding: 0;
}
html body.xinalani-ui #xr-page.xr-page .xr-exp-card p { font-size: 16px; line-height: 1.65; color: #222; padding: 0; }

/* ---------- 2) Banner title = room pages' closing banner (Prata 400, not italic); stays white over the photo ---------- */
html body.xinalani-ui #xr-page.xr-page .xr-banner h2 {
	font-family: 'Prata', serif; font-style: normal; font-weight: 400;
	font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; letter-spacing: 0;
	color: #fff; margin: 0 0 24px;
}

/* ---------- 3) Getting here + Seasonality — phones/tablets: iPhone video size fix (same as Rooms) ---------- */
@supports (-webkit-touch-callout: none) {
	@media (max-width: 960px) {
		html body.xinalani-ui #xr-page.xr-page .xr-getting-media,
		html body.xinalani-ui #xr-page.xr-page .xr-season-media { width: 100%; justify-self: stretch; aspect-ratio: auto; height: 0; padding-top: 75%; }
	}
}
@media (max-width: 960px) {
	html body.xinalani-ui #xr-page.xr-page .xr-season-media { min-height: 0; aspect-ratio: 4 / 3; }
	html body.xinalani-ui #xr-page.xr-page .xr-season-text { padding: 56px 24px; }
}
@media (max-width: 700px) {
	html body.xinalani-ui #xr-page.xr-page .xr-season-text { padding: 48px 24px; }
}

/* ---------- 4) FAQ = Rooms FAQ ---------- */
html body.xinalani-ui #xr-page.xr-page .xr-faq-head { text-align: left; margin-bottom: 28px; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-head .section-title { color: #1a1a1a; margin: 0; max-width: 10.5em; line-height: 1.35; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-head .xr-eyebrow { margin-bottom: .5em; }
html body.xinalani-ui #xr-page.xr-page .xr-faq .xr-sep { display: none; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-list { max-width: none; margin: 0; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-item { border: 0; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary { display: block; padding: .62em 0; color: #1a1a1a; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary:hover,
html body.xinalani-ui #xr-page.xr-page .xr-faq-item[open] summary { color: #1a1a1a; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary > span:first-child { display: inline; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-icon {
	display: inline-block; width: auto; height: auto; margin-left: .3em;
	border: 0; border-radius: 0; background: none !important; color: var(--xr-clay) !important;
	font-family: 'Karla', sans-serif; line-height: 1; vertical-align: baseline; transition: transform .25s ease;
}
html body.xinalani-ui #xr-page.xr-page .xr-faq-icon svg { display: none; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-icon::before { content: "\2193"; font-size: 1.3em; font-weight: 600; } /* ↓ */
html body.xinalani-ui #xr-page.xr-page .xr-faq-item[open] .xr-faq-icon { transform: rotate(180deg); }
html body.xinalani-ui #xr-page.xr-page .xr-faq-item summary:focus-visible { outline: 2px solid var(--xr-clay); outline-offset: 2px; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-answer { padding: 0 0 .9em; max-width: 46em; }
html body.xinalani-ui #xr-page.xr-page .xr-faq-cta { justify-content: center; margin-top: 32px; } /* "Find my retreat" centered under the questions */

/* ---------- 5) Room cards: two links in a row (Rooms page style) ---------- */
html body.xinalani-ui #xr-page.xr-page .xr-room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin-top: auto; }
html body.xinalani-ui #xr-page.xr-page .xr-room-actions .xr-room-link { margin-top: 0; }
html body.xinalani-ui #xr-page.xr-page .xr-link-short { display: none; }

/* ---------- Desktop (≥ 961px) ---------- */
@media (min-width: 961px) {
	/* 1) Included-card sizes on Rooms */
	html body.xinalani-ui #xr-page.xr-page .xr-exp-card h3 { font-size: clamp(12px, 1.1719vw, 15px); letter-spacing: .12em; line-height: 1.3; margin-bottom: .6em; }
	html body.xinalani-ui #xr-page.xr-page .xr-exp-card p { font-size: 18px; line-height: 1.4; }

	/* 3) Same size on every screen (Rooms "Plan your stay" fix, 20 Oct): stop growing at 1440px, media column 380–520px */
	html body.xinalani-ui #xr-page.xr-page .xr-getting-grid,
	html body.xinalani-ui #xr-page.xr-page .xr-season-grid { max-width: 1440px; margin-inline: auto; min-height: clamp(460px, 36vw, 540px); }
	html body.xinalani-ui #xr-page.xr-page .xr-getting-grid { grid-template-columns: clamp(380px, 36%, 520px) minmax(0, 1fr); }
	html body.xinalani-ui #xr-page.xr-page .xr-season-grid { grid-template-columns: minmax(0, 1fr) clamp(380px, 36%, 520px); }
	html body.xinalani-ui #xr-page.xr-page .xr-getting-media,
	html body.xinalani-ui #xr-page.xr-page .xr-season-media { min-height: 0; }
	html body.xinalani-ui #xr-page.xr-page .xr-getting-content { max-width: none; padding: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
	html body.xinalani-ui #xr-page.xr-page .xr-season-text { padding: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px); }
	html body.xinalani-ui #xr-page.xr-page .xr-getting-media video { object-position: center 45%; }

	/* 4) FAQ: title left, questions right */
	html body.xinalani-ui #xr-page.xr-page .xr-faq > .xr-container { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); column-gap: 3%; align-items: start; }
	html body.xinalani-ui #xr-page.xr-page .xr-faq-head { margin: 0; }
	html body.xinalani-ui #xr-page.xr-page .xr-faq-list { margin-top: 1.1em; }
	html body.xinalani-ui #xr-page.xr-page .xr-faq-cta { grid-column: 1 / -1; } /* full width, so the button sits in the page center */
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
	/* 5) Links on one line (xinalani-ui stacks .xr-room-link as full-width blocks on phones — same override as Rooms) */
	html body.xinalani-ui #xr-page.xr-page .xr-room-actions { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; gap: 0 22px !important; width: 100%; }
	html body.xinalani-ui #xr-page.xr-page .xr-room-actions .xr-room-link {
		display: inline-block !important; flex: 0 1 auto !important; width: auto !important; min-height: 0 !important;
		margin: 0 !important; padding: 0 0 6px !important; white-space: nowrap !important;
		font-size: clamp(12.5px, 3.7vw, 13.6px) !important; letter-spacing: .1em !important; line-height: 1.3 !important;
	}
	html body.xinalani-ui #xr-page.xr-page .xr-link-full { display: none; }
	html body.xinalani-ui #xr-page.xr-page .xr-link-short { display: inline; }
}

/* ---------- 6) Banner = room pages' closing banner (26 Oct, 12:35): photo on top, beige band with dark title + button.
   CSS only, no template change: the photo (the section's inline background-image) is drawn by ::before, and the
   section's own background is hidden (size 0). Photo height = Level 3 closing photo; phones 4:3. ---------- */
html body.xinalani-ui #xr-page.xr-page .xr-banner { display: block; height: auto; padding: 0; text-align: center; background-color: #fff; background-size: 0 0; background-repeat: no-repeat; }
html body.xinalani-ui #xr-page.xr-page .xr-banner::before {
	content: ""; position: relative; inset: auto; display: block; width: 100%;
	height: min(clamp(340px, 42vw, 640px), 75vh);
	background-image: inherit; background-size: cover; background-repeat: no-repeat;
	background-position: center 40%; /* from her raised hands to the start of the reflection */
	background-color: #e9e1d4;
}
html body.xinalani-ui #xr-page.xr-page .xr-banner-content { position: static; padding: clamp(40px, 5vw, 64px) 24px clamp(44px, 5.5vw, 72px); background: #fff; } /* 29 Oct 2026: white (after the beige FAQ) */
html body.xinalani-ui #xr-page.xr-page .xr-banner h2 { color: #1a1a1a; text-shadow: none; margin: 0 0 24px; }
@media (max-width: 700px) {
	html body.xinalani-ui #xr-page.xr-page .xr-banner::before { height: auto; aspect-ratio: 4 / 3; }
	html body.xinalani-ui #xr-page.xr-page .xr-banner-content { padding: 36px 24px 44px; }
	html body.xinalani-ui #xr-page.xr-page .xr-banner h2 { font-size: 24px; margin-bottom: 20px; }
}
/* =====================================================================
   STICKY SECTION MENU (29 Oct 2026) — same as the Rooms page (rules copied from rooms-2026.css, same values).
   Appears below the global menu once the hero is scrolled past. Markup: top of page-retreats-2026.php. Links: 'secnav_*' in localization/retreats-2026.php.
   If the Rooms sticky menu changes, copy the change here too.
   ===================================================================== */
:where(.xr-secnav) *,
:where(.xr-secnav) *::before,
:where(.xr-secnav) *::after { margin: 0; padding: 0; box-sizing: border-box; }
:where(.xr-secnav) img { display: block; max-width: 100%; height: auto; }
:where(.xr-secnav) a { color: inherit; text-decoration: none; }

/* Where anchors land: just under the sticky section menu */
html:has(body.page-template-page-retreats-2026) { scroll-padding-top: calc(var(--xr-sticky-h, 136px) + 8px); }
html body.page-template-page-retreats-2026 #xr-page section[id] { scroll-margin-top: 0; }

.xr-secnav {
	position: fixed;
	top: var(--xr-mainnav-bottom, var(--xr-nav-h)); left: 0; right: 0;
	z-index: 999;
	background: #fff;
	border-bottom: 1px solid #ECE4D3;
	box-shadow: 0 4px 24px -12px rgba(22, 38, 28, .18);
	font-family: var(--xr-body);
	transform: translateY(-110%);
	visibility: hidden;
	transition: transform .3s ease, visibility .3s ease;
}
.admin-bar .xr-secnav { top: var(--xr-mainnav-bottom, calc(var(--xr-nav-h) + 32px)); }
@media (max-width: 782px) { .admin-bar .xr-secnav { top: var(--xr-mainnav-bottom, calc(var(--xr-nav-h) + 46px)); } }
html.xr-secnav-on .xr-secnav { transform: none; visibility: visible; }

.xr-secnav-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	min-height: 48px;
	padding: 0 32px;
}
.xr-secnav-links { display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.xr-secnav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--xr-ink) !important;
	white-space: nowrap;
	transition: color .2s;
}
.xr-secnav-link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1.5px;
	background: var(--xr-clay);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.xr-secnav-link:hover,
.xr-secnav-link.is-active { color: var(--xr-clay) !important; }
.xr-secnav-link:hover::after,
.xr-secnav-link.is-active::after { transform: scaleX(1); }
.xr-secnav-link:focus-visible { outline: 2px solid var(--xr-ink); outline-offset: 4px; }
.xr-secnav-up { width: 16px; height: 16px; stroke-width: 1.8; }
.xr-secnav .xr-tab-short { display: none; }

@media (max-width: 1100px) {
	.xr-secnav-inner { gap: 16px; padding: 0 20px; }
	.xr-secnav-links { gap: 22px; }
	.xr-secnav-link { font-size: 13px; }
}
/* Tablets + phones: a single scrollable row of section links */
@media (max-width: 960px) {
	.xr-secnav-inner {
		gap: 0 12px;
		min-height: 44px;
		padding: 0 16px;
	}
	.xr-secnav-links {
		width: calc(100% + 32px);
		flex: 1;
		min-width: 0;
		justify-content: space-between;
		gap: 8px;
		margin: 0 -16px;
		padding: 0 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.xr-secnav-links::-webkit-scrollbar { display: none; }
	.xr-secnav-link { font-size: 12.5px; padding: 10px 2px; }
}
@media (max-width: 520px) {
	.xr-secnav .xr-tab-full { display: none; }
	.xr-secnav .xr-tab-short { display: inline; }
}
@media (max-width: 400px) {
	.xr-secnav-link { font-size: 11.5px; letter-spacing: .03em; }
	.xr-secnav-links { gap: 4px; }
}
@media (max-width: 700px) {
	.xr-secnav-links { justify-content: center; justify-content: safe center; gap: 22px; }
}
@media (max-width: 400px) {
	.xr-secnav-links { gap: 14px; }
}
@media (max-width: 340px) {
	.xr-secnav-links { gap: 8px; }
	.xr-secnav-link { font-size: 11px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
	.xr-secnav { transition: none; }
}
/* "Accommodations" lands on the "Rooms & Accommodations" eyebrow (not the photo above it), with some air under the menu */
html body.page-template-page-retreats-2026 #accommodations { scroll-margin-top: 32px; }
