/*
Theme Name: Duramax Marine GreenShift Child
Theme URI: https://marine.monarchwave.com/
Description: GreenShift child theme for the Duramax Marine rebuild.
Author: Monarch Wave
Template: greenshift
Version: 1.0.1
Text Domain: duramax-greenshift-child
*/

:root {
	--duramax-teal: #005e7c;
	--duramax-mint: #57ad9e;
	--duramax-mint-dark: #489487;
	--duramax-light: #efefef;
	--duramax-mid: #d8d8d8;
	--duramax-ink: #313c42;
	--duramax-white: #ffffff;
	--duramax-content: 1310px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--duramax-white);
	color: var(--duramax-ink);
	font-family: termina, "Arial Narrow", Arial, Helvetica, sans-serif;
	font-size: 14.5px;
	line-height: 1.8;
}

a {
	color: var(--duramax-teal);
}

a:hover,
a:focus-visible {
	color: var(--duramax-mint-dark);
}

.site-header,
.site-footer,
.site-content {
	margin-block-start: 0 !important;
}

.duramax-front-page,
.duramax-front-page .wp-block-post-content,
.duramax-front-page .duramax-home.alignfull {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	min-width: 0;
	width: 100% !important;
}

.duramax-front-page,
.duramax-home {
	overflow-x: clip;
}

.site-header {
	position: relative;
	z-index: 1000;
}

.duramax-home {
	background: var(--duramax-light);
	margin: 0;
	max-width: 100%;
	position: relative;
	width: 100%;
}

.duramax-home-slider {
	background: #000;
	isolation: isolate;
	margin: 0;
	max-width: 100%;
	position: relative;
	width: 100%;
}

.duramax-hero-track {
	background: #000;
	box-sizing: border-box;
	height: clamp(180px, 34.7917vw, 480px);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.duramax-hero-slide {
	height: 100%;
	inset: 0;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
}

.duramax-hero-slide.is-active {
	animation: duramax-hero-fade 650ms ease-out;
	opacity: 1;
}

.duramax-hero-slide[hidden] {
	display: none;
}

.duramax-hero-slide > img {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center;
	position: absolute;
	width: 100%;
	z-index: 0;
}

.duramax-hero-shade {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.03) 35%, rgba(0, 0, 0, 0.68) 100%);
	inset: 0;
	position: absolute;
	z-index: 1;
}

.duramax-hero-content {
	box-sizing: border-box;
	color: #d3d3d3;
	height: 100%;
	margin: 0 auto;
	max-width: var(--duramax-content);
	padding: clamp(2rem, 5vw, 4rem) 4%;
	position: relative;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
	width: 100%;
	z-index: 2;
}

.duramax-hero-content h2,
.duramax-hero-content p {
	margin-left: auto;
	width: 32%;
}

.duramax-hero-content h2 {
	color: var(--duramax-white);
	font-size: clamp(1.2rem, 2.2vw, 2rem);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.05;
	margin-bottom: 0.65rem;
	margin-top: 0;
}

.duramax-hero-link {
	inset: 0;
	position: absolute;
	z-index: 3;
}

.duramax-hero-link:focus-visible {
	outline: 3px solid var(--duramax-white);
	outline-offset: -6px;
}

.duramax-hero-content p {
	font-size: clamp(0.8rem, 1.4vw, 1.25rem);
	font-weight: 300;
	line-height: 1.3;
	margin-bottom: 0;
	margin-top: 0;
}

.duramax-hero-dots {
	align-items: center;
	bottom: 10px;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	z-index: 4;
}

.duramax-hero-dots button {
	appearance: none;
	background: transparent;
	border: 1px solid #d1d1d1;
	border-radius: 50%;
	cursor: pointer;
	flex: 0 0 9px;
	height: 9px;
	min-width: 9px;
	opacity: 0.75;
	padding: 0;
	width: 9px;
}

.duramax-hero-dots button.is-active {
	background: var(--duramax-white);
	opacity: 1;
}

.duramax-hero-dots button:focus-visible {
	outline: 2px solid var(--duramax-white);
	outline-offset: 3px;
}

@keyframes duramax-hero-fade {
	from {
		opacity: 0.2;
	}

	to {
		opacity: 1;
	}
}

.duramax-intro {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--duramax-content);
	padding: clamp(3rem, 6vw, 5.5rem) 4% clamp(3.5rem, 7vw, 6rem);
	text-align: center;
}

.duramax-intro h1 {
	color: var(--duramax-teal);
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	line-height: 1.2;
	margin: 0 auto 1.25rem;
	max-width: 960px;
}

.duramax-intro > p {
	margin-left: auto;
	margin-right: auto;
	max-width: 980px;
}

.duramax-intro h2 {
	color: var(--duramax-teal);
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	margin: 2.5rem 0 0.25rem;
}

.duramax-product-grid {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 3rem auto 0;
	max-width: 1120px;
	width: 100%;
}

.duramax-product-card {
	background: transparent;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
	position: relative;
}

.duramax-product-card .wp-block-image {
	margin: 0;
}

.duramax-product-card img {
	display: block;
	height: auto;
	width: 100%;
}

.duramax-product-card h3 {
	font-size: clamp(0.9rem, 1.15vw, 1.05rem);
	line-height: 1.25;
	margin: 0.8rem 0.5rem 0;
	padding: 0 0 0.65rem;
	position: static;
	text-align: left;
	width: auto;
}

.duramax-product-card h3 a {
	color: var(--duramax-teal);
	text-decoration: none;
}

.duramax-infrastructure {
	background: #e7e7e7 url("/wp-content/uploads/duramax/assets/images/lightblend.png") repeat-x center;
	border: 2px solid var(--duramax-teal);
	border-radius: 0.55rem;
	box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	left: 4%;
	margin: 0;
	padding: 1rem;
	position: absolute;
	top: clamp(2.75rem, 7vw, 5rem);
	width: min(390px, 34vw);
	z-index: 20;
}

.duramax-infrastructure h3 {
	color: var(--duramax-teal);
	font-size: clamp(1rem, 1.45vw, 1.3rem);
	line-height: 1.2;
	margin: 0 0 0.35rem;
	text-align: center;
}

.duramax-infrastructure > p {
	font-size: clamp(0.7rem, 0.9vw, 0.86rem);
	line-height: 1.35;
	margin: 0 0 0.85rem;
	text-align: center;
}

.duramax-infrastructure-actions {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.duramax-infrastructure-logo {
	margin: 0;
	width: 62%;
}

.duramax-infrastructure-logo img {
	height: auto;
	width: 100%;
}

.duramax-iso-strip {
	background: var(--duramax-teal);
	color: var(--duramax-white);
	margin: 0;
	padding: 1.3rem 4%;
	text-align: center;
}

.duramax-iso-strip p {
	font-size: clamp(0.9rem, 1.4vw, 1.08rem);
	font-weight: 700;
	letter-spacing: 0.025em;
	margin: 0;
}

.duramax-iso-strip a {
	color: var(--duramax-white);
}

@media (max-width: 1100px) {
	.duramax-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.duramax-product-card h3 {
		font-size: clamp(0.85rem, 1.35vw, 1rem);
	}
}

@media (max-width: 767px) {

	.duramax-hero-content h2,
	.duramax-hero-content p {
		width: 44%;
	}

	.duramax-hero-content {
		padding: 2rem 1.25rem;
	}

	.duramax-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.duramax-infrastructure {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
		box-shadow: none;
		left: auto;
		position: relative;
		top: auto;
		width: 100%;
	}

	.duramax-infrastructure-logo {
		max-width: 240px;
	}

	.duramax-infrastructure-actions {
		gap: 0.75rem;
	}
}

@media (max-width: 520px) {
	.duramax-hero-content h2,
	.duramax-hero-content p {
		width: 52%;
	}

	.duramax-hero-content h2 {
		font-size: 1rem;
	}

	.duramax-hero-content p {
		font-size: 0.68rem;
	}

	.duramax-infrastructure-actions {
		flex-direction: column;
	}

	.duramax-infrastructure-logo {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.duramax-product-card {
		transition: none;
	}

	.duramax-hero-slide.is-active {
		animation: none;
	}
}
/*
 * Duramax rebuild layout corrections.
 * Append this file after the existing greenshift-child/style.css rules.
 */

/*
 * Keep the desktop Products mega-menu inside the navigation containing block
 * without a translate. Chromium includes both the pre- and post-transform
 * rectangles in scrollable overflow, which made a 1280px page 1680px wide.
 */
@media (min-width: 768px) {
	.duramax-primary-nav .wp-block-navigation__container {
		position: relative !important;
	}

	.duramax-primary-nav .wp-block-navigation__container > .duramax-products-menu {
		position: static !important;
	}

	.duramax-primary-nav .wp-block-navigation__container > .duramax-products-menu > .wp-block-navigation__submenu-container {
		box-sizing: border-box !important;
		left: 1rem !important;
		right: 1rem !important;
		margin-left: auto !important;
		margin-right: auto !important;
		max-width: 1120px !important;
		transform: none !important;
		width: auto !important;
	}

	.duramax-primary-nav .wp-block-navigation__container > .duramax-contact-menu > .wp-block-navigation__submenu-container {
		left: auto !important;
		right: 0 !important;
	}
}

/* Keep off-screen anti-bot controls from enlarging either overflow axis. */
.site-content .duramax-laneb #form1 input[name="new_pass"] {
	border: 0 !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	left: 0 !important;
	min-width: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.gspb_container-gspb-lanea-success-stories div[aria-hidden="true"][style*="left:-9999px"] {
	clip-path: inset(50%) !important;
	height: 1px !important;
	left: 0 !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	width: 1px !important;
}

/*
 * Lane A pages are direct children of a 748px constrained post-content block.
 * The corrected markup carries alignfull; this selector is an import fallback.
 */
.site-content .gspb_container[id^="gspb_container-id-gspb-lanea-"] {
	box-sizing: border-box !important;
	max-width: none !important;
}

/* Recreate the legacy Markets media/text proportions inside the wide body. */
.gspb_container-gspb-lanea-markets .duramax-markets-intro-image {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 366px !important;
}

.gspb_container-gspb-lanea-markets .duramax-markets-primary {
	float: left !important;
	margin: 0 20px 5px 0 !important;
	max-width: 300px !important;
	width: 48% !important;
}

.gspb_container-gspb-lanea-markets .duramax-markets-primary img {
	display: block !important;
	height: auto !important;
	width: 100% !important;
}

.gspb_container-gspb-lanea-markets .duramax-markets-rail-image {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 240px !important;
}

@media (max-width: 781px) {
	.gspb_container-gspb-lanea-markets .duramax-markets-primary {
		float: none !important;
		margin: 0 auto 1rem !important;
		width: 100% !important;
	}
}

/*
 * Lane B accidentally resolves --wp--style--global--content-size (748px)
 * instead of its 1080px fallback. Restore the intended desktop content span
 * while leaving its existing mobile and print rules in control.
 */
@media screen and (min-width: 781px) {
	.site-content .duramax-laneb #divMain {
		box-sizing: border-box !important;
		max-width: 1120px !important;
		width: min(calc(100% - 2rem), 1120px) !important;
	}

	.site-content .duramax-laneb #divMain.full {
		max-width: 1180px !important;
		width: min(calc(100% - 2rem), 1180px) !important;
	}
}

/* Legacy .half panels are full-width media inside an already half-width rail. */
.duramax-laneb .innerLeftdiv .half,
.duramax-laneb .innerRightdiv .half {
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 366px !important;
	width: 100% !important;
}

/* Preserve the 1032:848 carousel artwork instead of cropping it into 240px rails. */
.duramax-laneb #carousel .slide {
	min-height: 0 !important;
}

.duramax-laneb #carousel .img {
	aspect-ratio: 1032 / 848 !important;
	min-height: 0 !important;
}

/* Normalize the bearing cutaway to the staged assets' 575:290 geometry. */
.duramax-laneb--johnson-cutless-water-lubricated-rubber-bearings .duramax-bearing-cutaway {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 575px !important;
	width: 100% !important;
}

.duramax-laneb--johnson-cutless-water-lubricated-rubber-bearings img.duramax-bearing-cutaway__image {
	aspect-ratio: 575 / 290 !important;
	display: block !important;
	height: auto !important;
	max-height: none !important;
	max-width: 575px !important;
	object-fit: contain !important;
	rotate: none !important;
	transform: none !important;
	width: 100% !important;
}
/*
 * Duramax Fluent Forms density corrections.
 * Append after the current greenshift-child/style.css and css-additions.css.
 */

/* Only the rebuilt quote, contact, and careers page wrappers are in scope. */
:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform {
	--duramax-form-control-height: 34px;
	--duramax-form-gap: 8px;
	--duramax-form-label-width: 220px;
	font-size: 14px;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-group {
	margin-bottom: var(--duramax-form-gap);
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform :is(
	input.ff-el-form-control:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
	select.ff-el-form-control
) {
	height: var(--duramax-form-control-height) !important;
	min-height: var(--duramax-form-control-height) !important;
	padding: 5px 8px !important;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform textarea.ff-el-form-control {
	line-height: 1.3 !important;
	min-height: 70px;
	padding: 6px 8px !important;
	resize: vertical;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-input--label label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
}

/* Fluent's checkable layout setting emits ff_list_inline; tighten its gaps. */
:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-group.ff_list_inline .ff-el-input--content {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	min-height: var(--duramax-form-control-height);
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-group.ff_list_inline .ff-el-form-check {
	display: inline-block;
	margin: 0 !important;
	width: auto !important;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-form-check-label {
	line-height: 1.25;
	margin: 0;
}

/* The option label is the accessible visible label for a one-choice checkbox. */
:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .duramax-single-checkbox .ff-el-input--content {
	align-items: center;
	display: flex;
	min-height: var(--duramax-form-control-height);
}

/* Match the old compact gray section bars. */
:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-section-break {
	margin: 12px 0 8px !important;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-section-break .ff-el-section-title {
	background: #e3e3e3;
	color: #26343c;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 !important;
	padding: 6px 8px;
	text-align: center;
	text-transform: uppercase;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-section-break .ff-section_break_desk {
	font-size: 12px;
	line-height: 1.35;
	margin: 4px 0 0;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-section-break .ff-section_break_desk:empty,
:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff-el-section-break hr {
	display: none;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform :is(.ff-el-help-message, .ff-el-is-error .text-danger) {
	font-size: 11px;
	line-height: 1.25;
	margin-top: 2px;
}

:is(
	.gspb_container-gspb-lanec-quote-form,
	.gspb_container-gs-laned-contact,
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .ff_submit_btn_wrapper {
	margin: 12px 0 0;
}

/* Quote-specific Fluent containers reproduce the live two-panel layout. */
.gspb_container-gspb-lanec-quote-form .fluentform .duramax-quote-panel-grid,
.gspb_container-gspb-lanec-quote-form .fluentform .duramax-cooling-choice-grid,
:is(
	[id^="gspb_container-id-gs-laned-careers-"]
) .fluentform .duramax-employer-grid {
	gap: 16px;
}

.gspb_container-gspb-lanec-quote-form .duramax-quote-form-placeholder {
	padding: 18px !important;
}

@media (min-width: 769px) {
	/* One compact label/control row; conditional fields remain hidden until active. */
	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-group:not(.ff-el-section-break):not(.ff_submit_btn_wrapper):not(.has-conditions),
	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-group.has-conditions.ff_cond_v {
		align-items: start;
		column-gap: 12px;
		display: grid !important;
		grid-template-columns: minmax(0, var(--duramax-form-label-width)) minmax(0, 1fr);
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-group.has-conditions.ff_excluded {
		display: none !important;
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-group:not(.ff-el-section-break):not(.ff_submit_btn_wrapper) > .ff-el-input--label {
		float: none !important;
		grid-column: 1;
		margin: 0 !important;
		padding: 7px 0 0 !important;
		text-align: left !important;
		width: auto !important;
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-group:not(.ff-el-section-break):not(.ff_submit_btn_wrapper) > .ff-el-input--content {
		grid-column: 2;
		margin: 0 !important;
		min-width: 0;
	}

	/* A hidden outer label leaves the checkbox option spanning its full cell. */
	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .duramax-single-checkbox > .ff-el-input--content {
		grid-column: 1 / -1;
	}

	.gspb_container-gspb-lanec-quote-form .fluentform .duramax-quote-panel-grid > .ff-t-cell {
		flex-basis: calc(50% - 8px) !important;
		min-width: 0;
	}

	.gspb_container-gspb-lanec-quote-form .fluentform .duramax-cooling-choice-grid > .ff-t-cell {
		flex-basis: calc(25% - 12px) !important;
		min-width: 0;
	}

	:is([id^="gspb_container-id-gs-laned-careers-"]) .fluentform .duramax-employer-grid > .ff-t-cell {
		flex-basis: calc(50% - 8px) !important;
		min-width: 0;
	}

	/* Legacy employer panels devote about one-third of each half to labels. */
	:is([id^="gspb_container-id-gs-laned-careers-"]) .fluentform .duramax-employer-grid {
		--duramax-form-label-width: 120px;
	}
}

@media (max-width: 768px) {
	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-t-container {
		display: block !important;
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-t-cell {
		margin: 0 !important;
		max-width: none !important;
		width: 100% !important;
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-input--label {
		float: none !important;
		margin: 0 0 3px !important;
		padding: 0 !important;
		width: auto !important;
	}

	:is(
		.gspb_container-gspb-lanec-quote-form,
		.gspb_container-gs-laned-contact,
		[id^="gspb_container-id-gs-laned-careers-"]
	) .fluentform .ff-el-input--content {
		margin: 0 !important;
	}

	.gspb_container-gspb-lanec-quote-form .duramax-quote-form-placeholder {
		padding: 12px !important;
	}
}

/*
 * Duramax About / Company fidelity pass.
 * Append after the existing child-theme and earlier fix CSS.
 */

/* Markets: preserve the legacy 325px showcase and right-side translucent label. */
.gspb_container-gspb-lanea-markets .duramax-fix2-hero {
	box-sizing: border-box;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-hero .wp-block-cover__image-background {
	object-position: center 40%;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-hero .wp-block-cover__background {
	opacity: 0 !important;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-hero .wp-block-cover__inner-container {
	align-self: stretch;
	display: flex;
	margin: 0 auto;
	max-width: 1178px;
	width: 100%;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-hero .wp-block-group {
	background: rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	margin: 0 0 auto auto;
	max-width: 495px;
	padding: 20px;
	width: 43%;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-hero h2 {
	font-weight: 400;
	margin: 0 !important;
}

/* Gutenberg's global 1.6rem gaps are substantially looser than the old 11px spacers. */
.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body > * {
	margin-block-start: 0 !important;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body .wp-block-columns {
	gap: 0;
	margin: 0;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body > .wp-block-columns:first-child {
	gap: 4%;
	justify-content: space-between;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body :is(h1, h2, p, figure) {
	margin-block-start: 0;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body h1 {
	margin-block-end: 11px;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body h2 {
	color: #005e7c;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.23;
	margin: 0 0 11px;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body p {
	margin-block-end: 0;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body p + p {
	margin-block-start: 11px;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body .duramax-markets-primary {
	float: left;
	margin: 0 20px 5px 0 !important;
	max-width: 42%;
	width: 300px;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body .duramax-markets-inline-flow {
	color: inherit;
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	margin: 0 !important;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body h3.duramax-markets-inline-flow + p {
	margin-block-start: 11px !important;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body > .wp-block-image {
	box-sizing: content-box;
	height: 1px;
	margin: 0;
	padding: 11px 0;
	width: 100%;
}

.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body > .wp-block-image img {
	display: block;
	height: 1px;
	width: 100%;
}

.gspb_container-gspb-lanea-markets .duramax-markets-rail-image {
	margin-bottom: 6px !important;
	margin-top: 0 !important;
}

/* Sitemap: match the old broad, compact gray-rule table rather than core stripes. */
.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-body > * {
	margin-block-start: 0 !important;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-body h1 {
	margin: 0 0 11px;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-table {
	margin: 0;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-table table {
	background: #cccccc;
	border-collapse: separate;
	border-spacing: 1px;
	font-size: 14.5px;
	line-height: 1.35;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-table :is(th, td) {
	border: 0;
	padding: 4px;
	text-align: left;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-table th {
	background: #cccccc;
	font-weight: 700;
}

.gspb_container-gspb-lanea-sitemap .duramax-fix2-sitemap-table td {
	background: #ffffff;
}

@media (max-width: 781px) {
	.gspb_container-gspb-lanea-markets .duramax-fix2-hero .wp-block-group {
		margin-left: auto;
		max-width: 95%;
		padding: 12px;
		width: 48%;
	}

	.gspb_container-gspb-lanea-markets .duramax-fix2-markets-body .wp-block-columns {
		gap: 11px;
	}
}
/*
 * Duramax MEDIA + CAREERS fidelity corrections.
 * Append once after the current child-theme and prior fix-pass rules.
 */

/* Career form payloads are direct children of the constrained no-title template. */
.site-content .duramax-fix2-form-page {
	box-sizing: border-box;
	margin-block-start: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.site-content .duramax-fix2-form-page > * {
	margin-block-start: 0;
}

/* Recreate the legacy 325px showcase and its right-side translucent title panel. */
.duramax-fix2-hero {
	align-items: flex-start !important;
	box-sizing: border-box;
	margin-block: 0 !important;
	max-width: none !important;
	min-height: 325px !important;
}

/* Most legacy careers forms use the shared 270px medium-desktop showcase. */
.duramax-fix2-hero--compact {
	min-height: 270px !important;
}

.duramax-fix2-hero .wp-block-cover__image-background {
	object-position: center 40%;
}

/* The old responsive sheet overrides the inline focal point in this band. */
@media (min-width: 768px) and (max-width: 1309.9px) {
	.duramax-fix2-hero .wp-block-cover__image-background {
		object-position: 24% 50%;
	}
}

.duramax-fix2-hero > .wp-block-cover__inner-container {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1310px;
	width: 100%;
}

.duramax-fix2-hero__panel {
	background: rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
	margin: 0 0 0 57% !important;
	max-width: 495px;
	padding: 20px !important;
	width: 43%;
}

.duramax-fix2-hero__title {
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 20px;
	margin: 0 !important;
}

/* Match the legacy inner-page measure and compact text rhythm without altering forms. */
.duramax-fix2-form-page > .duramax-fix2-body {
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1120px !important;
	padding: 36px 24px 56px;
	width: min(100%, 1120px) !important;
}

.duramax-fix2-form-body > :is(h1, h2, h3, p, ul, ol, .wp-block-group) {
	margin-block-start: 0;
}

.duramax-fix2-form-body > h1 {
	font-size: 22px;
	line-height: 1.18;
	margin-block-end: 18px;
}

.duramax-fix2-form-body > h2,
.duramax-fix2-form-body > .wp-block-group > h2 {
	font-size: 19px;
	line-height: 1.2;
	margin-block-end: 12px;
}

.duramax-fix2-form-body > :is(p, ul, ol) {
	margin-block-end: 14px;
}

.duramax-fix2-form-body > .duramax-form-placeholder {
	margin-block: 18px 14px;
}

/* The legacy frameShow footer is not present in the rebuild; keep its video overlay locally. */
html.duramax-career-video-modal-open {
	overflow: hidden;
}

.duramax-career-video-modal[hidden] {
	display: none;
}

.duramax-career-video-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100000;
}

.duramax-career-video-modal__backdrop {
	background: rgba(0, 0, 0, 0.78);
	inset: 0;
	position: absolute;
}

.duramax-career-video-modal__panel {
	background: #000;
	box-sizing: border-box;
	max-width: 920px;
	padding: 48px 48px 20px;
	position: relative;
	width: min(100%, 920px);
	z-index: 1;
}

.duramax-career-video-modal__frame {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	width: 100%;
}

.duramax-career-video-modal__close {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 34px;
	height: 42px;
	line-height: 1;
	position: absolute;
	right: 4px;
	top: 2px;
	width: 42px;
}

.duramax-career-video-modal__fallback {
	font-size: 12px;
	line-height: 1.4;
	margin: 10px 0 0;
	text-align: right;
}

.duramax-career-video-modal__fallback a {
	color: #c8f4ec;
}

@media (max-width: 767px) {
	.duramax-fix2-hero {
		min-height: 220px !important;
		padding: 16px !important;
	}

	.duramax-fix2-hero--compact {
		min-height: 220px !important;
	}

	.duramax-fix2-hero__panel {
		margin-left: 52% !important;
		padding: 12px !important;
		width: 48%;
	}

	.duramax-fix2-hero__title {
		font-size: 16px;
		line-height: 18px;
	}

	.duramax-fix2-form-page > .duramax-fix2-body {
		padding: 28px 18px 42px;
	}

	.duramax-career-video-modal {
		padding: 0;
	}

	.duramax-career-video-modal__panel {
		max-width: none;
		padding: 42px 12px 12px;
		width: 100%;
	}
}
