/*
Theme Name:   Satellite Holiday Resort
Theme URI:    https://github.com/allanorabaasa-hash/satellite-resort-website
Description:  Child theme of Twenty Twenty-Five for Satellite Holiday Resort & Great Lakes Museum, Kabale. Highland palette, contour-line motif, photo slider hero with a booking search, and page designs for every part of the resort.
Author:       Allan
Template:     twentytwentyfive
Version:      1.4.2
Requires at least: 6.7
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  satellite-child
*/

/* ==========================================================================
   Base
   ========================================================================== */
:root {
	--sat-gutter: clamp(1rem, 4vw, 2.25rem);
	--sat-section: clamp(3.5rem, 8vw, 7rem);
	--sat-radius: 6px;
	--sat-gold: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--sun) 62%, #fff) 0%, var(--wp--preset--color--sun) 45%, color-mix(in srgb, var(--wp--preset--color--sun) 78%, #000) 100%);
	--sat-gold-line: color-mix(in srgb, var(--wp--preset--color--sun) 55%, transparent);
}
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--contrast); }
a:focus-visible,
.wp-block-button__link:focus-visible,
button:focus-visible { outline: 3px solid var(--wp--preset--color--sun); outline-offset: 3px; border-radius: 6px; }
main.wp-block-group { margin-top: 0 !important; }
.wp-block-post-content > .alignfull:first-child { margin-top: 0; }
.wp-block-post-content > * + .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0; }
.sat-muted { color: var(--wp--preset--color--accent-4); }

/* Buttons */
.wp-block-button__link,
.ss-btn {
	background: var(--sat-gold) !important;
	color: var(--wp--preset--color--accent-3) !important;
	border: 0;
	border-radius: 3px !important;
	font-family: var(--wp--preset--font-family--figtree);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-size: .8rem;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 22px -10px rgba(140, 100, 30, .55);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wp-block-button__link:hover,
.ss-btn:hover {
	filter: brightness(1.06) saturate(1.05);
	transform: translateY(-1px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 28px -12px rgba(140, 100, 30, .7);
	color: var(--wp--preset--color--accent-3) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link,
.ss-btn-ghost {
	background: transparent !important;
	color: inherit !important;
	border: 1px solid var(--wp--preset--color--sun) !important;
	box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.ss-btn-ghost:hover {
	background: var(--sat-gold) !important;
	color: var(--wp--preset--color--accent-3) !important;
	border-color: transparent !important;
}
.sat-btn-wa > .wp-block-button__link, .ss-btn-wa { background: #25D366 !important; color: #fff !important; box-shadow: none; }
.sat-btn-wa > .wp-block-button__link:hover, .ss-btn-wa:hover { background: #1EBE5B !important; color: #fff !important; }

/* Contour-line motif (terraced hills of Kabale) on dark bands */
.sat-contours { position: relative; isolation: isolate; }
.sat-contours::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--sat-contours) center / cover no-repeat;
	pointer-events: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.sat-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
	backdrop-filter: saturate(1.3) blur(10px);
	-webkit-backdrop-filter: saturate(1.3) blur(10px);
	border-bottom: 1px solid var(--sat-gold-line);
	padding: 0 var(--sat-gutter);
}
.admin-bar .sat-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sat-header { top: 0; } }
.sat-header-inner { padding: .7rem 0; gap: 1.5rem; }
.sat-header-actions { gap: 1.6rem; }

.sat-brand { gap: 0; position: relative; padding-left: 3.7rem; min-height: 3rem; justify-content: center; }
.sat-brand::before {
	/* the resort crest: laurel wreath, S monogram and orbit */
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3rem;
	height: 3rem;
	transform: translateY(-50%);
	background: url(assets/images/brand/crest-green.svg) center / contain no-repeat;
}
.sat-brand-name { margin: 0; font-family: var(--wp--preset--font-family--cormorant); font-weight: 700; font-size: 1.6rem; letter-spacing: .01em; line-height: 1; }
.sat-brand-name a { color: var(--wp--preset--color--accent-3); text-decoration: none; }
.sat-brand-sub { margin: .25rem 0 0; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--wp--preset--color--gold-deep); line-height: 1.1; }

.sat-nav { font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
.sat-nav .wp-block-navigation__container { gap: 1.5rem; }
.sat-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--contrast); text-decoration: none; padding: .25rem 0; }
.sat-nav .wp-block-navigation-item__content { position: relative; }
.sat-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--wp--preset--color--sun); transform: scaleX(0); transition: transform .25s ease; }
.sat-nav .wp-block-navigation-item__content:hover,
.sat-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--gold-deep); }
.sat-nav .wp-block-navigation-item__content:hover::after,
.sat-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.sat-header-cta .wp-block-button__link { padding: .75rem 1.3rem; font-size: .74rem; }
.sat-brand-name, .sat-nav .wp-block-navigation-item { white-space: nowrap; }
/* menu button below 1300px so the links never squeeze */
@media (min-width: 600px) and (max-width: 1300px) {
	.sat-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sat-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 600px) {
	.sat-header .sat-header-cta { display: none !important; }
}
.sat-header-cta .wp-block-button__link { white-space: nowrap; }
/*
 * A blurred (backdrop-filter) header traps the full-screen menu inside its own
 * 70px box, so the menu "opens" but can't be seen. Wherever the menu button is
 * used (below 1300px) the header is solid instead of blurred, which works in
 * every browser, including older phone browsers.
 */
@media (max-width: 1300px) {
	.sat-header {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		background: var(--wp--preset--color--base);
	}
}
/* belt and braces: WordPress adds this class to <html> while the menu is open */
.has-modal-open .sat-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.sat-nav .wp-block-navigation__responsive-container.is-menu-open { z-index: 100000; }
/* open menu: large serif links */
.sat-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--cormorant); font-size: 1.8rem; text-transform: none; letter-spacing: 0; font-weight: 600; }

/* ==========================================================================
   Hero: photo slider, headline, booking search overlapping the bottom edge
   ========================================================================== */
.sat-hero {
	position: relative;
	padding: clamp(6rem, 18vh, 11rem) var(--sat-gutter) 0;
	min-height: min(88vh, 820px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.sat-hero.sat-contours::before { z-index: 1; opacity: .7; }
.sat-hero > .sat-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0 !important;
	max-width: none !important;
	overflow: hidden;
	background: var(--wp--preset--color--accent-3);
}
.sat-slides > .wp-block-image { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.sat-slides > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 7s ease-out; }
.sat-slides:not(.is-ready) > .wp-block-image:first-child,
.sat-slides > .wp-block-image.is-active { opacity: 1; }
.sat-slides > .wp-block-image.is-active img { transform: scale(1.07); }
.sat-slides::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, color-mix(in srgb, var(--wp--preset--color--accent-3) 92%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--accent-3) 55%, transparent) 38%, color-mix(in srgb, var(--wp--preset--color--accent-3) 10%, transparent) 70%),
		linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--accent-3) 55%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--accent-3) 0%, transparent) 60%);
}
.sat-hero > :not(.sat-slides):not(.sat-slides-nav) { position: relative; z-index: 2; }
.sat-hero > .sat-slides + * { margin-top: 0; }

.sat-hero-copy { width: 100%; padding-bottom: 2.5rem; }
.sat-hero-place {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	font-weight: 600;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	color: var(--wp--preset--color--sun);
}
.sat-hero-place::before { content: ""; width: 2.25rem; height: 2px; background: var(--wp--preset--color--sun); }
.sat-hero-title { margin: 0; max-width: 12ch; font-size: clamp(3.2rem, 8vw, 6.8rem) !important; font-weight: 500 !important; line-height: .98; letter-spacing: -.01em; text-wrap: balance; }
.sat-hero-lead { margin: 1.4rem 0 0; max-width: 48ch; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(228, 236, 226, .9); }

.sat-hero-search { width: 100%; transform: translateY(50%); margin-top: 0 !important; }
.sat-hero + .sat-section { padding-top: calc(var(--sat-section) + 3.5rem); }

/* Slider controls (from slider.js), above the search bar */
.sat-slides-nav {
	position: absolute;
	z-index: 3;
	right: max(var(--sat-gutter), calc((100% - var(--wp--style--global--wide-size)) / 2));
	top: clamp(6rem, 16vh, 9rem);
	display: flex;
	align-items: center;
	gap: .35rem;
	margin: 0 !important;
}
.sat-dot, .sat-slides-toggle { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; }
.sat-dot { width: 34px; height: 24px; position: relative; }
.sat-dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
.sat-dot[aria-current="true"]::before { background: var(--wp--preset--color--sun); }
.sat-slides-toggle { width: 28px; height: 28px; margin-left: .4rem; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); position: relative; }
.sat-slides-toggle::before, .sat-slides-toggle::after { content: ""; position: absolute; top: 8px; width: 3px; height: 9px; background: #fff; border-radius: 1px; }
.sat-slides-toggle::before { left: 9px; }
.sat-slides-toggle::after { left: 14px; }
.sat-slides-toggle.is-paused::before { left: 10px; top: 7px; width: 0; height: 0; background: none; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
.sat-slides-toggle.is-paused::after { display: none; }

@media (max-width: 781px) {
	.sat-hero { min-height: 0; padding-top: 5rem; }
	.sat-hero-search { transform: none; padding-bottom: 1.5rem; }
	.sat-hero + .sat-section { padding-top: var(--sat-section); }
	.sat-slides-nav { top: 1.25rem; }
	.sat-slides::after { background: color-mix(in srgb, var(--wp--preset--color--accent-3) 78%, transparent); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.sat-section { padding: var(--sat-section) var(--sat-gutter); }
.sat-section-head { margin-bottom: 2rem; gap: 1rem 2rem; }
.sat-section-head h2 { margin: 0; }
.sat-section-head p { margin: .6rem 0 0; max-width: 52ch; }
.sat-subhead { margin-top: 3.5rem !important; margin-bottom: 1.5rem !important; font-size: var(--wp--preset--font-size--x-large) !important; }
.sat-intro h2 { margin-top: 0; text-wrap: balance; }
.sat-intro .has-large-font-size { margin-top: 0; line-height: 1.55; }

.sat-page-head { padding: clamp(4rem, 10vw, 7rem) var(--sat-gutter) clamp(3rem, 6vw, 4.5rem); }
.sat-page-head > * { max-width: var(--wp--style--global--wide-size) !important; }
.sat-page-head h1 { margin: 0 0 .8rem; text-wrap: balance; }
.sat-page-head p.has-large-font-size { margin: 0; max-width: 54ch; color: rgba(228, 236, 226, .88); }

/* Photos */
.sat-photo { margin: 0; }
.sat-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--sat-radius); background: var(--wp--preset--color--accent-2); }
.sat-photo-tall img { aspect-ratio: 4 / 5; }

/* Activity / sight tiles */
.sat-tiles { gap: 1.5rem 1.25rem; }
.sat-tile .wp-block-image { margin: 0 0 1rem; }
.sat-tile img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--sat-radius); }
.sat-tile h3 { margin: 0 0 .35rem; }
.sat-tile p { margin: 0; color: var(--wp--preset--color--accent-4); }
@media (max-width: 900px) { .sat-tiles.is-layout-grid, .sat-gallery.is-layout-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sat-tiles.is-layout-grid, .sat-gallery.is-layout-grid { grid-template-columns: 1fr; } }

/* Alternating activity rows */
.sat-rows .sat-row { gap: clamp(1.5rem, 4vw, 4rem); margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.sat-rows .sat-row:nth-of-type(even) { flex-direction: row-reverse; }
.sat-rows .sat-row h2 { margin-top: 0; }
@media (max-width: 781px) { .sat-rows .sat-row:nth-of-type(even) { flex-direction: column; } }

/* Museum band */
.sat-museum h2 { margin-top: 0; }
.sat-museum p { color: rgba(228, 236, 226, .9); font-size: var(--wp--preset--font-size--large); }
.sat-museum .wp-block-columns { gap: clamp(1.5rem, 5vw, 4.5rem); }

/* Restaurant + hall pair */
.sat-pair { gap: 1.5rem; }
.sat-pair h3 { margin: 1.1rem 0 .35rem; }

/* Cards */
.sat-card { background: var(--wp--preset--color--accent-5); border: 1px solid var(--wp--preset--color--accent-6); border-radius: var(--sat-radius); padding: 1.6rem 1.6rem 1.7rem; }
.sat-card h3 { margin-top: 0; }
.wp-block-column > .sat-card + .sat-card { margin-top: 1.25rem; }
.sat-form-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.sat-book-grid { gap: 1.5rem; }
.sat-stack { gap: .6rem; }
.sat-note { margin-top: 1rem; max-width: var(--wp--style--global--content-size); }
.sat-contact-cards { gap: 1.25rem; margin-bottom: 2rem; }
.sat-search-block .ss-search { box-shadow: none; }

/* Tick list */
.sat-ticks { list-style: none; padding: 0; margin: 0; }
.sat-ticks li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.sat-ticks li:last-child { border-bottom: 0; }
.sat-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .85rem;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Map */
.sat-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--sat-radius); }
.sat-map.alignwide { max-width: var(--wp--style--global--wide-size); margin-left: auto; margin-right: auto; }

/* Gallery */
.sat-gallery { gap: 1rem; }
.sat-gallery .sat-photo img { aspect-ratio: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.sat-footer { padding: clamp(3.5rem, 8vw, 6rem) var(--sat-gutter) 2rem; margin-top: 0; }
.sat-footer p { color: rgba(228, 236, 226, .78); }
.sat-footer a { color: var(--wp--preset--color--accent-5); text-decoration: none; }
.sat-footer a:hover { text-decoration: underline; }
.sat-footer-name { margin-top: 0; font-size: var(--wp--preset--font-size--x-large) !important; color: var(--wp--preset--color--accent-5) !important; }
.sat-footer-title { font-family: var(--wp--preset--font-family--figtree) !important; font-size: .95rem !important; letter-spacing: 0 !important; color: var(--wp--preset--color--sun) !important; margin: .4rem 0 .75rem; }
.sat-footer-links { list-style: none; padding: 0; margin: 0; }
.sat-footer-links li { margin-bottom: .35rem; }
.sat-footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(228, 236, 226, .15); }
.sat-footer-bottom p { margin: 0; color: rgba(228, 236, 226, .6); }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.sat-whatsapp {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 999;
	display: flex;
	align-items: center;
	gap: .5em;
	padding: .75em 1.1em;
	border-radius: 999px;
	background: #25D366;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.sat-whatsapp:hover, .sat-whatsapp:focus { color: #fff; background: #1EBE5B; }
.sat-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }
/* Icon-only, so it never covers the booking search or buttons */
.sat-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sat-whatsapp { width: 56px; height: 56px; padding: 0; justify-content: center; }
.sat-whatsapp svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
	.sat-slides > .wp-block-image, .sat-slides > .wp-block-image img { transition: none; transform: none; }
}

/* Travel notes (blog) cards */
.sat-post-grid .wp-block-post-template { gap: 1.5rem; }
.sat-post-card { height: 100%; background: var(--wp--preset--color--accent-5); border: 1px solid var(--wp--preset--color--accent-6); border-radius: var(--sat-radius); overflow: hidden; display: flex; flex-direction: column; }
.sat-post-card .wp-block-post-featured-image { margin: 0; }
.sat-post-card .wp-block-post-featured-image img { display: block; background: var(--wp--preset--color--accent-2); }
.sat-post-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.sat-post-card .wp-block-post-date { color: var(--wp--preset--color--accent-4); margin: 0; }
.sat-post-card .wp-block-post-title { font-size: 1.35rem; margin: .4rem 0 .6rem; }
.sat-post-card .wp-block-post-title a { color: var(--wp--preset--color--accent-3); text-decoration: none; }
.sat-post-card .wp-block-post-excerpt__excerpt { color: var(--wp--preset--color--accent-4); margin: 0; }
.sat-post-card .wp-block-post-excerpt__more-link { font-weight: 700; display: inline-block; margin-top: .75rem; }
@media (max-width: 900px) { .sat-post-grid .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }

/* Booking module output spans the wide layout */
.sat-section > .ss-wrap { max-width: var(--wp--style--global--wide-size) !important; margin-left: auto !important; margin-right: auto !important; }

/* ==========================================================================
   Hero weather badge
   ========================================================================== */
.sat-hero-meta { gap: .6rem 1.25rem; align-items: center; margin-bottom: 1rem; }
.sat-hero-meta .sat-hero-place { margin: 0; }
.sat-weather {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
	padding: .3rem .8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .22);
	font-size: .9rem;
	font-weight: 600;
	color: var(--wp--preset--color--accent-5);
	backdrop-filter: blur(6px);
}
.sat-weather[hidden] { display: none; }
.sat-weather::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--wp--preset--color--sun); box-shadow: 0 0 0 3px rgba(232, 176, 75, .25); }
.sat-weather.is-night::before { background: #c9d6e3; box-shadow: 0 0 0 3px rgba(201, 214, 227, .25); }

/* ==========================================================================
   Plan your stay
   ========================================================================== */
.sat-plan h2 { margin: 0; }
.sat-plan-lead { margin-top: .6rem; margin-bottom: 2.25rem; color: rgba(228, 236, 226, .85); font-size: var(--wp--preset--font-size--large); }
.sat-plans { gap: 1.1rem; }
.sat-plan-card {
	position: relative;
	padding: 1.6rem 1.5rem 1.5rem;
	border-radius: var(--sat-radius);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	display: flex;
	flex-direction: column;
}
.sat-plan-card::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--wp--preset--color--sun); margin-bottom: 1.1rem; }
.sat-plan-card h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.sat-plan-card > p { margin: 0 0 1rem; color: rgba(228, 236, 226, .85); }
.sat-plan-list { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.sat-plan-list li { padding: .45rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; color: rgba(255, 255, 255, .92); }
.sat-plan-cta { margin: 0 !important; }
.sat-plan-cta a { color: var(--wp--preset--color--sun); font-weight: 700; text-decoration: none; }
.sat-plan-cta a::after { content: " ›"; }
.sat-plan-cta a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .sat-plans.is-layout-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sat-plans.is-layout-grid { grid-template-columns: 1fr; } }

/* Reviews band (from the booking module) */
.ss-reviews-band.sat-section { background: var(--wp--preset--color--base); }
.ss-reviews-band .ss-reviews-head h2 { font-size: var(--wp--preset--font-size--xx-large); }

/* Footer logo */
.sat-footer-logo { margin: 0 0 1rem; }
.sat-footer-logo img { display: block; height: auto; }

/* ==========================================================================
   Premium finish: serif headings, gold details
   ========================================================================== */
h1, h2, h3, h4, .wp-block-heading { font-family: var(--wp--preset--font-family--cormorant); }
h1.wp-block-heading, .sat-page-head h1 { font-weight: 500; letter-spacing: -.01em; }
h2.wp-block-heading { font-weight: 600; }
.sat-page-head h1 { font-size: clamp(3rem, 7vw, 5.6rem) !important; }

/* small gold rule above section headings */
.sat-section-head h2::before,
.sat-intro h2::before,
.sat-plan h2::before,
.sat-museum h2::before,
.ss-reviews-head h2::before {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin-bottom: 1.1rem;
	background: var(--sat-gold);
}
.sat-section-head h2::before { margin-left: 0; }

/* cards and photos: hairline gold edge, soft depth */
.sat-card, .sat-post-card, .ss-result, .ss-search, .ss-room, .ss-review {
	border-color: var(--wp--preset--color--accent-6) !important;
	box-shadow: 0 1px 2px rgba(28, 51, 40, .04), 0 18px 40px -28px rgba(28, 51, 40, .35);
}
.sat-card { border-top: 2px solid var(--wp--preset--color--sun) !important; }
.sat-tile img, .sat-photo img, .sat-post-card .wp-block-post-featured-image img { transition: transform .6s ease, filter .6s ease; }
.sat-tile .wp-block-image, .sat-photo { overflow: hidden; border-radius: var(--sat-radius); }
.sat-tile:hover img, .sat-photo:hover img { transform: scale(1.04); }
.sat-tile h3, .sat-pair h3, .sat-plan-card h3 { font-weight: 600; }

/* tick list and plan cards in gold */
.sat-ticks li::before { background-color: var(--wp--preset--color--gold-deep); }
.sat-plan-card { border-color: color-mix(in srgb, var(--wp--preset--color--sun) 28%, transparent); }
.sat-plan-card::before { height: 1px; background: var(--sat-gold); }

/* footer */
.sat-footer { border-top: 1px solid var(--sat-gold-line); }
.sat-footer-title { text-transform: uppercase; letter-spacing: .18em !important; font-size: .72rem !important; }
.sat-footer a:hover { color: var(--wp--preset--color--sun); text-decoration: none; }

/* weather badge dot */
.sat-weather::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--sun) 30%, transparent); }

/* ==========================================================================
   Sliding gallery (gallery.js)
   ========================================================================== */
.sat-reel-band { overflow: hidden; }
.sat-reel-band .sat-section-head { margin-bottom: 2.25rem; }
.sat-reel {
	--sat-reel-h: clamp(300px, 40vw, 480px);
	display: flex;
	gap: 1.1rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--sat-gutter), calc((100% - var(--wp--style--global--wide-size)) / 2));
	padding: 0 max(var(--sat-gutter), calc((100% - var(--wp--style--global--wide-size)) / 2));
	margin: 0 !important;
	max-width: none !important;
	scrollbar-width: none;
}
.sat-reel::-webkit-scrollbar { display: none; }
.sat-reel:focus-visible { outline: 2px solid var(--wp--preset--color--sun); outline-offset: 6px; }
.sat-reel > figure {
	position: relative;
	flex: 0 0 auto;
	height: var(--sat-reel-h);
	aspect-ratio: 4 / 5;
	margin: 0 !important;
	scroll-snap-align: start;
	overflow: hidden;
	border-radius: var(--sat-radius);
	background: rgba(255, 255, 255, .06);
}
.sat-reel > figure:nth-child(3n + 2) { aspect-ratio: 5 / 4; }
.sat-reel-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .8s ease; }
.sat-reel-item:hover img { transform: scale(1.05); }
.sat-reel-item img:focus-visible { outline: 3px solid var(--wp--preset--color--sun); outline-offset: -3px; }
.sat-reel-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(14, 26, 20, .75) 0%, rgba(14, 26, 20, 0) 45%);
	pointer-events: none;
}
.sat-reel-item figcaption {
	position: absolute;
	z-index: 1;
	left: 1.1rem;
	right: 1.1rem;
	bottom: .9rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--cormorant);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.2;
	color: #fff;
	text-align: left;
	pointer-events: none;
}
.sat-reel-controls {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size);
	margin: 1.75rem auto 0 !important;
}
.sat-reel-controls button {
	flex: none;
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--sun);
	background: transparent;
	color: var(--wp--preset--color--sun);
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.sat-reel-controls button:hover { background: var(--sat-gold); color: var(--wp--preset--color--accent-3); border-color: transparent; }
.sat-reel-controls svg { width: 20px; height: 20px; fill: currentColor; }
.sat-reel-progress { flex: 1; height: 1px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.sat-reel-progress span { display: block; height: 100%; background: var(--wp--preset--color--sun); transition: transform .3s ease; }
@media (max-width: 781px) { .sat-reel-controls { padding: 0 var(--sat-gutter); } }

/* full-screen photo viewer */
.sat-lightbox-open, .sat-lightbox-open body { overflow: hidden; }
.sat-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 4.5rem 4.5rem 3rem;
	background: rgba(10, 18, 14, .94);
}
.sat-lightbox[hidden] { display: none; }
.sat-lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-height: 100%; }
.sat-lightbox img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sat-lightbox figcaption { font-family: var(--wp--preset--font-family--cormorant); font-style: italic; font-size: 1.4rem; color: #fff; }
.sat-lightbox button {
	position: absolute;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(212, 175, 97, .7);
	background: rgba(0, 0, 0, .25);
	color: var(--wp--preset--color--sun);
	cursor: pointer;
}
.sat-lightbox button:hover { background: var(--sat-gold); color: var(--wp--preset--color--accent-3); }
.sat-lightbox svg { width: 22px; height: 22px; fill: currentColor; }
.sat-lightbox-close { top: 1rem; right: 1rem; }
.sat-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.sat-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
	.sat-lightbox { padding: 4rem .75rem 5.5rem; }
	.sat-lightbox-prev, .sat-lightbox-next { top: auto; bottom: 1rem; transform: none; }
	.sat-lightbox-prev { left: calc(50% - 60px); }
	.sat-lightbox-next { right: calc(50% - 60px); }
}

/* on the Gallery page the reel follows the page heading directly */
.sat-page-head + .sat-reel-band { padding-top: 0; }

/* Small phones: the resort name must never cover the menu button */
.sat-header-inner > .sat-brand { min-width: 0; flex: 1 1 auto; }
.sat-header-actions { flex: 0 0 auto; position: relative; z-index: 2; }
@media (max-width: 480px) {
	.sat-brand { padding-left: 3.1rem; }
	.sat-brand::before { width: 2.5rem; height: 2.5rem; }
	.sat-brand-name { white-space: normal; font-size: 1.3rem; line-height: 1.05; }
	.sat-brand-sub { font-size: .58rem; letter-spacing: .16em; }
}
@media (max-width: 360px) {
	.sat-brand-sub { display: none; }
}

/* ==========================================================================
   Mobile menu only: a compact panel from the top right instead of a
   full-screen sheet. Nothing else on the page is changed.
   ========================================================================== */
.sat-nav .wp-block-navigation__responsive-container.is-menu-open {
	position: fixed;
	inset: calc(var(--wp-admin--admin-bar--height, 0px) + 10px) 10px auto auto !important;
	width: min(320px, calc(100vw - 20px));
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 20px);
	padding: 0 !important;
	overflow-y: auto;
	border-radius: 14px;
	background: #1C3328 !important;
	color: #E4ECE2 !important;
	border: 1px solid rgba(212, 175, 97, .35);
	box-shadow: 0 0 0 100vmax rgba(10, 18, 14, .5), 0 24px 60px -12px rgba(0, 0, 0, .55);
}
.sat-nav .is-menu-open,
.sat-nav .is-menu-open * { box-sizing: border-box; }
.sat-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; width: 100%; }
.sat-nav .is-menu-open .wp-block-navigation__responsive-dialog { margin: 0 !important; padding: 0 !important; }
.sat-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 14px !important;
	right: 14px !important;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(212, 175, 97, .55);
	color: #D4AF61;
}
.sat-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 18px; height: 18px; fill: currentColor; }
.sat-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 3.4rem 1.4rem 1.2rem !important;
	align-items: stretch !important;
	gap: 0 !important;
}
.sat-nav .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch !important; gap: 0 !important; }
.sat-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.sat-nav .is-menu-open .wp-block-navigation-item__content {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: .7rem .1rem !important;
	border-bottom: 1px solid rgba(228, 236, 226, .12);
	font-size: 1.35rem !important;
	line-height: 1.15;
	color: #FFFFFF !important;
	outline: none;
}
.sat-nav .is-menu-open .wp-block-navigation-item:last-child > .wp-block-navigation-item__content { border-bottom: 0; }
.sat-nav .is-menu-open .wp-block-navigation-item__content::after {
	content: "\203A";
	position: static;
	height: auto;
	transform: none;
	background: none;
	font-size: 1.3rem;
	color: #D4AF61;
}
.sat-nav .is-menu-open .wp-block-navigation-item__content:hover,
.sat-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { color: #D4AF61 !important; box-shadow: none; }
/* an extra "Book a stay" menu item from an earlier header version stays hidden */
.sat-nav .sat-nav-cta { display: none !important; }
