/* Industry Landing Template — styles for template-industry-landing.php + its flexible-content partials. Enqueued conditionally via theme_industry_landing_assets() in functions.php. */

/* === 1. Design tokens (from Figma) === */
 :root {
	/* Brand colors */
	--il-color-navy:           #192456;
	--il-color-blue:           #107cc0;
	--il-color-cta-blue:       #0047bb;
	--il-color-light-gray:     #eaeaea;
	--il-color-body:           #242424;
	--il-color-white:          #ffffff;
	--il-color-error:          #d70c0c;

	/* Overlays */
	--il-overlay-hero:         linear-gradient(90deg, rgba(25, 36, 86, 0.89) 30%, rgba(25, 36, 86, 0.32) 100%);
	--il-overlay-section:      rgba(25, 36, 86, 0.82);

	/* Typography */
	--il-font-heading:         'Montserrat', sans-serif;
	--il-font-heading-semi:    'Montserrat', sans-serif;
	--il-font-button:          'Montserrat', sans-serif;
	--il-font-body:            'Open Sans', sans-serif;

	--il-fs-section:           34px;
	--il-fs-card:              25px;
	--il-fs-body:              16px;
	--il-fs-stat:              clamp(36px, 4vw, 49px);

	/* Spacing */
	--il-section-padding-y:    130px;
	--il-section-padding-y-md: 80px;
	--il-section-padding-y-sm: 56px;
	--il-container-max:        1223px;
	--il-card-gap:             32px;

	/* Shared section heading recipe (h2 level — composed into each section heading) */
	--il-heading-font:      'Montserrat', sans-serif;
	--il-heading-weight:    700;
	--il-heading-size:      clamp(24px, 3.5vw, var(--il-fs-section));
	--il-heading-line:      normal;
	--il-heading-transform: uppercase;

	/* Card-level title recipe (h3 — sits inside cards, on dark bars) */
	--il-card-title-size: clamp(18px, 2vw, var(--il-fs-card));
}

/* === 2. Shared template wrapper === */
.industry-landing {
	color: var(--il-color-body);
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	line-height: 1.5;
}

.industry-landing > section {
	padding-top: var(--il-section-padding-y-sm);
	padding-bottom: var(--il-section-padding-y-sm);
}

@media (min-width: 768px) {
	.industry-landing > section {
		padding-top: var(--il-section-padding-y-md);
		padding-bottom: var(--il-section-padding-y-md);
	}
}

@media (min-width: 1200px) {
	.industry-landing > section {
		padding-top: var(--il-section-padding-y);
		padding-bottom: var(--il-section-padding-y);
	}
}

/* === 2.1 Shared section background utility === drop --bg-white or --bg-gray on any section root to swap surface tone; default = transparent */
.industry-landing > section.industry-section--bg-white,
.industry-landing > .industry-section--bg-white {
	background-color: var(--il-color-white);
}

.industry-landing > section.industry-section--bg-gray,
.industry-landing > .industry-section--bg-gray {
	background-color: var(--il-color-light-gray);
}

/* Push section padding from wrapper to inner partial when a reused partial is wrapped in industry-section--bg-* */
.industry-landing > .industry-section--bg-white,
.industry-landing > .industry-section--bg-gray {
	padding-top: var(--il-section-padding-y-sm);
	padding-bottom: var(--il-section-padding-y-sm);
}

@media (min-width: 768px) {
	.industry-landing > .industry-section--bg-white,
	.industry-landing > .industry-section--bg-gray {
		padding-top: var(--il-section-padding-y-md);
		padding-bottom: var(--il-section-padding-y-md);
	}
}

@media (min-width: 1200px) {
	.industry-landing > .industry-section--bg-white,
	.industry-landing > .industry-section--bg-gray {
		padding-top: var(--il-section-padding-y);
		padding-bottom: var(--il-section-padding-y);
	}
}

/* If a wrapper is used, the inner partial shouldn't double-pad. */
.industry-landing > .industry-section--bg-white > section,
.industry-landing > .industry-section--bg-gray > section {
	padding-top: 0;
	padding-bottom: 0;
}

/* Force reused partials' hardcoded .bg-white/.bg-gray transparent when we're wrapping (preserves .bg-navy as intentional brand variant) */
.industry-landing > .industry-section--bg-white > .section-flexible.bg-white,
.industry-landing > .industry-section--bg-white > .section-flexible.bg-gray,
.industry-landing > .industry-section--bg-gray > .section-flexible.bg-white,
.industry-landing > .industry-section--bg-gray > .section-flexible.bg-gray {
	background-color: transparent !important;
}

/* === 3. Per-section styles === */

/* === 3.1 Masthead === */
.industry-landing > section.industry-masthead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 100px 16px 65px 16px;
    overflow: hidden;
    color: var(--il-color-white);
    background-color: var(--il-color-navy);
}

.industry-masthead__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.industry-masthead__overlay {
	position: absolute;
	inset: 0;
	background: var(--il-overlay-hero);
	z-index: 1;
	pointer-events: none;
}

.industry-masthead__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--il-container-max);
	margin: 0 auto;
}

.industry-masthead__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	max-width: 771px;
	margin: 0 auto;
	text-align: center;
}

.industry-masthead__heading {
    margin: 0;
    width: 100%;
    text-align: center;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-white);
}

.industry-masthead__intro p {
    font-size: var(--il-fs-body);
    color: var(--il-color-white);
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.industry-masthead__intro :last-child {
	margin-bottom: 0;
}

.industry-masthead__intro a {
	color: var(--il-color-white);
	text-decoration: underline;
}

.industry-masthead__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.industry-masthead__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 18px;
	min-width: 140px;
	font-family: var(--il-font-button);
	font-weight: 700;
	font-size: var(--il-fs-body);
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.industry-masthead__btn:focus {
	outline: 2px solid var(--il-color-white);
	outline-offset: 2px;
}

.industry-masthead__btn--primary {
    background-color: var(--il-color-cta-blue);
    color: var(--il-color-white);
    position: relative;
    overflow: hidden;
}

.industry-masthead__btn--primary:hover,
.industry-masthead__btn--primary:focus {
    background-color: #141b4d;
    color: var(--il-color-white);
}

/* DISABLED 2026-05-20 — hover shine/sweep on masthead primary button. Uncomment to restore. */
/*
.industry-masthead__btn--primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.industry-masthead__btn--primary:hover:before,
.industry-masthead__btn--primary:focus:before {
    left: 100%;
}
*/

.industry-masthead__btn--secondary {
	background-color: var(--il-color-light-gray);
	color: var(--il-color-navy);
}

.industry-masthead__btn--secondary:hover,
.industry-masthead__btn--secondary:focus {
	background-color: var(--il-color-white);
	color: var(--il-color-navy);
}

@media (min-width: 768px) {
	.industry-landing > section.industry-masthead {
		min-height: 458px;
		padding: 180px 24px 65px 24px;
	}
	.industry-masthead__heading {
		width: 550px;
	}
}

@media (min-width: 1200px) {
	.industry-landing > section.industry-masthead {
		padding: 200px 32px 100px 32px;
	}
	.industry-masthead__heading {
		width: 633px;
	}
}

/* === Shared utilities === */

.industry-landing__container,
.industry-card-grid__container,
.industry-two-column__container,
.industry-cta-form__container,
.industry-stats-bar__container,
.industry-icon-features__container,
.industry-media-carousel__container {
	width: 100%;
	max-width: var(--il-container-max);
	margin: 0 auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.industry-landing__container,
	.industry-card-grid__container,
	.industry-two-column__container,
	.industry-cta-form__container,
	.industry-stats-bar__container,
	.industry-icon-features__container,
	.industry-media-carousel__container {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.industry-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 18px;
	min-width: 140px;
	font-family: var(--il-font-button);
	font-weight: 800;
	font-size: var(--il-fs-body);
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* Reassert text-decoration:none across all states to beat TwentySeventeen's global a:hover underline */
.industry-btn,
.industry-btn:hover,
.industry-btn:focus,
.industry-btn:active,
.industry-btn:visited,
.industry-masthead__btn,
.industry-masthead__btn:hover,
.industry-masthead__btn:focus,
.industry-masthead__btn:active,
.industry-masthead__btn:visited,
a.industry-cta-card,
a.industry-cta-card:hover,
a.industry-cta-card:focus,
a.industry-cta-card:active,
a.industry-cta-card:visited,
.industry-card__link,
.industry-card__link:hover,
.industry-card__link:focus,
.industry-card__link:active,
.industry-card__link:visited,
.industry-cta-form__phone-btn,
.industry-cta-form__phone-btn:hover,
.industry-cta-form__phone-btn:focus,
.industry-cta-form__phone-btn:active,
.industry-cta-form__phone-btn:visited {
	text-decoration: none;
}

.industry-btn:focus {
	outline: 2px solid var(--il-color-blue);
	outline-offset: 2px;
}

.industry-btn--primary {
    background-color: var(--il-color-cta-blue);
    color: var(--il-color-white);
    position: relative;
    overflow: hidden;
}

.industry-btn--primary:hover,
.industry-btn--primary:focus {
	background-color: #141b4d;
    color: var(--il-color-white);
}

/* DISABLED 2026-05-20 — hover shine/sweep on .industry-btn--primary. Uncomment to restore. */
/*
.industry-btn--primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.industry-btn--primary:hover:before,
.industry-btn--primary:focus:before {
    left: 100%;
}
*/

.industry-btn--ghost {
	background-color: transparent;
	color: var(--il-color-blue);
	gap: 10px;
}

.industry-btn--ghost:hover,
.industry-btn--ghost:focus {
	color: var(--il-color-cta-blue);
}

/* White-filled button — secondary CTA on dark banners (e.g. dual_cta "Request an Express Quote") */
.industry-btn--white {
	background-color: var(--il-color-white);
	color: var(--il-color-navy);
}

.industry-btn--white:hover,
.industry-btn--white:focus {
	background-color: var(--il-color-light-gray);
	color: var(--il-color-cta-blue);
}

/* Shared eyebrow / heading pattern used across sections */
.industry-card-grid__eyebrow,
.industry-media-carousel__eyebrow {
	margin: 0 0 8px;
	font-family: var(--il-font-heading-semi);
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--il-color-blue);
}

/* === 3.2 Card grid === */
.industry-card-grid__intro {
    max-width: 998px;
    margin: 0 0 50px;
    justify-self: center;
}

.industry-card-grid__heading {
    margin: 0 0 16px;
    width: 100%;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-cta-blue);
}

.industry-card-grid__lede {
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
	line-height: 1.6;
}

.industry-card-grid__lede :last-child {
	margin-bottom: 0;
}

.industry-card-grid__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--il-card-gap);
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.industry-card-grid--cols-2 .industry-card-grid__list {
		grid-template-columns: repeat(2, 1fr);
	}
	.industry-card-grid--cols-3 .industry-card-grid__list {
		grid-template-columns: repeat(2, 1fr);
	}
	.industry-card-grid--cols-2 .industry-card-grid__list > .industry-card-grid__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		max-width: calc((100% - var(--il-card-gap)) / 2);
		margin-left: auto;
		margin-right: auto;
	}
	.industry-card-grid--cols-3 .industry-card-grid__list > .industry-card-grid__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		max-width: calc((100% - var(--il-card-gap)) / 2);
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 1024px) {
	.industry-card-grid--cols-3 .industry-card-grid__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.industry-card-grid--cols-3 .industry-card-grid__list > .industry-card-grid__item:last-child:nth-child(odd) {
		grid-column: auto;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.industry-card-grid--cols-3 .industry-card-grid__list > .industry-card-grid__item:last-child:nth-child(3n + 1) {
		grid-column: 2 / 3;
	}
}

.industry-card-grid__item { margin: 0; }

.industry-card {
	display: flex;
	flex-direction: column;
	background: transparent;
}

.industry-card-grid .industry-card {
    gap: 0;
}

.industry-card__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease;
	position: relative; /* anchor for .industry-card__detail overlay */
}

/* Bar color shift on hover: navy -> cta-blue (default), blue -> lighter blue (blue variant) */
.industry-card__link:hover .industry-card__bar,
.industry-card__link:focus .industry-card__bar {
	background-color: var(--il-color-cta-blue);
}

.industry-card--bar-blue .industry-card__link:hover .industry-card__bar,
.industry-card--bar-blue .industry-card__link:focus .industry-card__bar {
	background-color: var(--il-color-blue);
}

.industry-card__link:focus {
	outline: 2px solid var(--il-color-blue);
	outline-offset: 4px;
}

.industry-card__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 571 / 254;
	background: var(--il-color-light-gray);
	position: relative; /* anchors .industry-card__figure-tint on case-study cards */
}

.industry-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.industry-card__link:hover .industry-card__image {
	transform: scale(1.04);
}

.industry-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	background-color: var(--il-color-navy);
	transition: background-color 0.25s ease;
}

.industry-card--bar-blue .industry-card__bar {
	background-color: var(--il-color-blue);
}

.industry-card__title {
	margin: 0;
	font-family: var(--il-font-heading);
	font-size: clamp(18px, 2vw, var(--il-fs-card));
	line-height: 1.2;
	color: var(--il-color-white);
}

/* Chip — default 43×43 arrow-only, hover snaps to "View More" label + 51×51 white arrow (Figma Cryptocurrency hover). Geometry snaps; only colors + label opacity animate. */
.industry-card__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex-shrink: 0;
	width: 43px;
	height: 43px;
	padding: 0;
	background-color: var(--il-color-blue);
	color: var(--il-color-white);
	overflow: hidden;
}

.industry-card--bar-blue .industry-card__chip {
	background-color: var(--il-color-white);
	color: var(--il-color-blue);
}

.industry-card__chip-label {
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	color: var(--il-color-white);
	white-space: nowrap;
	max-width: 0;
	min-width: 0;
	flex: 0 0 auto;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.18s ease;
}

.industry-card__chip-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	background-color: var(--il-color-cta-blue);
}

.industry-card__chip-arrow svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.industry-card__link:hover .industry-card__chip-arrow svg,
.industry-card__link:focus .industry-card__chip-arrow svg {
	fill: #0047BB;
	stroke: #0047BB;
}

/* Hover — chip snaps to expanded form, colors fade smoothly */
.industry-card__link:hover .industry-card__chip,
.industry-card__link:focus .industry-card__chip {
	background-color: transparent;
	width: auto;
	height: auto;
	padding: 0;
	gap: 14px;
	overflow: visible;
}

.industry-card__link:hover .industry-card__chip-label,
.industry-card__link:focus .industry-card__chip-label {
	max-width: 220px;
	opacity: 1;
}

.industry-card__link:hover .industry-card__chip-arrow,
.industry-card__link:focus .industry-card__chip-arrow {
	width: 43px;
	height: 43px;
	background: var(--il-color-white);
	color: var(--il-color-cta-blue);
}

/* Reserve bar height for hover-state arrow box (51 + 18*2 = 87px) so bar doesn't jump */
.industry-card-grid--case-study .industry-card__bar {
    min-height: 110px;
}

/* Reduced motion: state change without animation */
@media (prefers-reduced-motion: reduce) {
	.industry-card__bar,
	.industry-card__chip,
	.industry-card__chip-label,
	.industry-card__chip-arrow {
		transition: none;
	}
}

.industry-card__excerpt {
	margin: 24px 0 0;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	line-height: 1.5;
	color: var(--il-color-body);
}

/* === 3.2.b Card hover-expand (Case Studies variant) — ORPHAN: markup removed when landing-only scope locked 2026-05-20. Kept for potential re-enable. Top strip = 21% per Figma node 8022:511. === */
.industry-card--has-detail .industry-card__figure-tint {
	position: absolute;
	inset: 0;
	background-color: var(--il-color-blue);
	opacity: 0.55;
	mix-blend-mode: multiply;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.industry-card__detail {
    position: absolute;
    top: 21%;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0047BB;
    color: var(--il-color-white);
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    z-index: 3;
    pointer-events: none;
}

.industry-card__detail-title {
	margin: 0;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(18px, 2vw, var(--il-fs-card));
	line-height: 1.2;
	color: var(--il-color-white);
}

.industry-card__detail-bullets {
	list-style: none;
	padding: 0;
	margin: 4px 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.industry-card__detail-bullets li {
	position: relative;
	padding-left: 22px;
	font-family: var(--il-font-body);
	font-size: 14px;
	line-height: 1.4;
	color: var(--il-color-white);
}

.industry-card__detail-bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 12px;
	height: 2px;
	background-color: var(--il-color-white);
}

.industry-card__detail-chip {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	align-self: flex-end;
}

.industry-card__detail-chip-label {
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	color: var(--il-color-white);
	white-space: nowrap;
}

.industry-card__detail-chip-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 51px;
	height: 51px;
	background-color: var(--il-color-white);
	color: var(--il-color-blue);
	flex-shrink: 0;
}

.industry-card__detail-chip-arrow svg {
	width: 22px;
	height: 22px;
	color: #0047BB;
}

/* Reveal on hover / keyboard focus */
.industry-card--has-detail .industry-card__link:hover .industry-card__detail,
.industry-card--has-detail .industry-card__link:focus-visible .industry-card__detail,
.industry-card--has-detail .industry-card__link:focus-within .industry-card__detail {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.industry-card--has-detail .industry-card__link:hover .industry-card__figure-tint,
.industry-card--has-detail .industry-card__link:focus-visible .industry-card__figure-tint,
.industry-card--has-detail .industry-card__link:focus-within .industry-card__figure-tint {
	opacity: 0.75;
}

/* No image zoom on case-study cards — panel fly-in is the primary motion */
.industry-card--has-detail .industry-card__link:hover .industry-card__image {
	transform: none;
}

/* Suppress default bar hover on case-study cards — prevents flash if user tabs/focuses without triggering detail panel */
.industry-card--has-detail .industry-card__link:hover .industry-card__chip,
.industry-card--has-detail .industry-card__link:focus .industry-card__chip {
	width: 43px;
	height: 43px;
	background-color: var(--il-color-blue);
	padding: 0;
	gap: 0;
	overflow: hidden;
}

.industry-card--has-detail .industry-card__link:hover .industry-card__chip-label,
.industry-card--has-detail .industry-card__link:focus .industry-card__chip-label {
	max-width: 0;
	opacity: 0;
}

.industry-card--has-detail .industry-card__link:hover .industry-card__chip-arrow,
.industry-card--has-detail .industry-card__link:focus .industry-card__chip-arrow {
	width: 100%;
	height: 100%;
	background: transparent;
	color: var(--il-color-white);
}

/* Touch devices: no hover, so always show the expanded state */
@media (hover: none) {
	.industry-card--has-detail .industry-card__detail {
		opacity: 1;
		visibility: visible;
		transition: none;
	}
	.industry-card--has-detail .industry-card__figure-tint {
		opacity: 0.75;
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.industry-card__detail,
	.industry-card__figure-tint {
		transition: none;
	}
}

/* === 3.3 Two-column feature === */
.industry-two-column__row {
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
	align-items: start;
}

.industry-two-column--image .industry-two-column__row {
    align-items: center;
}

@media (min-width: 992px) {
	.industry-two-column__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 64px;
	}

	.industry-two-column--media-left .industry-two-column__row {
		grid-template-areas: "media text";
	}
	.industry-two-column--media-left .industry-two-column__media { grid-area: media; }
	.industry-two-column--media-left .industry-two-column__text  { grid-area: text;  }

	.industry-two-column--icon .industry-two-column__row {
		grid-template-columns: 270px minmax(0, 1fr);
	}
	.industry-two-column--icon.industry-two-column--media-right .industry-two-column__row {
		grid-template-columns: minmax(0, 1fr) 270px;
	}
}

.industry-two-column--text-only .industry-two-column__row {
	grid-template-columns: 1fr;
}

@media (max-width: 991px) {
	.industry-two-column__row > .industry-two-column__media {
		order: -1;
	}
	.industry-two-column__row > .industry-two-column__text {
		order: 0;
	}
}

.industry-two-column__heading {
    margin: 0 0 16px;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-cta-blue);
}

.industry-two-column__subheading {
    margin: 0 0 24px;
    color: #242424;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.industry-two-column__body {
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
	line-height: 1.6;
}

.industry-two-column__body p { margin: 0 0 16px; }
.industry-two-column__body :last-child { margin-bottom: 0; }

.industry-two-column__checklist {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.industry-two-column__check {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
}

.industry-two-column__check-dash {
	display: inline-block;
	flex-shrink: 0;
	width: 11px;
	height: 2px;
	background-color: var(--il-color-blue);
}

.industry-two-column__cta {
	margin-top: 32px;
}

.industry-two-column__media {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 767px) {
	.industry-two-column__media {
		align-items: flex-start;
	}
}
/* Icon variant: column flex so optional caption sits centered below the icon */
.industry-two-column--icon .industry-two-column__media {
	flex-direction: column;
	gap: 16px;
}

.industry-two-column__media-img {
	max-width: 100%;
	height: auto;
	display: block;
}

.industry-two-column--image .industry-two-column__media-img {
	width: 100%;
	object-fit: cover;
	border-radius: 0;
}

.industry-two-column--icon .industry-two-column__media-img {
	max-width: 270px;
}

/* Icon caption (media_type=icon + icon_caption set) — matches Figma "Emergency Response" label */
.industry-two-column__icon-caption {
    margin: 0;
    max-width: 270px;
    text-align: center;
    color: #242424;
    font-family: "Open Sans";
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.industry-two-column__icon-caption strong {
	font-family: var(--il-font-heading);
	font-weight: 800;
}

/* === 3.4 CTA / Form banner === */
.industry-landing > section.industry-cta-form {
	position: relative;
	overflow: hidden;
	color: var(--il-color-white);
	background-color: var(--il-color-navy);
}

.industry-landing > section.industry-cta-form:not(.has-bg) {
	background-color: transparent;
	color: var(--il-color-body);
}

.industry-cta-form--phone:not(.has-bg) .industry-cta-form__heading,
.industry-cta-form--image-cards .industry-cta-form__heading {
    color: var(--il-color-cta-blue);
}

.industry-cta-form__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.industry-cta-form__overlay {
	position: absolute;
	inset: 0;
	background: var(--il-overlay-section);
	z-index: 1;
}

.industry-cta-form__container {
	position: relative;
	z-index: 2;
}

.industry-cta-form__header {
	text-align: center;
	max-width: 100%;
	margin: 0 auto 32px;
}

.industry-cta-form--contact .industry-cta-form__header,
.industry-cta-form--form .industry-cta-form__header,
.industry-cta-form--dual-cta .industry-cta-form__header {
	text-align: left;
	margin-left: 0;
}

/* Dual CTA Banner — left-align heading/intro/buttons (Figma "Speak with a Specialist" node 8021:212) */
.industry-cta-form--dual-cta .industry-cta-form__container {
	max-width: var(--il-container, 1200px);
}

.industry-cta-form--dual-cta .industry-cta-form__header {
	max-width: 100%;
	margin-right: auto;
}

.industry-cta-form--dual-cta .industry-cta-form__actions {
	justify-content: flex-start;
	gap: 16px;
}

.industry-cta-form--dual-cta .industry-cta-form__phone {
	gap: 0;
}


/* Stats Banner variant — Figma node 8022:1161
 * Background image with navy 66% overlay (handled by the shared
 * __bg + __overlay rules above). Three centered columns, each with
 * a big bold number/headline + a medium-weight sublabel. No
 * section heading on this variant by design — the stats ARE the
 * content. */
.industry-cta-form--stats {
	padding: clamp(60px, 9vw, 112px) 16px;
	color: var(--il-color-white);
}

.industry-cta-form--stats:not(.has-bg) {
	background-color: var(--il-color-navy);
	color: var(--il-color-white);
}

/* Tint override — Figma uses a slightly more saturated rgba(25,36,86,0.66)
 * overlay than the shared --il-overlay-section default. Scoped so other
 * variants keep their existing overlay tint. */
.industry-cta-form--stats .industry-cta-form__overlay {
	background: rgba(25, 36, 86, 0.66);
}

.industry-cta-form--stats .industry-cta-form__container {
	max-width: var(--il-container-max);
	margin-left: auto;
	margin-right: auto;
}

.industry-cta-form__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 42px);
	align-items: start;
	text-align: center;
}

.industry-cta-form__stat {
	display: flex;
	flex-direction: column;
	gap: 28px;
	color: inherit;
}

.industry-cta-form__stat-number {
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
	text-transform: uppercase;
	color: inherit;
}

.industry-cta-form__stat-sublabel {
	font-family: var(--il-font-heading);
	font-weight: 500;
	font-size: clamp(16px, 1.6vw, 24px);
	line-height: 1.3;
	color: inherit;
}

/* Single-stat / two-stat variants — keep the grid even at 1 or 2
 * items by allowing the columns to collapse instead of stretching
 * a lone column across the whole banner. */
.industry-cta-form__stats:has(.industry-cta-form__stat:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

/* Mobile: stack into one column with tighter row gap */
@media (max-width: 768px) {
	.industry-cta-form__stats {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.industry-cta-form__stat { gap: 16px; }
	.industry-two-column__icon-caption {
		max-width: 100%;
		text-align: left;
		font-size: 24px;
	}
}

.industry-cta-form__heading {
    margin: 0 0 12px;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-white); /* dark navy section default */
}

.industry-cta-form__intro {
	margin: 0;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	line-height: 1.5;
	color: inherit;
}

.industry-cta-form .gform_heading {
    display: none;
}

.industry-cta-form label.gform-field-label {
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.industry-cta-form .gform_fields {
    row-gap: 35px !important;
    column-gap: 35px !important;
}

.industry-cta-form .gform-grid-row {
    row-gap: 35px !important;
    column-gap: 35px !important;
}

.industry-cta-form .gform_footer {
    position: relative;
    overflow: hidden;
	display: inline-block !important;
}

.industry-cta-form .gform_footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
    z-index: 1;
}

.industry-cta-form .gform_footer:hover:before {
    left: 100%;
}

.industry-cta-form .gform_button {
    position: relative;
}

.industry-cta-form .gform_button {
	background: var(--il-color-cta-blue) !important;
    padding: 16px 14px !important;
    color: #FFF !important;
    text-align: center !important;
    font-family: Montserrat !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
}

.industry-cta-form input,
.industry-cta-form select,
.industry-cta-form textarea {
    color: #000 !important;
    font-family: Montserrat !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    min-height: 50px !important;
    line-height: 60px !important;
}

/* Inputs: simpler padding (no chevron) */
.industry-cta-form input[type="text"],
.industry-cta-form input[type="email"],
.industry-cta-form input[type="tel"],
.industry-cta-form input[type="url"],
.industry-cta-form input[type="number"],
.industry-cta-form input[type="search"],
.industry-cta-form input[type="password"],
.industry-cta-form textarea {
    padding: 12px 14px !important;
}

/* Custom <select> chevron — scoped to .industry-cta-form, replaces native OS appearance */
.industry-cta-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    /* Extra right padding to clear the custom chevron */
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23112337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 8px !important;
    cursor: pointer;
}

/* Hide IE/Edge legacy default dropdown arrow */
.industry-cta-form select::-ms-expand {
    display: none !important;
}

/* Swap Province/State and Country positions in Gravity Forms address fields */
.ginput_container_address:has(.address_state):has(.address_country) .address_country {
    order: 1;
	inline-size: 100%;
}

.ginput_container_address:has(.address_state):has(.address_country) .address_state {
    order: 2;
	inline-size: 100%;
}

.ginput_container_address:has(.address_state):has(.address_country) .gf_clear {
    order: 3;
    width: 100%;
}

/* phone variant */
.industry-cta-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	align-items: center;
}

.industry-cta-form--phone:not(.has-bg) .industry-cta-form__phone {
	color: var(--il-color-blue);
}

.industry-cta-form__phone-icon {
	display: inline-flex;
	width: 18px;
	height: 18px;
}
.industry-cta-form__phone-icon svg {
	width: 100%;
	height: 100%;
}

/* form variant */
.industry-cta-form__form {
	display: block;
	margin-top: 8px;
}

/* contact variant */
.industry-cta-form__contact {
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
	align-items: start;
}

@media (min-width: 992px) {
	.industry-cta-form__contact {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 48px;
	}
}

@media (max-width: 418px) {
	#gform_fields_10 {
		display: flex;
		flex-direction: column;
	}
}

.industry-cta-form__phone-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.industry-cta-form__phone-card-title {
	margin: 0;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: 22px;
	color: var(--il-color-white);
}

/* image_cards variant: heading on white, dark image-card row below */
.industry-landing > section.industry-cta-form--image-cards {
	background: transparent;
	color: var(--il-color-body);
	padding-left: 0;
	padding-right: 0;
}

.industry-cta-form--image-cards .industry-cta-form__container {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

.industry-cta-form--image-cards .industry-cta-form__header {
	max-width: var(--il-container-max);
	margin: 0 auto 32px;
	padding: 0 16px;
}

.industry-cta-form--image-cards .industry-cta-form__heading {
	color: var(--il-color-blue);
}

.industry-cta-form__image-cards {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.industry-cta-form__image-cards--count-2 { grid-template-columns: repeat(2, 1fr); }
	.industry-cta-form__image-cards--count-3 { grid-template-columns: repeat(3, 1fr); }
	.industry-cta-form__image-cards--count-4 { grid-template-columns: repeat(2, 1fr); }
	.ginput_container_address:has(.address_state):has(.address_country) .address_country {
		inline-size: 48%;
	}
	.ginput_container_address:has(.address_state):has(.address_country) .address_state {
		inline-size: 48%;
	}
	.industry-cta-form .gform-grid-row {
		row-gap: 29px !important;
		column-gap: 29px !important;
	}
}

@media (min-width: 1200px) {
	.industry-cta-form__image-cards--count-4 { grid-template-columns: repeat(4, 1fr); }
	.ginput_container_address:has(.address_state):has(.address_country) .address_country {
		inline-size: 48.45%;
	}
	
	.ginput_container_address:has(.address_state):has(.address_country) .address_state {
		inline-size: 48.45%;
	}
}

/* image_cards Boxed width: constrain cards within container, add gaps + rounded corners */
.industry-landing > section.industry-cta-form--image-cards.industry-cta-form--width-boxed {
	padding-left: 16px;
	padding-right: 16px;
}

.industry-cta-form--image-cards.industry-cta-form--width-boxed .industry-cta-form__container {
	max-width: var(--il-container-max);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.industry-cta-form--image-cards.industry-cta-form--width-boxed .industry-cta-form__header {
	padding-left: 0;
	padding-right: 0;
}

.industry-cta-form--image-cards.industry-cta-form--width-boxed .industry-cta-form__image-cards {
	gap: 1px;
}

.industry-cta-form--image-cards.industry-cta-form--width-boxed .industry-cta-card {
	border-radius: 0;
}

.industry-cta-form--image-cards.industry-cta-form--width-boxed .industry-cta-card__bg {
	border-radius: 0;
}

.industry-cta-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 32px 24px;
	color: var(--il-color-white);
	text-decoration: none;
	overflow: hidden;
	background-color: var(--il-color-navy);
	transition: background-color 0.2s ease;
	text-decoration: none !important;
}

a.industry-cta-card:hover .industry-cta-card__overlay,
a.industry-cta-card:focus .industry-cta-card__overlay {
	background-color: rgba(16, 124, 192, 0.78);
}

a.industry-cta-card:focus {
	outline: 2px solid var(--il-color-white);
	outline-offset: -4px;
}

.industry-cta-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.industry-cta-card__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(25, 36, 86, 0.78);
	z-index: 1;
	transition: background-color 0.2s ease;
}

.industry-cta-card__inner {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--il-font-button);
	font-weight: 800;
	font-size: clamp(16px, 1.8vw, 22px);
	text-transform: uppercase;
	color: var(--il-color-white);
	line-height: 1.2;
}

.industry-cta-card__icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.industry-cta-card__icon-img {
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: brightness(0) invert(1); /* force any color icon to white */
}

.industry-cta-card__arrow {
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
}

.industry-cta-card__arrow svg {
	width: 18px;
	height: 18px;
	color: var(--il-color-white);
}

/* === 3.5 Stats bar === */
.industry-landing > section.industry-stats-bar {
	background-color: var(--il-color-navy);
	color: var(--il-color-white);
	padding-top: 56px;
	padding-bottom: 56px;
}

.industry-stats-bar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.industry-stats-bar__list {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
}

.industry-stats-bar__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.industry-stats-bar__number {
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: var(--il-fs-stat);
	line-height: 1.1;
	color: var(--il-color-white);
	text-transform: uppercase;
}

.industry-stats-bar__label {
	font-family: var(--il-font-heading-semi);
	font-weight: 600;
	font-size: 18px;
	color: var(--il-color-white);
	line-height: 1.4;
}

.industry-stats-bar__sublabel {
	font-family: var(--il-font-body);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.4;
}

/* === 3.6 Icon features === */
.industry-icon-features__header {
	max-width: 995px;
	margin: 0 auto 48px;
	text-align: center;
}

.industry-icon-features__heading {
    margin: 0 0 12px;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-cta-blue);
}

.industry-icon-features__subheading {
	margin: 0;
	color: #242424;
	text-align: center;
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.industry-icon-features__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr;
	max-width: 1174px;
}

@media (min-width: 768px) {
	.industry-icon-features__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.industry-icon-features__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	background: #fff;
	padding: 20px;
}

.industry-icon-features__icon {
	width: 150px;
	height: 146px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-icon-features__icon-img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

.industry-icon-features__title {
    margin: 0;
    color: #0047BB;
    text-align: center;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.industry-icon-features__copy {
	margin: 0;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
	line-height: 1.5;
}

.industry-icon-features__footer {
	max-width: 880px;
	margin: 48px auto 0;
	text-align: center;
}

.industry-icon-features__footer-text {
	margin: 0 0 24px;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
	line-height: 1.6;
}

.industry-icon-features__footer-text :last-child {
	margin-bottom: 0;
}

/* === 3.7 Media carousel === */

.industry-landing > .industry-media-carousel {
    padding: 0;
}

.industry-media-carousel__header {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 50px;
}

.industry-media-carousel__header-text {
	flex: 1 1 60%;
	min-width: 280px;
}

.industry-media-carousel__heading {
    margin: 0;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-cta-blue);
}

.industry-media-carousel__intro {
	margin-top: 12px;
	font-family: var(--il-font-body);
	font-size: var(--il-fs-body);
	color: var(--il-color-body);
	line-height: 1.5;
}

.industry-media-carousel__intro :last-child { margin-bottom: 0; }

.industry-media-carousel__viewport {
	position: relative;
}

/* image variant: full-width photo strip (Figma 5×384px, edge-to-edge); container goes full-width, header re-boxes to avoid 100vw scrollbar issue */
.industry-media-carousel--image .industry-media-carousel__container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.industry-media-carousel--image .industry-media-carousel__header {
	max-width: var(--il-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.industry-media-carousel--image .industry-media-carousel__header {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.industry-media-carousel--image .industry-media-carousel__viewport {
	overflow: hidden;
}

.industry-media-carousel__track:not(.slick-initialized) {
	display: flex;
	gap: 16px;
	overflow-x: auto;
}

.industry-media-carousel--image .industry-media-carousel__track:not(.slick-initialized) {
	gap: 0;
}

.industry-media-carousel__slide {
	padding: 0 8px;
	box-sizing: border-box;
}

.industry-media-carousel--image .industry-media-carousel__slide {
	padding: 0;
}

.industry-media-carousel__image {
	display: block;
	width: 100%;
	height: 373px;
	object-fit: cover;
	object-position: 0 50%
}

/* Image variant: each slide is a button + blue tint overlay; hover/focus lifts the tint; click opens shared lightbox modal */
.industry-media-carousel__slide-trigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	-webkit-appearance: none;
	appearance: none;
}

.industry-media-carousel__slide-trigger:focus {
	outline: none;
}

.industry-media-carousel__slide-trigger:focus-visible {
	outline: 3px solid var(--il-color-cta-blue);
	outline-offset: -3px;
}

.industry-media-carousel__tint {
	position: absolute;
	inset: 0;
	background-color: rgba(10, 40, 110, 0.5);
	pointer-events: none;
	transition: background-color 0.3s ease;
}

.industry-media-carousel__slide-trigger:hover .industry-media-carousel__tint,
.industry-media-carousel__slide-trigger:focus-visible .industry-media-carousel__tint {
	background-color: rgba(10, 40, 110, 0.1);
}

@media (prefers-reduced-motion: reduce) {
	.industry-media-carousel__tint { transition: none; }
}

@media (max-width: 768px) {
	.industry-media-carousel__image { height: 240px; }
}

/* caption variant uses the same card pattern as card-grid (re-uses .industry-card__chip styles) */
.industry-media-card {
	display: flex;
	flex-direction: column;
	background: var(--il-color-white);
}

.industry-media-card__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.industry-media-card__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 571 / 371;
}

.industry-media-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.industry-media-card__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px;
	background-color: var(--il-color-navy);
}

.industry-media-card__title {
	margin: 0;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(16px, 1.6vw, 22px);
	color: var(--il-color-white);
	line-height: 1.3;
}

/* Slick arrows: white button + brand-blue chevron + soft shadow (Figma node 8021:219). Hover keeps the white surface; only chevron color shifts. */
.industry-media-carousel .slick-arrow.industry-media-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--il-color-white);
	color: var(--il-color-navy);
	border: 0;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	z-index: 5;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.industry-media-carousel .slick-arrow.industry-media-carousel__arrow:hover,
.industry-media-carousel .slick-arrow.industry-media-carousel__arrow:focus {
	background-color: var(--il-color-white);
	color: var(--il-color-cta-blue);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* caption variant default — arrows sit just outside the boxed viewport */
.industry-media-carousel .industry-media-carousel__arrow--prev { left: -10px; }
.industry-media-carousel .industry-media-carousel__arrow--next { right: -10px; }

.industry-media-carousel .industry-media-carousel__arrow svg {
    width: 30px;
    height: 30px;
}

@media (min-width: 1200px) {
	.industry-media-carousel .industry-media-carousel__arrow--prev { left: -28px; }
	.industry-media-carousel .industry-media-carousel__arrow--next { right: -28px; }
	.industry-media-carousel .slick-arrow.industry-media-carousel__arrow {
		width: 65px;
		height: 65px;
	}
	.industry-media-card__title {
		width: 278px;
	}
}

/* image variant: arrows INSIDE the strip overlapping first/last photo (~95px from edge per Figma, fluid down to 16px) */
.industry-media-carousel--image .industry-media-carousel__arrow--prev,
.industry-media-carousel--image .industry-media-carousel__arrow--next {
	width: clamp(48px, 5vw, 70px);
	height: clamp(48px, 5vw, 70px);
}

.industry-media-carousel--image .industry-media-carousel__arrow--prev { left: clamp(16px, 5vw, 95px); }
.industry-media-carousel--image .industry-media-carousel__arrow--next { right: clamp(16px, 5vw, 95px); }

@media (min-width: 1200px) {
	.industry-media-carousel--image .industry-media-carousel__arrow--prev { left: clamp(24px, 5vw, 30px); }
	.industry-media-carousel--image .industry-media-carousel__arrow--next { right: clamp(24px, 5vw, 30px); }
}

.industry-media-carousel .slick-prev:before,
.industry-media-carousel .slick-next:before { content: none; }

/* ------------------------------------------------------------------
 * Caption variant — Figma node 8022:916 "A Comprehensive Fleet…"
 *
 * Boxed section (matches container width of other landing sections),
 * navy bar on each card with title + blue arrow chip, header row
 * with section heading + intro on the left and the CTA button +
 * external arrow nav on the right.
 * ------------------------------------------------------------------ */

/* Full-width section, no horizontal padding — slides bleed to the
 * screen edges just like the image-strip variant. The header re-boxes
 * inside its own max-width child (rule below) so the heading, intro
 * and CTA still align with the page's readable column.
 */
.industry-landing > .industry-media-carousel.industry-media-carousel--caption {
	padding: clamp(60px, 9vw, 130px) 0;
}

.industry-media-carousel--caption .industry-media-carousel__container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Header re-boxing — sits inside the full-width section but pulled
 * back to the standard container width with side gutters that match
 * other landing sections. */
.industry-media-carousel--caption .industry-media-carousel__header {
	max-width: var(--il-container-max);
	margin-left: auto;
	margin-right: auto;
	padding: 0 16px;
	box-sizing: border-box;
	align-items: flex-start;
	gap: 32px;
}

@media (min-width: 768px) {
	.industry-media-carousel--caption .industry-media-carousel__header {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* Viewport: full-bleed, no negative-margin trick anymore (the slide
 * padding handles inter-card spacing without bleeding past the
 * screen edges). */
.industry-media-carousel--caption .industry-media-carousel__viewport {
	overflow: hidden;
}

.industry-media-carousel__header-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
	flex-shrink: 0;
}

/* Shared solid CTA button (brand blue, white text, no radius — matches
 * Figma button style 8022:245 / 8022:949). Scoped to .industry-cta-btn
 * so any future section that wants this exact button can reuse it
 * without leaking into legacy theme buttons. */
.industry-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 14px;
	font-family: var(--il-font-button);
	font-weight: 800;
	font-size: var(--il-fs-body);
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.industry-cta-btn--solid {
	background-color: var(--il-color-cta-blue);
	color: var(--il-color-white);
}

.industry-cta-btn--solid:hover,
.industry-cta-btn--solid:focus {
	background-color: #141b4d;
	color: var(--il-color-white);
	text-decoration: none;
}

/* External nav slot — receives the prev/next arrows via Slick's
 * appendArrows (see initMediaCarousels in /js/industry-landing.js).
 * Slot is a flex container with a fixed gap so the two arrows sit
 * side-by-side under the CTA button. */
.industry-media-carousel__nav {
	display: flex;
	gap: 16px;
	align-items: center;
}

/* Caption-variant arrow override — small chevrons (no white pill /
 * shadow) sitting flush in the header. Reset the absolute positioning
 * that the shared rules establish for the image variant. */
.industry-media-carousel--caption .industry-media-carousel__nav .industry-media-carousel__arrow,
.industry-media-carousel--caption .industry-media-carousel__nav .slick-arrow.industry-media-carousel__arrow {
	position: static;
	transform: none;
	width: 22px;
	height: 32px;
	background: transparent;
	box-shadow: none;
	color: var(--il-color-navy);
	padding: 0;
	left: auto;
	right: auto;
}

.industry-media-carousel--caption .industry-media-carousel__nav .industry-media-carousel__arrow:hover,
.industry-media-carousel--caption .industry-media-carousel__nav .industry-media-carousel__arrow:focus {
	background: transparent;
	box-shadow: none;
	color: var(--il-color-cta-blue);
}

.industry-media-carousel--caption .industry-media-carousel__nav .industry-media-carousel__arrow svg {
	width: 18px;
	height: 28px;
}

/* Track padding: caption cards have an explicit gap between cards
 * (Figma 30px between cards). Slick handles the inter-slide spacing
 * via slide padding, so the slide wrapper gets symmetrical horizontal
 * padding that adds up to the desired gap. */
.industry-media-carousel--caption .industry-media-carousel__slide {
	padding: 0 15px;
}

.industry-media-carousel--caption .industry-media-carousel__viewport {
	margin-left: -15px;
	margin-right: -15px;
}

/* Card image footprint — 571×371 in Figma, fluid here so cards
 * shrink with the responsive Slick breakpoints. The aspect ratio
 * is already locked in the shared .industry-media-card__figure rule
 * above; this rule only sets the bg color behind transparent PNG
 * product shots (the green generator / blue cable rack etc.). */
.industry-media-card__figure {
	background-color: var(--il-color-white);
}

/* Caption variant — explicit height clamp on the figure. The
 * shared `aspect-ratio: 571 / 371` rule gets overridden when the
 * <img> ships with native width/height HTML attributes from
 * wp_get_attachment_image (the browser uses those as the box
 * size, ignoring the figure's aspect-ratio). Setting a concrete
 * height + neutralising the aspect-ratio inheritance keeps cards
 * at a consistent, readable height regardless of source image
 * dimensions. Image inside is forced to fill via !important so
 * the HTML width/height attributes can't push the figure taller. */
.industry-media-carousel--caption .industry-media-card__figure {
	aspect-ratio: auto;
	height: clamp(160px, 16vw, 260px);
	width: 100%;
}

.industry-media-carousel--caption .industry-media-card__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	display: block;
	padding: 30px;
}

/* Title bar — Figma uses #141b4d (deep navy, distinct from the
 * lighter --il-color-navy used elsewhere). Override the shared rule
 * here so the card-grid surface keeps its existing color. */
.industry-media-carousel--caption .industry-media-card__bar {
	background-color: #141b4d;
}

/* Blue arrow chip — small 43px square at the right end of the navy
 * bar. Hover bumps it to a deeper blue to show interactivity even
 * though the whole card is the actual link target. */
.industry-media-card__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 43px;
	height: 43px;
	background-color: var(--il-color-cta-blue);
	color: var(--il-color-white);
	transition: background-color 0.2s ease;
}

.industry-media-card__link:hover .industry-media-card__chip,
.industry-media-card__link:focus .industry-media-card__chip {
	background-color: #0034a0;
}

.industry-media-card__link {
	transition: transform 0.2s ease;
}

.industry-media-card__link:hover {
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.industry-media-card__link,
	.industry-media-card__chip { transition: none; }
	.industry-media-card__link:hover { transform: none; }
}

/* Stack the header into a single column on narrow viewports —
 * keeps the CTA + nav from squishing into the heading text. */
@media (max-width: 768px) {
	.industry-media-carousel--caption .industry-media-carousel__header {
		flex-direction: column;
		align-items: stretch;
	}
	.industry-media-carousel__header-actions {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

.page-template-template-industry-landing-php .three_boxes_blog {
    display: none;
}

/* === 3.9 Industry Video CTA (Figma node 8026:4 "About Trinity Power") — bg via --bg-watermark/gray/white modifier; 968×545 poster with white 60% tint + centered play button; click opens lightbox modal === */
.industry-video-cta {
	position: relative;
	padding: clamp(60px, 9vw, 130px) 16px;
	overflow: hidden;
	isolation: isolate;
	background-color: #eaeaea; /* sensible fallback, overridden by --bg-* below */
}

/* Background variants */
.industry-video-cta--bg-watermark { background-color: #eaeaea; }
.industry-video-cta--bg-gray      { background-color: #eaeaea; }
.industry-video-cta--bg-white     { background-color: #ffffff; }

/* Built-in Trinity Power watermark — auto-applied for --bg-watermark; exported from Figma node 8026:4 */
.industry-video-cta--bg-watermark::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url('../images/industry-video-cta-watermark.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* Suppress built-in watermark when editor uploads a custom override */
.industry-video-cta.has-custom-watermark::before {
	display: none;
}

/* Custom uploaded watermark — rendered as <img>, faded to ~7% opacity to match Figma default */
.industry-video-cta__watermark {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 1;
	overflow: hidden;
}

.industry-video-cta__watermark-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

@media (min-width: 768px) {
	.industry-video-cta {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.industry-video-cta__container {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 21px;
}

.industry-video-cta__heading {
    margin: 0;
    text-align: center;
    letter-spacing: 0.02em;
    font-family: var(--il-heading-font);
    font-weight: var(--il-heading-weight);
    font-size: var(--il-heading-size);
    line-height: var(--il-heading-line);
    text-transform: var(--il-heading-transform);
    color: var(--il-color-cta-blue);
}

.industry-video-cta__player {
	position: relative;
	display: block;
	width: 100%;
	max-width: 968px;
	aspect-ratio: 968 / 545;
	padding: 0;
	border: 0;
	background: var(--il-color-light-gray);
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-video-cta__player:hover,
.industry-video-cta__player:focus-visible {
	transform: scale(1.01);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.industry-video-cta__player:focus-visible {
	outline: 3px solid var(--il-color-blue);
	outline-offset: 4px;
}

.industry-video-cta__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Brand-blue tint over the poster — default ~55% (subdued), hover lifts it */
.industry-video-cta__tint {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 45, 0.28);
	pointer-events: none;
	transition: background-color 0.25s ease;
}

.industry-video-cta__player:hover .industry-video-cta__tint,
.industry-video-cta__player:focus-visible .industry-video-cta__tint {
	background-color: rgba(10, 40, 110, 0.18);
}

/* Flat blue square button — no drop-shadow per Figma. */
.industry-video-cta__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(64px, 9vw, 100px);
	height: clamp(64px, 9vw, 100px);
	background-color: var(--il-color-cta-blue);
	color: var(--il-color-white);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.industry-video-cta__player:hover .industry-video-cta__play,
.industry-video-cta__player:focus-visible .industry-video-cta__play {
	background-color: var(--il-color-cta-blue);
	transform: translate(-50%, -50%) scale(1.06);
}

/* SVG width sets triangle width directly (polygon fills viewBox); ~42% × 108px ≈ 45px per Figma */
.industry-video-cta__play svg {
	width: 40%;
	height: auto;
	margin-left: 8%;
	display: block;
}

/* === Video lightbox modal === appended to <body> on first launch by js/industry-landing.js; shared by all .js-industry-video-cta triggers */
.industry-video-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.industry-video-modal.is-open {
	display: flex;
}

.industry-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.85);
	cursor: pointer;
}

.industry-video-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1100px;
	aspect-ratio: 16 / 9;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.industry-video-modal__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
}

/* Image mode: same modal reused as lightbox — drops the 16:9 box + black chrome so dialog hugs the photo */
.industry-video-modal--image .industry-video-modal__dialog {
	aspect-ratio: auto;
	max-width: min(90vw, 1400px);
	max-height: 90vh;
	background: transparent;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-video-modal--image .industry-video-modal__slot {
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-video-modal__player-image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.industry-video-modal__close {
	position: absolute;
	top: -44px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	color: #fff;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.industry-video-modal__close:hover,
.industry-video-modal__close:focus-visible {
	transform: scale(1.15);
	outline: none;
}

.industry-video-modal__close svg {
	width: 100%;
	height: 100%;
}

/* Lock page scroll while modal is open — overflow:hidden on html+body, position:fixed body (JS sets inline top to preserve scroll). Needed for iOS Safari which ignores body overflow alone. */
html.industry-video-modal-open,
body.industry-video-modal-open {
	overflow: hidden;
	overscroll-behavior: none;
	touch-action: none;
}

body.industry-video-modal-open {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}

/* Re-enable scrolling INSIDE the modal (tall images in the lightbox variant) */
.industry-video-modal {
	touch-action: auto;
	overscroll-behavior: contain;
}

/* Mobile modal: tighter 12px padding, close button moves inside dialog at top-right with dark circle bg (matches YouTube/Vimeo native), 48×48 touch target (WCAG AAA) */
@media (max-width: 767px) {
	.industry-video-modal {
		padding: 12px;
	}

	.industry-video-modal__close {
		top: 8px;
		right: 8px;
		width: 48px;
		height: 48px;
		padding: 12px;
		background-color: rgba(0, 0, 0, 0.55);
		color: var(--il-color-white);
		border-radius: 50%;
		box-sizing: border-box;
	}

	.industry-video-modal__close:hover,
	.industry-video-modal__close:focus-visible {
		background-color: rgba(0, 0, 0, 0.75);
		transform: scale(1.05);
	}

	/* Image lightbox: close button sits over the image, not floating above */
	.industry-video-modal--image .industry-video-modal__close {
		top: 8px;
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.industry-video-cta__player,
	.industry-video-cta__play,
	.industry-video-cta__tint,
	.industry-video-modal__close {
		transition: none;
	}
}


/* =====================================================================
 * Industry Testimonials (CPT-powered) — Figma node 8022:1142
 * =====================================================================
 * Visual spec (electrical-contracting inner-landing page):
 *   - Section sits on a light gray band (#f5f5f5), full bleed.
 *   - Heading "WHAT OUR CLIENTS SAY" — uppercase, bold Montserrat
 *     34px, centered, color #0047bb (--il-color-cta-blue).
 *   - Cards are HORIZONTAL: large client photo on the LEFT (~45%
 *     of card), white body on the RIGHT with company logo at
 *     top, the quote in the middle, and Name + Company in a
 *     two-column row at the bottom.
 *   - One full card visible centered, with peeks of prev/next
 *     cards either side (Slick centerMode).
 *   - Single dot indicator below the cards — no arrow buttons in
 *     the Figma comp.
 *
 * Scope rules:
 *   - Everything is prefixed .industry-testimonials* or
 *     .industry-testimonial-card* so we don't collide with the
 *     homepage's .testimonial-card / .testimonials_section styles
 *     in css/style.css.
 *   - Section paints its own #f5f5f5 bg, so the
 *     industry-section--bg-white wrapper is intentionally bypassed
 *     here — see .industry-testimonials block-level bg below.
 * ===================================================================== */

.industry-testimonials {
	padding: clamp(48px, 6vw, 96px) 0;
	background-color: #f5f5f5;
}

/* Override the parent wrapper's bg utility — Figma wants this
 * section to always be light gray regardless of editor choice. */
.industry-section--bg-white > .industry-testimonials,
.industry-section--bg-gray  > .industry-testimonials {
	background-color: #f5f5f5;
}

/* Container is intentionally FULL-WIDTH — the carousel needs to
 * extend edge-to-edge so the prev/next card peeks reach the
 * viewport edges (Figma comp behavior at large screens). The
 * header still gets a boxed max-width below so the heading
 * stays readable. */
.industry-testimonials__container {
	max-width: none;
	margin: 0;
	padding: 0;
}

.industry-testimonials__header {
	max-width: 900px;
	margin: 0 auto clamp(28px, 4vw, 56px);
	padding: 0 24px;
	text-align: center;
}

.industry-testimonials__heading {
	margin: 0 0 12px;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.1;
	color: var(--il-color-cta-blue);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.industry-testimonials__description {
	margin: 12px 0 0;
	font-family: var(--il-font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--il-color-body);
}

/* ---- Carousel viewport ------------------------------------------- */

.industry-testimonials__viewport {
	position: relative;
}

/* Pre-Slick paint: hide overflow so a horizontal row of wide cards
 * doesn't flash-stack vertically before init. Slick replaces this
 * with its own positioning once boot completes. */
.industry-testimonials__track:not(.slick-initialized) {
	display: flex;
	flex-wrap: nowrap;
	gap: 24px;
	overflow: hidden;
}

.industry-testimonials__track:not(.slick-initialized) .industry-testimonials__slide {
	flex: 0 0 70%;
	min-width: 0;
}

.industry-testimonials__slide {
	padding: 16px 12px 24px;
	height: auto;
	display: flex;
	justify-content: center; /* center the card inside its slide when slide is wider than the card cap */
}

/* Slick wraps slides in .slick-slide — stretch them to equal
 * height so every card matches the tallest one. */
.industry-testimonials .slick-track {
	display: flex;
}

.industry-testimonials .slick-slide {
	height: auto;
	display: flex;
}

.industry-testimonials .slick-slide > div {
	width: 100%;
	display: flex;
}

/* Hide arrows — Figma only shows the dot pager. JS still mounts
 * them as a fallback for keyboard nav but they're visually muted. */
.industry-testimonials .slick-prev,
.industry-testimonials .slick-next {
	display: none !important;
}

.industry-testimonials .slick-dots {
	position: relative;
	bottom: 0;
	margin-top: 16px;
	padding: 0;
	list-style: none;
	display: flex !important;
	justify-content: center;
	gap: 8px;
}

.industry-testimonials .slick-dots li {
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	display: inline-flex;
}

.industry-testimonials .slick-dots li button {
	width: 20px;
	height: 20px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	/* Slick prints the slide number ("1", "2", "3") inside each
	 * button. We zero the text out so only the colored circle
	 * pseudo-element renders. */
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-indent: -9999px;
	overflow: hidden;
}

.industry-testimonials .slick-dots li button:focus {
	outline: 2px solid rgba(0, 71, 187, 0.4);
	outline-offset: 2px;
}

.industry-testimonials .slick-dots li button:before {
    content: "";
    position: static;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0px;
    border-radius: 50%;
	background: rgba(0, 71, 187, 0.33);
    opacity: 1;
    text-indent: 0;
    font-size: 0;
}

.industry-testimonials .slick-dots li.slick-active button:before {
	background: var(--il-color-cta-blue);
}

/* ---- Card -------------------------------------------------------- */

/* Cap card width so the carousel can run full-bleed at any
 * viewport without inflating individual cards. ~800px matches
 * the Figma comp and keeps the photo+body proportions intact.
 * height is also capped via min/max so super-tall portrait
 * photos don't push the body block too tall. */
.industry-testimonial-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	max-width: 800px;
	min-height: 300px;
	max-height: 340px;
	background: var(--il-color-white);
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(25, 36, 86, 0.06);
}

/* Photo: full-bleed left column. Object-fit: cover so portraits
 * crop tastefully regardless of source aspect ratio. */
.industry-testimonial-card__media {
	flex: 0 0 45%;
	max-width: 45%;
	position: relative;
	overflow: hidden;
	background: var(--il-color-light-gray);
}

.industry-testimonial-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* No-media variant — body takes full width so we don't have a
 * weird empty left rail when an editor uploads a testimonial
 * without a profile picture. */
.industry-testimonial-card--no-media .industry-testimonial-card__body {
	flex-basis: 100%;
	max-width: 100%;
}

.industry-testimonial-card__body {
	flex: 1 1 55%;
	max-width: 55%;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(24px, 3vw, 48px);
}

.industry-testimonial-card__logo {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-testimonial-card__logo img {
	max-height: 100%;
	max-width: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.industry-testimonial-card__content {
	margin: 0;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	padding: 0;
}

blockquote.industry-testimonial-card__content {
    border: none;
}

.industry-testimonial-card__content p {
	margin: 0;
	font-family: var(--il-font-heading);
	color: var(--il-color-body);
	font-size: 16px;
	line-height: 1.55;
}

.industry-testimonial-card__attribution {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    align-items: center;
    justify-items: stretch;
    flex-direction: row;
    justify-content: space-between;
}

.industry-testimonial-card__name {
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: 15px;
	color: #000;
	line-height: 1.2;
}

.industry-testimonial-card__company {
    font-family: var(--il-font-heading);
    font-weight: 700;
    font-size: 15px;
	color: #000;
    line-height: 1.2;
}

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

.industry-testimonials__footer {
	margin-top: clamp(24px, 4vw, 48px);
	text-align: center;
}

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

@media (max-width: 992px) {
	.industry-testimonial-card__media {
		flex-basis: 40%;
		max-width: 40%;
	}
	.industry-testimonial-card__body {
		flex-basis: 60%;
		max-width: 60%;
		padding: 24px;
	}
	.industry-testimonial-card__logo {
		height: 48px;
	}
}

@media (max-width: 768px) {
	.industry-testimonials {
		padding: 48px 0;
	}
	.industry-testimonials__track:not(.slick-initialized) {
		flex-wrap: wrap;
		gap: 16px;
	}
	.industry-testimonials__track:not(.slick-initialized) .industry-testimonials__slide {
		flex-basis: 100%;
	}
	.industry-testimonial-card {
		flex-direction: column;
		min-height: 0;
		max-height: 100%;
	}
	.industry-testimonial-card__media,
	.industry-testimonial-card__body {
		flex-basis: 60%;
		max-width: 100%;
	}
	.industry-testimonial-card__media {
		height: 500px;
	}
	.industry-testimonial-card__media img {
		min-height: 0;
		height: 100%;
	}
	.industry-testimonial-card__logo {
		justify-content: flex-start;
	}
	.industry-testimonial-card__attribution {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}


/* =====================================================================
 * Industry CTA / Form — 'contact' variant (Figma node 8022:1214)
 * =====================================================================
 * Two-column section: form on the left (header icon + heading +
 * intro + Gravity Form), stacked info cards on the right (each
 * card = icon + heading + optional description + button).
 *
 * Section bg is the soft blue-tinted #eff2f9 from the comp;
 * intentionally overrides any background_image / overlay paint
 * the parent block would otherwise apply.
 * ===================================================================== */

.industry-cta-form--contact {
	padding: clamp(64px, 10vw, 130px) 0;
	color: var(--il-color-body);
}

.industry-landing > section.industry-cta-form.industry-cta-form--contact.industry-cta-form--contact-bg-softblue {
	background-color: #eff2f9;
}

.industry-landing > section.industry-cta-form.industry-cta-form--contact.industry-cta-form--contact-bg-white {
	background-color: var(--il-color-white);
}

.industry-landing > section.industry-cta-form.industry-cta-form--contact.industry-cta-form--contact-bg-gray {
	background-color: var(--il-color-light-gray);
}

/* When the editor picks 'image', the section background image is
 * rendered by the partial inside .industry-cta-form__bg and a
 * dimming overlay sits above it so form labels stay readable. */
.industry-landing > section.industry-cta-form.industry-cta-form--contact.industry-cta-form--contact-bg-image {
	background-color: var(--il-color-navy);
}

.industry-cta-form--contact-bg-image .industry-cta-form__overlay {
	background: rgba(25, 36, 86, 0.55);
}

/* On image bg, lighten the body / intro text so it reads against
 * a tinted photo. Headings stay blue per Figma. */
.industry-cta-form--contact-bg-image .industry-cta-form__contact-intro {
	color: var(--il-color-white);
}

/* White background variant — inputs need a visible edge since
 * their fill is also white. Add a subtle 1px border that doesn't
 * appear on the colored backgrounds. */
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact input[type="text"],
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact input[type="email"],
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact input[type="tel"],
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact input[type="url"],
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact input[type="number"],
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact select,
.industry-cta-form--contact-bg-white .industry-cta-form__form--contact textarea {
	border: 1px solid #d8dde6;
}

.industry-cta-form--contact .industry-cta-form__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.industry-cta-form__contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

/* ---- Left column: form ------------------------------------------- */

.industry-cta-form__contact-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 560px;
	width: 100%;
	margin-left: auto; /* pull form to the right edge of its column to align under "How Can We Help?" centered header */
	margin-right: auto;
}

.industry-cta-form__contact-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.industry-cta-form__contact-icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-cta-form__contact-icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
}

.industry-cta-form__contact-heading {
	margin: 0;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(22px, 2.5vw, 26px);
	line-height: 1.2;
	color: var(--il-color-cta-blue);
	text-transform: none;
}

.industry-cta-form__contact-intro {
	margin: 0;
	max-width: 440px;
	font-family: var(--il-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--il-color-body);
}

/* Form field styles — scoped so they apply to whatever the GF /
 * CF7 / generic shortcode renders inside .industry-cta-form__form--contact.
 * Selectors are intentionally permissive (input, select, textarea)
 * because each plugin emits different wrappers, but the visual
 * tokens (white bg, 5px radius, 31px x-padding, 61px height,
 * blue label) come straight from the Figma spec. */

.industry-cta-form__form--contact {
	display: block;
}

.industry-cta-form__form--contact .gform_wrapper,
.industry-cta-form__form--contact form {
	margin: 0;
}

.industry-cta-form__form--contact .gform_fields,
.industry-cta-form__form--contact ul.gform_fields {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 20px;
}

.industry-cta-form textarea {
    padding-top: 0 !important;
}

/* Single-column fields (email, phone, province, message) — make
 * them span the full row. GF marks single-col fields with
 * .gfield--width-full; we also target common name fields by
 * type to keep the first/last name pair side-by-side. */
.industry-cta-form__form--contact .gfield,
.industry-cta-form__form--contact .gfield--width-full,
.industry-cta-form__form--contact li.gfield {
	grid-column: 1 / -1;
	margin: 0 !important;
	padding: 0 !important;
}

.industry-cta-form__form--contact .gfield--width-half {
	grid-column: span 1;
}

/* Labels — selector is intentionally longer than the legacy
 * `.industry-cta-form label.gform-field-label { color:#FFF }` rule
 * earlier in this file (specificity 0,2,1). We chain three classes
 * + element so this wins at (0,4,1) regardless of source order. */
.industry-cta-form--contact .industry-cta-form__form--contact .gfield_label,
.industry-cta-form--contact .industry-cta-form__form--contact label,
.industry-cta-form--contact .industry-cta-form__form--contact label.gform-field-label {
	display: block;
	font-family: var(--il-font-heading);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	color: var(--il-color-cta-blue);
	margin: 0 0 10px;
}

.industry-cta-form--contact .industry-cta-form__form--contact .gfield_required,
.industry-cta-form--contact .industry-cta-form__form--contact .gfield_required_text,
.industry-cta-form--contact .industry-cta-form__form--contact .required,
.industry-cta-form--contact .industry-cta-form__form--contact .gfield_label .gfield_required,
.industry-cta-form--contact .industry-cta-form__form--contact label .gfield_required {
	color: var(--il-color-error) !important;
	margin-left: 2px;
}

.industry-cta-form__form--contact input[type="text"],
.industry-cta-form__form--contact input[type="email"],
.industry-cta-form__form--contact input[type="tel"],
.industry-cta-form__form--contact input[type="url"],
.industry-cta-form__form--contact input[type="number"],
.industry-cta-form__form--contact select,
.industry-cta-form__form--contact textarea {
	width: 100%;
	min-height: 61px;
	padding: 10px 31px;
	background: var(--il-color-white);
	border: 0;
	border-radius: 5px;
	font-family: var(--il-font-heading);
	font-weight: 600;
	font-size: 16px;
	color: #000;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.industry-cta-form__form--contact textarea {
	min-height: 165px;
	padding: 25px 31px;
	line-height: 1.5;
	resize: vertical;
}

.industry-cta-form__form--contact select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23242424'><path d='M6 8L0 0h12z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 24px center;
	background-size: 12px 8px;
	padding-right: 56px;
}

.industry-cta-form__form--contact input::placeholder,
.industry-cta-form__form--contact textarea::placeholder {
	color: #000;
	opacity: 1;
	font-weight: 600;
}

/* Footer wrapper — legacy `.industry-cta-form .gform_footer {
 * display: inline-block !important }` earlier in this file shrinks
 * the wrapper to the button's natural width, which prevents
 * `width: 100%` on the button from doing anything. Override with
 * matching `!important` and bump width/display to block. */
.industry-cta-form--contact .industry-cta-form__form--contact .gform_footer,
.industry-cta-form--contact .industry-cta-form__form--contact .gform-footer,
.industry-cta-form--contact .industry-cta-form__form--contact .gform_button_container {
	display: block !important;
	width: 100% !important;
	padding: 0 !important;
}

/* SEND button — full-width Figma block. Width / display use
 * !important because the legacy `.industry-cta-form .gform_button`
 * rule sets background/color with !important but ignores width,
 * and a few GF / theme combos add auto-margin or inline-block. */
.industry-cta-form--contact .industry-cta-form__form--contact .gform_button,
.industry-cta-form--contact .industry-cta-form__form--contact button[type="submit"],
.industry-cta-form--contact .industry-cta-form__form--contact input[type="submit"] {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box;
	padding: 16px 14px !important;
	margin: 0 !important;
	background: var(--il-color-cta-blue) !important;
	color: var(--il-color-white) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--il-font-button) !important;
	font-weight: 800 !important;
	font-size: 16px !important;
	line-height: 1 !important;
	text-align: center !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.industry-cta-form--contact .industry-cta-form__form--contact .gform_button:hover,
.industry-cta-form--contact .industry-cta-form__form--contact button[type="submit"]:hover,
.industry-cta-form--contact .industry-cta-form__form--contact input[type="submit"]:hover {
	background: var(--il-color-navy) !important;
}

/* ---- Right column: info cards ------------------------------------ */

.industry-cta-form__contact-cards {
	display: flex;
	flex-direction: column;
	gap: 55px;
	max-width: 571px;
	width: 100%;
}

.industry-info-card {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background: transparent;
}

.industry-info-card__head {
	display: flex;
	align-items: center;
	gap: 26px;
}

.industry-info-card__icon {
	flex: 0 0 auto;
	width: 75px;
	height: 75px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.industry-info-card__icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.industry-info-card__heading {
	margin: 0;
	flex: 1 1 auto;
	font-family: var(--il-font-heading);
	font-weight: 700;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.2;
	color: var(--il-color-cta-blue);
	text-transform: none;
}

.industry-info-card__description {
	margin: 0;
	font-family: var(--il-font-body);
	font-size: 16px;
	line-height: 1.55;
	color: var(--il-color-body);
}

.industry-info-card__btn {
	align-self: flex-start;
	min-width: 0;
	text-align: center;
}

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

@media (max-width: 992px) {
	.industry-cta-form__contact-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}
	.industry-cta-form__contact-form,
	.industry-cta-form__contact-cards {
		max-width: 100%;
		margin: 0 auto;
	}
	.industry-cta-form__contact-cards {
		gap: 40px;
	}
}

@media (max-width: 600px) {
	.industry-cta-form--contact {
		padding: 56px 0;
	}
	.industry-cta-form__form--contact .gform_fields,
	.industry-cta-form__form--contact ul.gform_fields {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.industry-cta-form__form--contact .gfield--width-half {
		grid-column: 1 / -1;
	}
	.industry-info-card__head {
		gap: 16px;
	}
	.industry-info-card__icon {
		width: 56px;
		height: 56px;
	}
	.industry-cta-form__form--contact .gform_fields,
	.industry-cta-form__form--contact ul.gform_fields {
		grid-template-columns: 1fr 1fr !important;
	}
}

.industry-card-grid--case-study .industry-card-grid__item {
	min-width: 0;
}

.industry-card-grid__item > .industry-card--has-detail {
	height: 100%;
	min-width: 0;
	max-width: 100%;
}

.industry-card--has-detail > .industry-card__link {
	height: 100%;
	min-width: 0;
	max-width: 100%;
}

.industry-card--has-detail > .industry-card__bar,
.industry-card--has-detail > .industry-card__link > .industry-card__bar {
	flex: 1 1 auto;
}

@media (max-width: 767px) {
	.industry-card--has-detail .industry-card__detail {
		position: static;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: none;
		flex: 1 1 auto;
		padding: 24px 22px 22px;
	}

	.industry-card--has-detail .industry-card__bar,
	.industry-card--has-detail .industry-card__figure-tint {
		display: none;
	}

	.industry-card--has-detail .industry-card__figure {
		aspect-ratio: 571 / 254;
	}

	.industry-card--has-detail .industry-card__detail-chip {
		margin-top: auto;
		align-self: flex-end;
	}
}