/*
Theme Name: Oechsli Child Theme
Theme URI: https://oechsli.com
Description: Child theme for the Oechsli block theme framework.
Author: Oechsli
Author URI: https://oechsli.com/
Template: oechsli
Version: 2026.03.21
Text Domain: oechsli-child
Requires at least: 6.0
Requires PHP: 7.4
Update URI: https://oechsli.com/oechsli-child/
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Add site-specific CSS overrides below this line. */

/* Full width (operator's call, 2026-10-29): live boxes the site at 1500px on a grey backdrop; staging runs edge to edge. */

/* Inner pages: live's header sits in the page flow and sticks on scroll. The framework fixes it on every page and pads
   its own hero classes down, which would hide the top of every other page; home keeps the fixed overlay. */
body.header-transparent-sticky-home:not(.home) header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
}

/* Live's header steps down in stages: a 300px logo up to 1366, then at 1024 a 250px logo and the burger (top bar still
   showing), then at 880 the top bar goes. The framework's .hide-on-mobile only applies at 768px and below. */
@media (max-width: 1366px) {
	/* the logo block writes its desktop width inline */
	.oi-site-header .oi-site-logo img {
		width: 300px !important;
		height: auto !important;
	}
}

/* Live's logo row keeps its height when the logo shrinks to 300. */
@media (min-width: 1025px) and (max-width: 1366px) {
	.oi-site-header .oi-site-logo {
		display: flex;
		align-items: center;
		min-height: 67px;
	}
}

@media (max-width: 880px) {
	.oi-site-header .hide-on-mobile {
		display: none;
	}
}

/* Live's tablet top bar sits at the very top. */
@media (min-width: 881px) and (max-width: 1024px) {
	.oi-site-header,
	.oi-site-header > .hide-on-mobile {
		padding-top: 0 !important;
	}
}

@media (max-width: 1024px) {
	/* The framework's 1024 breakpoint collapses the menu below 1024; live's mobile header includes 1024 itself. */
	.oi-site-header .oi-nav--offcanvas.oi-nav--collapse-1024 > *:not(.oi-nav__burger) {
		display: none;
	}

	.oi-site-header .oi-nav--offcanvas.oi-nav--collapse-1024 .oi-nav__burger {
		display: flex;
	}

	.oi-site-header .oi-site-logo img {
		width: 250px !important;
		height: auto !important;
	}
}

/* Phones: live's header is 107px tall with a 16px gutter. */
@media (max-width: 767px) {
	.oi-site-header {
		padding-left: var(--wp--preset--spacing--40) !important;
		padding-right: var(--wp--preset--spacing--40) !important;
	}

	.oi-site-header > .wp-block-group:not(.hide-on-mobile) {
		padding-bottom: var(--wp--preset--spacing--60) !important;
	}
}

/* Desktop menu, as live: top-level links keep their colour on hover (white on the home overlay, navy elsewhere). */
.oi-site-header .oi-site-navigation.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	color: inherit;
}

body.home:not(.scrolling) .oi-site-header .oi-site-navigation.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--palette-9);
}

/* Dropdowns, as live: open under the parent's left edge; square white panel with a soft shadow; rows 15/35 padded
   (nearest tokens), split by 1px light grey rules, and a near-white row on hover. */
.oi-site-header .oi-site-navigation.wp-block-navigation:not(.open):not(.has-background) .has-child > .wp-block-navigation__submenu-container {
	left: 0;
	right: auto;
	border-radius: 0;
	box-shadow: 0 4px 10px -2px color-mix(in srgb, var(--wp--preset--color--palette-7) 10%, transparent);
}

.oi-site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item:not(:last-child) {
	border-bottom: 1px solid var(--wp--preset--color--palette-6);
}

.oi-site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
}

.oi-site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--palette-8);
}

/* Burger: live's is a 24px icon, 32px in from the edge on phones. */
.oi-site-header .oi-nav__burger {
	width: var(--wp--preset--spacing--50);
	height: var(--wp--preset--spacing--50);
	padding: 0;
	align-items: center;
}

.oi-site-header .oi-nav__burger span {
	width: 100%;
}

@media (max-width: 767px) {
	.oi-site-header .oi-nav__burger {
		margin-right: var(--wp--preset--spacing--40);
	}
}

/* Mobile drawer (offcanvas part), as live's Mobile Nav popup: a 330px white panel over an 80% backdrop.
   The drawer prints in wp_footer, where per-block layout CSS and style variations don't reach, so it is styled here. */
.oi-offcanvas-panel--right {
	width: min(330px, 90vw);
	box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
}

body.oi-panel-open::before {
	background: rgb(0 0 0 / 80%);
}

.wh-drawer {
	position: relative;
}

/* Close ✕ for the drawer and the Client Login popup, top right as live. */
.wh-panel-close {
	position: absolute;
	top: var(--wp--preset--spacing--40);
	right: var(--wp--preset--spacing--40);
	margin: 0;
}

.wh-panel-close .wp-block-button__link {
	padding: 0;
	background: none;
	color: var(--wp--preset--color--palette-3);
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1;
}

/* Menu rows: one tappable row per item, parents open in place; open and hovered rows get live's pale navy. */
.wh-drawer__menus > * {
	margin-block: 0;
}

.wh-drawer__menus .wp-block-navigation__container {
	gap: 0;
	width: 100%;
}

.wh-drawer__menus .wp-block-navigation-item {
	width: 100%;
}

/* Link rows take their padding from the menu block's item-padding setting; summaries match it here. */
.oi-offcanvas-panel .wh-drawer__menus .wp-block-navigation .wp-block-navigation-item__content,
.wh-drawer__group > summary {
	display: block;
	box-sizing: border-box;
	width: 100%;
	color: var(--wp--preset--color--palette-11);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: 1;
}

.wh-drawer__group > summary {
	padding: var(--wp--preset--spacing--40);
	list-style: none;
	cursor: pointer;
}

.wh-drawer__group > .wp-block-navigation {
	margin-block-start: 0;
}

.wh-drawer__group > summary::-webkit-details-marker {
	display: none;
}

.wh-drawer__menus .wp-block-navigation-item__content:hover,
.wh-drawer__group > summary:hover,
.wh-drawer__group[open] > summary {
	background-color: color-mix(in srgb, var(--wp--preset--color--palette-11) 16%, var(--wp--preset--color--palette-9));
}

/* the close button is taken out of flow, so the logo starts at the top padding */
.wh-panel-close + * {
	margin-block-start: 0;
}

.wh-drawer__actions > * + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.wh-drawer__actions .wp-block-button__link,
.modal.client-login .wp-block-button:not(.close) .wp-block-button__link {
	justify-content: center;
	text-align: center;
}

.wh-drawer__social {
	justify-content: center;
	gap: var(--wp--preset--spacing--30);
	margin-block-start: var(--wp--preset--spacing--60);
}

/* Client Login popup (part client-login-popup, key client-login), as live: a 330px full-height panel sliding in
   from the right over an 80% backdrop. Above the drawer, which it can be opened from. */
.modal.client-login {
	z-index: 10000;
	padding: 0;
	justify-content: flex-end;
	align-items: stretch;
	background-color: rgb(0 0 0 / 80%);
}

.modal.client-login .modal-content {
	width: min(330px, 90vw);
	max-height: none;
	min-height: 100dvh;
	border-radius: 0;
	box-shadow: 2px 8px 23px 3px rgb(0 0 0 / 20%);
}

.modal.client-login .modal-content[class*="oi-popup-anim--"] {
	animation: wh-slide-in-right 0.7s ease both;
}

@keyframes wh-slide-in-right {
	from { transform: translateX(100%); }
	to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.modal.client-login .modal-content[class*="oi-popup-anim--"] {
		animation: none;
	}
}

/* Stay Informed band (part site-cta), as live: 8% side padding around a 940 box. */
.wh-stay-informed {
	padding-inline: 8%;
}

/* Phones: live's form ends 31px above the footer logo. */
@media (max-width: 767px) {
	.wh-stay-informed {
		padding-bottom: var(--wp--preset--spacing--50) !important;
	}
}

/* The band and the footer set their own side padding, so their inner boxes drop the root padding. */
.wh-stay-informed__inner.has-global-padding,
.wh-footer__inner.has-global-padding {
	padding-inline: 0;
}

/* Newsletter form (Gravity Forms 1), as live's styled form: white inputs with a light border, a green submit with dark text, centred. */
.wh-stay-informed .gform_wrapper input:is([type="text"], [type="email"]) {
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--palette-6);
	border-radius: 0;
	background-color: var(--wp--preset--color--palette-9);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.wh-stay-informed .gform_wrapper .gform_footer {
	justify-content: center;
}

.wh-stay-informed .gform_wrapper .gform_button {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50);
	border: 0;
	border-radius: 3px;
	background-color: var(--wp--preset--color--palette-1);
	color: var(--wp--preset--color--palette-14);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
}

.wh-stay-informed .gform_wrapper .gform_button:hover {
	background-color: var(--wp--preset--color--palette-2);
}

/* The reCAPTCHA notice reads as body text on every form, as live (the framework sets it small, grey and centred). */
.oi-recaptcha {
	text-align: start;
}

.oi-recaptcha-text {
	font-size: inherit;
	color: inherit;
}

.oi-recaptcha a {
	text-decoration: none;
}

/* Footer links keep the body colour without underlines, as live. */
.wh-footer a {
	text-decoration: none;
}

/* Footer (part footer), as live: a 1140 box inside 6% side padding; on phones the columns run edge to edge, centred. */
.wh-footer {
	padding-inline: 6%;
}

.wh-footer__social {
	justify-content: center;
}

/* Office hours as live's two lists: plain weight, no row padding, hours in their own column. */
.wh-footer__hours .oi-business-hours__row {
	padding: 0;
	gap: 0;
}

.wh-footer__hours .oi-business-hours__day {
	min-width: 6.625em;
	font-weight: inherit;
}

/* Live's desktop gap above the copyright is the top row's minimum height; once the columns stack it closes up. */
@media (max-width: 1024px) {
	.wh-footer .wh-footer__bottom {
		margin-block-start: 0;
	}
}

/* Tablet: the logo column runs full width over two rows of two (core columns would sit five across). */
@media (min-width: 768px) and (max-width: 1024px) {
	.wh-footer .wh-footer__columns {
		flex-wrap: wrap !important;
	}

	.wh-footer .wh-footer__columns > .wp-block-column {
		flex-basis: 50% !important;
		flex-grow: 0;
	}

	.wh-footer .wh-footer__columns > .wp-block-column:first-child {
		flex-basis: 100% !important;
		padding-bottom: var(--wp--preset--spacing--70);
	}
}

@media (max-width: 767px) {
	.wh-footer {
		padding-inline: 0;
	}

	.wh-footer__columns,
	.wh-footer__columns .wp-block-heading {
		text-align: center;
	}

	/* live tightens heading-to-text to 10px on phones */
	.wh-footer__columns .oi-card {
		gap: var(--wp--preset--spacing--30);
	}

	/* and runs the address the full width */
	.wh-footer__columns > .wp-block-column:nth-child(2) .oi-card {
		padding-inline: 0 !important;
	}

	.wh-footer__columns > .wp-block-column:first-child {
		padding-bottom: var(--wp--preset--spacing--70);
	}

	.wh-footer__columns > .wp-block-column:nth-child(2),
	.wh-footer__columns > .wp-block-column:nth-child(3) {
		padding-bottom: var(--wp--preset--spacing--40);
	}

	.wh-footer .wh-footer__hours {
		align-self: center;
		width: fit-content;
		text-align: start;
	}

	.wh-footer__hours .oi-business-hours__day {
		min-width: 8.5em;
	}

	.wh-footer .wh-footer__bottom {
		flex-direction: column;
		gap: 0;
		padding-inline: 6%;
	}
}

/* Page heroes (parts single-header and hero-*), as live: a 200 x 4 green rule under the title. Core caps a coloured
   separator at 2px, so the bar's size is set here. */
.wh-hero .wh-hero__rule {
	width: 12.5rem !important;
	height: 4px !important;
	margin-inline: auto;
	border: none !important;
}

/* Live's tabs are 56 tall: 20px above and below the label, between the 16 and 24 tokens. */
.wh-hero__nav.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding-block: calc((var(--wp--preset--spacing--40) + var(--wp--preset--spacing--50)) / 2);
}

/* The 404 band fades to plain navy at its foot, as live. */
.wh-hero--fade {
	position: relative;
}

.wh-hero--fade::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, var(--wp--preset--color--palette-7));
	pointer-events: none;
}

.wh-hero--fade > * {
	position: relative;
}

/* Section tabs: white labels; the current page's tab is a white box with dark text. */
.wh-hero__nav .wp-block-navigation-item__content {
	line-height: 1;
}

.wh-hero__nav .current-menu-item > .wp-block-navigation-item__content,
body.post-type-archive-oi_team .wh-hero__nav a[href="/team/"] {
	background-color: var(--wp--preset--color--palette-9);
	color: var(--wp--preset--color--palette-14);
}

/* Phones: no minimum height, 8% padding all round, 16px between title, rule and the current page's title. */
@media (max-width: 768px) {
	.wh-hero {
		min-height: 0 !important;
		padding: 8% !important;
	}

	.wh-hero .wh-hero__title {
		padding-top: 0 !important;
		gap: var(--wp--preset--spacing--40);
	}

	/* Resources' band is tighter on live: 16px over the title, nothing under the rule. */
	.wh-hero--flush {
		padding: var(--wp--preset--spacing--40) 0 0 !important;
	}
}

/* Page content: live's only gutter is each column's 10px padding (the .oi-card here), so the root padding is off
   inside main. Header, hero, band and footer sit outside main and keep their own. */
main {
	--wp--style--root--padding-left: 0px;
	--wp--style--root--padding-right: 0px;
}

/* Migrated content is a stack of full-width sections that touch, as live's Elementor sections do; the root block gap
   would put 24px of white between each. */
.wp-block-post-content > .alignfull + .alignfull,
main > .wh-learn-more {
	margin-block-start: 0;
}

/* A card's first block starts at the card's padding (headings otherwise keep their top margin). */
.oi-card > :first-child {
	margin-block-start: 0;
}

/* Lead lines set as H6 on live: Work Sans 16 medium, dark. */
.wh-lead {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--wp--preset--color--palette-14);
	margin-block-end: 0;
}

.oi-card > .wh-lead + * {
	margin-block-start: var(--wp--preset--spacing--20);
}

/* Centred icons over headings (Core Values and others). */
.wh-icon-center {
	display: flex !important; /* the icon block writes inline-flex inline */
	justify-content: center;
}

/* Core Values boxes: at least 250px, title as written (live switches off the H4 capitalising), 100 × 3 green rule. */
.wh-box.wh-value {
	min-height: 250px;
	height: 100%;
}

.wh-value .wh-value__title {
	margin: 0;
	text-transform: none;
}

.wh-box .wh-value-rule {
	width: 100px !important;
	height: 3px !important;
	margin-inline: auto;
	border: none !important;
}

.wh-box.wh-perks {
	height: 100%;
	justify-content: flex-start;
}

/* Boxes in a row share the row's height. */
.wp-block-column > .oi-card:has(> .wh-box) {
	height: 100%;
}

/* Photo carousels: white chevrons over the photos, as live. */
.wh-photo-slider {
	--oi-slider-arrow-color: var(--wp--preset--color--palette-9);
}

.wh-photo-slider .wp-block-image {
	margin: 0;
}

/* Downloads resource cards: thumbnail with live's soft shadow; Work Sans title; small underlined button with icon. */
.wh-resource {
	height: 100%;
	justify-content: flex-start !important;
	padding-block: var(--wp--preset--spacing--60) !important;
}

.wh-resource__thumb img {
	box-shadow: 0 0 10px rgb(0 0 0 / 14%);
}

.wh-resource .wh-resource__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 1px;
}

.wh-resource__text p {
	margin: 0;
	font-size: var(--wp--preset--font-size--caption);
}

.wh-post-button .wp-block-button__link {
	padding: 0;
	font-size: 0.75rem;
	text-decoration: underline;
	text-transform: uppercase;
}

.wh-slide-caption {
	margin-block: var(--wp--preset--spacing--30) 0;
	font-size: var(--wp--preset--font-size--caption);
}

/* Lead line set as H5 on live: Work Sans 18 medium, dark. */
.wh-lead-h5 {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	color: var(--wp--preset--color--palette-14);
}

/* Compact chevron lists (live's icon lists have no gap between items). */
ul.wh-tight-list {
	padding-left: 2.5rem;
}

ul.wh-tight-list li {
	margin-block: 0;
	padding-block: 0;
}

/* Bold underlined dark link ("here"), as live's inline style. */
.wh-strong-link {
	color: var(--wp--preset--color--palette-14);
	text-decoration: underline;
}

/* ── Home ──────────────────────────────────────────────────────────────────────────────────────────────────────── */

/* Hero: full viewport (76vh on tablets, 830px on phones, as live). One Cover block whose overlay sets the navy wash in
   the editor. Stacked photos, overlay, text: the inner container goes static so the slideshow can sit under the overlay,
   which a Cover would otherwise draw beneath its contents. Title and line centred, the double chevron near the foot. */
.wp-block-cover.wh-home-hero {
	position: relative;
	min-height: 100vh;
	padding: 0;
	overflow: hidden;
	background-color: var(--wp--preset--color--palette-7);
}

.wp-block-cover.wh-home-hero > .wp-block-cover__inner-container {
	position: static;
}

.wh-home-hero__slides,
.wh-home-hero__content {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
}

.wh-home-hero__slides {
	z-index: 0;
}

.wp-block-cover.wh-home-hero > .wp-block-cover__background {
	z-index: 1;
}

.wh-home-hero__content {
	z-index: 2;
}

.wh-home-hero__slides :is(.splide__track, .splide__list, .splide__slide, .wp-block-image) {
	height: 100%;
	margin: 0;
}

.wh-home-hero__slides img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wh-home-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wh-home-hero .wh-home-hero__title {
	margin: 0;
	font-size: 4.5rem;
	line-height: 0.8;
}

.wh-home-hero__title sup {
	font-size: 2rem;
	vertical-align: 0.6em;
}

.wh-home-hero__more {
	position: absolute;
	bottom: var(--wp--preset--spacing--70);
	left: 0;
	right: 0;
}

@media (max-width: 1024px) {
	.wp-block-cover.wh-home-hero {
		min-height: 76vh;
	}
}

@media (max-width: 767px) {
	.wp-block-cover.wh-home-hero {
		min-height: 830px;
	}

	.wh-home-hero .wh-home-hero__title {
		font-size: 4rem;
		line-height: 1.1;
	}
}

/* Waves 500% × 600px (225px on phones), and waves drawn over a section's own background (image band, team). */
.wh-wave--tall {
	--wh-wave-w: 500%;
	--wh-wave-h: 600px;
}

@media (max-width: 767px) {
	.wh-wave--tall,
	.wh-wave--above {
		--wh-wave-h: 225px;
	}
}

.wh-wave--above::before,
.wh-wave--above::after {
	z-index: 1 !important;
}

/* A wave reaches into the sections around it; content there stays on top of it, as live. */
.wp-block-post-content > .alignfull:not(.wh-wave-top, .wh-wave-top-flip, .wh-wave-bottom, .wh-wave-bottom-flip) {
	position: relative;
	z-index: 1;
}

.wh-framed-video iframe,
.wh-framed-video .wp-block-embed__wrapper > .wh-video-overlay__poster {
	border: 1px solid var(--wp--preset--color--palette-6);
}

/* Video poster (child functions.php): fills the 16:9 frame the iframe would; live's 100px play icon, white at 80%. */
.wh-video-overlay .wh-video-overlay__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--wp--preset--color--palette-9);
	background-size: cover;
	background-position: center;
	color: var(--wp--preset--color--palette-9);
}

.wh-video-overlay__play {
	width: 6.25rem;
	height: 6.25rem;
	opacity: 0.8;
	filter: drop-shadow(1px 0 6px color-mix(in srgb, var(--wp--preset--color--palette-7) 30%, transparent));
	transition: opacity 0.2s;
}

.wh-video-overlay__poster:hover .wh-video-overlay__play,
.wh-video-overlay__poster:focus-visible .wh-video-overlay__play {
	opacity: 1;
}

/* We Can Help You: flip card and linked title in a bordered box, no padding. */
.wh-box.wh-help-box {
	padding: 0 !important;
	gap: 0;
}

.wh-help-title {
	margin: 0;
	padding: var(--wp--preset--spacing--40) 0;
}

.wh-help-title a {
	color: var(--wp--preset--color--palette-3);
	text-decoration: none;
}

/* Team carousel: white Kalam names, credentials the same size, as live. */
.wh-home-team__name {
	margin: 0;
	line-height: 1.9;
}

.wh-home-team__name a {
	color: var(--wp--preset--color--palette-15);
	text-decoration: none;
}

.wh-home-team__name .title-cred {
	font-size: inherit;
}

/* Recent posts: #FAFAFA boxes, Work Sans titles, small date, navy Read More. */
.wh-box.wh-recent {
	height: 100%;
	justify-content: flex-start !important;
}

.wh-recent .wh-recent__title {
	margin: 0;
	font-size: 1.25rem;
}

.wh-recent__title a {
	color: var(--wp--preset--color--palette-14);
	text-decoration: none;
}

.wh-recent .wh-recent__date,
.wh-recent .wh-recent__excerpt {
	margin: 0;
	font-size: var(--wp--preset--font-size--caption);
}

.wh-recent .wh-recent__more {
	color: var(--wp--preset--color--palette-11);
	font-size: 0.75rem;
	text-decoration: none;
	text-transform: uppercase;
}

/* Credential logos: up to 205 × 110, centred. */
.wh-logos .wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
	margin: 0;
}

.wh-logos img {
	max-width: 205px;
	max-height: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Tax Tips widget: its content floats, so the box contains it to keep the space under it. */
.wh-tax-tips,
.wh-tax-tips > div {
	display: flow-root;
}

/* Milestones download box: Work Sans heading with live's wide tracking; 2em padding. */
.wh-download-box .wh-download-title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 2px;
}

.wh-box.wh-download-box {
	padding: var(--wp--preset--spacing--60) !important;
}

.wh-download-box .wp-block-columns {
	align-items: center !important;
}

.wh-age {
	margin-block-end: 0;
}

/* Client Logins boxes: live's 3em padding. */
.wh-box.wh-login-box {
	height: 100%;
	padding: var(--wp--preset--spacing--70) !important;
}

.wh-box.wh-clipping {
	min-height: 318px;
	padding: 0 !important;
}

.wh-box.wh-clipping .wp-block-image {
	margin: 0;
}

/* Who We Serve success stories: live's pale navy slide (#D5DFE9 = the navy accent at 16% on white; no palette slot). */
.wh-stories .wh-story {
	background-color: color-mix(in srgb, var(--wp--preset--color--palette-11) 16%, var(--wp--preset--color--palette-9));
}

/* Phones: the arrows sit over the slide's edges, as live, instead of taking 3em a side. */
@media (max-width: 767px) {
	.wh-stories.oi-slider[data-arrow-position="outside"] {
		padding-inline: var(--wp--preset--spacing--30);
	}
}

/* "Learn More About" cards: equal heights across the row, live's 14px description. */
.wh-learn-more__cards > .wp-block-column > .wp-block-oechsli-card,
.wh-learn-more__cards .oi-card__inner {
	height: 100%;
}

.wh-learn-more__cards .oi-card__description {
	font-size: var(--wp--preset--font-size--caption);
}

/* Who We Serve archive: live's flip cards are 280px tall (the block is square by default); points in 16px lines,
   the caption in Work Sans 20px medium, dark, without an underline. */
.wh-wws-flip {
	aspect-ratio: auto;
	height: 280px;
}

.wh-wws-flip .oi-flipcard__back p {
	line-height: 1;
}

.wh-wws-caption {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	margin-block: var(--wp--preset--spacing--50) 0 !important;
}

.wh-wws-caption a {
	color: var(--wp--preset--color--palette-14);
	text-decoration: none;
}

.wh-learn-link .wp-block-button__link {
	text-transform: uppercase;
	text-decoration: underline;
}

/* Service specialists carousel: names in Work Sans 19.2px medium with 1px tracking, as live; no underline. */
.wh-specialist__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: none;
}

.wh-specialist__name a {
	color: var(--wp--preset--color--palette-3);
	text-decoration: none;
}

/* Wide screens: the photos take the full 1120 row and the arrows sit beyond it, as live. */
@media (min-width: 1280px) {
	.wh-specialists.oi-slider[data-arrow-position="outside"] {
		padding-inline: 0;
	}

	.wh-specialists.oi-slider[data-arrow-position="outside"] .splide__arrow--prev {
		left: -3em;
	}

	.wh-specialists.oi-slider[data-arrow-position="outside"] .splide__arrow--next {
		right: -3em;
	}
}

/* Team (/team/): 400px flip cards with the photo filling the front; fun facts in 14px lines split by faint rules;
   the whole back links to the member, as live's card does. */
.wh-member-flip {
	aspect-ratio: auto;
	height: 400px;
}

.wh-member-flip .oi-flipcard__front .wp-block-post-featured-image {
	height: 100%;
	margin: 0;
}

.wh-member-flip .oi-flipcard__front .wp-block-post-featured-image img {
	height: 100%;
	object-fit: cover;
}

.wh-fun-facts {
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1.15;
}

.wh-fun-facts hr {
	opacity: 0.25;
}

.wh-member-flip .oi-flipcard__back {
	position: relative;
}

.wh-more-about .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Name (Kalam 24, credentials at 16) and title (Kalam 16) under each card, as live. */
.wh-member .wh-member__name {
	margin: 0;
	padding-top: 0.5em;
}

.wh-member__name .title-cred {
	font-size: var(--wp--preset--font-size--small);
}

.wh-member .wh-member__role {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.5625;
	letter-spacing: 1px;
}

.wh-team-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--palette-14);
}

/* Tablets: two members a row, as live. */
@media (min-width: 600px) and (max-width: 1024px) {
	.wh-team-grid .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Member pages: credentials in the hero name at 40px, light grey and regular weight; title in Kalam 24, as live. */
.wh-member-hero__name .title-cred {
	font-size: 2.5rem;
	font-weight: 400;
	color: var(--wp--preset--color--palette-5);
}

.wh-hero .wh-member-hero__role {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	line-height: 1.04;
	letter-spacing: 1px;
}

@media (max-width: 768px) {
	.wh-member-hero__name .title-cred {
		font-size: 1.5rem;
	}
}

/* "About {name}": a 150 x 3 green rule under the script heading. */
.wh-member-about .wh-about-rule {
	width: 9.375rem !important;
	height: 3px !important;
	margin-inline: 0;
	border: none !important;
}

/* Q&A (the member's post content): questions in Kalam 16 bold with 2px tracking on live's 48px rows, answers indented 32px. */
.wh-qa h2 {
	margin-block: var(--wp--preset--spacing--40) 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--small);
	line-height: 3;
	letter-spacing: 2px;
}

.wh-qa p {
	margin-block: var(--wp--preset--spacing--20) 0;
	padding-left: 2rem;
}

/* Phones: live keeps a 16px gutter around the photo and form, and pads the About panel 16px. */
@media (max-width: 781px) {
	.wh-member-columns {
		padding-inline: var(--wp--preset--spacing--40);
	}

	.wh-member-about {
		padding: var(--wp--preset--spacing--40) !important;
	}
}

/* Personal photos: square thumbnails, three across. */
.wh-team-photos__slider {
	--oi-slider-arrow-color: var(--wp--preset--color--palette-9);
}

.wh-team-photos__slider .wp-block-image,
.wh-team-photos__slider .wp-block-image img {
	margin: 0;
	aspect-ratio: 1;
	width: 100%;
	object-fit: cover;
}

/* Contact forms (Gravity Forms 5 on member pages, 4 on Contact Us): live's #FAFAFA fields and green Submit. */
:is(.wh-member-side, .wh-contact-form) .gform_wrapper input:is([type="text"], [type="email"], [type="tel"]),
:is(.wh-member-side, .wh-contact-form) .gform_wrapper textarea {
	border: 1px solid var(--wp--preset--color--palette-6);
	border-radius: 0;
	background-color: var(--wp--preset--color--palette-8);
	font-family: inherit;
	font-size: 0.9375rem;
}

:is(.wh-member-side, .wh-contact-form) .gform_wrapper .gform_button {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--60);
	border: 0;
	border-radius: 0;
	background-color: var(--wp--preset--color--palette-2);
	color: var(--wp--preset--color--palette-15);
	font-family: inherit;
	font-size: 0.9375rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	cursor: pointer;
}

/* Careers cards, as live's "cards" skin: soft shadow, 3px corners; navy Kalam title; 14px grey excerpt; bold
   12px Read More; the date under a faint rule. */
.wh-job {
	border-radius: 3px;
	box-shadow: 0 0 10px rgb(0 0 0 / 15%);
	overflow: hidden;
}

.wh-job .wh-job__title {
	margin: 0;
	font-size: 1.3125rem;
}

.wh-job__title a {
	color: var(--wp--preset--color--palette-11);
	text-decoration: none;
}

.wh-job .wh-job__excerpt {
	color: var(--wp--preset--color--palette-4);
	font-size: var(--wp--preset--font-size--caption);
	line-height: 1.5;
}

.wh-job .wh-job__more {
	color: var(--wp--preset--color--palette-11);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.wh-job__meta {
	border-top: 1px solid var(--wp--preset--color--palette-6);
}

.wh-job .wh-job__date {
	color: var(--wp--preset--color--palette-5);
	font-size: 0.75rem;
}

.wh-job-posted > * {
	margin: 0;
}

/* Blog, category and article cards share the careers card; the photo sits flush on top. */
.wh-post-card .wh-job__photo {
	margin: 0;
}

.wh-post-card .wh-job__body {
	flex-grow: 1;
}

/* Phones: live's cards sit in from the edges (306 of 390) and crop the photo to 2:1. */
@media (max-width: 767px) {
	.wh-post-grid {
		padding-inline: var(--wp--preset--spacing--50);
	}

	.wh-post-card .wh-job__photo img {
		aspect-ratio: 2 / 1 !important;
	}
}

.wh-pagination {
	margin-block-start: 50px;
	font-size: var(--wp--preset--font-size--small);
}

/* Post and article titles: live's 3rem script title. */
.wh-post-title {
	font-size: 3rem;
}

/* Newsletters: titles in the script face, navy, as live; the year beneath in Kalam. */
.wh-newsletter__title {
	margin-block: var(--wp--preset--spacing--40) 0;
	font-family: var(--wp--preset--font-family--custom);
}

.wh-newsletter__title a {
	color: var(--wp--preset--color--palette-11);
	text-decoration: none;
}

.wh-newsletter__year {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.5rem;
	letter-spacing: 1px;
}

/* Downloads: underlined script titles, as live's default archive. */
.wh-download__title a {
	text-decoration: underline;
}

/* Live's archive caps the featured image at 500 tall (cover) and runs the excerpt straight under it. */
.wh-downloads .wp-block-post-featured-image img {
	max-height: 31.25rem;
	object-fit: cover;
}

.wh-downloads .wh-download__title,
.wh-downloads .wp-block-post-featured-image,
.wh-downloads .wh-download__excerpt {
	margin-block: 0;
}

.wh-downloads .wh-download > * + * {
	margin-block-start: var(--wp--preset--spacing--20);
}

.wh-downloads .wh-download .wh-download__excerpt {
	margin-block-start: 0;
}

.wh-job-posted + .wp-block-post-content {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* Contact Us: outline contact buttons (16px uppercase, tracked, centred, live's lg padding); hours centred as live;
   the office photo framed in white. */
.wh-contact-button .wp-block-button__link {
	justify-content: center;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.wh-contact-hours {
	width: fit-content;
	margin-inline: auto;
}

.wh-contact-hours .oi-business-hours__row {
	padding: 0;
	gap: 0;
}

.wh-contact-hours .oi-business-hours__day {
	min-width: 8.125em;
	font-weight: inherit;
}

.wh-framed img {
	border: 6px solid var(--wp--preset--color--palette-9);
}

/* Phones: live's team groups run 16px from the edge. */
@media (max-width: 781px) {
	.wh-team-group {
		padding-inline: var(--wp--preset--spacing--40) !important;
	}
}

/* Live's pale navy "waves" shape dividers (Elementor's waves path, 500px tall, 600% wide, some mirrored) behind the
   team groups. The colour is the navy accent at 16% on white, as the success-story slides. */
main {
	overflow-x: clip;
}

.wh-team-group,
:is(.wh-wave-top, .wh-wave-top-flip, .wh-wave-bottom, .wh-wave-bottom-flip) {
	position: relative;
	z-index: 0;
}

/* Size per section: the team groups use live's 600% × 500px; .wh-wave--short is Core Values' 300% × 160px
   (500% × 225px on phones). */
.wh-wave--short {
	--wh-wave-w: 300%;
	--wh-wave-h: 160px;
}

@media (max-width: 767px) {
	.wh-wave--short {
		--wh-wave-w: 500%;
		--wh-wave-h: 225px;
	}
}

/* Tinted band behind content (live's #D5DFE9). */
.wh-tint {
	background-color: color-mix(in srgb, var(--wp--preset--color--palette-11) 16%, var(--wp--preset--color--palette-9));
}

/* Downloads' slate band (live's #2D4256, no palette slot: the navy surface lightened with the light grey). */
.wh-slate {
	background-color: color-mix(in srgb, var(--wp--preset--color--palette-7) 77%, var(--wp--preset--color--palette-5));
}

.wh-wave--slate {
	--wh-wave-color: color-mix(in srgb, var(--wp--preset--color--palette-7) 77%, var(--wp--preset--color--palette-5));
}

:is(.wh-wave-top, .wh-wave-top-flip)::before,
:is(.wh-wave-bottom, .wh-wave-bottom-flip)::after {
	content: "";
	position: absolute;
	left: 50%;
	z-index: -1;
	width: calc(var(--wh-wave-w, 600%) + 1.3px);
	height: var(--wh-wave-h, 500px);
	background-color: var(--wh-wave-color, color-mix(in srgb, var(--wp--preset--color--palette-11) 16%, var(--wp--preset--color--palette-9)));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M421.9,6.5c22.6-2.5,51.5,0.4,75.5,5.3c23.6,4.9,70.9,23.5,100.5,35.7c75.8,32.2,133.7,44.5,192.6,49.7c23.6,2.1,48.7,3.5,103.4-2.5c54.7-6,106.2-25.6,106.2-25.6V0H0v30.3c0,0,72,32.6,158.4,30.5c39.2-0.7,92.8-6.7,134-22.4c21.2-8.1,52.2-18.2,79.7-24.2C399.3,7.9,411.6,7.5,421.9,6.5z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}

:is(.wh-wave-top, .wh-wave-top-flip)::before {
	top: -1px;
	transform: translateX(-50%);
}

.wh-wave-top-flip::before {
	transform: translateX(-50%) scaleX(-1);
}

:is(.wh-wave-bottom, .wh-wave-bottom-flip)::after {
	bottom: -1px;
	transform: translateX(-50%) rotate(180deg);
}

.wh-wave-bottom-flip::after {
	transform: translateX(-50%) scaleY(-1);
}

/* Framework gap: .oi-social-link is hard-set to palette-1, so the block's text colour never reaches the icons. */
.oi-social-links.has-text-color .oi-social-link {
	color: inherit;
}

/* Home: social icons turn white with the rest of the header over the hero (the framework flips nav, logo and buttons),
   and the top-bar divider is a faint white line, as live. */
body.home:not(.scrolling).header-transparent-sticky-home .oi-site-header .oi-social-link {
	color: var(--wp--preset--color--palette-9) !important;
}

body.home.header-transparent-sticky-home .oi-site-header .hide-on-mobile {
	border-bottom-color: color-mix(in srgb, var(--wp--preset--color--palette-9) 20%, transparent) !important;
}

/* Newsletter archive ([list-newsletter-archives]): three years per row, one on phones. */
.wh-newsletter-years {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
	gap: var(--wp--preset--spacing--40, 1.5rem);
}

.wh-newsletter-year__title {
	text-align: start;
}

/* Archive links (newsletter years, the category sidebar) without underlines, as live. */
.wh-newsletter-year__list a,
.wh-archives a {
	text-decoration: none;
}

.wh-newsletter-year__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Team cards with a plain photo (no flip side): the photo keeps its gap above the name. */
:is(.wh-member, .wh-home-team__item) > .wp-block-post-featured-image {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* A Cover with no text inside takes its layout on the block itself, which would narrow the overlay to the content width
   and push it down by the block gap. */
.wp-block-cover.is-layout-constrained > .wp-block-cover__background {
	max-width: none;
	margin: 0;
}
