/* ==========================================================================
   Game A Lot — on top of Genesis Sample 3.4.1
   Tokens: theme.json. This file: Genesis overrides, header/footer, sections.
   Load order: style.css (Genesis Sample) → lib/gutenberg/front-end.css → this.
   ========================================================================== */

:root {
	--gal-ink: var(--wp--preset--color--ink, #1f1a1c);
	--gal-red: var(--wp--preset--color--red, #a3262a);
	--gal-paper: var(--wp--preset--color--paper, #f2f5f8);
	--gal-sunken: var(--wp--preset--color--sunken, #e6ecf1);
	--gal-cream: #f6f2ec;
	--gal-pad: clamp(16px, 3.4vw, 40px);
	--gal-tab-clear: 176px;
}

/* --------------------------------------------------------------------------
   Genesis Sample base overrides (type, colour, links)
   -------------------------------------------------------------------------- */
body {
	background-color: var(--gal-paper);
	color: var(--gal-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .entry-title, .archive-title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	color: var(--gal-ink);
	line-height: 1.15;
	letter-spacing: -.01em;
}
h1, .entry-title, .archive-title { font-size: var(--wp--preset--font-size--huge); letter-spacing: -.02em; }
h2 { font-size: var(--wp--preset--font-size--xx-large); }
h3, h4 { font-size: var(--wp--preset--font-size--large); }
a { color: var(--gal-ink); }
a:focus, a:hover { color: var(--gal-red); text-decoration: underline; }
.entry-title a { text-decoration: none; }

:where(a, button, input, select, textarea, summary, .wp-block-button__link):focus-visible {
	outline: 3px solid var(--gal-red);
	outline-offset: 3px;
	border-radius: 4px;
}
.is-style-dark-band :where(a, button, .wp-block-button__link):focus-visible,
.is-style-panel-dark :where(a):focus-visible { outline-color: var(--wp--preset--color--gold); }

img { height: auto; }
:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
p { text-wrap: pretty; }

/* Default block button (Genesis Sample paints buttons blue/grey). */
.wp-block-button__link,
.site-container .wp-block-button .wp-block-button__link {
	background-color: var(--gal-red);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	border-radius: var(--wp--custom--radius--button);
	padding: 13px 22px;
	box-shadow: none;
}
.wp-block-button__link:is(:hover, :focus),
.site-container .wp-block-button .wp-block-button__link:is(:hover, :focus) {
	background-color: var(--wp--preset--color--oxblood);
	color: #fff;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Page layout
   -------------------------------------------------------------------------- */
.site-inner {
	max-width: calc(1120px + 2 * var(--gal-pad));
	padding: var(--gal-tab-clear) var(--gal-pad) 64px;
	box-sizing: border-box;
}
.entry { margin-bottom: 0; }
.entry-header { margin-bottom: 24px; }

/* Full-Width Sections template (Home, About): sections run edge to edge. */
.gal-sections .site-inner { max-width: none; padding: var(--gal-tab-clear) 0 0; }
.gal-sections .content { width: 100%; float: none; }
.gal-sections .entry { margin: 0; padding: 0; background: none; }
.gal-sections .entry-content > .alignfull,
.gal-before-footer .alignfull {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: auto;
	padding-left: var(--wp--style--root--padding-left, var(--gal-pad));
	padding-right: var(--wp--style--root--padding-right, var(--gal-pad));
}
.gal-before-footer .widget { margin: 0; }
.gal-before-footer .widget-wrap > * { margin-block: 0; }

/* --------------------------------------------------------------------------
   Header (Genesis markup):
   .site-header > .wrap = [left strip][nav-primary][brand][right strip][nav-secondary]
   -------------------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 30;
	background-color: #fff;
	box-shadow: 0 4px 14px rgba(31,26,28,.12);
	padding: 0;
}
.site-header > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 236px minmax(0, 1fr);
	grid-template-rows: auto auto;
	grid-template-areas:
		"utilL brand utilR"
		"navL  brand navR";
	align-content: center;
	row-gap: 14px;
	height: 132px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}
.site-header > .wrap::before,
.site-header > .wrap::after { display: none; }

.gal-utility {
	align-self: end;
	padding-bottom: 14px;
	border-bottom: 1.5px solid rgba(31,26,28,.12);
}
.gal-utility--left { grid-area: utilL; margin-right: 32px; }
.gal-utility--right { grid-area: utilR; margin-left: 32px; }
.gal-utility .widget { margin: 0; }
.gal-utility .widget-wrap > * { margin: 0; }
.gal-utility .wp-block-group { display: flex; justify-content: space-between; gap: 16px; }
.gal-utility p,
.gal-utility a { margin: 0; font-size: 13px; font-weight: 600; color: #5f585a; white-space: nowrap; text-decoration: none; }
.gal-utility a:is(:hover, :focus) { color: var(--gal-red); text-decoration: underline; }

.site-header .nav-primary { grid-area: navL; margin-right: 32px; }
.site-header .nav-secondary { grid-area: navR; margin-left: 32px; }
.site-header :is(.nav-primary, .nav-secondary) { float: none; clear: none; width: auto; background: none; padding: 0; align-self: center; }
.site-header :is(.nav-primary, .nav-secondary) .wrap { max-width: none; padding: 0; margin: 0; }
/* Genesis Sample styles .nav-secondary as a footer menu; undo that here. */
.site-header .nav-secondary { margin-top: 0; }
.site-header .nav-secondary a { margin: 0; }
.site-header .genesis-nav-menu {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 16px;
	min-height: 46px;
	margin: 0;
	padding: 0;
	line-height: 1;
}
.site-header .genesis-nav-menu .menu-item { display: block; float: none; padding: 0; margin: 0; }
.site-header .genesis-nav-menu a {
	display: block;
	padding: 6px 4px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-weight: 400;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gal-ink);
	text-decoration: none;
	white-space: nowrap;
}
.site-header .genesis-nav-menu a:is(:hover, :focus),
.site-header .genesis-nav-menu .current-menu-item > a {
	color: var(--gal-red);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}
/* Menu item with CSS class "menu-button" (Appearance → Menus) = red button. */
.site-header .genesis-nav-menu .menu-button > a {
	background-color: var(--gal-red);
	color: #fff;
	border-radius: 10px;
	padding: 11px 22px;
	font-size: 23px;
	letter-spacing: .08em;
	box-shadow: 0 2px 8px rgba(31,26,28,.18);
}
.site-header .genesis-nav-menu .menu-button > a:is(:hover, :focus) { background-color: var(--wp--preset--color--oxblood); color: #fff; text-decoration: none; }

/* Logo in a white tab (inner red border + thin gold flare). */
.gal-brand { grid-area: brand; position: relative; align-self: stretch; }
.gal-brand__tab {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 284px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 20px;
	box-sizing: border-box;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236 284'%3E%3Cpath d='M0 0H236V236L118 284L0 236Z' fill='%23fff'/%3E%3Cpath d='M8 8H228V232L118 275L8 232Z' fill='none' stroke='%23a3262a' stroke-width='3'/%3E%3Cpath d='M13 13H223V229L118 270L13 229Z' fill='none' stroke='%23c9a04a' stroke-width='1.2'/%3E%3Cpath d='M118 264L123 270L118 276L113 270Z' fill='%23c9a04a'/%3E%3C/svg%3E") no-repeat top center / 236px 284px;
	filter: drop-shadow(0 5px 8px rgba(31,26,28,.16));
	text-decoration: none;
}
.gal-brand__tab img { width: 164px; min-width: 164px; height: auto; display: block; }
.gal-brand__tab--text { font-family: var(--wp--preset--font-family--display); font-size: 28px; color: var(--wp--preset--color--oxblood); text-align: center; padding-top: 80px; }
.gal-brand__mobile { display: none; }

/* Genesis responsive menu: desktop shows both menus, no toggle. */
@media (min-width: 768px) {
	.site-header .menu-toggle,
	.site-header .sub-menu-toggle { display: none !important; }
	.site-header .genesis-responsive-menu { display: block !important; }
}

/* 1024–1199px: a little tighter. */
@media (min-width: 1024px) and (max-width: 1199px) {
	.site-header > .wrap { padding-inline: 24px; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); }
	.gal-utility--left, .site-header .nav-primary { margin-right: 20px; }
	.gal-utility--right, .site-header .nav-secondary { margin-left: 20px; }
	.gal-utility .wp-block-group { gap: 10px; }
	.gal-utility p, .gal-utility a { font-size: 12px; }
	.site-header .genesis-nav-menu a { font-size: 21px; letter-spacing: .08em; }
	.site-header .genesis-nav-menu .menu-button > a { font-size: 20px; padding: 10px 16px; }
}

/* Tablet 768–1023px: same split nav + full-size logo tab, compacted. */
@media (min-width: 768px) and (max-width: 1023px) {
	.site-header > .wrap { padding-inline: 12px; row-gap: 10px; }
	.gal-utility--left, .site-header .nav-primary { margin-right: 10px; }
	.gal-utility--right, .site-header .nav-secondary { margin-left: 10px; }
	.gal-utility { padding-bottom: 10px; }
	.gal-utility .wp-block-group { flex-wrap: wrap; gap: 2px 8px; }
	.gal-utility p, .gal-utility a { font-size: 11px; }
	.site-header .genesis-nav-menu { gap: 8px; }
	.site-header .genesis-nav-menu a { font-size: clamp(17px, 2.05vw, 21px); letter-spacing: .07em; }
	.site-header .genesis-nav-menu .menu-button > a { font-size: clamp(15px, 1.85vw, 19px); letter-spacing: .04em; padding: 8px 9px; }
	.site-header .nav-secondary .genesis-nav-menu { gap: 4px; justify-content: space-between; }
}

/* Phones (below 768px): strip on top, mark + name + hamburger, dropdown menu. */
@media (max-width: 767px) {
	:root { --gal-tab-clear: 32px; }

	.site-header > .wrap {
		grid-template-columns: auto 1fr auto;
		grid-template-rows: auto auto;
		grid-template-areas:
			"utilL utilR utilR"
			"brand brand toggle";
		height: auto;
		padding: 0;
		row-gap: 0;
		align-content: stretch;
	}
	.gal-utility { align-self: stretch; margin: 0 !important; padding: 6px 16px; border: 0; background: var(--gal-sunken); }
	.gal-utility--left { padding-right: 6px; }
	.gal-utility--right { padding-left: 6px; text-align: right; }
	.gal-utility .wp-block-group { display: block; }
	.gal-utility p, .gal-utility a { font-size: 12px; font-weight: 700; color: var(--gal-ink); white-space: normal; }
	.gal-utility--right p { display: inline; }
	.gal-utility--right p + p::before { content: " · "; }
	.gal-utility .hide-mobile { display: none !important; }

	.gal-brand { align-self: center; }
	.gal-brand__tab { display: none; }
	.gal-brand__mobile {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 16px;
		min-height: 67px;
		box-sizing: border-box;
		text-decoration: none;
	}
	.gal-brand__mark { width: 46px; height: 46px; object-fit: contain; }
	.gal-brand__name { font-family: var(--wp--preset--font-family--display); font-size: 26px; line-height: 1; color: var(--wp--preset--color--oxblood); }
	.gal-brand__mobile:is(:hover, :focus) .gal-brand__name { text-decoration: underline; }

	.site-header .menu-toggle {
		grid-area: toggle;
		align-self: center;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		margin: 0 16px 0 0;
		padding: 0;
		float: none;
		font-size: 0; /* "Menu" stays available to screen readers */
		color: var(--gal-ink);
	}
	.site-header .menu-toggle::before { font-size: 32px; width: 32px; height: 32px; margin: 0; top: 0; float: none; }
	.site-header .menu-toggle:is(:hover, :focus) { color: var(--gal-red); }

	.site-header .nav-secondary { display: none !important; }
	.site-header .nav-primary {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		background: #fff;
		border-top: 1.5px solid rgba(31,26,28,.12);
		box-shadow: 0 14px 24px rgba(31,26,28,.18);
		z-index: 40;
	}
	.site-header .nav-primary .genesis-nav-menu { display: block; min-height: 0; padding: 6px 16px 10px; }
	.site-header .nav-primary .menu-item { border-bottom: 1.5px solid rgba(31,26,28,.1); }
	.site-header .nav-primary .menu-item:last-child { border-bottom: 0; }
	.site-header .nav-primary .genesis-nav-menu a,
	.site-header .nav-primary .genesis-nav-menu .menu-button > a {
		padding: 14px 4px;
		font-size: 22px;
		letter-spacing: .1em;
		background: none;
		color: var(--gal-ink);
		box-shadow: none;
		border-radius: 0;
	}
}

/* --------------------------------------------------------------------------
   Section rhythm: raised (paper) vs sunken (bg + inner shadow), no rules.
   -------------------------------------------------------------------------- */
.wp-block-group.is-style-sunken {
	background-color: var(--gal-sunken);
	box-shadow: var(--wp--custom--sunken-shadow);
}
.wp-block-group.is-style-dark-band {
	background-color: var(--gal-ink);
	color: var(--gal-cream);
}
.is-style-dark-band :where(h1, h2, h3, h4, p, li) { color: var(--gal-cream); }

/* Eyebrow / pre-heading: Nunito Sans 800, 13px, +.14em, uppercase, red. */
p.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--gal-red);
	margin-block-end: 0;
}
p.is-style-eyebrow + * { margin-block-start: 4px !important; }
.is-style-dark-band p.is-style-eyebrow { color: var(--wp--preset--color--rose); }
.is-style-panel-dark p.is-style-eyebrow { color: var(--wp--preset--color--gold); }

/* Pills */
p.is-style-pill {
	display: inline-block;
	border: 2px solid var(--gal-ink);
	border-radius: 999px;
	padding: 2px 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.4;
	color: var(--gal-ink);
}
p.is-style-caption-pill {
	width: fit-content;
	margin-inline: auto;
	background: #dfe6ec;
	border-radius: 6px;
	padding: 4px 22px;
	font-size: 13px;
	font-style: italic;
	font-weight: 600;
	color: var(--wp--preset--color--stone);
	text-align: center;
}
p.is-style-stat {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--gal-ink);
}
p.is-style-stat::after {
	content: "";
	width: 20px;
	height: 31px;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 101.7 155'%3E%3Cpath fill='%231f1a1c' d='M9.4 155L6.3 152.5 6.3 150.5 6.8 149.2 3.2 145.3 2.4 143.7 3.1 140.7 3.3 137.7 2.3 127.5 2.3 124.8 1.3 98.8 0 75.9 1.9 75.4 4.1 75.7 4.6 78.1 6.8 76 6.9 73.4 7.5 71.4 9.2 72.9 11.1 73.1 9.1 69.5 10.9 65.2 13.2 63.1 17.3 60.8 16.5 58.6 20.5 55.3 20.9 53.6 19 52.7 19 50.7 21 46.2 19.7 44.9 21.7 39.7 24.5 37 26.9 26.9 46.1 0 49.6 1.2 50.4 7.1 54.1 9.9 58.6 7.7 61.1 7.6 62.1 6.1 67 6.1 67 4.2 70.6 3.7 72.7 4.8 76 7.8 79.2 11.8 81.6 13.8 81.6 30.3 81.9 51.3 82.6 54.3 81.3 55.5 82.5 57.6 81.2 58.6 81.3 62.8 84.5 64.4 88.8 66 90.1 65.4 90.9 69 88.8 69.4 90.8 73.4 89.1 76.8 92.8 82.2 94 80 97.3 81 99.2 85.6 101.6 89.7 101.7 93.3 99.3 95.7 96.5 99.1 93.4 100.8 93.6 97 91.2 97.9 92.2 99.6 89 102.3 87.2 103.2 88.6 104.4 86.6 106.1 84.9 103 82.2 102.6 80 107.1 78.5 106.7 75.2 110.2 71.9 108.3 70.7 112.5 71.7 113.5 68.6 113.9 66.5 113 65.1 109.7 67.6 108 65.6 107.7 64.6 106.6 62.4 108.3 63.6 112.7 61.3 116.4 62 119.4 60.1 121.7 60.1 117.4 58.3 114.1 59.6 112.5 55.9 110.9 57 106.1 54.6 106.8 51.7 106.9 52.7 110.8 50.7 113.6 49.2 118.2 50.9 119.1 50.6 121.7 47.3 122.7 46.2 124.9 44.6 126.6 42.2 125.1 41 123.4 39.7 126.1 38 127.5 35.6 127.6 34.2 128.1 33 130.9 30.9 131.7 28.6 129.6 26.9 132.1 24.5 133.4 21.8 134.8 21.3 138.1 18.1 138.2 17.9 141.6 16.5 144.4 14.1 145 12.2 148.7 10.2 154.6Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --------------------------------------------------------------------------
   Buttons: Germania One, Capital Case (no transform), radius 10.
   -------------------------------------------------------------------------- */
.wp-block-button__link { transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.wp-block-button.is-style-floating .wp-block-button__link {
	background-color: var(--gal-ink);
	color: #fff;
	box-shadow: var(--wp--preset--shadow--button);
}
.wp-block-button.is-style-floating .wp-block-button__link:is(:hover, :focus) {
	background-color: #3a3436;
	box-shadow: 0 6px 14px rgba(31,26,28,.18), 0 1px 2px rgba(31,26,28,.08);
}
.wp-block-button.is-style-light .wp-block-button__link {
	background-color: #fff;
	color: var(--gal-ink);
}
.wp-block-button.is-style-light .wp-block-button__link:is(:hover, :focus) { background-color: var(--wp--preset--color--gold); color: var(--gal-ink); }
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background-color: transparent;
	color: var(--gal-cream);
	box-shadow: inset 0 0 0 2px rgba(246,242,236,.75);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:is(:hover, :focus) { background-color: rgba(246,242,236,.12); color: #fff; }
.wp-block-button.is-style-arrow-row { width: 100%; }
.wp-block-button.is-style-arrow-row .wp-block-button__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	padding: 11px 18px;
	font-size: 16px;
	background-color: var(--gal-ink);
	color: #fff;
	box-shadow: var(--wp--preset--shadow--button);
}
.wp-block-button.is-style-arrow-row .wp-block-button__link::after { content: "→" / ""; }
.wp-block-button.is-style-arrow-row .wp-block-button__link:is(:hover, :focus) { background-color: var(--gal-red); }
.wp-block-buttons.is-small .wp-block-button__link { font-size: 16px; padding: 11px 20px; }

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */
.wp-block-image.is-style-framed img {
	border: 2px solid var(--gal-ink);
	border-radius: var(--wp--custom--radius--card);
	width: 100%;
	object-fit: cover;
}
.wp-block-image.is-style-framed-light img {
	border: 2px solid var(--gal-cream);
	border-radius: var(--wp--custom--radius--card);
	width: 100%;
	object-fit: cover;
}
.wp-block-image.is-style-inset img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--inset);
	border: 1.5px solid rgba(31,26,28,.25);
}
.wp-block-image.is-style-photo img {
	border-radius: var(--wp--custom--radius--tile);
	box-shadow: var(--wp--preset--shadow--photo);
	width: 100%;
	object-fit: cover;
}

/* Gallery photo strip (On the Road) */
.wp-block-gallery.has-nested-images.is-style-photo-strip { --wp--style--unstable-gallery-gap: 20px; gap: 20px; }
.wp-block-gallery.is-style-photo-strip .wp-block-image img {
	border-radius: var(--wp--custom--radius--tile);
	box-shadow: var(--wp--preset--shadow--photo);
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.wp-block-gallery.is-style-photo-strip .wp-block-image { overflow: visible; }

/* --------------------------------------------------------------------------
   Card pattern: 2px ink border, radius 16, white, coloured header + dot.
   -------------------------------------------------------------------------- */
.wp-block-group.is-style-card {
	border: var(--wp--custom--border--card);
	border-radius: var(--wp--custom--radius--card);
	background-color: #fff;
	overflow: hidden;
	box-shadow: var(--wp--preset--shadow--card);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.wp-block-group.is-style-card > * { margin-block: 0; }
.wp-block-group.is-style-card > .wp-block-image { margin: 10px; }
.wp-block-group.is-style-card > p { padding: 2px 16px 18px; font-size: 15px; line-height: 1.55; }

.wp-block-group.is-style-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-bottom: var(--wp--custom--border--card);
	color: #fff;
	margin: 0;
}
.wp-block-group.is-style-card-header::after {
	content: "";
	margin-left: auto;
	flex: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--gal-dot, var(--gal-red));
	border: 1px solid var(--gal-ink);
}
.wp-block-group.is-style-card-header > :where(h2, h3, h4, p) {
	margin: 0;
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px; /* gold-mid banners need >=24px white text (3:1, large text) */
	line-height: 1.2;
	letter-spacing: 0;
}

/* Stone banner passes contrast at any size, so its long label can be smaller (mockup: 21px). */
.wp-block-group.is-style-card-header.has-stone-background-color > :where(h2, h3, h4, p) { font-size: clamp(18px, 1.6vw, 21px); }

/* Dot colours (Advanced → Additional CSS class) */
.dot-red { --gal-dot: var(--wp--preset--color--red); }
.dot-stone { --gal-dot: var(--wp--preset--color--stone); }
.dot-gold { --gal-dot: var(--wp--preset--color--gold); }
.dot-gold-mid { --gal-dot: var(--wp--preset--color--gold-mid); }
.dot-ink { --gal-dot: var(--wp--preset--color--ink); }

/* Heading with dot (feature tiles) */
:is(h2, h3, h4).is-style-dotted { display: flex; align-items: center; gap: 8px; }
:is(h2, h3, h4).is-style-dotted::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 50%;
	flex: none;
	background: var(--gal-dot, var(--gal-ink));
}

/* Feature tile */
.wp-block-group.is-style-tile {
	background: #fff;
	border-radius: var(--wp--custom--radius--tile);
	padding: 8px 8px 16px;
	box-shadow: var(--wp--preset--shadow--tile);
}
.wp-block-group.is-style-tile > * { margin-block: 0; }
.wp-block-group.is-style-tile .wp-block-image img { height: 170px; width: 100%; object-fit: cover; border-radius: 9px; }
.wp-block-group.is-style-tile :is(h2, h3) { padding: 12px 8px 4px; font-size: 17px; }
.wp-block-group.is-style-tile p { padding: 0 8px; font-size: 13.5px; line-height: 1.5; }

/* Panels (Buy · Sell · Trade) */
.wp-block-group.is-style-panel { background: #fff; border-radius: var(--wp--custom--radius--card); padding: 22px 24px; }
.wp-block-group.is-style-panel-dark { background: var(--gal-ink); color: var(--gal-cream); border-radius: var(--wp--custom--radius--card); padding: 22px 24px; }
.wp-block-group.is-style-panel-dark :where(p, h2, h3) { color: var(--gal-cream); }
.wp-block-group:is(.is-style-panel, .is-style-panel-dark) > * { margin-block: 0; }
.wp-block-group:is(.is-style-panel, .is-style-panel-dark) > p.is-style-eyebrow { font-size: 12px; margin-bottom: 12px; }

ul.is-style-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
ul.is-style-plain li { font-size: 17px; font-weight: 800; color: var(--gal-ink); }


/* --------------------------------------------------------------------------
   Homepage sections
   -------------------------------------------------------------------------- */

/* Hero card */
.gal-hero__titlebar { gap: 14px; padding: 0 4px 14px; margin-bottom: 0 !important; }
.gal-hero__titlebar > * { margin: 0 !important; }
.gal-hero__titlebar h1 { line-height: 1; }
.gal-hero__titlebar .is-style-stat { margin-left: auto !important; }
.gal-hero-photo { margin-top: 0 !important; }
.gal-hero-photo img { height: clamp(240px, 36vw, 430px); }
.gal-hero .is-style-caption-pill { margin-top: 12px !important; margin-bottom: 22px; }
.gal-hero__cols > .wp-block-column { display: flex; flex-direction: column; gap: 10px; }
.gal-hero__cols > .wp-block-column > * { margin: 0; }
.gal-hero__cols > .wp-block-column > p { font-size: 17px; line-height: 1.55; }
.gal-hero__cols > .wp-block-column > .wp-block-buttons { margin-top: auto; padding-top: 6px; }
.gal-hero__cols .wp-block-button { width: 100%; }
.gal-hero__cols .wp-block-button__link { width: 100%; }

/* Section header row: heading left, button right */
.gal-section-head { align-items: flex-end !important; margin-bottom: 20px; }
.gal-section-head > .wp-block-group > * { margin-block: 0; }
.gal-section-head .wp-block-buttons { margin: 0; }

/* What's in stock */
.gal-stock .wp-block-columns { gap: 24px; }

/* Why us tiles */
.gal-tiles { gap: 20px !important; align-items: flex-start !important; flex-wrap: nowrap !important; }
.gal-tiles > .is-style-tile { flex: 1 1 0; min-width: 0; }
@media (min-width: 782px) {
	.gal-tiles > .is-style-tile:nth-child(odd) { margin-top: 32px !important; }
}

/* Events band */
.gal-events .wp-block-columns { gap: 36px; align-items: stretch !important; }
.gal-events__photo { display: flex; }
.gal-events__photo .wp-block-image { margin: 0; width: 100%; }
.gal-events__photo .wp-block-image img { height: 100%; min-height: 300px; }

/* On the road */
.gal-road .gal-road__intro { max-width: 720px !important; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }

/* Buy · Sell · Trade */
.gal-trade { position: relative; display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px !important; }
.gal-trade > * { margin: 0 !important; }
.gal-trade::after {
	content: "⇄" / "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	box-sizing: border-box;
	border-radius: 50%;
	background: var(--gal-red);
	border: 4px solid #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font: 900 24px/1 var(--wp--preset--font-family--body);
	box-shadow: 0 6px 14px rgba(31,26,28,.18);
}
.gal-trade .is-style-panel-dark { padding-left: 34px; }
.gal-get-big { font-family: var(--wp--preset--font-family--display); font-size: 30px !important; line-height: 1.05 !important; letter-spacing: -.01em; color: var(--gal-cream) !important; }
.gal-get-or { font-size: 14px !important; font-weight: 600; color: var(--wp--preset--color--mist) !important; margin: 6px 0 !important; }
.gal-get-note { font-size: 13px !important; font-weight: 600; color: var(--wp--preset--color--mist) !important; margin-top: 12px !important; }
.gal-call-row { justify-content: flex-end !important; gap: 14px !important; }
.gal-call-row p { margin: 0; font-size: 14px; font-weight: 600; color: var(--wp--preset--color--stone); }

/* Find us (map cover + card) */
.gal-findus { position: relative; min-height: 358px; box-sizing: border-box; scroll-margin-top: 24px; isolation: isolate; }
.gal-findus .gal-map { position: absolute; inset: 0; margin: 0 !important; max-width: none !important; z-index: 0; }
.gal-findus .gal-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.gal-findus__row { position: relative; z-index: 1; justify-content: flex-end !important; pointer-events: none; }
.gal-findus__row > * { pointer-events: auto; }
.gal-findus .is-style-card { width: 420px; max-width: 100%; height: auto; box-shadow: 0 16px 36px rgba(31,26,28,.18); }
.gal-findus .is-style-card-header > * { letter-spacing: .06em; }
.gal-findus__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.gal-findus__body > * { margin: 0 !important; }
.gal-findus__body h2 { font-size: 28px; color: var(--gal-ink); margin-bottom: 4px !important; }
.gal-findus__body .gal-findus__addr { font-size: 15px; font-weight: 600; color: var(--wp--preset--color--body-text); }
.gal-findus__body .wp-block-button__link { width: 100%; font-size: 17px; }
.gal-findus__body .wp-block-button { width: 100%; }

.gal-hours { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px !important; }
.wp-block-group.is-style-day {
	border: 2px solid var(--gal-ink);
	background: var(--gal-ink);
	border-radius: 8px;
	padding: 7px 0;
	text-align: center;
	margin: 0 !important;
}
.wp-block-group.is-style-day > * { margin: 0 !important; }
.wp-block-group.is-style-day p:first-child { font-family: var(--wp--preset--font-family--display); font-size: 16px; line-height: 1.2; color: #fff; }
.wp-block-group.is-style-day p:first-child abbr { text-decoration: none; }
.wp-block-group.is-style-day p + p { font-size: 10px; font-weight: 600; margin-top: 2px !important; color: #d9d1c8; line-height: 1.3; }


/* --------------------------------------------------------------------------
   Footer: Genesis footer widgets (3) + footer credits
   -------------------------------------------------------------------------- */
.footer-widgets {
	background: #e3eaf0;
	box-shadow: inset 0 14px 18px -14px rgba(31,26,28,.18);
	border-top: 0;
	padding: var(--wp--preset--spacing--70) 0 32px;
	font-size: 15px;
}
.footer-widgets > .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 48px;
	max-width: calc(1120px + 2 * var(--gal-pad));
	margin: 0 auto;
	padding: 0 var(--gal-pad);
	box-sizing: border-box;
}
.footer-widgets > .wrap::before,
.footer-widgets > .wrap::after { display: none; }
.footer-widgets .footer-widget-area { float: none; width: auto; margin: 0; padding: 0; }
.footer-widgets .widget { margin: 0 0 16px; }
.footer-widgets .widget-wrap > * { margin-top: 0; }
.footer-widgets p.is-style-eyebrow { margin-bottom: 8px !important; }
.gal-footer__logo img { width: 164px; border-radius: 0; }
.gal-footer__blurb { max-width: 380px; font-size: 15px; }
.gal-footer__visit { font-size: 15px; font-weight: 600; line-height: 1.9; color: var(--gal-ink) !important; margin: 0; }
.gal-footer__visit a { text-decoration: none; }
.gal-footer__visit a:hover { text-decoration: underline; color: var(--gal-red); }
.footer-widgets .wp-block-buttons { display: flex; flex-direction: column; gap: 10px; }

.site-footer {
	background: #e3eaf0;
	border-top: 0;
	padding: 0 0 18px;
	text-align: left;
	font-size: 12.5px;
}
.site-footer > .wrap {
	max-width: calc(1120px + 2 * var(--gal-pad));
	margin: 0 auto;
	padding: 0 var(--gal-pad);
	box-sizing: border-box;
}
.site-footer p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin: 0;
	padding-top: 14px;
	border-top: 1.5px solid rgba(31,26,28,.2);
	font-style: italic;
	font-weight: 600;
	color: var(--wp--preset--color--stone);
}
.site-footer p > span { display: inline-flex; align-items: center; gap: 16px; }
.site-footer p > span + span::before {
	content: "";
	width: 8px;
	height: 8px;
	background: var(--gal-ink);
	transform: rotate(45deg);
	flex: none;
}
.site-footer p > span:last-child { margin-left: auto; }
.site-footer p > span:last-child::before { margin-right: -9px; }
.site-footer a { color: inherit; }

@media (max-width: 781px) {
	.footer-widgets > .wrap { grid-template-columns: 1fr; text-align: center; }
	.gal-footer__logo { margin-left: auto !important; margin-right: auto !important; width: fit-content; }
	.gal-footer__blurb { margin-left: auto !important; margin-right: auto !important; }
	.footer-widgets .is-style-arrow-row .wp-block-button__link { justify-content: center; text-align: center; }
	.site-footer p { flex-direction: column; text-align: center; gap: 4px; }
	.site-footer p > span:last-child { margin-left: 0; }
	.site-footer p > span + span::before { display: none; }
}

/* --------------------------------------------------------------------------
   Ninja Forms (Contact)
   -------------------------------------------------------------------------- */
.nf-form-cont .nf-form-fields-required { font-size: 14px; color: var(--wp--preset--color--stone); margin-bottom: 14px; }
.nf-form-cont .nf-field-container { margin-bottom: 18px; }
.nf-form-cont .nf-field-label label { font-weight: 800; font-size: 16px; color: var(--gal-ink); }
.nf-form-cont .ninja-forms-req-symbol,
.nf-form-cont .nf-error-msg { color: var(--gal-red); }
.nf-form-cont .nf-field-element :is(input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select) {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 2px solid var(--gal-ink);
	border-radius: 10px;
	padding: 11px 13px;
	font: inherit;
	color: var(--gal-ink);
}
.nf-form-cont .nf-field-element textarea { min-height: 170px; }
.nf-form-cont .nf-error .nf-field-element :is(input, textarea) { border-color: var(--gal-red); }
.nf-form-cont .nf-field-element :is(input[type=button], input[type=submit]) {
	background: var(--gal-red);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 12px 26px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(31,26,28,.12);
}
.nf-form-cont .nf-field-element :is(input[type=button], input[type=submit]):is(:hover, :focus) { background: var(--wp--preset--color--oxblood); }
.nf-form-cont .nf-response-msg { background: #fff; border: 2px solid var(--gal-ink); border-radius: 14px; padding: 16px 18px; }

/* Card with plain paragraphs directly under the header strip (e.g. Contact → Visit Us) */
.wp-block-group.is-style-card > .is-style-card-header + p { padding-top: 16px; }

/* "LGS" pill: keep the <abbr> for screen readers, drop the browser's dotted underline */
p.is-style-pill abbr[title] { text-decoration: none; border-bottom: 0; cursor: inherit; }

/* Genesis Sample adds bottom margins to paragraphs/lists; blocks use block gap instead. */
.entry-content .wp-block-group p,
.footer-widgets .wp-block-group p,
.gal-before-footer p { margin-bottom: 0; }
.entry-content ul.is-style-plain { margin: 0; }

/* --------------------------------------------------------------------------
   Mobile (stacked layouts as in the 390px mockup)
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	/* Heading and button stay on one row: heading takes the space, button stays compact. */
	.gal-section-head { flex-direction: row; flex-wrap: nowrap !important; align-items: flex-end !important; gap: 12px !important; }
	.gal-section-head > .wp-block-group { flex: 1 1 auto; min-width: 0; }
	.gal-section-head .wp-block-buttons { flex: 0 0 auto; margin: 0; }
	.gal-section-head .wp-block-button { width: auto; }
	.gal-section-head .wp-block-button__link { width: auto; max-width: 150px; white-space: normal; text-align: center; font-size: 14px; line-height: 1.2; padding: 9px 12px; }

	/* Stock cards: image left, text right */
	.gal-stock .is-style-card { display: grid; grid-template-columns: 76px 1fr; align-items: center; }
	.gal-stock .is-style-card > .is-style-card-header { grid-column: 1 / -1; }
	.gal-stock .is-style-card > .is-style-card-header.has-stone-background-color > * { font-size: 19px; }
	.gal-stock .is-style-card > .wp-block-image { margin: 10px 0 10px 10px; }
	.gal-stock .is-style-card .wp-block-image.is-style-inset img { height: 64px; }
	.gal-stock .is-style-card > p { padding: 10px 14px 10px 4px; font-size: 14px; }

	/* Why-us tiles: stacked full width, image left */
	.gal-tiles { flex-direction: column; flex-wrap: wrap !important; align-items: stretch !important; }
	.gal-tiles > .is-style-tile { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto 1fr; column-gap: 4px; padding: 8px; }
	.gal-tiles > .is-style-tile > .wp-block-image { grid-row: 1 / span 2; }
	.gal-tiles > .is-style-tile .wp-block-image img { height: 100px; }
	.gal-tiles > .is-style-tile :is(h2, h3) { padding-top: 8px; }

	.gal-events .wp-block-columns { gap: 20px; }
	.gal-events__photo .wp-block-image img { min-height: 0; height: 200px; }

	.wp-block-gallery.has-nested-images.is-style-photo-strip { --wp--style--unstable-gallery-gap: 12px; gap: 12px; }

	.gal-trade { grid-template-columns: 1fr; gap: 30px !important; }
	.gal-trade::after { content: "⇅" / ""; }
	.gal-trade .is-style-panel-dark { padding-left: 24px; }
	.gal-call-row { justify-content: flex-start !important; flex-wrap: wrap; }

	.gal-findus { padding-top: 0 !important; padding-bottom: 16px !important; min-height: 0; }
	.gal-findus .gal-map { position: relative; inset: auto; height: 260px; margin-inline: calc(var(--wp--style--root--padding-left, 16px) * -1) calc(var(--wp--style--root--padding-right, 16px) * -1) !important; }
	.gal-findus__row { margin-top: 16px !important; }
	.gal-findus .is-style-card { width: 100%; }

}


@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Genesis Sample fades the whole page in over 1s; that delays first paint (LCP). Off. */
.site-container { animation: none; }

/* No sidebars anywhere: Genesis Sample's 65% content column → full width. */
.content { width: 100%; float: none; }

/* Hamburger / close button: no box, just the icon (keyboard focus ring stays). */
.site-header .menu-toggle,
.site-header .menu-toggle:is(:hover, :focus, .activated) { border: 0; background: none; box-shadow: none; }
.site-header .menu-toggle:focus:not(:focus-visible) { outline: none; }

/* Logo tab hangs from the very top of the header (centered on the page), so its
   point ends exactly 284px down and the hero starts a clean 24px below it. */
@media (min-width: 768px) {
	.gal-brand { position: static; }
	.gal-brand__tab { top: 0; left: 50%; right: auto; width: 236px; transform: translateX(-50%); }
}

/* Section-head button: one line once there's room (600–781px). */
@media (min-width: 600px) and (max-width: 781px) {
	.gal-section-head .wp-block-button__link { max-width: none; white-space: nowrap; font-size: 16px; padding: 11px 18px; }
}
