/*
 * A.T.E. HUBER section blocks. Measurements from Figma, page "Final":
 * Municipal product page (RakeMax) and Municipal category page (Bar screens).
 * Colours use the theme presets with the Figma values as fallbacks.
 */

.ahet-hero,
.ahet-section,
.ahet-anchors,
.ahet-variants,
.ahet-cards,
.ahet-media,
.ahet-downloads,
.ahet-child-cards {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

/* Buttons --------------------------------------------------------------- */

.ahet-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ahet-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ahet-btn--primary {
	background: var(--ahet-red, #e01b22);
	color: #fff;
}

.ahet-btn--primary:hover {
	background: #b8151b;
	color: #fff;
	text-decoration: none;
}

.ahet-btn--outline {
	border-color: var(--ahet-red, #e01b22);
	color: var(--ahet-red, #e01b22);
}

.ahet-btn--outline:hover {
	background: var(--ahet-red, #e01b22);
	color: #fff;
	text-decoration: none;
}

.ahet-btn:focus-visible,
.ahet-anchors a:focus-visible,
.ahet-variants__tab:focus-visible,
.ahet-media__play:focus-visible,
.ahet-downloads__action:focus-visible,
.ahet-child-card__link:focus-visible {
	outline: 2px solid var(--ahet-blue, #219dd9);
	outline-offset: 2px;
}

/* Breadcrumb ------------------------------------------------------------ */

.ahet-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ahet-slate, #5a7885);
	font-size: 12px;
	line-height: 1.5;
}

.ahet-breadcrumb li + li::before {
	content: "/";
	margin: 0 0.35em;
}

.ahet-breadcrumb a {
	color: inherit;
}

/* Hero ------------------------------------------------------------------ */

.ahet-hero {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 48px 0 56px;
}

.ahet-hero__text {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.ahet-hero__title {
	margin: 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: clamp(30px, 3.2vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

.ahet-hero__lead {
	max-width: 760px;
	margin: 0;
	color: var(--ahet-ink, #2b2a28);
	font-size: 15px;
	line-height: 1.5;
}

.ahet-hero:not(.ahet-hero--with-image) .ahet-hero__lead {
	font-size: 18px;
}

.ahet-hero .ahet-buttons {
	margin-top: 0;
}

.ahet-hero__media {
	flex: 0 0 480px;
	max-width: 100%;
}

.ahet-hero__img {
	display: block;
	width: 100%;
	height: 300px;
	border-radius: 12px;
	object-fit: cover;
}

/* Anchor bar: full width, sticks under the top of the window. */
.ahet-anchors {
	position: sticky;
	top: var(--ahet-header-space, 0px);
	z-index: 5;
	isolation: isolate;
	background: #fff;
}

.wp-block-post-content > .ahet-anchors {
	margin-block-start: 0;
}

.ahet-anchors::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 calc(50% - 50vw);
	border-bottom: 1px solid rgb(14 46 84 / 12%);
	background: #fff;
}

/* 55 px from the anchor bar, or from a hero (which has its own bottom padding), to the next section. */
.wp-block-post-content > .ahet-anchors + section,
.wp-block-post-content > .ahet-hero + section {
	margin-block-start: calc(var(--wp--preset--spacing--section, 110px) / 2);
}

.ahet-anchors ul {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.ahet-anchors a {
	display: block;
	padding: 14px 0 12px;
	border-bottom: 2px solid transparent;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
}

.ahet-anchors a:hover,
.ahet-anchors a.is-current {
	border-bottom-color: var(--ahet-red, #e01b22);
	color: var(--ahet-red, #e01b22);
	text-decoration: none;
}

/* Sections -------------------------------------------------------------- */

.ahet-section {
	scroll-margin-top: 72px;
}

.ahet-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.ahet-section__titles {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ahet-section .ahet-eyebrow {
	margin: 0;
	color: var(--ahet-blue, #219dd9);
	font-size: 14px;
	line-height: 1.5;
	text-transform: uppercase;
}

.ahet-section__heading {
	margin: 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
}

.ahet-section__aside {
	max-width: 441px;
	margin: 0;
	color: var(--ahet-slate, #5a7885);
	font-size: 13px;
	line-height: 1.5;
	text-align: right;
}

.ahet-section__body > :first-child {
	margin-top: 0;
}

.ahet-section__body > :last-child {
	margin-bottom: 0;
}

/* Heading on the left: 300 px heading, then the content columns. */
.ahet-section--split {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 40px;
}

.ahet-section--split .ahet-section__head {
	align-items: flex-start;
	margin-bottom: 0;
}

.ahet-section--split .ahet-section__body .wp-block-columns {
	gap: 40px;
	margin: 0;
}

.ahet-section--split .ahet-section__body p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
}

/* Light blue band behind the section, full width, 55 px above and below. */
.ahet-section--tint {
	position: relative;
	isolation: isolate;
}

.ahet-section--tint::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: calc(var(--wp--preset--spacing--section, 110px) / -2) calc(50% - 50vw);
	background: linear-gradient(180deg, #fff 0%, var(--ahet-ice, #cbe9ef) 100%);
}

/* Variants -------------------------------------------------------------- */

.ahet-variants__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 20px;
}

.ahet-variants__tab {
	padding: 9px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
}

.ahet-variants__tab[aria-selected="true"] {
	padding-inline: 18px;
	background: var(--ahet-navy, #0e2e54);
	color: #fff;
}

.ahet-variants__panel {
	display: flex;
	align-items: flex-end;
	gap: 32px;
	padding: 28px 32px;
	border-radius: 12px;
	background: var(--ahet-navy, #0e2e54);
	color: #fff;
}

.ahet-variants__panel[hidden] {
	display: none;
}

.ahet-variants:not(.is-enhanced) .ahet-variants__panel + .ahet-variants__panel {
	margin-top: 12px;
}

.ahet-variants__text {
	flex: 1 1 0;
	min-width: 0;
}

.ahet-variants__name {
	margin: 0 0 10px;
	color: #fff;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.5;
}

.ahet-variants__text p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

/* On wide screens the tabs sit level with the section heading, as in the design. */
/* 59 px = tab height (39) + gap under the heading (20). */
@media (min-width: 782px) {
	.ahet-section__body > .ahet-variants > .ahet-variants__tabs {
		width: fit-content;
		max-width: 60%;
		margin: -59px 0 20px auto;
	}
}

/* Cards ----------------------------------------------------------------- */

.ahet-cards {
	display: grid;
	grid-template-columns: repeat(var(--ahet-columns, 4), minmax(0, 1fr));
	gap: 16px;
}

.ahet-card {
	padding: 16px 14px;
	border-radius: 10px;
	background: #fff;
}

.ahet-card__title {
	margin: 0 0 8px;
	color: var(--ahet-red, #e01b22);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.ahet-card__text {
	margin: 0;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.5;
}

.ahet-section--plain .ahet-card {
	box-shadow: 0 0 0 1px rgb(14 46 84 / 8%);
}

/* Media ----------------------------------------------------------------- */

.ahet-media {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ahet-media__item {
	margin: 0;
}

.ahet-media__frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 336 / 360;
	overflow: hidden;
	border-radius: 18px;
	background: var(--ahet-navy, #0e2e54);
}

.ahet-media__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(14 46 84 / 15%) 0%, rgb(14 46 84 / 80%) 100%);
	pointer-events: none;
}

.ahet-media__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahet-media__play {
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: url("../images/play.svg") center / contain no-repeat;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.ahet-media__play:hover {
	transform: scale(1.06);
}

.ahet-media__title {
	position: absolute;
	z-index: 1;
	right: 24px;
	bottom: 24px;
	left: 24px;
	margin: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.ahet-media__frame.is-playing::after,
.ahet-media__frame.is-playing .ahet-media__title {
	display: none;
}

.ahet-media__iframe {
	position: absolute;
	z-index: 2;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ahet-media__caption {
	margin: 8px 0 0;
	color: var(--ahet-slate, #5a7885);
	font-size: 13px;
	line-height: 1.5;
}

/* Downloads ------------------------------------------------------------- */

.ahet-downloads {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid rgb(33 157 217 / 50%);
}

.ahet-downloads__row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 14px 8px;
	border-top: 1px solid rgb(33 157 217 / 50%);
	line-height: 1.5;
}

.ahet-downloads__label {
	flex: 1 1 0;
	min-width: 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	font-weight: 600;
}

.ahet-downloads__note {
	flex: 0 0 140px;
	color: var(--ahet-slate, #5a7885);
	font-size: 13px;
}

.ahet-downloads__action {
	flex: 0 0 110px;
	color: var(--ahet-red, #e01b22);
	font-size: 13px;
}

/* Product cards on a category page -------------------------------------- */

.ahet-child-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-child-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-child-card__img {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.ahet-child-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 12px 14px;
}

.ahet-child-card__title {
	margin: 0 0 6px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

.ahet-child-card__text {
	margin: 0 0 16px;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.5;
}

.ahet-child-card__link {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--ahet-navy, #0e2e54);
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
}

/* Phones and small tablets ---------------------------------------------- */

@media (max-width: 781px) {
	.ahet-hero {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 32px 0 40px;
	}

	.ahet-hero__media {
		flex-basis: auto;
	}

	.ahet-hero__img {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.ahet-section__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.ahet-section__aside {
		text-align: left;
	}

	.ahet-section--split {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.ahet-variants__tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.ahet-variants__panel {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px 20px;
	}

	.ahet-variants__panel .ahet-btn {
		white-space: normal;
		text-align: center;
	}

	.ahet-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-media {
		display: flex;
		gap: 12px;
		margin-inline: -16px;
		padding-inline: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.ahet-media__item {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.ahet-downloads__row {
		flex-wrap: wrap;
		gap: 4px 16px;
	}

	.ahet-downloads__label {
		flex-basis: 100%;
	}

	.ahet-downloads__note,
	.ahet-downloads__action {
		flex-basis: auto;
	}

	.ahet-child-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 782px) and (max-width: 1080px) {
	.ahet-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ahet-hero__media {
		flex-basis: 40%;
	}
}

/* Editor only ----------------------------------------------------------- */

.ahet-editor-note {
	color: var(--ahet-slate, #5a7885);
	font-size: 12px;
	font-style: italic;
}

.ahet-variants__tab-label {
	display: inline-block;
	margin: 0 0 8px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54);
	font-size: 12px;
	font-weight: 600;
}

.ahet-editor-media {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}

.ahet-editor-media img {
	width: 100%;
}

.ahet-variants-editor > .block-editor-inner-blocks > .block-editor-block-list__layout > * + * {
	margin-top: 12px;
}

/* =======================================================================
 * Homepage sections. Measurements from Figma, page "Final",
 * "Homepage (updated 28 Nov)".
 * ===================================================================== */

.ahet-stats,
.ahet-tiles,
.ahet-industries,
.ahet-promos,
.ahet-band,
.ahet-ipads,
.ahet-link-cards,
.ahet-testimonials,
.ahet-logos {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

/* Section with a large title and a rule ------------------------------- */

/* A page that opens with a section (no hero) gets 55 px under the header. */
.wp-block-post-content > .ahet-section.ahet-section--row:first-child {
	margin-block-start: calc(var(--wp--preset--spacing--section, 110px) / 2);
}

.ahet-section--row .ahet-section__head {
	align-items: center;
	gap: 20px;
	margin-bottom: 32px;
}

/* One section heading size on every page: 30px (Chandni, 2 Dec 2026). */
.ahet-section--row .ahet-section__heading {
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 500;
	line-height: 1.2;
}

.ahet-section__rule {
	flex: 1 1 auto;
	min-width: 24px;
	height: 1px;
	background: var(--ahet-navy, #0e2e54);
	opacity: 0.35;
}

.ahet-section--row .ahet-section__aside {
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	line-height: 1.27;
	white-space: nowrap;
}

/* Numbers ------------------------------------------------------------- */

.ahet-stats {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-stat p {
	margin: 0;
}

.ahet-stats--outlined {
	overflow: hidden;
	border: 1px solid var(--ahet-sky, #8cc1da);
	border-radius: 18px;
}

.ahet-stats--outlined .ahet-stat {
	padding: 40px 20px 40px 29px;
}

.ahet-stats--outlined .ahet-stat + .ahet-stat {
	border-left: 1px solid var(--ahet-sky, #8cc1da);
}

.ahet-stat__icon {
	display: block;
	width: 75px;
	height: 75px;
	margin-bottom: 22px;
	object-fit: contain;
}

.ahet-stats--outlined .ahet-stat__value {
	color: var(--ahet-red, #e01b22);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
}

.ahet-stats--outlined .ahet-stat__label {
	max-width: 160px;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.27;
}

.ahet-stats--tiles {
	gap: 16px;
}

.ahet-stats--tiles .ahet-stat {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-height: 174px;
	padding: 0 16px;
	border-radius: 18px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-stats--tiles .ahet-stat__value {
	color: var(--ahet-blue, #219dd9);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 500;
	line-height: 1.2;
}

.ahet-stats--tiles .ahet-stat__label {
	color: var(--ahet-navy, #0e2e54);
	font-size: 16px;
	line-height: 1.5;
}

/* Photo tiles --------------------------------------------------------- */

.ahet-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ahet-tile {
	--ahet-tone: var(--ahet-navy, #0e2e54);
	position: relative;
	display: block;
	height: 485px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--ahet-tone);
	color: #fff;
	text-decoration: none;
}

.ahet-tile--blue {
	--ahet-tone: var(--ahet-blue, #219dd9);
}

/* The photo fills the whole tile under the fade, so the hover zoom never shows an edge. */
.ahet-tile__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.4s ease;
}

/* Fade to the tile colour, solid from where the text starts (361 of 485 px in the design). */
.ahet-tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 48%, var(--ahet-tone) 74%);
	pointer-events: none;
}

.ahet-tile__text {
	position: absolute;
	z-index: 1;
	right: 100px;
	bottom: 26px;
	left: 34px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ahet-tile__eyebrow {
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ahet-tile__title {
	font-size: 24px;
	line-height: 1.3;
}

.ahet-tile__desc {
	font-size: 14px;
	line-height: 1.27;
}

.ahet-tile__arrow {
	position: absolute;
	z-index: 1;
	right: 19px;
	bottom: 26px;
	width: 43px;
	height: 43px;
	background: url("../images/arrow-circle.svg") center / contain no-repeat;
	transition: transform 0.2s ease;
}

a.ahet-tile:hover,
a.ahet-tile:focus-visible {
	color: #fff;
	text-decoration: none;
}

a.ahet-tile:hover .ahet-tile__img {
	transform: scale(1.03);
}

a.ahet-tile:hover .ahet-tile__arrow {
	transform: translateX(4px);
}

a.ahet-tile:focus-visible {
	outline: 2px solid var(--ahet-blue, #219dd9);
	outline-offset: 3px;
}

/* Industry picker ----------------------------------------------------- */

.ahet-industries {
	display: grid;
	grid-template-columns: minmax(0, 515fr) minmax(0, 497fr);
	gap: 31px;
	align-items: start;
}

.ahet-industries__media {
	position: relative;
	height: 485px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--ahet-navy, #0e2e54);
}

.ahet-industries__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.ahet-industries__slide.is-active {
	opacity: 1;
}

.ahet-industries__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(90 120 133 / 0%) 0%, #2b2a28 100%);
	mix-blend-mode: multiply;
}

.ahet-industries__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahet-industries__name,
.ahet-industries__caption {
	position: absolute;
	z-index: 1;
	left: 34px;
	right: 34px;
	margin: 0;
}

.ahet-industries__name {
	bottom: 86px;
	color: var(--ahet-blue, #219dd9);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
}

.ahet-industries__caption {
	bottom: 34px;
	max-width: 450px;
	color: #fff;
	font-size: 14px;
	line-height: 1.27;
}

.ahet-industries__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ahet-blue, #219dd9);
}

.ahet-industries__row {
	border-bottom: 1px solid var(--ahet-blue, #219dd9);
}

.ahet-industries__row a {
	display: flex;
	align-items: center;
	min-height: 59px;
	padding: 0 24px 0 12px;
	color: var(--ahet-slate, #5a7885);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ahet-industries__index {
	flex: 0 0 33px;
	font-size: 14px;
	line-height: 1.27;
}

.ahet-industries__label {
	flex: 1 1 auto;
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.3;
}

.ahet-industries__arrow {
	flex: 0 0 16px;
	height: 10px;
	background: url("../images/arrow-red.svg") center / contain no-repeat;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ahet-industries__row.is-active a,
.ahet-industries__row a:focus-visible {
	background: #fff;
	color: var(--ahet-navy, #0e2e54);
}

.ahet-industries__row.is-active .ahet-industries__index {
	color: var(--ahet-ink, #2b2a28);
}

.ahet-industries__row.is-active .ahet-industries__arrow {
	opacity: 1;
}

.ahet-industries__row a:focus-visible {
	outline: 2px solid var(--ahet-blue, #219dd9);
	outline-offset: -2px;
}

/* Promo cards (Sludge Management) ------------------------------------- */

.ahet-promos {
	display: grid;
	grid-template-columns: minmax(0, 687fr) minmax(0, 331fr);
	gap: 15px 20px;
}

.ahet-promo {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
}

.ahet-promo p,
.ahet-promo h3 {
	margin: 0;
}

.ahet-promo--feature {
	min-height: 263px;
	padding: 34px 29px 28px;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54);
}

.ahet-promo--feature .ahet-promo__img {
	position: absolute;
	top: 11px;
	right: 17px;
	width: 53%;
	height: calc(100% - 22px);
	object-fit: contain;
	mix-blend-mode: multiply;
}

.ahet-promo--feature .ahet-promo__text {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 260px;
	height: 100%;
}

.ahet-promo--feature .ahet-promo__eyebrow {
	font-size: 12px;
	line-height: 1.5;
}

.ahet-promo--feature .ahet-promo__title {
	color: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
}

.ahet-promo__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 24px;
	color: var(--ahet-red, #e01b22);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.ahet-promo__link::after {
	content: "";
	width: 18px;
	height: 11px;
	background: url("../images/arrow-long.svg") center / contain no-repeat;
	transition: transform 0.2s ease;
}

.ahet-promo__link:hover {
	color: var(--ahet-red, #e01b22);
}

.ahet-promo__link:hover::after {
	transform: translateX(4px);
}

.ahet-promo--highlight {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 263px;
	padding: 34px 20px 38px;
	background: var(--ahet-blue, #219dd9);
	color: #fff;
}

.ahet-promo--highlight .ahet-promo__eyebrow,
.ahet-promo--highlight .ahet-promo__desc {
	max-width: 200px;
	color: var(--ahet-ice, #cbe9ef);
	font-size: 12px;
	line-height: 1.5;
	text-transform: none;
}

.ahet-promo--highlight .ahet-promo__eyebrow {
	text-transform: uppercase;
}

.ahet-promo--highlight .ahet-promo__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 500;
	line-height: 1.2;
}

.ahet-promo__graphic {
	display: block;
	width: 100%;
	max-width: 279px;
	height: auto;
	margin: 24px auto 0 5px;
}

.ahet-promo--banner {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	min-height: 145px;
	padding: 28px;
	background: var(--ahet-navy, #0e2e54);
	color: #fff;
}

.ahet-promo--banner .ahet-promo__img {
	position: absolute;
	top: 0;
	right: 0;
	width: 53%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.ahet-promo--banner .ahet-promo__text {
	position: relative;
	max-width: 380px;
}

.ahet-promo--banner .ahet-promo__title {
	margin-bottom: 10px;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.ahet-promo--banner .ahet-promo__desc {
	font-size: 12px;
	line-height: 1.5;
}

/* Brand band (The HUBER advantage) ------------------------------------ */

/* The band brings its own colour, so the sections either side sit 55 px from it. */
.wp-block-post-content > .ahet-band,
.wp-block-post-content > .ahet-band + section {
	margin-block-start: calc(var(--wp--preset--spacing--section, 110px) / 2);
}

.ahet-band {
	position: relative;
	overflow: hidden;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54);
}

.ahet-band::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 43px;
	background: var(--ahet-blue, #219dd9);
}

.ahet-band__img {
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.ahet-band__inner {
	position: relative;
	display: grid;
	grid-template-columns: 249px minmax(0, 360px);
	align-items: center;
	box-sizing: border-box;
	max-width: 1072px;
	min-height: 349px;
	margin-inline: auto;
	padding: 28px 16px;
}

.ahet-band__logo {
	display: block;
	width: 191px;
	height: auto;
}

/* Between phone and wide desktop the centred content would slide under the
   blue strip on the left (43px): keep it 24px clear of the strip. */
@media (min-width: 782px) and (max-width: 1180px) {
	.ahet-band__inner {
		padding-left: 67px;
	}
}

.ahet-band__text {
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.ahet-band__text p,
.ahet-band__text h2 {
	margin: 0;
}

.ahet-band__eyebrow,
.ahet-band__tagline {
	font-size: 12px;
	line-height: 1.5;
}

.ahet-band__eyebrow {
	margin-bottom: 46px !important;
	text-transform: uppercase;
}

.ahet-band__heading {
	margin-bottom: 8px !important;
	color: inherit;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.ahet-band__body {
	font-size: 18px;
	line-height: 1.5;
}

.ahet-band__tagline {
	margin-top: auto !important;
	padding-top: 24px;
	word-spacing: 0.2em;
}

/* IPADS ---------------------------------------------------------------- */

.ahet-ipads__intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 52px;
}

.ahet-ipads__heading {
	max-width: 720px;
	margin: 0 0 14px;
	color: var(--ahet-navy, #0e2e54);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 400;
	line-height: 1.2;
}

.ahet-ipads__text {
	max-width: 720px;
	margin: 0;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.5;
}

.ahet-ipads__line {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	color: var(--ahet-slate, #5a7885);
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	background: linear-gradient(90deg, #8a7a5c 0%, #9c9a7e 30%, #8cc1da 70%, #219dd9 100%) bottom / 100% 6px no-repeat;
	border-radius: 0 0 3px 3px;
}

.ahet-ipads__line span:last-child {
	color: var(--ahet-blue, #219dd9);
}

.ahet-ipads__steps {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-ipads__step button {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	height: 100%;
	padding: 0 6px 12px;
	border: 0;
	border-radius: 0 0 10px 10px;
	background: transparent;
	color: var(--ahet-ink, #2b2a28);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ahet-ipads__step button:hover,
.ahet-ipads__step.is-active button {
	background: #f2f9fb;
}

.ahet-ipads__step button:focus-visible {
	outline: 2px solid var(--ahet-blue, #219dd9);
	outline-offset: 2px;
}

.ahet-ipads__dot {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 28px;
	height: 28px;
	margin-top: -11px;
	border: 2px solid var(--ahet-dot);
	border-radius: 50%;
	background: #fff;
	color: var(--ahet-navy, #0e2e54);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.ahet-ipads__step.is-active .ahet-ipads__dot {
	background: var(--ahet-dot);
	color: #fff;
}

.ahet-ipads__title {
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.ahet-ipads__summary {
	font-size: 14px;
	line-height: 1.5;
}

.ahet-ipads__panel {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: 22px;
	padding: 20px 24px;
	border: 1px solid var(--ahet-ice, #cbe9ef);
	border-radius: 12px;
	background: #f2f9fb;
	line-height: 1.5;
}

.ahet-ipads__panel[hidden] {
	display: none;
}

.ahet-ipads__panel p {
	margin: 0;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
}

.ahet-ipads__panel-main {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ahet-ipads__panel .ahet-ipads__count {
	color: var(--ahet-blue, #219dd9);
	text-transform: uppercase;
}

.ahet-ipads__panel .ahet-ipads__panel-title {
	color: var(--ahet-navy, #0e2e54);
	font-size: 22px;
}

.ahet-ipads__facts {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.ahet-ipads__facts div {
	padding-top: 10px;
	border-top: 1px solid var(--ahet-ice, #cbe9ef);
}

.ahet-ipads__facts dt {
	color: var(--ahet-slate, #5a7885);
	font-size: 12px;
	text-transform: uppercase;
}

.ahet-ipads__facts dd {
	margin: 4px 0 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
}

.ahet-ipads + .ahet-stats {
	margin-top: 44px;
}

/* Link cards (Featured case studies) ---------------------------------- */

.ahet-link-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 21px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-link-card {
	display: flex;
	flex-direction: column;
	min-height: 305px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-link-card__img {
	display: block;
	width: 100%;
	height: 133px;
	object-fit: cover;
}

.ahet-link-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 8px 0;
}

.ahet-link-card__title,
.ahet-link-card__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.ahet-link-card__title {
	margin: 0 0 5px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-line-clamp: 2;
}

.ahet-link-card__text {
	margin: 0 0 12px;
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.27;
	-webkit-line-clamp: 3;
}

.ahet-link-card__link {
	margin-top: auto;
	padding: 6px 0 18px;
	border-top: 1px solid var(--ahet-slate, #5a7885);
	color: var(--ahet-ink, #2b2a28);
	font-size: 14px;
	line-height: 1.27;
	text-decoration: none;
}

.ahet-link-card__link:hover {
	color: var(--ahet-red, #e01b22);
}

/* Testimonials --------------------------------------------------------- */

.ahet-testimonials {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	margin-top: 28px;
}

.ahet-testimonials__intro {
	margin: 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: 24px;
	line-height: 1.3;
}

.ahet-testimonials__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ahet-quote {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	box-sizing: border-box;
	min-height: 366px;
	margin: 0;
	padding: 24px 17px 34px;
	border-radius: 18px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
}

.ahet-quote__text::before {
	content: "\201C";
	display: block;
	height: 60px;
	margin-bottom: 14px;
	color: var(--ahet-blue, #219dd9);
	font-size: 126px;
	font-weight: 500;
	line-height: 1;
}

.ahet-quote__text p,
.ahet-quote p.ahet-quote__text {
	margin: 0;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
	line-height: 1.27;
}

.ahet-quote__by {
	color: var(--ahet-slate, #5a7885);
	font-size: 14px;
	line-height: 1.27;
}

/* Customer logos ------------------------------------------------------- */

.ahet-logos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 21px 24px;
	margin: 80px 0 0;
	padding: 0;
	list-style: none;
}

.ahet-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 57px;
}

.ahet-logos__img {
	max-width: 127px;
	max-height: 57px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Homepage sections: tablets and phones -------------------------------- */

@media (max-width: 1080px) {
	.ahet-ipads__steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 24px;
	}

	.ahet-testimonials {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 781px) {
	.ahet-section--row .ahet-section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.ahet-section--row .ahet-section__rule {
		display: none;
	}

	.ahet-section--row .ahet-section__aside {
		white-space: normal;
	}

	.ahet-stats,
	.ahet-stats--tiles {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ahet-stats--outlined .ahet-stat {
		padding: 24px 16px;
	}

	.ahet-stats--outlined .ahet-stat + .ahet-stat {
		border-left: 0;
	}

	.ahet-stats--outlined .ahet-stat:nth-child(even) {
		border-left: 1px solid var(--ahet-sky, #8cc1da);
	}

	.ahet-stats--outlined .ahet-stat:nth-child(n + 3) {
		border-top: 1px solid var(--ahet-sky, #8cc1da);
	}

	.ahet-stats--tiles .ahet-stat {
		min-height: 120px;
	}

	.ahet-tiles,
	.ahet-industries,
	.ahet-promos,
	.ahet-link-cards,
	.ahet-testimonials__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-tile {
		height: 400px;
	}

	.ahet-tile__text {
		right: 76px;
		left: 20px;
	}

	.ahet-industries__media {
		height: 300px;
	}

	.ahet-promo--feature .ahet-promo__img {
		position: static;
		width: 100%;
		height: 180px;
		margin-bottom: 16px;
	}

	.ahet-promo--feature {
		display: flex;
		flex-direction: column;
	}

	.ahet-promo--banner {
		flex-direction: column;
		align-items: flex-start;
		padding: 0;
	}

	.ahet-promo--banner .ahet-promo__img {
		position: static;
		width: 100%;
		height: 160px;
		-webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
	}

	.ahet-promo--banner .ahet-promo__text {
		padding: 0 24px 28px;
	}

	.ahet-band::before {
		width: 12px;
	}

	.ahet-band__img {
		position: static;
		display: block;
		width: 100%;
		height: 200px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.ahet-band__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		min-height: 0;
		padding: 28px 24px 32px 36px;
	}

	.ahet-band__eyebrow {
		margin-bottom: 16px !important;
	}

	.ahet-ipads__intro {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 32px;
	}

	.ahet-ipads__steps {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 8px;
	}

	.ahet-ipads__step button {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		padding: 10px;
		border-radius: 10px;
	}

	.ahet-ipads__dot {
		margin-top: 0;
	}

	.ahet-ipads__title {
		flex: 1 1 0;
	}

	.ahet-ipads__summary {
		flex-basis: 100%;
	}

	.ahet-ipads__panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.ahet-quote {
		min-height: 0;
	}

	.ahet-logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 48px;
	}
}

/* Editor only: homepage blocks ------------------------------------------ */

.ahet-industries-editor > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ahet-industries-editor__item {
	padding: 12px;
	border: 1px solid var(--wp--preset--color--sky, #8cc1da);
	border-radius: 10px;
}

.ahet-industries-editor__img {
	width: 100%;
	height: 120px;
	border-radius: 8px;
	object-fit: cover;
}

.ahet-ipads-editor__steps > .block-editor-block-list__layout {
	display: grid !important;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 12px;
}

.ahet-ipads-editor__step {
	padding: 8px;
	border-radius: 10px;
	background: #f2f9fb;
}

/* Home hero (Figma: 1440 x 678, image full width) ---------------------- */

.ahet-home-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(678px, calc(100vh - 95px));
	padding: 48px 16px 55px;
	overflow: hidden;
	background: var(--wp--preset--color--blue, #219dd9);
	color: #fff;
	text-align: center;
}

.ahet-home-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahet-home-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	max-width: 700px;
}

.ahet-home-hero__heading {
	max-width: 516px;
	margin: 0;
	color: #fff;
	font-family: var(--wp--preset--font-family--playfair, Georgia, serif);
	font-size: clamp(38px, 4vw, 56px);
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ahet-home-hero__text {
	margin: 0;
	font-size: clamp(18px, 1.8vw, 24px);
	line-height: 1.3;
}

.ahet-home-hero .ahet-buttons {
	justify-content: center;
}

.ahet-btn--white {
	background: #fff;
	color: var(--wp--preset--color--navy, #0e2e54);
}

.ahet-btn--white:hover {
	background: var(--wp--preset--color--ice, #cbe9ef);
	color: var(--wp--preset--color--navy, #0e2e54);
	text-decoration: none;
}

.ahet-btn--outline-white {
	border-color: #fff;
	color: #fff;
}

.ahet-btn--outline-white:hover {
	background: #fff;
	color: var(--wp--preset--color--navy, #0e2e54);
	text-decoration: none;
}

/* The hero sits straight under the header and the next section is 55 px below it. */
.wp-block-post-content > .ahet-home-hero + section {
	margin-block-start: calc(var(--wp--preset--spacing--section, 110px) / 2);
}

/* =======================================================================
 * Main menu. Figma: "Industrial Wastewater Menu (new)" (365:1767),
 * Municipal menu (427:4509), tablet and phone menus (361:2129).
 * ===================================================================== */

.ahet-mnav {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
}

.ahet-mnav__bar {
	display: flex;
	align-items: center;
	gap: 21px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-mnav__top {
	display: block;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--ahet-ink, #2b2a28);
	font: inherit;
	font-size: 12px;
	line-height: 1.5;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.ahet-mnav__top:hover,
.ahet-mnav__item.is-open > .ahet-mnav__top {
	color: var(--ahet-blue, #219dd9);
	text-decoration: none;
}

/* Chevron on items that open a menu; it flips while the menu is open. */
button.ahet-mnav__top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

button.ahet-mnav__top::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease, margin 0.2s ease;
}

.ahet-mnav__item.is-open > button.ahet-mnav__top::after {
	margin-top: 3px;
	transform: rotate(-135deg);
}

.ahet-mnav__top:focus-visible,
.ahet-mnav a:focus-visible,
.ahet-mnav__open:focus-visible,
.ahet-drawer__close:focus-visible,
.ahet-drawer summary:focus-visible {
	outline: 2px solid var(--ahet-blue, #219dd9);
	outline-offset: 2px;
}

/* Dropdown panel: under the header bar, wider than the bar, white card. */
.ahet-mnav__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 16px);
	left: 50%;
	display: flex;
	gap: 40px;
	box-sizing: border-box;
	width: min(1200px, calc(100vw - 32px));
	max-height: calc(100vh - 140px);
	padding: 20px 26px 20px 31px;
	overflow-y: auto;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 60px rgb(14 46 84 / 18%);
	transform: translateX(-50%);
	text-transform: none;
}

.ahet-mnav__panel[hidden] {
	display: none;
}

/* Small panel (Company): as wide as its two lists, centred under its menu item. */
.ahet-mnav__item:has(> .ahet-mnav__panel--compact) {
	position: relative;
}

.ahet-mnav__panel--compact {
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 8px 32px 24px;
}

.ahet-mnav__panel--compact .ahet-mnav__columns {
	grid-template-columns: repeat(2, max-content);
	gap: 22px 56px;
}

.ahet-mnav__panel--compact .ahet-mnav__section {
	grid-column: auto;
}

.ahet-mnav__columns {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 22px 30px;
	min-width: 0;
	padding-top: 22px;
}

.ahet-mnav__section {
	grid-column: span var(--ahet-span, 4);
	min-width: 0;
}

.ahet-mnav__section--full {
	padding-top: 22px;
	border-top: 1px solid var(--ahet-ice, #cbe9ef);
}

.ahet-mnav__section-title {
	margin: 0 0 9px;
	color: var(--ahet-red, #e01b22);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.6;
	text-transform: uppercase;
}

.ahet-mnav__links {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-mnav__links a {
	display: flex;
	align-items: flex-start;
	color: var(--ahet-ink, #2b2a28);
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.ahet-mnav__links a:hover {
	color: var(--ahet-blue, #219dd9);
}

.ahet-mnav__index {
	flex: 0 0 26px;
	padding-top: 3px;
	color: var(--ahet-slate, #5a7885);
	font-size: 8px;
	line-height: 1.6;
}

.ahet-mnav__groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 30px;
}

.ahet-mnav__group-title {
	margin: 0 0 6px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}

.ahet-mnav__promo {
	display: flex;
	flex: 0 0 263px;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	padding: 22px;
	border-radius: 18px;
	background: var(--ahet-navy, #0e2e54);
	color: #fff;
}

.ahet-mnav__promo p {
	margin: 0;
}

.ahet-mnav__promo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	margin-bottom: 6px;
	border-radius: 12px;
	object-fit: cover;
}

.ahet-mnav__promo-eyebrow {
	color: var(--ahet-blue, #219dd9);
	font-size: 12px;
	text-transform: uppercase;
}

.ahet-mnav__promo-title {
	font-size: 18px;
	line-height: 1.4;
}

.ahet-mnav__promo-text {
	color: var(--ahet-ice, #cbe9ef);
	font-size: 12px;
	line-height: 1.5;
}

.ahet-mnav__promo-btn {
	align-self: flex-start;
	min-height: 36px;
	margin-top: auto;
	padding: 0 18px;
	font-size: 13px;
}

/* Phone menu button and drawer: hidden on wide screens. */
.ahet-mnav__open,
.ahet-drawer {
	display: none;
}

/* Tablets: tighter bar, no promo card (Figma 1024 and 768). */
@media (max-width: 1080px) {
	.ahet-mnav__bar {
		gap: 6px;
	}

	.ahet-mnav__top {
		padding: 8px 6px;
	}

	.ahet-mnav__promo {
		display: none;
	}
}

@media (max-width: 1023px) {
	.ahet-mnav__groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ahet-mnav__section--narrow {
		grid-column: span 6;
	}
}

/* Phones: menu button and full-screen accordion. */
@media (max-width: 767px) {
	.ahet-mnav__bar {
		display: none;
	}

	.ahet-mnav__open {
		display: block;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background:
			linear-gradient(var(--ahet-navy, #0e2e54), var(--ahet-navy, #0e2e54)) center calc(50% - 4px) / 20px 1.5px no-repeat,
			linear-gradient(var(--ahet-navy, #0e2e54), var(--ahet-navy, #0e2e54)) center calc(50% + 4px) / 20px 1.5px no-repeat;
		cursor: pointer;
	}

	.ahet-drawer:not([hidden]) {
		position: fixed;
		z-index: 1000;
		inset: 0;
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		padding: 16px 20px 24px;
		overflow-y: auto;
		background: #fff;
	}

	.ahet-drawer__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 16px;
	}

	.ahet-drawer__logo img {
		display: block;
		height: auto;
	}

	.ahet-drawer__close {
		position: relative;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.ahet-drawer__close::before,
	.ahet-drawer__close::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 20px;
		height: 1.5px;
		background: var(--ahet-navy, #0e2e54);
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.ahet-drawer__close::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.ahet-drawer__tree {
		border-top: 1px solid rgb(14 46 84 / 10%);
	}

	.ahet-drawer__row {
		position: relative;
		display: block;
		padding: 13px 28px 13px 0;
		color: var(--ahet-navy, #0e2e54);
		font-size: 14px;
		font-weight: 600;
		line-height: 1.4;
		text-decoration: none;
		list-style: none;
		cursor: pointer;
	}

	.ahet-drawer__row::-webkit-details-marker {
		display: none;
	}

	/* Chevron: right when closed or a plain link, down when open. */
	.ahet-drawer__row::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 6px;
		width: 7px;
		height: 7px;
		border-right: 1.5px solid currentcolor;
		border-bottom: 1.5px solid currentcolor;
		transform: translateY(-50%) rotate(-45deg);
		transition: transform 0.2s ease;
	}

	details[open] > .ahet-drawer__row {
		color: var(--ahet-red, #e01b22);
	}

	details[open] > .ahet-drawer__row::after {
		transform: translateY(-70%) rotate(45deg);
	}

	.ahet-drawer__node--0,
	.ahet-drawer__tree > .ahet-drawer__row {
		border-bottom: 1px solid rgb(14 46 84 / 10%);
	}

	.ahet-drawer__body {
		padding: 0 0 8px 14px;
	}

	.ahet-drawer__row--1,
	.ahet-drawer__row--2,
	.ahet-drawer__row--3 {
		padding-block: 10px;
		font-size: 13px;
	}

	/* Third level (for example Anaerobic processes): a bullet instead of a chevron. */
	.ahet-drawer__row--3::after {
		display: none;
	}

	.ahet-drawer__row--3::before {
		content: "\2022";
		margin-right: 8px;
	}

	.ahet-drawer .ahet-mnav__links {
		gap: 0;
		padding-left: 4px;
	}

	.ahet-drawer .ahet-mnav__links a {
		padding: 8px 0;
		font-size: 13px;
	}

	.ahet-drawer__cta {
		margin-top: 24px;
	}

	html.ahet-drawer-open {
		overflow: hidden;
	}
}

/* Editor only: main menu outline ---------------------------------------- */

.ahet-menu-editor {
	font-size: 13px;
}

.ahet-menu-editor__children {
	margin-left: 18px;
	padding-left: 12px;
	border-left: 1px dashed var(--wp--preset--color--sky, #8cc1da);
}

.ahet-menu-editor__label {
	margin: 8px 0 4px;
	color: var(--wp--preset--color--navy, #0e2e54);
	font-weight: 700;
	text-transform: uppercase;
}

.ahet-menu-editor--promo {
	max-width: 263px;
	margin: 8px 0;
}

/* Mobile (Figma "Mobile (390 px)", 1 Dec) ------------------------------- */

/* Swipe rows: rows of three cards, quotes and videos. Dots come from blocks-view.js. */
.ahet-carousel__dots {
	display: none;
}

@media (max-width: 781px) {
	/* Positioned, so hidden labels and stretched links inside stay within the scrolling row. */
	.ahet-carousel {
		position: relative;
		display: flex !important;
		gap: 12px;
		margin-inline: -20px;
		padding-inline: 20px;
		overflow-x: auto;
		scroll-padding-inline: 20px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.ahet-carousel::-webkit-scrollbar {
		display: none;
	}

	.ahet-carousel > * {
		flex: 0 0 290px;
		max-width: 80%;
		scroll-snap-align: start;
	}

	.ahet-carousel--single > * {
		flex-basis: 100%;
		max-width: 100%;
	}

	.ahet-carousel__dots {
		display: flex;
		justify-content: center;
		gap: 6px;
		margin-top: 16px;
	}

	.ahet-carousel__dots[hidden] {
		display: none;
	}

	.ahet-carousel__dots button {
		width: 8px;
		height: 8px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--ahet-sky, #8cc1da);
		cursor: pointer;
	}

	.ahet-carousel__dots button[aria-current="true"] {
		width: 20px;
		border-radius: 4px;
		background: var(--ahet-navy, #0e2e54);
	}

	/* Buttons run full width; the product hero keeps its two side by side. */
	.ahet-main .ahet-btn,
	.ahet-main .wp-block-button {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
		text-align: center;
	}

	.ahet-main .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
	}

	.ahet-hero .ahet-buttons {
		flex-wrap: nowrap;
	}

	.ahet-hero .ahet-buttons .ahet-btn {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding-inline: 12px;
	}

	/* Hero on phones: title, text and buttons first, then the photo (Chandni, 2 Dec;
	   the mobile designs had the photo first). */

	/* Two environments: photo 200 px on top, text below it. */
	.ahet-tile {
		display: flex;
		flex-direction: column;
		height: auto;
	}

	.ahet-tile__img {
		position: static;
		width: 100%;
		height: 200px;
		object-fit: cover;
	}

	.ahet-tile::after {
		display: none;
	}

	.ahet-tile__text {
		position: static;
		padding: 20px 76px 24px 20px;
	}

	.ahet-tile__arrow {
		top: auto;
		bottom: 24px;
	}

	/* Find your industry: no photo, full-width rows that link. */
	.ahet-industries__media {
		display: none;
	}

	/* Sludge Management: intro card, 97 % tile, banner. No machine drawing. */
	.ahet-promo--feature .ahet-promo__img {
		display: none;
	}

	.ahet-promos > .ahet-promo {
		grid-row: auto;
		grid-column: auto;
		min-height: 0;
	}

	.ahet-promo--highlight {
		min-height: 220px;
	}

	/* Customer logos: two rows that drift sideways in opposite directions. */
	/* The grid stays for screen readers; the moving rows are for the eye only. */
	.ahet-logos {
		position: absolute !important;
		width: 1px;
		height: 1px;
		margin: 0;
		overflow: hidden;
		clip-path: inset(50%);
	}

	/* Fewer than six logos: a plain row, no movement. */
	.ahet-logos.ahet-logos--few {
		position: static !important;
		display: flex;
		flex-wrap: wrap;
		gap: 16px 24px;
		width: auto;
		height: auto;
		clip-path: none;
	}

	.ahet-logos-marquee {
		display: grid;
		gap: 16px;
		margin-top: 32px;
		margin-inline: -20px;
		overflow: hidden;
	}

	.ahet-logos-marquee__row {
		display: flex;
		gap: 32px;
		width: max-content;
		margin: 0;
		padding: 0;
		list-style: none;
		animation: ahet-marquee 40s linear infinite;
	}

	.ahet-logos-marquee__row--reverse {
		animation-direction: reverse;
	}

	.ahet-logos-marquee__row img {
		width: auto;
		height: 36px;
		object-fit: contain;
	}

	/* Municipal category: product cards become rows with a small image. */
	.ahet-child-cards {
		gap: 10px;
	}

	.ahet-child-card {
		position: relative;
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 10px 40px 10px 10px;
	}

	.ahet-child-card__img {
		flex: 0 0 64px;
		width: 64px;
		height: 64px;
		border-radius: 8px;
		object-fit: cover;
	}

	.ahet-child-card__body {
		padding: 0;
	}

	.ahet-child-card__title {
		font-size: 15px;
	}

	.ahet-child-card__text {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
		font-size: 13px;
	}

	/* The whole row links; the label shows as an arrow on the right. */
	.ahet-child-card__link {
		position: static;
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 0;
	}

	.ahet-child-card__link::before {
		content: "";
		position: absolute;
		inset: 0;
	}

	.ahet-child-card__link::after {
		content: "\2192";
		position: absolute;
		top: 50%;
		right: 16px;
		color: var(--ahet-red, #e01b22);
		font-size: 16px;
		transform: translateY(-50%);
	}

	/* Downloads: name, then file type underneath, action on the right. */
	.ahet-downloads__row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 2px 16px;
		align-items: center;
	}

	.ahet-downloads__label {
		grid-column: 1;
	}

	.ahet-downloads__note {
		grid-column: 1;
		grid-row: 2;
	}

	.ahet-downloads__action {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	/* Benefit cards: 2 x 2. */
	.ahet-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ahet-card {
		padding: 14px;
	}

	.ahet-cards--phone-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@keyframes ahet-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (min-width: 782px) {
	.ahet-logos-marquee {
		display: none;
	}
}

/* The logo rows keep moving under reduced motion, as on ategroup.com. A scrollable
   fallback showed a scrollbar, and the grid copy above already serves screen readers. */
@media (prefers-reduced-motion: reduce) {
	/* Overrides the theme's reduced-motion rule, which shortens every animation. */
	.ahet-logos-marquee__row {
		animation-duration: 40s !important;
	}
}

/* IPADS on phones: steps down a vertical line, each detail opens under its step. */
@media (max-width: 781px) {
	.ahet-ipads__line {
		display: none;
	}

	.ahet-ipads__steps {
		position: relative;
	}

	.ahet-ipads__steps::before {
		content: "";
		position: absolute;
		top: 20px;
		bottom: 20px;
		left: 21px;
		width: 2px;
		background: var(--ahet-sky, #8cc1da);
	}

	.ahet-ipads__step {
		position: relative;
	}

	.ahet-ipads__step button {
		height: auto;
	}

	.ahet-ipads__step button::after {
		content: "+";
		margin-left: auto;
		color: var(--ahet-navy, #0e2e54);
		font-size: 18px;
		line-height: 1;
	}

	.ahet-ipads__step.is-active button::after {
		content: "\2212";
	}

	.ahet-ipads__step .ahet-ipads__summary {
		display: none;
	}

	.ahet-ipads__step .ahet-ipads__panel {
		margin: 4px 0 8px 40px;
		padding: 14px 16px;
		background: #fff;
	}

	.ahet-ipads__step .ahet-ipads__count {
		display: none;
	}
}

/* =====================================================================
 * Industrial pages. Figma page "Final": Industries (291:360) and
 * IW technology (346:1166).
 * ===================================================================== */

.ahet-ihero,
.ahet-panel,
.ahet-resources,
.ahet-photo-links,
.ahet-side-layout,
.ahet-q,
.is-style-ahet-rows {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

.ahet-btn--outline-light {
	border-color: #fff;
	color: #fff;
}

.ahet-btn--outline-light:hover {
	background: #fff;
	color: var(--ahet-navy, #0e2e54);
	text-decoration: none;
}

.ahet-btn--small {
	min-height: 32px;
	padding: 0 16px;
	font-size: 12px;
}

/* Section heading row with a button on the right ("View all resources"). */
.ahet-section__button {
	flex-shrink: 0;
}

/* Industry hero ------------------------------------------------------- */

/* White into light blue; the section after it (challenges) continues the light blue. */
.ahet-ihero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	/* Figma: 138px above the intro and 130px below it at 1440 wide; equal on phones. */
	padding: 56px 20px clamp(48px, 9vw, 130px);
	background: linear-gradient(180deg, #fff 0%, #fff 29%, var(--ahet-ice) 100%);
	text-align: center;
}

.wp-block-post-content > .ahet-ihero.alignfull {
	margin-block-start: 0;
}

.ahet-ihero__title {
	max-width: 800px;
	margin: 0;
	color: var(--ahet-navy);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.ahet-ihero__stage {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: min(1322px, 100%);
	height: 495px;
	overflow: hidden;
	border-radius: 29px;
	background: #234a80;
}

.ahet-ihero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahet-ihero__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(35 74 128 / 0%) 33.6%, #234a80 85.9%);
}

.ahet-ihero__over {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 23px;
	padding: 0 20px 36px;
}

.ahet-ihero__tagline {
	max-width: 518px;
	margin: 0;
	color: #fff;
	font-size: 20px;
	line-height: 1.5;
}

.ahet-ihero .ahet-buttons {
	justify-content: center;
	gap: 14px;
}

.ahet-ihero__intro {
	max-width: 691px;
	margin: clamp(22px, 7.8vw, 112px) 0 0;
	color: var(--ahet-ink);
	font-size: 20px;
	line-height: 1.5;
}

/* The challenges sit on the same light blue, straight after the hero. */
.wp-block-post-content > .ahet-ihero + .ahet-section--tint {
	margin-block-start: 0;
}

/* Cards with an icon ("The challenges we help you overcome") ----------- */

.ahet-card__icon {
	display: block;
	width: auto;
	height: 52px;
	margin-bottom: 12px;
}

.ahet-card:has(.ahet-card__icon) {
	min-height: 227px;
	padding: 28px 13px 20px;
	box-sizing: border-box;
}

/* Numbered cards (Features, Benefits): light blue, number on top. ------- */

.ahet-cards--numbered {
	counter-reset: ahet-card;
}

.ahet-cards--numbered .ahet-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 128px;
	padding: 16px 12px 14px 14px;
	border-radius: 18px;
	background: var(--ahet-ice);
	counter-increment: ahet-card;
}

/* Benefit cards (text, no title) fit their text; the 128 px height is for Features tiles. */
.ahet-cards--numbered .ahet-card:not(:has(.ahet-card__title)) {
	min-height: 0;
	padding: 16px 20px 20px;
}

.ahet-cards--numbered .ahet-card::before {
	content: counter(ahet-card, decimal-leading-zero);
	color: var(--ahet-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
}

.ahet-cards--numbered .ahet-card__title {
	margin: 0;
	color: var(--ahet-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.ahet-cards--numbered .ahet-card__text {
	margin: 0;
	color: var(--ahet-navy);
	font-size: 14px;
	line-height: 1.5;
}

/* Dark blue panel ----------------------------------------------------- */

.ahet-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 36px 23px;
	border-radius: 18px;
	background: var(--ahet-navy);
	color: #fff;
}

.ahet-panel__eyebrow {
	margin: 0;
	color: var(--ahet-blue);
	font-size: 14px;
	line-height: 1.27;
	text-transform: uppercase;
}

.ahet-panel__heading {
	margin: 0 0 20px;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
}

.ahet-panel__text {
	margin: 6px 0 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
}

.ahet-panel__text a {
	color: var(--ahet-blue);
}

/* Industry version: "Read More" under the heading, a rule, then a larger summary (Figma 323:1011). */
.ahet-panel__more {
	min-height: 47px;
	margin-top: 14px;
}

.ahet-panel__more + .ahet-panel__text {
	align-self: stretch;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--ahet-blue);
	font-size: 24px;
	line-height: 1.3;
}

.ahet-panel > .ahet-btn--primary {
	margin-top: 20px;
}

/* Rows table ("Relevant technologies") -------------------------------- */

.wp-block-table.is-style-ahet-rows table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
}

.wp-block-table.is-style-ahet-rows thead {
	border: 0;
}

/* Figma 324:956: 64 px rows, sky rule, name column 262 px. */
.wp-block-table.is-style-ahet-rows th,
.wp-block-table.is-style-ahet-rows td {
	height: 64px;
	padding: 10px 20px 10px 16px;
	border: 0;
	border-bottom: 1px solid var(--ahet-sky);
	color: var(--ahet-navy);
	font-size: 14px;
	line-height: 1.27;
	text-align: left;
	vertical-align: middle;
}

.wp-block-table.is-style-ahet-rows tr:last-child td {
	border-bottom: 0;
}

.wp-block-table.is-style-ahet-rows td:first-child,
.wp-block-table.is-style-ahet-rows th:first-child {
	width: 262px;
	font-weight: 700;
	line-height: 1.5;
}

/* Video and downloads ------------------------------------------------- */

.ahet-resources {
	display: grid;
	grid-template-columns: minmax(0, 430fr) minmax(0, 327fr);
	gap: 20px;
}

.ahet-resources--no-media {
	grid-template-columns: minmax(0, 1fr);
}

.ahet-resources__media .ahet-media__item,
.ahet-resources__media .ahet-media__frame {
	height: 100%;
}

.ahet-resources__media .ahet-media__frame {
	min-height: 360px;
	aspect-ratio: auto;
}

.ahet-resources__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-resource {
	position: relative;
	display: flex;
	/* Share the video's height, but never shrink below the text (Figma: 20px padding all round). */
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
	min-height: 110px;
	padding: 20px;
	border-radius: 18px;
	background: var(--ahet-ice);
	box-sizing: border-box;
}

.ahet-resource p {
	margin: 0;
	font-weight: 700;
	line-height: 1.5;
}

.ahet-resource__type {
	color: var(--ahet-blue);
	font-size: 12px;
}

.ahet-resource__title {
	color: var(--ahet-navy);
	font-size: 14px;
}

.ahet-resource__link {
	color: var(--ahet-red);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.ahet-resource__link::after {
	content: "\203A";
	margin-left: 6px;
}

/* The whole card is clickable. */
.ahet-resource__link::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
}

.ahet-resource:hover .ahet-resource__link {
	text-decoration: underline;
}

/* Photo links ("Where this is used") ---------------------------------- */

.ahet-photo-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
	gap: 14px;
	max-width: 420px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-photo-link a {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ahet-navy);
	color: #fff;
	text-decoration: none;
}

.ahet-photo-link__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ahet-photo-link a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / 60%) 100%);
}

.ahet-photo-link__label {
	position: absolute;
	z-index: 1;
	bottom: 10px;
	left: 10px;
	font-size: 12px;
	text-transform: uppercase;
}

.ahet-photo-link a:hover .ahet-photo-link__img {
	transform: scale(1.05);
}

/* Side menu layout ---------------------------------------------------- */

.ahet-side-layout {
	display: grid;
	grid-template-columns: 245px minmax(0, 1fr);
	gap: 19px;
	align-items: start;
	padding-top: 29px;
}

.wp-block-post-content > .ahet-side-layout {
	margin-block-start: 0;
}

/* Full-width title and photo above the menu and content (1 Dec review). */
.ahet-side-layout__top {
	grid-column: 1 / -1;
	margin-bottom: calc(var(--ahet-section-gap, 110px) / 2);
}

.ahet-side-layout__top > .ahet-hero {
	padding-top: 0;
}

.ahet-side-layout__main {
	min-width: 0;
}

/* Spacing inside the content column follows the page rules. */
.ahet-side-layout__main > * {
	margin-block: 0;
}

.ahet-side-layout__main > * + * {
	margin-block-start: var(--ahet-section-gap, 110px);
}

.ahet-side-layout__main > .ahet-hero + *,
.ahet-side-layout__main > * + .ahet-panel {
	margin-block-start: calc(var(--ahet-section-gap, 110px) / 2);
}

/* The hero starts level with the top of the menu (wide screens; phones stack it). */
@media (min-width: 782px) {
	.ahet-side-layout__main > .ahet-hero {
		align-items: flex-start;
		padding-top: 0;
	}

	.ahet-side-layout__main .ahet-hero__text {
		padding-top: 6px;
	}
}

/* 4:3 photo beside the menu, so a short title does not leave a tall gap (1 Dec review, option A). */
.ahet-side-layout__main .ahet-hero--gallery .ahet-hero__img,
.ahet-side-layout__main .ahet-hero__img,
.ahet-side-layout__main .ahet-photo-gap--hero {
	height: auto;
	aspect-ratio: 4 / 3;
}

/* Figma 343:1112: smaller title and lead in the narrower column. */
.ahet-side-layout__main .ahet-hero__title {
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.ahet-side-layout__main .ahet-hero__lead {
	font-size: 14px;
}

/* Lead paragraph (introductions on industrial pages). */
.ahet-lead,
.ahet-section .ahet-lead {
	margin: 0;
	color: var(--ahet-ink, #2b2a28);
	font-size: 20px;
	line-height: 1.5;
}

.ahet-section .ahet-lead {
	margin-bottom: 26px;
}

/* Customer names, for references that have no logo yet. */
.ahet-name-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ahet-name-list li {
	padding: 6px 14px;
	border: 1px solid var(--ahet-sky, #8cc1da);
	border-radius: 999px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 14px;
}

/*
 * Customer references: names without a logo file sit in the same 5-column
 * grid as the logos (Figma 127 x 57 tiles), so a logo can replace a name later
 * without the layout changing.
 */
.ahet-section .ahet-name-list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 21px 24px;
	margin-top: 40px;
}

/* Logos and name tiles share one grid, logos first. */
.ahet-section__body:has(> .ahet-logos--few + .ahet-name-list) {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 21px 24px;
	margin-top: 40px;
}

.ahet-section__body:has(> .ahet-logos--few + .ahet-name-list) > ul {
	display: contents;
}

.ahet-section__body:has(> .ahet-logos--few + .ahet-name-list) .ahet-logos li {
	min-height: 57px;
	height: auto;
	border: 1px solid var(--ahet-ice, #cbe9ef);
	border-radius: 8px;
}

.ahet-section .ahet-name-list li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 57px;
	padding: 6px 12px;
	border: 1px solid var(--ahet-ice, #cbe9ef);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

@media (max-width: 781px) {
	.ahet-section .ahet-name-list,
	.ahet-section__body:has(> .ahet-logos--few + .ahet-name-list) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

/* Two photos share the row (plant images). */
.ahet-media:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ahet-media:has(> :nth-child(2):last-child) .ahet-media__frame {
	aspect-ratio: 510 / 400;
}

/* Stays in view while the content scrolls; scrolls inside itself if taller than the window. */
/* A light edge and an even shadow, so the menu reads as a card (1 Dec review, option 4). */
.ahet-side {
	position: sticky;
	/* Below the floating header (theme.css sets --ahet-header-space). */
	top: calc(var(--ahet-header-space, 0px) + 20px);
	max-height: calc(100vh - var(--ahet-header-space, 0px) - 40px);
	overflow-y: auto;
	overscroll-behavior: contain;
	box-sizing: border-box;
	padding: 14px 12px 10px;
	border: 1px solid var(--ahet-ice);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 24px rgb(14 46 84 / 10%);
}

.ahet-side__title {
	display: flex;
	align-items: center;
	min-height: 32px;
	margin: 0 0 6px;
	padding: 0 16px;
	border-radius: 5px;
	background: var(--ahet-blue);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.ahet-side__section summary,
.ahet-side__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 30px;
	padding: 0 16px;
	color: var(--ahet-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}

.ahet-side__section summary::-webkit-details-marker {
	display: none;
}

.ahet-side__section summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	transform: rotate(-45deg);
	transition: transform 0.2s ease;
}

.ahet-side__section[open] summary {
	color: var(--ahet-red);
}

.ahet-side__section[open] summary::after {
	transform: rotate(45deg);
}

.ahet-side__row:hover,
.ahet-side__section summary:hover,
.ahet-side__row[aria-current="page"] {
	color: var(--ahet-red);
	text-decoration: none;
}

.ahet-side__links {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.ahet-side__links a {
	display: flex;
	gap: 8px;
	padding: 1px 12px 1px 28px;
	color: var(--ahet-ink);
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none;
}

.ahet-side__index {
	flex: 0 0 17px;
	color: var(--ahet-slate);
	font-size: 10px;
	line-height: 1.9;
}

.ahet-side__links a:hover,
.ahet-side__links a[aria-current="page"] {
	color: var(--ahet-red);
}

.ahet-side__links a[aria-current="page"] {
	font-weight: 700;
}

.ahet-side__group {
	margin: 6px 0 2px;
	padding: 0 16px 0 32px;
	color: var(--ahet-navy);
	font-size: 11px;
	font-weight: 700;
}

.ahet-side a:focus-visible,
.ahet-side summary:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: -2px;
}

/* Hero with a photo gallery (technology pages) ------------------------ */

.ahet-hero--gallery .ahet-hero__media {
	flex: 0 0 min(422px, 52%);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ahet-hero__frame {
	position: relative;
}

.ahet-hero--gallery .ahet-hero__img {
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
}

.ahet-hero__caption {
	position: absolute;
	right: 24px;
	bottom: 16px;
	left: 24px;
	margin: 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-shadow: 0 1px 4px rgb(0 0 0 / 40%);
}

.ahet-hero__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-hero__thumbs button {
	display: block;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	background: none;
	cursor: pointer;
}

.ahet-hero__thumbs button[aria-pressed="true"] {
	border-color: var(--ahet-blue);
}

.ahet-hero__thumbs img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 6px;
	object-fit: cover;
}

/* Project questionnaire ----------------------------------------------- */

.ahet-q {
	margin-block-start: var(--ahet-section-gap, 110px);
	background: var(--ahet-navy);
	color: #fff;
}

.ahet-q__inner {
	display: grid;
	grid-template-columns: 333px minmax(0, 1fr);
	gap: 43px;
	max-width: 1040px;
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: content-box;
}

.ahet-q__box {
	display: flex;
	flex-direction: column;
	gap: 51px;
	padding: 50px 28px;
	background: var(--ahet-blue);
}

.ahet-q__heading {
	margin: 0;
	color: var(--ahet-ice);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
}

.ahet-q__text {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
}

/* The photo fills the rest of the column, down to the bottom of the band. */
.ahet-q__intro {
	display: flex;
	flex-direction: column;
}

.ahet-q__img {
	display: block;
	flex: 1 1 251px;
	width: 100%;
	height: auto;
	min-height: 251px;
	object-fit: cover;
}

.ahet-q__form-wrap {
	padding: 43px 0;
}

.ahet-q__form {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.ahet-q__form-title,
.ahet-q__thanks .ahet-q__form-title {
	margin: 0 0 4px;
	font-size: 24px;
	line-height: 1.3;
}

.ahet-q__row {
	display: grid;
	grid-template-columns: 187px minmax(0, 1fr);
	align-items: start;
}

.ahet-q__label {
	padding-top: 7px;
	font-size: 14px;
	line-height: 1.27;
}

.ahet-q__pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 176px;
	gap: 12px;
}

.ahet-q__input {
	width: 100%;
	min-height: 34px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: var(--ahet-ink);
	font: inherit;
	font-size: 14px;
	box-sizing: border-box;
}

select.ahet-q__input {
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e2e54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

textarea.ahet-q__input {
	min-height: 64px;
	padding-top: 8px;
	resize: vertical;
}

.ahet-q__input:focus-visible,
.ahet-q__upload:focus-within,
.ahet-q__consent input:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-q__upload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 57px;
	border: 1px dashed var(--ahet-sky);
	border-radius: 10px;
	color: var(--ahet-sky);
	font-size: 12px;
	cursor: pointer;
}

.ahet-q__upload span {
	font-size: 10px;
}

.ahet-q__upload input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.ahet-q__consent {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 4px 0 0;
	color: var(--ahet-sky);
	font-size: 12px;
}

.ahet-q__consent input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ahet-blue);
}

.ahet-q__consent a {
	color: inherit;
}

.ahet-q__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 5px;
}

.ahet-q__actions .ahet-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
}

.ahet-q__callback {
	color: var(--ahet-sky);
	font-size: 12px;
	font-weight: 700;
}

.ahet-q__trap {
	position: absolute;
	left: -9999px;
}

/* Industrial pages: tablets and phones -------------------------------- */

@media (max-width: 1080px) {
	.ahet-cards--numbered {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.ahet-side-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The main menu and the breadcrumb cover this on smaller screens. */
	.ahet-side {
		display: none;
	}
}

@media (max-width: 781px) {
	.ahet-ihero {
		padding: 32px 20px 48px;
	}

	.ahet-ihero__stage {
		height: auto;
		min-height: 420px;
		border-radius: 18px;
	}

	.ahet-ihero .ahet-buttons {
		flex-direction: column;
		align-self: stretch;
	}

	.ahet-ihero__tagline,
	.ahet-ihero__intro {
		font-size: 17px;
	}

	.ahet-ihero__intro {
		text-align: left;
	}

	.ahet-cards--numbered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ahet-section__button {
		width: 100%;
	}

	.ahet-resources {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-resources__media .ahet-media__frame {
		min-height: 220px;
	}

	.ahet-hero--gallery .ahet-hero__media {
		flex-basis: auto;
	}

	.ahet-side-layout {
		padding-top: 0;
	}

	.ahet-lead,
	.ahet-section .ahet-lead {
		font-size: 17px;
	}

	/* Rows table: name above, description below. */
	.wp-block-table.is-style-ahet-rows tr,
	.wp-block-table.is-style-ahet-rows td {
		display: block;
		width: auto !important;
	}

	.wp-block-table.is-style-ahet-rows td {
		height: auto;
		padding-inline: 0;
	}

	.wp-block-table.is-style-ahet-rows td:first-child {
		padding-bottom: 2px;
		border-bottom: 0;
	}

	.wp-block-table.is-style-ahet-rows tr:not(:last-child) td:last-child {
		padding-bottom: 14px;
	}

	.ahet-q__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-inline: 0;
	}

	.ahet-q__box {
		gap: 16px;
		padding: 32px 20px;
	}

	.ahet-q__img {
		flex-basis: auto;
		height: 180px;
		min-height: 0;
	}

	.ahet-q__form-wrap {
		padding: 32px 20px 40px;
	}

	.ahet-q__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	.ahet-q__label {
		padding-top: 0;
	}

	.ahet-q__pair {
		grid-template-columns: minmax(0, 1fr) 120px;
	}

	.ahet-q__actions .ahet-btn {
		width: 100%;
	}
}

/* Placeholder for an empty section while review mode is on (Settings > Reading). */
.ahet-gap {
	margin: 0;
	padding: 24px;
	border: 1px dashed var(--ahet-sky, #8cc1da);
	border-radius: 12px;
	color: var(--ahet-slate, #5a7885);
	font-size: 14px;
	text-align: center;
}

/* Missing photo while review mode is on: plain background, photo icon, note. */
.ahet-photo-gap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	border-radius: 12px;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-slate, #5a7885);
	font-size: 14px;
}

.ahet-photo-gap img {
	width: 56px;
	height: 56px;
	opacity: 0.6;
}

/* Industry hero: fills the stage; the text and buttons sit on the dark band below. */
.ahet-photo-gap--stage {
	position: absolute;
	inset: 0;
	justify-content: flex-start;
	padding-top: 96px;
	border-radius: 0;
	background: linear-gradient(180deg, #3d6a9e 0%, #234a80 100%);
	color: rgb(255 255 255 / 75%);
}

.ahet-photo-gap--stage img {
	filter: brightness(0) invert(1);
}

.ahet-photo-gap--hero {
	width: 100%;
	height: 300px;
}

.ahet-hero--gallery .ahet-photo-gap--hero,
.ahet-side-layout .ahet-photo-gap--hero {
	height: auto;
	aspect-ratio: 4 / 3;
	border-radius: 18px;
}

/* =====================================================================
 * About Us (Figma 2123:3000) and Contact Us (413:2776).
 * ===================================================================== */

.ahet-intro,
.ahet-slider,
.ahet-partners,
.ahet-mtext,
.ahet-people,
.ahet-callout-row,
.ahet-offices,
.ahet-cards--options {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

/* Intro hero ----------------------------------------------------------- */

.ahet-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: clamp(48px, 8vw, 110px);
	text-align: center;
}

.wp-block-post-content > .ahet-intro {
	margin-block-start: 0;
}

.ahet-intro__heading {
	margin: 0;
	color: var(--ahet-navy);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0;
}

.ahet-intro__subtitle,
.ahet-intro__note {
	max-width: 760px;
	margin: 14px 0 25px;
	color: var(--ahet-ink);
	font-size: 20px;
	line-height: 1.5;
}

.ahet-intro__note {
	margin: 14px 0 0;
}

.ahet-intro__note a {
	color: inherit;
	white-space: nowrap;
}

.ahet-intro__img {
	display: block;
	width: 100%;
	height: 380px;
	border-radius: 29px;
	object-fit: cover;
}

/* Two-column intro text (About us, Company profile) -------------------- */

.ahet-section .ahet-subheading {
	margin: 5px 0 10px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.ahet-section .ahet-lead-18 {
	margin: 0 0 24px;
	color: var(--ahet-ink, #2b2a28);
	font-size: 18px;
	line-height: 1.5;
}

/* Quote with a red rule (Quality policy). */
.ahet-callout {
	margin: 0 0 21px;
	padding-left: 17px;
	border-left: 4px solid var(--ahet-red, #e01b22);
	color: var(--ahet-ink, #2b2a28);
	font-size: 18px;
	line-height: 1.5;
}

/* Photo slider --------------------------------------------------------- */

.ahet-slider {
	position: relative;
	height: 380px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--ahet-navy);
}

.ahet-slider--gap {
	display: flex;
}

.ahet-slider__track {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ahet-slider__track::-webkit-scrollbar {
	display: none;
}

.ahet-slide {
	position: relative;
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.ahet-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ahet-slide__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 10px 90px 10px 16px;
	background: rgb(14 46 84 / 75%);
	color: #fff;
	font-size: 13px;
	line-height: 18px;
}

.ahet-slider__arrow {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 90%);
	color: var(--ahet-navy);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.ahet-slider__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.ahet-slider__arrow--prev {
	left: 16px;
}

.ahet-slider__arrow--next {
	right: 16px;
}

.ahet-slider__dots {
	position: absolute;
	right: 16px;
	bottom: 15px;
	display: flex;
	gap: 6px;
}

.ahet-slider__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgb(255 255 255 / 60%);
	cursor: pointer;
}

.ahet-slider__dots button[aria-current="true"] {
	width: 20px;
	background: #fff;
}

.ahet-slider button:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

/* Partner cards -------------------------------------------------------- */

.ahet-partners {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}

.ahet-partner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px;
	border-radius: 20px;
	background: #fff;
}

.ahet-partner__logo {
	width: auto;
	height: 28px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgb(90 120 133 / 40%);
	object-fit: contain;
	box-sizing: content-box;
	padding-inline: 42px;
}

.ahet-partner__facts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-self: stretch;
	margin: 7px 0 0;
}

.ahet-fact {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 12px;
	align-items: center;
}

.ahet-fact__icon {
	grid-row: 1 / span 2;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #e2f3f6;
}

.ahet-fact__icon img {
	display: block;
	width: 30px;
	height: 30px;
}

.ahet-fact__label {
	color: var(--ahet-ink);
	font-size: 10px;
	line-height: 1.4;
}

.ahet-fact__value {
	margin: 0;
	color: var(--ahet-ink);
	font-size: 14px;
	line-height: 1.27;
}

.ahet-partners__plus {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ahet-red);
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	transform: translate(-50%, -50%);
}

/* Photo and text ------------------------------------------------------- */

.ahet-mtext {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.ahet-mtext__media {
	position: relative;
	margin: 0;
}

.ahet-mtext__img {
	display: block;
	width: 100%;
	height: 466px;
	border-radius: 29px;
	object-fit: cover;
}

.ahet-mtext__caption {
	position: absolute;
	right: 0;
	bottom: 24px;
	left: 0;
	color: #fff;
	font-size: 12px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 1px 4px rgb(0 0 0 / 40%);
}

.ahet-mtext__body {
	padding-top: 17px;
}

.ahet-mtext__body > * {
	margin-block: 0;
}

.ahet-mtext__body .ahet-eyebrow + * {
	margin-top: 5px;
}

.ahet-mtext__body > p:not([class]),
.ahet-mtext__body > p.wp-block-paragraph:not(.ahet-eyebrow):not(.ahet-callout) {
	margin-bottom: 27px;
	color: var(--ahet-ink);
	font-size: 14px;
	line-height: 1.27;
}

/* People --------------------------------------------------------------- */

.ahet-people {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 64px 21px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-people + .ahet-people {
	margin-top: 90px;
}

.ahet-person {
	display: flex;
	flex-direction: column;
	/* Text centred under the round photo, so short and long names both sit on its centre line (1 Dec review). */
	align-items: center;
	width: 243px;
	text-align: center;
}

.ahet-person > p {
	align-self: stretch;
}

.ahet-person p {
	margin: 0;
}

.ahet-person__photo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 243px;
	height: 243px;
	overflow: hidden;
	border-radius: 50%;
	background: #d9d9d9;
}

.ahet-person__photo::before {
	content: "";
	position: absolute;
	width: 145px;
	height: 145px;
	border-radius: 50%;
	background: var(--ahet-red);
}

.ahet-person--blue .ahet-person__photo::before {
	background: var(--ahet-blue);
}

.ahet-person__img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.ahet-person__initials {
	position: relative;
	color: #fff;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ahet-person__gap {
	position: absolute;
	bottom: 34px;
	color: var(--ahet-slate);
	font-size: 12px;
}

.ahet-person__name {
	padding-top: 26px;
	color: var(--ahet-ink);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.ahet-person__role {
	color: var(--ahet-red);
	font-size: 14px;
	line-height: 1.27;
}

/* Short centred rule under the role. Figma draws it across the card, which runs long when cards stretch on tablets (1 Dec review). */
.ahet-person__role::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin: 8px auto 0;
	background: var(--ahet-red);
}

.ahet-person--blue .ahet-person__role {
	color: var(--ahet-ink);
}

.ahet-person--blue .ahet-person__role::after {
	background: var(--ahet-slate);
}

.ahet-person__org {
	padding: 8px 0 12px;
	color: var(--ahet-ink);
	font-size: 14px;
	line-height: 1.27;
	white-space: pre-line;
}

.ahet-person__linkedin {
	display: block;
	width: 29px;
	height: 29px;
	border-radius: 50%;
	background: var(--ahet-red) url("../images/icons/linkedin-red.svg") center / contain no-repeat;
}

.ahet-person--blue .ahet-person__linkedin {
	background-color: var(--ahet-blue);
	background-image: none;
	-webkit-mask: url("../images/icons/linkedin-red.svg") center / contain no-repeat;
	mask: url("../images/icons/linkedin-red.svg") center / contain no-repeat;
}

/* Callout row (Careers) ------------------------------------------------ */

.ahet-callout-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-top: 96px;
	padding-top: 48px;
	border-top: 1px solid rgb(14 46 84 / 15%);
}

.ahet-callout-row__text {
	max-width: 560px;
}

/* A callout row that opens its own section needs no extra gap above the rule. */
.ahet-section__body > .ahet-callout-row:first-child {
	margin-top: 0;
}

.ahet-callout-row__heading {
	margin: 8px 0;
	color: var(--ahet-navy);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
}

.ahet-callout-row__body {
	margin: 0;
	color: var(--ahet-ink);
	font-size: 16px;
	line-height: 1.45;
}

/* Option cards (What do you need a quote for?) ------------------------- */

.ahet-cards--options .ahet-card {
	display: flex;
	flex-direction: column;
	min-height: 297px;
	padding: 29px 10px 14px;
	border-radius: 20px;
	background: var(--ahet-ice);
	box-sizing: border-box;
}

.ahet-cards--options .ahet-card__icon {
	height: 75px;
	margin: 0 0 30px 20px;
}

.ahet-cards--options .ahet-card__title {
	margin: 0 20px 6px;
	color: var(--ahet-navy);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.ahet-cards--options .ahet-card__text {
	margin: 0 20px 24px;
	color: var(--ahet-navy);
	font-size: 14px;
	line-height: 1.27;
}

.ahet-card__button {
	margin-top: auto;
}

/* Callback form, card look (Contact Us 413:2692) ----------------------- */

.ahet-q--card {
	margin-block-start: 0;
	overflow: hidden;
	border-radius: 20px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
}

.ahet-q--card .ahet-q__inner {
	max-width: none;
	padding-inline: 0;
	gap: 0;
}

.ahet-q--card .ahet-q__form-wrap {
	padding: 43px;
}

.ahet-q--card .ahet-q__label,
.ahet-q--card .ahet-q__form-title {
	color: var(--ahet-navy);
}

.ahet-q--card .ahet-q__consent {
	color: var(--ahet-slate);
}

.ahet-q__context {
	margin: -4px 0 6px;
	color: var(--ahet-blue);
	font-size: 14px;
	font-weight: 700;
}

/* Office locations ----------------------------------------------------- */

.ahet-offices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.ahet-offices__map {
	height: 384px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--ahet-ice);
}

.ahet-offices__load {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.ahet-offices__load small {
	color: var(--ahet-slate);
	font-size: 12px;
	font-weight: 400;
}

.ahet-offices__iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.ahet-offices__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ahet-office {
	border: 1px solid var(--ahet-ice);
	background: #fff;
}

.ahet-office__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px 15px 26px;
	color: var(--ahet-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	list-style: none;
	cursor: pointer;
}

.ahet-office__title::-webkit-details-marker {
	display: none;
}

.ahet-office__title::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentcolor;
	border-bottom: 1.5px solid currentcolor;
	transform: rotate(45deg);
}

.ahet-office[open] .ahet-office__title {
	background: var(--ahet-ice);
}

.ahet-office[open] .ahet-office__title::after {
	transform: rotate(-135deg);
}

.ahet-office__body {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 20px 26px 24px;
}

.ahet-office__row {
	margin: 0;
	padding: 0 0 0 22px;
	background: no-repeat left 2px / 12px auto;
	color: var(--ahet-ink);
	font-size: 14px;
	line-height: 1.27;
	list-style: none;
}

.ahet-office__row p {
	margin: 0 0 14px;
}

.ahet-office__row p:last-child {
	margin: 0;
}

.ahet-office__row--address {
	background-image: url("../images/icons/pin.svg");
}

.ahet-office__row--phone {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background-image: url("../images/icons/phone.svg");
	font-weight: 700;
	line-height: 1.5;
}

.ahet-office__row--phone a {
	color: inherit;
	text-decoration: none;
}

/* About and Contact: tablets and phones -------------------------------- */

@media (max-width: 1080px) {
	.ahet-cards--options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.ahet-intro__subtitle,
	.ahet-intro__note {
		font-size: 17px;
	}

	.ahet-intro__img {
		height: 240px;
		border-radius: 18px;
	}

	/* Text first, then the photos (Figma mobile, Company profile). */
	.ahet-slider {
		height: 260px;
	}

	.ahet-slider__arrow {
		display: none;
	}

	.ahet-partners {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.ahet-mtext {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-mtext__img {
		height: 260px;
		border-radius: 18px;
	}

	.ahet-mtext .ahet-cards--numbered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* People: two per row, 120 px photos. */
	.ahet-people {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 16px;
	}

	.ahet-people + .ahet-people {
		margin-top: 32px;
	}

	.ahet-person {
		width: auto;
	}

	.ahet-person__photo {
		width: 120px;
		height: 120px;
	}

	.ahet-person__photo::before {
		width: 72px;
		height: 72px;
	}

	.ahet-person__initials {
		font-size: 22px;
	}

	.ahet-person__gap {
		display: none;
	}

	.ahet-person__name {
		padding-top: 12px;
		font-size: 17px;
	}

	.ahet-person__role,
	.ahet-person__org {
		font-size: 13px;
	}

	.ahet-callout-row {
		margin-top: 48px;
		padding-top: 32px;
	}

	.ahet-callout-row .ahet-buttons {
		flex-direction: column;
		width: 100%;
	}

	.ahet-cards--options {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-cards--options .ahet-card {
		min-height: 0;
	}

	.ahet-q--card .ahet-q__form-wrap {
		padding: 28px 20px 32px;
	}

	.ahet-offices {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-offices__map {
		height: 220px;
	}
}

/* Back link above a form page (CU-02). */
.ahet-back-link {
	margin: 0;
	font-size: 14px;
}

.ahet-back-link a {
	color: var(--wp--preset--color--navy, #0e2e54);
}

.ahet-back-link a::before {
	content: "\2039";
	margin-right: 6px;
}

/* =====================================================================
 * Success stories (Figma listing 4030:3633, story 4030:3642).
 * ===================================================================== */

.ahet-stories,
.ahet-story-hero,
.ahet-story-grid {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

/* Cards ---------------------------------------------------------------- */

.ahet-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-story-card[hidden] {
	display: none;
}

.ahet-story-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ahet-story-card a:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgb(14 46 84 / 12%);
}

.ahet-story-card__media {
	position: relative;
}

.ahet-story-card__img {
	display: block;
	width: 100%;
	height: 175px;
	border-radius: 0;
	object-fit: cover;
}

.ahet-story-card__tag {
	position: absolute;
	bottom: 10px;
	left: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--ahet-navy);
	font-size: 11px;
}

.ahet-story-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 14px 10px 12px;
}

.ahet-story-card__headline {
	font-size: 26px;
	line-height: 1.2;
}

.ahet-story-card__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.ahet-story-card__meta {
	color: var(--ahet-slate);
	font-size: 12px;
}

.ahet-story-card__link {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--ahet-navy);
	font-size: 13px;
}

/* Listing -------------------------------------------------------------- */

.ahet-stories {
	padding-top: clamp(40px, 6vw, 80px);
}

.wp-block-post-content > .ahet-stories,
.ahet-main > .ahet-stories {
	margin-block-start: 0;
}

.ahet-stories__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.ahet-stories__heading {
	margin: 4px 0 0;
	color: var(--ahet-navy);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.ahet-stories__count {
	margin: 0;
	color: var(--ahet-slate);
	font-size: 14px;
	white-space: nowrap;
}

.ahet-stories__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.ahet-stories__filters[hidden] {
	display: none;
}

.ahet-chips {
	display: flex;
	gap: 8px;
}

.ahet-chip {
	min-height: 36px;
	padding: 0 18px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
	background: #fff;
	color: var(--ahet-navy);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

.ahet-chip[aria-pressed="true"] {
	border-color: var(--ahet-navy);
	background: var(--ahet-navy);
	color: #fff;
}

.ahet-stories__selects {
	display: flex;
	gap: 8px;
}

/* Native select: shown only without JavaScript. blocks-view.js swaps in the dropdown below. */
.ahet-select select,
.ahet-dropdown__button {
	min-height: 36px;
	padding: 0 40px 0 16px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e2e54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: var(--ahet-navy);
	font: inherit;
	font-size: 13px;
	text-align: left;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.ahet-dropdown {
	position: relative;
	display: inline-block;
}

.ahet-dropdown__button[aria-expanded="true"] {
	border-color: var(--ahet-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5l5-5 5 5' fill='none' stroke='%230e2e54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ahet-dropdown__list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 6px);
	left: 0;
	min-width: 100%;
	max-height: 320px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid var(--ahet-ice);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 24px rgb(14 46 84 / 10%);
	list-style: none;
}

.ahet-dropdown__list:focus {
	outline: none;
}

.ahet-dropdown__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--ahet-navy);
	font-size: 13px;
	white-space: nowrap;
	cursor: pointer;
}

.ahet-dropdown__option.is-active {
	background: var(--ahet-ice);
}

.ahet-dropdown__option[aria-selected="true"] {
	color: var(--ahet-blue);
}

.ahet-dropdown__option[aria-selected="true"]::after {
	content: "";
	width: 12px;
	height: 9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.5 3.5L11 1' fill='none' stroke='%23219dd9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.ahet-chip:focus-visible,
.ahet-select select:focus-visible,
.ahet-dropdown__button:focus-visible,
.ahet-story-card a:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-stories__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 24px 0;
	padding: 48px 24px;
	border: 1px dashed var(--ahet-sky);
	border-radius: 18px;
	background: var(--ahet-ice);
	color: var(--ahet-slate);
	text-align: center;
}

.ahet-stories__empty p {
	margin: 0;
}

.ahet-stories__empty-title {
	color: var(--ahet-navy);
	font-size: 20px;
}

.ahet-stories__empty .ahet-btn {
	margin-top: 12px;
	background: #fff;
}

/* Anything marked hidden stays hidden, whatever its display style. */
.ahet-stories [hidden],
.ahet-events [hidden],
.ahet-library [hidden] {
	display: none !important;
}

.ahet-stories__more {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

/* Story header --------------------------------------------------------- */

.ahet-story-hero {
	padding-top: clamp(32px, 4vw, 48px);
}

.wp-block-post-content > .ahet-story-hero {
	margin-block-start: 0;
}

.ahet-story-hero__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
	margin-bottom: 40px;
}

.ahet-story-hero__title {
	margin: 12px 0;
	color: var(--ahet-navy);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

.ahet-story-hero__summary {
	margin: 0 0 20px;
	color: var(--ahet-ink);
	font-size: 15px;
	line-height: 1.5;
}

.ahet-story-hero__facts {
	margin: 0;
	border-top: 1px solid var(--ahet-blue);
}

.ahet-story-hero__facts > div {
	display: grid;
	grid-template-columns: 98px minmax(0, 1fr);
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ahet-blue);
	font-size: 12px;
	line-height: 1.4;
}

.ahet-story-hero__facts dt {
	color: var(--ahet-slate);
}

.ahet-story-hero__facts dd {
	margin: 0;
	color: var(--ahet-navy);
}

.ahet-story-hero__img {
	display: block;
	width: 100%;
	height: 400px;
	border-radius: 29px;
	object-fit: cover;
}

/* Challenge, Solution, Results quote. */
.ahet-quote-box {
	margin: 20px 0 0;
	padding: 20px;
	border: 0;
	border-radius: 12px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-quote-box p {
	margin: 0;
	color: var(--wp--preset--color--navy, #0e2e54);
	font-size: 15px;
	line-height: 1.5;
}

.ahet-quote-box cite {
	display: block;
	margin-top: 10px;
	color: var(--wp--preset--color--slate, #5a7885);
	font-size: 12px;
	font-style: normal;
}

/* Case study photos from the PDF: a row of up to three, never wider than the photos
 * themselves (most are 400 to 700px), so they are not stretched. */
.wp-block-gallery.ahet-story-photos {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	max-width: none;
	margin: 0 0 40px;
}

.wp-block-gallery.ahet-story-photos > .wp-block-image {
	width: auto !important;
	margin: 0 !important;
}

.wp-block-gallery.ahet-story-photos > .wp-block-image:only-child {
	grid-column: span 2;
	max-width: 560px;
}

.wp-block-gallery.ahet-story-photos img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	object-fit: cover;
}

@media (max-width: 781px) {
	.wp-block-gallery.ahet-story-photos {
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-gallery.ahet-story-photos > .wp-block-image:only-child {
		grid-column: auto;
	}
}

/* Case study text, as written in the PDF it came from: one reading column. */
.ahet-story-body .ahet-section__body {
	max-width: none;
}

.ahet-story-body .ahet-section__body > :not(.ahet-story-photos) {
	max-width: 760px;
}

.ahet-story-body h2 {
	margin: 40px 0 12px;
	color: var(--ahet-navy);
	font-size: 26px;
	font-weight: 400;
	line-height: 1.3;
}

.ahet-story-body h2:first-child {
	margin-top: 0;
}

.ahet-story-body h3 {
	margin: 28px 0 8px;
	color: var(--ahet-navy);
	font-size: 17px;
	font-weight: 700;
}

.ahet-story-body p,
.ahet-story-body li {
	color: var(--ahet-ink);
	font-size: 16px;
	line-height: 1.65;
}

.ahet-story-body p,
.ahet-story-body ul,
.ahet-story-body ol {
	margin: 0 0 16px;
}

.ahet-story-body .wp-block-table {
	max-width: none;
	margin: 8px 0 24px;
	overflow-x: auto;
}

/* Long web addresses in reference lists wrap instead of widening the page. */
.ahet-story-body p,
.ahet-story-body li {
	overflow-wrap: anywhere;
}

.ahet-story-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ahet-story-body th,
.ahet-story-body td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--ahet-ice);
	text-align: left;
	vertical-align: top;
}

.ahet-story-body thead th {
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	font-weight: 700;
}

.ahet-story-body .wp-block-quote {
	margin: 24px 0;
	padding: 20px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--ahet-ice);
}

.ahet-story-body .wp-block-quote p {
	margin: 0;
	color: var(--ahet-navy);
	font-size: 17px;
}

.ahet-story-body .wp-block-quote cite {
	display: block;
	margin-top: 10px;
	color: var(--ahet-slate);
	font-size: 13px;
	font-style: normal;
}

@media (max-width: 1080px) {
	.ahet-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	/* Phones: one card per row; chips scroll sideways (Figma mobile). */
	.ahet-stories .ahet-story-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-stories__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.ahet-chips {
		margin-inline: -20px;
		padding-inline: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ahet-chip {
		flex-shrink: 0;
	}

	.ahet-stories__selects {
		width: 100%;
	}

	.ahet-select,
	.ahet-select select,
	.ahet-dropdown__button {
		flex: 1;
		width: 100%;
	}

	.ahet-story-hero__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* Facts become a two-column list under the title. */
	.ahet-story-hero__facts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 16px;
	}

	.ahet-story-hero__facts > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.ahet-story-hero__img {
		height: 220px;
		border-radius: 18px;
	}
}

/* =====================================================================
 * Blog (Figma listing 414:2713, article 4030:3624).
 * ===================================================================== */

.ahet-posts,
.ahet-post-grid,
.ahet-article-head,
.ahet-toc,
.ahet-author-box,
.ahet-article {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

/* Listing ------------------------------------------------------------- */

.ahet-posts {
	margin-top: 32px;
}

.ahet-posts__search {
	display: flex;
	align-items: center;
	gap: 8px;
	/* Border, magnifier and shadow so the field reads as a field on white. */
	padding: 4px 4px 4px 48px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='7.5' cy='7.5' r='6' fill='none' stroke='%230e2e54' stroke-width='1.6'/%3E%3Cpath d='M12 12l4.5 4.5' stroke='%230e2e54' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 20px center;
	box-shadow: 0 6px 24px rgb(14 46 84 / 12%);
}

.ahet-posts__search:hover {
	border-color: var(--ahet-blue);
}

.ahet-posts__search input {
	flex: 1;
	min-width: 0;
	min-height: 40px;
	border: 0;
	background: transparent;
	color: var(--ahet-ink);
	font: inherit;
	font-size: 16px;
}

.ahet-posts__search input::placeholder {
	color: var(--ahet-slate);
}

.ahet-posts__search input:focus {
	outline: none;
}

.ahet-posts__search:focus-within {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-posts__search .ahet-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
}

.ahet-posts__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 24px 0 32px;
}

.ahet-tabs {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	scrollbar-width: none;
}

.ahet-tabs a {
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	color: var(--ahet-slate);
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
}

.ahet-tabs a[aria-current="page"],
.ahet-tabs a:hover {
	border-bottom-color: var(--ahet-navy);
	color: var(--ahet-navy);
}

.ahet-posts__meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ahet-posts__count {
	color: var(--ahet-blue);
	font-size: 13px;
}

.ahet-posts__empty {
	color: var(--ahet-slate);
}

.ahet-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-post-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 14px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ahet-post-card__img {
	display: block;
	width: 100%;
	height: 160px;
	border-radius: 0;
	object-fit: cover;
}

.ahet-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 12px 12px 14px;
}

.ahet-post-card__row {
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.ahet-post-card__topic,
.ahet-post-card__time {
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 10px;
}

.ahet-post-card__topic {
	background: var(--ahet-slate);
	color: #fff;
}

.ahet-post-card__time {
	margin-left: auto;
	background: #fff;
	color: var(--ahet-slate);
}

.ahet-post-card__title {
	color: var(--ahet-blue);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.ahet-post-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--ahet-ink);
	font-size: 12px;
	line-height: 1.45;
}

.ahet-post-card__foot {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	color: var(--ahet-blue);
	font-size: 11px;
}

.ahet-post-card__foot time {
	color: var(--ahet-slate);
}

/* Hover: the card turns blue (Figma). */
.ahet-post-card a:hover {
	background: var(--ahet-blue);
}

.ahet-post-card a:hover .ahet-post-card__title,
.ahet-post-card a:hover .ahet-post-card__excerpt,
.ahet-post-card a:hover .ahet-post-card__foot,
.ahet-post-card a:hover .ahet-post-card__foot time {
	color: #fff;
}

.ahet-post-card a:focus-visible,
.ahet-tabs a:focus-visible,
.ahet-pages a:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-pages {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin-top: 36px;
}

.ahet-pages a {
	color: var(--ahet-slate);
	font-size: 14px;
	text-decoration: none;
}

.ahet-pages a[aria-current="page"] {
	color: var(--ahet-red);
}

/* Article ------------------------------------------------------------- */

.ahet-article-head {
	padding-top: clamp(32px, 4vw, 48px);
}

.wp-block-post-content > .ahet-article-head,
.ahet-main > .ahet-article-head {
	margin-block-start: 0;
}

.ahet-article-head__title {
	max-width: 720px;
	margin: 14px 0 18px;
	color: var(--ahet-navy);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
}

.ahet-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.ahet-byline > span:last-child {
	display: flex;
	flex-direction: column;
}

.ahet-byline__avatar {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	font-size: 12px;
	font-weight: 700;
}

.ahet-byline__name {
	color: var(--ahet-navy);
	font-size: 14px;
}

.ahet-byline__meta {
	color: var(--ahet-slate);
	font-size: 12px;
}

.ahet-article-head__img {
	display: block;
	width: 100%;
	height: 400px;
	border-radius: 29px;
	object-fit: cover;
}

/* A small photo at its own size (never wider than it is), centred on a light panel the size of a full photo. */
.ahet-article-head__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	padding: 24px;
	box-sizing: border-box;
	border-radius: 29px;
	background: var(--ahet-ice, #cbe9ef);
}

.ahet-article-head__img.ahet-article-head__img--small {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	border-radius: 12px;
}

/* Two columns: contents list on the left, the article on the right. */
.ahet-article {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin-top: 48px;
}

.ahet-article__body {
	min-width: 0;
	max-width: 760px;
}

.ahet-article__body > .wp-block-post-content > * {
	margin-block: 0 18px;
}

.ahet-article__body h2 {
	margin-top: 36px !important;
	color: var(--ahet-navy);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	scroll-margin-top: calc(var(--ahet-header-space, 0px) + 24px);
}

.ahet-article__body h3 {
	margin-top: 24px !important;
	color: var(--ahet-navy);
	font-size: 17px;
	font-weight: 700;
}

/* Article text only; the author box and related cards keep their own colours. */
.ahet-article__body .wp-block-post-content p,
.ahet-article__body .wp-block-post-content li {
	color: var(--ahet-ink);
	font-size: 16px;
	line-height: 1.65;
}

.ahet-toc {
	position: sticky;
	top: calc(var(--ahet-header-space, 0px) + 20px);
	padding-left: 12px;
	--ahet-progress: 0;
}

.ahet-toc::before,
.ahet-toc__progress {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 0;
	left: 0;
	width: 2px;
	background: var(--ahet-ice);
}

.ahet-toc__progress {
	bottom: auto;
	height: calc((100% - 30px) * var(--ahet-progress));
	background: var(--ahet-blue);
}

.ahet-toc__title {
	margin: 0 0 12px -12px;
	color: var(--ahet-slate);
	font-size: 11px;
	text-transform: uppercase;
	list-style: none;
	cursor: default;
	pointer-events: none;
}

.ahet-toc__title::-webkit-details-marker {
	display: none;
}

.ahet-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-toc__list a {
	display: block;
	padding: 6px 0;
	color: var(--ahet-slate);
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
}

.ahet-toc__list a[aria-current="location"],
.ahet-toc__list a:hover {
	color: var(--ahet-navy);
	font-weight: 700;
}

/* Body styles. */
.is-style-ahet-key-point {
	padding: 20px 22px;
	border-radius: 12px;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54) !important;
	font-size: 18px !important;
}

.is-style-ahet-key-point::before {
	content: "Key point";
	display: block;
	margin-bottom: 6px;
	color: var(--ahet-blue, #219dd9);
	font-size: 11px;
	text-transform: uppercase;
}

.ahet-article .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.ahet-article .wp-block-table th,
.ahet-article .wp-block-table td {
	padding: 12px 10px;
	border: 0;
	border-bottom: 1px solid var(--ahet-sky);
	color: var(--ahet-ink);
	text-align: left;
	vertical-align: top;
}

.ahet-article .wp-block-table th,
.ahet-article .wp-block-table thead td {
	color: var(--ahet-navy);
	font-weight: 700;
}

.ahet-article .wp-block-media-text {
	gap: 24px;
}

.ahet-article .wp-block-image img,
.ahet-article .wp-block-media-text img {
	border-radius: 12px;
}

.ahet-article .wp-block-image figcaption {
	color: var(--ahet-slate);
	font-size: 12px;
}

/* About the author. */
.ahet-author-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 16px;
	margin-top: 48px;
	padding: 20px;
	border-radius: 14px;
	background: var(--ahet-navy);
	color: #fff;
}

.ahet-author-box__eyebrow {
	margin: 0 0 10px;
	color: var(--ahet-blue);
	font-size: 12px;
	text-transform: uppercase;
}

.ahet-author-box .ahet-byline {
	margin-bottom: 10px;
}

.ahet-author-box__name {
	font-size: 18px;
}

.ahet-author-box__role {
	color: var(--ahet-sky);
	font-size: 12px;
}

.ahet-author-box__bio {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
}

.ahet-author-box__related {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ahet-author-box__related .ahet-post-card__excerpt {
	display: none;
}

@media (max-width: 1080px) {
	.ahet-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.ahet-post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-posts__bar {
		flex-direction: column;
		align-items: stretch;
	}

	/* Topic tabs run edge to edge and scroll sideways, without widening the page. */
	.ahet-tabs {
		box-sizing: border-box;
		width: calc(100% + 40px);
		max-width: none;
		margin-inline: -20px;
		padding-inline: 20px;
	}

	.ahet-posts__search .ahet-btn {
		width: auto;
	}

	.ahet-article-head__img {
		height: 220px;
		border-radius: 18px;
	}

	.ahet-article-head__frame {
		height: 220px;
		padding: 12px;
		border-radius: 18px;
	}

	.ahet-article-head__img.ahet-article-head__img--small {
		height: auto;
		border-radius: 8px;
	}

	/* Contents list becomes an "On this page" bar that opens the list. */
	.ahet-article {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-top: 24px;
	}

	.ahet-toc {
		position: static;
		padding: 0;
		border-top: 1px solid var(--ahet-ice);
		border-bottom: 1px solid var(--ahet-ice);
	}

	.ahet-toc::before,
	.ahet-toc__progress {
		display: none;
	}

	.ahet-toc__title {
		display: flex;
		justify-content: space-between;
		margin: 0;
		padding: 12px 0;
		color: var(--ahet-navy);
		font-size: 13px;
		pointer-events: auto;
		cursor: pointer;
	}

	.ahet-toc__title::after {
		content: "+";
	}

	.ahet-toc__fold[open] .ahet-toc__title::after {
		content: "\2212";
	}

	/* Tables keep their columns and scroll sideways (Figma mobile). */
	.ahet-article .wp-block-table {
		overflow-x: auto;
	}

	.ahet-article .wp-block-table table {
		min-width: 520px;
	}

	.ahet-article .wp-block-table td:first-child,
	.ahet-article .wp-block-table th:first-child {
		position: sticky;
		left: 0;
		background: #fff;
	}

	.ahet-author-box,
	.ahet-author-box__related {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* The placeholder keeps its centred layout when it takes an image's class. */
.ahet-photo-gap[class] {
	display: flex;
}

/* =====================================================================
 * News and events (Figma 2123:3112).
 * ===================================================================== */

.ahet-events,
.ahet-news {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

.ahet-events {
	padding-top: clamp(40px, 6vw, 80px);
}

.wp-block-post-content > .ahet-events {
	margin-block-start: 0;
}

.ahet-events__heading {
	margin: 4px 0 20px;
	color: var(--ahet-navy);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.ahet-events__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.ahet-switch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
	background: #fff;
	color: var(--ahet-navy);
	font-size: 13px;
	cursor: pointer;
}

.ahet-switch input {
	accent-color: var(--ahet-navy);
}

.ahet-events__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-event {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 12px rgb(14 46 84 / 6%);
}

.ahet-event[hidden] {
	display: none;
}

.ahet-event--past {
	background: rgb(255 255 255 / 60%);
}

.ahet-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 72px;
	border-radius: 8px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
}

.ahet-event--past .ahet-event__date {
	background: #eef2f4;
}

.ahet-event__day {
	font-size: 28px;
	line-height: 1.1;
}

.ahet-event__month {
	font-size: 10px;
}

.ahet-event__tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--ahet-blue);
	color: #fff;
	font-size: 10px;
}

.ahet-event--past .ahet-event__tag {
	background: #eef2f4;
	color: var(--ahet-slate);
}

.ahet-event__title {
	margin: 6px 0 4px;
	color: var(--ahet-navy);
	font-size: 20px;
	line-height: 1.3;
}

.ahet-event__details {
	margin: 0;
	color: var(--ahet-slate);
	font-size: 13px;
}

.ahet-event__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

/* Add to calendar: small outline pill with a calendar icon. */
.ahet-event__ics {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
	color: var(--ahet-navy);
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ahet-event__ics::before {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%230e2e54' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='1.7' y='2.7' width='12.6' height='11.6' rx='2'/%3E%3Cpath d='M1.7 6.3h12.6M5 1.3v2.8M11 1.3v2.8M8 8.4v3.6M6.2 10.2h3.6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ahet-event__ics:hover {
	border-color: var(--ahet-navy);
	background: var(--ahet-ice);
}

.ahet-event__ics:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-events__empty {
	color: var(--ahet-slate);
}

/* News. */
.ahet-news__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.ahet-news__aside {
	margin: 0 0 20px;
	color: var(--ahet-slate);
	font-size: 13px;
}

.ahet-news-card[hidden] {
	display: none;
}

.ahet-news-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	text-decoration: none;
}

.ahet-news-card .ahet-post-card__media {
	position: relative;
}

.ahet-news-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 14px 12px;
}

.ahet-news-card__body time {
	color: var(--ahet-slate);
	font-size: 12px;
}

.ahet-news-card__title {
	font-size: 16px;
	line-height: 1.4;
}

.ahet-news-card__link {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--ahet-navy);
	color: var(--ahet-red);
	font-size: 13px;
}

.ahet-switch:focus-within,
.ahet-news-card a:focus-visible,
.ahet-event a:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

@media (max-width: 781px) {
	/* Phones: chips scroll sideways, the switch sits under them, each event is a card. */
	.ahet-events__bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.ahet-event {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 12px;
	}

	.ahet-event__date {
		height: 60px;
	}

	.ahet-event__day {
		font-size: 22px;
	}

	.ahet-event__actions {
		grid-column: 1 / -1;
		align-items: stretch;
	}

	.ahet-event__ics {
		text-align: center;
	}

	/* News: compact list, small image on the left. */
	.ahet-news__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.ahet-news-card a {
		flex-direction: row;
	}

	.ahet-news-card .ahet-post-card__media {
		flex: 0 0 110px;
	}

	.ahet-news-card .ahet-post-card__img {
		height: 100%;
		min-height: 110px;
	}

	.ahet-news-card .ahet-story-card__tag {
		display: none;
	}
}

/* =====================================================================
 * Resources library (Figma 409:2454).
 * ===================================================================== */

.ahet-library {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	margin-top: 32px;
}

.ahet-library__clear {
	color: var(--ahet-red);
	font-size: 13px;
}

.ahet-library__section {
	margin-top: 72px;
}

.ahet-library__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-library__grid--presentation {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ahet-doc a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ahet-doc__cover {
	display: block;
	padding: 10px 10px 0;
}

.ahet-doc__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	border-radius: 6px;
	object-fit: contain;
	background: #fff;
}

.ahet-library__grid--presentation .ahet-doc__img {
	aspect-ratio: 16 / 9;
}

.ahet-doc__title {
	padding: 10px 12px 14px;
	font-size: 13px;
	line-height: 1.4;
}

.ahet-doc a:hover {
	background: var(--ahet-blue);
	color: #fff;
}

.ahet-doc a:focus-visible,
.ahet-library__row-title:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-library__videos {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ahet-library__videos .ahet-media__item:first-child {
	grid-row: 1 / span 2;
}

.ahet-library__videos .ahet-media__frame {
	height: 100%;
	min-height: 150px;
	aspect-ratio: auto;
}

/* Small video cards: smaller play button set higher, so a two-line title clears it. */
.ahet-library__videos .ahet-media__item:not(:first-child) .ahet-media__play {
	width: 48px;
	height: 48px;
	margin-bottom: 48px;
}

.ahet-library__stories {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 20px;
	align-items: start;
}

.ahet-library__stories-img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	border-radius: 14px;
	object-fit: cover;
}

.ahet-library__rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ahet-library__rows li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ahet-ice);
	font-size: 14px;
}

.ahet-library__index {
	color: var(--ahet-red);
	font-size: 12px;
}

.ahet-library__row-title {
	flex: 1;
	color: var(--ahet-navy);
	text-decoration: none;
}

.ahet-library__row-title:hover {
	color: var(--ahet-blue);
}

.ahet-library__pdf {
	color: var(--ahet-red);
	font-size: 12px;
}

@media (max-width: 1080px) {
	.ahet-library__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.ahet-library__section {
		margin-top: 48px;
	}

	.ahet-library__grid,
	.ahet-library__grid--presentation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ahet-library__videos,
	.ahet-library__stories {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.ahet-library__videos .ahet-media__item:first-child {
		grid-row: auto;
	}

	.ahet-library__videos .ahet-media__frame {
		aspect-ratio: 16 / 9;
	}

	.ahet-library__stories-img {
		min-height: 180px;
	}
}

/* =====================================================================
 * Gated guide (Figma 4030:3606) and calculator (4030:3615).
 * ===================================================================== */

.ahet-guide,
.ahet-calc {
	--ahet-navy: var(--wp--preset--color--navy, #0e2e54);
	--ahet-blue: var(--wp--preset--color--blue, #219dd9);
	--ahet-red: var(--wp--preset--color--red, #e01b22);
	--ahet-ice: var(--wp--preset--color--ice, #cbe9ef);
	--ahet-sky: var(--wp--preset--color--sky, #8cc1da);
	--ahet-ink: var(--wp--preset--color--ink, #2b2a28);
	--ahet-slate: var(--wp--preset--color--slate, #5a7885);
	box-sizing: border-box;
}

.wp-block-post-content > .ahet-guide,
.wp-block-post-content > .ahet-calc {
	margin-block-start: 0;
	padding-top: clamp(32px, 4vw, 48px);
}

/* Guide. */
.ahet-guide {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 366px;
	gap: 48px;
	align-items: start;
}

.ahet-guide__title,
.ahet-calc__heading {
	margin: 6px 0 12px;
	color: var(--ahet-navy);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

.ahet-guide__summary {
	margin: 0 0 24px;
	color: var(--ahet-ink);
	font-size: 17px;
}

.ahet-guide__more {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 24px;
}

.ahet-guide__cover {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 210px;
	padding: 16px;
	border-radius: 10px;
	background: var(--ahet-navy);
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
}

.ahet-guide__cover img {
	border-radius: 4px;
	background: #fff;
}

.ahet-guide__learn-title {
	margin: 0 0 8px;
	color: var(--ahet-navy);
	font-size: 16px;
	font-weight: 700;
}

.ahet-guide__learn ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ahet-learn;
}

.ahet-guide__learn li {
	display: flex;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--ahet-blue);
	color: var(--ahet-ink);
	font-size: 14px;
	counter-increment: ahet-learn;
}

.ahet-guide__learn li::before {
	content: counter(ahet-learn, decimal-leading-zero);
	color: var(--ahet-blue);
	font-size: 11px;
	font-weight: 700;
}

.ahet-guide__form-wrap {
	padding: 24px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 24px rgb(14 46 84 / 8%);
}

.ahet-guide__form-title {
	margin: 0 0 12px;
	color: var(--ahet-navy);
	font-size: 22px;
}

.ahet-guide__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 12px;
	color: var(--ahet-navy);
	font-size: 12px;
	font-weight: 700;
}

.ahet-guide__field input {
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ahet-sky);
	border-radius: 6px;
	font: inherit;
	font-size: 14px;
	font-weight: 400;
}

.ahet-guide__field input:focus-visible,
.ahet-stepper input:focus-visible,
.ahet-stepper button:focus-visible,
.ahet-calc__tip-btn:focus-visible {
	outline: 2px solid var(--ahet-blue);
	outline-offset: 2px;
}

.ahet-guide__check {
	display: flex;
	gap: 10px;
	margin: 4px 0 16px;
	color: var(--ahet-ink);
	font-size: 12px;
}

.ahet-guide__form .ahet-btn {
	width: 100%;
	border: 0;
	cursor: pointer;
	font: inherit;
}

.ahet-guide__note {
	margin: 12px 0 0;
	color: var(--ahet-slate);
	font-size: 11px;
}

.ahet-guide__note a {
	color: var(--ahet-navy);
}

/* Calculator. */
.ahet-calc__text {
	max-width: 600px;
	margin: 0 0 28px;
	color: var(--ahet-ink);
	font-size: 15px;
}

.ahet-calc__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.ahet-calc__inputs {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 24px rgb(14 46 84 / 8%);
}

.ahet-calc__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ahet-blue);
}

.ahet-calc__label {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	color: var(--ahet-navy);
	font-size: 14px;
	font-weight: 700;
}

.ahet-calc__unit {
	flex-basis: 100%;
	color: var(--ahet-slate);
	font-size: 11px;
	font-weight: 400;
}

.ahet-calc__info {
	position: relative;
}

.ahet-calc__tip-btn {
	width: 18px;
	height: 18px;
	padding: 0;
	border: 1.5px solid var(--ahet-blue);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}

.ahet-calc__tip-btn::before {
	content: "i";
	color: var(--ahet-blue);
	font-size: 11px;
	font-weight: 700;
}

.ahet-calc__tip {
	position: absolute;
	z-index: 3;
	top: 26px;
	left: -120px;
	width: 260px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--ahet-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
}

.ahet-calc__info:hover .ahet-calc__tip,
.ahet-calc__tip-btn:focus + .ahet-calc__tip {
	opacity: 1;
	visibility: visible;
}

/* Fixed width so every stepper lines up, with or without a unit. */
.ahet-stepper {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	width: 184px;
	padding: 4px;
	border: 1px solid var(--ahet-sky);
	border-radius: 999px;
}

.ahet-stepper button {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: var(--ahet-ice);
	color: var(--ahet-navy);
	font-size: 16px;
	cursor: pointer;
}

.ahet-stepper button {
	flex-shrink: 0;
}

.ahet-stepper input {
	flex: 1;
	min-width: 0;
	width: auto;
	border: 0;
	background: transparent;
	color: var(--ahet-navy);
	font: inherit;
	font-size: 16px;
	text-align: center;
	-moz-appearance: textfield;
}

.ahet-stepper input::-webkit-outer-spin-button,
.ahet-stepper input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.ahet-stepper__suffix {
	margin-left: -8px;
	color: var(--ahet-navy);
}

.ahet-calc__reset {
	align-self: flex-end;
	margin-top: 20px;
	border-color: var(--ahet-sky);
	background: #fff;
	color: var(--ahet-navy);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
}

.ahet-calc__result {
	padding: 24px;
	border-radius: 14px;
	background: var(--ahet-navy);
	color: #fff;
}

.ahet-calc__result dl {
	margin: 0;
}

.ahet-calc__result dl > div {
	padding: 4px 0 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--ahet-blue);
}

.ahet-calc__result dt {
	color: var(--ahet-ice);
	font-size: 12px;
}

.ahet-calc__result dd {
	margin: 6px 0 0;
	font-size: 28px;
}

.ahet-calc__note {
	margin: 0 0 18px;
	color: var(--ahet-ice);
	font-size: 12px;
	line-height: 1.5;
}

.ahet-calc__bar {
	display: none;
}

@media (max-width: 781px) {
	.ahet-guide {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* Title first, then the form, then cover and what you will learn (Figma mobile). */
	.ahet-guide__more {
		order: 3;
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-guide__info {
		display: contents;
	}

	.ahet-guide__form-wrap {
		order: 2;
		padding: 20px;
	}

	.ahet-calc__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ahet-calc__row {
		flex-direction: column;
		align-items: stretch;
	}

	.ahet-stepper {
		justify-content: space-between;
		width: auto;
	}

	.ahet-calc__tip {
		left: -60px;
		width: 220px;
	}

	/* A slim result bar sticks to the bottom while a value is being edited. */
	.ahet-calc.is-editing .ahet-calc__bar {
		position: fixed;
		z-index: 20;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		justify-content: space-between;
		padding: 12px 20px;
		background: var(--ahet-navy);
		color: #fff;
		font-size: 14px;
	}
}

/* =====================================================================
 * For consultants and For EPC contractors (Figma 4028:3606, 4029:3606).
 * ===================================================================== */

.ahet-kit {
	padding: 30px;
	border-radius: 14px;
	background: var(--wp--preset--color--navy, #0e2e54);
	color: #fff;
	box-sizing: border-box;
}

.ahet-kit__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--blue, #219dd9);
	font-size: 13px;
	text-transform: uppercase;
}

.ahet-kit__heading {
	max-width: 860px;
	margin: 8px 0 22px;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0;
}

.ahet-kit__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.ahet-kit__chips li {
	padding: 8px 15px;
	border: 1px solid rgb(255 255 255 / 40%);
	border-radius: 999px;
	font-size: 13px;
}

.ahet-kit__form {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgb(255 255 255 / 25%);
}

.ahet-kit__form input[type="email"] {
	flex: 0 1 360px;
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
}

.ahet-kit__form input:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue, #219dd9);
	outline-offset: 2px;
}

.ahet-kit__form .ahet-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
}

.ahet-kit__thanks {
	font-size: 16px;
}

.ahet-kit__note {
	margin: 20px 0 0;
	color: var(--wp--preset--color--ice, #cbe9ef);
	font-size: 13px;
}

.ahet-kit__note a {
	color: inherit;
}

/* Rows table with a third column of tags ("In kit", "Open"). */
.wp-block-table.is-style-ahet-rows td:nth-child(3) {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}

.wp-block-table.is-style-ahet-rows td:nth-child(3) mark {
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--navy, #0e2e54);
	color: #fff;
	font-size: 11px;
}

.wp-block-table.is-style-ahet-rows td:nth-child(3) mark.is-open {
	background: var(--wp--preset--color--ice, #cbe9ef);
	color: var(--wp--preset--color--navy, #0e2e54);
}

/* Card text with line breaks reads as a short list (scope packages). */
.ahet-card__text br + * {
	display: block;
}

@media (max-width: 781px) {
	.ahet-kit {
		padding: 24px 20px;
	}

	.ahet-kit__form input[type="email"],
	.ahet-kit__form .ahet-btn {
		flex: 1 1 100%;
	}
}

/* Quality policy tiles (Figma Feature Tile 343:1218): 128px tall, 6px apart. */
.ahet-mtext__body .ahet-cards--numbered {
	gap: 6px;
}

/* Beside the text, the photo is at least 466px (Figma) and grows with the
   text when narrower screens make the text taller, so no gap opens under it. */
@media (min-width: 782px) {
	.ahet-mtext {
		align-items: stretch;
	}

	.ahet-mtext__img {
		height: 100%;
		min-height: 466px;
	}
}

/* In a half-width column the four tiles go 2 x 2 below 1080px, never 3 + 1. */
@media (max-width: 1080px) {
	.ahet-mtext__body .ahet-cards--numbered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ahet-mtext__body .ahet-cards--numbered .ahet-card {
	min-height: 128px;
	padding: 16px 12px 14px 14px;
}

/* About: the photo is only as tall as the text beside it (at least 300px), so no empty space under the text. */
@media (min-width: 782px) {
	.ahet-section__body > .wp-block-columns:has(.ahet-slider) {
		align-items: stretch;
	}

	.ahet-section__body > .wp-block-columns:has(.ahet-slider) > .wp-block-column:has(.ahet-slider) {
		display: flex;
	}

	.ahet-section__body > .wp-block-columns:has(.ahet-slider) .ahet-slider {
		flex: 1;
		height: auto;
		min-height: 300px;
	}
}

/* Quality policy: 21px under the quote, 27px under the paragraph (Figma). */
.ahet-mtext__body > .ahet-callout {
	margin-bottom: 21px;
}

/* Phones: filter rows scroll inside themselves instead of widening the page. */
.ahet-posts__bar > *,
.ahet-events__bar > * {
	min-width: 0;
	max-width: 100%;
}

@media (max-width: 781px) {
	.ahet-tabs {
		max-width: calc(100% + 40px);
	}

	.ahet-events__bar .ahet-chips {
		width: 100%;
	}

	/* Estimator tips: shown under the label instead of floating off the screen edge. */
	.ahet-calc__info {
		position: static;
	}

	.ahet-calc__tip {
		left: 20px;
		right: 20px;
		width: auto;
	}

	.ahet-calc__row {
		position: relative;
	}
}

/* List section while its new results load. */
.ahet-posts.is-loading,
.ahet-library.is-loading {
	opacity: 0.5;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

/* Review mode: [bracketed] placeholders in the Figma placeholder yellow. */
mark.ahet-ph {
	padding: 0 3px;
	border-radius: 3px;
	background: #ffd400;
	color: var(--ahet-ink, #2b2a28);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Estimator: liquid sludge against dewatered cake, to scale. */
.ahet-calc__compare {
	margin: 28px 0 0;
	padding: 20px;
	border-radius: 14px;
	background: var(--ahet-ice);
}

.ahet-calc__compare figcaption {
	margin-bottom: 14px;
	color: var(--ahet-navy);
	font-size: 14px;
	font-weight: 700;
}

.ahet-calc__bar-row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 72px;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--ahet-navy);
	font-size: 13px;
}

.ahet-calc__bar-row strong {
	text-align: right;
}

.ahet-calc__track {
	height: 14px;
	border-radius: 7px;
	background: #fff;
	overflow: hidden;
}

.ahet-calc__fill {
	display: block;
	height: 100%;
	border-radius: 7px;
	transition: width 0.3s ease;
}

.ahet-calc__fill--liquid {
	background: var(--ahet-sky);
}

.ahet-calc__fill--cake {
	min-width: 4px;
	background: var(--ahet-navy);
}

.ahet-calc__water {
	margin: 6px 0 0;
	color: var(--ahet-slate);
	font-size: 13px;
}

.ahet-calc__water strong {
	color: var(--ahet-navy);
}

@media (max-width: 781px) {
	.ahet-calc__bar-row {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.ahet-calc__track {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

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

/* =======================================================================
 * Home hero scroll animation. Without JavaScript, or with reduced motion,
 * this is the normal hero with a still image. The script adds .is-scrubbing:
 * the section grows to 300vh and the stage stays pinned while the video
 * plays forward with the scroll.
 * ===================================================================== */

.ahet-home-hero--scroll {
	display: block;
	padding: 0;
	min-height: 0;
	overflow: visible;
	background: var(--wp--preset--color--navy, #0e2e54);
}

.ahet-home-hero__sticky {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(678px, calc(100vh - 95px));
	padding: 48px 16px 55px;
	overflow: hidden;
	box-sizing: border-box;
}

/* While scrubbing, the layout follows the approved demo (ate-huber-liquid-site):
   the frames play inside an inset, rounded "screen" on white, pinned just
   below the floating header. */
.ahet-home-hero--scroll.is-scrubbing {
	--ahet-liq-gap: 30px;
	--ahet-liq-radius: 22px;
	height: 300vh;
	background: var(--wp--preset--color--white, #fff);
}

.ahet-home-hero--scroll.is-scrubbing .ahet-home-hero__sticky {
	position: sticky;
	top: var(--ahet-header-space, 0px);
	height: calc(100vh - var(--ahet-header-space, 0px));
	height: calc(100svh - var(--ahet-header-space, 0px));
	min-height: 0;
}

.ahet-home-hero--scroll.is-scrubbing .ahet-home-hero__img,
.ahet-home-hero--scroll.is-scrubbing .ahet-home-hero__canvas {
	top: var(--ahet-liq-gap);
	left: var(--ahet-liq-gap);
	width: calc(100% - 2 * var(--ahet-liq-gap));
	height: calc(100% - 2 * var(--ahet-liq-gap));
	border-radius: var(--ahet-liq-radius);
}

@media (max-width: 720px) {
	.ahet-home-hero--scroll.is-scrubbing {
		--ahet-liq-gap: 14px;
		--ahet-liq-radius: 16px;
	}
}

.ahet-home-hero__canvas {
	position: absolute;
	z-index: 1;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.ahet-home-hero__canvas.is-ready {
	opacity: 1;
}

.ahet-home-hero--scroll .ahet-home-hero__content {
	z-index: 2;
	text-shadow: 0 1px 24px rgb(8 28 42 / 38%);
	will-change: opacity;
	/* The ripple follows the cursor across the text; buttons stay clickable. */
	pointer-events: none;
}

.ahet-home-hero--scroll .ahet-home-hero__content a {
	pointer-events: auto;
}

/* Type and buttons as in the approved demo, except the first headline, which
   stays all italic as in Figma (Chandni, 2 Dec). The second message keeps the
   demo's upright text with the italic part in <em>. Small body text, pale blue
   solid and white outline buttons. */
.ahet-home-hero--scroll .ahet-home-hero__heading {
	max-width: 760px;
	font-size: clamp(2.1rem, 4.4vw, 3.55rem);
	font-style: normal;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.ahet-home-hero--scroll .ahet-home-hero__heading em {
	font-style: italic;
	font-weight: 400;
}

.ahet-home-hero--scroll .ahet-home-hero__content .ahet-home-hero__heading {
	font-style: italic;
	font-weight: 400;
}

.ahet-home-hero--scroll .ahet-home-hero__content {
	gap: 0;
}

/* Text and buttons keep 24px clear of the rounded screen's edges, as in the demo. */
.ahet-home-hero--scroll .ahet-home-hero__content,
.ahet-home-hero--scroll .ahet-home-hero__second {
	box-sizing: border-box;
	padding-inline: calc(var(--ahet-liq-gap, 14px) + 24px);
}

.ahet-home-hero--scroll .ahet-home-hero__content {
	width: 100%;
}

.ahet-home-hero--scroll .ahet-home-hero__content .ahet-home-hero__heading {
	margin-bottom: 20px;
}

.ahet-home-hero--scroll .ahet-home-hero__text {
	max-width: 52ch;
	margin: 0 auto 40px;
	color: rgb(255 255 255 / 92%);
	font-size: clamp(0.85rem, 1.05vw, 0.95rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.ahet-home-hero--scroll .ahet-home-hero__text strong {
	font-weight: inherit;
}

.ahet-home-hero--scroll .ahet-buttons {
	gap: 16px;
}

.ahet-home-hero--scroll .ahet-btn {
	min-height: 0;
	min-width: 136px;
	padding: 13px 30px;
	border-radius: 9px;
	font-size: 0.84rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-shadow: none;
}

.ahet-home-hero--scroll .ahet-btn--white {
	border-color: #bcd9e8;
	background: #bcd9e8;
	color: #10344a;
}

.ahet-home-hero--scroll .ahet-btn--white:hover {
	border-color: #cfe4ef;
	background: #cfe4ef;
}

.ahet-home-hero--scroll .ahet-btn--outline-white {
	border-color: rgb(255 255 255 / 55%);
}

.ahet-home-hero--scroll .ahet-btn--outline-white:hover {
	border-color: #fff;
	background: rgb(255 255 255 / 12%);
}

.ahet-home-hero__second .ahet-home-hero__heading {
	font-size: clamp(1.8rem, 3.6vw, 2.9rem);
	line-height: 1.15;
}

.ahet-home-hero__second .ahet-home-hero__text {
	margin-bottom: 0;
	line-height: 1.6;
}

/* Second message: fades in over the water near the end of the animation. */
.ahet-home-hero__second {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 22px;
	padding: 0 24px;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 24px rgb(8 28 42 / 38%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	will-change: opacity;
}

.ahet-home-hero__second .ahet-home-hero__heading {
	max-width: 640px;
}

.ahet-home-hero__second em {
	font-style: italic;
}

.ahet-home-hero__second .ahet-home-hero__text {
	max-width: 560px;
}

/* Full benefits list under the benefit cards (municipal products, from huber-se.com). */
.ahet-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 48px;
}

/* Space above when benefit cards come first. */
.ahet-cards + .ahet-checklist {
	margin-top: 32px;
}

.ahet-checklist li {
	position: relative;
	margin-bottom: 12px;
	break-inside: avoid;
	padding-left: 26px;
	color: var(--ahet-ink);
	font-size: 15px;
	line-height: 1.5;
}

.ahet-checklist li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 14px;
	height: 8px;
	border-bottom: 2px solid var(--ahet-red);
	border-left: 2px solid var(--ahet-red);
	transform: rotate(-45deg);
}

@media (max-width: 781px) {
	.ahet-checklist {
		columns: 1;
	}
}

/* How it works: the design sketch stays in view beside long text, below the header and jump bar. */
@media (min-width: 782px) {
	.ahet-function .wp-block-column:last-child:has(.wp-block-image) {
		position: sticky;
		top: calc(var(--ahet-header-space, 0px) + 72px);
		align-self: flex-start;
	}

	.ahet-function.ahet-section--stack .wp-block-columns {
		gap: 56px;
	}
}

/* How it works as numbered steps: number in a circle, bold label, short text. */
.ahet-steps {
	display: grid;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ahet-step;
}

.ahet-steps li {
	position: relative;
	min-height: 36px;
	padding-left: 56px;
	color: var(--ahet-ink);
	font-size: 16px;
	line-height: 1.6;
	counter-increment: ahet-step;
}

.ahet-steps li::before {
	content: counter(ahet-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ahet-ice, #cbe9ef);
	color: var(--ahet-navy, #0e2e54);
	font-size: 15px;
	font-weight: 700;
}

.ahet-steps li strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ahet-navy, #0e2e54);
	font-size: 18px;
	font-weight: 700;
}
