/*
Theme Name: GLX Technologies
Theme URI: https://glxtech.com/
Author: GLX Technologies
Description: Block theme for glxtech.com, rebuilt from the previous eCart site and developed against WordPress Playground.
Version: 1.0.6
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: glxtech
*/

/* Prefer theme.json for colours, type and spacing. Put CSS here only for
   things theme.json cannot express. functions.php loads this file.
   Measurements come from docs/design-tokens.md. */

/* ---------------------------------------------------------------------------
   Header: navy bar, sticky. 100px on desktop, 75px at 1024px and below.
   On the home page the desktop header sits over the top of the hero video.
--------------------------------------------------------------------------- */

header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

.glx-header {
	position: relative;
	height: var(--wp--custom--header-height);
	box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.15);
}

.glx-header .glx-logo {
	margin: 0;
	flex-shrink: 0;
	align-self: center;
}

.glx-header .glx-logo img {
	display: block;
}

/* Centre the menu on the whole bar, not on the space beside the logo. */
.glx-header .glx-nav {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	gap: 10px;
	line-height: 27px;
	white-space: nowrap;
}

.glx-header .glx-nav .wp-block-navigation-item__content {
	padding: 5px;
	transition: color 0.1s ease-out;
}

.glx-header .glx-nav .wp-block-navigation-item__label {
	display: block;
	border-bottom: 2px solid transparent;
}

.glx-header .glx-nav .wp-block-navigation-item__content:hover,
.glx-header .glx-nav .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--white);
}

.glx-header .glx-nav .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.glx-header .glx-nav .wp-block-navigation-item__content:focus .wp-block-navigation-item__label {
	border-bottom-color: var(--wp--preset--color--orange);
}

@media (min-width: 1025px) {
	.glx-home > .glx-hero:first-child,
	.glx-home > :first-child > .glx-hero:first-child {
		margin-top: calc(-1 * var(--wp--custom--header-height));
	}
}

/* --- Mobile header (1024px and below) ------------------------------------ */

@media (max-width: 1024px) {
	.glx-header {
		height: var(--wp--custom--header-height-mobile);
		padding-left: 18px;
		box-shadow: 0 15px 90px -10px rgba(0, 0, 0, 0.2);
	}

	.glx-header .glx-logo img {
		width: 87px !important;
		height: 47px !important;
	}

	.glx-header .glx-nav {
		position: static;
		transform: none;
		margin-left: auto;
	}

	/* WordPress collapses the menu at 600px; the live site does it at 1024px. */
	.glx-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.glx-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Hamburger button */
.glx-header .wp-block-navigation__responsive-container-open {
	width: 45px;
	height: var(--wp--custom--header-height-mobile);
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--white);
}

.glx-header .wp-block-navigation__responsive-container-open svg {
	width: 26px;
	height: 26px;
}

/* Drawer: slides over from the left, 85% wide, slate gradient, "MENU" bar. */
.glx-header .wp-block-navigation__responsive-container.is-menu-open {
	right: auto;
	width: 85%;
	padding: 0;
	background: linear-gradient(60deg, #29323c 0%, #485563 100%) !important;
	color: var(--wp--preset--color--nav) !important;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
	animation: glx-drawer-in 0.35s ease-in-out;
}

@keyframes glx-drawer-in {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	margin-top: 0 !important;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: "Menu";
	display: flex;
	align-items: center;
	height: 45px;
	padding: 0 12px;
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--white);
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 10px 10px 0 !important;
	align-items: stretch !important;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 0 !important;
	align-items: stretch !important;
	width: 100%;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	padding: 8px !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 19.5px;
	width: 100%;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label {
	border-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Home: hero video, the two division panels, certifications.
--------------------------------------------------------------------------- */

.glx-hero {
	padding: 0 !important;
	aspect-ratio: 16 / 9;
}

.glx-panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
}

@media (max-width: 600px) {
	.glx-panels {
		grid-template-columns: 1fr;
	}
}

.glx-panel {
	align-items: stretch !important;
	overflow: hidden;
}

.glx-panel .wp-block-cover__inner-container {
	width: 100% !important;
	color: var(--wp--preset--color--base);
}

.glx-panel h1,
.glx-panel h2 {
	margin-top: 0;
}

.glx-panel h1 {
	margin-bottom: 20px;
}

.glx-panel h2 {
	margin-bottom: 15px;
}

/* The old site draws a 14px button and scales it 2x; this is the result. */
.glx-btn-big .wp-block-button__link {
	font-size: var(--wp--preset--font-size--button);
	padding: 26px;
	white-space: nowrap;
	transition: background-color 0.1s ease-in-out;
}

.glx-panel-buttons {
	flex-wrap: nowrap;
	justify-content: center;
}

.glx-panel-buttons .wp-block-button {
	flex-shrink: 0;
}

/* Certifications and Affiliations */
.glx-certs {
	padding: 70px 0 60px;
}

.glx-section-title {
	margin: 0;
}

.glx-title-divider {
	width: 50px;
	height: 1px;
	margin: 15px auto !important;
	border: 0 !important;
	opacity: 1;
}

.glx-section-subtitle {
	margin: 0 0 60px;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 30px;
}

.glx-cert-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	margin-bottom: 20px;
}

.glx-cert-row:last-child {
	margin-bottom: 0;
}

.glx-cert-row--2 {
	grid-template-columns: repeat(2, 360px);
	justify-content: center;
}

.glx-cert {
	margin: 0 auto !important;
	max-width: 210px;
}

.glx-cert img {
	display: block;
	height: auto;
}

@media (max-width: 1024px) {
	.glx-cert-row--2 {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}
}

@media (max-width: 600px) {
	.glx-cert-row {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}

	.glx-cert-row--2 .glx-cert {
		max-width: 175px;
	}
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */

.glx-footer {
	align-items: stretch !important;
	color: var(--wp--preset--color--white);
}

.glx-footer .wp-block-cover__inner-container {
	width: 100% !important;
}

.glx-footer-cols {
	display: grid;
	grid-template-columns: 310fr 320fr 350fr 420fr;
}

.glx-footer-col--links {
	padding-right: 30px;
}

.glx-footer-col {
	padding-bottom: 20px;
}

.glx-footer-title {
	margin: 0 0 5px;
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--footer-title);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}

.glx-footer-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin-top: 10px;
	background: var(--wp--preset--color--orange);
}

.glx-footer p {
	margin: 0;
}

.glx-footer-link a {
	display: inline-block;
	padding-bottom: 5px;
	color: var(--wp--preset--color--white);
	transition: color 0.08s ease-out;
}

.glx-footer-link a:hover {
	color: var(--wp--preset--color--orange);
}

.glx-footer-label {
	margin-top: 5px !important;
}

.glx-footer-col .glx-footer-title + .glx-footer-label {
	margin-top: 0 !important;
}

.glx-footer-line {
	margin: 10.8px 0 5px !important;
}

.glx-newsletter-intro {
	margin-bottom: 10px !important;
}

.glx-newsletter__field {
	position: relative;
	height: 40px;
}

.glx-newsletter__field input {
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	padding: 6px 90px 6px 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-newsletter__field button {
	position: absolute;
	top: 0;
	right: 0;
	height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0 13px;
	border: 0;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
}

.glx-newsletter__field button:hover {
	background: var(--wp--preset--color--blue);
}

.glx-newsletter__agree {
	display: block;
	margin-top: 5px;
	font-size: var(--wp--preset--font-size--xs);
	line-height: 18px;
	color: var(--wp--preset--color--white);
}

.glx-newsletter__agree input {
	width: 13px;
	height: 13px;
	margin: 0 4px 0 0;
	vertical-align: -2px;
}

.glx-newsletter__agree .glx-newsletter__policy,
.glx-newsletter__agree a {
	padding: 0 3px;
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.glx-footer-bar {
	min-height: 96px;
	padding: 15px;
	align-items: flex-end !important;
}

.glx-copyright {
	align-self: flex-start;
	margin: 7px 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 21px;
}

.glx-social.wp-block-social-links {
	margin: 0 0 5px;
}

.glx-social .wp-social-link {
	font-size: 22px;
}

.glx-social .wp-social-link a {
	width: 40px;
	height: 40px;
	padding: 9px !important;
	box-sizing: border-box;
	justify-content: center;
}

@media (max-width: 1024px) {
	.glx-footer-cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.glx-footer-cols {
		grid-template-columns: 1fr;
	}

	.glx-footer-col--links {
		padding-right: 0;
	}

	.glx-footer-bar {
		flex-wrap: wrap !important;
	}
}

/* ---------------------------------------------------------------------------
   Fine alignment against the live site (measured, see docs/design-tokens.md)
--------------------------------------------------------------------------- */

.glx-header .glx-logo {
	align-self: flex-start;
	margin-top: 5px;
}

.glx-footer-col {
	padding-bottom: 40px;
}

.glx-footer-bar {
	padding: 15px 20px 20px 15px;
}

@media (max-width: 1024px) {
	.glx-header .glx-logo {
		margin-top: 14px;
	}
}

@media (max-width: 600px) {
	/* On the live site the Water button sits on the panel's bottom edge. */
	.glx-panel:last-child {
		padding-bottom: 0 !important;
	}

	.glx-footer-col {
		padding-bottom: 20px;
	}

	.glx-footer-link a {
		padding-bottom: 12px;
	}

	/* The live footer indents the HQ column by 30px at phone width. */
	.glx-footer-col--hq {
		padding-left: 30px;
	}
}

.glx-footer-col {
	padding-bottom: 44px;
}

.glx-social.wp-block-social-links {
	margin: 0 0 1px;
}

@media (max-width: 600px) {
	.glx-footer-col {
		padding-bottom: 35px;
	}

	.glx-footer-col--links {
		padding-bottom: 20px;
	}
}

@media (min-width: 601px) {
	.glx-footer-bar {
		box-sizing: border-box;
		height: 96px;
	}
}

@media (max-width: 600px) {
	.glx-footer-bar .glx-social {
		margin-left: auto;
	}
}

@media (min-width: 601px) {
	.glx-footer-col {
		padding-bottom: 37px;
	}
}

.glx-footer-bar .glx-copyright {
	margin-top: 8px !important;
}

.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	padding-left: 8px;
}

/* ---------------------------------------------------------------------------
   Inner pages: shared container, banner and breadcrumb
--------------------------------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* The live content column: 1500px at most, 20px gutters below 1401px. */
.glx-container {
	box-sizing: border-box;
	max-width: 1500px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 20px;
	padding-right: 20px;
}

@media (min-width: 1401px) {
	.glx-container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Banner: the pipework photo with a 60% blue wash blended over it. */
.glx-page-title {
	margin: 0 0 5px !important;
	padding: 50px 0;
	background: rgba(15, 86, 132, 0.6) url(assets/img/background/breadcrumb-bg.jpg) 50% 0 / cover no-repeat;
	background-blend-mode: overlay;
	background-attachment: fixed;
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.glx-page-title--divider::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin: 10px auto 0;
	background: var(--wp--preset--color--orange);
}

@media (max-width: 470px) {
	.glx-page-title {
		font-size: 20px;
	}
}

/* Breadcrumb strip: white, hairline top and bottom. */
.glx-breadcrumb {
	box-sizing: border-box;
	min-height: 47px;
	padding: 9px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	line-height: 21px;
}

.glx-breadcrumb .glx-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 27px;
}

.glx-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	margin-right: 4px;
}

.glx-breadcrumb__link {
	color: var(--wp--preset--color--orange);
	text-decoration: underline;
}

.glx-breadcrumb__home {
	display: block;
	width: 14px;
	height: 21px;
	margin-right: 4px;
	color: var(--wp--preset--color--orange);
}

.glx-breadcrumb__home svg {
	display: block;
	margin-top: 4px;
}

.glx-breadcrumb__sep {
	width: 28px;
	position: relative;
	top: 1px;
	color: var(--wp--preset--color--nav);
	font-size: 18px;
	line-height: 27px;
	text-align: center;
}

.glx-breadcrumb__here {
	color: #737381;
}

.glx-breadcrumb a:hover {
	color: var(--wp--preset--color--orange);
}

/* Small uppercase title with a short orange rule (as the footer titles). */
.glx-block-title {
	margin: 0 0 5px;
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--footer-title);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--navy);
}

.glx-block-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin-top: 10px;
	background: var(--wp--preset--color--orange);
}

/* ---------------------------------------------------------------------------
   About Us
--------------------------------------------------------------------------- */

.glx-about {
	padding-top: 20px;
	padding-bottom: 20px;
}

.glx-about-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.glx-about-intro__photo {
	margin: 0 !important;
	padding-top: 50px;
}

.glx-about-intro__photo img {
	display: block;
	margin: 0 auto;
	height: auto;
}

.glx-about-intro__text {
	padding-top: 50px;
}

.glx-about-intro__text p {
	margin: 0;
	line-height: 1.65;
	color: var(--wp--preset--color--navy);
}

@media (max-width: 600px) {
	.glx-about-intro {
		grid-template-columns: 1fr;
	}

	.glx-about-intro__photo,
	.glx-about-intro__text {
		padding: 50px 10px 0;
	}
}

.glx-team {
	margin-top: 21.6px;
	padding-bottom: 80px;
}

.glx-team:last-child {
	margin-bottom: 9px;
}

.glx-team__title {
	margin: 0 0 15px;
	padding: 25px 5px;
	font-size: 36px;
	font-weight: 300;
	line-height: 1.1;
	color: var(--wp--preset--color--dark);
}

.glx-leaders {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	column-gap: 4px;
	max-width: 1180px;
	margin-left: max(-20px, calc((100% - 1180px) / 2)) !important;
	margin-right: max(-20px, calc((100% - 1180px) / 2)) !important;
}

/* Leader cards. The old theme sets names and roles in "Open Sans" but never
   loads it, so visitors see their system sans-serif. Same stack here. */
.glx-leaders > .glx-leader {
	margin: 0 14px 20px;
}

.glx-leader {
	box-sizing: border-box;
	width: 263px;
	padding: 30px 0 8px;
	background: var(--wp--preset--color--white);
	box-shadow: 1px 1px 5px rgba(50, 50, 50, 0.75);
	text-align: center;
	transition: transform 0.35s;
}

.glx-leader__photo {
	box-sizing: border-box;
	width: 235px;
	height: 235px;
	margin: 0 0 0 15px !important;
	border: 10px solid #00a5a6;
	border-radius: 50%;
	overflow: hidden;
	transition: 0.35s;
}

.glx-leader__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.glx-leader__name,
.glx-leader__role {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	line-height: 1.1;
	text-transform: uppercase;
}

.glx-leader__name {
	margin: 0 0 15px;
	padding: 10px 5px;
	font-size: 24px;
	color: #666;
}

.glx-leader__role {
	position: relative;
	margin: 0 0 21px;
	padding: 12px 5px;
	background: #2c3e50;
	color: var(--wp--preset--color--white);
	font-size: 16px;
	transition: 0.35s;
}

.glx-leader__role::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -16px;
	width: 50px;
	height: 1px;
	background: var(--wp--preset--color--orange);
}

.glx-leader__bio-btn {
	display: inline-flex;
	border: 0;
	font-family: inherit;
	cursor: pointer;
	vertical-align: top;
}

.glx-leader:hover {
	transform: scale(1.1);
}

.glx-leader:hover .glx-leader__photo {
	border: 3px solid #1abc9c;
}

.glx-leader:hover .glx-leader__role {
	padding: 5px;
	background: #e74c3c;
}

/* Bio pop-up (popover), sized like the old Bootstrap modal. */
.glx-bio {
	position: fixed;
	inset: 0;
	width: auto;
	height: auto;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow-y: auto;
	color: var(--wp--preset--color--dark);
	text-align: left;
}

.glx-bio::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.glx-bio__scrim {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: default;
}

.glx-bio__dialog {
	box-sizing: border-box;
	position: relative;
	width: 600px;
	margin: 30px auto;
	background: var(--wp--preset--color--white);
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
	.glx-bio__dialog {
		width: auto;
		margin: 10px;
		box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	}
}

.glx-bio__header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
}

.glx-bio__header h4 {
	margin: 0 0 15px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.glx-bio__x {
	position: absolute;
	top: 50px;
	right: 15px;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	font: 700 25px/1 var(--wp--preset--font-family--titillium);
	cursor: pointer;
}

.glx-bio__body {
	padding: 15px;
}

.glx-bio__body p {
	margin: 10.8px 0 18px;
	line-height: 1.65;
}

.glx-bio__footer {
	padding: 15px;
	border-top: 1px solid #e5e5e5;
	text-align: right;
}

.glx-bio__close:hover {
	filter: brightness(0.95);
}

.glx-bio__close {
	padding: 13px;
	border: 0;
	background: #fee272;
	color: var(--wp--preset--color--dark);
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------------------------------------------------------------------------
   Case studies: list, categories, search and single post
--------------------------------------------------------------------------- */

:root {
	--glx-gutter: 20px;
}

@media (min-width: 1401px) {
	:root {
		--glx-gutter: 0px;
	}
}

/* Content column beside a 240px sidebar with a hairline between them. */
.glx-blog {
	display: flex;
	max-width: 1500px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.glx-blog__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 20px 20px 20px var(--glx-gutter);
}

.glx-blog__side {
	box-sizing: border-box;
	flex: 0 0 240px;
	padding: 20px var(--glx-gutter) 20px 20px;
	border-left: 1px solid var(--wp--preset--color--border);
}

@media (max-width: 768px) {
	.glx-blog__side {
		display: none;
	}

	.glx-blog__main {
		padding: 20px;
	}
}

/* "GLX Case Studies" intro */
.glx-cs-intro {
	padding: 80px 0 50px;
}

.glx-cs-intro .glx-section-subtitle {
	margin: 0;
}

/* Card grid: two up at every width. */
.glx-cs-grid.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
}

.glx-cs-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.glx-cs-card__media {
	position: relative;
	overflow: hidden;
}

.glx-cs-card__media .wp-block-post-featured-image {
	margin: 0;
}

.glx-cs-card__media img {
	display: block;
	width: 100%;
	transition: transform 0.2s ease-out;
}

.glx-cs-card:hover .glx-cs-card__media img {
	transform: scale(1.15);
}

/* Date badge: "25" over "Sep", blue, top left of the image. */
.glx-date-badge {
	position: absolute;
	top: 0;
	left: 0;
	margin: 5px !important;
	padding: 5px 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--wp--preset--color--blue);
	pointer-events: none;
}

.glx-date-badge__day {
	color: #e6e6e6;
	font-size: 16px;
	font-weight: 700;
	line-height: 16px;
}

.glx-date-badge__month {
	padding: 0 4px;
	color: var(--wp--preset--color--white);
	font-size: 10px;
	font-weight: 700;
	line-height: 10px;
}

/* Title: one line per <br>, cut with an ellipsis when it does not fit. */
.glx-cs-card .glx-cs-card__title {
	width: fit-content;
	max-width: 100%;
	margin: 10px auto !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.glx-cs-card__title a {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--wp--preset--color--link);
}

.glx-cs-card__title a:hover {
	color: var(--wp--preset--color--orange);
}

.glx-cs-card .glx-cs-card__excerpt {
	margin: 0 0 10px !important;
	text-align: center;
	line-height: 1.3;
}

.glx-cs-card__excerpt p {
	margin: 0;
}

.glx-cs-card .glx-cs-card__more {
	align-self: center;
	margin: auto 0 10px !important;
	padding: 10px 13px;
	border: 1px solid #737381;
	color: var(--wp--preset--color--dark);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1;
	text-transform: uppercase;
	transition: 0.1s ease-out;
}

.glx-cs-card .glx-cs-card__more:hover {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--white);
	color: #a38c81;
}

@media (max-width: 760px) {
	.glx-cs-card .glx-cs-card__excerpt,
	.glx-cs-card .glx-cs-card__more {
		display: none;
	}
}

/* "Showing 1 to 1 of 1 (1 Pages)" */
.glx-cs-pager {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px !important;
}

.glx-cs-pager:not(:has(.glx-results-count)) {
	display: none;
}

.glx-results-count {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 1px;
}

@media (max-width: 768px) {
	.glx-cs-pager {
		justify-content: center;
	}

	.glx-results-count {
		text-align: center;
	}
}

/* Empty listing: message and a full-width Continue button. */
.glx-cs-empty {
	margin: 10.8px 0 18px !important;
}

.glx-cs-continue {
	margin-top: 20px !important;
}

.glx-cs-continue .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	vertical-align: -1px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Sidebar: search box and the category list. */
.glx-cs-search .wp-block-search__inside-wrapper {
	position: relative;
	height: 38px;
	padding: 0 !important;
	border: 0 !important;
}

.glx-cs-search .wp-block-search__input {
	box-sizing: border-box;
	width: 100%;
	height: 38px;
	margin: 0;
	padding: 6px 45px 6px 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-cs-search .wp-block-search__input::placeholder {
	color: #999;
	opacity: 1;
}

.glx-cs-search .wp-block-search__button {
	position: absolute;
	top: 6px;
	right: 3px;
	width: 33px;
	height: 32px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 2px;
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}

.glx-cs-search .wp-block-search__button svg {
	display: none;
}

.glx-cs-search .wp-block-search__button::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='5.8' cy='5.8' r='4.3' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M9 9l3.8 3.8' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='5.8' cy='5.8' r='4.3' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M9 9l3.8 3.8' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.glx-blog__side .glx-cs-side-title {
	margin: 30px 0 5px;
	color: var(--wp--preset--color--dark);
}

.glx-cs-cats {
	margin: 0;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border);
	list-style: none;
}

.glx-cs-cats a {
	display: flex;
	align-items: center;
	padding: 10px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--link);
	transition: color 0.07s ease-out;
}

.glx-cs-cats a::before {
	content: "";
	flex: 0 0 12px;
	height: 12px;
	margin-right: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='6' fill='%230f5684'/%3E%3Cpath d='M3 6h5M6 3.8 8.2 6 6 8.2' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.glx-cs-cats a:hover {
	color: var(--wp--preset--color--orange);
}

/* Single case study: header image with the date badge. */
.glx-post-media {
	position: relative;
	margin-bottom: 0 !important;
}

/* The live post has a view counter here with a hairline under it. The counter
   is left out; the line and its spacing stay. */
.glx-post-media::after {
	content: "";
	display: block;
	height: 22px;
	margin-top: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.glx-post-media .wp-block-post-featured-image {
	max-width: 100%;
	margin: 0;
}

.glx-post-media .wp-block-post-featured-image img {
	display: block;
}

/* Post body. Doubled class to beat the core flow-layout margins. */
.glx-post-content.wp-block-post-content p {
	margin: 10.8px 0 18px;
}

.glx-post-content.wp-block-post-content :is(h2, h3) + p {
	margin-bottom: 10.8px;
}

/* A caption line set as a plain block, without paragraph spacing. */
.glx-post-content.wp-block-post-content p.is-style-tight {
	margin: 0;
}

.glx-post-content.wp-block-post-content h2 {
	margin: 38.4px 0 16px;
	padding-top: 8px;
	font-size: 32px;
	line-height: 40px;
	color: var(--wp--preset--color--dark);
}

.glx-post-content.wp-block-post-content h3 {
	margin: 28.8px 0 12px;
	padding-top: 8px;
	font-size: 24px;
	line-height: 30px;
	color: var(--wp--preset--color--dark);
}

/* Section rule: a hairline with a grey star badge in the middle. */
.glx-post-content.wp-block-post-content .is-style-ruled::before {
	content: "";
	display: block;
	height: 32px;
	margin: 4.5px 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23f7f8fa'/%3E%3Ccircle cx='16' cy='16' r='15.5' fill='%23808080'/%3E%3Cpath fill='%23fff' d='M16 8.2l2.35 4.9 5.35.72-3.9 3.73.96 5.3L16 20.3l-4.76 2.55.96-5.3-3.9-3.73 5.35-.72z'/%3E%3C/svg%3E") center / 32px 32px no-repeat,
		linear-gradient(var(--wp--preset--color--border), var(--wp--preset--color--border)) center / 100% 1px no-repeat;
}

.glx-post-content.wp-block-post-content ul,
.glx-post-content.wp-block-post-content ol {
	margin: 0 0 10px;
	padding-left: 40px;
}

.glx-post-content.wp-block-post-content .is-style-indent {
	margin-left: 15px;
}

/* Figure grids: an auto-width table of photos, as the live post has. */
.glx-figure-table {
	width: 100%;
	margin-bottom: 0;
	border: 1px solid var(--wp--preset--color--border);
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 1.42857;
	text-align: center;
}

.glx-figure-table td {
	padding: 8px 14px;
	vertical-align: middle;
}

.glx-figure-table .img-card {
	margin: 10px 0;
}

.glx-figure-table img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.glx-post-content.wp-block-post-content .glx-figure-table p {
	margin: 10.8px 0 18px;
}

/* The opening summary (before the first ruled section) sits a little tighter. */
.glx-post-content.wp-block-post-content > p:not(.is-style-ruled ~ p) {
	margin-bottom: 10px;
}

.glx-post-content.wp-block-post-content .wp-block-image {
	margin-top: 10px;
	margin-bottom: 18px;
}

.glx-post-content .wp-block-image figcaption {
	margin: 10.8px 0 0;
	color: var(--wp--preset--color--dark);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	text-align: center;
}

/* ---------------------------------------------------------------------------
   Career
--------------------------------------------------------------------------- */

/* The live Career blocks sit 20px further in than the About content. */
/* Bottom: the live page ends with an empty paragraph (about 38px) before
   the footer; the space is kept. */
.glx-container.glx-career {
	padding: 20px calc(var(--glx-gutter) + 20px) 58px;
}

.glx-career__block--first,
.glx-career__block--forms {
	padding-top: 50px;
}

@media (max-width: 760px) {
	.glx-career__block {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.glx-block-title.glx-block-title--large {
	font-size: 26px;
}

.glx-career .glx-career__block p {
	margin: 10.8px 0 18px;
	color: var(--wp--preset--color--navy);
}

.glx-career__block p a {
	display: inline-block;
	text-decoration: underline;
}

.glx-career__block .glx-career__group {
	margin: 0 0 15px;
	font-size: 24px;
	line-height: 1.1;
	color: var(--wp--preset--color--navy);
}

.glx-career .glx-career__block--forms p {
	margin: 0 0 30px;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.5;
}

.glx-career .glx-career__block--forms p:last-child {
	margin-bottom: 0;
}

.glx-career .glx-career__block--forms .glx-block-title + p {
	margin-top: 0;
}

/* Live title and text sit in separate boxes, so their margins add up. */
.glx-career__block .glx-block-title {
	margin-bottom: 15.8px;
}

.glx-career__block--forms .glx-block-title {
	margin-bottom: 5px;
}

/* Open jobs */
.glx-jobs {
	margin-top: 38px !important;
	padding: 30px 0 3px;
}

/* Below 768px the live results line counts toward the block height. */
@media (max-width: 767px) {
	.glx-jobs {
		padding-bottom: 30px;
	}
}

.glx-jobs .glx-jobs__title {
	margin: 0 0 15px;
	font-size: 32px;
	line-height: 1.1;
	color: var(--wp--preset--color--dark);
}

.glx-jobs__list.wp-block-post-template {
	margin: 0;
	padding: 0;
}

.glx-jobs__list > li {
	border-radius: 15px;
	transition: transform 0.3s, box-shadow 0.3s;
}

.glx-jobs__list > li:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.glx-job {
	margin-bottom: 20px !important;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Floats, as on the live site: on a phone the date tucks in under the
   title, beside the job number. */
.glx-job__head {
	display: flow-root;
	padding: 10px 15px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 3px 3px 0 0;
	background: #f5f5f5;
}

.glx-job__head .glx-job__no {
	float: left;
	margin: 0;
	padding: 10px;
	border-radius: 3.375px;
	background: #777;
	color: var(--wp--preset--color--white);
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1;
}

.glx-job__head .glx-job__title {
	float: left;
	margin: 0 0 0 5px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.glx-job__title a {
	color: var(--wp--preset--color--dark);
}

.glx-job__head .glx-job__date {
	float: right;
	margin: 0;
	color: #777;
	font-size: 15.3px;
	line-height: 1.5;
}

.glx-job__date::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 14px;
	margin-right: 4px;
	vertical-align: -1px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1 3h11v9.5H1zM3.2 1v2.6M9.8 1v2.6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M1 3h11v2.5H1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1 3h11v9.5H1zM3.2 1v2.6M9.8 1v2.6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M1 3h11v2.5H1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.glx-job__body {
	padding: 15px;
}

.glx-job .glx-job__desc p {
	margin: 10.8px 0 18px;
	color: #777;
}

/* Hairline with a small grey star badge, then a full-width Apply button. */
.glx-job__body .glx-job__rule {
	position: relative;
	height: 1px;
	margin: 0 0 15px !important;
	border: 0;
	background: var(--wp--preset--color--border);
	opacity: 1;
	overflow: visible;
}

.glx-job__rule::before {
	content: "";
	position: absolute;
	top: -9px;
	left: calc(50% - 9px);
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23f7f8fa'/%3E%3Ccircle cx='16' cy='16' r='15.5' fill='%23808080'/%3E%3Cpath fill='%23fff' d='M16 8.2l2.35 4.9 5.35.72-3.9 3.73.96 5.3L16 20.3l-4.76 2.55.96-5.3-3.9-3.73 5.35-.72z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}

.glx-job__body .glx-job__apply {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 0 !important;
	padding: 13px;
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 0.1s ease-out;
}

.glx-job__body .glx-job__apply:hover,
.glx-job__body .glx-job__apply:focus {
	background: var(--wp--preset--color--orange);
}

.glx-jobs .glx-results-count {
	margin: 0;
	padding: 0 30px 0 15px;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	letter-spacing: 0;
	text-align: right;
}

/* ---------------------------------------------------------------------------
   Contact
--------------------------------------------------------------------------- */

.glx-map iframe {
	display: block;
	width: 100%;
	height: 300px;
	border: 0;
}

/* Info blocks (one third) beside the form (two thirds). */
.glx-contact {
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin: 20px 0 78px !important;
}

@media (max-width: 1024px) {
	.glx-contact {
		padding: 10px;
	}
}

@media (max-width: 600px) {
	.glx-contact {
		grid-template-columns: 1fr;
	}
}

.glx-info {
	display: flex;
	align-items: center;
	margin: 5px !important;
	padding: 10px;
	border-radius: 5px;
	background: var(--wp--preset--color--white);
}

.glx-info + .glx-info {
	margin-top: 10px !important;
}

.glx-info__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 60px;
	height: 60px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}

.glx-info__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 60px;
}

.glx-info__title {
	margin-bottom: 3px;
	color: var(--wp--preset--color--dark);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}

.glx-info__text {
	color: #222;
	font-size: 13px;
	line-height: 1.5;
}

/* Form column */
.glx-contact__form {
	padding: 10px 10px 10px 30px;
}

@media (max-width: 600px) {
	.glx-contact__form {
		padding: 30px 10px 10px;
	}
}

.glx-contact__form .glx-contact__title {
	margin: 0 0 20px;
	padding-bottom: 20px;
	color: var(--wp--preset--color--dark);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.glx-contact__title::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin: 10px auto 0;
	background: var(--wp--preset--color--orange);
}

.glx-form__row {
	display: flex;
	margin: 0 -15px;
}

.glx-form__row label {
	display: flex;
	flex: 0 0 150px;
	box-sizing: border-box;
	padding: 7px 0 5px;
	color: var(--wp--preset--color--dark);
}

.glx-form__row label::after {
	content: "*";
	margin: 3px 0 0 3px;
	color: var(--wp--preset--color--orange);
	font-size: 17px;
	line-height: 1;
}

.glx-form__row input,
.glx-form__row textarea {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	height: 38px;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-form__row textarea {
	height: 100px;
	resize: vertical;
}

@media (max-width: 767px) {
	.glx-form__row input,
	.glx-form__row textarea {
		font-size: 16px;
	}
}

.glx-form__row ::placeholder {
	color: #999;
	opacity: 1;
}

.glx-form__agree {
	display: inline-flex;
	padding: 5px 15px 0 0;
}

.glx-form__agree label {
	position: relative;
	padding-left: 20px;
	color: var(--wp--preset--color--dark);
}

.glx-form__agree input {
	position: absolute;
	top: 4px;
	left: 0;
	width: 13px;
	height: 13px;
	margin: 0;
}

/* A link inside the label text, like the newsletter one. */
.glx-form__policy {
	padding: 0 3px;
	color: inherit;
	text-decoration: underline;
}

.glx-form__submit {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-top: 20px;
	padding: 13px;
	border: 0;
	background: #2ab858;
	color: var(--wp--preset--color--white);
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.1s ease-out;
}

.glx-form__submit::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: 5px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.glx-form__submit:hover,
.glx-form__submit:focus {
	background: var(--wp--preset--color--orange);
}

/* Not found page: as the live one, message and a full-width Continue. */
.glx-not-found {
	padding-top: 20px;
	padding-bottom: 140px;
}

@media (max-width: 760px) {
	.glx-not-found {
		padding-bottom: 20px;
	}
}

/* ---------------------------------------------------------------------------
   Header, phase 2: section dropdowns, search, tap areas
--------------------------------------------------------------------------- */

/* Top-level links: 44px tall tap area; the text and underline do not move. */
.glx-header .glx-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 8.5px 5px;
}

/* Short labels (C&I) still get a 44px wide tap area; the text stays centred
   and the underline keeps the width of the text. */
@media (min-width: 1025px) {
	.glx-header .glx-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		justify-content: center;
		box-sizing: border-box;
		min-width: 44px;
	}
}

/* Dropdowns (desktop): the white card with a pointer used on the old Oil & Gas
   and Water sites, centred under its menu item. */
@media (min-width: 1025px) {
	.glx-header .glx-nav .wp-block-navigation__submenu-container {
		top: 100%;
		left: 50%;
		min-width: 100px !important;
		padding: 5px;
		border: 0;
		border-top: 8px solid transparent;
		border-radius: 3px;
		background: var(--wp--preset--color--white) padding-box;
		box-shadow: 0 15px 90px -10px rgba(0, 0, 0, 0.2);
		color: var(--wp--preset--color--dark);
		transform: translateX(-50%);
	}

	.glx-header .glx-nav .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -8px;
		left: calc(50% - 8px);
		border: 8px solid transparent;
		border-top: 0;
		border-bottom-color: var(--wp--preset--color--white);
	}

	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 6px 8px;
		background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--dark);
		font-size: var(--wp--preset--font-size--small);
		line-height: 21px;
		text-transform: none;
		white-space: nowrap;
	}

	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
		background: var(--wp--preset--color--orange);
		color: var(--wp--preset--color--white);
	}

	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		border-bottom: 0;
	}

	/* The search box lives in the header icon at this width. */
	.glx-header .glx-nav .glx-nav-search {
		display: none;
	}
}

/* Search icon at the right of the header; opens the search panel. */
.glx-header-search {
	flex-shrink: 0;
	margin-right: 4px;
}

.glx-header-search__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--nav);
	cursor: pointer;
}

.glx-header-search__toggle:hover,
.glx-header-search__toggle:focus-visible {
	color: var(--wp--preset--color--white);
}

@media (max-width: 1024px) {
	.glx-header-search {
		margin-right: 0;
	}

	.glx-header-search__toggle {
		width: 45px;
		height: var(--wp--custom--header-height-mobile);
	}

	.glx-header-search__toggle svg {
		width: 26px;
		height: 26px;
	}

	.glx-header .glx-nav {
		margin-left: auto;
	}
}

/* The panel: white, under the header, at the right (full width on phones). */
.glx-search-panel {
	position: fixed;
	inset: auto;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
	right: 12px;
	width: 400px;
	max-width: calc(100vw - 24px);
	margin: 0;
	padding: 6px;
	border: 0;
	border-radius: 3px;
	background: var(--wp--preset--color--white);
	box-shadow: 0 15px 90px -10px rgba(0, 0, 0, 0.2);
	color: var(--wp--preset--color--dark);
}

@media (max-width: 1024px) {
	.glx-search-panel {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--header-height-mobile));
		right: 0;
		left: 0;
		width: auto;
		max-width: none;
	}
}

/* Search form (header panel, phone menu, empty results): grey field and a
   blue icon button, 44px tall. */
.glx-search-form .wp-block-search__inside-wrapper {
	display: flex;
	padding: 0;
	border: 0;
}

.glx-search-form .wp-block-search__input {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 0;
	background: #e6e6e6;
	color: var(--wp--preset--color--dark);
	font: 18px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-search-form .wp-block-search__input::placeholder {
	color: #555;
	opacity: 1;
}

.glx-search-form .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 45px;
	width: 45px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--white);
}

.glx-search-form .wp-block-search__button:hover,
.glx-search-form .wp-block-search__button:focus {
	background: var(--wp--preset--color--orange);
}

.glx-search-form .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	min-width: 0;
	min-height: 0;
	fill: currentColor;
}

@media (max-width: 1024px) {
	.glx-search-form .wp-block-search__input {
		font-size: 16px;
	}
}

/* Phone menu (drawer): every item at least 44px tall, dropdown items listed
   under their section, and the search box at the end. */
@media (max-width: 1024px) {
	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: flex !important;
		align-items: center;
		box-sizing: border-box;
		min-height: 44px;
	}

	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		padding: 0 0 0 16px !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		transform: none !important;
	}

	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container::before {
		display: none;
	}

	.glx-header .wp-block-navigation__responsive-container.is-menu-open .glx-nav-search {
		width: 100%;
		margin: 12px 0 16px;
	}
}

@media (max-width: 1024px) {
	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding-left: 8px !important;
	}

	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
		padding: 0 !important;
	}
}

.glx-search-form .wp-block-search__input {
	text-transform: none;
}

.glx-search-form .wp-block-search__input:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: -2px;
}

/* A bolder magnifier, like the live site's search button. */
.glx-search-form .wp-block-search__button svg {
	display: none;
}

.glx-search-form .wp-block-search__button::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M13 13l5 5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3Cpath d='M13 13l5 5' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 1024px) {
	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.has-child {
		align-items: stretch !important;
	}

	.glx-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		align-items: stretch !important;
		width: auto !important;
	}
}

/* ---------------------------------------------------------------------------
   Tap areas and small screens (responsive rules). Hit areas grow to 44px
   without moving anything: extra padding is taken back with negative margins,
   or drawn transparent.
--------------------------------------------------------------------------- */

/* Footer links: 44px tall boxes on the same 32px (39px on phones) rhythm. */
.glx-footer-link a {
	padding-top: 6px;
	padding-bottom: 11px;
	margin-top: -6px;
	margin-bottom: -6px;
}

@media (max-width: 600px) {
	.glx-footer-link a {
		padding-top: 2.5px;
		padding-bottom: 14.5px;
		margin-top: -2.5px;
		margin-bottom: -2.5px;
	}
}

/* Newsletter: field and Send button are 44px tall but still look 40px tall.
   The field's white box is drawn by the wrapper, unchanged; the real input
   sits on top, transparent, 2px taller above and below. */
.glx-newsletter__field {
	height: 40px;
}

.glx-newsletter__field::before {
	content: "";
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	pointer-events: none;
}

.glx-newsletter__field input {
	position: relative;
	height: 44px;
	margin-top: -2px;
	padding-left: 13px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.glx-newsletter__field button {
	top: -2px;
	height: 44px;
	border: 2px solid transparent;
	border-left: 0;
	border-right: 0;
	background-clip: padding-box;
}

/* Phones and tablets: 16px so the browser does not zoom into the field. */
@media (max-width: 1024px) {
	.glx-newsletter__field input {
		font-size: 16px;
	}
}

.glx-newsletter__field button {
	top: -2px;
	height: 44px;
	border: 2px solid transparent;
	border-left: 0;
	border-right: 0;
	background-clip: padding-box;
}

/* The privacy checkbox: the whole 44px-tall line around the label is the
   target. */
.glx-newsletter__agree {
	padding: 13px 0;
	margin-top: -8px;
	margin-bottom: -13px;
}

/* LinkedIn: a 44px link over the 40px circle. */
.glx-social .wp-social-link {
	overflow: visible;
}

.glx-social .wp-social-link a {
	width: 44px;
	height: 44px;
	margin: -2px;
	padding: 11px !important;
}

/* Home hero: on phones the background video becomes its still image. */
@media (max-width: 600px) {
	.glx-hero .wp-block-cover__video-background {
		display: none;
	}

	.glx-hero {
		background: url(assets/img/mainvideo/main-6-10-2025-1920.jpg) center / cover no-repeat;
	}
}

/* ---------------------------------------------------------------------------
   Site search results (templates/search.html)
--------------------------------------------------------------------------- */

.glx-search {
	padding-top: 20px;
	padding-bottom: 60px;
}

.glx-search-results__list.wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.glx-result {
	padding: 20px 0;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.glx-result .glx-result__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
}

.glx-result__title a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--link);
}

.glx-result__title a:hover {
	color: var(--wp--preset--color--orange);
}

.glx-result .glx-result__excerpt {
	margin: 4px 0 12px;
}

.glx-result__excerpt p {
	margin: 0;
}

.glx-result .glx-result__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 13px;
	border: 1px solid #737381;
	color: var(--wp--preset--color--dark);
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	transition: 0.1s ease-out;
}

.glx-result .glx-result__more:hover {
	border-color: var(--wp--preset--color--orange);
	background: var(--wp--preset--color--white);
}

.glx-search .glx-search-empty {
	margin: 30px 0 16px;
}

.glx-search .glx-search-again {
	max-width: 520px;
}

.glx-search .wp-block-query-pagination a,
.glx-search .wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

/* Breadcrumb: 44px tap areas that do not move the trail. The home icon's
   area grows to the right only, so it never reaches past the page edge. */
.glx-breadcrumb a {
	display: inline-flex;
	align-items: center;
	padding-top: 11.5px;
	padding-bottom: 11.5px;
	margin-top: -11.5px;
	margin-bottom: -11.5px;
}

.glx-breadcrumb .glx-breadcrumb__home {
	height: 21px;
	padding-right: 30px;
	margin-right: -26px;
}

.glx-breadcrumb .glx-breadcrumb__here,
.glx-breadcrumb .glx-breadcrumb__link {
	min-width: 44px;
	padding-right: 4px;
	margin-right: -4px;
}

/* ---------------------------------------------------------------------------
   Section pages (Oil & Gas, Water): shared building blocks. Page copy lives
   in content/pages/; these classes give it the live sites' layout.
--------------------------------------------------------------------------- */

/* Landing hero: background video under the header, title text over it. */
@media (min-width: 1025px) {
	.glx-landing .glx-page-content > .glx-s-hero:first-child {
		margin-top: calc(-1 * var(--wp--custom--header-height));
	}
}

.glx-s-hero {
	align-items: center !important;
	padding: 0 20px !important;
}

.glx-s-hero .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1220px;
	margin: 0 auto !important;
	color: var(--wp--preset--color--white);
	text-align: center;
}

.glx-s-hero--oil-gas .wp-block-cover__inner-container {
	margin-left: 0 !important;
}

.glx-s-hero--water .wp-block-cover__inner-container {
	max-width: 1160px;
	margin-left: 0 !important;
}

.glx-s-hero .glx-s-hero__title {
	margin: 0;
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: clamp(24px, 3.16vw, 45.5px);
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
}

.glx-s-hero .glx-s-hero__sub {
	margin: 20px 0 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: clamp(18px, 2.1vw, 30.3px);
	font-weight: 700;
	line-height: 0.9;
	text-transform: uppercase;
}

/* On phones the video becomes its still image. */
@media (max-width: 600px) {
	.glx-s-hero .wp-block-cover__video-background {
		display: none;
	}

	.glx-s-hero--oil-gas {
		background: url(assets/img/mainvideo/mainv2-2025.jpg) center / cover no-repeat;
	}

	.glx-s-hero--water {
		background: url(assets/img/banners/water-banner.jpg) center / cover no-repeat;
	}
}

/* Section title: Roboto Condensed capitals with the short orange rule. */
.wp-block-post-content.glx-page-content .glx-s-title {
	margin: 0 0 15.8px;
	color: var(--wp--preset--color--blue);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.glx-page-content .glx-s-title::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin-top: 10px;
	background: var(--wp--preset--color--orange);
}

.glx-page-content .glx-s-title.has-text-align-center::after {
	margin-left: auto;
	margin-right: auto;
}

/* Running text in section pages: 18px/27px, navy, live paragraph spacing. */
.wp-block-post-content.glx-page-content p {
	margin: 10.8px 0 18px;
	color: var(--wp--preset--color--navy);
}

.wp-block-post-content.glx-page-content ol,
.wp-block-post-content.glx-page-content ul {
	margin: 0 0 10px;
	padding-left: 40px;
	color: var(--wp--preset--color--navy);
}

.wp-block-post-content.glx-page-content li {
	margin: 10.8px 0 18px;
	padding-top: 2px; /* live numbers are 20px, which makes the first line a little taller */
	font-size: 18px;
	line-height: 27px;
}

.glx-page-content li::marker {
	font-size: 20px;
}

.wp-block-post-content.glx-page-content li ul {
	margin: 0;
	list-style-type: circle;
}

/* Image beside text: two equal columns, each padded 20px; the image is
   611px wide (85%) and centred in its column. */
.glx-s-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.glx-s-split > * {
	box-sizing: border-box;
	margin: 0 !important;
	padding: 20px;
}

.glx-s-split__media img {
	display: block;
	width: 611px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.glx-s-split--reverse > .glx-s-split__media {
	order: 2;
}

.glx-s-split--blue {
	background: var(--wp--preset--color--blue);
}

/* Spacing quirks of particular live rows, kept for parity:
   --tail: an empty line (30px) under the text;
   --media-top: the image block has 50px above it and nothing below. */
.glx-s-split--tail > .glx-s-split__text {
	padding-bottom: 50px;
}

.glx-s-split--media-top > .glx-s-split__media {
	padding: 50px 0 0;
}

/* Inner section pages end with an empty line before the footer, as live. */
.glx-page:not(.glx-landing) > .wp-block-post-content.glx-page-content {
	padding-bottom: 78px;
}

.wp-block-post-content .glx-s-split--blue p,
.wp-block-post-content .glx-s-split--blue ol,
.wp-block-post-content .glx-s-split--blue ul,
.wp-block-post-content .glx-s-split--blue li {
	color: var(--wp--preset--color--base);
}

.glx-page-content .glx-s-split--blue .glx-s-title {
	color: var(--wp--preset--color--orange);
}

/* As on the live page, the image in this row sits 100px from the top. */
.glx-s-split--top {
	align-items: start;
}

.glx-s-split--top > .glx-s-split__media {
	padding-top: 100px;
}

@media (max-width: 600px) {
	.glx-s-split--top > .glx-s-split__media {
		padding-top: 20px;
	}
}

@media (max-width: 600px) {
	.glx-s-split {
		grid-template-columns: 1fr;
	}

	.glx-s-split--reverse > .glx-s-split__media {
		order: 0;
	}

	.glx-page-content .glx-s-title {
		font-size: 26px;
	}
}

/* Navy band with the orange italic line. */
.glx-s-tagline {
	padding: 70px 20px;
	background: var(--wp--preset--color--navy);
}

.glx-page-content .glx-s-tagline__title {
	margin: 0 0 15px;
	color: var(--wp--preset--color--orange);
	font-size: 32px;
	line-height: 1.1;
}

.glx-s-tagline--light {
	padding: 70px 20px 50px;
	background: var(--wp--preset--color--white);
}

/* Certifications on section pages: the home page's block, plus a row of 4. */
.glx-cert-row--4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
	.glx-cert-row--4 {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 20px;
	}
}

@media (max-width: 600px) {
	.glx-cert-row--4 {
		grid-template-columns: 1fr;
	}
}

.glx-page-content .glx-certs .glx-section-subtitle {
	margin: 0 0 60px;
}

/* Intro: centred title, rule, subtitle and text; navy band variant. */
.glx-s-intro {
	padding: 70px 20px 50px;
	text-align: center;
}

.glx-s-intro--navy {
	background: var(--wp--preset--color--navy);
}

.glx-s-intro--top {
	padding-top: 90px;
}

.wp-block-post-content.glx-page-content .glx-s-intro__title {
	margin: 0;
	color: var(--wp--preset--color--navy);
	font-size: 32px;
	line-height: 1.1;
}

.wp-block-post-content.glx-page-content .glx-s-intro .glx-s-intro__sub {
	margin: 0;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.5;
}

.wp-block-post-content.glx-page-content .glx-s-intro--navy .glx-s-intro__title,
.wp-block-post-content.glx-page-content .glx-s-intro--navy p {
	color: var(--wp--preset--color--white);
}

/* Centred section heading with a smaller line under it. */
.glx-s-heading {
	padding: 40px 20px 30px;
}

.wp-block-post-content.glx-page-content .glx-s-heading__sub {
	margin: 20px 0 0;
	color: var(--wp--preset--color--navy);
	font-size: 24px;
	line-height: 1.1;
}

/* Small centred label above a group of cards. */
.wp-block-post-content.glx-page-content .glx-s-label {
	margin: 50px 20px 30px;
	padding-bottom: 20px;
	color: var(--wp--preset--color--dark);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.wp-block-post-content.glx-page-content .glx-s-label::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin: 10px auto 0;
	background: var(--wp--preset--color--orange);
}

/* Cards: navy, rounded, orange title with the rule. */
.glx-s-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
	gap: 20px;
	padding: 0 10px;
}

.glx-s-card,
.glx-s-feature {
	box-sizing: border-box;
	padding: 40px 20px 20px;
	border-radius: 12px;
	background: var(--wp--preset--color--navy);
}

.wp-block-post-content.glx-page-content .glx-s-card__title {
	margin: 0 0 20px;
	color: var(--wp--preset--color--orange);
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: var(--wp--preset--font-size--footer-title);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.wp-block-post-content.glx-page-content .glx-s-card__title::after {
	content: "";
	display: block;
	width: 50px;
	height: 1px;
	margin-top: 10px;
	background: var(--wp--preset--color--orange);
}

.wp-block-post-content.glx-page-content .glx-s-card ul {
	margin: 0;
	color: var(--wp--preset--color--white);
}

.wp-block-post-content.glx-page-content .glx-s-card li {
	margin: 0;
	padding: 0;
}

.wp-block-post-content.glx-page-content .glx-s-card li::marker {
	font-size: inherit;
}

@media (max-width: 1024px) {
	.glx-s-cards {
		grid-template-columns: 1fr;
	}
}

/* Feature rows: full-width card, title, then a 200px picture beside text. */
.glx-s-feature {
	margin: 0 10px 20px !important;
}

.glx-s-feature__body.wp-block-media-text {
	grid-template-columns: 200px auto !important;
}

.glx-s-feature__body .wp-block-media-text__media img {
	display: block;
	width: 200px;
	height: 200px;
}

.glx-s-feature__body .wp-block-media-text__content {
	padding: 0 0 0 50px !important;
}

.wp-block-post-content.glx-page-content .glx-s-feature p {
	margin: 0;
	color: var(--wp--preset--color--base);
}

.glx-s-feature--light {
	background: var(--wp--preset--color--border);
}

.wp-block-post-content.glx-page-content .glx-s-feature--light .glx-s-card__title {
	color: var(--wp--preset--color--navy);
}

.wp-block-post-content.glx-page-content .glx-s-feature--light p {
	color: var(--wp--preset--color--navy);
}

@media (max-width: 600px) {
	.glx-s-feature__body.wp-block-media-text {
		grid-template-columns: 1fr !important;
	}

	.glx-s-feature__body .wp-block-media-text__content {
		padding: 20px 0 0 !important;
	}
}

/* A bold first line, then 20px text (the Water warranty block). */
.wp-block-post-content.glx-page-content p.glx-s-lead {
	margin: 0;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.5;
}

/* Light tagline band: the line, then full-width text on the left. */
.glx-s-tagline--light p {
	text-align: left;
}

/* A label that follows a card sits closer, as on the live pages. */
.wp-block-post-content.glx-page-content .glx-s-feature + .glx-s-label {
	margin-top: 30px;
}

/* GLX Connect: logo under the intro, left-aligned intro text, product cards. */
.glx-s-intro__logo {
	margin: 30px auto 20px !important;
}

.glx-s-intro__logo img {
	display: block;
	width: 250px;
	height: auto;
}

.wp-block-post-content.glx-page-content .glx-s-intro .glx-s-intro__text {
	text-align: left;
}

.glx-s-products {
	display: grid;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	padding: 0 10px;
}

.glx-s-products--1 {
	grid-template-columns: minmax(0, 460px);
}

.glx-s-products--2 {
	grid-template-columns: repeat(2, minmax(0, 412px));
}

.glx-s-products--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glx-s-product {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	padding: 40px 20px 20px;
	background: var(--wp--preset--color--navy);
	text-align: center;
}

.wp-block-post-content.glx-page-content .glx-s-product .glx-s-card__title::after {
	margin-left: auto;
	margin-right: auto;
}

.glx-s-product__logo {
	margin: 0 auto 20px !important;
}

.glx-s-product__logo img {
	display: block;
	width: 250px;
	height: auto;
}

.wp-block-post-content.glx-page-content .glx-s-product p {
	margin: 0 0 18px;
	color: var(--wp--preset--color--white);
}

.wp-block-post-content.glx-page-content .glx-s-product p + p {
	margin-top: -18px;
}

.glx-s-product .wp-block-buttons {
	margin-top: auto;
	padding-top: 20px;
}

.glx-s-product__btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 13px;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.glx-s-products--2,
	.glx-s-products--3 {
		grid-template-columns: minmax(0, 460px);
	}
}

/* ---------------------------------------------------------------------------
   Prompt 6: 44px tap areas on the inner pages, drawn so nothing moves
--------------------------------------------------------------------------- */

/* Solid buttons drawn 40px (or 36px) tall: 2px transparent borders above
   and below make the tap area 44px; the colour stays inside them. */
.glx-leader__bio-btn,
.glx-cs-continue .wp-block-button__link,
.glx-job__body .glx-job__apply,
.glx-form__submit {
	border-top: 2px solid transparent !important;
	border-bottom: 2px solid transparent !important;
	background-clip: padding-box !important;
	margin-top: -2px !important;
	margin-bottom: -2px !important;
}

.glx-leader__bio-btn {
	margin-top: -2px;
}

/* Outlined Read More (case study cards): the outline is drawn inside 4px
   transparent borders. */
.glx-cs-card .glx-cs-card__more {
	border-width: 4px 1px;
	border-color: transparent #737381;
	background-clip: padding-box;
	box-shadow: inset 0 1px #737381, inset 0 -1px #737381;
	margin-top: auto !important;
	margin-bottom: 6px !important;
}

.glx-cs-card .glx-cs-card__more:hover {
	border-color: transparent var(--wp--preset--color--orange);
	box-shadow: inset 0 1px var(--wp--preset--color--orange), inset 0 -1px var(--wp--preset--color--orange);
}

/* Case study card titles: two lines are 42px; 1px more above and below. */
.glx-cs-card__title a {
	padding: 1px 0;
	margin: -1px 0;
}

/* Job titles are links in a heading: 12.5px of padding above and below. */
.glx-job__title a {
	padding: 12.5px 0;
}

/* Career text links sit in running text. */
.glx-career__block p a {
	display: inline;
}

/* Case Studies sidebar search: 44px field and button, still drawn as the
   38px box and the 33 x 32 blue button. */
.glx-cs-search .wp-block-search__inside-wrapper::before {
	content: "";
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	pointer-events: none;
}

.glx-cs-search .wp-block-search__input {
	position: relative;
	height: 44px;
	margin-top: -3px;
	padding-left: 13px;
	border: 0;
	background: transparent;
}

.glx-cs-search .wp-block-search__button {
	top: -3px;
	right: 0;
	width: 44px;
	height: 44px;
	border-radius: 0;
	background: linear-gradient(var(--wp--preset--color--blue), var(--wp--preset--color--blue)) right 3px top 9px / 33px 32px no-repeat;
}

.glx-cs-search .wp-block-search__button::before {
	margin-left: 5px;
	margin-top: 6px;
}

.glx-cs-search .wp-block-search__button:hover,
.glx-cs-search .wp-block-search__button:focus {
	background: linear-gradient(var(--wp--preset--color--orange), var(--wp--preset--color--orange)) right 3px top 9px / 33px 32px no-repeat;
}

/* Contact form: 44px fields, the visible 38px box drawn inside them; the
   rows no longer reach 15px past the column (no sideways scrolling). */
.glx-form__row {
	margin-right: 0;
}

.glx-form__row input {
	height: 44px;
	margin: -3px 0;
	border: 3px solid transparent;
	border-left-width: 0;
	border-right-width: 0;
	background-clip: padding-box;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--border);
	padding-left: 13px;
}

.glx-cs-card .glx-cs-card__more {
	padding-top: 11px;
	padding-bottom: 11px;
	margin-bottom: 6px !important;
}

/* Contact privacy checkbox: the whole 44px line is the target. */
.glx-form__agree label {
	padding-top: 8.5px;
	padding-bottom: 8.5px;
	margin: -8.5px 0;
}

@media (max-width: 1024px) {
	.glx-form__row input,
	.glx-form__row textarea {
		font-size: 16px;
	}
}

.glx-job__title a {
	margin: -12.5px 0;
}

.glx-form__agree input {
	top: 12.5px;
}

.glx-form__submit {
	margin-top: 18px !important;
}

.glx-cs-card .glx-cs-card__more {
	margin-top: -4px !important;
	margin-bottom: 6px !important;
}

/* Bio pop-up: 44px close buttons; the x and the yellow button look the same. */
.glx-bio__x {
	display: flex;
	align-items: center;
	justify-content: center;
	top: 40px;
	right: 0;
	width: 44px;
	height: 44px;
}

.glx-bio__close {
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	background-clip: padding-box;
	margin: -2px 0;
}

/* Phones: each label above a full-width field, inside the page margins. */
@media (max-width: 600px) {
	.glx-form__row {
		display: block;
		margin: 0 0 14px;
	}

	.glx-form__row label {
		padding: 0 0 4px;
	}

	.glx-form__row input,
	.glx-form__row textarea {
		display: block;
		width: 100%;
	}
}

/* Phones: the Contact info blocks in readable sizes. */
@media (max-width: 600px) {
	.glx-info__title,
	.glx-info__text {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------------
   C&I section (stock photos from Pexels and Unsplash; see docs/image-sources.md)
--------------------------------------------------------------------------- */

/* Hero without a video: a still photo under a blue overlay, title and
   subtitle as headings. */
.glx-s-hero--plain .glx-s-hero__title,
.glx-s-hero--plain .glx-s-hero__sub {
	text-align: center;
}

.wp-block-post-content.glx-page-content .glx-s-hero--plain h2.glx-s-hero__sub {
	margin-top: 20px;
	line-height: 1.2;
}

.wp-block-post-content.glx-page-content p.glx-s-lead-paragraph {
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.5;
}

/* Connect with Us: contact lines under the text. */
.wp-block-post-content.glx-page-content .glx-s-contact p.glx-s-contact__name {
	margin-top: 30px;
	margin-bottom: 0;
}

.wp-block-post-content.glx-page-content .glx-s-contact p.glx-s-contact__line {
	margin: 0;
}

.glx-s-contact a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.glx-s-contact a:hover {
	color: var(--wp--preset--color--orange);
}

/* Services cards without a picture: title, the line, deliverables. */
.glx-s-feature--text {
	padding-bottom: 30px;
}

.wp-block-post-content.glx-page-content .glx-s-feature--text p + p {
	margin-top: 10px;
}

.wp-block-post-content.glx-page-content .glx-s-feature--list ul {
	margin: 10px 0 0;
	color: var(--wp--preset--color--base);
}

.wp-block-post-content.glx-page-content .glx-s-feature--list li {
	margin: 0;
	padding: 0;
}

/* With C&I added the menu is 684px wide; just above the 1024px switch it
   would touch the logo, so it sits 20px right of centre there. */
@media (min-width: 1025px) and (max-width: 1120px) {
	.glx-header .glx-nav {
		left: calc(50% + 20px);
	}
}

/* Home: three market cards. Equal columns at desktop width, the buttons on
   one line along the bottom; stacked at 1024px and below. */
@media (min-width: 1025px) {
	.glx-panels {
		grid-template-columns: repeat(3, 1fr);
	}

	.glx-panel .wp-block-cover__inner-container {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.glx-panel .glx-panel-buttons {
		margin-top: auto;
	}
}

@media (max-width: 1024px) {
	.glx-panels {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
   "Case Study" label above case study titles: on the cards and in the
   single post's banner (the old site put "CASE STUDY" on a second line of
   the title itself).
--------------------------------------------------------------------------- */

.glx-cs-card .glx-cs-label {
	margin: 10px 0 0 !important;
	font-family: var(--wp--preset--font-family--roboto-condensed);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}

.glx-cs-card .glx-cs-label + .glx-cs-card__title {
	margin-top: 4px !important;
}

.glx-page-title--post .glx-cs-label {
	margin: 0 0 8px !important;
	font-size: 16px;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--orange);
}

/* One-line titles still get a 44px tall tap area; the layout does not move. */
.glx-cs-card .glx-cs-card__title {
	display: flow-root; /* keeps the link's negative margin inside the heading */
}

.glx-cs-card__title a {
	padding: 12px 0;
	margin: -12px 0;
}

.glx-page-title--post .glx-page-title__text {
	margin: 0;
	font: inherit;
	color: inherit;
	text-transform: inherit;
}

/* ---------------------------------------------------------------------------
   Contact form (Fluent Forms, "GLX Contact Form"): the look of the old
   layout-only form. Labels in a 150px column with an orange asterisk,
   38px boxes inside 44px tap areas, the privacy line, and the full-width
   green Submit with an arrow. Phones: labels above full-width fields.
--------------------------------------------------------------------------- */

.glx-contact__form .fluentform .ff-el-group:not(.ff-hpsf-container):not(.glx-ff-agree) {
	display: flex;
	margin: 0 0 0 -15px;
	padding: 0;
}

.glx-contact__form .fluentform .ff-el-input--label {
	float: none !important;
	flex: 0 0 150px;
	box-sizing: border-box;
	margin: 0;
	padding: 7px 0 5px;
}

.glx-contact__form .fluentform .ff-el-input--label label {
	margin: 0;
	color: var(--wp--preset--color--dark);
	font: 16px/1.4 var(--wp--preset--font-family--titillium);
	font-weight: 400;
}

.glx-contact__form .fluentform .ff-el-is-required.asterisk-right label::after {
	content: "*";
	margin-left: 3px;
	color: var(--wp--preset--color--orange);
	font-size: 17px;
	line-height: 1;
	vertical-align: 3px;
}

.glx-contact__form .fluentform .ff-el-input--content {
	flex: 1 1 auto;
	min-width: 0;
	margin-left: 0 !important; /* Fluent Forms indents it 180px in "left" label mode */
}

.glx-contact__form .fluentform .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	margin: -3px 0;
	padding: 6px 12px 6px 13px;
	border: 3px solid transparent;
	border-right-width: 0;
	border-left-width: 0;
	border-radius: 2px;
	background: var(--wp--preset--color--white) padding-box;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--border);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-contact__form .fluentform textarea.ff-el-form-control {
	height: 100px;
	margin: 0;
	border: 0;
	resize: vertical;
}

.glx-contact__form .fluentform .ff-el-form-control::placeholder {
	color: #999;
	opacity: 1;
}

.glx-contact__form .fluentform .ff-el-form-control:focus {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--blue);
	outline: 0;
}

@media (max-width: 1024px) {
	.glx-contact__form .fluentform .ff-el-form-control {
		font-size: 16px;
	}
}

/* The privacy line: the whole 44px line is the target. */
.glx-contact__form .fluentform .glx-ff-agree {
	margin: 0;
	padding: 5px 15px 0 0;
}

.glx-contact__form .fluentform .glx-ff-agree .ff-el-form-check {
	margin: 0;
}

.glx-contact__form .fluentform .glx-ff-agree label.ff_tc_label {
	position: relative;
	display: block;
	margin: -9.5px 0;
	padding: 9.5px 0 9.5px 20px;
	color: var(--wp--preset--color--dark);
	font: 16px/1.6 var(--wp--preset--font-family--titillium);
}

.glx-contact__form .fluentform .glx-ff-agree .ff_tc_checkbox {
	position: absolute;
	top: 13.5px;
	left: 0;
	line-height: 0;
}

.glx-contact__form .fluentform .glx-ff-agree .ff_tc_checkbox input {
	width: 13px;
	height: 13px;
	margin: 0;
}

.glx-contact__form .fluentform .glx-ff-agree .ff_t_c {
	display: inline;
}

.glx-contact__form .fluentform .glx-ff-agree a {
	padding: 0 3px;
	color: inherit;
	text-decoration: underline;
}

/* Submit: green, full width, an arrow after the word; 40px drawn inside a
   44px tap area. */
.glx-contact__form .fluentform .ff_submit_btn_wrapper {
	margin: 26px 0 0 !important;
}

.glx-contact__form .fluentform .ff-btn-submit {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: -2px 0;
	padding: 13px;
	border: 0;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: #2ab858 padding-box !important;
	color: var(--wp--preset--color--white) !important;
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.1s ease-out;
}

.glx-contact__form .fluentform .ff-btn-submit::after {
	content: "";
	width: 14px;
	height: 14px;
	margin-left: 5px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h9M6.5 2.5 10 6l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.glx-contact__form .fluentform .ff-btn-submit:hover,
.glx-contact__form .fluentform .ff-btn-submit:focus {
	background-color: var(--wp--preset--color--orange) !important;
}

/* Messages: field errors under the field, the thank-you in place of the form. */
.glx-contact__form .fluentform .error.text-danger {
	margin: 4px 0 6px;
	color: #c0392b;
	font-size: 14px;
}

.glx-contact__form .ff-message-success {
	margin: 0;
	padding: 20px;
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid #2ab858;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font-size: 16px;
	box-shadow: none;
}

@media (max-width: 600px) {
	.glx-contact__form .fluentform .ff-el-group:not(.ff-hpsf-container):not(.glx-ff-agree) {
		display: block;
		margin: 0 0 14px;
	}

	.glx-contact__form .fluentform .ff-el-input--label {
		padding: 0 0 4px;
	}
}

/* ---------------------------------------------------------------------------
   Newsletter signup (Fluent Forms, "Newsletter signup").
   Footer: the old look. Email with the orange Send beside it, First name
   and Company side by side under it, the small white consent line. Labels
   are kept for screen readers only; fields are 44px tall.
--------------------------------------------------------------------------- */

.glx-ff--footer fieldset {
	display: grid !important;
	grid-template-columns: 1fr 1fr auto;
	gap: 6px;
	align-items: start;
}

.glx-ff--footer .ff-el-group {
	margin: 0 !important;
}

.glx-ff--footer .ff-el-group:has([name="email"]) {
	grid-column: 1 / 3;
	grid-row: 1;
}

.glx-ff--footer .ff_submit_btn_wrapper {
	grid-column: 3;
	grid-row: 1;
}

.glx-ff--footer .ff-el-group:has([name="first_name"]) {
	grid-column: 1;
	grid-row: 2;
}

.glx-ff--footer .ff-el-group:has([name="company"]) {
	grid-column: 2 / 4;
	grid-row: 2;
}

.glx-ff--footer .glx-ff-agree {
	grid-column: 1 / -1;
	grid-row: 3;
}

.glx-ff--footer .ff-el-input--label {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.glx-ff--footer .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

@media (max-width: 1024px) {
	.glx-ff--footer .ff-el-form-control,
	.glx-ff--newsletter .ff-el-form-control {
		font-size: 16px;
	}
}

.glx-ff--footer .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: var(--wp--preset--color--orange) !important;
	color: var(--wp--preset--color--white) !important;
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
}

.glx-ff--footer .ff-btn-submit:hover,
.glx-ff--footer .ff-btn-submit:focus {
	background: var(--wp--preset--color--blue) !important;
}

.glx-ff--footer .glx-ff-agree label.ff_tc_label {
	position: relative;
	display: block;
	margin: -6px 0 0;
	padding: 6px 0 6px 20px;
	min-height: 44px;
	box-sizing: border-box;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--xs);
	line-height: 18px;
}

.glx-ff--footer .glx-ff-agree .ff_tc_checkbox {
	position: absolute;
	top: 8px;
	left: 0;
	line-height: 0;
}

.glx-ff--footer .glx-ff-agree input {
	width: 13px;
	height: 13px;
	margin: 0;
}

.glx-ff--footer .glx-ff-agree .ff_t_c {
	display: inline;
}

.glx-ff--footer .glx-ff-agree a {
	padding: 0 3px;
	color: var(--wp--preset--color--white);
	text-decoration: underline;
}

.glx-ff--footer .error.text-danger,
.glx-ff--footer .ff-errors-in-stack {
	color: #ffd2a8;
	font-size: 13px;
}

.glx-ff--footer .ff-message-success {
	margin: 0;
	padding: 10px 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--wp--preset--color--white);
	font-size: 16px;
}

/* Phones: one field per line, Send full width under them. */
@media (max-width: 600px) {
	.glx-ff--footer fieldset {
		grid-template-columns: 1fr;
	}

	.glx-ff--footer .ff-el-group:has([name="email"]),
	.glx-ff--footer .ff-el-group:has([name="first_name"]),
	.glx-ff--footer .ff-el-group:has([name="company"]),
	.glx-ff--footer .glx-ff-agree,
	.glx-ff--footer .ff_submit_btn_wrapper {
		grid-column: 1;
		grid-row: auto;
	}

	.glx-ff--footer .ff-btn-submit {
		justify-content: center;
		width: 100%;
	}
}

/* The Newsletter page: the same form, labels above the fields, the
   contact form's green button. */
.glx-newsletter-page {
	max-width: 640px;
	padding-top: 30px;
	padding-bottom: 60px;
}

.wp-block-post-content.glx-page-content p.glx-newsletter-page__intro {
	margin: 0 0 20px;
	font-size: var(--wp--preset--font-size--subtitle);
}

.glx-ff--newsletter .ff-el-group {
	margin: 0 0 14px !important;
}

.glx-ff--newsletter .ff-el-input--label label {
	color: var(--wp--preset--color--dark);
	font: 16px/1.4 var(--wp--preset--font-family--titillium);
}

.glx-ff--newsletter .ff-el-is-required.asterisk-right label::after {
	color: var(--wp--preset--color--orange);
}

.glx-ff--newsletter .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
	font: 14px/1.3 var(--wp--preset--font-family--titillium);
}

.glx-ff--newsletter .glx-ff-agree label.ff_tc_label {
	position: relative;
	display: block;
	min-height: 44px;
	box-sizing: border-box;
	padding: 9.5px 0 9.5px 22px;
	color: var(--wp--preset--color--dark);
	font: 16px/1.6 var(--wp--preset--font-family--titillium);
}

.glx-ff--newsletter .glx-ff-agree .ff_tc_checkbox {
	position: absolute;
	top: 14px;
	left: 0;
	line-height: 0;
}

.glx-ff--newsletter .glx-ff-agree .ff_t_c {
	display: inline;
}

.glx-ff--newsletter .glx-ff-agree a {
	color: inherit;
	text-decoration: underline;
}

.glx-ff--newsletter .ff-btn-submit {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 44px;
	padding: 13px;
	border: 0;
	border-radius: 0;
	background: #2ab858 !important;
	color: var(--wp--preset--color--white) !important;
	font: 14px/1 var(--wp--preset--font-family--titillium);
	text-transform: uppercase;
	cursor: pointer;
}

.glx-ff--newsletter .ff-btn-submit:hover,
.glx-ff--newsletter .ff-btn-submit:focus {
	background: var(--wp--preset--color--orange) !important;
}

.glx-ff--newsletter .ff-message-success {
	padding: 20px;
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid #2ab858;
	background: var(--wp--preset--color--white);
	box-shadow: none;
	font-size: 16px;
}

/* Tablets and phones: the Newsletter page's fields at 16px (after the rule
   above, so it wins). */
@media (max-width: 1024px) {
	.glx-ff--newsletter .ff-el-form-control {
		font-size: 16px;
	}
}

/* Body text in page content is never below 16px, even when an editor picks
   the "small" size (the privacy policy's effective date line). */
.wp-block-post-content p.has-small-font-size {
	font-size: 16px !important;
}

/* ---------------------------------------------------------------------------
   GoDaddy Managed WordPress "Site Designer" contrast fallback.
   On the GoDaddy host a stylesheet (<style id="wp-site-designer-contrast-
   fallback">) forces text colours with !important: inside cover blocks and
   coloured groups, h1-h6, p and links get "color: var(--dsgo-text-color,
   inherit) !important", and coloured groups are stamped with their own
   text colour. That turned the dropdown items white on white, the footer
   text dark on dark, and the hero titles white. Those rules read
   --dsgo-text-color on the element itself, so the elements below get the
   colours this theme gives them anyway. Nothing else reads the variable,
   so off GoDaddy these lines do nothing.
--------------------------------------------------------------------------- */

/* Header menu: grey items, white on hover. */
.glx-header .glx-nav .wp-block-navigation-item__content {
	--dsgo-text-color: var(--wp--preset--color--nav);
}

.glx-header .glx-nav .wp-block-navigation-item__content:hover,
.glx-header .glx-nav .wp-block-navigation-item__content:focus {
	--dsgo-text-color: var(--wp--preset--color--white);
}

/* Dropdowns (desktop): dark on white, white on orange when hovered. */
@media (min-width: 1025px) {
	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		--dsgo-text-color: var(--wp--preset--color--dark);
	}

	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.glx-header .glx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
		--dsgo-text-color: var(--wp--preset--color--white);
	}
}

/* Footer: white text on the dark photo; links orange when hovered. */
.glx-footer :is(h2, h3, h4, p, a, label, span, li) {
	--dsgo-text-color: var(--wp--preset--color--white);
}

.glx-footer .glx-footer-link a:hover,
.glx-footer .glx-footer-link a:focus {
	--dsgo-text-color: var(--wp--preset--color--orange);
}

/* Section heroes: the same colours as the rules above (orange title, white
   subtitle; navy where the page-copy paragraph rule applies). */
.glx-s-hero .glx-s-hero__title {
	--dsgo-text-color: var(--wp--preset--color--orange);
}

.glx-s-hero .glx-s-hero__sub {
	--dsgo-text-color: var(--wp--preset--color--white);
}

.wp-block-post-content.glx-page-content .glx-s-hero p {
	--dsgo-text-color: var(--wp--preset--color--navy);
}

/* Footer: the newsletter's screen-reader labels and the copyright line. */
.glx-ff--footer .ff-el-input--label label {
	color: var(--wp--preset--color--white);
}

.glx-copyright {
	--dsgo-text-color: var(--wp--preset--color--dark);
}

/* Leaders: the cards in a row share one height. When a title wraps, the
   title bars in that row grow together (text centred), so names, bars and
   the View Bio buttons line up whatever the title lengths. */
.glx-leaders {
	align-items: stretch;
}

.glx-leaders > .glx-leader {
	display: flex;
	flex-direction: column;
}

.glx-leaders > .glx-leader .glx-leader__role {
	display: flex;
	flex: 1 0 auto;
	align-items: center;
	justify-content: center;
}

.glx-leaders > .glx-leader .glx-leader__bio-btn {
	align-self: center;
}

/* GoDaddy also restyles every text field (grey background) and submit
   button (its accent colour, 16px) with long selectors that outrank this
   theme's. The :not(#glx) adds ID-level weight, so the form fields and
   buttons keep the theme's look. Off GoDaddy nothing changes. */
.wp-site-blocks .fluentform .ff-el-form-control:not(#glx) {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--dark);
}

.wp-site-blocks .fluentform .ff-btn-submit:not(#glx) {
	font-size: 14px;
}

.wp-site-blocks .glx-cs-search .wp-block-search__input:not(#glx) {
	background-color: transparent;
}

.wp-site-blocks .glx-search-panel .wp-block-search__input:not(#glx) {
	background-color: #e6e6e6;
}
