/* While the window is actively resizing (navigation.js toggles .is-resizing on
   <html>), kill the mobile nav panel's fade so it doesn't flash when the layout
   crosses the desktop/mobile breakpoint. */
.is-resizing .site-navigation,
.is-resizing .site-navigation * {
	transition: none !important;
}

/* Sticky (not fixed) so it never leaves the document flow — no layout jump
   when scrolling starts. It sticks to the top from the very first pixel. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: var(--color-white);
	transition:
		box-shadow var(--transition),
		transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color var(--transition);
}

/* Shadow appears only after scrolling a little (toggled in navigation.js). */
.site-header.is-sticky {
	box-shadow: 0 15px 38px rgba(0, 0, 0, 0.1);
}

/* Slide up out of view while scrolling down; eases back in on scroll up. */
.site-header.is-sticky.is-hidden {
	transform: translateY(-100%);
}

/* Sit below the WordPress admin bar when logged in (desktop). */
@media screen and (min-width: 783px) {
	.admin-bar .site-header {
		top: 32px;
	}
}

.site-header__inner {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin-inline: auto;
	padding-inline: 20px;
}

.site-header__branding {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	padding: 34px 0;
}

.site-header__branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-header__branding .custom-logo {
	display: block;
	width: 191px;
	max-width: 100%;
	height: auto;
}

.site-navigation {
	display: flex;
	flex: 1;
	align-items: stretch;
	justify-content: center;
	margin-inline: 40px;
}

.site-navigation__menu,
.site-navigation__menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-navigation__menu {
	display: flex;
	align-items: stretch;
	/* No flex gap — the spacing lives inside each link as horizontal padding so
	   the items sit edge-to-edge with no dead zones between them (moving a bit
	   left/right of the text still keeps the dropdown open). The negative inline
	   margin cancels the outermost links' padding so the text stays put. */
	gap: 0;
	margin-inline: -25px;
}

.site-navigation__menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.site-navigation__menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	padding: 40px 25px;
	color: var(--color-black);
	font-family: var(--font-heading);
	font-size: var(--nav-font-size);
	font-weight: var(--nav-font-weight);
	line-height: var(--nav-line-height);
	text-decoration: none;
	text-transform: uppercase;
	transition: color var(--transition);
}

.site-navigation__menu > li:hover > a,
.site-navigation__menu > li > a:hover,
.site-navigation__menu > li > a:focus-visible,
.site-navigation__menu > .current-menu-item > a,
.site-navigation__menu > .current-menu-ancestor > a {
	color: var(--color-primary);
}

/* Dropdown indicator on top-level items that have a sub-menu. A CSS-drawn
   chevron (square with two borders, rotated 45deg = points down). Uses
   currentColor so it tracks the link's hover color. */
.site-navigation__arrow {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	/* Pivot around the chevron's ink centroid (~66% 66%), not the box center.
	   That point is the rotation's fixed point, so the glyph stays vertically
	   put when it flips instead of swinging below/above the text. */
	transform-origin: 66% 66%;
	transform: translateY(-1.3px) rotate(45deg);
	transition: transform 250ms ease;
}

/* Rotate 180deg (45 -> 225) so the chevron points up while the dropdown is
   open — on hover/focus (desktop) and when the mobile accordion is toggled. */
.site-navigation__menu > li:hover > a .site-navigation__arrow,
.site-navigation__menu > li:focus-within > a .site-navigation__arrow,
.site-navigation__menu > li.is-open > a .site-navigation__arrow {
	transform: translateY(-1.3px) rotate(225deg);
}

/* Dropdown shell — shared by both the mega (Services) and split
   (Industries/Resources) layouts. Centered card capped at the container
   width (1380px) so the page shows on either side; anchored to the bottom
   of the header via --mcc-header-bottom (set in navigation.js). */
.site-navigation__menu .sub-menu {
	position: fixed;
	z-index: 20;
	/* Anchored to the header's bottom edge, not its height — otherwise the
	   admin bar (which shifts the header down) makes the panel overlap it. */
	top: var(--mcc-header-bottom, 96px);
	left: 0;
	right: 0;
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding: 40px;
	/* Floored to the tallest dropdown (measured in navigation.js) so the
	   overlay keeps a consistent height when hovering between menu items. */
	min-height: var(--mcc-submenu-height, auto);
	/* Transparent: the shared .site-navigation__panel frame behind these
	   provides the background + shadow on desktop, so switching items never
	   makes the panel itself flash. (On mobile these are stacked accordions,
	   already transparent.) */
	background: transparent;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	/* Content-only cross-fade; the persistent frame handles the panel's own
	   open/close, so this just swaps what's inside it. */
	transition:
		opacity 130ms ease,
		visibility 130ms ease;
}

/* The active panel's content is shown via a JS-managed class (not :hover) so it
   stays in sync with the shared frame — content and frame open and close
   together rather than the content vanishing while the frame is still up. */
.site-navigation__menu .sub-menu.is-active {
	opacity: 1;
	visibility: visible;
	/* Sits above the frame (19) and any sibling still fading out (20). */
	z-index: 21;
	transition:
		opacity 120ms ease,
		visibility 120ms ease;
}

/* --- Shared dropdown frame -------------------------------------------------
   One persistent panel background that stays mounted while any dropdown is
   open (JS keeps .is-submenu-open on the nav across item-to-item moves). The
   transparent per-item panels above swap their content over it, so the panel
   never disappears and reappears. Hidden on mobile (accordion mode). */
.site-navigation__panel {
	display: none;
}

@media (min-width: 1025px) {
	.site-navigation__panel {
		display: block;
		position: fixed;
		z-index: 19;
		top: var(--mcc-header-bottom, 96px);
		left: 0;
		right: 0;
		width: 100%;
		max-width: var(--container);
		margin-inline: auto;
		min-height: var(--mcc-submenu-height, auto);
		background: var(--menu-panel-bg);
		box-shadow: var(--shadow-sm);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 200ms ease, visibility 200ms ease;
	}

	.site-navigation.is-submenu-open .site-navigation__panel {
		opacity: 1;
		visibility: visible;
		transition: opacity 160ms ease, visibility 160ms ease;
	}
}

/* CSS-only full page fuzzy overlay, shown behind the dropdown while a
   submenu parent is open. Sits above the page (z-index: 1) but below the
   header/dropdown (z-index: 1000), so the page beneath blurs and tints
   blue while the header and overlay stay sharp. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 105, 203, 0.10);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	/* Close lingers so the blur doesn't flicker while the cursor crosses the
	   small gap between two menu items during a switch. */
	transition: opacity 220ms ease, visibility 220ms ease;
}

/* Reveal it (desktop only) when a top-level item with a dropdown is
   hovered or keyboard-focused. */
@media (min-width: 1025px) {
	body:has(.site-navigation.is-submenu-open)::before {
		opacity: 1;
		visibility: visible;
		/* Open transition stays smooth (a touch quicker than before). */
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}
}

/* Split dropdowns (Industries/Resources): two-tone full-bleed background —
   warm panel on the left half, grey promo panel on the right. The 50% hard
   stop lines up with the container centre (where the promo column begins),
   because the shell's horizontal padding is symmetric. */
.site-navigation__menu .sub-menu--split {
	background: linear-gradient(
		to right,
		var(--menu-panel-bg) 50%,
		var(--menu-promo-bg) 50%
	);
}

.sub-menu__eyebrow {
	padding-bottom: 12px;
	margin-bottom: 24px;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid rgb(145, 145, 145);
}

/* --- Mega layout (Services): full-width equal columns, no promo panel --- */
.mega-columns {
	display: flex;
	/* Spacing between columns. */
	gap: 180px;
	/* Center the column group within the overlay instead of stretching it
	   edge-to-edge; columns keep their content width (see .mega-column). */
	justify-content: center;
}

.mega-column {
	/* Don't grow to fill; size to content so the group stays centered. */
	flex: 0 1 auto;
	min-width: 180px;
}

.mega-column__heading {
	display: block;
	/* 7px + the first link's 7px top padding = 14px, matching the
	   link-to-link gap. */
	margin-bottom: 7px;
	color: #1f1f1f;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.mega-column__heading:hover,
.mega-column__heading:focus-visible {
	color: var(--color-primary);
}

.mega-column__links {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mega-column__links a {
	display: block;
	/* 7px top + 7px bottom = 14px between adjacent items. */
	padding: 7px 0;
	color: #1f1f1f;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-transform: none;
}

.mega-column__links a:hover,
.mega-column__links a:focus-visible {
	color: var(--color-primary);
}

/* --- Split layout (Industries/Resources): two-column flat links + promo panel --- */
.sub-menu__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	align-items: stretch;
}

/* Keep the left links clear of the vertical colour split. */
.sub-menu__split-links {
	padding-right: 48px;
}

/* Industries/Resources links reuse the Services sub-item styling
   (.mega-column__links); here they're just flowed into two columns. */
/* Both classes are on the <ul>, so this compound selector (0,2,0) beats
   `.mega-column__links { margin: 0 }` (0,1,0) — otherwise the auto margins get
   cancelled. The % width guarantees the block is narrower than its container,
   so the auto margins always have room to center it under the divider. */
.mega-column__links.sub-menu__split-list {
	columns: 2;
	column-gap: 80px;
	max-width: 85%;
	margin-left: auto;
	margin-right: auto;
}

.sub-menu__split-list li {
	break-inside: avoid;
}

.sub-menu__split-promo {
	padding-left: 48px;
	/* Drop the promo so the first post's top lines up with the divider under
	   the eyebrow on the left (eyebrow line ~21.7px + 12px padding-bottom).
	   Matching padding-bottom keeps the top and bottom spacing equal. */
	padding-top: 34px;
	padding-bottom: 34px;
}

/* Recent posts (left) beside the newsletter (right) inside the promo panel. */
.menu-promo {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 60px;
}

.menu-promo__posts {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 0;
	max-width: 290px;
}

.menu-promo__post {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	text-decoration: none;
}

.menu-promo__post-image {
	flex: 0 0 72px;
	overflow: hidden;
	border-radius: 8px;
}

.menu-promo__post-image img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.menu-promo__post-title {
	display: block;
	/* Live article titles use var(--e-global-color-primary), which resolves to
	   near-black on mccollisters.com (same var colors the black account icon). */
	color: var(--color-black);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
}

.menu-promo__post-link {
	display: block;
	margin-top: 6px;
	color: var(--color-black);
	font-size: 12px;
	font-weight: 400;
}

/* Newsletter column: label + field at top, social pinned to the bottom
   (aligned with the last post), matching the live layout. */
.menu-promo__newsletter {
	display: flex;
	flex-direction: column;
}

.menu-promo__newsletter-label {
	margin: 0 0 14px;
	/* Same styling as the article titles. */
	color: var(--color-black);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
}

/* Underline sits on the field wrapper so the revealed button/consent below
   aren't inside the underlined area. */
.menu-promo__newsletter-field {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	/* Match the width of the "Subscribe to our newsletter:" label so the
	   underline doesn't run past it. */
	max-width: 200px;
	padding-bottom: 6px;
	border-bottom: 1px solid #000;
}

/* Underline stays black in every state (no blue on focus). */
.menu-promo__newsletter-field:focus-within {
	border-bottom-color: #000;
}

/* Override the global boxed-input style (components.css). The live field is an
   underline only; input[type="email"] (0,2,1) matches that rule's specificity
   and wins on source order. */
.menu-promo__newsletter-form input[type="email"] {
	flex: 1;
	width: auto;
	min-height: 0;
	padding: 4px 0;
	font-size: 13px;
	color: var(--color-dark);
	border: 0;
	border-radius: 0;
	background: transparent;
}

.menu-promo__newsletter-form input[type="email"]::placeholder {
	color: var(--color-muted);
}

/* Button + reveal behaviour come from the shared .mcc-subscribe /
   .mcc-newsletter-reveal component in components.css — only the header's
   own spacing lives here. */
.menu-promo__newsletter-reveal {
	margin-top: 26px;
}

.menu-promo__newsletter-form .mcc-subscribe {
	margin: 0;
}

.menu-promo__newsletter-consent {
	margin: 22px 0 0;
	color: var(--color-black);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.menu-promo__newsletter-consent a {
	color: inherit;
	text-decoration: underline;
}

.menu-promo__social {
	display: grid;
	grid-template-columns: repeat(4, auto);
	column-gap: 32px;
	row-gap: 0;
	justify-content: start;
	justify-items: start;
	margin-top: auto;
	padding-top: 40px;
	font-size: 20px;
}

.menu-promo__social a {
	color: var(--color-black);
}

/* Hover each promo element independently — hovering the title tints only the
   title, hovering Read More tints only Read More (they share one <a>, so we
   key off each element's own :hover rather than the card's). */
.menu-promo__post-title:hover,
.menu-promo__post:focus-visible .menu-promo__post-title {
	color: var(--color-primary);
}

.menu-promo__post-link:hover {
	color: var(--color-primary);
}

.menu-promo__social a:hover,
.menu-promo__social a:focus-visible {
	color: var(--color-primary);
}

/* Top-level items carrying this class (e.g. "Find a Facility", tagged in
   mega-menu.php) are hidden on desktop/tablet and only revealed once the
   mobile menu is active (see the re-show rule inside the 1024px breakpoint
   below). Scoped to `.site-navigation__menu > li` on purpose: a bare
   `.mobile-only-item` (specificity 0,1,0) loses to the desktop
   `.site-navigation__menu > li { display: flex }` rule (0,1,1) and never
   actually hides. */
.site-navigation__menu > li.mobile-only-item {
	display: none;
}

/* Mobile-only chrome that lives inside the nav panel — hidden on desktop. */
.site-navigation__cta-wrap,
.site-navigation__locations,
.mega-column__arrow {
	display: none;
}

/* Header actions */
.site-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 20px;
}

.site-header__account {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
    color: #000;
}

.site-header__account::before {
	content: "Drive Portal";
	position: absolute;
	left: 50%;
	bottom: calc(100% + 5px);
	transform: translateX(-50%);
	background: #222;
	color: #fff;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 9999;
}

.site-header__account::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #222;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 9999;
}

.site-header__account:hover::before,
.site-header__account:hover::after {
	opacity: 1;
	visibility: visible;
}

.site-header__account .fas {
	font-size: 20px;
	line-height: 1;
}

.site-header__account:hover,
.site-header__account:focus-visible {
	color: var(--color-brand-yellow);
}

.site-header__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 10px 20px;
	overflow: hidden;
	border-radius: 15px;
	color: var(--color-white);
	background: var(--color-black);
	font-family: var(--font-heading);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		color 250ms ease,
		background-color 250ms ease,
		transform 250ms ease,
		box-shadow 250ms ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
	color: var(--color-black);
	background: #ffc600;
}

.site-header__toggle {
	display: none;
}

@media (max-width: 1024px) {
	.site-header__inner {
		align-items: center;
		justify-content: space-between;
		padding: 20px;
	}

	.site-header__branding {
		padding: 0;
	}

	.site-header__branding .custom-logo {
		width: 150px;
	}

	.site-header__toggle {
		position: relative;
		z-index: 1002;
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 38px;
		height: 38px;
		padding: 6px;
		border: 0;
		color: var(--color-primary);
		background: transparent;
	}

	.site-header__toggle-line {
		display: block;
		width: 100%;
		height: 2px;
		background: currentColor;
		transform-origin: center;
		transition:
			transform 250ms ease,
			opacity 250ms ease;
	}

	.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(2) {
		opacity: 0;
	}

	.site-header__toggle[aria-expanded="true"]
	.site-header__toggle-line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* Panel is a flex column: the menu scrolls, the CTA + locations stay
	   pinned to the bottom so they're always visible as the list grows. */
	.site-navigation {
		position: fixed;
		z-index: 1001;
		/* Sits below the header's actual bottom edge (accounts for the admin
		   bar and sticky state) rather than a hardcoded offset. */
		top: var(--mcc-header-bottom, 78px);
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		margin: 0;
		padding: 0;
		overflow: hidden;
		background: var(--color-white);
		opacity: 0;
		visibility: hidden;
		transition:
			opacity 250ms ease,
			visibility 250ms ease;
	}

	.site-navigation.is-open {
		opacity: 1;
		visibility: visible;
	}

	/* Block is centred in the panel, text inside stays left-aligned. */
	.site-navigation__menu {
		display: block;
		flex: 1;
		width: fit-content;
		min-width: 260px;
		margin-inline: auto;
		padding: 40px 20px;
		overflow-y: auto;
		text-align: left;
	}

	.site-navigation__menu > li {
		display: block;
	}

	/* Reveal mobile-only items now the hamburger menu is active. Matches the
	   desktop hide rule's specificity (0,2,1) and wins by source order. */
	.site-navigation__menu > li.mobile-only-item {
		display: block;
	}

	.site-navigation__menu > li > a {
		display: flex;
		align-items: center;
		padding: 16px 0;
		font-size: 28px;
		line-height: 1.1;
		color: #1f1f1f;
	}

	/* Open top-level item turns brand blue. */
	.site-navigation__menu > li.is-open > a {
		color: var(--color-primary);
	}

	.site-navigation__menu > li > a .site-navigation__arrow {
		width: 12px;
		height: 12px;
		margin-left: 14px;
		border-width: 3px;
	}

	.site-navigation__menu .sub-menu {
		position: static;
		display: none;
		width: 100%;
		max-width: none;
		min-height: 0;
		margin-inline: 0;
		padding: 0 0 10px;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transition: none;
	}

	/* The in-panel eyebrow label and the promo panel aren't part of the
	   mobile menu — it's a plain nested list. */
	.sub-menu__eyebrow,
	.sub-menu__split-promo {
		display: none;
	}

	.site-navigation__menu .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.site-navigation__menu .sub-menu li {
		border: 0;
	}

	.site-navigation__menu .sub-menu a {
		padding: 10px 0;
		color: var(--color-text);
		font-size: 16px;
	}

	.site-navigation__menu .sub-menu a:hover,
	.site-navigation__menu .sub-menu a:focus-visible {
		padding-left: 0;
		color: var(--color-primary);
		background: transparent;
	}

	/* Keep the Drive Portal icon visible, sitting just left of the toggle.
	   (The CTA inside is already hidden below 1180px and lives in the panel.)
	   Ordering is explicit because .site-header__actions comes after the
	   toggle in the DOM. */
	.site-header__actions {
		position: relative;
		z-index: 1002;
		display: flex;
		order: 2;
		margin-left: auto;
		margin-right: 18px;
	}

	.site-header__account {
		color: var(--color-primary);
	}

	.site-header__toggle {
		order: 3;
	}

	/* Panel is z-index 1001 inside the header's stacking context, so the logo
	   needs to outrank it or it gets covered while the menu is open. */
	.site-header__branding {
		position: relative;
		z-index: 1002;
	}

	/* Both dropdown shapes collapse to a single stacked column on mobile;
	   .sub-menu itself already switches to position: static/display: none
	   above, this just fixes the internal flex/grid layouts inside it. */
	.mega-columns,
	.sub-menu__split,
	.menu-promo {
		display: block;
	}

	/* Reset the desktop split paddings when the panel is stacked. */
	.sub-menu__split-links {
		padding-right: 0;
	}

	.mega-column + .mega-column {
		margin-top: 0;
	}

	/* Second-level accordion (Transportation / Warehousing / …). */
	.mega-column__heading {
		display: flex;
		align-items: center;
		margin-bottom: 0;
		padding: 14px 0;
		font-size: 16px;
	}

	.mega-column.is-open > .mega-column__heading {
		color: var(--color-primary);
	}

	.mega-column__arrow {
		display: inline-block;
		width: 8px;
		height: 8px;
		margin-left: 12px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform-origin: 66% 66%;
		transform: translateY(-1.3px) rotate(45deg);
		transition: transform 250ms ease;
	}

	.mega-column.is-open > .mega-column__heading .mega-column__arrow {
		transform: translateY(-1.3px) rotate(225deg);
	}

	.mega-column__links {
		display: none;
	}

	/* 35px indent on the third-level link list. Needs the extra class to beat
	   the global `.site-navigation__menu ul { padding: 0 }` (0,1,1) reset. */
	.site-navigation__menu .mega-column__links {
		padding-left: 35px;
	}

	.mega-column.is-open .mega-column__links {
		display: block;
	}

	.mega-column__links a {
		font-size: 16px;
		padding: 10px 0;
	}

	/* Industries/Resources links sit flat under their parent (no nesting). */
	.mega-column__links.sub-menu__split-list {
		display: block;
		padding-left: 0;
	}

	.mega-column__links.sub-menu__split-list {
		columns: 1;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.sub-menu__split-promo {
		padding: 24px 0 0;
		margin-top: 20px;
		border-left: 0;
		border-top: 1px solid var(--color-border);
	}

	.menu-promo__newsletter {
		margin-top: 24px;
	}

	/* Stacked: align the icon row to the start and don't pin it to the bottom. */
	.menu-promo__social {
		justify-content: start;
		margin-top: 20px;
		padding-top: 0;
	}

	/* --- Pinned footer: CTA + locations, always visible as the menu scrolls --- */

	/* Full-width rule separating the scrolling menu from the pinned CTA, so
	   the list doesn't appear to run into the button as it expands. */
	.site-navigation__cta-wrap {
		display: block;
		flex: 0 0 auto;
		padding-top: 24px;
		border-top: 1px solid var(--color-border);
	}

	.site-navigation__cta {
		display: flex;
		align-items: center;
		justify-content: center;
		width: calc(100% - 40px);
		max-width: 440px;
		min-height: 64px;
		margin: 0 auto 20px;
		padding: 10px 20px;
		color: var(--color-white);
		background: var(--color-primary);
		border-radius: 10px;
		font-family: var(--font-heading);
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.02em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
	}

	/* Keep the label white on hover (a global link-hover would turn it blue). */
	.site-navigation__cta:hover,
	.site-navigation__cta:focus-visible {
		color: var(--color-white);
	}

	.site-navigation__locations {
		display: block;
		flex: 0 0 auto;
		padding: 18px 20px 22px;
		border-top: 1px solid var(--color-border);
	}

	.site-navigation__locations ul {
		display: flex;
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 0;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.site-navigation__locations a {
		color: var(--color-primary);
		font-family: var(--font-heading);
		/* Scales with the viewport so all the states stay on a single row,
		   clamped so they never get unreadably small or oversized. */
		font-size: clamp(10px, 2.8vw, 13px);
		font-weight: 700;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header.is-sticky {
		top: 46px;
	}

	/* Smaller account/driver-portal icon, slightly larger logo. */
	.site-header__account .fas {
		font-size: 16px;
	}

	.site-header__branding .custom-logo {
		width: 180px;
	}
}