/* ==========================================================================
   Langley Hall - main stylesheet
   Replaces Enfold's framework CSS + the enfold-child style.css.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
/* Inter (variable, Latin subset): one 48KB file covers weights 400-700. */
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Arial tuned to Inter's metrics, so text doesn't reflow (CLS) when the web font swaps in. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }

/* Tokens ------------------------------------------------------------------ */
:root {
	/* Brand: "A Langley Christmas" - black & gold (default from 2026-11-13; Midnight & Sky Blue is in the colour preview). */
	--accent: #e2b04a;          /* brand gold: buttons, highlights, accents on black (9:1) */
	--accent-rgb: 226, 176, 74; /* same, for rgba() tints */
	--accent-strong: #c99a35;   /* button hover */
	--accent-text: #86600f;     /* gold as text/lines on light backgrounds - bronze, 5.7:1 on white (WCAG AA) */
	--on-accent: #1a1a1a;       /* text on gold fills - 8.7:1 */
	--accent-soft: #fbf3e2;     /* pale gold tint behind notes/tags */
	--cta: var(--accent);       /* call-to-action band */
	--cta-btn: var(--on-accent);
	--ink: #1a1a1a;
	--heading: #222;
	--text: #444;
	--muted: #666;
	--line: #e1e1e1;
	--soft: #f9f9f9;
	--soft-2: #f2f2f2;
	--dark: #222;               /* dark sections */
	--darker: #1b1b1b;          /* footer */
	--darkest: #0b0b0b;         /* deepest panels (membership heroes) */
	--dark-rgb: 8, 8, 8;        /* glass header over photos */
	--topbar-bg: #141414;
	--logo-tile: #000;          /* header logo square on the white header */
	--logo-tile-hero: #fff;     /* ...and over a hero photo */
	--logo-letters: transparent; /* LH is cut out of the square; a colour here fills it */
	--radius: 8px;
	--radius-lg: 16px;
	--header-h: 90px;
	--topbar-h: 0px;            /* set from the real height by site.js; estimates below avoid a jump */
	--top-h: calc(var(--header-h) + var(--topbar-h)); /* everything above the content */
	--adminbar-h: 0px;
	--gutter: 50px;
	--container: 1310px;
	--font: "Inter", "Inter Fallback", Arial, sans-serif;
	--shadow: 0 4px 14px rgba(0, 0, 0, .08);
	--arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 5.5 16 12l-6.5 6.5'/%3E%3C/svg%3E"); /* slim chevron */
}
@media (max-width: 989px) { :root { --header-h: 76px; --gutter: 24px; } }
@media (max-width: 767px) { :root { --gutter: 20px; } body { font-size: 16px; } }

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
	margin: 0;
	font: 400 17px/1.65 var(--font);
	font-feature-settings: "cv11", "ss03"; /* single-storey a, rounder quotes - friendlier than Inter's default */
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
p { margin: 0 0 .85em; }
strong, b { font-weight: 600; }
.textblock strong, .entry strong { color: var(--accent-text); }
#custom-footer strong { color: var(--accent); } /* dark footer: bright cyan reads 8:1+ */
#custom-socket strong { color: var(--accent-text); }
ul, ol { padding-left: 1.25em; }
hr, .hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
iframe { border: 0; display: block; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--heading); margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.8125rem); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 1.375rem; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.capitalize { text-transform: capitalize; }
.uppercase { text-transform: uppercase; }

/* Buttons ----------------------------------------------------------------- */
.btn, .button, .wpcf7-submit, input[type="submit"], .login-submit .button, .avia-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 18px 30px; border: 0; border-radius: var(--radius);
	background: var(--accent); color: var(--on-accent); cursor: pointer;
	font: 500 16px/1.2 var(--font); letter-spacing: 1px; text-transform: uppercase; text-align: center;
	transition: background-color .2s, transform .2s;
}
.btn:hover, .button:hover, .wpcf7-submit:hover, input[type="submit"]:hover, .avia-button:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn:active, .button:active { transform: translateY(1px); }
.btn--small { padding: 14px 24px; font-size: 14px; }
/* A slim arrow after link-style buttons and the main submit buttons; it nudges on hover.
   Skipped where a button already carries an icon, and for utility/ghost buttons. */
a.btn:not(.btn--ghost):not(.btn--no-arrow):not(:has(svg))::after,
button.btn--large:not(.btn--outline):not(:has(svg))::after,
a.avia-button::after {
	content: ""; flex-shrink: 0; width: .85em; height: .85em; margin-right: -.25em;
	background: currentColor; opacity: .85;
	-webkit-mask: var(--arrow-mask) center / contain no-repeat; mask: var(--arrow-mask) center / contain no-repeat;
	transition: transform .2s ease;
}
a.btn:hover::after, button.btn--large:hover::after, a.avia-button:hover::after { transform: translateX(3px); }
.btn .ui-icon { flex-shrink: 0; transition: transform .2s ease; }
.btn:hover .ui-icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--outline .ui-icon:first-child { opacity: .75; }
.btn--large { padding: 22px 36px; font-size: 18px; }
@media (max-width: 599px) { .btn--large { padding: 18px 24px; font-size: 16px; letter-spacing: .6px; } }
.btn--ghost { background: transparent; color: var(--muted); font-size: 13px; letter-spacing: 1.5px; }
.btn--ghost:hover { background: var(--soft-2); color: var(--ink); }
.btn-wrap { margin-top: 1.5rem; }
.btn-wrap--center { text-align: center; }
.btn-wrap--right { text-align: right; }
.button.cancel { background: #d63638; }

/* Header ------------------------------------------------------------------ */
/* .site-top wraps the top bar + header and does the sticking/fixing; both stay visible on scroll. */
.site-top { position: sticky; top: var(--adminbar-h); z-index: 100; }
.has-hero .site-top { position: fixed; left: 0; right: 0; }
/* Over a hero, top bar + header read as one smoked-glass panel (on a pseudo-element:
   backdrop-filter on .site-top itself would trap the fixed mobile menu inside it). */
.has-hero .site-top::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(rgba(var(--dark-rgb), .62), rgba(var(--dark-rgb), .42));
	-webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
	transition: opacity .25s;
}
.has-hero .site-top.is-scrolled::before, .nav-open .site-top::before { opacity: 0; }
.site-header {
	position: relative; z-index: 1;
	height: var(--header-h);
	background: #fff; color: var(--ink);
	transition: background-color .25s, box-shadow .25s;
}
.has-hero .site-header { background: transparent; color: #fff; }
.has-hero .site-top.is-scrolled .site-header, .nav-open .site-header { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.site-top.is-scrolled .site-header { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.admin-bar { --adminbar-h: 32px; }
@media (max-width: 782px) { .admin-bar { --adminbar-h: 46px; } .admin-bar.has-hero .site-top { position: absolute; } }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
/* Desktop: logo | menu | actions on a 1fr-auto-1fr grid so the menu sits dead centre. */
@media (min-width: 990px) {
	.site-header__inner { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
	.site-header__actions { justify-self: end; }
}
.site-header__logo { position: relative; display: block; width: 70px; height: 70px; flex-shrink: 0; }
.site-header__logo .logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: filter .25s; }
/* Over a hero, the black tile flips to white (letters are cut out, so they show the dark band). */
.has-hero:not(.nav-open) .site-top:not(.is-scrolled) .logo { filter: invert(1); }
/* Where masks work, the mark is drawn from the SVG as a mask so the square (and the cut-out
   letters) can take any colour; the <img> stays for its alt text and as the fallback. */
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
	.site-header__logo .logo { opacity: 0; filter: none !important; }
	.site-header__logo::before, .site-header__logo::after { content: ""; position: absolute; pointer-events: none; }
	.site-header__logo::before { inset: 30% 18% 26%; background: var(--logo-letters); } /* sits behind the cut-out letters only */
	.site-header__logo::after {
		inset: 0; background: var(--logo-tile); transition: background-color .25s;
		-webkit-mask: url(../img/lh-mark.svg) center / contain no-repeat; mask: url(../img/lh-mark.svg) center / contain no-repeat;
	}
	.has-hero:not(.nav-open) .site-top:not(.is-scrolled) .site-header__logo::after { background: var(--logo-tile-hero); }
}

.site-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.site-nav__menu { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.site-nav__menu a { display: block; padding: .5rem 1.25rem; color: inherit; font-size: 16px; position: relative; white-space: nowrap; }
/* Seven menu items: tighten progressively as the desktop header narrows. */
@media (min-width: 1200px) and (max-width: 1399px) {
	.site-nav__menu { gap: 0; }
	.site-nav__menu a { padding: .5rem 1rem; }
	.site-nav__menu a::after { left: 1rem; right: 1rem; }
}
@media (min-width: 990px) and (max-width: 1199px) {
	.site-header__inner { gap: 1.25rem; }
	.site-nav__menu { gap: 0; }
	.site-nav__menu a { padding: .5rem .65rem; font-size: 15px; }
	.site-nav__menu a::after { left: .65rem; right: .65rem; }
	.account-chip__name { display: none; }
	.account-chip { padding: 3px; }
}
@media (min-width: 990px) and (max-width: 1099px) {
	.site-header__inner { gap: 1rem; }
	.site-nav__menu a { padding: .5rem .5rem; font-size: 14.5px; }
	.site-nav__menu a::after { left: .5rem; right: .5rem; }
	/* Log in / Log out shrink to their icon; the words stay for screen readers. */
	.site-header__link .site-header__link-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.site-header__link .ui-icon { width: 18px; height: 18px; opacity: 1; }
}
.site-nav__menu a::after {
	content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 2px; height: 2px;
	background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.site-nav__menu a:hover::after, .site-nav__menu .current-menu-item > a::after, .site-nav__menu .current_page_item > a::after, .site-nav__menu .current_page_parent > a::after { transform: scaleX(1); }
.site-nav__member { display: none; }

/* Member actions: "Log in" + Join, or "Log out" + account chip. */
.site-header__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.site-header__link { display: inline-flex; align-items: center; gap: .45rem; color: inherit; font-size: 15px; padding: .5rem .75rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.site-header__link .ui-icon { opacity: .8; }
.site-header__join { gap: .4rem; }
/* Join: a small sparkle that twinkles on hover. */
.btn--join .ui-icon { width: 15px; height: 15px; margin-left: -.15em; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.btn--join:hover .ui-icon { transform: rotate(18deg) scale(1.15); }
.site-header__link:hover { color: var(--accent-text); }
.has-hero .site-top:not(.is-scrolled) .site-header .site-header__link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.site-header__logout { font-size: 14px; opacity: .7; }
.site-header__logout:hover { opacity: 1; }
.site-header__join { padding: 11px 22px; font-size: 13px; font-weight: 600; border-radius: 999px; }
.account-chip {
	display: inline-flex; align-items: center; gap: .55rem; padding: 4px 16px 4px 4px;
	border: 1px solid var(--line); border-radius: 999px; color: inherit; font-size: 15px; font-weight: 500; line-height: 1;
	transition: border-color .2s, background-color .2s;
}
.account-chip:hover { border-color: var(--accent); color: inherit; background: rgba(var(--accent-rgb), .08); }
.account-chip__avatar {
	display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; letter-spacing: .5px;
}
.account-chip__name { max-width: 10ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has-hero .site-top:not(.is-scrolled) .site-header .account-chip { border-color: rgba(255, 255, 255, .35); }
.has-hero .site-top:not(.is-scrolled) .site-header .account-chip:hover { background: rgba(255, 255, 255, .12); }
.site-header__toggle { display: none; place-items: center; min-width: 44px; min-height: 44px; background: none; border: 0; padding: 10px; margin-right: -10px; color: inherit; cursor: pointer; } /* 44px touch target */
.burger, .burger::before, .burger::after { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -8px; }
.burger::after { top: 8px; }
[aria-expanded="true"] .burger { background: transparent; }
[aria-expanded="true"] .burger::before { transform: translateY(8px) rotate(45deg); }
[aria-expanded="true"] .burger::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 989px) {
	.site-header__toggle { display: grid; margin-left: .15rem; }
	.site-header__actions { gap: .45rem; }
	/* Log in / Join stay in the header on phones: a round icon button and a compact pill. */
	.site-header__actions .site-header__link:not(.site-header__logout) {
		width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%;
		box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9;
	}
	.site-header__actions .site-header__link .site-header__link-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.site-header__actions .site-header__link .ui-icon { width: 19px; height: 19px; opacity: 1; }
	.site-header__actions .site-header__logout { display: none; } /* logged in: log out lives in the menu */
	.site-header__actions .site-header__join { min-height: 42px; padding: 0 16px; font-size: 12.5px; letter-spacing: .8px; }
	.account-chip { padding: 0; border: 0; }
	.account-chip__name { display: none; }

	/* Full-screen menu that always fits: row size scales with the screen height. */
	.site-nav {
		position: fixed; inset: var(--top-h) 0 0 0; z-index: 99;
		flex-direction: column; justify-content: flex-start; gap: 0;
		padding: clamp(.5rem, 2.2vh, 1.5rem) var(--gutter) calc(1rem + env(safe-area-inset-bottom));
		background: #fff; color: var(--ink);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s, visibility .25s;
		overflow-y: auto; overscroll-behavior: contain;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav__menu { flex-direction: column; gap: 0; }
	.site-nav__menu li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
	.nav-open .site-nav__menu li { opacity: 1; transform: none; }
	.nav-open .site-nav__menu li:nth-child(2) { transition-delay: .03s; }
	.nav-open .site-nav__menu li:nth-child(3) { transition-delay: .06s; }
	.nav-open .site-nav__menu li:nth-child(4) { transition-delay: .09s; }
	.nav-open .site-nav__menu li:nth-child(5) { transition-delay: .12s; }
	.nav-open .site-nav__menu li:nth-child(6) { transition-delay: .15s; }
	.nav-open .site-nav__menu li:nth-child(n+7) { transition-delay: .18s; }
	.site-nav__menu a {
		display: flex; align-items: center; justify-content: space-between; gap: 1rem;
		font-size: clamp(1.0625rem, .7rem + 1.6vh, 1.375rem); font-weight: 500; letter-spacing: -.01em;
		padding: clamp(.55rem, 1.55vh, .95rem) 0; border-bottom: 1px solid var(--line);
	}
	.site-nav__menu a::after { /* subtle chevron instead of the desktop underline */
		position: static; transform: none; flex-shrink: 0; width: .7em; height: .7em; left: auto; right: auto; bottom: auto;
		background: currentColor; opacity: .3;
		-webkit-mask: var(--arrow-mask) center / contain no-repeat; mask: var(--arrow-mask) center / contain no-repeat;
	}
	.site-nav__menu .current-menu-item > a, .site-nav__menu .current_page_item > a, .site-nav__menu .current_page_parent > a { color: var(--accent-text); }
	.site-nav__menu .current-menu-item > a::after, .site-nav__menu .current_page_item > a::after, .site-nav__menu .current_page_parent > a::after { opacity: .9; transform: none; }
	.site-nav__member { display: flex; gap: .5rem; margin-top: clamp(.75rem, 2vh, 1.25rem); }
	.site-nav__member:empty { display: none; }
	.site-nav__account {
		flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px;
		border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 600;
	}
	.site-nav__account--quiet { background: var(--soft-2); color: var(--ink); font-weight: 500; }
	.site-header__logo { width: 56px; height: 56px; }
}
/* Phone on its side: two columns so the whole menu still fits. */
@media (max-width: 989px) and (orientation: landscape) and (max-height: 520px) {
	.site-nav__menu { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
	.site-nav__menu a { font-size: 1.0625rem; padding: .5rem 0; }
}
@media (max-width: 359px) {
	.site-header__actions .site-header__join { padding: 0 12px; letter-spacing: .5px; }
}
@media (prefers-reduced-motion: reduce) {
	.site-nav__menu li { transition: none; }
}

/* Top bar: open/closed status + countdown (inc/topbar.php) ------------------- */
:root:has([data-topbar]) { --topbar-h: 40px; }
.topbar {
	--tb-bg: var(--topbar-bg); --tb-fg: rgba(255, 255, 255, .92); --tb-muted: rgba(255, 255, 255, .58); --tb-line: rgba(255, 255, 255, .12);
	--tb-badge-bg: rgba(var(--accent-rgb), .16); --tb-badge-fg: var(--cta);
	position: relative; z-index: 2;
	background: var(--tb-bg); color: var(--tb-fg);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	font-size: 13px; line-height: 1.4; letter-spacing: .01em;
	transition: background-color .3s;
}
/* Over a hero it's part of the header's glass panel (see .site-top::before), split by a hairline. */
.has-hero:not(.nav-open) .site-top:not(.is-scrolled) .topbar { background: transparent; border-bottom-color: rgba(255, 255, 255, .1); }
.topbar__inner {
	display: grid; align-items: center; column-gap: 1.5rem; min-height: 40px;
	grid-template-columns: max-content minmax(0, 1fr);
}

/* Status --------------------------------------------------------------------- */
.topbar__hours { position: relative; grid-column: 1; justify-self: start; }
.topbar__status {
	display: flex; align-items: center; gap: .6rem; height: 40px;
	list-style: none; cursor: pointer; white-space: nowrap; user-select: none;
}
.topbar__status::-webkit-details-marker { display: none; }
.topbar__status-text { display: flex; align-items: center; color: var(--tb-muted); transition: color .2s; }
.topbar__status-text strong { color: #fff; font-weight: 600; }
.topbar__status-rest { display: flex; align-items: center; }
.topbar__status-rest::before { content: ""; width: 1px; height: 12px; margin: 0 .65rem; background: var(--tb-line); }
.topbar__status:hover .topbar__status-text, .topbar__hours[open] .topbar__status-text { color: var(--tb-fg); }
.topbar__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex-shrink: 0; }
.topbar__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
[data-state="open"] .topbar__dot { background: #34d17a; }
[data-state="soon"] .topbar__dot { background: #f97316; }
[data-state="closed"] .topbar__dot { background: #8b8b8b; }
[data-state="open"] .topbar__dot::after, [data-state="soon"] .topbar__dot::after { animation: topbar-pulse 2.4s ease-out infinite; }
@keyframes topbar-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(3); opacity: 0; } }
.topbar__chev { color: var(--tb-muted); transition: transform .25s, color .2s; }
.topbar__status:hover .topbar__chev { color: var(--tb-fg); }
.topbar__hours[open] .topbar__chev { transform: rotate(180deg); }

/* Hours card */
.topbar__panel {
	position: absolute; top: calc(100% + 8px); left: -14px; z-index: 5;
	width: 300px; padding: 1.25rem 1.25rem 1rem;
	background: #fff; color: var(--text); border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 48px rgba(0, 0, 0, .24);
	font-size: 14px; letter-spacing: 0;
	animation: topbar-pop .18s ease-out;
}
@keyframes topbar-pop { from { opacity: 0; transform: translateY(-4px); } }
.topbar__panel-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 0 0 .6rem; }
.topbar__panel-sub { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 1.1rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--soft-2); }
.topbar__table { width: calc(100% + 1rem); margin: 0 -.5rem; border-collapse: separate; border-spacing: 0 2px; }
.topbar__table th, .topbar__table td { padding: .38rem .5rem; font-weight: 400; text-align: left; color: var(--text); }
.topbar__table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.topbar__table tr > :first-child { border-radius: 8px 0 0 8px; }
.topbar__table tr > :last-child { border-radius: 0 8px 8px 0; }
.topbar__table tr.is-today > * { background: rgba(var(--accent-rgb), .12); color: var(--ink); font-weight: 600; }
.topbar__table tr.is-today th { box-shadow: inset 3px 0 0 var(--accent); }
.topbar__table tr.is-today th::after { content: "Today"; margin-left: .5rem; font-size: 11px; font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; }
.topbar__specials { list-style: none; margin: 0; padding: 0; }
.topbar__specials li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.topbar__specials em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.topbar__specials span:last-child { text-align: right; white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Countdown ------------------------------------------------------------------ */
.topbar__countdown {
	grid-column: 2; justify-self: end; min-width: 0; max-width: 100%;
	display: flex; align-items: center; gap: .55rem; white-space: nowrap;
	color: var(--tb-muted); transition: color .2s;
}
.topbar__countdown[hidden] { display: none; }
.topbar__countdown { padding: 10px 0; margin: -10px 0; } /* taller touch target, same look */
a.topbar__countdown:hover { color: var(--tb-fg); }
a.topbar__countdown:hover .topbar__cd-title { color: #fff; }
.topbar__cd-icon { display: grid; place-items: center; color: var(--tb-muted); }
.topbar__cd-kind { color: var(--tb-muted); }
.topbar__cd-kind::after { content: ""; display: inline-block; width: 1px; height: 12px; margin-left: .55rem; vertical-align: -1px; background: var(--tb-line); }
.topbar__cd-title { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; color: var(--tb-fg); font-weight: 500; transition: color .2s; }
.topbar__cd-when {
	display: inline-flex; align-items: baseline; gap: .3rem;
	padding: 3px 9px; border-radius: 999px;
	background: var(--tb-badge-bg); color: var(--tb-badge-fg);
	font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.topbar__cd-unit { color: var(--tb-badge-fg); opacity: .75; font-weight: 500; }
.topbar__cd-unit b { font-weight: 700; opacity: 1; color: #fff; margin-right: 1px; }
@media (max-width: 1199px) { .topbar__cd-kind { display: none; } }
@media (max-width: 989px) { .topbar__cd-title { max-width: 14ch; } }

@media (prefers-reduced-motion: reduce) {
	.topbar__dot::after, .topbar__panel { animation: none !important; }
}

/* Small screens: one row - status left, countdown (icon + pill) right. */
@media (max-width: 599px) {
	.topbar__inner { column-gap: .75rem; }
	.topbar__status { height: 36px; }
	.topbar__countdown { gap: .4rem; }
	.topbar__cd-title { display: none; } /* too little room - icon + pill, full text in aria-label */
	.topbar__cd-when { padding: 2px 7px; font-size: 11.5px; }
	.topbar__panel { position: fixed; left: 16px; right: 16px; width: auto; top: auto; margin-top: 8px; }
}
/* Smallest phones (320-379px): trim chrome so status + countdown fit on one line. */
@media (max-width: 379px) {
	.topbar { font-size: 12px; }
	.topbar__chev, .topbar__cd-icon { display: none; }
	.topbar__status { gap: .45rem; }
	.topbar__status-rest::before { margin: 0 .45rem; }
	.topbar__cd-when { padding: 2px 6px; font-size: 11px; }
}

/* Seasonal snowfall (inc/festive.php, assets/js/festive.js) ----------------- */
/* Sits above the hero photo and its tint, below the text; fades out at the section edges. */
.festive-snow {
	position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 82%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 82%, transparent);
}
.is-festive .mdash-hero__inner, .is-festive #home-upcoming-events > .sec__inner { position: relative; z-index: 2; }
/* Snow pause/play: a small frosted-glass button in the corner of the first hero. */
.festive-toggle {
	position: absolute; right: var(--gutter); bottom: 18px; z-index: 3;
	display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
	background: rgba(0, 0, 0, .32); color: #fff; cursor: pointer;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	opacity: .78; transition: opacity .2s, background-color .2s, border-color .2s;
}
.festive-toggle:hover { opacity: 1; background: rgba(0, 0, 0, .5); }
.festive-toggle.is-paused { color: var(--accent); border-color: rgba(var(--accent-rgb), .55); opacity: .92; }
@media (max-width: 767px) { .festive-toggle { width: 44px; height: 44px; bottom: 14px; } }
.mdash-hero .festive-toggle { top: 16px; bottom: auto; }
@media (max-width: 767px) { .festive-toggle { display: none; } } /* phones: no pause button */
/* Frost: a cold glow rising from the bottom of the hero photos, like mist over snow. */
.is-festive .hero::before, .is-festive .hire-hero::before {
	content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: 1; pointer-events: none;
	background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(225, 235, 255, .3), transparent 72%);
}

/* Baubles: fine gold threads from under the header, glossy gold/champagne baubles, a gentle sway. */
.festive-baubles { position: absolute; inset: var(--top-h) 0 auto; height: 0; z-index: 1; pointer-events: none; }
.festive-bauble {
	position: absolute; top: 0; width: var(--size); height: calc(var(--thread) + var(--size) + 5px);
	transform-origin: 50% 0; animation: festive-swing var(--swing) ease-in-out var(--delay) infinite alternate;
}
.festive-bauble::before { /* thread + cap */
	content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: calc(var(--thread) + 2px); transform: translateX(-50%);
	background: linear-gradient(rgba(var(--accent-rgb), .15), rgba(var(--accent-rgb), .85));
}
.festive-bauble::after { /* bauble with its little cap */
	content: ""; position: absolute; left: 0; top: calc(var(--thread) + 4px); width: var(--size); height: var(--size); border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #fffaf0 0, #f6dc96 14%, #dcae4b 42%, #9c6c17 78%, #5e3f08 100%);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .35), 0 0 18px rgba(var(--accent-rgb), .25);
}
.festive-bauble--champagne::after { background: radial-gradient(circle at 34% 30%, #ffffff 0, #f7efe1 16%, #dccfb4 46%, #a8957a 80%, #6f604b 100%); }
/* metal cap where thread meets bauble */
.festive-bauble { background: linear-gradient(90deg, #8a6a22, #f1d88f 45%, #8a6a22) no-repeat 50% calc(var(--thread) + 1px) / calc(var(--size) * .3) 5px; }
@keyframes festive-swing { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
.snow-paused .festive-bauble { animation-play-state: paused; }
@media (max-width: 767px) {
	.festive-bauble { height: calc(var(--thread) * .55 + var(--size) * .75 + 5px); background-position: 50% calc(var(--thread) * .55 + 1px); background-size: calc(var(--size) * .24) 4px; }
	.festive-bauble::before { height: calc(var(--thread) * .55 + 2px); }
	.festive-bauble::after { top: calc(var(--thread) * .55 + 4px); width: calc(var(--size) * .75); height: calc(var(--size) * .75); }
	.festive-bauble:not(.is-outer) { display: none; } /* phones: one bauble per side, at the very edge */
}
.hire-hero .festive-bauble.is-left { display: none; } /* left-aligned headline there */

/* "Season's Greetings" above the home page title. */
.is-festive body.home .hero .textblock > :is(h1, h2):first-child::before {
	content: "\2726\00a0\00a0Season\2019s Greetings\00a0\00a0\2726"; display: block; margin-bottom: 1rem;
	font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
@media (max-width: 767px) { .is-festive body.home .hero .textblock > :is(h1, h2):first-child::before { font-size: 11px; letter-spacing: .24em; margin-bottom: .75rem; } }

/* Builder sections (av_section) ------------------------------------------- */
.sec { position: relative; overflow: hidden; }
.sec--pad-default { padding: 50px 0; }
.sec--pad-small { padding: 20px 0; }
.sec--pad-large { padding: 70px 0; }
.sec--pad-huge { padding: 130px 0; }
.sec--pad-no-padding { padding: 0; }
.sec__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-start; }
.sec__inner > :not(.col) { flex: 1 1 100%; min-width: 0; }
.sec__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.sec__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.sec--has-bg, .sec--has-bg h1, .sec--has-bg h2, .sec--has-bg h3, .sec--has-bg h4, .sec--has-bg p { color: #fff; }
.hero { display: flex; align-items: center; min-height: 400px; padding-top: calc(var(--top-h) + 40px); padding-bottom: 60px; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4rem); letter-spacing: -.03em; margin-bottom: .35em; }
.hero p { font-size: 1.125rem; margin: 0 auto .5em; max-width: 60ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero .btn-wrap { margin-top: 1.25rem; }

/* Home hero */
#home-page-header { min-height: 500px; }
#home-page-header h2 { font-size: clamp(2.6rem, 1rem + 5.4vw, 5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 10px; }
#home-page-header p { font-size: 16px; letter-spacing: 8px; text-transform: uppercase; margin: .85em 0 30px; max-width: none; }
@media (max-width: 767px) {
	#home-page-header p { letter-spacing: 4px; font-size: 14px; }
	.hero { min-height: 340px; }
}

/* Columns (av_one_half …): Enfold-style widths with a 4% gutter. */
.col { flex: 0 0 auto; min-width: 0; margin-left: 4%; }
.col--first { margin-left: 0; }
.col--1-1 { width: 100%; margin-left: 0; }
.col--1-2 { width: 48%; }
.col--1-3 { width: 30.66%; }
.col--2-3 { width: 65.33%; }
.col--1-4 { width: 22%; }
.col--3-4 { width: 74%; }
.col--1-5 { width: 16.8%; }
.col--2-5 { width: 37.6%; }
.col--3-5 { width: 58.4%; }
.col--4-5 { width: 79.2%; }
.col--middle { align-self: center; }
@media (max-width: 989px) {
	.col--1-5 { width: 30.66%; }
	.col--1-5:nth-child(3n + 1) { margin-left: 0; }
	.col--1-5 { margin-bottom: 1.5rem; }
	#custom-footer .col--1-4 { width: 48%; margin-left: 0; margin-bottom: 1.5rem; }
	#custom-footer .col--1-4:nth-child(even) { margin-left: 4%; }
}
@media (max-width: 767px) {
	.col { width: 100% !important; margin-left: 0 !important; }
	.col + .col { margin-top: 1.5rem; }
	.col--1-5 { width: 48% !important; }
	.col--1-5:nth-child(even) { margin-left: 4% !important; }
	.col--1-5 + .col--1-5 { margin-top: 0; }
}

.textblock > :last-child { margin-bottom: 0; }
.spacer { display: block; }
.av-image { margin-bottom: 1rem; }
.av-image--center img { margin: 0 auto; }
.av-image--right img { margin-left: auto; }
.layout-row, .layout-cell { width: 100%; }

/* Home: introduction */
#introduction { background: var(--soft); }
#introduction h1 { margin-bottom: 14px; }
#introduction .textblock p { max-width: 1000px; margin-left: auto; margin-right: auto; }
#introduction .btn-wrap, #home-upcoming-events .btn-wrap, #home-gallery .btn-wrap { margin-top: 2rem; }

/* Home: upcoming events (dark band) */
#home-upcoming-events { background: var(--dark); }
#home-upcoming-events h2 { color: #fff; margin-bottom: 3rem; }
#home-upcoming-events h3, #home-upcoming-events h3 a { color: #fff; }
#home-upcoming-events .event-date { color: #ccc; margin: .5rem 0 0; }

/* Home: gallery band + reviews */
#home-gallery { background: #ddd; }
#home-gallery h2, #guestbook h2 { margin-bottom: 2rem; }
#guestbook h2 { margin-bottom: .5rem; }
#guestbook .textblock + .textblock { margin-top: 2rem; }

/* Call-to-action band */
.footer-cta { background: var(--cta); }
.footer-cta .sec__inner { align-items: center; }
.footer-cta h2 { color: var(--dark); font-size: clamp(1.25rem, 1rem + 1vw, 1.5625rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
.footer-cta .btn-wrap { margin: 0; text-align: right; }
.footer-cta .btn { background: var(--dark); color: #fff; font-size: 16px; padding: 18px 30px; }
.footer-cta .btn:hover { background: var(--darkest); color: #fff; }
.footer-cta.sec--pad-small { padding: 20px 0; }
@media (max-width: 767px) {
	.footer-cta { text-align: center; }
	.footer-cta .sec__inner { padding-top: 1rem; padding-bottom: 1rem; }
	.footer-cta .btn-wrap { text-align: center; }
}

/* Contact page */
.contact-block strong { color: var(--accent-text); font-weight: 600; }
.contact-block p { margin-bottom: 1rem; }
#member-cta { background: #eee; padding: 2rem; border-radius: var(--radius-lg); }
#member-cta h4 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
#member-cta a {
	display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 1rem; padding: 0 1rem;
	background: var(--accent); color: var(--on-accent); border-radius: var(--radius); font-weight: 500; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; gap: .5em; transition: background-color .2s;
}
#member-cta a:hover { background: var(--accent-strong); color: var(--on-accent); }
#member-cta a::after { content: ""; width: .85em; height: .85em; background: currentColor; opacity: .85; -webkit-mask: var(--arrow-mask) center / contain no-repeat; mask: var(--arrow-mask) center / contain no-repeat; }
.layout-row iframe { width: 100%; height: 450px; filter: grayscale(.15); }

/* 404 */
.room-hire h2 { font-size: clamp(2rem, 1rem + 3vw, 3.5rem); line-height: 1.1; }
@media (max-width: 767px) { .room-hire h2 { text-align: left !important; } }

/* Magazine (latest news) ---------------------------------------------------- */
.mag { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem 8%; }
.mag--has-hero { grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) { .mag--has-hero { grid-template-columns: 1fr; } }
.mag__hero { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mag__img { display: block; margin-bottom: 1.25rem; overflow: hidden; border-radius: var(--radius); }
.mag__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.mag__img:hover img { transform: scale(1.03); }
.mag__date { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #333; }
.mag__title { font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; margin: .15rem 0 .5rem; }
.mag__hero .mag__title { font-size: 1.25rem; }
.mag__title a { color: var(--heading); }
.mag__title a:hover { color: var(--accent-text); }
.mag__excerpt { font-size: 15px; margin: 0; }
.mag__item { display: flex; gap: 1.25rem; align-items: center; padding: 0 0 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.mag__thumb { flex: 0 0 56px; }
.mag__thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.mag__item .mag__title { margin-bottom: 0; }

/* Gallery (av_masonry_gallery) ---------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 15px; margin-top: .5rem; }
@media (max-width: 989px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery__item { display: block; overflow: hidden; border-radius: 4px; background: #ccc; }
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s, opacity .3s; }
a.gallery__item:hover img { transform: scale(1.04); opacity: .92; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 48px/1 var(--font); padding: 12px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__nav--prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 4px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .lightbox img { max-width: 100vw; } .lightbox__nav { top: auto !important; bottom: 8px; transform: none !important; } }

/* Event carousel ------------------------------------------------------------ */
.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (max-width: 1439px) { .carousel__track { grid-auto-columns: calc((100% - 30px) / 2); } }
@media (max-width: 767px) { .carousel__track { grid-auto-columns: 85%; gap: 16px; } }
.carousel__slide { scroll-snap-align: start; min-width: 0; }
.carousel.is-static .carousel__btn { display: none; }
.carousel.is-static .carousel__track { justify-content: center; } /* one or two events: centre them */
.carousel.is-static .carousel__slide { text-align: center; }
.carousel.is-static .carousel__slide img { margin-left: auto; margin-right: auto; }
.carousel__btn {
	position: absolute; top: 150px; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); transition: opacity .2s;
}
.carousel__btn::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: solid var(--ink); border-width: 2px 2px 0 0; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--prev::before { transform: translateX(2px) rotate(-135deg); }
.carousel__btn--next { right: -22px; }
.carousel__btn--next::before { transform: translateX(-2px) rotate(45deg); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .carousel__btn { display: none; } }

.event-slide img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 1rem; transition: transform .4s; }
.event-slide a:hover img { transform: translateY(-3px); }
.event-slide h3 { font-size: 1.5rem; margin-bottom: 0; }
.event-slide h3 a { color: var(--heading); }
.event-slide .event-date { margin: .35rem 0 0; color: var(--muted); }

/* "Fully booked" label (event meta box tick) */
.event-badge { display: inline-flex; align-items: center; gap: 6px; width: auto; max-width: max-content; align-self: flex-start; margin: .5rem 0 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1.5; }
.event-badge--booked { background: #b3261e; color: #fff; }
.event-badge__icon { flex: none; }
/* On event images: pinned top-left over the photo */
.masonry-item .event-thumbnail, .event-slide { position: relative; }
.masonry-item .event-thumbnail .event-badge, .event-slide > .event-badge { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; box-shadow: 0 2px 8px rgba(0,0,0,.3); pointer-events: none; }
.event-hero .event-badge { margin: .25rem 0 0; }
.event-hero .eyebrow { color: #fff; opacity: .85; }
.event-card__note--booked { font-weight: 600; }

/* Events grid ([upcoming-events]) ------------------------------------------- */
#masonry-container .loading-spinner { display: none; }
.masonry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 989px) { .masonry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .masonry-grid { grid-template-columns: 1fr; } }
.masonry-item { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 8px rgba(0, 0, 0, .1); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.masonry-item:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.event-thumbnail { display: flex; }
.masonry-item .event-thumbnail img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; } /* posters are square */
.masonry-item .event-info { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.masonry-item h3 { font-size: 1.75rem; margin-bottom: .5rem; }
.masonry-item h3 a { color: var(--heading); }
.masonry-item .event-summary { font-size: .9em; color: var(--muted); margin-bottom: 10px; }
.masonry-item .event-summary p { margin: 1rem 0; }
.event-button-wrapper { display: flex; margin-top: auto; }
.view-details-button { align-self: flex-start; }

/* Footer list ([upcoming-events-list]) */
ul.upcoming-events-list { list-style: none; margin: 0; padding: 0; }
ul.upcoming-events-list > li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.upcoming-events-list .event-thumbnail img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
ul.upcoming-events-list h4.event-title { font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.4; }
#custom-footer ul.upcoming-events-list h4.event-title a { color: #fff; }
#custom-footer ul.upcoming-events-list h4.event-title a:hover { color: var(--accent); }
#custom-footer ul.upcoming-events-list .event-date { font-size: 12.8px; margin: .25rem 0 0; }

/* Single event ---------------------------------------------------------------- */
.event { padding-top: 2rem; padding-bottom: clamp(48px, 7vw, 90px); }
.event__back { display: inline-block; margin-bottom: 1.5rem; color: var(--muted); font-size: 15px; }
.event__back:hover { color: var(--accent-text); }
.event__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.event__media { position: sticky; top: calc(var(--top-h) + 24px); }
.event__poster { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); }
.event__title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.5rem; }

.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.5rem; align-items: center; padding: 1.5rem; margin-bottom: 2rem;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.event-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.event-card__month { align-self: stretch; text-align: center; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 0; }
.event-card__day { flex: 1; display: grid; place-items: center; font-size: 2.1rem; font-weight: 700; color: var(--heading); line-height: 1; }
.event-card__facts { margin: 0; display: grid; gap: .5rem; }
.event-card__facts div { display: flex; gap: .75rem; align-items: baseline; }
.event-card__facts dt { flex: 0 0 4.75rem; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.event-card__facts dd { margin: 0; color: var(--heading); font-weight: 500; }
.event-card__cta { grid-column: 1 / -1; width: 100%; font-weight: 600; }
.event-card__countdown { grid-column: 1 / -1; margin: -.25rem 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.event-card__countdown strong { color: var(--accent-text); }
.event-card__note { grid-column: 1 / -1; margin: 0; padding: .85rem 1rem; border-radius: var(--radius); background: var(--soft-2); color: var(--muted); }

.event__content { font-size: 1.0625rem; margin-bottom: 2rem; }
.event__links { display: grid; gap: 1.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.event__linkset h2 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff;
	color: var(--heading); font: 500 14px/1.2 var(--font); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.pill:hover { border-color: var(--accent); color: var(--accent-text); background: rgba(var(--accent-rgb), .06); }
.pill.is-done { border-color: var(--accent); color: var(--accent-text); }

.other-events-section { padding: clamp(48px, 7vw, 80px) 0; background: var(--soft); }
@media (max-width: 899px) {
	.event__grid { grid-template-columns: 1fr; }
	.event__media { position: static; max-width: 560px; }
}
@media (max-width: 420px) {
	.event-card { padding: 1.25rem; gap: 1rem; }
	.event-card__date { width: 70px; height: 76px; }
}

/* Footer -------------------------------------------------------------------- */
#custom-footer { background: var(--darker) !important; color: #aaa; padding: 50px 0 30px; }
#custom-footer h3, #custom-footer .widgettitle { color: #fff; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; text-transform: capitalize; margin: 0 0 .85rem; }
#custom-footer p { color: #aaa; margin: 0 0 .35rem; }
#custom-footer a { color: var(--accent); }
#custom-footer a:hover { color: #fff; }
#custom-footer .widget { margin-bottom: 2rem; }
#custom-footer .widget:last-child { margin-bottom: 0; }
#custom-footer .widget ul { list-style: none; margin: 0; padding: 0; }
#custom-footer .widget li { margin-bottom: .6rem; }
#custom-footer .current-menu-item > a { color: #fff; }
#custom-socket { padding: 25px 0; font-size: 15px; background: #fff; }
#custom-socket p { margin: 0; line-height: 1.5; }

/* Generic page / post layouts -------------------------------------------------- */
.no-hero .site-main { min-height: 50vh; }
.page-plain, .post-single { padding-top: 60px; padding-bottom: 80px; }
.page-plain__title { margin-bottom: 1.5rem; }
.entry { max-width: 820px; }
.entry img { border-radius: var(--radius); }
.entry .alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.entry .alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.post-single { max-width: 880px; }
.post-single__date { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.post-single__image { margin: 0 0 2rem; }
.post-single__image img { width: 100%; border-radius: var(--radius); }
.post-single__nav { margin-top: 3rem; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 1.5rem; }
.post-card__title { font-size: 1.25rem; font-weight: 600; margin: .25rem 0 .5rem; }
.post-card__title a { color: var(--heading); }
.nav-links { display: flex; gap: .5rem; margin-top: 2rem; }
.page-numbers { padding: .5rem .9rem; border-radius: 6px; background: var(--soft-2); color: var(--ink); }
.page-numbers.current { background: var(--accent); color: var(--on-accent); }

/* Forms (CF7, login, membership) ----------------------------------------------- */
label { font-size: 13px; letter-spacing: .25px; color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="date"], input[type="url"], input[type="search"], select, textarea {
	width: 100%; max-width: 100%; padding: 16px 15px; margin: 4px 0 18px;
	font: 400 16px/1.4 var(--font); color: #333; background: #fff;
	border: 1px solid var(--line); border-radius: 6px; transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center; padding-right: 40px; }
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2); }
input[type="checkbox"], input[type="radio"] { width: auto; margin-right: .4rem; accent-color: var(--accent); }
.wpcf7-submit { font-size: 13px; padding: 15px 30px; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 1rem; border-radius: 6px; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: -12px; margin-bottom: 12px; }
.login-error { margin-bottom: 1rem; }

/* Membership + member area ----------------------------------------------------- */
.eyebrow { margin: 0 0 .5rem; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-text); }
.eyebrow a { color: inherit; }
.muted { color: var(--muted); font-size: 15px; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { background: var(--soft-2); color: var(--ink); }
.btn--ghost.btn { padding: 14px 18px; }

.section-head { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-head--left { margin: 0 0 2rem; text-align: left; }
.section-head h1 { margin-bottom: .4em; }
.section-head__lede { font-size: 1.125rem; color: var(--muted); margin: 0; }

.lh-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.lh-card > :last-child { margin-bottom: 0; }
.lh-card h2 { font-size: 1.5rem; letter-spacing: -.015em; }
.lh-card h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.lh-card--narrow { max-width: 520px; }
.lh-card__foot { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 15px; }

/* Definition lists: label above value */
.lh-dl { margin: 0; display: grid; gap: .9rem; }
.lh-dl > div { display: grid; gap: .1rem; }
.lh-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.lh-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.lh-dl--inline { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem 1.5rem; padding: 1.25rem; margin: 1.5rem 0; background: var(--soft); border-radius: var(--radius); }
.lh-dl--inline dd { font-weight: 600; }

/* Notices + badges */
.notice { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--soft-2); border-left: 4px solid #bbb; color: var(--ink); }
.notice p { margin: 0; }
.notice ul { margin: .5rem 0 0; }
.notice--error { background: #fdf0f0; border-color: #d63638; }
.notice--warn { background: #fdf6e7; border-color: #e0a100; }
.notice--success { background: #edf7ef; border-color: #2e9b4f; }
.notice--info { background: var(--accent-soft); border-color: var(--accent); }
.notice:focus { outline: none; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; background: var(--soft-2); color: #555; }
.badge--active { background: #e3f4e7; color: #1d6a33; }
.badge--pending { background: #fdf1d8; color: #865100; }
.badge--expired { background: #fbe5e5; color: #a32020; }

/* Membership types archive */
.post-type-archive-membership_type .site-main { background: var(--soft-2); }
/* Memberships listing (archive-membership_type.php) */
.memberships-page { background: #f6f7f9; padding-bottom: 80px; }
.memberships-hero__inner { padding-top: 48px; padding-bottom: 56px; text-align: center; }
.memberships-hero .mdash-hero__sub { max-width: 46ch; margin-left: auto; margin-right: auto; }
.membership-types-wrapper { padding-top: 40px; }
.membership-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 960px) { .membership-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .membership-types { grid-template-columns: 1fr; gap: 14px; } }
.membership-type {
	position: relative; display: flex; flex-direction: column; gap: 1rem;
	background: #fff; border: 1px solid #e7e8ec; border-top: 3px solid var(--accent); border-radius: var(--radius-lg);
	padding: 1.5rem 1.5rem 1.4rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	transition: box-shadow .25s, transform .25s;
}
.membership-type:hover { box-shadow: 0 14px 30px rgba(16, 24, 40, .1); transform: translateY(-2px); }
.membership-type.is-current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.membership-type__flag { position: absolute; top: -12px; left: 1.5rem; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.membership-type__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.membership-type__name { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.membership-type__name a { color: var(--heading); }
.membership-type__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.membership-type__price { display: grid; justify-items: end; margin: 0; flex-shrink: 0; line-height: 1; }
.membership-type__price strong { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.membership-type__price span { margin-top: .3rem; font-size: 12px; color: var(--muted); }
.membership-type__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: -.25rem 0 0; padding: 0; }
.membership-type__tags li { display: inline-flex; align-items: center; gap: .3rem; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.membership-type__tags .ui-icon { width: 13px; height: 13px; }
.membership-type__benefits { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid var(--soft-2); display: grid; gap: .55rem; }
.membership-type__benefits li { position: relative; padding-left: 1.6rem; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.membership-type__benefits li::before {
	content: ""; position: absolute; left: 0; top: .1em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.membership-type__summary { margin: 0; padding-top: 1rem; border-top: 1px solid var(--soft-2); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.membership-type__cta { margin-top: auto; position: relative; z-index: 1; width: 100%; }
.membership-types__foot { max-width: 520px; margin: 2.5rem auto 0; padding: 1.5rem; text-align: center; color: var(--muted); background: #fff; border: 1px solid #e7e8ec; border-radius: var(--radius-lg); }
.membership-types__foot p { margin: 0; }
.membership-types__foot p + p { margin-top: .9rem; }
.membership-types__foot strong { color: var(--ink); }
@media (max-width: 640px) {
	.memberships-hero__inner { padding-top: 32px; padding-bottom: 40px; }
	.membership-types-wrapper { padding-top: 24px; }
	.membership-type { padding: 1.25rem 1.25rem 1.2rem; gap: .85rem; }
	.membership-type__price strong { font-size: 1.75rem; }
}

/* Single membership type */
.membership-breadcrumbs { padding: 1.5rem 0 0; font-size: 14px; color: var(--muted); }
.membership-breadcrumbs a { color: var(--muted); }
.membership-breadcrumbs a:hover { color: var(--ink); }
/* Single membership (single-membership_type.php): dark hero, form in cards, black-and-gold summary. */
.membership-page { padding-bottom: 80px; }
.membership-hero__inner { padding-top: 44px; padding-bottom: 52px; }
.membership-hero .mdash-hero__eyebrow a { color: inherit; }
.membership-hero .mdash-hero__eyebrow a:hover { color: #fff; }
.membership-hero .mdash-hero__sub { color: rgba(255, 255, 255, .75); }
.membership-hero__price { color: var(--accent); font-weight: 700; }
.membership-single { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 24px; padding-top: 32px; }
.membership-single .membership-meta { order: 2; position: sticky; top: calc(var(--top-h) + 20px); }
.membership-form-container { order: 1; min-width: 0; scroll-margin-top: calc(var(--top-h) + 1rem); }
.membership-form-container__title { margin: 0 0 1rem; font-size: 1.25rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }

.membership-meta__card { overflow: hidden; background: #fff; border: 1px solid #e7e8ec; border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(16, 24, 40, .08); }
.membership-meta__head {
	padding: 24px; color: #fff;
	background: var(--darkest) radial-gradient(ellipse 90% 120% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 60%) no-repeat;
	border-bottom: 3px solid var(--accent);
}
.membership-meta__eyebrow { margin: 0 0 .35rem; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.membership-meta__title { margin: 0 0 1.1rem; color: #fff; font-size: 1.35rem; line-height: 1.25; }
.membership-meta__row { display: flex; gap: 2rem; }
.membership-meta__row > div { display: grid; gap: 2px; }
.membership-meta__row span { color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.membership-meta__row strong { color: #fff; font-size: 17px; font-weight: 600; }
.membership-meta__guest { display: flex; align-items: center; gap: 8px; margin: 1rem 0 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.membership-meta__guest .ui-icon { color: var(--accent); }
.membership-meta__body { padding: 20px 24px 22px; }
.membership-meta__body > :last-child, .membership-description > :last-child { margin-bottom: 0; }
.membership-description { font-size: 15px; color: var(--text); }
.membership-description p { margin: 0 0 .75rem; }
.membership-description ul { margin: 0 0 1rem; padding: 0; list-style: none; }
.membership-description ul > li { display: flex; align-items: flex-start; gap: .6rem; margin: .6rem 0; line-height: 1.45; }
.membership-description ul > li:first-child { margin-top: 0; }
.membership-description ul > li::before {
	content: ""; width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.membership-meta__note { margin: 1rem 0 0; padding: .65rem .85rem; border-radius: var(--radius); background: var(--accent-soft); font-size: 14px; color: var(--accent-text); font-weight: 500; }

/* The join form's sections become cards. */
.membership-form-container .lh-form__section { margin: 0 0 20px; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: #fff; border: 1px solid #e7e8ec; border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.membership-form-container .lh-form__section legend { float: left; width: 100%; margin: 0 0 1.1rem; padding: 0; border: 0; font-size: 1.15rem; }
.membership-form-container .lh-form__section legend + * { clear: both; }
.membership-form-container .lh-form__privacy { text-align: center; }
.membership-form-container .lh-form__actions .btn--large { width: 100%; }
.membership-form-container > .lh-card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }

@media (max-width: 900px) {
	.membership-single { grid-template-columns: minmax(0, 1fr); }
	.membership-single .membership-meta { order: 0; position: static; }
	.membership-hero .mdash-hero__sub { display: none; } /* price + date are in the summary card right below */
	.membership-meta__eyebrow, .membership-meta__title { display: none; } /* the name is the page title just above */
}
@media (max-width: 599px) {
	.membership-hero__inner { padding-top: 30px; padding-bottom: 36px; }
	.membership-single { padding-top: 20px; gap: 18px; }
	.membership-meta__head { padding: 20px; }
	.membership-meta__body { padding: 18px 20px 20px; }
	.membership-form-container .field-grid { grid-template-columns: 1fr; }
	.membership-form-container .lh-form__section { padding: 1.15rem 1.1rem 1.25rem; margin-bottom: 14px; }
}

/* Forms */
.lh-form__section { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.lh-form__section legend { width: 100%; padding: 0 0 .75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; color: var(--heading); }
.lh-form__intro { margin-top: -.5rem; color: var(--muted); font-size: 15px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field-grid .field--full { grid-column: 1 / -1; }
.field-grid .field--short input { max-width: 200px; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0; }
.field__req { color: #c0392b; }
.field input { margin-bottom: 4px; }
.field { margin-bottom: 1rem; }
.field__help { margin: 0; font-size: 13px; color: var(--muted); }
.field__error { margin: 2px 0 0; font-size: 13px; color: #b32d2e; }
.field input[aria-invalid="true"] { border-color: #d63638; }
.lh-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choice-list { display: grid; gap: .75rem; }
.choice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.15rem; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.choice input { margin: .3rem 0 0; flex-shrink: 0; }
.choice__body { display: grid; gap: .15rem; font-size: 15px; color: var(--muted); }
.choice__body strong { color: var(--ink); font-size: 16px; }
.choice--disabled { cursor: default; opacity: .55; border-style: dashed; }
.lh-form__privacy { font-size: 13px; color: var(--muted); }
.membership-login-note { margin-top: 1.5rem; text-align: center; }
/* reCAPTCHA: the floating badge covers content on phones, so it's hidden and the
   required notice is printed under each protected form instead (inc/club.php). */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: .75rem 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.recaptcha-note a { color: inherit; text-decoration: underline; }
/* Postcode helper hint (assets/js/site.js) */
.field__hint { margin: .4rem 0 0; min-height: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.field__hint:empty { display: none; }
.field__hint.is-ok { color: #2e7d4f; }
.field__hint.is-warn { color: #9a5b00; }
.lh-form__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.lh-form__actions .btn--large { letter-spacing: .5px; }
@media (max-width: 600px) { .lh-form__actions .btn { width: 100%; } }
.two-per-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.two-per-row h3, .two-per-row .signup { grid-column: 1 / -1; }
.two-per-row label { display: block; }
@media (max-width: 600px) { .two-per-row { grid-template-columns: 1fr; } }

/* Membership confirmation ([membership_payment], membership/signup.php): dark hero, steps card, black-and-gold summary. */
.lh-confirm { padding-bottom: 80px; }
.lh-confirm__hero-inner { display: flex; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 56px; }
.lh-confirm__hero .mdash-hero__sub { max-width: 52ch; }
.lh-confirm__tick { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230b0b0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 30px no-repeat; box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .15); }
.lh-confirm__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 24px; padding-top: 32px; }
.lh-confirm__grid--single { grid-template-columns: minmax(0, 720px); }
.lh-confirm__card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.lh-confirm__card h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.lh-confirm__card strong { overflow-wrap: anywhere; }
.lh-confirm__foot { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lh-confirm__summary { position: sticky; top: calc(var(--top-h) + 20px); }
.lh-confirm__summary .membership-meta__title { margin-bottom: .75rem; }
.lh-confirm__rows { display: grid; margin: 0; }
.lh-confirm__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.lh-confirm__rows dt { color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.lh-confirm__rows dd { margin: 0; color: #fff; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 900px) {
	.lh-confirm__grid { grid-template-columns: minmax(0, 1fr); }
	.lh-confirm__summary { order: -1; position: static; }
	.lh-confirm__summary .membership-meta__eyebrow, .lh-confirm__summary .membership-meta__title { display: block; } /* unlike the join page, the name isn't in the hero */
}
@media (max-width: 599px) {
	.lh-confirm__hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 30px; padding-bottom: 36px; }
	.lh-confirm__tick { width: 48px; height: 48px; background-size: 24px; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .15); }
	.lh-confirm__grid { padding-top: 20px; gap: 18px; }
}
/* Set password */
.lh-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.lh-steps li { counter-increment: step; position: relative; padding-left: 2.75rem; }
.lh-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); font-size: 14px; font-weight: 700; }
.lh-steps strong { color: var(--ink); }
.auth-panel { max-width: 480px; margin: 60px auto 80px; }
.auth-panel h1 { font-size: 1.75rem; }

/* Member dashboard ------------------------------------------------------- */
.mdash-plain { padding-top: 60px; padding-bottom: 80px; }
.mdash { --mdash-brand: var(--accent-text); --mdash-brand-soft: var(--accent-soft); background: #f6f7f9; padding-bottom: 80px; }
.mdash-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.mdash-hero {
	position: relative; overflow: hidden; color: #fff;
	background: var(--darker) radial-gradient(ellipse 70% 90% at 85% 0%, rgba(var(--accent-rgb), .28), transparent 70%) no-repeat;
}
.mdash-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .4), transparent); }
.mdash-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 56px; padding-top: 56px; padding-bottom: 64px; }
.mdash-hero__eyebrow { margin: 0 0 .5rem; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.mdash-hero__title { margin: 0; color: #fff; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.05; }
.mdash-hero__sub { margin: .85rem 0 0; color: rgba(255, 255, 255, .72); font-size: 1.0625rem; }

/* The membership card */
.mcard {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-rows: auto 1fr auto; gap: 14px;
	width: 400px; max-width: 100%; aspect-ratio: 1.586; padding: 22px 24px; border-radius: 18px; color: #fff;
	background: linear-gradient(135deg, #3a3a3a 0%, #1d1d1d 45%, #0b0b0b 100%);
	box-shadow: 0 24px 48px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(var(--accent-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .18);
	transform: rotate(-2deg); transition: transform .4s ease;
}
.mcard:hover { transform: rotate(0) translateY(-2px); }
.mcard::before { /* sheen */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%);
}
.mcard::after { /* rings */
	content: ""; position: absolute; right: -70px; bottom: -110px; z-index: -1; width: 260px; height: 260px; border-radius: 50%;
	border: 34px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 40px rgba(255, 255, 255, .03);
}
.mcard--pending, .mcard--expired, .mcard--cancelled { background: linear-gradient(135deg, #8d9399 0%, #5b6066 45%, #2c2f33 100%); }
.mcard__top { display: flex; align-items: center; gap: 10px; }
.mcard__logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #000; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.mcard__logo svg { display: block; width: 20px; height: auto; }
.mcard__club { font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: 1.5px; text-transform: uppercase; opacity: .9; }
.mcard__status { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mcard--active .mcard__status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #7ef0a3; box-shadow: 0 0 0 3px rgba(126, 240, 163, .25); vertical-align: 1px; }
.mcard--pending .mcard__status { background: #f5c451; color: #3d2a00; }
.mcard__middle { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; }
.mcard__name { font-size: 1.6rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.mcard__type, .mcard__guest { font-size: 14px; opacity: .82; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__guest { font-size: 13px; opacity: .7; }
.mcard__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
.mcard__bottom > div:last-child { text-align: right; }
.mcard__label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; opacity: .7; }
.mcard__value { display: block; font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* Body */
.mdash-body { padding-top: 32px; }
.mdash-callout {
	display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 18px 20px;
	border: 1px solid var(--line); border-left: 4px solid var(--c, var(--accent)); border-radius: var(--radius-lg); background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.mdash-callout--success { --c: #2e9b4f; --c-soft: #e8f5ec; }
.mdash-callout--warn { --c: #d99a00; --c-soft: #fdf3dc; }
.mdash-callout--error { --c: #d63638; --c-soft: #fdecec; }
.mdash-callout--info { --c: var(--accent-text); --c-soft: var(--accent-soft); }
.mdash-callout--neutral { --c: #8c8f94; --c-soft: #f0f1f2; }
.mdash-callout__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c-soft); color: var(--c); }
.mdash-callout__icon .mdash-icon { width: 22px; height: 22px; }
.mdash-callout__text { flex: 1; min-width: 0; }
.mdash-callout__text strong { display: block; color: var(--ink); font-size: 1.0625rem; }
.mdash-callout__text p { margin: 2px 0 0; color: var(--text); font-size: 15px; }
.mdash-callout__text p strong { display: inline; font-size: inherit; font-variant-numeric: tabular-nums; }
.mdash-callout .btn { flex: none; }

.mdash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.mdash-main, .mdash-side { display: grid; gap: 24px; min-width: 0; }

.mdash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mdash-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.mdash-stat__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 10px; background: var(--mdash-brand-soft); color: var(--mdash-brand); }
.mdash-stat__label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.mdash-stat__value { color: var(--ink); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.mdash-stat__meta { color: var(--muted); font-size: 14px; }
.mdash-bar { display: block; height: 6px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #edf0f2; }
.mdash-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-strong)); }
.mdash-bar--low > span { background: linear-gradient(90deg, #f5c451, #d99a00); }

.mdash-panel { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.mdash-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mdash-panel__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.mdash-panel__head h2 .mdash-icon { color: var(--mdash-brand); }
.mdash-panel__head a { font-size: 15px; font-weight: 600; }

.mdash-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.mdash-dl > div { min-width: 0; }
.mdash-dl__wide { grid-column: 1 / -1; }
.mdash-dl dt { margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.mdash-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.mdash-empty { color: #9a9ea3; font-style: italic; }
p.mdash-empty { margin: 0; }

.mdash-events { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mdash-events a { display: flex; align-items: center; gap: 14px; margin: 0 -10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); transition: background-color .2s; }
.mdash-events a:hover { background: var(--soft); color: var(--ink); }
.mdash-events__img, .mdash-events__date { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; }
.mdash-events__date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--mdash-brand-soft); color: var(--mdash-brand); line-height: 1.1; }
.mdash-events__date span { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.mdash-events__date strong { font-size: 20px; }
.mdash-events__body { display: grid; min-width: 0; }
.mdash-events__body strong { overflow: hidden; font-size: 15px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.mdash-events__body span { color: var(--muted); font-size: 14px; }

.mdash-links { display: grid; margin: 0; padding: 0; list-style: none; }
.mdash-links li + li { border-top: 1px solid #f0f1f3; }
.mdash-links a { display: flex; align-items: center; gap: 12px; margin: 0 -10px; padding: 12px 10px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .2s; }
.mdash-links a .mdash-icon:first-child { color: var(--mdash-brand); }
.mdash-links a .mdash-icon:last-child { width: 16px; height: 16px; margin-left: auto; color: #b4b8bd; transition: transform .2s, color .2s; }
.mdash-links a:hover { background: var(--soft); color: var(--ink); }
.mdash-links a:hover .mdash-icon:last-child { color: var(--mdash-brand); transform: translateX(3px); }
.mdash-cancel { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.mdash-cancel button { padding: 4px 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mdash-cancel button:hover { color: #c62828; }
.mdash-cancel button:disabled { opacity: .5; cursor: default; }

@media (max-width: 1100px) {
	.mdash-stats { grid-template-columns: 1fr 1fr; }
	.mdash-stat:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.mdash-hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
	.mcard { width: 100%; max-width: 420px; transform: none; }
	.mcard:hover { transform: none; }
	.mdash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.mdash-stats { grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
	.mdash-stat { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 16px 18px; border: 0; border-radius: 0; }
	.mdash-stat + .mdash-stat { border-top: 1px solid #f0f1f3; }
	.mdash-stat__icon { grid-row: 1 / span 4; margin: 2px 0 0; }
	.mdash-stat:first-child { grid-column: auto; }
	.mdash-dl { grid-template-columns: 1fr; }
	.mdash-callout { flex-wrap: wrap; }
	.mdash-callout .btn { width: 100%; }
	.mdash-panel { padding: 20px; }
	.mcard { padding: 18px 20px; }
	.mcard__name { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
	.mcard, .mcard:hover { transform: none; transition: none; }
}

/* Renewal */
/* Renewal: dark hero band (shared with the member dashboard), details on the left,
   a sticky "Your renewal" summary + payment on the right. */
.renewal-hero__inner { padding-top: 44px; padding-bottom: 52px; }
.renewal-hero .mdash-hero__eyebrow a { color: inherit; }
.renewal-hero .mdash-hero__eyebrow a:hover { color: #fff; }
.renewal { padding-top: 32px; }
.renewal > .notice, .renewal > .lh-form__errors { max-width: 760px; }
.renewal__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.renewal__main { display: grid; gap: 20px; min-width: 0; }
.renewal__card { border-color: #e7e8ec; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.renewal__card-title { margin: 0 0 .2rem; font-size: 1.25rem; }
.renewal__card-sub { margin: 0 0 1.4rem; color: var(--muted); font-size: 15px; }

.renewal__aside { position: sticky; top: calc(var(--top-h) + 20px); }
.renewal__summary { padding: 0; overflow: hidden; border-color: #e7e8ec; box-shadow: 0 12px 32px rgba(16, 24, 40, .08); }
.renewal__summary-head {
	padding: 24px 24px 22px; color: #fff;
	background: var(--darkest) radial-gradient(ellipse 90% 120% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 60%) no-repeat;
	border-bottom: 3px solid var(--accent);
}
.renewal__summary-eyebrow { margin: 0 0 .35rem; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.renewal__summary-title { margin: 0 0 1.1rem; color: #fff; font-size: 1.35rem; line-height: 1.25; }
.renewal__dates { display: flex; align-items: center; gap: 12px; }
.renewal__dates > div { display: grid; gap: 2px; }
.renewal__dates span { color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.renewal__dates strong { color: rgba(255, 255, 255, .85); font-size: 15px; font-weight: 600; }
.renewal__dates-new strong { color: #fff; font-size: 17px; }
.renewal__dates-arrow { display: grid; color: var(--accent); }
.renewal__guest { display: flex; align-items: center; gap: 8px; margin: 1rem 0 0; color: rgba(255, 255, 255, .75); font-size: 14px; }
.renewal__guest svg { color: var(--accent); flex-shrink: 0; }

.renewal__summary > :not(.renewal__summary-head) { margin-left: 24px; margin-right: 24px; }
.renewal__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.renewal__total span { color: var(--muted); font-size: 15px; }
.renewal__total strong { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.renewal__pay { margin-top: 18px; padding: 0; border: 0; min-width: 0; }
.renewal__pay legend { margin-bottom: .6rem; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.renewal__choice, .pay-choice { align-items: center; gap: .75rem; padding: .8rem .95rem; }
.renewal__choice { margin-bottom: .6rem; }
.pay-choice input { margin: 0; accent-color: var(--accent-text); }
.pay-choice__icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--soft-2); color: var(--ink); transition: background-color .2s, color .2s; }
.pay-choice:has(input:checked) .pay-choice__icon { background: var(--accent); color: var(--on-accent); }
.pay-choice .choice__body { gap: 0; font-size: 14px; }
.pay-choice__secure { margin: .75rem 0 0; font-size: 13px; color: var(--muted); }
.renewal__choice input { margin: 0; accent-color: var(--accent-text); }
.renewal__choice-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--soft-2); color: var(--ink); transition: background-color .2s, color .2s; }
.renewal__choice:has(input:checked) .renewal__choice-icon { background: var(--accent); color: var(--on-accent); }
.renewal__choice .choice__body { gap: 0; font-size: 13.5px; }
.renewal__choice .choice__body strong { font-size: 15px; }
.renewal__summary .renewal__cta { display: flex; width: calc(100% - 48px); margin-top: 14px; } /* card width minus its side margins */
.renewal__secure { display: flex; gap: 7px; align-items: flex-start; margin-top: 12px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.renewal__secure svg { flex-shrink: 0; margin-top: 2px; }
.renewal__save {
	display: block; width: calc(100% - 48px); margin-top: 6px; margin-bottom: 18px; padding: 10px; border: 0; background: none;
	color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.renewal__save:hover { color: var(--ink); }
.renewal__summary > .btn:last-child, .renewal__summary > .renewal__status:last-child { margin-bottom: 24px; }
.renewal__status { margin-top: 20px; font-size: 15px; }
.renewal__status p { margin-bottom: .5rem; }
.renewal__summary .renewal__status .renewal__cta { width: 100%; } /* already inside the padded status block */
.renewal__cta--alt { gap: .5rem; margin-top: 10px; padding: 14px 16px; font-size: 14px; letter-spacing: .3px; white-space: nowrap; }
.renewal__note { margin: 12px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.renewal__note strong { color: var(--ink); white-space: nowrap; }

@media (max-width: 959px) {
	.renewal__layout { grid-template-columns: minmax(0, 1fr); }
	.renewal__aside { position: static; }
}
@media (max-width: 599px) {
	.renewal-hero__inner { padding-top: 32px; padding-bottom: 36px; }
	.renewal__card .field-grid { grid-template-columns: 1fr; }
	.renewal__summary-head { padding: 20px; }
	.renewal__summary > :not(.renewal__summary-head) { margin-left: 18px; margin-right: 18px; }
	.renewal__save { width: calc(100% - 36px); }
	.renewal__summary .renewal__cta { width: calc(100% - 36px); }
}

/* Toast (logged out) */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; transform: translateX(-50%); max-width: calc(100% - 32px); padding: .85rem 1.25rem; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow); transition: opacity .3s, transform .3s; }
.toast.is-hiding { opacity: 0; transform: translate(-50%, 8px); }

.custom-login-container { max-width: 480px; }
.login-remember label { display: flex; align-items: center; }

/* Motion --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Password show/hide (set-password page) */
.field:has(.password-toggle) { position: relative; }
.field:has(.password-toggle) input { padding-right: 76px; }
.password-toggle.btn { position: absolute; right: 6px; top: 33px; padding: 9px 12px; font-size: 12px; letter-spacing: 1px; }

/* Room hire (page-room-hire.php) -------------------------------------------- */
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--glass:hover { background: #fff; color: var(--ink); }

.hire-hero { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 720px); color: #fff; overflow: hidden; background: var(--dark); }
.hire-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hire-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.75) 100%); }
.hire-hero__inner { position: relative; z-index: 1; padding-top: calc(var(--top-h) + 60px); padding-bottom: clamp(48px, 8vh, 90px); }
.hire-hero .eyebrow { color: var(--accent); }
.hire-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.2rem + 4.2vw, 4.5rem); letter-spacing: -.035em; line-height: 1.05; max-width: 14ch; margin-bottom: .3em; }
.hire-hero__lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 52ch; color: rgba(255,255,255,.88); margin: 0 0 1.75rem; }
.hire-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hire-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.hire-intro h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.025em; }
.hire-intro .lede { font-size: 1.25rem; line-height: 1.55; color: var(--heading); font-weight: 500; }
.hire-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hire-feature { display: flex; flex-direction: column; gap: .85rem; padding: 1.5rem; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.hire-feature__icon, .hire-occasion__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(var(--accent-rgb), .14); color: var(--accent-text); }
.hire-feature h3 { font-size: 1.0625rem; margin: 0 0 .25rem; }
.hire-feature p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.5; }

.hire-occasions { background: var(--dark); color: #ccc; padding: clamp(56px, 8vw, 96px) 0; }
.hire-occasions h2 { color: #fff; }
.hire-occasions .eyebrow { color: var(--accent); }
.hire-occasions__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.hire-occasion { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.75rem 1rem; text-align: center; color: #fff; font-weight: 500;
	background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); transition: transform .25s, border-color .25s, background-color .25s; }
.hire-occasion:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .08); }
.hire-occasion__icon { background: rgba(var(--accent-rgb), .16); color: var(--accent); }

.hire-enquire { background: var(--soft-2); padding: clamp(56px, 8vw, 100px) 0; scroll-margin-top: var(--top-h); }
.hire-enquire__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hire-enquire h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.025em; }
.hire-steps { list-style: none; counter-reset: step; margin: 2rem 0; padding: 0; display: grid; gap: 1rem; }
.hire-steps li { counter-increment: step; position: relative; padding-left: 3.25rem; min-height: 2.25rem; color: var(--muted); }
.hire-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .9375rem; }
.hire-steps strong { display: block; color: var(--heading); }
.hire-enquire__alt { font-size: .9375rem; color: var(--muted); }
.hire-enquire__alt a { color: var(--accent-text); word-break: break-word; }
.hire-enquire__form { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0,0,0,.08); padding: clamp(1.5rem, 3vw, 2.5rem); }
/* The CF7 form uses Enfold's column classes: lay them out as a two-column grid. */
.hire-enquire__form .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.hire-enquire__form .wpcf7-form > :not(.av_one_half), .hire-enquire__form .wpcf7-form > .wpcf7-response-output { grid-column: 1 / -1; }
.hire-enquire__form .wpcf7-form > p, .hire-enquire__form .wpcf7-form > fieldset { margin: 0; }
.hire-enquire__form label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 1rem; }
.hire-enquire__form label br { display: none; }
.hire-enquire__form .wpcf7-form-control-wrap { display: block; margin-top: .4rem; font-weight: 400; }
.hire-enquire__form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .hire-enquire__form select, .hire-enquire__form textarea { width: 100%; box-sizing: border-box; }
.hire-enquire__form textarea { min-height: 130px; height: 130px; }
.hire-enquire__form .wpcf7-submit { width: 100%; margin-top: .5rem; }

.hire-reviews { padding: clamp(56px, 8vw, 96px) 0; }

@media (max-width: 1100px) { .hire-occasions__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) {
	.hire-intro, .hire-enquire__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.hire-features { grid-template-columns: 1fr; }
	.hire-occasions__grid { grid-template-columns: repeat(2, 1fr); }
	.hire-enquire__form .wpcf7-form { grid-template-columns: 1fr; }
	.hire-hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- Dialogs (assets/js/dialog.js) */

.lhsc-dialog {
	--d-brand: var(--lh-brand, var(--accent-text));
	--d-brand-dark: var(--lh-brand-dark, color-mix(in srgb, var(--accent-text) 80%, #000));
	--d-brand-soft: var(--lh-brand-soft, var(--accent-soft));
	--d-danger: #c62828;
	--d-danger-dark: #a31f1f;
	--d-danger-soft: #fdecec;
	width: min(440px, calc(100vw - 32px));
	max-width: none;
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: #1f2328;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 2px 8px rgba(0, 0, 0, .08);
	animation: lhsc-dialog-in .18s ease-out;
}
.lhsc-dialog::backdrop {
	background: rgba(17, 17, 17, .55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: lhsc-fade-in .18s ease-out;
}
.lhsc-dialog.is-closing { opacity: 0; transform: scale(.97); transition: opacity .15s, transform .15s; }
@keyframes lhsc-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes lhsc-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.lhsc-dialog, .lhsc-dialog::backdrop { animation: none; }
}

.lhsc-dialog__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	margin: 0;
	padding: 24px 24px 20px;
}
.lhsc-dialog__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--d-brand-soft);
	color: var(--d-brand);
}
.lhsc-dialog--danger .lhsc-dialog__icon { background: var(--d-danger-soft); color: var(--d-danger); }
.lhsc-dialog__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lhsc-dialog__body { min-width: 0; padding-top: 2px; }
.lhsc-dialog .lhsc-dialog__title {
	margin: 0 0 6px;
	padding: 0;
	color: #1f2328;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-transform: none;
}
.lhsc-dialog .lhsc-dialog__message {
	margin: 0;
	color: #50575e;
	font-size: 15px;
	line-height: 1.55;
}
.lhsc-dialog .lhsc-dialog__input {
	width: 100%;
	margin: 12px 0 0;
	padding: 10px 12px;
	border: 1px solid #d0d4d9;
	border-radius: 8px;
	background: #f6f7f8;
	color: #1f2328;
	font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	box-sizing: border-box;
}
.lhsc-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	grid-column: 1 / -1;
	margin-top: 20px;
}
.lhsc-dialog .lhsc-dialog__btn {
	min-height: 42px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	font-family: inherit;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, border-color .15s, color .15s;
}
.lhsc-dialog .lhsc-dialog__btn:focus-visible { outline: 2px solid var(--d-brand); outline-offset: 2px; }
.lhsc-dialog .lhsc-dialog__btn--secondary { background: #fff; border-color: #d0d4d9; color: #1f2328; }
.lhsc-dialog .lhsc-dialog__btn--secondary:hover { background: #f3f4f6; border-color: #b8bdc3; }
.lhsc-dialog .lhsc-dialog__btn--primary { background: var(--d-brand); color: #fff; }
.lhsc-dialog .lhsc-dialog__btn--primary:hover { background: var(--d-brand-dark); color: #fff; }
.lhsc-dialog .lhsc-dialog__btn--danger { background: var(--d-danger); color: #fff; }
.lhsc-dialog .lhsc-dialog__btn--danger:hover { background: var(--d-danger-dark); color: #fff; }
.lhsc-dialog--danger .lhsc-dialog__btn:focus-visible { outline-color: var(--d-danger); }

@media (max-width: 480px) {
	.lhsc-dialog__inner { grid-template-columns: 1fr; padding: 20px; }
	.lhsc-dialog__icon { width: 40px; height: 40px; }
	.lhsc-dialog__actions { flex-direction: column-reverse; }
	.lhsc-dialog .lhsc-dialog__btn { width: 100%; }
}
/* Set password page reuses the confirmation tick at a smaller size. */
.auth-panel .lh-confirm__tick { width: 52px; height: 52px; margin-bottom: 1.25rem; background-size: 26px; box-shadow: none; }
