/* Public driver directory and profile templates. */

.driver-directory {
	background: var(--roamly-cream);
}

@media (max-width: 720px) {
	.driver-profile-reviews > header { flex-direction: column; }
	.driver-public-review-ratings { grid-template-columns: 1fr; }
	.driver-review-photos { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* Results-page interaction upgrades. */
.driver-directory { padding-top: 3.75rem; }
.driver-search-form { margin-top: .75rem; margin-bottom: 0; }
.driver-trip-toggle { display: none; }
.driver-results-toolbar { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.driver-results-toolbar form { display:flex; align-items:center; gap:.55rem; white-space:nowrap; }
.driver-results-toolbar select { border:1px solid #d7dfdc; border-radius:.75rem; background:#fff; padding:.7rem 2.4rem .7rem .8rem; }
.driver-filter-chips { display:flex; flex-wrap:wrap; gap:.45rem; }
.driver-filter-chips a { display:inline-flex; align-items:center; gap:.4rem; padding:.42rem .65rem; border-radius:999px; background:#e8f3ef; color:#174e40; font-size:.78rem; font-weight:700; text-decoration:none; }
.driver-rating-button { border:0; background:transparent; cursor:pointer; font:inherit; }
.driver-favorite { display:inline-flex; align-items:center; gap:.35rem; border:1px solid #d7dfdc; border-radius:.65rem; background:#fff; padding:.62rem .75rem; color:#334a43; font-weight:700; cursor:pointer; }
.driver-favorite[aria-pressed="true"] { color:#a5344b; border-color:#e5b9c3; background:#fff4f6; }
.driver-favorite svg { display:block; fill:transparent; transition:fill .16s ease, color .16s ease; }
.driver-favorite[aria-pressed="true"] svg { fill:currentColor; }
.quote-airport-default,.quote-vehicle-recommendation { display:flex; align-items:center; gap:.65rem; padding:.75rem .9rem; border-radius:.8rem; background:#f0f7f4; color:#31584d; }
.quote-vehicle-recommendation span { display:grid; gap:.15rem; }
.quote-vehicle-recommendation small { color:#667d76; }
.ratings-modal__score { display:flex; align-items:center; gap:1rem; margin:1.25rem 0 .5rem; }
.ratings-modal__score strong { font-size:2rem; color:#183f35; }
.ratings-modal__score span { color:#f7b928; letter-spacing:.12em; }

@media (max-width:780px) {
	.driver-directory { padding-top:3.25rem; }
	.driver-results-toolbar { align-items:flex-start; flex-direction:column; }
}

.driver-directory-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.65fr);
	gap: clamp(50px, 10vw, 150px);
	padding: 90px max(5vw, calc((100vw - 1500px) / 2)) 105px;
	color: #fff;
	background:
		radial-gradient(circle at 88% 15%, rgba(211, 166, 94, 0.16), transparent 27%),
		linear-gradient(125deg, #173d32, #234f42 63%, #1b4237);
	align-items: end;
}

.driver-directory-hero .section-kicker {
	color: #e5be7e;
}

.driver-directory-hero h1 {
	max-width: 780px;
	margin: 15px 0 24px;
	font: 400 clamp(49px, 6.2vw, 82px) / 0.98 var(--roamly-serif);
	letter-spacing: -0.045em;
}

.driver-directory-hero h1 em,
.driver-directory-cta h2 em {
	color: #e0b873;
	font-weight: 400;
}

.driver-directory-hero > div:first-child > p {
	max-width: 650px;
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font: 17px/1.7 var(--roamly-serif);
}

.driver-directory-hero__trust {
	display: grid;
	gap: 18px;
	padding: 26px 0 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.driver-directory-hero__trust span {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 700;
}

.driver-directory-hero__trust svg {
	color: #e0b873;
}

.driver-directory-content {
	max-width: 1500px;
	padding: 0 4.5vw 100px;
	margin: -34px auto 0;
}

.driver-filters {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(145px, 0.75fr)) auto;
	gap: 0;
	padding: 9px;
	background: var(--roamly-paper);
	border: 1px solid rgba(23, 53, 45, 0.09);
	border-radius: 15px;
	box-shadow: 0 16px 45px rgba(20, 47, 39, 0.14);
}

.driver-filters > label,
.driver-filters > .country-picker,
.driver-filters > .date-field,
.driver-filter-search {
	display: grid;
	gap: 5px;
	padding: 9px 14px;
	border-right: 1px solid var(--roamly-border);
}

.driver-filters > label > span,
.driver-filters .country-picker__label,
.driver-filters .date-field > label,
.driver-filter-search > label {
	color: #536a62;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.driver-filter-search > span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.driver-filter-search svg {
	color: var(--roamly-gold-dark);
}

.driver-filters > label input,
.driver-filters > label select,
.driver-filters .country-picker input,
.driver-filters .country-picker select,
.driver-filters .date-field input {
	width: 100%;
	min-width: 0;
	padding: 4px 22px 4px 0;
	color: var(--roamly-ink);
	background: transparent;
	border: 0;
	outline: 0;
	font-size: 12px;
	font-weight: 700;
}

.driver-filters :is(.country-picker input, .country-picker select, .date-field input):focus-visible {
	outline: 3px solid rgba(211, 166, 94, 0.82);
	outline-offset: 4px;
	border-radius: 4px;
}

.driver-filters > label input {
	padding-right: 0;
}

.driver-filters .date-field__control input[type="date"] {
	padding-right: 35px;
	font-variant-numeric: tabular-nums;
}

.driver-filters > label input::placeholder,
.driver-filters .country-picker input::placeholder {
	color: #89958f;
	font-weight: 500;
}

.driver-filters > button,
.driver-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 19px;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
	background: var(--roamly-green);
	border: 0;
	border-radius: 10px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.driver-filters > button:hover,
.driver-primary-button:hover {
	background: #163c31;
	transform: translateY(-1px);
}

.driver-filters > .party-picker > summary {
	min-height: 62px;
}

.driver-filters .party-picker__counts input,
.driver-filters .party-picker__age select {
	padding: 7px;
	background: #fff;
	border: 1px solid #ccd3cf;
}

.driver-refine-filters {
	margin: 14px 9px 0;
}

.driver-refine-filters > summary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #52675f;
	font-size: 10px;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}

.driver-refine-filters > summary::-webkit-details-marker {
	display: none;
}

.driver-refine-filters > summary svg {
	transition: transform 0.2s ease;
}

.driver-refine-filters[open] > summary svg {
	transform: rotate(180deg);
}

.driver-refine-filters__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
	gap: 10px;
	padding: 13px;
	margin-top: 10px;
	background: rgba(255, 253, 248, 0.7);
	border: 1px solid var(--roamly-border);
	border-radius: 12px;
}

.driver-refine-filters__grid > label,
.driver-refine-filters__grid .driver-filter-search {
	display: grid;
	gap: 6px;
	padding: 8px 10px;
	border-right: 1px solid var(--roamly-border);
}

.driver-refine-filters__grid > label:last-child {
	border-right: 0;
}

.driver-refine-filters__grid > label > span,
.driver-refine-filters__grid .driver-filter-search > label {
	color: #536a62;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.driver-refine-filters__grid input,
.driver-refine-filters__grid select {
	width: 100%;
	min-width: 0;
	padding: 5px 4px;
	color: var(--roamly-ink);
	font-size: 12px;
	font-weight: 700;
	background: transparent;
	border: 0;
	outline: 0;
}

.driver-journey-summary {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 17px 19px;
	margin: -15px 0 30px;
	color: #405a51;
	background: #e9efe9;
	border: 1px solid #d4ddd6;
	border-radius: 12px;
}

.driver-journey-summary__icon {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	place-items: center;
	color: var(--roamly-green);
	background: #fff;
	border-radius: 50%;
}

.driver-journey-summary strong {
	display: block;
	margin-bottom: 5px;
	font: 17px var(--roamly-serif);
}

.driver-journey-summary p {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 16px;
	margin: 0;
	color: var(--roamly-muted);
	font-size: 10px;
}

.driver-journey-summary p span + span::before {
	margin-right: 16px;
	content: "•";
}

.driver-directory-results-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 25px;
	padding: 24px 0 18px;
}

.driver-directory-results-heading h2 {
	margin: 0;
	font: 400 clamp(28px, 3vw, 40px) / 1.05 var(--roamly-serif);
	letter-spacing: -0.03em;
}

.clear-driver-filters {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 4px;
	color: #5d7069;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	border-bottom: 1px solid #aeb8b3;
}

.driver-directory-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.driver-directory-grid .driver-card:last-child {
	display: block;
}

.driver-directory-card__visual {
	text-decoration: none;
}

.driver-carousel.has-gallery::before {
	display: none;
}

.driver-carousel__track,
.driver-carousel__slide {
	position: absolute;
	inset: 0;
	display: block;
}

.driver-carousel__slide[hidden] {
	display: none;
}

.driver-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.driver-carousel__slide:hover img {
	transform: scale(1.025);
}

.driver-carousel__arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	color: #173d33;
	background: rgba(255, 255, 255, .9);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 3px 12px rgba(18, 39, 33, .2);
	cursor: pointer;
	transform: translateY(-50%);
}

.driver-carousel__arrow:hover,
.driver-carousel__arrow:focus-visible {
	background: #fff;
}

.driver-carousel__arrow.is-previous {
	left: 10px;
}

.driver-carousel__arrow.is-next {
	right: 10px;
}

.driver-carousel__arrow.is-previous svg {
	transform: rotate(90deg);
}

.driver-carousel__arrow.is-next svg {
	transform: rotate(-90deg);
}

.driver-visual > .driver-carousel__count {
	position: absolute;
	z-index: 3;
	right: 10px;
	bottom: 10px;
	display: block;
	width: auto;
	height: auto;
	padding: 4px 7px;
	color: #fff;
	font: 700 10px/1.2 var(--roamly-sans);
	background: rgba(16, 36, 31, .72);
	border-radius: 999px;
	box-shadow: none;
}

.driver-carousel .verified {
	z-index: 3;
}

.driver-profile-gallery {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 7px;
	padding-top: 28px;
	margin-top: 32px;
	border-top: 1px solid var(--roamly-border);
}

.driver-profile-gallery button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #dfe8e3;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.driver-profile-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.driver-profile-gallery button:hover img,
.driver-profile-gallery button:focus-visible img {
	transform: scale(1.025);
}

.driver-profile-gallery__more {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	font: 700 clamp(18px, 2.2vw, 26px) / 1 var(--roamly-sans);
	background: rgba(13, 38, 31, .68);
	backdrop-filter: blur(2px);
}

.driver-gallery-modal {
	position: fixed;
	z-index: 120;
	inset: 0;
	display: grid;
	padding: 24px;
	place-items: center;
	background: rgba(7, 20, 17, .92);
	backdrop-filter: blur(7px);
}

.driver-gallery-modal[hidden] {
	display: none;
}

.driver-gallery-modal__dialog {
	position: relative;
	display: grid;
	width: min(1180px, 100%);
	height: min(86vh, 820px);
	grid-template-columns: 56px minmax(0, 1fr) 56px;
	align-items: center;
	outline: 0;
}

.driver-gallery-modal figure {
	display: grid;
	height: 100%;
	margin: 0;
	place-items: center;
}

.driver-gallery-modal figure img {
	width: 100%;
	height: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.driver-gallery-modal figcaption {
	position: absolute;
	right: 76px;
	bottom: 8px;
	padding: 6px 9px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	background: rgba(0, 0, 0, .58);
	border-radius: 999px;
}

.driver-gallery-modal__close,
.driver-gallery-modal__arrow {
	display: grid;
	padding: 0;
	place-items: center;
	color: #173d33;
	background: rgba(255, 255, 255, .94);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.driver-gallery-modal__close {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: 42px;
	height: 42px;
}

.driver-gallery-modal__arrow {
	width: 44px;
	height: 44px;
	justify-self: center;
}

.driver-gallery-modal__arrow.is-previous svg {
	transform: rotate(90deg);
}

.driver-gallery-modal__arrow.is-next svg {
	transform: rotate(-90deg);
}

@media (max-width: 620px) {
	.driver-profile-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.driver-gallery-modal {
		padding: 12px;
	}

	.driver-gallery-modal__dialog {
		height: 82vh;
		grid-template-columns: 42px minmax(0, 1fr) 42px;
	}

	.driver-gallery-modal__arrow {
		width: 36px;
		height: 36px;
	}

	.driver-gallery-modal figcaption {
		right: 52px;
	}
}

.driver-directory-card .driver-title h2 {
	margin: 0 0 5px;
	font: 21px var(--roamly-serif);
}

.driver-directory-card .driver-title h2 a {
	text-decoration: none;
}

.driver-directory-card .driver-title h2 a:hover {
	color: var(--roamly-gold-dark);
}

.driver-directory-card__excerpt {
	min-height: 62px;
	margin: 16px 0 0;
	color: #62736d;
	font: 13px/1.6 var(--roamly-serif);
}

.driver-directory-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 15px;
	border-top: 1px solid #e4e4df;
}

.driver-card-quote {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 10px 15px;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
	background: var(--roamly-green);
	border: 1px solid var(--roamly-green);
	border-radius: 9px;
	box-shadow: 0 4px 10px rgba(35, 79, 66, 0.16);
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.driver-card-quote:hover {
	color: #fff;
	background: #163c31;
	border-color: #163c31;
	box-shadow: 0 6px 14px rgba(35, 79, 66, 0.22);
	transform: translateY(-1px);
}

.driver-card-quote:focus-visible {
	outline: 3px solid rgba(35, 79, 66, 0.2);
	outline-offset: 2px;
}

.driver-directory .pagination {
	text-align: center;
}

.driver-directory .nav-links {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: var(--roamly-paper);
	border: 1px solid var(--roamly-border);
	border-radius: 999px;
}

.driver-directory .page-numbers {
	display: grid;
	min-width: 36px;
	height: 36px;
	padding: 0 9px;
	place-items: center;
	color: #50655d;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
	border-radius: 999px;
}

.driver-directory .page-numbers.current {
	color: #fff;
	background: var(--roamly-green);
}

.driver-directory-empty {
	max-width: 680px;
	padding: 70px 35px;
	margin: 0 auto;
	text-align: center;
	background: var(--roamly-paper);
	border: 1px solid var(--roamly-border);
	border-radius: 18px;
}

.driver-directory-empty > span {
	display: grid;
	width: 62px;
	height: 62px;
	margin: 0 auto 24px;
	place-items: center;
	color: var(--roamly-green);
	background: #e5eee9;
	border-radius: 50%;
}

.driver-directory-empty h2 {
	margin: 0 0 12px;
	font: 30px var(--roamly-serif);
}

.driver-directory-empty p {
	max-width: 510px;
	margin: 0 auto 25px;
	color: var(--roamly-muted);
	font: 14px/1.65 var(--roamly-serif);
}

.driver-directory-empty > div {
	display: flex;
	justify-content: center;
	gap: 10px;
}

.driver-directory-empty .outline-button {
	background: transparent;
}

.driver-directory-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	padding: 75px max(7vw, calc((100vw - 1350px) / 2));
	color: #fff;
	background: var(--roamly-green);
}

.driver-directory-cta h2 {
	margin: 12px 0 0;
	font: 400 clamp(38px, 5vw, 59px) / 1.03 var(--roamly-serif);
	letter-spacing: -0.035em;
}

.driver-directory-cta > a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 22px;
	color: var(--roamly-ink);
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
	background: #f3dcae;
	border-radius: 999px;
	white-space: nowrap;
}

/* Single driver profile */
.driver-profile-page {
	min-height: 65vh;
	padding: 0 max(4.5vw, calc((100vw - 1500px) / 2)) 110px;
	background:
		linear-gradient(#f1ecdf 0, #f1ecdf 420px, var(--roamly-paper) 420px);
}

.driver-profile-back {
	padding: 25px 0;
}

.driver-profile-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5a6c65;
	font-size: 11px;
	font-weight: 800;
	text-decoration: none;
}

.driver-profile-back__arrow {
	transform: rotate(180deg);
}

.driver-profile {
	max-width: 1500px;
	margin: 0 auto;
}

.driver-profile-hero {
	display: grid;
	grid-template-columns: minmax(310px, 0.85fr) minmax(0, 1.15fr);
	min-height: 515px;
	overflow: hidden;
	background: var(--roamly-paper);
	border-radius: 22px;
	box-shadow: 0 20px 60px rgba(31, 53, 46, 0.13);
}

.driver-profile-photo {
	position: relative;
	display: grid;
	min-height: 515px;
	place-items: center;
	overflow: hidden;
	background: var(--driver-color, #789389);
}

.driver-profile-photo::before {
	position: absolute;
	width: min(300px, 70%);
	aspect-ratio: 1;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
}

.driver-profile-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.driver-profile-photo > span {
	position: relative;
	display: grid;
	width: 165px;
	height: 165px;
	place-items: center;
	color: var(--roamly-ink);
	font: 49px var(--roamly-serif);
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.driver-profile-intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(38px, 6vw, 85px);
}

.driver-profile-eyebrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.driver-profile-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--roamly-green);
	border-radius: 999px;
}

.driver-profile-intro h1 {
	margin: 18px 0 14px;
	font: 400 clamp(49px, 6vw, 78px) / 0.98 var(--roamly-serif);
	letter-spacing: -0.045em;
}

.driver-profile-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	color: #60726b;
	font-size: 12px;
	font-weight: 700;
}

.driver-profile-summary > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.driver-profile-rating-stack { display:grid !important; justify-items:start; gap:5px !important; }

.driver-profile-lead {
	max-width: 680px;
	margin: 28px 0 0;
	color: #50655d;
	font: 17px/1.7 var(--roamly-serif);
}

.driver-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.driver-profile-actions .outline-button {
	background: transparent;
}

.driver-profile-private-note {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 13px;
	color: #7a8983;
	font-size: 9px;
}

.driver-profile-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	max-width: calc(100% - 8vw);
	margin: -1px auto 0;
	overflow: hidden;
	background: var(--roamly-border);
	border: 1px solid var(--roamly-border);
	border-radius: 0 0 16px 16px;
}

.driver-profile-stats > div {
	display: grid;
	gap: 5px;
	padding: 25px;
	text-align: center;
	background: #fbfaf5;
}

.driver-profile-stats strong {
	font: 27px var(--roamly-serif);
}

.driver-profile-stats span {
	color: var(--roamly-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.driver-profile-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
	gap: clamp(45px, 7vw, 110px);
	padding-top: 95px;
	align-items: start;
}

.driver-profile-about {
	padding-bottom: 55px;
	border-bottom: 1px solid var(--roamly-border);
}

.driver-profile-about h2 {
	margin: 12px 0 22px;
	font: 400 clamp(34px, 4vw, 50px) / 1.05 var(--roamly-serif);
	letter-spacing: -0.03em;
}

.driver-profile-about .entry-content {
	max-width: 760px;
	font: 16px/1.8 var(--roamly-serif);
}

.driver-profile-about .entry-content > :first-child {
	margin-top: 0;
}

.driver-profile-about .entry-content > :last-child {
	margin-bottom: 0;
}

.driver-profile-details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-top: 45px;
}

.driver-profile-details section {
	display: flex;
	gap: 13px;
}

.driver-profile-detail-icon,
.driver-profile-quote-icon {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	place-items: center;
	color: var(--roamly-green);
	background: #e7eee9;
	border-radius: 50%;
}

.driver-profile-details h2 {
	margin: 3px 0 8px;
	font: 18px var(--roamly-serif);
}

.driver-profile-details p {
	margin: 0;
	color: var(--roamly-muted);
	font-size: 11px;
	line-height: 1.65;
}

.driver-profile-details a {
	text-decoration: none;
}

.driver-profile-details a:hover {
	color: var(--roamly-gold-dark);
	text-decoration: underline;
}

.driver-profile-quote-card {
	position: sticky;
	top: 100px;
	padding: 34px;
	background: var(--roamly-cream);
	border: 1px solid #dfddd4;
	border-radius: 18px;
}

.driver-profile-quote-card .section-kicker {
	display: block;
	margin-top: 24px;
}

.driver-profile-quote-card h2 {
	margin: 10px 0 15px;
	font: 34px/1.05 var(--roamly-serif);
	letter-spacing: -0.025em;
}

.driver-profile-contact > p,
.driver-profile-quote-card__request > p {
	margin: 0 0 22px;
	color: var(--roamly-muted);
	font: 13px/1.65 var(--roamly-serif);
}

.driver-profile-contact {
	scroll-margin-top: 110px;
}

.driver-profile-contact__links {
	display: grid;
	gap: 9px;
}

.driver-profile-contact__links a {
	display: grid;
	gap: 3px;
	padding: 12px 14px;
	color: var(--roamly-green);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid #d6d9d2;
	border-radius: 10px;
}

.driver-profile-contact__links a:hover {
	border-color: var(--roamly-gold-dark);
}

.driver-profile-contact__links strong {
	overflow-wrap: anywhere;
	color: var(--roamly-ink);
	font-size: 11px;
	letter-spacing: 0;
	text-transform: none;
}

.driver-profile-contact__login {
	display: inline-flex;
	width: 100%;
	justify-content: center;
	text-align: center;
}

.driver-profile-quote-card__request {
	padding-top: 28px;
	margin-top: 30px;
	border-top: 1px solid #d8d9d3;
}

.driver-profile-quote-card__request > .driver-profile-quote-icon + .section-kicker {
	margin-top: 24px;
}

.driver-profile-quote-card .driver-primary-button {
	width: 100%;
}

.driver-profile-quote-card ul {
	display: grid;
	gap: 10px;
	padding: 19px 0 0;
	margin: 22px 0 0;
	color: #61736c;
	font-size: 10px;
	list-style: none;
	border-top: 1px solid #d8d9d3;
}

.driver-profile-quote-card li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.driver-profile-quote-card li svg {
	color: var(--roamly-green);
}

@media (max-width: 1080px) {
	.driver-filters {
		grid-template-columns: 1.4fr repeat(2, 1fr);
	}

	.driver-filters > *:nth-last-child(-n + 2) {
		margin-top: 7px;
	}

	.driver-directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.driver-refine-filters__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.driver-profile-details {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 780px) {
	.driver-directory-hero {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 65px 22px 85px;
	}

	.driver-directory-hero h1 {
		font-size: 52px;
	}

	.driver-directory-content {
		padding: 0 20px 70px;
		margin-top: -30px;
	}

	.driver-filters {
		grid-template-columns: 1fr;
		padding: 8px;
	}

	.driver-filters > label,
	.driver-filters > .country-picker,
	.driver-filters > .date-field,
	.driver-filter-search {
		padding: 12px;
		border-right: 0;
		border-bottom: 1px solid var(--roamly-border);
	}

	.driver-filters > *:nth-last-child(-n + 2) {
		margin-top: 0;
	}

	.driver-filters > button {
		margin-top: 8px;
	}

	.driver-filters > .party-picker > summary {
		min-height: 65px;
		border-right: 0;
		border-bottom: 1px solid var(--roamly-border);
	}

	.driver-filters .party-picker__panel {
		position: static;
		width: 100%;
		padding: 16px 12px;
		border: 0;
		border-bottom: 1px solid var(--roamly-border);
		border-radius: 0;
		box-shadow: none;
	}

	.driver-refine-filters__grid {
		grid-template-columns: 1fr;
	}

	.driver-refine-filters__grid > label,
	.driver-refine-filters__grid .driver-filter-search {
		border-right: 0;
		border-bottom: 1px solid var(--roamly-border);
	}

	.driver-refine-filters__grid > label:last-child {
		border-bottom: 0;
	}

	.driver-journey-summary {
		align-items: flex-start;
	}

	.driver-directory-results-heading {
		align-items: start;
	}

	.driver-directory-grid {
		grid-template-columns: 1fr;
	}

	.driver-directory-card__excerpt {
		min-height: 0;
	}

	.driver-directory-cta {
		flex-direction: column;
		padding: 65px 22px;
		align-items: flex-start;
	}

	.driver-profile-page {
		padding: 0 20px 75px;
		background:
			linear-gradient(#f1ecdf 0, #f1ecdf 300px, var(--roamly-paper) 300px);
	}

	.driver-profile-hero {
		grid-template-columns: 1fr;
	}

	.driver-profile-photo {
		min-height: 390px;
	}

	.driver-profile-intro {
		padding: 38px 27px 43px;
	}

	.driver-profile-intro h1 {
		font-size: 50px;
	}

	.driver-profile-eyebrow {
		align-items: flex-start;
	}

	.driver-profile-body {
		grid-template-columns: 1fr;
		gap: 55px;
		padding-top: 70px;
	}

	.driver-profile-quote-card {
		position: static;
	}

	.driver-profile-stats {
		max-width: calc(100% - 30px);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 430px) {
	.driver-directory-hero h1,
	.driver-profile-intro h1 {
		font-size: 43px;
	}

	.driver-directory-results-heading,
	.driver-directory-empty > div,
	.driver-profile-actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.driver-directory-empty .outline-button {
		display: inline-flex;
	}

	.driver-directory-card__footer {
		align-items: flex-end;
	}

	.driver-profile-photo {
		min-height: 320px;
	}

	.driver-profile-eyebrow {
		flex-direction: column;
		gap: 11px;
	}

	.driver-profile-actions > a {
		width: 100%;
	}

	.driver-profile-stats {
		grid-template-columns: 1fr;
	}
}

/* Results sidebar and date-aware provider states */
.driver-results-layout {
	display: grid;
	grid-template-columns: minmax(245px, 285px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 46px);
	align-items: start;
}

.driver-filter-backdrop {
	display: none;
}

.driver-mobile-result-actions {
	display: none;
}

.rly-saved-drivers.driver-results-layout {
	grid-template-columns: minmax(0, 1fr);
}

.driver-filter-sidebar {
	position: sticky;
	top: 92px;
	overflow: hidden;
	background: var(--roamly-paper);
	border: 1px solid var(--roamly-border);
	border-radius: 15px;
	box-shadow: 0 12px 34px rgba(31, 53, 46, 0.08);
}

.driver-filter-sidebar > form > details {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.driver-filter-sidebar details > summary {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 9px;
	padding: 18px 19px;
	align-items: center;
	color: var(--roamly-ink);
	font-size: 12px;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
	border-bottom: 1px solid transparent;
}

.driver-filter-sidebar details[open] > summary {
	border-bottom-color: var(--roamly-border);
}

.driver-filter-sidebar details > summary::-webkit-details-marker {
	display: none;
}

.driver-filter-sidebar details > summary span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.driver-filter-sidebar details > summary small {
	display: grid;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	place-items: center;
	color: #fff;
	font-size: 9px;
	background: var(--roamly-green);
	border-radius: 999px;
}

.driver-filter-sidebar details > summary > svg {
	transition: transform 0.2s ease;
}

.driver-filter-sidebar details[open] > summary > svg {
	transform: rotate(180deg);
}

.driver-filter-sidebar__body {
	display: grid;
}

.driver-sidebar-search,
.driver-filter-sidebar fieldset {
	padding: 18px 19px;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--roamly-border);
}

.driver-sidebar-search {
	display: grid;
	gap: 8px;
}

.driver-sidebar-search label,
.driver-filter-sidebar legend {
	padding: 0;
	color: var(--roamly-ink);
	font-size: 11px;
	font-weight: 900;
}

.driver-sidebar-search input {
	width: 100%;
	min-width: 0;
	padding: 10px 11px;
	color: var(--roamly-ink);
	background: #fff;
	border: 1px solid #cfd7d2;
	border-radius: 8px;
	outline: 0;
}

.driver-sidebar-search input:focus {
	border-color: var(--roamly-green);
	box-shadow: 0 0 0 3px rgba(31, 78, 64, 0.12);
}

.driver-filter-options {
	display: grid;
	gap: 10px;
	margin-top: 13px;
}

.driver-filter-options label {
	display: grid;
	grid-template-columns: 17px minmax(0, 1fr) auto;
	gap: 9px;
	align-items: center;
	color: #4d625a;
	font-size: 11px;
	line-height: 1.35;
	cursor: pointer;
}

.driver-filter-options input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--roamly-green);
}

.driver-filter-options small {
	color: #8a9792;
	font-size: 9px;
}

.driver-language-filter .driver-filter-options {
	max-height: 205px;
	padding-right: 5px;
	overflow-y: auto;
	scrollbar-color: #aebbb5 transparent;
	scrollbar-width: thin;
}

.driver-filter-apply {
	margin: 18px 19px 9px;
	padding: 13px 15px;
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	background: var(--roamly-green);
	border: 0;
	border-radius: 9px;
	cursor: pointer;
}

.driver-filter-apply:hover {
	background: #163c31;
}

.driver-filter-reset {
	margin: 0 19px 18px;
	color: #5c7068;
	font-size: 10px;
	font-weight: 800;
	text-align: center;
}

.driver-results-list {
	min-width: 0;
}

.driver-results-layout .driver-directory-grid {
	grid-template-columns: minmax(0, 1fr);
}

.driver-results-layout .driver-directory-grid .driver-directory-card {
	display: grid;
	grid-template-columns: minmax(220px, 285px) minmax(0, 1fr);
	gap: 22px;
	padding: 16px;
	align-items: stretch;
	overflow: visible;
}

.driver-results-layout .driver-directory-card .driver-visual {
	height: 100%;
	min-height: 230px;
	border-radius: 14px;
}

.driver-results-layout .driver-directory-card .driver-info {
	display: grid;
	align-content: start;
	gap: 12px;
	min-width: 0;
}

.driver-results-layout .driver-directory-card__excerpt {
	min-height: 0;
	margin: 0;
	font: 13px/1.6 var(--roamly-sans);
}

.driver-results-layout .driver-directory-card__footer {
	margin-top: 0;
}

.driver-card-summary-row {
	display: flex;
	margin-top: auto;
	align-items: end;
	justify-content: space-between;
	gap: 10px;
}

.driver-directory-card__languages {
	min-width: 0;
	flex: 1 1 auto;
}

.driver-card-summary-row .driver-card-price-region {
	flex: 0 0 auto;
	margin-top: 0;
}

.driver-provider-type {
	display: inline-block;
	margin-bottom: 5px;
	color: #8c612f;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.driver-fleet {
	display: grid;
	gap: 7px;
}

.driver-fleet > strong {
	color: var(--roamly-ink);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.driver-fleet > div {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.driver-fleet-item {
	position: relative;
}

.driver-fleet-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 9px;
	color: #40584f;
	font: inherit;
	font-size: 10px;
	background: #f2f5f1;
	border: 1px solid #dfe7e1;
	border-radius: 8px;
	cursor: default;
}

.driver-fleet-tag:not(:disabled) {
	cursor: pointer;
}

.driver-fleet-tag:not(:disabled):hover,
.driver-fleet-tag:not(:disabled):focus-visible,
.driver-fleet-item.is-preview-open .driver-fleet-tag {
	color: var(--roamly-green);
	background: #fff;
	border-color: #a9c4b8;
	box-shadow: 0 5px 16px rgba(14, 53, 43, 0.1);
}

.driver-fleet-tag small {
	color: var(--roamly-muted);
	font-size: 9px;
}

.driver-fleet-tag > b {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vehicle-preview {
	position: absolute;
	z-index: 40;
	left: 0;
	bottom: calc(100% + 10px);
	width: min(390px, calc(100vw - 48px));
	padding: 8px;
	color: var(--roamly-ink);
	background: #fff;
	border: 1px solid #dce5e0;
	border-radius: 14px;
	box-shadow: 0 20px 55px rgba(9, 37, 30, 0.22);
}

.vehicle-preview::after {
	position: absolute;
	top: 100%;
	left: 22px;
	width: 12px;
	height: 12px;
	content: "";
	background: #fff;
	border-right: 1px solid #dce5e0;
	border-bottom: 1px solid #dce5e0;
	transform: translateY(-6px) rotate(45deg);
}

.vehicle-preview__stage {
	position: relative;
	height: 238px;
	overflow: hidden;
	background: #e9efec;
	border-radius: 10px;
}

.vehicle-preview figure {
	position: absolute;
	inset: 0;
	margin: 0;
}

.vehicle-preview figure[hidden] {
	display: none;
}

.vehicle-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vehicle-preview figcaption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 5px 8px;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	background: rgba(8, 31, 25, 0.78);
	border-radius: 999px;
}

.vehicle-preview__arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	display: grid;
	width: 32px;
	height: 32px;
	padding: 0;
	place-items: center;
	color: var(--roamly-ink);
	font: 25px/1 var(--roamly-sans);
	background: rgba(255, 255, 255, 0.92);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(7, 29, 24, 0.2);
	transform: translateY(-50%);
	cursor: pointer;
}

.vehicle-preview__arrow--previous { left: 10px; }
.vehicle-preview__arrow--next { right: 10px; }

.vehicle-preview__footer {
	display: flex;
	padding: 9px 5px 3px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 10px;
}

.vehicle-preview__footer span {
	color: var(--roamly-muted);
}

.driver-card-availability,
.driver-profile-availability {
	display: flex;
	gap: 9px;
	padding: 11px 12px;
	align-items: flex-start;
	border: 1px solid;
	border-radius: 9px;
}

.driver-card-availability {
	margin-bottom: 15px;
	font-size: 10px;
}

.driver-directory-card .driver-card-availability {
	position: absolute;
	right: 0;
	bottom: calc(100% + 7px);
	z-index: 5;
	width: max-content;
	max-width: min(100%, 410px);
	padding: 8px 11px;
	margin: 0;
	align-items: center;
	color: #71391c;
	background: #fff8eb;
	border-color: #e7b56f;
	border-radius: 11px;
	box-shadow: 0 5px 14px rgba(92, 54, 21, 0.12);
	filter: none;
	opacity: 1;
	box-sizing: border-box;
}

.driver-card-price-region {
	position: relative;
	display: flex;
	margin-top: auto;
	align-items: end;
	justify-content: flex-end;
}

.driver-card-price-region .driver-card-price--summary {
	margin-top: 0;
}

.driver-card-price-region.is-status-only {
	min-height: 44px;
}

.driver-card-price-region.is-status-only .driver-card-availability {
	top: 0;
	bottom: auto;
}

.driver-directory-card .driver-card-availability svg {
	flex: 0 0 auto;
}

.driver-directory-card .driver-card-availability strong {
	font-size: 10px;
	letter-spacing: 0.01em;
}

.driver-directory-card .driver-card-availability small {
	color: #87522c;
}

.driver-card-availability > span,
.driver-profile-availability > div {
	display: grid;
	gap: 3px;
}

.driver-card-availability strong,
.driver-profile-availability strong {
	font-weight: 900;
}

.driver-card-availability small,
.driver-profile-availability span {
	font-size: 9px;
	line-height: 1.45;
}

.driver-card-availability.is-open,
.driver-profile-availability.is-open {
	color: #245b47;
	background: #edf7f1;
	border-color: #cce5d6;
}

.driver-card-availability.is-blocked,
.driver-profile-availability.is-blocked {
	color: #7a431e;
	background: #fff2e3;
	border-color: #efd0ad;
}

.driver-external-review-links { margin-top:5px; margin-left:auto; justify-content:flex-end; }
.driver-profile-reviews { max-width: 1180px; padding: clamp(24px, 4vw, 46px); margin: 30px auto 0; background: #f7f5ef; border: 1px solid #e4e0d5; border-radius: 24px; }
.driver-profile-reviews > header { display: flex; margin-bottom: 22px; align-items: flex-start; justify-content: space-between; gap: 24px; }
.driver-profile-reviews h2 { margin: 5px 0 7px; color: #183e32; font-size: clamp(25px, 3vw, 36px); }
.driver-profile-reviews > header p { margin: 0; color: #65766f; }
.driver-review-qr { display: grid; padding: 8px; justify-items: center; gap: 5px; background: #fff; border: 1px solid #d8e0dc; border-radius: 12px; }
.driver-review-qr [data-review-qr] { width: 82px; height: 82px; }
.driver-review-qr svg { width: 100%; height: 100%; }
.driver-review-qr span { color: #536b62; font-size: 9px; font-weight: 800; }
.driver-review-eligibility-note { margin:0 0 16px; padding:12px 14px; color:#625536; background:#fff8df; border:1px solid #ead99c; border-radius:10px; }
.driver-review-eligibility-note strong { color:#554722; font-size:12px; }
.driver-review-eligibility-note p { margin:3px 0 0; font-size:11px; line-height:1.5; }
.driver-review-summary { padding: 18px 20px; margin-bottom: 18px; color: #365347; background: linear-gradient(135deg,#fff8db,#fffdf3); border: 1px solid #e7d48c; border-radius: 14px; }
.driver-review-summary > strong { color: #7a5b18; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.driver-review-summary p { margin: 7px 0 12px; line-height: 1.55; }
.driver-review-summary > div { display: flex; flex-wrap: wrap; gap: 7px; }
.driver-review-summary > div span { display: inline-flex; padding: 5px 8px; gap: 6px; font-size: 10px; background: #fff; border-radius: 999px; }
.driver-profile-review-sources { margin-bottom:18px; }
.driver-review-trust-stack { display:grid; width:fit-content; margin-bottom:18px; justify-items:start; gap:6px; }
.driver-review-list { display: grid; gap: 12px; }
.driver-review-list > article { padding: 17px 18px; background: #fff; border: 1px solid #dfe5e2; border-radius: 14px; }
.driver-review-list article > header { display: flex; align-items: center; gap: 9px; }.driver-review-list article > header span { color: #efb31f; letter-spacing: 1px; }.driver-review-list time { margin-left: auto; color: #829089; font-size: 10px; }.driver-review-list p { margin: 10px 0 0; line-height: 1.6; }
.driver-review-photos { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: 12px; gap: 7px; }.driver-review-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.driver-write-review { padding: 20px; margin-top: 20px; background: #fff; border: 1px solid #dce4e0; border-radius: 14px; }.driver-write-review h3 { margin: 0 0 8px; color: #234b3e; }
.driver-public-review-form { display: grid; gap: 14px; }.driver-public-review-form label { display: grid; gap: 5px; color: #36574c; font-size: 11px; font-weight: 800; }.driver-public-review-form :is(select,textarea,input[type="file"]) { width: 100%; padding: 10px; background: #fff; border: 1px solid #cedbd5; border-radius: 8px; box-sizing: border-box; }.driver-public-review-ratings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }

.driver-directory-card.is-unavailable {
	cursor: not-allowed;
	box-shadow: none;
	filter: none;
	opacity: 1;
}

.driver-directory-card.is-unavailable:hover {
	transform: none;
}

.driver-directory-card.is-unavailable .driver-visual {
	filter: grayscale(1);
	opacity: 0.58;
}

.driver-directory-card.is-unavailable .driver-title,
.driver-directory-card.is-unavailable .driver-directory-card__excerpt,
.driver-directory-card.is-unavailable .driver-fleet,
.driver-directory-card.is-unavailable .driver-meta,
.driver-directory-card.is-unavailable .driver-card-price,
.driver-directory-card.is-unavailable .driver-directory-card__footer {
	filter: grayscale(1);
	opacity: 0.62;
}

.driver-card-quote.is-disabled,
.driver-primary-button.is-disabled {
	color: #68756f;
	background: #dce1de;
	cursor: not-allowed;
	transform: none;
}

.driver-card-price {
	display: inline-flex;
	gap: 3px;
	align-items: baseline;
	margin-left: auto;
	color: var(--roamly-ink);
	white-space: nowrap;
}

.driver-card-price strong {
	font: 17px var(--roamly-serif);
}

.driver-card-price small {
	color: var(--roamly-muted);
	font-size: 8px;
}

.driver-profile-availability {
	max-width: 610px;
	margin-top: 25px;
	font-size: 11px;
}

.driver-profile-availability span {
	color: currentColor;
}

@media (max-width: 1260px) {
	.driver-results-layout .driver-directory-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.driver-results-layout {
		grid-template-columns: 1fr;
	}

	.driver-filter-sidebar {
		position: static;
	}

	.driver-filter-sidebar__body {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.driver-sidebar-search,
	.driver-filter-sidebar fieldset {
		border-right: 1px solid var(--roamly-border);
	}

	.driver-filter-apply,
	.driver-filter-reset {
		align-self: center;
	}
}

@media (max-width: 620px) {
	.driver-filter-sidebar__body,
	.driver-results-layout .driver-directory-grid {
		grid-template-columns: 1fr;
	}

	.driver-results-layout .driver-directory-grid .driver-directory-card {
		grid-template-columns: 1fr;
	}

	.driver-sidebar-search,
	.driver-filter-sidebar fieldset {
		border-right: 0;
	}

	.driver-card-price {
		order: -1;
		margin: 0;
	}
}

/* Portrait-phone results workspace: compact sticky trip editor and filter sheet. */
@media (max-width: 780px) and (orientation: portrait) {
	body.post-type-archive-rly_driver .site-header {
		position: sticky;
		z-index: 91;
		top: 0;
	}

	.driver-directory {
		padding-top: 0;
	}

	.driver-directory-content {
		padding: 0 8px 70px;
		margin-top: 0;
	}

	.driver-search-form {
		position: sticky;
		z-index: 80;
		top: 66px;
		width: 100vw;
		margin: 0 0 20px calc(50% - 50vw);
		background: #fffefb;
		box-shadow: 0 8px 24px rgba(18, 45, 36, 0.13);
	}

	.driver-trip-toggle {
		display: grid;
		width: 100%;
		min-height: 62px;
		padding: 9px 14px;
		grid-template-columns: 34px minmax(0, 1fr) auto;
		align-items: center;
		gap: 10px;
		color: var(--roamly-ink);
		text-align: left;
		background: #fffefb;
		border: 0;
		border-bottom: 1px solid #e4e6e1;
		border-radius: 0;
	}

	.driver-trip-toggle__icon {
		display: grid;
		width: 34px;
		height: 34px;
		place-items: center;
		color: var(--roamly-green);
		background: #eaf3ef;
		border-radius: 10px;
	}

	.driver-trip-toggle__copy {
		display: grid;
		min-width: 0;
		gap: 2px;
	}

	.driver-trip-toggle__copy strong,
	.driver-trip-toggle__copy small {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.driver-trip-toggle__copy strong {
		font-size: 13px;
	}

	.driver-trip-toggle__copy small {
		color: #6d7e77;
		font-size: 10px;
		font-weight: 650;
	}

	.driver-trip-toggle__edit {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		color: #46635a;
		font-size: 10px;
		font-weight: 850;
	}

	.driver-trip-toggle__edit svg {
		transition: transform 180ms ease;
	}

	.driver-search-form.is-trip-open .driver-trip-toggle__edit svg {
		transform: rotate(180deg);
	}

	.driver-search-form .driver-filters {
		display: none;
		max-height: calc(100dvh - 128px);
		padding: 8px 12px 14px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fffefb;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.driver-filter-sidebar.is-mobile-open {
		z-index: 100;
	}

	.driver-search-form.is-trip-open .driver-filters {
		display: grid;
	}

	.driver-directory-results-heading {
		min-height: 35px;
		padding: 5px 2px 7px;
		margin: 0;
		align-items: center;
		flex-direction: row;
		justify-content: space-between;
		gap: 10px;
	}

	.driver-directory-results-heading h2 {
		font: 750 18px/1.2 var(--roamly-sans);
		letter-spacing: -0.015em;
	}

	.driver-mobile-result-actions {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 7px;
	}

	.driver-mobile-sort,
	.driver-mobile-filter-trigger {
		position: relative;
		display: grid;
		width: 36px;
		height: 36px;
		padding: 0;
		place-items: center;
		color: var(--roamly-green);
		background: #fff;
		border: 1px solid #d6dfdb;
		border-radius: 11px;
		box-shadow: 0 3px 9px rgba(23, 53, 45, 0.07);
	}

	.driver-mobile-filter-trigger {
		color: #fff;
		background: var(--roamly-green);
		border-color: var(--roamly-green);
	}

	.driver-mobile-sort select {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		opacity: 0;
		cursor: pointer;
	}

	.driver-mobile-filter-trigger small {
		position: absolute;
		top: -5px;
		right: -5px;
		display: grid;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		place-items: center;
		color: #fff;
		font-size: 8px;
		font-weight: 900;
		background: #bd4a43;
		border: 2px solid var(--roamly-cream);
		border-radius: 999px;
	}

	.driver-results-layout {
		position: relative;
		display: block;
		gap: 0;
	}

	.driver-filter-sidebar {
		position: absolute;
		z-index: 1;
		top: 0;
		right: 0;
		width: auto;
		margin: 0;
		overflow: visible;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.driver-filter-sidebar details {
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.driver-filter-sidebar details:not([open]) > summary {
		display: none;
	}

	.driver-filter-sidebar details > summary {
		display: grid;
		width: fit-content;
		min-height: 36px;
		padding: 7px 11px;
		grid-template-columns: 1fr auto auto;
		margin-left: auto;
		color: #fff;
		background: var(--roamly-green);
		border: 0;
		border-radius: 999px;
		box-shadow: 0 8px 22px rgba(23, 72, 59, 0.2);
		font-size: 11px;
	}

	.driver-filter-sidebar details > summary span {
		gap: 6px;
	}

	.driver-filter-sidebar details > summary > svg {
		width: 13px;
		height: 13px;
	}

	.driver-filter-sidebar details[open] {
		position: fixed;
		z-index: 101;
		right: 0;
		bottom: 0;
		left: 0;
		max-height: 84dvh;
		padding: 0 0 env(safe-area-inset-bottom);
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fffefb;
		border-radius: 24px 24px 0 0;
		box-shadow: 0 -20px 65px rgba(8, 35, 27, 0.3);
		animation: roamly-mobile-filter-sheet-in 230ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.driver-filter-sidebar details[open] > summary {
		position: sticky;
		z-index: 2;
		top: 0;
		width: 100%;
		padding: 17px 20px;
		margin: 0;
		color: var(--roamly-ink);
		background: rgba(255, 254, 251, 0.98);
		border-bottom: 1px solid var(--roamly-border);
		border-radius: 24px 24px 0 0;
		box-shadow: none;
	}

	.driver-filter-sidebar details[open] > summary > span > svg {
		color: var(--roamly-green);
	}

	.driver-filter-sidebar details[open] .driver-filter-sidebar__body {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		margin-top: 0;
	}

	body.mobile-driver-filters-open {
		overflow: hidden;
	}

	body.mobile-driver-filters-open .driver-filter-backdrop {
		position: fixed;
		z-index: 99;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		background: rgba(8, 28, 23, 0.34);
		border: 0;
		border-radius: 0;
		backdrop-filter: blur(2px);
		cursor: default;
	}

	.driver-results-list {
		width: 100%;
	}

	.driver-results-toolbar {
		display: block;
		min-height: 0;
		padding: 0;
		margin-bottom: 7px;
	}

	.driver-results-toolbar form {
		display: none;
	}

	.driver-filter-chips:empty {
		display: none;
	}

	.driver-filter-chips:not(:empty) {
		grid-row: 2;
		grid-column: 1 / -1;
		padding-top: 2px;
	}

	.driver-results-layout .driver-directory-grid {
		gap: 10px;
	}

	.driver-results-layout .driver-directory-grid .driver-directory-card {
		gap: 0;
		padding: 0;
		overflow: hidden;
		border-radius: 15px;
		box-shadow: 0 4px 14px rgba(23, 53, 45, 0.07);
	}

	.driver-results-layout .driver-directory-card .driver-visual {
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 9;
		border-radius: 0;
	}

	.driver-results-layout .driver-directory-card .driver-info {
		gap: 9px;
		padding: 13px 12px 12px;
	}

	.driver-directory-card .driver-title {
		gap: 8px;
	}

	.driver-directory-card .driver-title h2 {
		margin-bottom: 3px;
		font: 700 18px/1.2 var(--roamly-serif);
	}

	.driver-directory-card .driver-title > div > span,
	.driver-provider-type {
		font-size: 9px;
	}

	.driver-results-layout .driver-directory-card__excerpt {
		display: -webkit-box;
		overflow: hidden;
		font: 12px/1.45 var(--roamly-sans);
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.driver-fleet {
		gap: 5px;
	}

	.driver-fleet > div {
		gap: 5px;
	}

	.driver-fleet-tag {
		padding: 6px 8px;
		font-size: 9px;
	}

	.driver-meta {
		gap: 7px 10px;
		font-size: 9px;
	}

	.driver-directory-card .driver-directory-card__footer {
		gap: 8px;
		padding-top: 10px;
	}

	.driver-card-message,
	.driver-card-quote {
		min-height: 36px;
		padding: 8px 11px;
		font-size: 10px;
	}

	.driver-card-price--summary strong {
		font-size: 19px;
	}

	.driver-carousel__arrow {
		width: 28px;
		height: 28px;
	}

	@keyframes roamly-mobile-filter-sheet-in {
		from {
			opacity: 0.75;
			transform: translate3d(0, 42px, 0);
		}

		to {
			opacity: 1;
			transform: translate3d(0, 0, 0);
		}
	}
}

/* One accessible, two-handle price track with the distribution above it. */
.driver-price-range {
	display: block;
	width: 100%;
	margin-top: 13px;
}

.driver-price-histogram {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 58px;
	gap: 3px;
	padding: 0 3px 7px;
	border-bottom: 1px solid #dce6e2;
}

.driver-price-histogram i {
	display: block;
	flex: 1 1 0;
	height: var(--bar-height);
	min-height: 4px;
	background: linear-gradient(180deg, #67a594, #a9cec3);
	border-radius: 3px 3px 1px 1px;
	transition: opacity .15s ease, background-color .15s ease;
}

.driver-price-histogram i.is-outside-range {
	opacity: .22;
}

.driver-range-track {
	--range-min: 0%;
	--range-max: 100%;
	position: relative;
	width: 100%;
	height: 38px;
	margin-top: 2px;
}

.driver-range-track__rail,
.driver-range-track__selection {
	position: absolute;
	top: 17px;
	height: 5px;
	border-radius: 999px;
	pointer-events: none;
}

.driver-range-track__rail {
	right: 0;
	left: 0;
	background: #d4dedb;
}

.driver-range-track__selection {
	right: calc(100% - var(--range-max));
	left: var(--range-min);
	background: var(--roamly-green);
}

.driver-price-range .driver-range-track input[type="range"] {
	position: absolute;
	z-index: 3;
	top: 3px;
	left: 0;
	width: 100%;
	height: 32px;
	margin: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	outline: 0;
	pointer-events: none;
}

.driver-price-range .driver-range-track input[data-price-min] {
	z-index: 4;
}

.driver-price-range .driver-range-track input[type="range"]::-webkit-slider-runnable-track {
	height: 5px;
	background: transparent;
	border: 0;
}

.driver-price-range .driver-range-track input[type="range"]::-webkit-slider-thumb {
	width: 20px;
	height: 20px;
	margin-top: -8px;
	appearance: none;
	-webkit-appearance: none;
	background: var(--roamly-green);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--roamly-green), 0 3px 8px rgba(17, 58, 47, .24);
	cursor: grab;
	pointer-events: auto;
}

.driver-price-range .driver-range-track input[type="range"]::-moz-range-track {
	height: 5px;
	background: transparent;
	border: 0;
}

.driver-price-range .driver-range-track input[type="range"]::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: var(--roamly-green);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--roamly-green), 0 3px 8px rgba(17, 58, 47, .24);
	cursor: grab;
	pointer-events: auto;
}

.driver-price-range .driver-range-track input[type="range"]:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(31, 78, 64, .2), 0 0 0 1px var(--roamly-green);
}

.driver-price-range .driver-range-track input[type="range"]:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 4px rgba(31, 78, 64, .2), 0 0 0 1px var(--roamly-green);
}

.driver-price-values {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 1px;
	color: var(--roamly-muted);
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
}

.driver-price-values strong {
	display: inline-block;
	min-width: 34px;
	color: var(--roamly-ink);
	font-size: 12px;
	text-align: right;
}

/* Compact result-card actions. */
.driver-card-side {
	display: grid;
	justify-items: end;
	align-content: start;
	gap: 7px;
	min-width: max-content;
}

.driver-card-side .rating {
	margin: 0;
}

.driver-favorite.driver-favorite--compact {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	color: #52665f;
	background: transparent;
	border: 0;
	border-radius: 50%;
}

.driver-favorite.driver-favorite--compact:hover,
.driver-favorite.driver-favorite--compact:focus-visible {
	color: #a5344b;
	background: #fff1f4;
	outline: 0;
}

.driver-favorite.driver-favorite--compact span:first-child {
	display: grid;
	place-items: center;
}

.driver-favorite.driver-favorite--compact[aria-pressed="true"] {
	color: #a5344b;
	background: transparent;
}

.driver-card-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-left: auto;
}

.driver-card-price--summary {
	display: inline-flex;
	align-items: baseline;
	justify-self: end;
	gap: 4px;
	margin-top: auto;
	text-align: right;
}

.driver-card-price--summary strong {
	color: var(--roamly-ink);
	font: 700 21px/1 var(--roamly-serif);
}

@media (max-width: 620px) {
	.driver-card-side {
		min-width: 0;
	}

	.driver-directory-card__footer {
		align-items: center;
	}

	.driver-card-actions {
		width: auto;
		justify-content: flex-end;
	}

	.driver-card-price--summary {
		order: initial;
		margin-top: auto;
	}
}
