/*
 * Azeb Trucks — light header (header.php), dark footer (footer.php) and listing-page headings.
 * Loaded after refresh.css on every page. Uses its --az-* tokens.
 */

:root {
	--az-chrome-line: #e3e6df;
	--az-chrome-tint: #f1f3ee;
	--az-head-h: 76px;
}

/* Wider page on large screens (Bootstrap 3 stops at 1170px); every section and the header share it */
@media (min-width: 1400px) {
	.container { width: 1320px; }
}

/* ---------- Utility strip ---------- */

.az-util { background: var(--az-chrome-tint); color: var(--az-ink-2); font: 400 13px/1.4 var(--az-font); border-bottom: 1px solid var(--az-chrome-line); }
.az-util-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.az-util-in::before, .az-util-in::after { display: none; } /* Bootstrap clearfix would become flex items */
.az-util-l, .az-util-r { display: flex; align-items: center; gap: 18px; min-width: 0; }
.az-util-label { color: var(--az-muted); }
.az-util a { color: var(--az-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.az-util a:hover, .az-util a:focus { color: var(--az-brand-ink); text-decoration: none; }

.az-social { display: flex; gap: 2px; }
.az-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--az-ink-2); }
.az-social a:hover, .az-social a:focus { color: var(--az-ink); background: #fff; }
.az-social svg { width: 15px; height: 15px; }

/* Language menu (header.php); Google Translate does the translating behind it, its own widget stays hidden */
.az-util { position: relative; z-index: 901; } /* menu opens over the sticky header */
.az-lang { position: relative; }
.az-lang-btn {
	display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 26px 0 10px; position: relative;
	border: 1px solid var(--az-chrome-line); border-radius: 999px; background: #fff; cursor: pointer;
	color: var(--az-ink); font: 500 13px/1 var(--az-font); white-space: nowrap;
	transition: border-color .15s ease;
}
.az-lang-btn > span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.az-lang-btn svg { width: 15px; height: 15px; color: var(--az-muted); flex: none; }
.az-lang-btn::after { content: ""; position: absolute; right: 11px; top: 50%; width: 5px; height: 5px; margin-top: -4px; border: solid var(--az-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s ease, margin .15s ease; }
.az-lang-btn[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: -1px; }
.az-lang-btn:hover, .az-lang-btn:focus-visible, .az-lang-btn[aria-expanded="true"] { border-color: var(--az-muted); outline: none; }

.az-lang-menu {
	position: absolute; top: calc(100% + 8px); right: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
	width: 380px; max-width: calc(100vw - 32px); max-height: min(440px, calc(100vh - 80px)); overflow-y: auto;
	margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--az-chrome-line); border-radius: 12px;
	box-shadow: 0 12px 32px rgba(20, 25, 28, .10);
}
.az-lang-menu[hidden] { display: none; }
.az-lang-menu button {
	display: block; width: 100%; padding: 8px 12px 8px 26px; position: relative; text-align: left;
	border: 0; border-radius: 8px; background: none; cursor: pointer;
	font: 500 14px/1.25 var(--az-font); color: var(--az-ink);
}
.az-lang-menu small { display: block; margin-top: 1px; font: 400 12px/1.25 var(--az-font); color: var(--az-muted); }
.az-lang-menu button:hover, .az-lang-menu button:focus { background: var(--az-chrome-tint); outline: none; }
.az-lang-menu button[aria-current] { font-weight: 600; }
.az-lang-menu button[aria-current]::before { content: ""; position: absolute; left: 11px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--az-brand); }

/* Google's "translated into…" bar: hidden, and stop it pushing the page down */
body { top: 0 !important; }
.goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, #goog-gt-tt { display: none !important; }

/* ---------- Header ---------- */

.az-head {
	position: sticky; top: 0; z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--az-chrome-line);
	box-shadow: 0 6px 18px rgba(20, 25, 28, .04);
	font-family: var(--az-font);
}
.admin-bar .az-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .az-head { top: 0; } }

.az-head-in { display: flex; align-items: center; gap: 28px; min-height: var(--az-head-h); }
.az-head-in::before, .az-head-in::after { display: none; }

.az-logo { flex: none; line-height: 0; }
.az-logo .custom-logo-link { display: block; }
.az-logo img {
	display: block; width: auto; height: 46px; max-width: 260px; object-fit: contain;
	filter: brightness(0) saturate(100%); /* the uploaded logo is white; show it in ink on the white header */
	opacity: .92;
}

.az-nav { margin-left: auto; }
.az-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.az-menu > li { position: relative; display: flex; align-items: center; }
.az-menu > li > a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 12px; border-radius: 8px;
	font: 500 15px/1.2 var(--az-font); color: var(--az-ink-2); white-space: nowrap;
	transition: color .15s ease, background-color .15s ease;
}
.az-menu > li > a:hover,
.az-menu > li > a:focus,
.az-menu > li:hover > a { color: var(--az-ink); background: var(--az-chrome-tint); text-decoration: none; }
.az-menu > li.current-menu-item > a,
.az-menu > li.current-menu-ancestor > a,
.az-menu > li.current-menu-parent > a { color: var(--az-ink); font-weight: 600; }
.az-menu > li.current-menu-item > a::before,
.az-menu > li.current-menu-ancestor > a::before,
.az-menu > li.current-menu-parent > a::before {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--az-brand);
}
.az-menu > li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin: -3px 0 0 2px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); opacity: .6;
}

/* Desktop dropdowns */
.az-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 10;
	min-width: 240px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border: 1px solid var(--az-chrome-line); border-radius: 12px;
	box-shadow: 0 12px 32px rgba(20, 25, 28, .10);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.az-menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* keeps hover alive across the gap */
.az-menu > li:hover > .sub-menu,
.az-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.az-menu .sub-menu a {
	display: block; padding: 9px 12px; border-radius: 8px;
	font: 400 14.5px/1.3 var(--az-font); color: var(--az-ink-2);
}
.az-menu .sub-menu a:hover, .az-menu .sub-menu a:focus { background: var(--az-chrome-tint); color: var(--az-ink); text-decoration: none; }
.az-menu .sub-menu .current-menu-item > a { color: var(--az-ink); font-weight: 600; }
.az-sub-toggle { display: none; }

.az-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.az-icon-btn {
	width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
	border: 1px solid var(--az-chrome-line); border-radius: 10px; background: #fff; color: var(--az-ink-2); cursor: pointer;
	transition: color .15s ease, border-color .15s ease;
}
.az-icon-btn:hover, .az-icon-btn:focus-visible, .az-icon-btn[aria-expanded="true"] { color: var(--az-ink); border-color: var(--az-muted); }
.az-icon-btn svg { width: 19px; height: 19px; }
.az-menu-toggle { display: none; }
.az-menu-toggle .az-ic-close { display: none; }

.az-call {
	display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
	border-radius: 10px; background: var(--az-brand); color: #14191c;
	font: 600 14.5px/1 var(--az-font); white-space: nowrap; font-variant-numeric: tabular-nums;
	transition: background-color .15s ease;
}
.az-call:hover, .az-call:focus { background: var(--az-brand-hover); color: #14191c; text-decoration: none; }
.az-call svg { width: 17px; height: 17px; }

/* Search panel */
.az-search { border-top: 1px solid var(--az-chrome-line); background: #fff; padding: 14px 0; }
.az-search-form { display: flex; gap: 8px; max-width: 720px; margin: 0 auto; }
.az-search-form input {
	flex: 1; min-width: 0; height: 46px; padding: 0 14px;
	font: 400 15px var(--az-font); color: var(--az-ink);
	background: #fff; border: 1px solid var(--az-chrome-line); border-radius: 10px; box-shadow: none;
}
.az-search-form input:focus { outline: none; border-color: var(--az-brand-ink); box-shadow: 0 0 0 3px rgba(184, 193, 20, .3); }
.az-search-form button {
	height: 46px; padding: 0 20px; border: 0; border-radius: 10px;
	background: var(--az-ink); color: #fff; font: 600 15px var(--az-font); cursor: pointer;
}
.az-search-form button:hover { opacity: .9; }


/* ---------- Header: tablet and phone ---------- */

@media (max-width: 1399px) {
	.az-head-in { gap: 16px; }
	.az-menu > li > a { padding: 10px 9px; font-size: 14.5px; }
	.az-logo img { height: 40px; }
}

@media (max-width: 1199px) {
	.az-menu-toggle { display: grid; }
	.az-actions { margin-left: auto; }
	.az-head.is-menu-open .az-ic-open { display: none; }
	.az-head.is-menu-open .az-ic-close { display: block; }

	.az-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - var(--az-head-h)); overflow-y: auto;
		background: #fff; border-bottom: 1px solid var(--az-chrome-line);
		box-shadow: 0 16px 32px rgba(20, 25, 28, .10);
		padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
	}
	.az-head.is-menu-open .az-nav { display: block; }
	.az-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.az-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--az-chrome-line); }
	.az-menu > li:last-child { border-bottom: 0; }
	.az-menu > li > a { flex: 1; padding: 14px 4px; font-size: 16px; border-radius: 0; background: none !important; }
	.az-menu > li > a::before, .az-menu > li.menu-item-has-children > a::after { display: none; }
	.az-sub-toggle {
		display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
		border: 0; background: none; color: var(--az-ink-2); cursor: pointer;
	}
	.az-sub-toggle svg { width: 20px; height: 20px; transition: transform .2s ease; }
	.az-menu > li.is-open > .az-sub-toggle svg { transform: rotate(180deg); }
	.az-menu .sub-menu {
		position: static; display: none; flex-basis: 100%;
		min-width: 0; padding: 0 0 10px; border: 0; border-radius: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none; transition: none;
		columns: 2; column-gap: 16px;
	}
	.az-menu > li > .sub-menu::before { display: none; }
	.az-menu > li.is-open > .sub-menu { display: block; }
	.az-menu .sub-menu li { break-inside: avoid; }
	.az-menu .sub-menu a { padding: 9px 4px; }

	/* Staff links (header.php, logged-in staff only) */
	.az-staff {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding: 14px;
		border-radius: 14px; background: #0d1316;
	}
	.az-staff-label { grid-column: 1 / -1; margin: 0; font: 600 11.5px/1 var(--az-font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
	.az-staff a {
		display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px;
		border: 1px solid rgba(255, 255, 255, .22); color: #fff; font: 600 15px/1 var(--az-font);
	}
	.az-staff a:hover, .az-staff a:focus { color: #fff; border-color: rgba(255, 255, 255, .45); text-decoration: none; }
	.az-staff .az-staff-stock { grid-column: 1 / -1; border-color: var(--az-brand); background: var(--az-brand); color: #14191c; }
	.az-staff .az-staff-stock:hover, .az-staff .az-staff-stock:focus { color: #14191c; background: #d4de2a; }
	.az-staff svg { width: 18px; height: 18px; }
}
@media (min-width: 1200px) {
	.az-staff { display: none; } /* desktop uses the admin bar's Add Truck / Stock buttons */
}

@media (max-width: 767px) {
	:root { --az-head-h: 64px; }
	.az-util-label, .az-util-l a + a, .az-social { display: none; }
	.az-util-in { min-height: 38px; }
	.az-logo img { height: 34px; max-width: 180px; }
	.az-call span { display: none; }
	.az-call { width: 42px; padding: 0; justify-content: center; }
	.az-menu .sub-menu { columns: 1; }
}

@media (max-width: 380px) {
	.az-lang-btn { padding-left: 8px; }
	.az-logo img { height: 30px; max-width: 150px; }
}

/* ---------- Footer (footer.php) ---------- */

.az-foot {
	--foot-bg: #0d1316;
	--foot-line: rgba(255, 255, 255, .1);
	--foot-text: rgba(255, 255, 255, .62);
	--foot-dim: rgba(255, 255, 255, .42);
	position: relative; overflow: hidden; clear: both; /* the old page layouts float their columns */
	background: var(--foot-bg); color: var(--foot-text);
	font: 400 14.5px/1.6 var(--az-font);
}
/* Lime glow in the top corner, like the About / Exports heroes */
.az-foot::before {
	content: ""; position: absolute; top: -260px; right: -160px; width: 640px; height: 520px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(184, 193, 20, .16), transparent 75%);
}
.az-foot .container { position: relative; }
.az-foot a { color: #fff; transition: color .15s ease; }
.az-foot a:hover, .az-foot a:focus { color: var(--az-brand); text-decoration: none; }
.az-foot svg { width: 18px; height: 18px; flex: none; }
.az-foot ul { margin: 0; padding: 0; list-style: none; }

/* Call-to-action band */
.az-foot-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
	padding: 56px 0 48px; border-bottom: 1px solid var(--foot-line);
}
.az-foot-eyebrow { margin: 0 0 10px; font: 600 12px/1 var(--az-font); letter-spacing: .14em; text-transform: uppercase; color: var(--az-brand); }
.az-foot-title {
	margin: 0; max-width: 18em; color: #fff; text-transform: uppercase; text-wrap: balance;
	font: 700 clamp(28px, 3.2vw, 42px)/1.02 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); letter-spacing: -.01em;
}
.az-foot-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.az-foot .az-foot-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
	border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06);
	color: #fff; font: 600 15.5px/1 var(--az-font); white-space: nowrap; font-variant-numeric: tabular-nums;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.az-foot .az-foot-btn:hover, .az-foot .az-foot-btn:focus { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.az-foot .az-foot-btn-primary, .az-foot .az-foot-btn-primary:focus { background: var(--az-brand); border-color: var(--az-brand); color: #14191c; }
.az-foot .az-foot-btn-primary:hover { background: #d4de2a; border-color: #d4de2a; color: #14191c; }

/* Columns */
.az-foot-grid {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .6fr) minmax(0, 1.35fr);
	gap: 40px 48px; padding: 56px 0;
}
.az-foot-logo { display: inline-block; margin-bottom: 18px; }
.az-foot-logo img { display: block; width: 220px; max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.az-foot-logo span { font: 700 26px/1 'Barlow Semi Condensed', var(--az-font); color: #fff; text-transform: uppercase; }
.az-foot-brand p { max-width: 34ch; margin: 0 0 22px; }
.az-foot-social { display: flex; gap: 8px; }
.az-foot .az-foot-social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--foot-line); color: rgba(255, 255, 255, .8);
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.az-foot .az-foot-social a:hover, .az-foot .az-foot-social a:focus { background: var(--az-brand); border-color: var(--az-brand); color: #14191c; }
.az-foot-social svg { width: 16px; height: 16px; }

.az-foot-head { margin: 0 0 18px; font: 600 12px/1 var(--az-font); letter-spacing: .14em; text-transform: uppercase; color: var(--foot-dim); }
.az-foot-col li + li { margin-top: 11px; }
.az-foot-col ul a { color: var(--foot-text); }
.az-foot-col ul a:hover, .az-foot-col ul a:focus { color: #fff; }

.az-foot-visit address { margin: 0 0 16px; font-style: normal; }
.az-foot-visit address strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; }
.az-foot .az-foot-contact li { display: flex; gap: 12px; margin: 0; padding: 7px 0; border-top: 1px solid var(--foot-line); }
.az-foot .az-foot-contact li:last-child { border-bottom: 1px solid var(--foot-line); }
.az-foot-contact span { width: 56px; flex: none; color: var(--foot-dim); }
.az-foot .az-foot-contact a { color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.az-foot .az-foot-contact a:hover { color: var(--az-brand); }

.az-foot-map { position: relative; margin-top: 18px; overflow: hidden; border-radius: 14px; border: 1px solid var(--foot-line); line-height: 0; background: #1a2226; }
/* Dark map to sit in the footer: inverted, hue turned back so roads/greens read naturally */
.az-foot-map iframe { display: block; width: 100%; height: 180px; border: 0; filter: invert(.9) hue-rotate(180deg) grayscale(.6) contrast(.9); }
.az-foot .az-foot-map a {
	position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
	border-radius: 999px; background: var(--az-brand); color: #14191c; font: 600 13px/1 var(--az-font);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.az-foot .az-foot-map a:hover, .az-foot .az-foot-map a:focus { background: #d4de2a; color: #14191c; }
.az-foot-map svg { width: 15px; height: 15px; }

/* Bottom bar */
.az-foot-bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
	padding: 22px 0 28px; border-top: 1px solid var(--foot-line); font-size: 13px; color: var(--foot-dim);
}
.az-foot-bottom p { margin: 0; }
.az-foot .az-foot-top { display: inline-flex; align-items: center; gap: 6px; color: var(--foot-text); }
.az-foot .az-foot-top:hover { color: #fff; }
.az-foot-top svg { width: 16px; height: 16px; }

@media (max-width: 1199px) {
	.az-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.az-foot-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
	.az-foot-brand p { margin: 0; flex: 1 1 320px; }
	.az-foot-logo { margin: 0; }
}

@media (max-width: 767px) {
	.az-foot-cta { padding: 44px 0 36px; }
	.az-foot-cta-btns { width: 100%; }
	.az-foot .az-foot-btn { flex: 1 1 auto; }
	.az-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding: 44px 0; }
	.az-foot-brand { display: block; }
	.az-foot-brand p { margin: 0 0 20px; }
	.az-foot-logo { margin-bottom: 16px; }
	.az-foot-visit { grid-column: 1 / -1; }
	.az-foot-bottom { flex-direction: column-reverse; align-items: flex-start; }
}


/* ---------- Listing pages: page heading, sub-category chips ---------- */

/* The old white card (with a grey heading panel inside) is dropped: content sits on the page background. */
.ineer_page_wrapper_in { float: none; background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.truck_listing_area { float: none; padding: 0; }

/* Dark band under the menu, the same night colour as the footer and the About / Exports heroes.
   Full width from inside .container: border-image paints past the sides (without widening the page), clip-path keeps the glow inside the band. */
.az-page-head {
	--lh-bg: #0d1316;
	position: relative; isolation: isolate;
	margin: -35px 0 32px; /* .ineer_page_wrapper's top padding */
	padding: 36px 0 40px;
	border-image: linear-gradient(var(--lh-bg) 0 0) fill 0 / 0 / 0 100vmax; clip-path: inset(0 -100vmax);
	color: rgba(255, 255, 255, .7); font-family: var(--az-font);
}
/* Lime glow, top right */
.az-page-head::before {
	content: ""; position: absolute; z-index: -1; top: -200px; right: 0; width: 560px; height: 520px; pointer-events: none; /* not past the right edge: that would scroll the page sideways */
	background: radial-gradient(closest-side, rgba(184, 193, 20, .17), transparent 75%);
}
.az-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .45); margin-bottom: 16px; }
.az-crumbs a { color: rgba(255, 255, 255, .55); }
.az-crumbs a:hover, .az-crumbs a:focus { color: #fff; text-decoration: none; }
.az-crumbs span[aria-hidden] { opacity: .5; }
.az-crumbs [aria-current] { color: rgba(255, 255, 255, .8); }
.az-page-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.az-page-head h1 {
	margin: 0; font: 700 clamp(34px, 4.2vw, 54px)/1 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font);
	letter-spacing: -.01em; color: #fff; text-transform: uppercase; text-wrap: balance;
}
.az-count {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px 0 12px;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .05);
	font: 400 13px/1 var(--az-font); color: rgba(255, 255, 255, .75); white-space: nowrap;
}
.az-count i { width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: var(--az-brand); box-shadow: 0 0 0 3px rgba(184, 193, 20, .2); }
.az-count b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.az-page-intro { max-width: 68ch; margin-top: 12px; font: 400 15.5px/1.65 var(--az-font); color: var(--az-ink-2); }
.az-page-intro p { margin: 0 0 10px; color: inherit; font: inherit; }
.az-page-intro p:last-child { margin-bottom: 0; }
.az-page-intro p:empty { display: none; }
.az-page-head .az-page-intro { margin-top: 16px; color: rgba(255, 255, 255, .68); }
.az-page-head .az-page-intro a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.az-page-head .az-page-intro strong, .az-page-head .az-page-intro b { color: #fff; font-weight: 600; }

.az-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255, 255, 255, .82); }
.az-proof li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.az-proof svg { width: 16px; height: 16px; flex: none; color: var(--az-brand); }

/* Heading layout: text on the left, the call card on the right */
.az-page-head.has-help { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.az-page-head-main { min-width: 0; }

/* The rest of the intro, under the stock (see azebtrucks_page_about) */
.az-page-about { clear: both; padding: 8px 0 48px; font-family: var(--az-font); }
.az-page-about h2 { margin: 0 0 10px; padding-top: 32px; border-top: 1px solid var(--az-chrome-line); font: 700 22px/1.2 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); color: var(--az-ink); text-transform: none; }
.az-page-about .az-page-intro { margin-top: 0; font-size: 15px; }
@media (max-width: 767px) { .az-page-about { padding-bottom: 32px; } .az-page-about h2 { padding-top: 24px; font-size: 20px; } }

/* Call card: dark glass, buttons full width */
.az-help {
	padding: 22px; font-family: var(--az-font);
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
}
.az-help b { display: block; font: 700 21px/1.15 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); color: #fff; text-transform: uppercase; }
.az-help p { margin: 6px 0 16px; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.az-help-cta { display: grid; gap: 8px; }
.az-help-cta a {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px;
	border-radius: 999px; font: 600 15px/1 var(--az-font); white-space: nowrap; text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.az-help-cta svg { width: 17px; height: 17px; }
.az-help-call, .az-help-call:focus { background: var(--az-brand); color: #14191c; font-variant-numeric: tabular-nums; }
.az-help-call:hover { background: #d4de2a; color: #14191c; text-decoration: none; }
.az-help-wa, .az-help-wa:focus { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.az-help-wa:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); color: #fff; text-decoration: none; }

@media (max-width: 991px) {
	.az-page-head.has-help { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.az-help { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
	.az-help p { margin-bottom: 0; }
	.az-help-cta { display: flex; }
}
@media (max-width: 767px) {
	.az-page-head { margin-bottom: 24px; padding: 24px 0 28px; }
	.az-help { display: none; } /* phones have the header call button; keep the stock close to the top */
	.az-proof { gap: 8px 18px; margin-top: 18px; font-size: 13px; }
	/* Keep the stock near the top: the intro shows three lines here (the full text is still in the page) */
	.az-page-head .az-page-intro { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
	.az-page-head .az-page-intro p { margin: 0; display: inline; }
}

/* Sub-category links as chips (categories have no pictures) */
.truck_listing_area .subcat { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; margin: 0 0 28px; padding: 0; }
.truck_listing_area .subcat li.cat-item,
.truck_listing_area .subcat li.cat-item:hover {
	width: auto; margin: 0; padding: 0; list-style: none;
	background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; overflow: visible;
}
.truck_listing_area .subcat .subcat-img { display: none; }
.truck_listing_area .subcat li.cat-item .subcat-title { padding: 0; font: inherit; text-transform: none; }
.truck_listing_area .subcat li.cat-item .subcat-title a {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px;
	border: 1px solid var(--az-chrome-line); border-radius: 999px; background: #fff;
	font: 500 14.5px/1 var(--az-font); color: var(--az-ink); white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
.truck_listing_area .subcat li.cat-item .subcat-title a:hover { border-color: var(--az-ink-2); text-decoration: none; }
.truck_listing_area .subcat .subcat-count {
	min-width: 26px; height: 26px; padding: 0 8px; display: inline-grid; place-items: center;
	border-radius: 999px; background: var(--az-chrome-tint); color: var(--az-ink-2);
	font: 600 12.5px/1 var(--az-font); font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
	/* One swipeable row of chips instead of a tall stack */
	.truck_listing_area .subcat {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
		margin-left: -15px; margin-right: -15px; padding: 2px 15px;
		scroll-padding-inline: 15px;
	}
	.truck_listing_area .subcat::-webkit-scrollbar { display: none; }
	.truck_listing_area .subcat li.cat-item { flex: none; }
	.truck_listing_area .subcat li.cat-item .subcat-title a { height: 38px; font-size: 14px; }
}

/* ---------- Stock grids: card extras, request tile, Truck Parts sections ---------- */

/* Condition tag on a part's photo, part type above its title (template-parts/truck-card.php) */
.truck-card__badge {
	position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 999px;
	background: rgba(13, 19, 22, .82); color: #fff; font: 600 12px/1 var(--az-font); letter-spacing: .04em; text-transform: uppercase;
}
.truck-card__badge.is-new { background: var(--az-brand); color: #14191c; }
.truck-card__eyebrow {
	margin: 0 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
	font: 600 11.5px/1.3 var(--az-font); letter-spacing: .1em; text-transform: uppercase; color: var(--az-brand-ink);
}

/* Last tile of a grid: ask for what isn't listed */
.az-request {
	position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 100%;
	padding: 26px 24px 24px; border-radius: var(--az-radius, 16px);
	background: #0d1316; color: rgba(255, 255, 255, .65); font-family: var(--az-font);
}
.az-request::before {
	content: ""; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; pointer-events: none;
	background: radial-gradient(closest-side, rgba(184, 193, 20, .22), transparent 75%);
}
.az-request > * { position: relative; }
.az-request-eyebrow { margin: 0 0 10px; font: 600 11.5px/1 var(--az-font); letter-spacing: .14em; text-transform: uppercase; color: var(--az-brand); }
.az-request-title { margin: 0; font: 700 26px/1.02 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); color: #fff; text-transform: uppercase; text-wrap: balance; }
.az-request-text { margin: 10px 0 20px; font-size: 14px; line-height: 1.55; }
.az-request-cta { display: grid; gap: 8px; margin-top: auto; }
.az-request-cta a {
	display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px;
	font: 600 14.5px/1 var(--az-font); text-decoration: none; transition: background-color .15s ease, border-color .15s ease;
}
.az-request-wa, .az-request-wa:focus { background: var(--az-brand); color: #14191c; }
.az-request-wa:hover { background: #d4de2a; color: #14191c; text-decoration: none; }
.az-request-call, .az-request-call:focus { border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-variant-numeric: tabular-nums; }
.az-request-call:hover { border-color: rgba(255, 255, 255, .45); color: #fff; text-decoration: none; }
@media (max-width: 559px) { .az-request { min-height: 0; } }

/* Truck Parts: All / New / Used as one segmented control, then a heading per section */
.truck_listing_area .parts-jump {
	display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; padding: 4px;
	background: #fff; border: 1px solid var(--az-chrome-line); border-radius: 999px;
}
.truck_listing_area .parts-jump a {
	display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px;
	border: 0; border-radius: 999px; background: none; color: var(--az-ink-2); font: 600 14px/1 var(--az-font);
	transition: background-color .15s ease, color .15s ease;
}
.truck_listing_area .parts-jump a:hover { color: var(--az-ink); background: var(--az-chrome-tint); text-decoration: none; }
.truck_listing_area .parts-jump a.is-active { background: #0d1316; color: #fff; }
.truck_listing_area .parts-jump span {
	min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px;
	background: var(--az-chrome-tint); color: var(--az-ink-2); font: 600 12px/1 var(--az-font); font-variant-numeric: tabular-nums;
}
.truck_listing_area .parts-jump a.is-active span { background: var(--az-brand); color: #14191c; opacity: 1; }
.truck_listing_area .parts-section + .parts-section { margin-top: 16px; }
.truck_listing_area .parts-section__title {
	display: flex; align-items: center; gap: 10px; margin: 28px 0 6px; padding-top: 24px; border-top: 1px solid var(--az-chrome-line);
	font: 700 clamp(22px, 2.2vw, 28px)/1.1 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); color: var(--az-ink); text-transform: none;
}
.truck_listing_area .parts-jump + .parts-section .parts-section__title { margin-top: 20px; padding-top: 0; border-top: 0; }
.truck_listing_area .parts-section__title span {
	min-width: 28px; height: 28px; padding: 0 9px; display: inline-grid; place-items: center; border-radius: 999px;
	background: #fff; border: 1px solid var(--az-chrome-line); color: var(--az-ink-2); font: 600 13px/1 var(--az-font);
}

@media (max-width: 767px) {
	/* All / New / Used stay one full-width row */
	.truck_listing_area .parts-jump { display: flex; flex-wrap: nowrap; }
	.truck_listing_area .parts-jump a { flex: 1 1 0; justify-content: center; gap: 6px; padding: 0 8px; font-size: 13.5px; white-space: nowrap; }
}

/* ---------- Hub pages: photo card per sub-category, then newest stock ---------- */

.truck-grid > .az-cats,
.truck-grid > .az-section-head { grid-column: 1 / -1; }
.az-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.az-cat {
	display: flex; align-items: center; gap: 14px; min-width: 0; padding: 8px 16px 8px 8px;
	background: #fff; border: 1px solid var(--az-chrome-line); border-radius: 14px; color: var(--az-ink);
	transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.az-cat:hover, .az-cat:focus { color: var(--az-ink); text-decoration: none; border-color: transparent; box-shadow: var(--az-shadow-hover); transform: translateY(-2px); }
.az-cat-media { flex: 0 0 92px; height: 70px; border-radius: 9px; overflow: hidden; background: var(--az-chrome-tint); }
.az-cat-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .35s ease; }
.az-cat:hover .az-cat-media img { transform: scale(1.06); }
.az-cat-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.az-cat-body b { font: 600 15px/1.25 var(--az-font); overflow-wrap: anywhere; }
.az-cat-body small { font: 400 13px/1.2 var(--az-font); color: var(--az-muted); font-variant-numeric: tabular-nums; }
.az-cat-go {
	flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--az-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	transition: transform .2s ease, stroke .2s ease;
}
.az-cat:hover .az-cat-go { stroke: var(--az-ink); transform: translateX(3px); }

.az-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 20px 0 -4px; padding-top: 28px; border-top: 1px solid var(--az-chrome-line); }
.az-section-head h2 { margin: 0; font: 700 clamp(22px, 2.2vw, 28px)/1.15 'Barlow Semi Condensed', 'Arial Narrow', var(--az-font); color: var(--az-ink); text-transform: none; }

@media (max-width: 1199px) { .az-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px)  { .az-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
	/* One swipeable row of photo tiles, like the homepage shortcuts */
	.az-cats {
		display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px;
		margin: 0 -15px 8px; padding: 2px 15px 6px; scroll-padding-inline: 15px; scroll-snap-type: x mandatory;
	}
	.az-cats::-webkit-scrollbar { display: none; }
	.az-cat { flex: 0 0 148px; flex-direction: column; align-items: stretch; gap: 10px; padding: 6px 6px 12px; scroll-snap-align: start; }
	.az-cat-media { flex: none; width: 100%; height: 96px; }
	.az-cat-body { padding: 0 6px; }
	.az-cat-body b { white-space: normal; font-size: 14px; }
	.az-cat-go { display: none; }
	.az-section-head { margin-top: 8px; padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.az-cat, .az-cat-media img, .az-cat-go { transition: none; }
	.az-cat:hover, .az-cat:hover .az-cat-media img, .az-cat:hover .az-cat-go { transform: none; }
}
