/* ==========================================================================
   Lighthouse Golf Apart Complex – theme styles
   Colours/fonts come from theme.json presets (--wp--preset--*).
   ========================================================================== */

:root {
	--lh-ease: cubic-bezier(.22, .61, .36, 1);
	--lh-header-h: 84px;
}

::selection { background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--base); }

/* ---------- Header ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}

.lh-header {
	position: relative;
	padding: clamp(.8rem, 1.6vw, 1.3rem) var(--wp--preset--spacing--50);
	transition: padding .4s var(--lh-ease), box-shadow .4s var(--lh-ease);
}
/* Frosted background on a separate layer: backdrop-filter on .lh-header itself would
   trap the full-screen mobile menu (position: fixed) inside the header box. */
.lh-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.is-scrolled .lh-header {
	padding-top: .55rem;
	padding-bottom: .55rem;
	box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent),
		0 10px 30px -18px color-mix(in srgb, var(--wp--preset--color--contrast) 35%, transparent);
}
.lh-header__inner { gap: var(--wp--preset--spacing--40); }
.lh-header__right { gap: clamp(1rem, 2.2vw, 2.25rem); }
.lh-header__logo img { width: clamp(130px, 13vw, 180px) !important; height: auto; transition: width .4s var(--lh-ease); }
.is-scrolled .lh-header__logo img { width: clamp(120px, 10vw, 145px) !important; }
.lh-header__cta .wp-block-button__link { padding: .95em 1.7em; white-space: nowrap; }
@media (max-width: 600px) {
	.lh-header__cta .wp-block-button__link { padding: .85em 1.1em; letter-spacing: .1em; }
}

/* Navigation: thin brass underline that draws in on hover */
.lh-nav { gap: clamp(1rem, 1.8vw, 2rem); }
.lh-nav .wp-block-navigation-item__content { position: relative; padding-block: .35em; }
.lh-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--accent-1);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .45s var(--lh-ease);
}
.lh-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.lh-nav .current-menu-item > .wp-block-navigation-item__content::after,
.lh-nav .current-menu-ancestor > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Drop-down panels */
.lh-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--base) !important;
	border: 0 !important;
	padding: .6rem 0 !important;
	min-width: 270px !important;
	box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--wp--preset--color--contrast) 45%, transparent);
	text-transform: none;
	letter-spacing: .01em;
	font-size: .92rem;
}
.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55em 1.4em !important; }
.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent-7); }

/* Hamburger below 1200px (core switches only at 600px – too late for 7 menu items) */
@media (max-width: 1199px) {
	.lh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.lh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.lh-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: calc(var(--wp--preset--spacing--60) + 1rem) var(--wp--preset--spacing--50);
}
.lh-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.lh-nav .is-menu-open .wp-block-navigation__container,
.lh-nav .is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
	text-align: left;
}
.lh-nav .is-menu-open .wp-block-navigation__container { gap: 1.1rem !important; width: 100%; }
.lh-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.6rem, 6.5vw, 2.2rem);
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	line-height: 1.2;
}
.lh-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { display: none; }
.lh-nav .is-menu-open .wp-block-navigation__submenu-container {
	font-family: var(--wp--preset--font-family--body);
	font-size: .95rem;
	text-transform: none;
	letter-spacing: .01em;
	padding: .5em 0 .3em 1rem !important;
	gap: .15em !important;
	border-left: 1px solid var(--wp--preset--color--accent-1) !important;
	box-shadow: none;
	min-width: 0 !important;
	background: transparent !important;
}
.lh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .3em 0 !important;
	color: var(--wp--preset--color--accent-4);
}
.lh-nav .is-menu-open a:focus:not(:focus-visible) { outline: none; }

/* ---------- Footer ---------- */
.lh-footer { font-size: .95rem; }
.lh-footer a { color: inherit; text-decoration: none; transition: color .3s, opacity .3s; }
.lh-footer a:hover { color: var(--wp--preset--color--accent-5); }
.lh-footer .lh-eyebrow { color: color-mix(in srgb, var(--wp--preset--color--base) 78%, transparent); }
.lh-footer__about { max-width: 30ch; opacity: .85; margin-top: 1.5rem; }
.lh-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55em; }
.lh-footer-links a { opacity: .88; }
.lh-footer-links a:hover { opacity: 1; }
.lh-footer__cta { margin-top: 1.75rem; }
.lh-footer .is-style-outline .wp-block-button__link {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 55%, transparent);
	color: var(--wp--preset--color--base);
	background: transparent;
}
.lh-footer .is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent-2);
	border-color: var(--wp--preset--color--base);
}
.lh-footer__bottom {
	margin-top: var(--wp--preset--spacing--70);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 18%, transparent);
	font-size: .8rem;
	letter-spacing: .04em;
	opacity: .75;
}
.lh-footer__bottom p { margin: 0; }

/* ---------- Reusable typography helpers ---------- */
.lh-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: .72rem !important;
	font-weight: 600 !important;
	letter-spacing: .22em !important;
	text-transform: uppercase;
	line-height: 1.4 !important;
	color: var(--wp--preset--color--accent-7);
	margin-bottom: 1.1rem;
}

/* ---------- Animations (see assets/js/animations.js) ---------- */
/* Hidden only while JS is about to animate them; shown if JS fails (lh-anim-timeout). */
.lh-js:not(.lh-anim-ready):not(.lh-anim-timeout) :is(.lh-reveal, .lh-stagger > *) { visibility: hidden; }
.lh-parallax, .lh-hero-zoom { overflow: hidden; }
.lh-parallax img, .lh-parallax video { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Shared section building blocks (used on the home page, reusable elsewhere)
   ========================================================================== */
:root { --lh-light-brass: #E3CFA8; --lh-hero-pb: clamp(4rem, 11vh, 7.5rem); }

.lh-front .wp-block-post-content > *,
.lh-front + footer.wp-block-template-part { margin-block: 0; }

.lh-section { padding-block: clamp(4.5rem, 10vw, 9rem); }
.lh-section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lh-section h2, .lh-section-head h2, .lh-hscroll h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 1.25rem; }
.lh-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--wp--preset--color--accent-4); max-width: 62ch; }

/* Buttons: outline variant */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--accent-2);
	border: 1px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--accent-2);
}
:is(.lh-hero, .lh-band, .is-dark) .wp-block-button.is-style-outline > .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, .65);
}
:is(.lh-hero, .lh-band, .is-dark) .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--contrast);
	border-color: #fff;
}

/* Text link with a drawn line */
.lh-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: .8em;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--accent-2);
}
.lh-link-arrow a::after {
	content: "";
	width: 2.4em;
	height: 1px;
	background: currentColor;
	transition: width .45s var(--lh-ease);
}
.lh-link-arrow a:hover::after { width: 3.6em; }

/* ---------- Header floating over the hero (front page only) ---------- */
.home .wp-site-blocks > header.wp-block-template-part { position: fixed; left: 0; right: 0; }
.lh-header::before { transition: opacity .45s var(--lh-ease); }
.home .wp-site-blocks > header:not(.is-scrolled) .lh-header::before { opacity: 0; }
.home .wp-site-blocks > header:not(.is-scrolled) .lh-header__logo img { filter: brightness(0) invert(1); }
.home .wp-site-blocks > header:not(.is-scrolled) .lh-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > :is(.wp-block-navigation-item__content, .wp-block-navigation__submenu-icon),
.home .wp-site-blocks > header:not(.is-scrolled) .lh-nav .wp-block-navigation__responsive-container-open {
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.home .wp-site-blocks > header:not(.is-scrolled) .lh-nav > .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { background: #fff; }

/* ---------- Hero ---------- */
.lh-hero {
	color: #fff;
	padding-top: 0 !important;
	padding-bottom: var(--lh-hero-pb) !important;
	padding-inline: var(--wp--preset--spacing--50) !important;
}
.lh-hero .wp-block-cover__background {
	/* Two layers: darker on the left where the text sits, plus top (menu) and bottom (text) shading */
	background:
		linear-gradient(90deg, rgba(10, 18, 20, .72) 0%, rgba(10, 18, 20, .45) 38%, rgba(10, 18, 20, .12) 70%, rgba(10, 18, 20, 0) 100%),
		linear-gradient(180deg, rgba(10, 18, 20, .6) 0%, rgba(10, 18, 20, .15) 28%, rgba(10, 18, 20, .25) 55%, rgba(10, 18, 20, .82) 100%) !important;
	opacity: 1 !important;
}
.lh-hero__title, .lh-hero__lead, .lh-hero .lh-eyebrow { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.lh-hero__lead { opacity: 1 !important; }
@media (max-width: 781px) {
	/* On phones the text spans the full width, so darken evenly */
	.lh-hero .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(10, 18, 20, .6) 0%, rgba(10, 18, 20, .35) 35%, rgba(10, 18, 20, .55) 60%, rgba(10, 18, 20, .88) 100%) !important;
	}
}
/* Core sets width:auto on positioned cover content; we need the full width so the
   scroll cue can centre on the hero. */
.lh-hero .wp-block-cover__inner-container { width: 100% !important; }
.lh-hero .lh-eyebrow, .lh-band .lh-eyebrow { color: var(--lh-light-brass); }
.lh-hero__title {
	font-size: clamp(2.8rem, 7.2vw, 6.2rem) !important;
	line-height: 1.02 !important;
	letter-spacing: -.02em !important;
	color: #fff;
	margin: 0 0 1.5rem;
}
.lh-hero__title em { font-style: italic; color: var(--lh-light-brass); }
.lh-hero__lead { font-size: clamp(1rem, 1.35vw, 1.18rem); max-width: 48ch; opacity: .92; margin: 0; }
.lh-hero__buttons { margin-top: 2.2rem; gap: .9rem; }
.lh-scroll-cue {
	position: absolute;
	left: 50%;
	width: auto !important;
	max-width: none !important;
	white-space: nowrap;
	bottom: calc(1.4rem - var(--lh-hero-pb));
	transform: translateX(-50%);
	margin: 0;
	padding-bottom: 3.4rem;
	font-size: .66rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	opacity: .85;
}
.lh-scroll-cue::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 1px;
	height: 2.8rem;
	background: linear-gradient(#fff, rgba(255, 255, 255, 0));
	animation: lh-cue 2.4s var(--lh-ease) infinite;
}
@keyframes lh-cue {
	0% { transform: scaleY(0); transform-origin: top; }
	50% { transform: scaleY(1); transform-origin: top; }
	50.01% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 781px), (max-height: 820px) { .lh-scroll-cue { display: none; } }

/* ---------- Intro ---------- */
.lh-intro { gap: clamp(2.5rem, 6vw, 6rem) !important; }
.lh-intro__media { position: relative; padding: 0 0 14% 14%; }
.lh-intro__main { margin: 0; overflow: hidden; }
.lh-intro__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.lh-intro__inset {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44%;
	margin: 0 !important;
	border: 10px solid var(--wp--preset--color--base);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.lh-intro__inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

.lh-stats {
	margin-top: clamp(4rem, 8vw, 7rem) !important;
	padding-top: 2.5rem;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	gap: 2rem !important;
}
.lh-stat__num { font-family: var(--wp--preset--font-family--heading); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; margin: 0; color: var(--wp--preset--color--accent-2); }
.lh-stat__label { margin: .7rem 0 0 !important; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--accent-4); }

/* ---------- Accommodation cards ---------- */
.lh-cards, .lh-tiles { gap: clamp(1.5rem, 3vw, 2.5rem) !important; }
.lh-card { background: var(--wp--preset--color--base); padding-bottom: 1.9rem; }
.lh-card > *:not(.lh-card__img) { padding-inline: 1.7rem; }
.lh-card__img, .lh-tile__img { margin: 0; overflow: hidden; }
.lh-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1.2s var(--lh-ease); }
.lh-card:hover .lh-card__img img, .lh-tile:hover .lh-tile__img img { transform: scale(1.06); }
.lh-card__meta { margin: 1.5rem 0 .5rem !important; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--accent-7); }
.lh-card__title { font-size: 1.55rem !important; margin: 0 0 .6rem !important; }
.lh-card__title a, .lh-tile__title a { color: inherit; text-decoration: none; }
.lh-card__text { margin: 0 !important; font-size: .95rem; color: var(--wp--preset--color--accent-4); }
.lh-cards-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; gap: 1.5rem 3rem; }
.lh-amenities { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; padding: 0; margin: 0; font-size: .9rem; }
.lh-amenities li::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: .65rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	vertical-align: middle;
}

/* ---------- Full-width photo band ---------- */
.lh-band { color: #fff; text-align: center; }
.lh-band h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem) !important; }
.lh-band p { opacity: .92; }
.lh-band .wp-block-buttons { justify-content: center; margin-top: 2rem; }

/* ---------- Tiles ---------- */
.lh-tile__img { margin-bottom: 1.5rem !important; }
.lh-tile__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1.2s var(--lh-ease); }
/* Always one row of three from tablet width up */
@media (min-width: 700px) {
	.lh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.lh-tile__title { font-size: 1.65rem !important; margin: 0 0 .6rem !important; }
.lh-tile p { margin: 0; color: var(--wp--preset--color--accent-4); }

/* ---------- Dark section + horizontal gallery ---------- */
.is-dark { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
.is-dark h2, .is-dark h3 { color: var(--wp--preset--color--base); }
.is-dark .lh-link-arrow a { color: var(--wp--preset--color--base); }
.lh-hscroll { position: relative; overflow: hidden; padding: 0 !important; }
.lh-hscroll__head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; gap: 1rem 2rem; }
.lh-hscroll__head h2 { margin-bottom: 0; }
.lh-hscroll__track {
	gap: clamp(1rem, 2vw, 1.75rem) !important;
	width: max-content;
	max-width: none !important;
	margin-left: max(0px, calc((100vw - 1280px) / 2 - var(--wp--style--root--padding-left, 0px))) !important;
	margin-right: 0 !important;
}
/* The section is a plain full-width box; the inner .lh-hscroll__pin is what GSAP pins. */
.lh-hscroll__pin {
	padding: clamp(4rem, 7vw, 6rem) var(--wp--style--root--padding-right, 1.5rem) clamp(4rem, 7vw, 6rem) var(--wp--style--root--padding-left, 1.5rem);
	background: inherit;
}
.lh-hscroll__item { margin: 0 !important; flex: none; }
.lh-hscroll__item img { display: block; height: clamp(260px, 52vh, 540px); width: auto; max-width: none; aspect-ratio: 3 / 2; object-fit: cover; }
.lh-hscroll__item:nth-child(3n+2) img { aspect-ratio: 4 / 5; }
/* Swipe strip: phones, and anywhere the pinned animation is not running */
:is(html:not(.lh-js), .lh-static) .lh-hscroll__track {
	width: auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: .75rem;
}
@media (max-width: 899px) {
	.lh-hscroll__track {
		width: auto;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: .5rem;
	}
	.lh-hscroll__track::-webkit-scrollbar { display: none; }
	.lh-hscroll__item { scroll-snap-align: start; }
	.lh-hscroll__item img { height: 58vw; max-height: 420px; }
}

/* ---------- Three columns: sport / food / pets ---------- */
.lh-more { gap: clamp(2rem, 4vw, 4rem) !important; }
.lh-more > .wp-block-column { border-top: 1px solid var(--wp--preset--color--accent-6); padding-top: 1.8rem; }
.lh-more__num { font-family: var(--wp--preset--font-family--heading); font-style: italic; font-size: 1.15rem; color: var(--wp--preset--color--accent-7); margin: 0 0 .9rem !important; }
.lh-more h3 { font-size: 1.6rem !important; margin: 0 0 .8rem !important; }
.lh-more p:not(.lh-more__num, .lh-link-arrow) { color: var(--wp--preset--color--accent-4); }

/* ---------- Location ---------- */
.lh-location { gap: clamp(2.5rem, 6vw, 6rem) !important; }
.lh-distances { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem !important; display: grid; gap: .8rem; }
.lh-distances li { padding-bottom: .8rem; border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.lh-map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd8cc; }
.lh-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.8) sepia(.15) contrast(1.05); }
.lh-map__link {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	padding: .8em 1.2em;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--accent-2);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35);
}

/* ---------- Closing call to action ---------- */
.lh-cta-band { text-align: center; }
.lh-cta-band h2 { font-size: clamp(2.2rem, 5vw, 4rem) !important; }
.lh-cta-band .lh-lead { margin-inline: auto; }
.lh-cta-band .wp-block-buttons { justify-content: center; margin-top: 2rem; gap: .9rem; }

/* Split-text headings start hidden too (see animations) */
.lh-js:not(.lh-anim-ready):not(.lh-anim-timeout) .lh-split { visibility: hidden; }
.lh-line { padding-bottom: .06em; }

/* ==========================================================================
   Inner pages (template "page-landing"): accommodation and later content pages
   ========================================================================== */

/* Split hero: text left, photo right */
.lh-page-hero { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.lh-page-hero__cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.lh-page-hero__title { font-size: clamp(2.5rem, 5.2vw, 4.6rem) !important; line-height: 1.05 !important; margin: 0 0 1.25rem !important; }
.lh-page-hero .lh-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin-bottom: 2rem; }
.lh-page-hero .wp-block-buttons { gap: .9rem; }
.lh-page-hero__img { margin: 0 !important; overflow: hidden; }
.lh-page-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lh-crumb a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.lh-crumb a:hover { border-bottom-color: currentColor; }

/* Key facts strip */
.lh-facts {
	gap: 0 !important;
	margin-bottom: clamp(3.5rem, 7vw, 6rem) !important;
	border-top: 1px solid var(--wp--preset--color--accent-6);
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
}
.lh-fact { padding: 1.8rem 1.5rem 1.6rem; }
.lh-fact + .lh-fact { border-left: 1px solid var(--wp--preset--color--accent-6); }
.lh-fact__num { font-family: var(--wp--preset--font-family--heading); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; margin: 0; color: var(--wp--preset--color--accent-2); }
.lh-fact__label { margin: .7rem 0 0 !important; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--accent-4); line-height: 1.5; }
@media (max-width: 781px) {
	.lh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.lh-fact:nth-child(3) { border-left: 0; }
	.lh-fact:nth-child(n+3) { border-top: 1px solid var(--wp--preset--color--accent-6); }
}

/* About + amenities box */
.lh-about { gap: clamp(2.5rem, 6vw, 6rem) !important; }
.lh-amen-box { background: var(--wp--preset--color--accent-5); padding: clamp(1.8rem, 3vw, 2.6rem); }
.lh-amen-box__title { font-size: 1.45rem !important; margin: 0 0 1.4rem !important; }
.lh-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lh-checklist li { position: relative; padding-left: 1.9rem; line-height: 1.5; }
.lh-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: .95rem;
	height: .55rem;
	border-left: 1.5px solid var(--wp--preset--color--accent-1);
	border-bottom: 1.5px solid var(--wp--preset--color--accent-1);
	transform: rotate(-45deg);
}
@media (min-width: 700px) { .lh-checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.lh-section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* Photo gallery (WordPress lightbox opens on click) */
.lh-gallery.wp-block-gallery { gap: clamp(.6rem, 1.2vw, 1rem) !important; }
.lh-gallery.wp-block-gallery .wp-block-image { overflow: hidden; }
.lh-gallery.wp-block-gallery .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--lh-ease), filter .6s; }
.lh-gallery.wp-block-gallery .wp-block-image:hover img { transform: scale(1.05); }
/* first photo large: spans two columns and two rows */
@media (min-width: 782px) {
	.lh-gallery.wp-block-gallery.columns-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image { width: auto !important; margin: 0 !important; }
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image:first-child img { height: 100%; aspect-ratio: auto; }
}

/* Comparison table */
.lh-compare table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.lh-compare thead { border-bottom: 1px solid var(--wp--preset--color--contrast) !important; }
.lh-compare th {
	text-align: left;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
	padding: 0 1rem .9rem 0;
	border: 0 !important;
}
.lh-compare td { padding: 1.1rem 1rem 1.1rem 0; border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--accent-6) !important; vertical-align: top; }
.lh-compare td:first-child { font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem; }
.lh-compare td:first-child a { color: inherit; text-decoration: none; }
.lh-compare td:first-child a:hover { color: var(--wp--preset--color--accent-7); }
.lh-compare th:first-child, .lh-compare td:first-child { width: 34%; }
@media (max-width: 781px) {
	.lh-compare-wrap { overflow-x: auto; }
	.lh-compare table { min-width: 640px; }
}

/* Deep-sea call-to-action band */
.is-sea { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--base); }
.is-sea h2 { color: var(--wp--preset--color--base); }
.is-sea .lh-eyebrow { color: var(--lh-light-brass); }
.is-sea .lh-lead { color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent); }
.is-sea .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--wp--preset--color--base); color: var(--wp--preset--color--accent-2); }
.is-sea .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--wp--preset--color--accent-7); color: var(--wp--preset--color--base); }
.is-sea .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.is-sea .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--accent-2); border-color: #fff; }
.lh-cta-band.is-sea + * { margin-top: 0; }

/* Card grids: fixed column counts by width (WordPress' auto-fill maths drops to 2 columns
   once our wider gap is added). */
.lh-cards { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 640px) { .lh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1000px) { .lh-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

/* Less air between an inner-page hero and the first section */
.lh-page-hero + .lh-section { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Gallery: fixed row height so a leftover photo can stretch to close the last row */
@media (min-width: 782px) {
	.lh-gallery.wp-block-gallery.columns-3 { grid-auto-rows: clamp(170px, 19vw, 270px); }
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image img { height: 100% !important; aspect-ratio: auto !important; }
	/* the large first photo takes 4 cells: with N photos, N ≡ 1 (mod 3) leaves 2 empty cells, N ≡ 2 leaves 1 */
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; }
	.lh-gallery.wp-block-gallery.columns-3 > .wp-block-image:last-child:nth-child(3n+2) { grid-column: span 2; }
}

/* ==========================================================================
   Enquiry page (/zapitvane/) + Fluent Forms styling
   ========================================================================== */
.lh-page-hero--short { padding-block: clamp(2.8rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.lh-page-hero--short .lh-lead { margin-bottom: 0; max-width: 40rem; }
.lh-section--form { padding-top: clamp(2.5rem, 5vw, 4rem); }
.lh-enquiry { gap: clamp(2rem, 5vw, 5rem) !important; }
.lh-form-card { background: #fff; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 30px 60px -40px rgba(28, 35, 33, .35); border: 1px solid var(--wp--preset--color--accent-6); }

/* steps */
.lh-steps { margin: 1.2rem 0 2.5rem; }
.lh-step { display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; padding: 1.1rem 0; border-top: 1px solid var(--wp--preset--color--accent-6); }
.lh-step:last-child { border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.lh-step__num { margin: 0 !important; font-family: var(--wp--preset--font-family--heading); font-style: italic; color: var(--wp--preset--color--accent-7); font-size: 1.3rem; line-height: 1.3; }
.lh-step__body > * { margin: 0 !important; }
.lh-step__title { font-size: 1.2rem !important; line-height: 1.3 !important; }
.lh-step__text { margin-top: .3rem !important; font-size: .92rem; color: var(--wp--preset--color--accent-4); line-height: 1.6; }
.lh-enquiry-aside .lh-amen-box { font-size: .94rem; }

/* Fluent Forms */
.lh-form-card .fluentform { font-family: var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); }
.lh-form-card .fluentform .ff-el-group { margin-bottom: 1.4rem; }
.lh-form-card .fluentform .ff-t-container { gap: 1.25rem; }
.lh-form-card .fluentform .ff-t-cell { padding: 0 !important; }
.lh-form-card .fluentform .ff-el-input--label { margin-bottom: .5rem; }
.lh-form-card .fluentform .ff-el-input--label label {
	font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--accent-4); line-height: 1.4;
}
.lh-form-card .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--wp--preset--color--accent-7); margin-left: .2em; }
.lh-form-card .fluentform .ff-el-form-control {
	font-family: inherit; font-size: 1rem; line-height: 1.4; color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base); border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 20%, transparent);
	border-radius: 2px; padding: .85rem 1rem; height: auto; box-shadow: none;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.lh-form-card .fluentform select.ff-el-form-control {
	appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A8834F' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center;
}
.lh-form-card .fluentform .ff-el-form-control::placeholder { color: color-mix(in srgb, var(--wp--preset--color--contrast) 40%, transparent); }
.lh-form-card .fluentform .ff-el-form-control:hover { border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 40%, transparent); }
.lh-form-card .fluentform .ff-el-form-control:focus {
	outline: none; background-color: #fff; border-color: var(--wp--preset--color--accent-2);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent-2) 15%, transparent);
}
.lh-form-card .fluentform input.flatpickr-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8834F' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.8rem; cursor: pointer;
}
.lh-form-card .fluentform textarea.ff-el-form-control { min-height: 7.5rem; resize: vertical; }
/* consent */
.lh-form-card .fluentform .ff_gdpr_field, .lh-form-card .fluentform .ff-el-tc { font-size: .88rem; color: var(--wp--preset--color--accent-4); line-height: 1.6; }
.lh-form-card .fluentform .ff-el-form-check-label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.lh-form-card .fluentform input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0 !important;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 35%, transparent); border-radius: 2px; background: var(--wp--preset--color--base); cursor: pointer; display: grid; place-content: center;
}
.lh-form-card .fluentform input[type="checkbox"]::after { content: ""; width: .55rem; height: .3rem; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.lh-form-card .fluentform input[type="checkbox"]:checked { background: var(--wp--preset--color--accent-2); border-color: var(--wp--preset--color--accent-2); }
.lh-form-card .fluentform input[type="checkbox"]:checked::after { opacity: 1; }
.lh-form-card .fluentform input[type="checkbox"]:focus-visible { outline: 2px solid var(--wp--preset--color--accent-2); outline-offset: 2px; }
/* submit */
.lh-form-card .fluentform .ff_submit_btn_wrapper { margin-top: .6rem; margin-bottom: 0; }
.lh-form-card .fluentform .ff-btn-submit, .lh-form-card .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--base); border: 0; border-radius: 2px;
	font-family: var(--wp--preset--font-family--body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	padding: 1.25em 2.6em; line-height: 1.2; opacity: 1; transition: background-color .25s; box-shadow: none;
}
.lh-form-card .fluentform .ff-btn-submit:hover, .lh-form-card .fluentform .ff-btn-submit:focus-visible { background: var(--wp--preset--color--accent-7); color: var(--wp--preset--color--base); opacity: 1; }
/* errors + success */
.lh-form-card .fluentform .ff-el-is-error .ff-el-form-control { border-color: #b3261e; }
.lh-form-card .fluentform .error.text-danger { color: #b3261e; font-size: .8rem; margin-top: .4rem; }
.lh-form-card .ff-message-success {
	border: 0; box-shadow: none; padding: 1rem 0; margin: 0; font-size: 1.05rem; color: var(--wp--preset--color--contrast);
}
.lh-form-card .ff-message-success h3 { font-family: var(--wp--preset--font-family--heading); font-size: 2rem; margin: 0 0 .6rem; color: var(--wp--preset--color--accent-2); }
@media (max-width: 767px) {
	.lh-form-card .fluentform .ff-t-container { display: block; }
	.lh-form-card .fluentform .ff-t-cell { width: 100% !important; }
	.lh-form-card .fluentform .ff-btn-submit { width: 100%; }
}
/* date picker in site colours */
.flatpickr-calendar { font-family: var(--wp--preset--font-family--body); border-radius: 2px; box-shadow: 0 20px 50px -20px rgba(28, 35, 33, .4); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--wp--preset--color--accent-2); border-color: var(--wp--preset--color--accent-2); }
.flatpickr-day.today { border-color: var(--wp--preset--color--accent-1); }
.lh-form-card .fluentform .ff-el-form-check-label { gap: .75rem; }
.lh-form-card .fluentform .ff-el-form-check-label > span { display: flex; }
.lh-form-card .fluentform .ff_t_c { flex: 1; }
.lh-form-card .ff-message-success { scroll-margin-top: 140px; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 500; }

/* ==========================================================================
   Content pages (golf, spa, pools & beach, sport, restaurants, pets, sights,
   gallery, offers, contacts)
   ========================================================================== */
.lh-page-hero--short .wp-block-buttons { margin-top: 2rem; gap: .7rem; }
.lh-mt { margin-top: clamp(2.5rem, 5vw, 4rem) !important; }

/* image + text rows */
.lh-features > * + * { margin-top: clamp(3.5rem, 8vw, 7rem) !important; }
.lh-feature { gap: clamp(2rem, 6vw, 6rem) !important; }
.lh-feature__img { margin: 0 !important; overflow: hidden; }
.lh-feature__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1.2s var(--lh-ease); }
.lh-feature__img a:hover img { transform: scale(1.04); }
.lh-feature__text h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 0 1.2rem; }
.lh-feature__text .wp-block-buttons { margin-top: 1.8rem; }
@media (min-width: 782px) { .lh-feature--rev { flex-direction: row-reverse; } }

/* numbered item grid */
.lh-items { gap: 0 clamp(1.5rem, 3vw, 3rem) !important; grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 640px) { .lh-items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1000px) { .lh-items { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.lh-item { border-top: 1px solid var(--wp--preset--color--accent-6); padding: 1.6rem 0 2.2rem; }
.lh-item > * { margin: 0 !important; }
.lh-item__num { font-family: var(--wp--preset--font-family--heading); font-style: italic; color: var(--wp--preset--color--accent-7); font-size: 1.1rem; }
.lh-item__title { font-size: 1.45rem !important; margin-top: .6rem !important; line-height: 1.25 !important; }
.lh-item__text { margin-top: .6rem !important; color: var(--wp--preset--color--accent-4); font-size: .95rem; line-height: 1.65; }
.lh-items--places .lh-item__num, .lh-items--contacts .lh-item__num {
	font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
}
.lh-items--contacts .lh-item__text a { font-weight: 500; word-break: break-word; }
.lh-note-wrap { margin-top: 1.5rem !important; }
.lh-note-line { font-size: .92rem; color: var(--wp--preset--color--accent-4); border-top: 1px solid var(--wp--preset--color--accent-6); padding-top: 1.5rem; margin: 0; }

/* boxes */
.lh-amen-box > p { font-size: .95rem; }
.lh-box__contact a { font-weight: 500; word-break: break-word; }
.lh-box__note { font-size: .85rem !important; color: var(--wp--preset--color--accent-4); margin-top: 1rem !important; }
.lh-amen-box--white { background: #fff; }
.lh-prices td:first-child { width: auto !important; font-family: var(--wp--preset--font-family--body) !important; font-size: .95rem !important; }
.lh-prices td:last-child, .lh-prices th:last-child { text-align: right; white-space: nowrap; padding-right: 0; }
.lh-prices td:last-child { font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; color: var(--wp--preset--color--accent-2); }
.lh-price { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--wp--preset--color--accent-6); }
.lh-price > * { margin: 0 !important; }
.lh-price__num { font-family: var(--wp--preset--font-family--heading); font-size: 2.6rem; line-height: 1; color: var(--wp--preset--color--accent-2); }
.lh-price__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--accent-4); margin-top: .5rem !important; }

/* restaurants */
.lh-intro-text { margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.lh-venues { border-top: 1px solid var(--wp--preset--color--contrast); }
.lh-venue { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.lh-venue > * { margin: 0 !important; }
.lh-venue__type { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--wp--preset--color--accent-7); }
.lh-venue__name { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin-top: .4rem !important; line-height: 1.2 !important; }
.lh-venue__text { margin-top: .8rem !important; color: var(--wp--preset--color--accent-4); line-height: 1.65; }
.lh-venue__contact { margin-top: .8rem !important; font-size: .92rem; }
.lh-venue__contact a { font-weight: 500; }
@media (min-width: 900px) {
	.lh-venue { display: grid; grid-template-columns: 1fr 1.25fr .8fr; grid-template-areas: "type text contact" "name text contact"; column-gap: 3rem; align-items: start; }
	.lh-venue__type { grid-area: type; }
	.lh-venue__name { grid-area: name; }
	.lh-venue__text { grid-area: text; margin-top: 0 !important; }
	.lh-venue__contact { grid-area: contact; margin-top: 0 !important; text-align: right; }
}
/* the price list is small enough to fit a phone — no horizontal scroll needed */
@media (max-width: 781px) { .lh-prices table { min-width: 0 !important; } }
.lh-prices table { table-layout: auto !important; } .lh-prices td:first-child { line-height: 1.5; }
.lh-prices th:first-child { width: auto !important; } .lh-prices th:last-child, .lh-prices td:last-child { width: 1%; }

/* Long-form text (privacy policy) */
.lh-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.6rem 0 .9rem; }
.lh-prose h2:first-child { margin-top: 0; }
.lh-prose p, .lh-prose li { line-height: 1.75; }
.lh-prose-list { padding-left: 1.2rem; }
.lh-prose-list li { margin-bottom: .45rem; }
.lh-prose-list li::marker { color: var(--wp--preset--color--accent-1); }
.lh-updated { margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--accent-6); font-size: .88rem; color: var(--wp--preset--color--accent-4); }
mark.lh-todo { background: #fff1b8; color: #6b4e00; padding: 0 .25em; border-radius: 2px; }
.lh-form-card .fluentform .ff_t_c a { color: var(--wp--preset--color--accent-2); }
.lh-footer__bottom a { color: inherit; }
h2.lh-eyebrow { margin-top: 0; }

/* Keyboard focus: always visible */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--wp--preset--color--accent-2); outline-offset: 3px; }
.is-sea :where(a, button):focus-visible, .lh-footer :where(a, button):focus-visible, .lh-hero :where(a, button):focus-visible { outline-color: #fff; }
.is-dark .lh-eyebrow { color: var(--lh-light-brass); }

/* Scroll cue: bottom-right of the hero so it never meets the left-aligned buttons */
.lh-scroll-cue { left: auto; right: 0; transform: none; text-align: center; }
