/* Global Gaming Solutions 2026 — custom styles (front-end + editor canvas) */

body {
	-webkit-font-smoothing: antialiased;
}

/* Undo core's blanket text-wrap: pretty — block-library ships the same
   selector list and prints after this file, so the :root prefix wins. */
:root blockquote, :root caption, :root figcaption, :root h1, :root h2, :root h3, :root h4, :root h5, :root h6, :root p {
	text-wrap: inherit;
}

/* Keyboard focus keeps the browser ring (WCAG 2.4.7); mouse focus doesn't. */
.wp-site-blocks :focus:not(:focus-visible) {
	outline: none;
}

/* Focus ring: burgundy on light backgrounds; white over photos, the oxblood
   band and the charcoal footer; the header's text color in the header (white
   over a light-header hero), except inside the white dropdown cards and the
   cream mobile drawer. All of these meet the 3:1 contrast WCAG 1.4.11 asks
   for. */
.wp-site-blocks :focus-visible {
	outline: 2px solid var(--wp--preset--color--burgundy);
	outline-offset: 2px;
}
.wp-site-blocks :is(.wp-block-cover, .has-oxblood-background-color, .has-contrast-background-color) :focus-visible {
	outline-color: var(--wp--preset--color--white);
}
.wp-site-blocks .site-header :focus-visible {
	outline-color: var(--ggs-header-fg);
}
.wp-site-blocks .site-header :is(.wp-block-navigation__submenu-container, .wp-block-navigation__responsive-container.is-menu-open) :focus-visible {
	outline-color: var(--wp--preset--color--burgundy);
}

:root {
	/* Height of the header. header.js overrides with the measured value; this
	   fallback (desktop design height) is used before JS runs. */
	--head-ht: 156px;
	--ggs-header-fg: var(--wp--preset--color--contrast);
	--ggs-offset: clamp(24px, 4.17vw, 80px);
}

/* Anchor links land below the sticky header (and the admin bar). */
html {
	--ggs-admin-bar: 0px;
	scroll-padding-top: calc(var(--head-ht) + var(--ggs-admin-bar));
}
html:has(> body.admin-bar) {
	--ggs-admin-bar: 32px;
}
@media (max-width: 782px) {
	html:has(> body.admin-bar) {
		--ggs-admin-bar: 46px;
	}
}
@media (max-width: 600px) {
	html:has(> body.admin-bar) {
		--ggs-admin-bar: 0px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Header, main and footer sit flush — no root block gap between them. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* Full-width sections inside the page content stack flush, so colored bands
   meet without a strip of cream between them. */
.wp-block-post-content > .alignfull {
	margin-block: 0;
}

/* Full-width Covers line their content up with the site content edge.
   Core zeroes the inner container's root padding when the cover sits inside
   post content, and a non-center content position shrinks the container to
   its text — so "bottom left" text would hug the screen edge. */
.wp-block-cover.alignfull {
	padding-left: 0;
	padding-right: 0;
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container.has-global-padding {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}
.wp-block-cover.alignfull.has-custom-content-position > .wp-block-cover__inner-container.is-layout-constrained {
	width: 100%;
}


/* ==========================================================================
   Header
   ========================================================================== */

/* Direct child of the page-tall .wp-site-blocks, so sticky holds for the
   whole page. Transparent at the top; fills with the Header Settings color
   once html.is-scrolled is set by header.js. */
header.wp-block-template-part {
	position: sticky;
	/* Sit below the admin bar when logged in (--ggs-admin-bar, above; 0 under
	   601px where the bar scrolls away). Core's
	   --wp-admin--admin-bar--position-offset is only defined on blocks using
	   the block "Sticky" position setting, so it's undefined here. */
	top: var(--ggs-admin-bar);
	z-index: 100;
	background-color: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
html.is-scrolled header.wp-block-template-part {
	background-color: var(--ggs-header-scroll-bg, var(--wp--preset--color--base));
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Light-header pages: pull the content (the photo hero) up under the header. */
body.has-light-header header.wp-block-template-part {
	margin-bottom: calc(-1 * var(--head-ht));
}

/* Light logo + menu: over the hero on light-header pages until scrolled, and
   after scrolling when Header Settings picks light text for a dark color. */
html:not(.is-scrolled) body.has-light-header .site-header,
html.is-scrolled body.ggs-scroll-text-light .site-header {
	--ggs-header-fg: var(--wp--preset--color--white);
}
html:not(.is-scrolled) body.has-light-header .site-header__logo img,
html.is-scrolled body.ggs-scroll-text-light .site-header__logo img {
	filter: brightness(0) invert(1);
}

.site-header__logo img {
	width: var(--wp--custom--header--logo-width) !important;
	height: auto;
	transition: filter 0.3s ease;
}

.site-header__nav {
	color: var(--ggs-header-fg);
	transition: color 0.3s ease;
}
.site-header__nav .wp-block-navigation-item__content {
	color: inherit;
	text-decoration: none;
}

/* Active page: thin gold rule 8px below the label. The Our Team page marks
   its parent, Our Company, as active too. */
.site-header__nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	position: relative;
}
.site-header__nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: 1px;
	background: var(--wp--preset--color--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.site-header__nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after,
.site-header__nav .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content::after,
.site-header__nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

/* With JavaScript (assets/js/navigation.js), one underline slides between
   items on hover and settles back on the current page. */
.site-header__nav.has-nav-indicator .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	display: none;
}
.site-header__nav .wp-block-navigation__responsive-container-content:has(> .ggs-nav-indicator) {
	position: relative;
}
.ggs-nav-indicator {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 1px;
	background: var(--wp--preset--color--gold);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), width 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.25s ease;
}
.ggs-nav-indicator.is-visible {
	opacity: 1;
}
.ggs-nav-indicator.no-transition {
	transition: none;
}
@media (max-width: 1099px) {
	.ggs-nav-indicator {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ggs-nav-indicator {
		transition: opacity 0.2s linear;
	}
}

/* Dropdowns (Our Company → Our Team, Properties → each property) — a white
   card with an accent bottom border, styled after the Mantyweb site. Change
   --ggs-submenu-accent to any palette color. */
.site-header__nav {
	--ggs-submenu-accent: var(--wp--preset--color--gold);
}
@media (min-width: 1100px) {
	.site-header__nav .wp-block-navigation__submenu-container {
		background-color: var(--wp--preset--color--white) !important;
		color: var(--wp--preset--color--contrast) !important;
		border: 0 !important;
		border-bottom: 4px solid var(--ggs-submenu-accent) !important;
		border-radius: 7px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
		padding: 0 !important;
		min-width: 240px;
		/* Top edge level with the gold hover line, which navigation.js draws
		   8px below the label. */
		margin-top: 8px;
	}
	/* Keep hover alive across the gap between the label and the card. */
	.site-header__nav .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 8px;
	}
	.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		width: 100%;
		padding: 0.25rem 1.25rem;
		font-size: 0.9375rem;
		font-weight: 400;
		line-height: 1.75;
		white-space: nowrap;
		color: var(--wp--preset--color--contrast);
	}
	/* The card stays overflow: visible so the hover bridge above it works, so
	   the items can't be clipped to its corners. Instead the items are
	   transparent and the first and last highlights get matching corners
	   (the bottom one sits inside the 4px accent border). */
	.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item {
		background-color: transparent !important;
	}
	nav.site-header__nav .wp-block-navigation__submenu-container > :is(.wp-block-navigation-item:first-child, .ggs-drawer-back-item + .wp-block-navigation-item) > .wp-block-navigation-item__content {
		border-radius: 7px 7px 0 0;
	}
	nav.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
		border-radius: 0 0 3px 3px;
	}
	nav.site-header__nav .wp-block-navigation__submenu-container > :is(.wp-block-navigation-item:only-child, .ggs-drawer-back-item + .wp-block-navigation-item:last-child) > .wp-block-navigation-item__content {
		border-radius: 7px 7px 3px 3px;
	}
	/* Equal space above the first item and below the last (nav. outranks
	   core's own submenu item padding). */
	nav.site-header__nav .wp-block-navigation__submenu-container > :is(.wp-block-navigation-item:first-child, .ggs-drawer-back-item + .wp-block-navigation-item) > .wp-block-navigation-item__content {
		padding-top: 0.85rem;
	}
	nav.site-header__nav .wp-block-navigation__submenu-container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
		padding-bottom: 0.85rem;
	}
	.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.site-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background-color: var(--wp--preset--color--base);
	}
	.site-header__nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
		background-color: var(--wp--preset--color--base);
		color: var(--wp--preset--color--burgundy);
	}
}

/* ==========================================================================
   Responsive menu (≤1099px) — TherapyEd-style slide-in drawer: a cream panel
   slides in from the right over a dim scrim, and each submenu drills in as
   its own sub-panel with a "‹ Back" header. assets/js/navigation.js adds the
   drill-down, tap-the-scrim-to-close and the page scroll-lock.
   Core only switches to the hamburger at 600px; this extends it to 1099px.
   ========================================================================== */
.ggs-submenu-toggle,
.ggs-drawer-back-item {
	display: none;
}

/* Reserve the scrollbar's space so locking scroll doesn't shift the page. */
html {
	scrollbar-gutter: stable;
}
html.ggs-nav-open {
	overflow: hidden;
}

@media (max-width: 1099px) {
	/* Hamburger: two bars drawn in CSS (core's SVG hidden); the close button
	   uses the same bars, crossed into an X. */
	.site-header__nav .wp-block-navigation__responsive-container-open,
	.site-header__nav .wp-block-navigation__responsive-container-close {
		position: relative;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		border: 0;
		background: transparent;
		color: inherit;
		cursor: pointer;
	}
	.site-header__nav .wp-block-navigation__responsive-container-open svg,
	.site-header__nav .wp-block-navigation__responsive-container-close svg {
		display: none;
	}
	.site-header__nav .wp-block-navigation__responsive-container-open::before,
	.site-header__nav .wp-block-navigation__responsive-container-open::after,
	.site-header__nav .wp-block-navigation__responsive-container-close::before,
	.site-header__nav .wp-block-navigation__responsive-container-close::after {
		content: "";
		position: absolute;
		left: 50%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
	}
	.site-header__nav .wp-block-navigation__responsive-container-open::before {
		width: 28px;
		top: calc(50% - 5px);
		transform: translateX(-50%);
	}
	.site-header__nav .wp-block-navigation__responsive-container-open::after {
		width: 16px;
		top: calc(50% + 5px);
		transform: translateX(calc(-50% + 6px));
	}
	.site-header__nav .wp-block-navigation__responsive-container-close::before,
	.site-header__nav .wp-block-navigation__responsive-container-close::after {
		width: 26px;
		top: 50%;
	}
	.site-header__nav .wp-block-navigation__responsive-container-close::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}
	.site-header__nav .wp-block-navigation__responsive-container-close::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	/* Close (×) pinned to the drawer's top right, above any sub-panel. */
	.site-header__nav .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: var(--wp--preset--spacing--30);
		right: var(--wp--preset--spacing--30);
		z-index: 4;
		color: var(--wp--preset--color--burgundy);
	}

	/* The full-screen container is the scrim. It stays rendered so the drawer
	   can slide out as well as in. (:not(.hidden-by-default) outranks core's
	   600px+ inline-menu rules.) */
	.site-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default) {
		display: block !important;
		position: fixed;
		inset: 0;
		z-index: 100000;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		padding: 0 !important;
		background-color: rgba(30, 6, 18, 0.45) !important;
		color: var(--wp--preset--color--contrast) !important;
		transition: opacity 0.3s ease, visibility 0s linear 0.4s;
		animation: none !important;
	}
	.site-header__nav .wp-block-navigation__responsive-container:not(.hidden-by-default).is-menu-open {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transition: opacity 0.3s ease, visibility 0s linear 0s;
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__responsive-close {
		position: static;
		width: 100%;
		max-width: none;
		height: 100%;
	}

	/* The drawer panel. */
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__responsive-dialog {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(380px, 86vw);
		margin: 0;
		padding: 0 0 calc(var(--wp--preset--spacing--40) + env(safe-area-inset-bottom, 0px));
		background-color: var(--wp--preset--color--base);
		box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
		/* clip, not hidden: focusing into an off-screen sub-panel must not
		   scroll the drawer sideways. */
		overflow-x: clip;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	}
	.site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		transform: translateX(0);
	}

	/* Every ancestor between a sub-panel and the dialog stays static, so the
	   sub-panel fills the whole drawer. Items start below the close button. */
	.site-header__nav .wp-block-navigation__responsive-container-content {
		position: static !important;
		display: block !important;
		width: 100%;
		padding-top: calc(2.75rem + var(--wp--preset--spacing--30) * 2) !important;
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container {
		position: static !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100%;
		gap: 0 !important;
	}

	/* Top-level rows: Caslon, full width, thin dividers. */
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item {
		position: static !important;
		display: flex;
		flex-direction: row !important;
		align-items: center !important;
		padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
		border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		flex: 1 1 0;
		min-width: 0;
		padding: 0;
		font-family: var(--wp--preset--font-family--caslon);
		font-size: var(--wp--preset--font-size--x-large);
		font-weight: 400;
		line-height: 1.15;
		color: var(--wp--preset--color--burgundy);
		text-align: left;
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-item__content::after {
		display: none;
	}
	/* Core's own submenu arrow is replaced by the chevron button. */
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation-submenu__toggle,
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-icon {
		display: none !important;
	}

	/* Chevron button beside each parent row; it points right to say "go in". */
	.site-header__nav .wp-block-navigation__responsive-container .ggs-submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 2.75rem;
		width: 2.75rem;
		height: 2.75rem;
		margin-right: calc(-1 * var(--wp--preset--spacing--20));
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--wp--preset--color--burgundy);
		cursor: pointer;
	}
	.ggs-submenu-toggle__chevron {
		display: block;
		width: 10px;
		height: 10px;
		margin-left: -5px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(-45deg);
	}

	/* Each submenu is a full-drawer sub-panel, parked off-screen right until
	   its chevron is tapped. */
	nav.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
		display: flex !important;
		flex-direction: column;
		align-items: stretch !important;
		position: absolute !important;
		inset: 0 !important;
		z-index: 3;
		width: auto !important;
		min-width: 0 !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0 var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) !important;
		background-color: var(--wp--preset--color--base) !important;
		border: 0 !important;
		box-shadow: none !important;
		overflow-y: auto;
		opacity: 1 !important;
		visibility: hidden !important;
		transform: translateX(100%);
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
	}
	/* Core's open overlay makes submenus transparent with a heavier selector. */
	nav.site-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
		background-color: var(--wp--preset--color--base) !important;
	}
	nav.site-header__nav .wp-block-navigation__responsive-container .has-child:has(> .ggs-submenu-toggle[aria-expanded="true"]) > .wp-block-navigation__submenu-container {
		visibility: visible !important;
		transform: translateX(0);
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
	}
	nav.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item {
		align-items: flex-start !important;
		justify-content: flex-start !important;
		border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
		text-align: left;
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: var(--wp--preset--spacing--30) 0;
		font-family: var(--wp--preset--font-family--caslon);
		font-size: var(--wp--preset--font-size--large);
		font-weight: 400;
		line-height: 1.15;
		color: var(--wp--preset--color--contrast);
		white-space: normal;
	}
	.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
		color: var(--wp--preset--color--burgundy);
	}

	/* "‹ Back" header at the top of each sub-panel (added by navigation.js);
	   it stops short of the close button. */
	.site-header__nav .wp-block-navigation__responsive-container .ggs-drawer-back-item {
		display: block;
		list-style: none;
	}
	.site-header__nav .wp-block-navigation__responsive-container .ggs-drawer-back {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		min-height: calc(2.75rem + var(--wp--preset--spacing--30) * 2);
		margin: 0 calc(-1 * var(--wp--preset--spacing--40)) var(--wp--preset--spacing--20);
		padding: 0 calc(2.75rem + var(--wp--preset--spacing--40)) 0 var(--wp--preset--spacing--40);
		border: 0;
		border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent);
		background: transparent;
		color: var(--wp--preset--color--burgundy);
		font-family: var(--wp--preset--font-family--caslon);
		font-size: var(--wp--preset--font-size--large);
		line-height: 1.15;
		text-align: left;
		cursor: pointer;
	}
	.ggs-drawer-back .ggs-submenu-toggle__chevron {
		flex: none;
		margin: 0 0 0 5px;
		transform: rotate(135deg);
	}

	@media (prefers-reduced-motion: reduce) {
		.site-header__nav .wp-block-navigation__responsive-container,
		.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__responsive-dialog,
		nav.site-header__nav .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
			transition: none !important;
		}
	}
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer a {
	text-decoration: none;
}
.site-footer a:hover {
	color: var(--wp--preset--color--gold) !important;
}
.site-footer__logo img {
	height: auto;
}
.site-footer__legal p {
	margin: 0;
}


/* ==========================================================================
   Block styles (registered in inc/block-styles.php)
   ========================================================================== */

/* Separators: a 1px gold rule. */
.wp-block-separator {
	border: 0;
	border-top: 1px solid currentColor;
	height: 0;
	opacity: 1;
}
/* The short rule is drawn as a 104px background line on a separator that
   keeps its normal layout width, so it starts exactly at the content edge
   inside constrained (centered) layouts as well as in columns. */
.wp-block-separator.is-style-gold-short {
	border-top: 0;
	height: 1px;
	background: linear-gradient(currentColor, currentColor) left top / 104px 1px no-repeat;
}
.wp-block-separator.is-style-gold-short.aligncenter {
	background-position: center top;
}
.wp-block-separator.is-style-gold-centered {
	width: 40%;
	min-width: 137px;
	max-width: 576px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.wp-block-separator.is-style-gold-short:not(.has-text-color),
.wp-block-separator.is-style-gold-centered:not(.has-text-color) {
	color: var(--wp--preset--color--gold);
}

/* Staggered heading: lines after the first (Shift+Enter breaks) step in by
   half an em, as in the Home section titles. */
.wp-block-heading.is-style-staggered {
	padding-left: 0.5em;
	text-indent: -0.5em;
}

/* Eyebrow: small uppercase label above a heading. */
p.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
p.is-style-eyebrow:not(.has-text-color) {
	color: var(--wp--preset--color--gold-text);
}

/* Images with a sage block offset behind them. The block scales with
   --ggs-offset (24px on phones up to 80px at 1920). */
.wp-block-image[class*="is-style-offset-sage"],
.wp-block-post-featured-image.is-style-offset-sage-left {
	position: relative;
	isolation: isolate;
}
.wp-block-image[class*="is-style-offset-sage"]::before,
.wp-block-image.is-style-offset-sage-corners::after {
	content: "";
	position: absolute;
	z-index: -1;
	background-color: var(--wp--preset--color--sage);
}
/* The block rises half the offset above the image; the image drops by the
   same amount so the block, not the photo, sits on the section padding. */
.wp-block-image.is-style-offset-sage-left,
.wp-block-image.is-style-offset-sage-right {
	margin-block-start: calc(var(--ggs-offset) / 2) !important;
}
.wp-block-image.is-style-offset-sage-left::before {
	top: calc(-1 * var(--ggs-offset) / 2);
	left: calc(-1 * var(--ggs-offset));
	width: 70%;
	height: 92%;
}
.wp-block-image.is-style-offset-sage-right::before {
	top: calc(-1 * var(--ggs-offset) / 2);
	right: calc(-1 * var(--ggs-offset));
	width: 70%;
	height: 92%;
}
/* Company hero: a tall block off the left edge + a wide one off the bottom right. */
.wp-block-image.is-style-offset-sage-corners::before {
	top: 9%;
	left: -32px;
	width: 15%;
	height: 44%;
}
.wp-block-image.is-style-offset-sage-corners::after {
	right: -32px;
	bottom: -32px;
	width: 33%;
	height: 17%;
}
@media (max-width: 781px) {
	.wp-block-image.is-style-offset-sage-corners::before,
	.wp-block-image.is-style-offset-sage-corners::after {
		display: none;
	}
}

/* Gold vertical dividers between columns / grid items (stats, body columns).
   Desktop only — stacked or 2-up layouts on smaller screens drop them. */
@media (min-width: 1100px) {
	.wp-block-columns.is-style-gold-dividers > .wp-block-column:not(:first-child),
	.wp-block-group.is-style-gold-dividers > *:not(:first-child) {
		border-left: 1px solid var(--wp--preset--color--gold);
		padding-left: var(--wp--preset--spacing--50);
	}
}

/* Query Loop rows that alternate image side and background (Properties). */
.wp-block-query.is-style-alternating-rows .wp-block-post:nth-child(even) {
	background-color: var(--wp--preset--color--sage-pale);
}
@media (min-width: 782px) {
	.wp-block-query.is-style-alternating-rows .wp-block-post:nth-child(even) .wp-block-columns {
		flex-direction: row-reverse;
	}
}

/* Sage backdrop behind a row of columns (Home "Enterprise Solutions" photo
   collage): a block that starts outside the left edge and runs behind both
   photos. Desktop only; stacked phones drop it. */
.wp-block-columns.is-style-sage-backdrop {
	position: relative;
	isolation: isolate;
}
@media (min-width: 782px) {
	.wp-block-columns.is-style-sage-backdrop::before {
		content: "";
		position: absolute;
		z-index: -1;
		top: var(--ggs-offset);
		left: calc(-1 * var(--ggs-offset));
		width: calc(66.67% + var(--ggs-offset));
		aspect-ratio: 960 / 430;
		background-color: var(--wp--preset--color--sage);
	}
}

/* Query Loop in a two-column grid with a gold rule down the middle
   (Home "Our Properties"). */
.wp-block-query.is-style-gold-dividers .wp-block-post-template.is-layout-grid {
	position: relative;
}
@media (min-width: 782px) {
	.wp-block-query.is-style-gold-dividers .wp-block-post-template.is-layout-grid::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		width: 1px;
		background-color: var(--wp--preset--color--gold);
	}
	.wp-block-query.is-style-gold-dividers .wp-block-post-template.is-layout-grid > li:nth-child(even) {
		padding-left: var(--wp--preset--spacing--50);
	}
}
@media (max-width: 781px) {
	.wp-block-query.is-style-gold-dividers .wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Media & Text "Edge blend" (Home "Drive Impact Together"): text lines up
   with the site content edge, the photo's left edge fades into the block
   background, and on phones the photo sits below the text. */
.wp-block-media-text.is-style-edge-blend > .wp-block-media-text__content {
	padding-block: var(--wp--preset--spacing--80);
	padding-left: max(var(--wp--style--root--padding-left), calc((100% - var(--wp--style--global--wide-size)) / 2));
	padding-right: var(--wp--preset--spacing--60);
}
@media (min-width: 782px) {
	.wp-block-media-text.is-style-edge-blend {
		min-height: clamp(440px, 34.4vw, 660px);
	}
	.wp-block-media-text.is-style-edge-blend > .wp-block-media-text__content {
		padding-left: max(var(--wp--style--root--padding-left), calc((100vw - var(--wp--style--global--wide-size)) / 2));
	}
	.wp-block-media-text.is-style-edge-blend > .wp-block-media-text__media {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16.7%);
		mask-image: linear-gradient(90deg, transparent 0, #000 16.7%);
	}
}
@media (max-width: 781px) {
	/* Core only stacks Media & Text below 600px; stack it at the site's mobile
	   breakpoint so the text and photo never sit in mismatched columns. */
	.wp-block-media-text.is-style-edge-blend.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
	}
	.wp-block-media-text.is-style-edge-blend.is-stacked-on-mobile > .wp-block-media-text__content,
	.wp-block-media-text.is-style-edge-blend.is-stacked-on-mobile > .wp-block-media-text__media {
		grid-column: 1;
	}
	.wp-block-media-text.is-style-edge-blend.is-stacked-on-mobile > .wp-block-media-text__content {
		grid-row: 1;
		padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right) var(--wp--preset--spacing--70) var(--wp--style--root--padding-left);
	}
	.wp-block-media-text.is-style-edge-blend.is-stacked-on-mobile > .wp-block-media-text__media {
		grid-row: 2;
		min-height: 340px;
	}
}

/* Buttons. */
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background-color: transparent;
	border-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.12);
	border-color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-text-link .wp-block-button__link {
	background-color: transparent;
	border: 0;
	padding: 0;
	color: var(--wp--preset--color--crimson);
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover {
	background-color: transparent;
	color: var(--wp--preset--color--burgundy);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Plain list: no bullets (Venue Features). */
.wp-block-list.is-style-plain {
	list-style: none;
	padding-left: 0;
}
.wp-block-list.is-style-plain li + li {
	margin-top: 0.5em;
}

/* White logo (footer). */
.wp-block-site-logo.is-style-white img {
	filter: brightness(0) invert(1);
}

/* ==========================================================================
   MW Blocks (mw-blocks plugin) — theme look
   ========================================================================== */

/* Timeline: gold line + dots, Caslon years. */
.wp-block-mw-timeline {
	--mw-timeline-color: var(--wp--preset--color--gold);
	--mw-timeline-year-width: 128px;
}
.wp-block-mw-timeline-item__year {
	font-family: var(--wp--preset--font-family--caslon);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
	color: var(--wp--preset--color--burgundy);
}

/* ==========================================================================
   Gravity Forms (Orbital) — theme look. Colors come from the block's style
   defaults (inc/gravity-forms.php); this sets sizes and fonts: 64px fields,
   20px Poppins labels and text, and an uppercase burgundy button.
   ========================================================================== */
.gform-theme--framework.gform_wrapper {
	--gf-ctrl-size-lg: 64px;
	--gf-ctrl-padding-x: 20px;
	--gf-ctrl-font-size: var(--wp--preset--font-size--medium);
	--gf-ctrl-font-family: var(--wp--preset--font-family--poppins);
	--gf-ctrl-label-font-family-primary: var(--wp--preset--font-family--poppins);
	--gf-ctrl-label-font-size-primary: var(--wp--preset--font-size--medium);
	--gf-ctrl-label-font-weight-primary: 400;
	--gf-ctrl-btn-font-family: var(--wp--preset--font-family--poppins);
	--gf-ctrl-btn-font-size: var(--wp--preset--font-size--small);
	--gf-ctrl-btn-font-weight: 600;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-size: 56px;
	--gf-ctrl-btn-padding-x: var(--wp--preset--spacing--40);
	--gf-ctrl-btn-radius: 0;
}
/* Orbital sizes controls through --gf-local-* properties set on the controls
   themselves, so these need the extra class weight to win. */
.gform-theme.gform-theme--framework.gform_wrapper .gfield textarea.large {
	--gf-local-height: 176px;
	min-block-size: 176px;
}
.gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button {
	--gf-local-min-height: 56px;
}
@media (min-width: 782px) {
	.gform-theme.gform-theme--framework.gform_wrapper .gform_footer .gform_button.button {
		--gf-local-min-width: 352px;
	}
}


/* ==========================================================================
   Cover "Slideshow" style (inc/hero-slideshow.php, assets/js/hero-slideshow.js)
   ========================================================================== */

/* Extra photos sit stacked behind the content; only the active one shows. */
.wp-block-cover.is-style-slideshow > .ggs-slide {
	transition: opacity 1.4s ease-in-out;
}
.wp-block-cover.is-style-slideshow > .ggs-slide:not(.is-active) {
	opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-cover.is-style-slideshow > .ggs-slide {
		transition: none;
	}
}

.ggs-slideshow__controls {
	position: absolute;
	right: var(--wp--style--root--padding-right);
	bottom: var(--wp--preset--spacing--40);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 6px;
}
.wp-block-cover:not(.is-slideshow-ready) > .ggs-slideshow__controls {
	display: none;
}
.ggs-slideshow__controls button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--white);
	cursor: pointer;
}
.ggs-slideshow__arrow,
.ggs-slideshow__pause {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	background: rgba(0, 0, 0, 0.3) !important;
	transition: background-color 0.2s ease;
}
.ggs-slideshow__arrow:hover,
.ggs-slideshow__pause:hover {
	background: rgba(0, 0, 0, 0.55) !important;
}
.ggs-slideshow__controls svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ggs-slideshow__pause .ggs-icon-play {
	fill: currentColor;
	stroke-width: 1.5;
}
.ggs-slideshow__pause .ggs-icon-play,
.is-paused .ggs-slideshow__pause .ggs-icon-pause {
	display: none;
}
.is-paused .ggs-slideshow__pause .ggs-icon-play {
	display: block;
}
.ggs-slideshow__pause {
	margin-left: 6px;
}
.ggs-slideshow__dots {
	display: flex;
	align-items: center;
}
/* 24px tap target around a 10px dot. */
.ggs-slideshow__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
}
.ggs-slideshow__dot::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--white);
	background: transparent;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);
	transition: background-color 0.2s ease;
}
.ggs-slideshow__dot[aria-current="true"]::before,
.ggs-slideshow__dot:hover::before {
	background: var(--wp--preset--color--white);
}

/* Phones: centre the controls under the headline. */
@media (max-width: 781px) {
	/* Room under the headline for the controls (overrides the block's inline padding). */
	.wp-block-cover.is-style-slideshow {
		padding-bottom: calc(var(--wp--preset--spacing--30) + 36px + var(--wp--preset--spacing--40)) !important;
	}
	.ggs-slideshow__controls {
		right: 0;
		left: 0;
		bottom: var(--wp--preset--spacing--30);
		justify-content: center;
	}
	.ggs-slideshow__arrow,
	.ggs-slideshow__pause {
		width: 36px;
		height: 36px;
	}
}

/* Editor: the gallery inside a Slideshow cover holds the extra photos and is
   hidden on the front end, so show it as a labelled strip of thumbnails. */
.editor-styles-wrapper .wp-block-cover.is-style-slideshow .wp-block-gallery {
	max-width: 520px;
	padding: 8px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px dashed rgba(255, 255, 255, 0.6);
}
.editor-styles-wrapper .wp-block-cover.is-style-slideshow .wp-block-gallery::before {
	content: "Slideshow photos (after the cover image). Hidden on the site.";
	flex-basis: 100%;
	font-size: 12px;
	color: #fff;
}

/* Slideshow photos vary in brightness, so shade the top (logo and menu; the
   light-header fade in Global Styles covers the right) and the bottom left
   (the headline). */
.wp-block-cover.is-style-slideshow::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.25) 130px, rgba(0, 0, 0, 0) 260px),
		radial-gradient(ellipse 75% 70% at 0% 100%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

/* Property "designation" label (ggs-core), e.g. Past Consulting & Development Project. */
p.ggs-designation {
	width: fit-content;
	margin-bottom: 0;
	padding: 0.35em 0.85em;
	border: 1px solid var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}
.wp-block-cover p.ggs-designation {
	color: var(--wp--preset--color--white);
	background: rgba(0, 0, 0, 0.25);
}

/* "Drive Impact Together" CTA (synced pattern): on phones the text fills the
   width, so shrink the globe-and-feather watermark into the bottom-right corner. */
@media (max-width: 781px) {
	.ggs-cta-watermark {
		background-size: auto 38% !important;
		background-position: right var(--wp--style--root--padding-right) bottom var(--wp--preset--spacing--40) !important;
	}
}

/* ==========================================================================
   Hero nav readability (moved from Additional CSS, 2026-11-03)
   Pages whose header sits over a hero get body.has-light-header.
   ========================================================================== */

/* Dark fade at the top right of page heroes, behind the header nav */
.has-light-header .entry-content > .wp-block-cover:first-child::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: min(340px, 50%);
	background: linear-gradient(to left, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .25) 70%, rgba(0, 0, 0, 0) 90%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}

.has-light-header .entry-content > .wp-block-cover:first-child > .wp-block-cover__inner-container {
	z-index: 2;
}

/* Soft shadow on the white top-level nav links over heroes (not scrolled, mobile menu closed) */
html:not(.is-scrolled) body.has-light-header .site-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 12px rgba(0, 0, 0, .45);
}

/* Let long URLs and unbroken strings in body copy wrap instead of running off narrow screens (2026-11-03) */
.entry-content :where(p, li) {
	overflow-wrap: break-word;
}

/* ==========================================================================
   News (page /news/ and the press release template) — added 2026-11-03
   ========================================================================== */

/* Date · Outlet line above each item (and the dateline on releases). */
.ggs-news-meta {
	gap: 0.25rem 0;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-text);
}
.ggs-news-meta > * {
	margin: 0;
}
/* The dot hangs off the end of the date, so a long outlet that wraps starts its own line cleanly. */
.ggs-news-meta > *:not(:last-child):not(.ggs-tags):not(:has(+ .ggs-tags))::after {
	content: "·";
	margin: 0 0.6em;
}
.ggs-release__meta {
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--contrast);
}

/* Property tags (pills). */
.ggs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.ggs-release__meta .ggs-tags {
	margin-left: 1.25rem;
}
.ggs-tags .wp-block-post-terms__separator {
	display: none;
}
.ggs-tags a {
	display: inline-block;
	padding: 0.3em 0.9em;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--contrast);
}
.ggs-tags a:hover,
.ggs-tags a:focus-visible {
	border-color: var(--wp--preset--color--burgundy);
	color: var(--wp--preset--color--burgundy);
}

/* Coverage list: ruled rows. */
.ggs-news-list .wp-block-post-template > .wp-block-post {
	padding-block: var(--wp--preset--spacing--50);
	border-top: 1px solid #dcd6ca;
}
.ggs-news-list .wp-block-post-template > .wp-block-post:first-child {
	padding-top: 0;
	border-top: 0;
}
.ggs-news-list .wp-block-post-title a,
.ggs-featured-release .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}
.ggs-news-list .wp-block-post-title a:hover,
.ggs-news-list .wp-block-post-title a:focus-visible,
.ggs-featured-release .wp-block-post-title a:hover,
.ggs-featured-release .wp-block-post-title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.12em;
	text-decoration-thickness: 1px;
}

/* "Read Article →" links. */
.ggs-news-list .wp-block-read-more {
	font-weight: 500;
	color: var(--wp--preset--color--burgundy);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.ggs-news-list .wp-block-read-more::after,
.ggs-featured-release .wp-block-read-more::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.5em;
	text-decoration: none;
}

/* Featured release: "Read Release" as a button. */
.ggs-featured-release .wp-block-read-more {
	display: inline-block;
	padding: 1rem 2rem;
	background: var(--wp--preset--color--burgundy);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}
.ggs-featured-release .wp-block-read-more:hover,
.ggs-featured-release .wp-block-read-more:focus-visible {
	background: var(--wp--preset--color--oxblood);
}

/* Browse-by-property jump links. */
.ggs-jump-links a {
	font-weight: 500;
	color: var(--wp--preset--color--burgundy);
	text-underline-offset: 0.2em;
}
@media (max-width: 781px) {
	.ggs-jump-links .wp-block-group {
		gap: 0.5rem;
	}
	.ggs-jump-links .is-style-eyebrow {
		flex-basis: 100%;
	}
	.ggs-jump-links p:not(.is-style-eyebrow) a {
		display: inline-block;
		padding: 0.5em 1em;
		border: 1px solid var(--wp--preset--color--burgundy);
		border-radius: 999px;
		font-size: 0.9375rem;
		text-decoration: none;
	}
	.ggs-news-meta {
		font-size: 0.8125rem;
		letter-spacing: 0.04em;
	}
	.ggs-release__meta {
		font-size: 0.9375rem;
	}
	.ggs-release__meta .ggs-tags {
		flex-basis: 100%;
		margin: 0.5rem 0 0;
	}
	.ggs-tags a {
		font-size: 0.75rem;
	}
}

/* Property sections: the photo sits a little below the gold rule. */
.ggs-news-property__aside .wp-block-image {
	margin-top: var(--wp--preset--spacing--30);
}
.ggs-news-property__aside .ggs-property-link a,
.ggs-back-link a,
.ggs-breadcrumb a {
	font-weight: 500;
	color: var(--wp--preset--color--burgundy);
	text-underline-offset: 0.2em;
}
.ggs-news-property__aside .ggs-property-link a::after {
	content: " \2192";
}
.ggs-back-link a::before {
	content: "\2190  ";
}

/* Press release template. */
.ggs-breadcrumb span {
	margin: 0 0.75em;
	color: var(--wp--preset--color--stone);
}
.ggs-release__body .wp-block-post-content > * + * {
	margin-top: var(--wp--preset--spacing--40);
}
.ggs-release__body .wp-block-post-content h2 {
	margin-top: var(--wp--preset--spacing--60);
	font-size: var(--wp--preset--font-size--large);
}
.ggs-related {
	border: 1px solid #dcd6ca;
}
.ggs-related__terms {
	display: flex;
	flex-direction: column;
	gap: 0.35em;
	line-height: 1.2;
}
.ggs-related__terms .wp-block-post-terms__separator {
	display: none;
}
.ggs-related__terms a {
	color: var(--wp--preset--color--burgundy);
	text-decoration: none;
}
.ggs-related__terms a::after {
	content: " \2192";
	font-family: var(--wp--preset--font-family--poppins);
	font-size: 0.6em;
}
.ggs-media-contact p {
	margin: 0;
}
.ggs-media-contact a {
	color: var(--wp--preset--color--burgundy);
	text-underline-offset: 0.2em;
}
@media (max-width: 781px) {
	.ggs-release__body .wp-block-quote p {
		font-size: 1.25rem;
	}
}

/* Desktop submenu arrows: keep the 12px chevron, but give the button a
   24x24 target (WCAG 2.5.8) without moving the labels. */
@media (min-width: 1100px) {
	.site-header__nav .wp-block-navigation-submenu__toggle.wp-block-navigation__submenu-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 24px;
		height: 24px;
		margin: -6px -6px -6px 0;
		padding: 0;
	}
	.site-header__nav .wp-block-navigation-submenu__toggle.wp-block-navigation__submenu-icon svg {
		width: 12px;
		height: 12px;
		margin-top: 0;
	}
}
