/**
 * Lodge Sites Engine — "Modern" site design.
 *
 * Loaded only when the Modern design is active (see
 * LSE_Plugin::enqueue_frontend_assets()), in addition to the base
 * lse-frontend.css. Every rule is scoped under `body.lse-modern` so it
 * never touches a Classic site. Colors and fonts come entirely from the
 * existing --lse-color-* / --lse-font-* custom properties emitted by the
 * palette and font pickers, so both keep working identically here.
 *
 * Only the Modern header, footer, and Home page are styled for now; every
 * other page type still resolves to its Classic template (see
 * LSE_Page_Templates::load_template()) and is styled by lse-frontend.css.
 */

/* Qualified with an extra `html` ancestor purely to raise specificity to
   (0,1,2) so this body background reliably beats GroupBrief's own
   body.gb-frontend (0,1,1) no matter which plugin's stylesheet loads later.
   GroupBrief's pages never carry .lse-modern, so they're unaffected. */
html body.lse-modern {
	margin: 0;
	background: var(--lse-color-bg);
	color: var(--lse-color-text);
	font-family: var(--lse-font-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Shared outer width for the Modern header, hero, footer, and page-header
   title, so they all track one number instead of four hardcoded copies. The
   narrower reading-column widths (interior content, prose columns) are a
   separate, deliberately tighter concern and are NOT keyed off this. */
body.lse-modern {
	--lse-modern-width: 1280px;
}

body.lse-modern h1,
body.lse-modern h2,
body.lse-modern h3 {
	font-family: var(--lse-font-heading);
	color: var(--lse-color-heading);
	line-height: 1.2;
	margin: 0;
}

body.lse-modern a {
	color: var(--lse-color-accent);
}

/* ---------------------------------------------------------------- *
 * Header — clean, light, sticky
 * ---------------------------------------------------------------- */

body.lse-modern .lse-modern-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--lse-color-bg) 92%, #ffffff);
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 35%, transparent);
	backdrop-filter: saturate(1.1) blur(6px);
}

body.lse-modern .lse-modern-header-inner {
	max-width: var(--lse-modern-width);
	margin: 0 auto;
	padding: 16px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

body.lse-modern .lse-modern-identity {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: var(--lse-color-heading);
}

/* Wide/landscape logo (a wordmark): stack it above the name, centered, with a
   tighter gap than the side-by-side row default. Square and vertical logos
   keep the row above. */
body.lse-modern .lse-modern-identity-landscape {
	flex-direction: column;
	text-align: center;
	gap: 10px;
}

body.lse-modern .lse-modern-logo-img {
	display: block;
	max-width: 140px;
	max-height: 96px;
	width: auto;
	height: auto;
	border-radius: 6px;
}

body.lse-modern .lse-modern-org-name-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.lse-modern .lse-modern-org-name {
	font-family: var(--lse-font-heading);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

body.lse-modern .lse-modern-org-name-line2 {
	font-family: var(--lse-font-heading);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--lse-color-heading);
	margin-top: 2px;
}

/* Nav — same menu markup as Classic, presented as a light horizontal row. */
body.lse-modern .lse-modern-nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 22px;
}

body.lse-modern .lse-modern-nav-menu li {
	margin: 0;
}

body.lse-modern .lse-modern-nav-menu a {
	display: inline-block;
	padding: 6px 2px;
	text-decoration: none;
	color: var(--lse-color-text);
	font-size: 15px;
	font-weight: 500;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.lse-modern .lse-modern-nav-menu a:hover,
body.lse-modern .lse-modern-nav-menu .current-menu-item > a {
	color: var(--lse-color-accent);
	border-bottom-color: var(--lse-color-accent);
}

/* ---------------------------------------------------------------- *
 * Home — long-scroll, section-stacked
 * ---------------------------------------------------------------- */

body.lse-modern .lse-modern-home {
	display: block;
}

/* Hero — capped at the header's own width, framed with a border and shadow
   rather than full-bleed. Carousel stays a fixed-height crop so every slide
   lines up consistently as it rotates; single photo and video are scaled by
   their own aspect ratio instead, so neither ever crops. */
body.lse-modern .lse-modern-hero {
	position: relative;
	box-sizing: border-box; /* 100% + 32px padding each side overflowed the
	                           viewport by exactly 64px -- these stylesheets
	                           carry no global box-sizing reset (see
	                           lse-frontend.css), so this rule needs its own. */
	width: 100%;
	overflow: hidden;
	padding: 32px 32px 0;
}

body.lse-modern .lse-modern-hero-media {
	width: 100%;
	max-width: var(--lse-modern-width);
	margin: 0 auto;
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 35%, transparent);
	box-shadow: 0 18px 48px -24px color-mix(in srgb, var(--lse-color-heading) 45%, transparent);
	overflow: hidden;
}

body.lse-modern .lse-modern-hero-media img,
body.lse-modern .lse-modern-hero-media .lse-carousel-img,
body.lse-modern .lse-modern-hero-media .lse-home-media-img {
	display: block;
	width: 100%;
	height: clamp(320px, 56vh, 620px);
	object-fit: cover;
}

/* Single photo only: no cropping, scaled by its own aspect ratio. */
body.lse-modern .lse-modern-hero-single_photo .lse-modern-hero-media img {
	height: auto;
	object-fit: initial;
}

/* Video keeps its natural aspect ratio, centered, rather than being cropped. */
body.lse-modern .lse-modern-hero-media.lse-home-media-video {
	padding: 24px 32px;
}

body.lse-modern .lse-modern-hero-media.lse-home-media-video iframe,
body.lse-modern .lse-modern-hero-media.lse-home-media-video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* Carousel controls (shared JS/markup) restyled for the hero. */
body.lse-modern .lse-modern-hero-media .lse-carousel-track {
	display: flex;
	overflow: hidden;
}

body.lse-modern .lse-modern-hero-media .lse-carousel-slide {
	min-width: 100%;
}

body.lse-modern .lse-modern-hero-media .lse-carousel-prev,
body.lse-modern .lse-modern-hero-media .lse-carousel-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--lse-color-heading) 70%, transparent);
	color: var(--lse-color-on-heading);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

body.lse-modern .lse-modern-hero-media .lse-carousel-prev { left: 18px; }
body.lse-modern .lse-modern-hero-media .lse-carousel-next { right: 18px; }

body.lse-modern .lse-modern-hero-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 48px 32px 32px;
	background: linear-gradient(to top, color-mix(in srgb, var(--lse-color-heading) 80%, transparent), transparent);
	pointer-events: none;
}

body.lse-modern .lse-modern-hero-title {
	max-width: var(--lse-modern-width);
	margin: 0 auto;
	color: var(--lse-color-on-heading);
	font-size: clamp(30px, 5vw, 52px);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* When no media is configured, the hero collapses to a simple text band. */
body.lse-modern .lse-modern-hero-none {
	padding: 0;
	background: color-mix(in srgb, var(--lse-color-heading) 16%, var(--lse-color-bg));
}

body.lse-modern .lse-modern-hero-none .lse-modern-hero-overlay {
	position: static;
	background: none;
	padding: clamp(56px, 10vw, 120px) 32px;
	text-align: center;
}

body.lse-modern .lse-modern-hero-none .lse-modern-hero-title {
	color: var(--lse-color-heading);
	text-shadow: none;
}

/* Section rhythm — generous whitespace, one clear top-to-bottom flow. */
body.lse-modern .lse-modern-sections {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 32px;
}

body.lse-modern .lse-modern-section {
	padding: clamp(48px, 8vw, 96px) 0;
}

body.lse-modern .lse-modern-section + .lse-modern-section {
	border-top: 1px solid color-mix(in srgb, var(--lse-color-muted) 30%, transparent);
}

body.lse-modern .lse-modern-welcome-content {
	font-size: 18px;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-welcome-content h2 {
	font-size: clamp(24px, 3.4vw, 32px);
	margin: 0 0 18px;
}

body.lse-modern .lse-modern-welcome-content p {
	margin: 0 0 18px;
}

/* Visit Us — address / phone / hours together in one clean card. */
body.lse-modern .lse-modern-visit-card {
	background: color-mix(in srgb, var(--lse-color-bg) 85%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 32%, transparent);
	border-radius: 16px;
	padding: clamp(28px, 5vw, 44px);
	box-shadow: 0 10px 40px -24px color-mix(in srgb, var(--lse-color-heading) 60%, transparent);
}

body.lse-modern .lse-modern-visit-heading {
	font-size: clamp(22px, 3vw, 28px);
	margin: 0 0 24px;
}

body.lse-modern .lse-modern-visit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
}

body.lse-modern .lse-modern-visit-label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lse-color-accent);
	margin-bottom: 8px;
}

body.lse-modern .lse-modern-visit-value {
	display: block;
	font-size: 17px;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.lse-modern .lse-modern-hours-list li {
	margin: 0 0 6px;
	font-size: 16px;
}

body.lse-modern .lse-modern-hours-label {
	font-weight: 600;
	color: var(--lse-color-heading);
}

/* Disclaimer — small print, but set apart in a subtle tinted card so it
   doesn't read as flat text lost on the page background. A lighter tint
   than .lse-modern-card, and deliberately not a warning-box treatment. */
body.lse-modern .lse-modern-disclaimer {
	max-width: 760px;
	margin: 0 auto clamp(48px, 8vw, 88px);
	padding: 18px 24px;
	background: color-mix(in srgb, var(--lse-color-heading) 12%, var(--lse-color-bg));
	border-radius: 12px;
	color: var(--lse-color-text);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
}

/* ---------------------------------------------------------------- *
 * Footer — a bit more considered than a bare copyright line
 * ---------------------------------------------------------------- */

body.lse-modern .lse-modern-footer {
	background: color-mix(in srgb, var(--lse-color-heading) 92%, #000000);
	color: var(--lse-color-on-heading);
	margin-top: 0;
}

body.lse-modern .lse-modern-footer-inner {
	max-width: var(--lse-modern-width);
	margin: 0 auto;
	padding: 48px 32px 40px;
	text-align: center;
}

body.lse-modern .lse-modern-footer-contact {
	margin: 10px 0 0;
	font-size: 15px;
	color: color-mix(in srgb, var(--lse-color-on-heading) 82%, transparent);
}

body.lse-modern .lse-modern-footer-contact a {
	color: inherit;
	text-decoration: none;
}

body.lse-modern .lse-modern-footer-sep {
	margin: 0 10px;
	opacity: 0.6;
}

body.lse-modern .lse-modern-footer-links {
	margin: 22px 0 0;
	font-size: 14px;
}

body.lse-modern .lse-modern-footer-links a {
	color: var(--lse-color-on-heading);
	text-decoration: none;
	opacity: 0.9;
}

body.lse-modern .lse-modern-footer-links a:hover {
	opacity: 1;
	text-decoration: underline;
}

body.lse-modern .lse-modern-footer-extra {
	margin: 20px auto 0;
	max-width: 60ch;
	font-size: 14px;
	color: color-mix(in srgb, var(--lse-color-on-heading) 80%, transparent);
}

/* Now the footer's first line, not its last: no top margin, and enough
   presence to be read rather than skimmed past. Deliberately not a heading
   font and not bold -- this is a legal line, not a wordmark. */
body.lse-modern .lse-modern-footer-copyright {
	margin: 0;
	font-size: 15px;
	color: color-mix(in srgb, var(--lse-color-on-heading) 88%, transparent);
}

/* ---------------------------------------------------------------- *
 * Responsive
 * ---------------------------------------------------------------- */

@media (max-width: 720px) {
	body.lse-modern .lse-modern-header-inner {
		padding: 14px 20px;
	}
	body.lse-modern .lse-modern-sections {
		padding: 0 20px;
	}
	body.lse-modern .lse-modern-nav-menu {
		gap: 4px 16px;
	}
	body.lse-modern .lse-modern-identity {
		gap: 10px;
	}
	body.lse-modern .lse-modern-logo-img {
		max-width: 90px;
		max-height: 64px;
	}
	body.lse-modern .lse-modern-org-name {
		font-size: 20px;
	}
	body.lse-modern .lse-modern-org-name-line2 {
		font-size: 16px;
	}
}

/* ================================================================ *
 * Interior pages (everything except Home) — Contact, Leadership,
 * History, Philanthropy. Shared page-header band + a reusable card.
 * ================================================================ */

/* Page-header band — same tint as Home's no-media hero, so interior
   pages read as clearly related to Home rather than a new language. */
body.lse-modern .lse-modern-page-header {
	background: color-mix(in srgb, var(--lse-color-heading) 16%, var(--lse-color-bg));
	padding: clamp(40px, 7vw, 84px) 32px;
	text-align: center;
}

body.lse-modern .lse-modern-page-header-title {
	max-width: var(--lse-modern-width);
	margin: 0 auto;
	color: var(--lse-color-heading);
	font-size: clamp(28px, 4.5vw, 46px);
}

/* Interior content wrapper — a touch wider than Home's reading column
   to hold the two-column layouts, with the same generous rhythm. */
body.lse-modern .lse-modern-interior {
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 76px) 32px clamp(56px, 8vw, 96px);
}

body.lse-modern .lse-modern-intro {
	font-size: 18px;
	color: var(--lse-color-text);
	margin: 0 0 40px;
}

body.lse-modern .lse-modern-intro p {
	margin: 0 0 18px;
}

/* Reusable card — same visual language as Home's .lse-modern-visit-card
   (rounded, subtle border, soft palette-driven shadow), factored out so
   every interior page shares one definition instead of copy-pasting. */
body.lse-modern .lse-modern-card {
	background: color-mix(in srgb, var(--lse-color-bg) 85%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 32%, transparent);
	border-radius: 16px;
	padding: clamp(24px, 4vw, 40px);
	box-shadow: 0 10px 40px -24px color-mix(in srgb, var(--lse-color-heading) 60%, transparent);
}

body.lse-modern .lse-modern-card + .lse-modern-card {
	margin-top: 24px;
}

/* ---- Contact ---- */
body.lse-modern .lse-modern-contact-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

body.lse-modern .lse-modern-contact-detail {
	margin: 0 0 14px;
	font-size: 16px;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-contact-detail a {
	color: var(--lse-color-accent);
}

body.lse-modern .lse-modern-contact-map-wrap {
	margin-top: 22px;
}

/* ---- Leadership ---- */
body.lse-modern .lse-modern-roster-heading {
	font-size: clamp(20px, 2.6vw, 26px);
	margin: 0 0 20px;
}

body.lse-modern .lse-modern-officer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.lse-modern .lse-modern-officer {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 26%, transparent);
}

body.lse-modern .lse-modern-officer:last-child {
	border-bottom: 0;
}

body.lse-modern .lse-modern-officer-position {
	font-weight: 600;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-officer-name {
	color: var(--lse-color-text);
	text-align: right;
}

/* ---- Two-column split (History + Philanthropy) ---- */
body.lse-modern .lse-modern-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

body.lse-modern .lse-modern-column-title {
	font-size: clamp(20px, 2.6vw, 26px);
	margin: 0 0 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--lse-color-accent);
}

body.lse-modern .lse-modern-column-empty {
	color: var(--lse-color-muted);
	font-size: 15px;
}

/* Blocks — optional photo left/right, title/text body. */
body.lse-modern .lse-modern-block.lse-modern-block-has-photo {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	align-items: start;
}

body.lse-modern .lse-modern-block-photo-right.lse-modern-block-has-photo {
	grid-template-columns: 1fr 120px;
}

body.lse-modern .lse-modern-block-photo-right .lse-modern-block-photo {
	order: 2;
}

body.lse-modern .lse-modern-block-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

body.lse-modern .lse-modern-block-title {
	margin: 0 0 10px;
	font-size: 19px;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-block-year {
	display: inline-block;
	margin-right: 10px;
	color: var(--lse-color-accent);
	font-weight: 700;
}

body.lse-modern .lse-modern-block-text {
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-block-text p {
	margin: 0 0 14px;
}

body.lse-modern .lse-modern-empty-note {
	color: var(--lse-color-muted);
	font-size: 15px;
}

body.lse-modern .lse-modern-empty-note a {
	color: var(--lse-color-accent);
}

@media (max-width: 760px) {
	body.lse-modern .lse-modern-contact-layout,
	body.lse-modern .lse-modern-columns {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	body.lse-modern .lse-modern-interior {
		padding-left: 20px;
		padding-right: 20px;
	}
	body.lse-modern .lse-modern-page-header {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ================================================================ *
 * Interior pages, batch 3 — Membership, Volunteer, Entertainment.
 * Shared button component + a couple of page-specific helpers.
 * ================================================================ */

/* Reusable button — primary (accent-filled) and secondary (outlined),
   both palette-driven, matching the visual weight of the card and
   page-header components. */
body.lse-modern .lse-modern-button {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--lse-color-accent);
	color: var(--lse-color-on-accent);
	font-family: var(--lse-font-body);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid var(--lse-color-accent);
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

body.lse-modern .lse-modern-button:hover {
	background: color-mix(in srgb, var(--lse-color-accent) 82%, #000000);
	border-color: color-mix(in srgb, var(--lse-color-accent) 82%, #000000);
	color: var(--lse-color-on-accent);
}

body.lse-modern .lse-modern-button-secondary {
	background: transparent;
	color: var(--lse-color-accent);
	border-color: var(--lse-color-accent);
}

body.lse-modern .lse-modern-button-secondary:hover {
	background: color-mix(in srgb, var(--lse-color-accent) 12%, transparent);
	color: var(--lse-color-accent);
	border-color: var(--lse-color-accent);
}

/* ---- Membership ---- */
body.lse-modern .lse-modern-cta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}

body.lse-modern .lse-modern-cta-area {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}

body.lse-modern .lse-modern-cta-desc {
	margin: 0;
	font-size: 16px;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-cta-placeholder {
	margin: 0;
	color: var(--lse-color-muted);
	font-size: 15px;
	font-style: italic;
}

/* ---- Volunteer ---- */
body.lse-modern .lse-modern-roles-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.lse-modern .lse-modern-roles-list li {
	padding: 14px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 26%, transparent);
}

body.lse-modern .lse-modern-roles-list li:last-child {
	border-bottom: 0;
}

body.lse-modern .lse-modern-role-name {
	display: block;
	font-weight: 600;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-role-description {
	display: block;
	margin-top: 4px;
	color: var(--lse-color-text);
}

/* ---- Shared: an embedded form inside a Modern card ---- */
body.lse-modern .lse-modern-form-section {
	margin-top: 40px;
}

@media (max-width: 760px) {
	body.lse-modern .lse-modern-cta-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ================================================================ *
 * Interior pages, batch 4 — Simple Content, Links, Photo Gallery.
 * (Simple Content needs no page-specific CSS — it reuses the shared
 * .lse-modern-interior / .lse-modern-intro wrappers as-is.)
 * ================================================================ */

/* ---- Links — clean card-style rows rather than a bare bulleted list. */
body.lse-modern .lse-modern-links-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

body.lse-modern .lse-modern-link-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 24px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--lse-color-bg) 85%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 32%, transparent);
	color: var(--lse-color-heading);
	text-decoration: none;
	font-weight: 600;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.lse-modern .lse-modern-link-row:hover {
	border-color: var(--lse-color-accent);
	box-shadow: 0 8px 30px -20px color-mix(in srgb, var(--lse-color-heading) 60%, transparent);
}

body.lse-modern .lse-modern-link-row::after {
	content: "\2197"; /* ↗ */
	margin-left: auto;
	color: var(--lse-color-accent);
	font-weight: 700;
}

/* ---- Photo Gallery — restyled grid/hover. The functional classes,
   IDs and data-attributes are left intact (see the template); these
   rules only override presentation and never touch `display` on the
   items, so the base .lse-photo-gallery-item-hidden { display:none }
   hide/show mechanism the load-more JS relies on keeps working. */
body.lse-modern .lse-photo-gallery-grid {
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 8px;
}

@media (max-width: 600px) {
	body.lse-modern .lse-photo-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

body.lse-modern .lse-photo-gallery-item {
	border-radius: 12px;
}

body.lse-modern .lse-photo-gallery-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.3s ease;
}

body.lse-modern .lse-photo-gallery-item:hover .lse-photo-gallery-img {
	transform: scale(1.05);
}

body.lse-modern .lse-photo-gallery-load-more-wrap {
	margin-top: 28px;
}

/* Small "Click to Enlarge" hint shown once above each group of
   lightbox-enabled thumbnails (Photo Gallery grid, Hall Rental floor
   plan + hall photos) — small, muted, unobtrusive. No JS involvement. */
body.lse-modern .lse-modern-lightbox-hint {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--lse-color-muted);
}

/* ================================================================ *
 * Interior pages, batch 5 (final) — Food & Beverage, Hall Rental,
 * Calendar. Completes the Modern rollout across all 14 page types.
 * ================================================================ */

/* ---- Shared helpers ---- */
body.lse-modern .lse-modern-reminder {
	margin: 0 0 24px;
	padding: 14px 20px;
	border-left: 3px solid var(--lse-color-accent);
	background: color-mix(in srgb, var(--lse-color-accent) 8%, transparent);
	border-radius: 8px;
	color: var(--lse-color-text);
	font-size: 15px;
}

body.lse-modern .lse-modern-compliance {
	margin: 0 0 32px;
	color: var(--lse-color-muted);
	font-size: 13px;
	line-height: 1.6;
}

body.lse-modern .lse-modern-compliance p {
	margin: 0;
}

body.lse-modern .lse-modern-compliance a {
	color: var(--lse-color-accent);
}

body.lse-modern .lse-modern-card-title {
	font-size: clamp(18px, 2.2vw, 22px);
	margin: 0 0 18px;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-section-heading {
	font-size: clamp(18px, 2.2vw, 22px);
	margin: 0 0 16px;
	color: var(--lse-color-heading);
}

/* Sidebar/main split, shared by Food & Beverage and Hall Rental. The
   columns space their own direct children via the flex gap, so the
   generic card+card top-margin is cancelled for those direct children
   only (nested card lists like Specials keep it). */
body.lse-modern .lse-modern-split {
	display: grid;
	grid-template-columns: minmax(280px, 340px) 1fr;
	gap: 32px;
	align-items: start;
}

body.lse-modern .lse-modern-split-sidebar,
body.lse-modern .lse-modern-split-main {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

body.lse-modern .lse-modern-split-sidebar > .lse-modern-card + .lse-modern-card,
body.lse-modern .lse-modern-split-main > .lse-modern-card + .lse-modern-card {
	margin-top: 0;
}

/* ---- Food & Beverage: Specials ---- */
body.lse-modern .lse-modern-special {
	padding: 18px;
}

body.lse-modern .lse-modern-special-has-photo {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 14px;
	align-items: start;
}

body.lse-modern .lse-modern-special-img {
	width: 64px;
	height: 64px;
	max-width: 64px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: transparent;
	border-radius: 8px;
	flex-shrink: 0;
}

body.lse-modern .lse-modern-special-title {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin: 0;
}

body.lse-modern .lse-modern-special-name {
	min-width: 0;
	font-weight: 600;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-special-price {
	font-weight: 700;
	color: var(--lse-color-accent);
	white-space: nowrap;
}

body.lse-modern .lse-modern-special-schedule {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--lse-color-accent);
}

body.lse-modern .lse-modern-special-desc {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--lse-color-text);
}

/* ---- Food & Beverage: Menu ---- */
body.lse-modern .lse-modern-menu-card > *:first-child {
	margin-top: 0;
}

/* Category photo (if any) + title sit inline as a flex row. The unified
   top/bottom spacing lives on this wrapper so .lse-modern-menu-card >
   *:first-child keeps zeroing the first category's top margin exactly as
   before; the photo and title are flex children with their own margins
   zeroed. */
body.lse-modern .lse-modern-menu-section-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-right: 16px;
	margin: 28px 0 14px;
}

/* An inline thumbnail beside the category title — object-fit: contain on
   a transparent background so it fits without cropping and the card shows
   through any letterboxing. Kept a touch smaller than Classic's 120px. */
body.lse-modern .lse-modern-menu-section-photo {
	width: 112px;
	height: 112px;
	object-fit: contain;
	background: transparent;
	border-radius: 8px;
	flex-shrink: 0;
	margin: 0 0 0 auto;
}

body.lse-modern .lse-modern-menu-section-title {
	font-size: clamp(22px, 2.8vw, 28px);
	margin: 0;
	padding-left: 4px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lse-color-accent);
}

body.lse-modern .lse-modern-menu-items {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

body.lse-modern .lse-modern-menu-item {
	padding: 16px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 24%, transparent);
}

body.lse-modern .lse-modern-menu-items > .lse-modern-menu-item:last-child {
	border-bottom: 0;
}

body.lse-modern .lse-modern-menu-item-has-photo {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 16px;
	align-items: start;
}

body.lse-modern .lse-modern-menu-item-img {
	width: 72px;
	height: 72px;
	max-width: 72px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: transparent;
	border-radius: 8px;
	flex-shrink: 0;
}

body.lse-modern .lse-modern-menu-item-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

body.lse-modern .lse-modern-menu-item-name {
	min-width: 0;
	margin: 0;
	font-size: 17px;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-menu-item-price {
	font-weight: 700;
	color: var(--lse-color-accent);
	white-space: nowrap;
}

body.lse-modern .lse-modern-menu-item-desc {
	margin: 6px 0 0;
	color: var(--lse-color-text);
	font-size: 15px;
}

body.lse-modern .lse-modern-menu-item-variants {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

body.lse-modern .lse-modern-menu-item-variant {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 2px 0;
	font-size: 15px;
}

body.lse-modern .lse-modern-menu-item-variant-label {
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-menu-item-variant-price {
	font-weight: 600;
	color: var(--lse-color-accent);
}

body.lse-modern .lse-modern-menu-item-addons {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	color: var(--lse-color-muted);
	font-size: 13px;
}

body.lse-modern .lse-modern-menu-item-addons li {
	margin: 0 0 2px;
}

/* ---- Hall Rental ---- */
body.lse-modern .lse-modern-rental-floor-plan {
	margin: 0 0 16px;
}

body.lse-modern .lse-modern-rental-photo-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

body.lse-modern .lse-modern-rental-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 12px;
}

body.lse-modern .lse-modern-rental-photo-item .lse-modern-rental-photo-img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.lse-modern .lse-modern-facility-list,
body.lse-modern .lse-modern-amenities-list,
body.lse-modern .lse-modern-rental-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.lse-modern .lse-modern-facility-list li {
	padding: 6px 0;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-amenities-list li {
	padding: 10px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 24%, transparent);
}

body.lse-modern .lse-modern-amenities-list li:last-child {
	border-bottom: 0;
}

body.lse-modern .lse-modern-amenity-name {
	display: block;
	font-weight: 600;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-amenity-notes {
	display: block;
	color: var(--lse-color-text);
	font-size: 14px;
}

body.lse-modern .lse-modern-rental-contact-invite {
	margin: 0 0 12px;
	color: var(--lse-color-text);
}

body.lse-modern .lse-modern-rental-contact-list li {
	padding: 4px 0;
}

body.lse-modern .lse-modern-rental-contact-name {
	font-weight: 600;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-rental-contact-list a {
	color: var(--lse-color-accent);
}

/* The relocated "Questions About Your Event?" contact card now renders as
   a full-width band below the two-column split, so it no longer sits next
   to another .lse-modern-card — the adjacent-sibling margin rule can't
   fire. This restores consistent separation from the split above it, in
   the same 32px rhythm as .lse-modern-compliance's own bottom margin. */
body.lse-modern .lse-modern-contact-band {
	margin-top: 32px;
}

/* On narrow screens the three-column fee table scrolls horizontally
   inside this wrapper rather than crushing its columns — the table keeps
   a sensible minimum width and the wrapper clips/scrolls. */
body.lse-modern .lse-modern-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.lse-modern .lse-modern-fees-table {
	width: 100%;
	min-width: 440px;
	border-collapse: collapse;
}

body.lse-modern .lse-modern-fees-table th {
	text-align: left;
	padding: 12px 16px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lse-color-muted);
	border-bottom: 2px solid color-mix(in srgb, var(--lse-color-muted) 30%, transparent);
}

body.lse-modern .lse-modern-fees-table td {
	padding: 14px 16px;
	color: var(--lse-color-text);
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 20%, transparent);
}

body.lse-modern .lse-modern-fees-table tr:last-child td {
	border-bottom: 0;
}

body.lse-modern .lse-modern-policy {
	padding: 14px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 22%, transparent);
}

body.lse-modern .lse-modern-policy:last-child {
	border-bottom: 0;
}

body.lse-modern .lse-modern-policy-title {
	margin: 0 0 6px;
	font-size: 17px;
	color: var(--lse-color-heading);
}

body.lse-modern .lse-modern-policy-desc {
	margin: 0;
	color: var(--lse-color-text);
}

/* ---- Calendar — markup is verbatim from Classic (JS-driven); only
   colors/spacing/typography change here, scoped so Classic is untouched.
   The base .lse-calendar-* rules already use the palette variables, so
   these overrides only add Modern polish (rounded surfaces, the outlined
   nav buttons, roomier day cells, a card-style popover). The functional
   base rules — including .lse-calendar-carousel's popover space and the
   [hidden] section/popover display rules — are left to apply as-is. */
body.lse-modern .lse-calendar-carousel-nav {
	margin-bottom: 20px;
}

body.lse-modern .lse-calendar-carousel-prev,
body.lse-modern .lse-calendar-carousel-next {
	background: transparent;
	color: var(--lse-color-accent);
	border: 2px solid var(--lse-color-accent);
	border-radius: 999px;
	padding: 8px 20px;
	font-weight: 600;
	font-size: 15px;
	transition: background 0.15s ease;
}

body.lse-modern .lse-calendar-carousel-prev:hover,
body.lse-modern .lse-calendar-carousel-next:hover {
	background: color-mix(in srgb, var(--lse-color-accent) 12%, transparent);
}

body.lse-modern .lse-calendar-grid-section h2 {
	font-size: clamp(20px, 2.6vw, 26px);
	margin-bottom: 16px;
	text-align: center;
}

/* The rounded/clipped border lives on this wrapper div, not the <table>
   itself — border-radius + overflow:hidden + border-collapse:collapse on a
   table clips the table's own right/bottom edge in most browsers, leaving
   only some sides visible. The wrapper sidesteps that; the table keeps its
   base border-collapse/table-layout untouched. */
body.lse-modern .lse-modern-calendar-table-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 30%, transparent);
}

body.lse-modern .lse-calendar-month-grid th {
	padding: 10px 6px;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.lse-modern .lse-calendar-month-grid-day,
body.lse-modern .lse-calendar-month-grid-blank {
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 22%, transparent);
	background: color-mix(in srgb, var(--lse-color-bg) 90%, #ffffff);
}

body.lse-modern .lse-calendar-month-grid-day {
	height: 5rem;
	padding: 8px;
}

body.lse-modern .lse-calendar-month-grid-event {
	border-radius: 6px;
	padding: 2px 6px;
	margin-bottom: 3px;
	font-size: 11px;
}

body.lse-modern .lse-calendar-popover {
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 32%, transparent);
	box-shadow: 0 12px 40px -18px color-mix(in srgb, var(--lse-color-heading) 60%, transparent);
	padding: 16px;
}

@media (max-width: 860px) {
	body.lse-modern .lse-modern-split {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* ================================================================ *
 * Forms — Contact, Volunteer, Entertainment. The form markup comes
 * from the shared handlers (untouched); these rules just give the
 * plain inherited fields Modern's rounded, comfortable treatment with
 * an accent focus ring. Checkboxes/radios stay native.
 * ================================================================ */
body.lse-modern input[type="text"],
body.lse-modern input[type="email"],
body.lse-modern input[type="tel"],
body.lse-modern input[type="url"],
body.lse-modern input[type="number"],
body.lse-modern input[type="date"],
body.lse-modern textarea,
body.lse-modern select {
	padding: 11px 14px;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid color-mix(in srgb, var(--lse-color-muted) 45%, transparent);
	border-radius: 9px;
	background: color-mix(in srgb, var(--lse-color-bg) 92%, #ffffff);
	color: var(--lse-color-text);
	font-family: var(--lse-font-body);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.lse-modern textarea {
	min-height: 120px;
}

body.lse-modern input[type="text"]:focus,
body.lse-modern input[type="email"]:focus,
body.lse-modern input[type="tel"]:focus,
body.lse-modern input[type="url"]:focus,
body.lse-modern input[type="number"]:focus,
body.lse-modern input[type="date"]:focus,
body.lse-modern textarea:focus,
body.lse-modern select:focus {
	outline: none;
	border-color: var(--lse-color-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lse-color-accent) 25%, transparent);
}

/* ---- About page (merged Leadership / Charity / History / Links) ----
   Baseline layout only, matching the interior page rhythm: the jump menu
   reads as a row of links, each stacked section separated by a rule. The
   section bodies reuse the standalone partials/CSS, so they're already
   styled. */
body.lse-modern .lse-modern-about-jump {
	margin: 0 0 40px;
}

body.lse-modern .lse-modern-about-jump-list {
	list-style: none;
	margin: 0;
	padding: 0 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	border-bottom: 1px solid color-mix(in srgb, var(--lse-color-muted) 40%, transparent);
}

body.lse-modern .lse-modern-about-jump-list a {
	font-weight: 600;
	color: var(--lse-color-heading);
	text-decoration: none;
}

body.lse-modern .lse-modern-about-jump-list a:hover,
body.lse-modern .lse-modern-about-jump-list a:focus {
	text-decoration: underline;
}

body.lse-modern .lse-modern-about-section {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid color-mix(in srgb, var(--lse-color-muted) 40%, transparent);
}

body.lse-modern .lse-modern-about-section:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

body.lse-modern .lse-modern-about-section-title {
	font-size: clamp(24px, 3.5vw, 32px);
	color: var(--lse-color-heading);
	margin: 0 0 24px;
}

/* Image alignment — WordPress's alignleft / alignright / aligncenter classes,
   as written from the classic editor's align buttons on Custom Pages (and any
   other page's the_content() output). A left/right image floats so text wraps
   around it; the intro area clears its own floats so nothing bleeds out. */
body.lse-modern .lse-modern-intro .alignleft {
	float: left;
	margin: 4px 24px 16px 0;
	max-width: 100%;
	height: auto;
}
body.lse-modern .lse-modern-intro .alignright {
	float: right;
	margin: 4px 0 16px 24px;
	max-width: 100%;
	height: auto;
}
body.lse-modern .lse-modern-intro .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body.lse-modern .lse-modern-intro::after {
	content: "";
	display: table;
	clear: both;
}
