/* GetnDrive Visual Rebrand — approved global footer and Header market state. v0.2.10.54–0.2.10.56 (Nik, 2026-10-09; ADR-255);
   v0.2.10.62 (Nik, 2026-10-10): the route as a full-width row (§7), the two partner cards rebalanced and the bottom rows
   reordered and centred (§8). v0.2.10.63 (Nik, 2026-10-11): the route is a winding line drawn in the grid's existing
   bottom padding — no row, no height of its own (§7) — and the specialist card carries a contact invitation (§9).
   v0.2.10.64 (Nik, 2026-10-11): the route runs from low left to high right behind the content (§7), and the
   rental-company card keeps its content height on desktop too (end of §9).
   v0.2.10.65 (Nik, 2026-10-16): on desktop the rental-company card fills its grid track again, without the 0.2.10.63
   gap — `Become a partner` stays under the paragraph and only `Partner login` sits at the card's foot (§10).

   Loaded on every public request (the Footer and Header are shared), after the footer lockup, phone logo scale and
   agent-entry stylesheets and before the route-gated account footer, which keeps its own hide rules. A separate file:
   the main, lockup and shell stylesheets are SHA-frozen by the rendered-evidence checkers.

   Footer (only a footer the editorial layout converted, `.gnd-footer--editorial`):
   Brand | Rental | About GetnDrive | the two partner boxes, then the bottom strip (copyright, operator line, Terms,
   Privacy, cookie settings). v0.2.10.55: the Geography strip is retired and the Rental column carries the longer
   descriptive labels (Car rental, Motorbike rental, Thailand destinations), so it is as wide as the About column.
   v0.2.10.56: tablet puts the brand over Rental | About, beside the partner boxes (no empty half-rows).
   v0.2.10.57 (Nik, 2026-10-09; layout option 1): the specialist card is its own grid item — under Rental | Company on
   desktop, under the rental-company card on tablet, last on phones; the decorative dotted route moves off the cards
   into the free area under the brand (§7). The navy/petrol background, lockup and market chip are unchanged. Text on
   the dark footer stays at or above ~8:1. */

/* ---- 1. Grid ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.25fr) !important;
	gap: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 44px) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__brand p:not(.gnd-footer-brand__market) {
	max-width: 44ch !important;
}

/* v0.2.10.57 desktop: Brand | Rental | Company | rental-company card on the first row; the specialist card (when
   published) under Rental | Company. Brand and the rental-company card span both rows, so no tall stack of two cards
   on the right; the brand cell ends in the decorative route (§7). Without the specialist card row 2 is only the
   spill of the two spanning cells — no empty slot. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__brand {
	grid-row: 1 / span 2 !important;
	align-self: stretch !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--partners {
	grid-row: 1 / span 2 !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists {
	grid-column: 2 / 4 !important;
	grid-row: 2 !important;
	min-width: 0;
}

/* ---- 2. Partner column: two boxes ---- */

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner {
	display: grid !important;
	gap: 12px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box {
	min-width: 0;
	padding: 16px 18px 18px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box h3 {
	margin: 0 0 8px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner p.gnd-footer-partner__note {
	max-width: none !important;
	color: rgba(239, 247, 246, .84) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box .gnd-footer-partner__actions {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 10px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__join {
	justify-content: center !important;
}

/* Partner login: an outlined button with the arrow (was an underlined text link). */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__login,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__agent {
	display: inline-flex !important;
	flex: 1 1 auto !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-height: 44px !important;
	padding: 10px 14px !important;
	border: 1px solid rgba(244, 248, 248, .5) !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-align: left !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	text-decoration: none !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__login:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__login:focus-visible,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__agent:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__agent:focus-visible {
	border-color: var(--gnd-teal) !important;
	background: rgba(27, 174, 159, .12) !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__login:focus-visible,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__agent:focus-visible {
	outline: 2px solid var(--gnd-teal) !important;
	outline-offset: 2px !important;
}

/* The agent box is the quieter of the two: same outline button, smaller heading block, full width. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--agent {
	padding-block: 14px 16px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--agent a.gnd-footer-partner__agent {
	width: 100% !important;
	font-weight: 600 !important;
}

/* v0.2.10.57: as a wide card under Rental | Company the heading and the button share one row; they wrap when narrow. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent h3 {
	flex: 1 1 220px;
	margin: 0 !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__actions {
	flex: 0 1 230px;
	min-width: 0;
}

/* ---- 3. Bottom strip: copyright, operator line, legal, cookie settings ---- */

/* Desktop: copyright and the operator line share the first row (the operator line grows), so Terms, Privacy and
   Cookie settings always wrap together onto the second row, right-aligned — never a lone cookie link. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom p.gnd-footer-operator {
	display: inline-flex;
	flex: 1 1 58%;
	align-items: center;
	gap: 10px;
	color: rgba(239, 247, 246, .78) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom:has(.gnd-footer-operator) .gnd-footer-legal {
	margin-left: auto;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-operator::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: var(--gnd-teal);
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-legal a,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-cookie-settings-link {
	color: rgba(239, 247, 246, .8) !important;
}

/* ---- 4. Tablet: brand over Rental | About on the left, the partner boxes stacked on the right ---- */

/* v0.2.10.56: the brand no longer takes a full row of its own (it left the right half empty) and the partner column
   spans both rows, so the left and right stacks end at about the same height. */
@media (max-width: 1024px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr) !important;
		align-items: start !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__brand {
		grid-column: 1 / 3 !important;
		grid-row: 1 !important;
		max-width: none !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--partners {
		grid-column: 3 !important;
		grid-row: 1 / span 2 !important;
	}

	/* v0.2.10.57: with the specialist card, the right column is the rental-company card (row 1) and the specialist card
	   (row 2, beside Rental | Company) — two separate cards, same place as 0.2.10.56. */
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) .gnd-footer-col--partners {
		grid-row: 1 !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists {
		grid-column: 3 !important;
		grid-row: 2 !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent h3,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__actions {
		flex: 1 1 100%;
	}

	/* Bottom strip: the operator line takes its own row, so Terms, Privacy and Cookie settings always share the next
	   one (in EN at 768px the cookie link used to wrap alone). */
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom p.gnd-footer-operator {
		flex-basis: 100%;
	}
}

/* ---- 5. Phone: brand, Rental | About side by side, partner boxes; every row full width ---- */

@media (max-width: 767px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__brand,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--partners,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) .gnd-footer-col--partners,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists {
		grid-column: 1 / -1 !important;
		grid-row: auto !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box .gnd-footer-partner__actions > a {
		flex: 1 1 100% !important;
	}

	/* The theme centres its footer text on phones; the strip reads left-aligned like the legal links below it. */
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom {
		text-align: left !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom p.gnd-footer-operator {
		flex: 0 0 auto;
		align-items: flex-start;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-operator::before {
		margin-top: .6em;
		flex: 0 0 auto;
	}
}

/* ---- 7. Decorative dotted route (v0.2.10.57, Nik 2026-10-09; a full-width row in v0.2.10.62; a winding line in the grid's
   bottom padding since v0.2.10.63) ---- */

/* History: the route of 0.2.10.5 sat bottom-right on the footer background and crossed the partner cards. It is now drawn only
   in the free space that ends the brand cell (left on desktop and tablet), with three stop points; on phones a short,
   simpler line under the market chip. A pseudo-element with a background: no text, no box of its own in the
   accessibility tree, never a click target, and it cannot overlap a card, a link or the legal strip because it is
   inside the brand cell. The footer background keeps the 0.2.10.5 seam line, glows and gradient without the old route. */
body.getndrive-visual-rebrand .site-footer:has(.gnd-footer--editorial) {
	background-image:
		linear-gradient(90deg, rgba(27, 174, 159, 0) 0%, rgba(27, 174, 159, 0.75) 22%, rgba(168, 224, 99, 0.7) 52%, rgba(27, 174, 159, 0.55) 80%, rgba(27, 174, 159, 0) 100%),
		radial-gradient(64rem 30rem at 102% 118%, rgba(13, 127, 119, 0.42), transparent 66%),
		radial-gradient(42rem 22rem at -6% -18%, rgba(27, 174, 159, 0.14), transparent 70%),
		linear-gradient(180deg, #0b1f3a 0%, #0b2742 58%, #0b3444 100%) !important;
	background-position: 0 0, 0 0, 0 0, 0 0 !important;
	background-size: 100% 2px, auto, auto, auto !important;
}

/* v0.2.10.64 (Nik, 2026-10-11): the route is redrawn as a route, not a divider. It starts low on the left (a teal dot in
   the grid's bottom padding, at the brand side), makes a few gentle bends behind the footer content — one lime waypoint
   on the first bend, in the free space under the brand, from 1025px — and ends higher on the right in a teal ring inside
   the rental-company card's padding, across the full content width. One SVG painted as the grid's
   own background (`left bottom`, the full width, its height from the drawing's proportions, so the dots stay round), so
   it sits behind every child: it never covers text, a card, a link or a focus ring, is never a click target and is not
   in the accessibility tree. It adds no row, no box, no padding and no height (the 0.2.10.62 route row stays gone; the
   padding is the 0.2.10.63 value). Each drawing is no taller than the lowest grid it is used on (measured EN/RU, with and
   without the specialist card: from 1025px ≥ 250px / 327px; 900–1024px ≥ 366px / 420px; 768–899px ≥ 366px / 481px;
   phones ≥ 560px), so the end ring is never cut off. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__brand::after,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid::after {
	content: none !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
	background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201240%20236'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20224C148.4%20227.6%20260.4%20198.2%20359.6%20179.4S558%20165.2%20657.2%20129.8S855.6%2094.4%20961%2077.9S1140.8%2056.6%201222%2014'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-dasharray='0%2010'/%3E%3Ccircle%20cx='12'%20cy='224'%20r='4.4'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='359.6'%20cy='179.4'%20r='5.2'%20fill='%23A8E063'%20fill-opacity='.75'/%3E%3Ccircle%20cx='359.6'%20cy='179.4'%20r='11.4'%20fill='none'%20stroke='%23A8E063'%20stroke-opacity='.26'%20stroke-width='2'/%3E%3Ccircle%20cx='1222'%20cy='14'%20r='4.2'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='1222'%20cy='14'%20r='9.9'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
}

/* With the specialist card the grid is taller, so the drawing is taller too: the end ring stays near the top of the
   rental-company card instead of beside its first button. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) {
	background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201240%20300'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20288C148.4%20291.6%20260.4%20252%20359.6%20228S558%20210%20657.2%20165S855.6%20120%20961%2099S1140.8%2072%201222%2014'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-dasharray='0%2010'/%3E%3Ccircle%20cx='12'%20cy='288'%20r='4.4'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='359.6'%20cy='228'%20r='5.2'%20fill='%23A8E063'%20fill-opacity='.75'/%3E%3Ccircle%20cx='359.6'%20cy='228'%20r='11.4'%20fill='none'%20stroke='%23A8E063'%20stroke-opacity='.26'%20stroke-width='2'/%3E%3Ccircle%20cx='1222'%20cy='14'%20r='4.2'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='1222'%20cy='14'%20r='9.9'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
}

/* Tablet (the 0.2.10.56 layout): the grid's height barely changes with its width here, so two proportions per state keep
   the end ring in the card's upper part without ever being taller than the grid. */
@media (min-width: 900px) and (max-width: 1024px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20920%20365'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20353C113.2%20356.6%20193.2%20306.6%20266.8%20277.4S414%20255.5%20487.6%20200.8S634.8%20146%20713%20120.5S846.4%2087.6%20902%2016'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-dasharray='0%209.5'/%3E%3Ccircle%20cx='12'%20cy='353'%20r='4.1'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='3.8'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='9.1'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20920%20415'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20403C113.2%20406.6%20193.2%20348.6%20266.8%20315.4S414%20290.5%20487.6%20228.3S634.8%20166%20713%20137S846.4%2099.6%20902%2016'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-dasharray='0%209.5'/%3E%3Ccircle%20cx='12'%20cy='403'%20r='4.1'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='3.8'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='9.1'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}
}

@media (min-width: 768px) and (max-width: 899px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20920%20410'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20398C113.2%20401.6%20193.2%20344.4%20266.8%20311.6S414%20287%20487.6%20225.5S634.8%20164%20713%20135.3S846.4%2098.4%20902%2016'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-dasharray='0%209.5'/%3E%3Ccircle%20cx='12'%20cy='398'%20r='4.1'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='3.8'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='9.1'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20920%20540'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20528C113.2%20531.6%20193.2%20453.6%20266.8%20410.4S414%20378%20487.6%20297S634.8%20216%20713%20178.2S846.4%20129.6%20902%2016'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-dasharray='0%209.5'/%3E%3Ccircle%20cx='12'%20cy='528'%20r='4.1'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='3.8'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='9.1'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}
}

/* Phones: every card is full width, so the route is a low one behind the last card — from the start dot in the bottom
   padding to an end ring inside that card's upper right — rather than a line along the cards' right edge, and no lime
   waypoint (it would sit on a button). */
@media (max-width: 767px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20920%20300'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20288C113.2%20291.6%20193.2%20252%20266.8%20228S414%20210%20487.6%20165S634.8%20120%20713%2099S846.4%2072%20902%2016'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-dasharray='0%209.5'/%3E%3Ccircle%20cx='12'%20cy='288'%20r='4.4'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='4.2'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='902'%20cy='16'%20r='9.9'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}
}

@media (max-width: 479px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid,
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) {
		background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20330%20220'%3E%3Cpath%20id='gnd-footer-route'%20d='M12%20208C48.3%20211.6%2069.3%20184.8%2095.7%20167.2S148.5%20154%20174.9%20121S227.7%2088%20255.8%2072.6S303.6%2052.8%20312%2014'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.45'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-dasharray='0%208.5'/%3E%3Ccircle%20cx='12'%20cy='208'%20r='3.7'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='312'%20cy='14'%20r='3.5'%20fill='%231BAE9F'%20fill-opacity='.8'/%3E%3Ccircle%20cx='312'%20cy='14'%20r='8.4'%20fill='none'%20stroke='%231BAE9F'%20stroke-opacity='.3'%20stroke-width='2'/%3E%3C/svg%3E") left bottom / 100% auto no-repeat !important;
	}
}

/* ---- 8. v0.2.10.62 (Nik, 2026-10-10): cards rebalanced; legal row first, copyright + operator last, both centred ---- */

/* Rental-company card: both actions as full-width buttons, one above the other in their existing order (Become a
   partner, then Partner login), with the card's own spacing; the card keeps its content height (no stretching). */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies {
	padding: 18px 20px 20px;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies h3 {
	margin: 0 0 10px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies p.gnd-footer-partner__note {
	margin: 0 0 16px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies .gnd-footer-partner__actions {
	flex-direction: column !important;
	gap: 10px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies .gnd-footer-partner__actions > a {
	flex: 0 0 auto !important;
	width: 100% !important;
}

/* Specialist card (desktop, under Rental | Company): its heading and its one button share a row, so the middle stack
   ends with the cards beside it instead of below them. v0.2.10.63: superseded by §9 (heading, invitation line, then the
   two actions); the padding and the login button's own size still apply. */
@media (min-width: 1025px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent {
		flex-wrap: nowrap;
		padding-block: 12px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent h3 {
		flex: 1 1 auto;
		min-width: 0;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__actions {
		flex: 0 0 auto;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent a.gnd-footer-partner__agent {
		width: auto !important;
		white-space: nowrap !important;
	}
}

/* Bottom strip, every width: Terms of Use, Privacy Policy and Cookie settings on the upper row, then the copyright and
   the planned operating company on the lowest row, each row centred across the footer width. Visual order only (flex
   `order` and a zero-height line break): the markup, wording, links, the cookie-settings action and the tab order
   (Terms → Privacy → Cookie settings; the copyright and operator line hold no link) are unchanged. Rows wrap naturally
   when narrow. The traveler account routes keep their own rules (legal links and cookie control hidden there), and
   the break is not drawn there, so no empty first row. */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom {
	flex-flow: row wrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px 20px !important;
	text-align: center !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > .gnd-footer-legal {
	order: 1;
	justify-content: center;
	margin-left: 0 !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > :has(.gnd-cookie-settings-link),
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > .gnd-cookie-settings-link {
	order: 2;
}

body.getndrive-visual-rebrand:not(.gnd-public-account-shell) .sch-footer.gnd-footer--editorial .sch-footer__bottom:has(> .gnd-footer-legal)::after {
	content: "";
	order: 3;
	flex: 0 0 100%;
	height: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > .sch-footer__copyright {
	order: 4;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > p.gnd-footer-operator {
	order: 5;
	flex: 0 1 auto !important;
	justify-content: center;
}

@media (max-width: 767px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom {
		text-align: center !important;
	}

	/* A wrapped operator line stays one centred text block, its short teal dash inline before the first word. */
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__bottom > p.gnd-footer-operator {
		display: block !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-operator::before {
		margin: 0 8px 0 0;
		vertical-align: middle;
	}
}

/* ---- 6. Header market: Georgia `Preparing launch` (still a text row, never selectable) ---- */

body.getndrive-visual-rebrand .gnd-market__row.is-preparing .gnd-market__state {
	color: var(--gnd-teal-ink, #075f62);
	font-weight: 700;
}

body.getndrive-visual-rebrand #mobile-drawer .gnd-market__row.is-preparing .gnd-market__state {
	color: var(--gnd-teal, #1bae9f);
	opacity: 1;
}

/* ---- 9. v0.2.10.63 (Nik, 2026-10-11): specialist card — contact invitation and a secondary mail action ---- */

/* Shown only inside the guarded specialist card. The heading and the `Specialist login` button keep their markup and
   style; the invitation line sits under the heading, and `Become a specialist` / `Хочу стать специалистом`
   (mailto:admin@getndrive.com) follows the login button as a quieter underlined action, at least 44px tall, with the
   footer's focus ring. Every width: heading, line, then the actions (side by side when they fit, else stacked). */
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent {
	flex-wrap: wrap !important;
	row-gap: 6px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent h3,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent p.gnd-footer-partner__invite,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent .gnd-footer-partner__actions {
	flex: 1 1 100% !important;
	min-width: 0;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--agent p.gnd-footer-partner__invite {
	margin: 0 0 6px !important;
	overflow-wrap: anywhere;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent .gnd-footer-partner__actions {
	display: flex !important;
	flex-flow: row wrap !important;
	align-items: center !important;
	gap: 6px 18px !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--specialists .gnd-footer-partner__box--agent a.gnd-footer-partner__agent {
	flex: 0 1 auto !important;
	width: auto !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__apply {
	display: inline-flex !important;
	align-items: center !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	min-height: 44px !important;
	padding: 10px 2px !important;
	color: rgba(244, 248, 248, .9) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	overflow-wrap: anywhere !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 4px !important;
	text-decoration-color: rgba(168, 224, 99, .7) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__apply:hover,
body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__apply:focus-visible {
	color: #ffffff !important;
	text-decoration-color: var(--gnd-teal) !important;
}

body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner a.gnd-footer-partner__apply:focus-visible {
	outline: 2px solid var(--gnd-teal) !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}

/* v0.2.10.64 (Nik, 2026-10-11): the 0.2.10.63 desktop stretch of the rental-company card (its column filling both grid
   rows and its actions pushed to the foot with `margin-top: auto`) is withdrawn: it left a large empty area between the
   paragraph and `Become a partner`. The card keeps its content height at every width — heading, paragraph, then the two
   buttons directly after the paragraph (16px) and 10px apart, in their existing order — and may end higher than the
   specialist card beside it. */

/* ---- 10. v0.2.10.65 (Nik, 2026-10-16): the rental-company card fills its desktop grid track ---- */

/* From 1025px the card's column spans both grid rows, but the card kept its content height and, with the specialist card
   in row 2, ended 78–142px above it (measured EN/RU, 0.2.10.64). 0.2.10.63 filled the track by pushing BOTH actions to
   the card's foot, which left 94–113px of empty card between the paragraph and `Become a partner`. Here the card fills
   the track and keeps two groups instead: the heading, the paragraph and `Become a partner` (16px after the paragraph)
   at the top, aligned with the Rental and Company headings, and `Partner login` — the action for existing partners — at
   the card's foot. The free space lies between the two actions (never less than the existing 10px), so it separates the
   join action from the sign-in action rather than the description from its action. With the specialist card the card's
   bottom padding matches that card's (12px), so `Partner login` ends on the same line as `Specialist login` beside it,
   and a quiet hairline above `Partner login` marks the sign-in group (decorative: no text, no hit area, not in the
   accessibility tree). Same heading, paragraph, links, destinations, names, order, focus rings and 44px targets; tablets
   and phones keep the natural-height card of 0.2.10.64. */
@media (min-width: 1025px) {
	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-col--partners {
		align-self: stretch !important;
		grid-template-rows: minmax(0, 1fr) !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies {
		display: flex;
		flex-direction: column;
		box-sizing: border-box;
		height: 100%;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies .gnd-footer-partner__actions {
		display: flex !important;
		flex: 1 1 auto !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .gnd-footer-partner__box--companies .gnd-footer-partner__actions > a.gnd-footer-partner__login {
		margin-top: auto !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) .gnd-footer-partner__box--companies {
		padding-bottom: 12px;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) .gnd-footer-partner__box--companies .gnd-footer-partner__actions > a.gnd-footer-partner__login {
		position: relative !important;
		overflow: visible !important;
	}

	body.getndrive-visual-rebrand .sch-footer.gnd-footer--editorial .sch-footer__grid:has(> .gnd-footer-col--specialists) .gnd-footer-partner__box--companies .gnd-footer-partner__actions > a.gnd-footer-partner__login::before {
		content: "" !important;
		display: block !important;
		position: absolute;
		top: -14px;
		left: 0;
		right: 0;
		height: 1px;
		background: rgba(244, 248, 248, .16);
		pointer-events: none;
	}
}
