/* Permanent light public canvas with a dark masthead and footer. */
html[data-drive-theme="light"] body.drive-ma-site {
  --drive-ui-canvas: #ffffff;
  --drive-ui-surface: #ffffff;
  --drive-ui-surface-soft: #f5f7fa;
  --drive-ui-surface-raised: #ffffff;
  --drive-ui-heading: #101828;
  --drive-ui-text: #344054;
  --drive-ui-muted: #667085;
  --drive-ui-border: #d9e0e8;
  --drive-ui-link: #1d5fc7;
  --drive-layout-bg: #ffffff;
  background: #fff !important;
  color: var(--drive-ui-text);
}

body.drive-ma-site :where(.site, .site-main, .content-bg, #primary, .entry-content-wrap) { background-color: #fff; }

body.drive-ma-site :where(.site-header, #masthead),
body.drive-ma-site .site-header :where(.site-main-header-wrap, .site-main-header-inner-wrap, .site-header-row-container-inner) {
  background: #05070b !important;
  border-color: #252a32 !important;
  box-shadow: none !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header :where(.drive-wordmark, .drive-wordmark:visited, .drive-wordmark__suffix) { color: #fff !important; }

html[data-drive-theme="light"] body.drive-ma-site .site-header :where(.primary-menu-container > ul > li > a, .primary-menu-container > ul > li > a:visited) {
  color: #fff !important;
  text-decoration: none !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a:link,
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a:visited {
  color: #fff !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a :where(.nav-drop-title-wrap, .dropdown-nav-toggle, .kadence-svg-iconset) {
  color: #fff !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a:hover,
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li.current-menu-item > a,
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li.current-menu-ancestor > a,
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a[aria-current="page"] {
	background: #171d27 !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: inset 0 -3px #5f8ff1 !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li:is(.current-menu-item, .current-menu-ancestor) > a :where(.nav-drop-title-wrap, .dropdown-nav-toggle, .kadence-svg-iconset) {
	color: #fff !important;
}

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a:hover,
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a:focus-visible { background: #171d27 !important; }

body.drive-ma-site .site-header :where(.menu-toggle-open, .menu-toggle-open:hover, .menu-toggle-open:focus) {
  background: transparent !important;
  border-color: rgb(255 255 255 / 32%) !important;
  color: #fff !important;
}

/* The masthead is always dark: its icon must not inherit the light-page role. */
html[data-drive-theme] body.drive-ma-site .site-header .menu-toggle-open .kadence-svg-iconset {
  color: #fff !important;
}

body.drive-ma-site .site-header .menu-toggle-open,
body.drive-ma-site #mobile-drawer .menu-toggle-close {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
}

body.drive-ma-site .site-header .menu-toggle-open:hover,
body.drive-ma-site #mobile-drawer .menu-toggle-close:hover {
  background: #171d27 !important;
  color: #fff !important;
}

body.drive-ma-site .site-header .menu-toggle-open:focus-visible,
body.drive-ma-site #mobile-drawer .menu-toggle-close:focus-visible {
  outline: 3px solid #a7c7ff !important;
  /* Keep the ring inside controls that touch the drawer's viewport edge. */
  outline-offset: -3px;
}

body.drive-ma-site .drive-catalog-toolbar {
  background: #0b1018 !important;
  border-color: #2b3442 !important;
  color: #fff;
}

body.drive-ma-site .drive-explore-menu > summary,
body.drive-ma-site .drive-toolbar-link,
body.drive-ma-site .drive-toolbar-link:visited,
body.drive-ma-site .drive-toolbar-account,
body.drive-ma-site .drive-toolbar-account:visited { color: #fff !important; }

body.drive-ma-site .drive-explore-menu > summary { background: #171d27 !important; border-color: #3a4555 !important; }
body.drive-ma-site .drive-quick-search { background: #fff !important; border-color: #fff !important; }
body.drive-ma-site .drive-quick-search input { background: #fff !important; color: #101828 !important; }
body.drive-ma-site .drive-quick-search button { background: #2960c5 !important; border-color: #2960c5 !important; color: #fff !important; }
body.drive-ma-site .drive-market-rail { background: #fff !important; }
body.home.drive-ma-site .drive-comparison-tray { display: none !important; }

/*
 * Inverse surface contract.
 *
 * The public site keeps a light canvas, but conversion bands and selected
 * reference sections intentionally use navy surfaces. Typography loads after
 * the component layer, so these roles explicitly own their foregrounds and
 * prevent a later generic heading rule from placing black text on navy.
 */
body.drive-ma-site .site :where(
  .drive-model-test-drive__intro,
  .drive-version-detail-story__header,
  .drive-portal-tools,
  .drive-composition-section--dark,
  .drive-news-home .drive-news-brief,
  .drive-community-first-post,
  .drive-brand-landing__compare,
  .drive-surface--inverse
) {
  color: var(--drive-ui-inverse-text) !important;
}

body.drive-ma-site .site :where(
  .drive-model-test-drive__intro,
  .drive-version-detail-story__header,
  .drive-portal-tools,
  .drive-composition-section--dark,
  .drive-news-home .drive-news-brief,
  .drive-community-first-post,
  .drive-brand-landing__compare,
  .drive-surface--inverse
) :where(h1, h2, h3, h4, h5, h6, strong, b) {
  color: var(--drive-ui-inverse-heading) !important;
}

body.drive-ma-site .site :where(
  .drive-model-test-drive__intro,
  .drive-version-detail-story__header,
  .drive-portal-tools,
  .drive-composition-section--dark,
  .drive-news-home .drive-news-brief,
  .drive-community-first-post,
  .drive-brand-landing__compare,
  .drive-surface--inverse
) :where(p, li, small) {
  color: var(--drive-ui-inverse-text) !important;
}

body.drive-ma-site .site :where(
  .drive-model-test-drive__intro,
  .drive-version-detail-story__header,
  .drive-portal-tools,
  .drive-composition-section--dark,
  .drive-news-home .drive-news-brief,
  .drive-community-first-post,
  .drive-brand-landing__compare,
  .drive-surface--inverse
) :where(a:not(.drive-button), .drive-eyebrow) {
  color: var(--drive-ui-inverse-accent) !important;
}

body.drive-ma-site .site .drive-model-test-drive__benefits li::before {
  color: var(--drive-ui-inverse-success) !important;
}

/* A light card nested inside an inverse band retains the normal light roles. */
body.drive-ma-site .site .drive-model-test-drive__form {
  background: var(--drive-ui-surface) !important;
  border-color: var(--drive-ui-border) !important;
  color: var(--drive-ui-text) !important;
}

body.drive-ma-site .site .drive-model-test-drive__form :where(h1, h2, h3, h4, h5, h6, label, legend, strong, b) {
  color: var(--drive-ui-heading) !important;
}

body.drive-ma-site .site .drive-model-test-drive__form :where(p, li, small) {
  color: var(--drive-ui-text) !important;
}

/* Route-specific heroes created before the light-only decision. */
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero {
  background: #f2f5f9 !important;
  color: var(--drive-ui-heading) !important;
}

html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero__media { opacity: .28; }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero__media img { filter: saturate(.75) contrast(.92); }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero__shade {
  background: linear-gradient(180deg, rgb(255 255 255 / 72%) 0%, rgb(255 255 255 / 78%) 45%, #f2f5f9 100%) !important;
}
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero :where(.drive-breadcrumbs, .drive-breadcrumbs a, .drive-breadcrumbs span, h1, .drive-showroom-hero__meta strong) { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-hero :where(.drive-showroom-hero__content > p, .drive-showroom-hero__meta span) { color: var(--drive-ui-text) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-finder { background: #fff !important; border-color: var(--drive-ui-border) !important; box-shadow: 0 18px 50px rgb(16 24 40 / 12%); }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-finder label > span { color: var(--drive-ui-muted) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-showroom-finder select { background: #fff !important; border-color: var(--drive-ui-border) !important; color: var(--drive-ui-heading) !important; }

html[data-drive-theme="light"] body.drive-ma-site .drive-news-article .drive-news-hero {
  background: #f5f7fa !important;
  border-color: var(--drive-ui-border) !important;
  color: var(--drive-ui-text) !important;
}
html[data-drive-theme="light"] body.drive-ma-site .drive-news-article .drive-media-breadcrumbs :where(a, span),
html[data-drive-theme="light"] body.drive-ma-site .drive-news-article .drive-media-breadcrumbs li::after,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero h1,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-author,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-author strong { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero__labels a,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero__dek,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-author small,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-dates,
html[data-drive-theme="light"] body.drive-ma-site .drive-news-share > strong { color: var(--drive-ui-muted) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero__meta { border-color: var(--drive-ui-border); }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-author img { border-color: #fff; box-shadow: 0 0 0 1px var(--drive-ui-border); }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero__media { background: #fff; border-color: var(--drive-ui-border); box-shadow: 0 24px 55px rgb(16 24 40 / 12%); }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-hero__media figcaption { background: #fff; border-color: var(--drive-ui-border); color: var(--drive-ui-muted); }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-share :where(a, button) { background: #fff; border-color: var(--drive-ui-border); color: var(--drive-ui-heading); }

/* Public hub heroes use the same light canvas as the rest of the site. */
html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-home .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-page .drive-finder-hero,
  .drive-comparison-page .drive-decision-hero
) {
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%) !important;
  border-bottom: 1px solid var(--drive-ui-border) !important;
  color: var(--drive-ui-text) !important;
}

html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-home .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-page .drive-finder-hero,
  .drive-comparison-page .drive-decision-hero
) :where(h1, h2, h3, strong, b) { color: var(--drive-ui-heading) !important; }

html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-home .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-page .drive-finder-hero,
  .drive-comparison-page .drive-decision-hero
) :where(p, li, small, .drive-media-breadcrumbs a, .drive-media-breadcrumbs span, .drive-media-breadcrumbs li::after) { color: var(--drive-ui-text) !important; }

html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-home .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-page .drive-finder-hero,
  .drive-comparison-page .drive-decision-hero
) :where(.drive-eyebrow, .drive-news-live) { color: #1e47a2 !important; }

html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-search,
  .drive-guide-start,
  .drive-community-welcome,
  .drive-comparison-page .drive-decision-steps,
  .drive-finder-hero__trust li
) {
  backdrop-filter: none;
  background: #fff !important;
  border-color: var(--drive-ui-border) !important;
  box-shadow: 0 16px 42px rgb(16 24 40 / 8%);
}

html[data-drive-theme="light"] body.drive-ma-site .drive-news-search input[type="search"] { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-news-search input::placeholder { color: var(--drive-ui-muted) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-comparison-page .drive-decision-steps li { border-color: var(--drive-ui-border) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-comparison-page .drive-decision-steps b { background: #e8f6f1; border-color: #89cbb6; color: #12674f !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-comparison-page .drive-decision-steps :where(span, strong) { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-finder-hero__trust :where(strong, span) { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-comparison-limit { color: var(--drive-ui-muted) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-guide-hero .drive-button--secondary { background: #fff !important; border-color: #98a2b3 !important; color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-guide-start a { color: var(--drive-ui-heading) !important; }

html[data-drive-theme="light"] body.drive-ma-site .drive-deals-hero {
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%) !important;
  border-bottom: 1px solid var(--drive-ui-border) !important;
  color: var(--drive-ui-text) !important;
}
html[data-drive-theme="light"] body.drive-ma-site .drive-deals-hero :where(h1, strong) { color: var(--drive-ui-heading) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-deals-hero :where(.drive-breadcrumbs a, .drive-breadcrumbs span, .drive-deals-hero__content > p) { color: var(--drive-ui-text) !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-deals-hero .drive-eyebrow { color: #1e47a2 !important; }
html[data-drive-theme="light"] body.drive-ma-site .drive-deals-hero__actions .drive-button--secondary { background: #fff !important; border-color: #98a2b3 !important; color: var(--drive-ui-heading) !important; }

body.drive-ma-site .site :where(
  .drive-showroom-hero,
  .drive-brand-landing__hero,
  .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-hero,
  .drive-decision-hero,
  .drive-deals-hero
) h1 { font-size: clamp(2.25rem, 3.2vw, 3rem) !important; line-height: 1.04; }

body.drive-ma-site .drive-portal-footer,
body.drive-ma-site #colophon,
body.drive-ma-site .site-footer,
body.drive-ma-site .site-footer-row-container-inner,
body.drive-ma-site .drive-legal-footer {
  background: #05070b !important;
  border-color: #252a32 !important;
  color: #cbd5e1 !important;
}

body.drive-ma-site .drive-portal-footer { padding-block: clamp(2.75rem, 5vw, 5rem); }
body.drive-ma-site .drive-portal-footer__grid { align-items: start; gap: 2rem clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(15rem, 1.35fr) repeat(4, minmax(8rem, 1fr)); }
body.drive-ma-site .drive-portal-footer :where(strong, .drive-footer-wordmark) { color: #fff !important; }
body.drive-ma-site .drive-portal-footer :where(p, a, a:visited),
body.drive-ma-site .site-footer :where(p, a, a:visited),
body.drive-ma-site .drive-legal-footer :where(a, a:visited) { color: #cbd5e1 !important; }
body.drive-ma-site .drive-portal-footer a:hover,
body.drive-ma-site .site-footer a:hover,
body.drive-ma-site .drive-legal-footer a:hover { color: #fff !important; }

body.drive-ma-site .drive-portal-footer__brand > .drive-footer-wordmark { display: inline-block; font-family: "Audiowide", var(--drive-font-family-display); font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 400; letter-spacing: .035em; line-height: 1.2; }
body.drive-ma-site .drive-portal-footer__brand > .drive-portal-footer__contact { align-items: center; display: inline-flex; font-size: .875rem; font-weight: 750; gap: .35rem; letter-spacing: 0; line-height: 1.4; margin-top: .85rem; text-decoration-thickness: .08em; text-underline-offset: .18em; }
body.drive-ma-site .drive-portal-footer__brand > p { font-size: .875rem; line-height: 1.6; margin: .85rem 0 0; max-width: 34ch; }
body.drive-ma-site .drive-portal-footer nav a { font-size: .84rem; line-height: 1.45; }
body.drive-ma-site .drive-portal-footer__meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .7rem; }
body.drive-ma-site .drive-portal-footer__meta a { font-size: .76rem; }
body.drive-ma-site :where(a, button, input, select, textarea, summary):focus-visible { outline-color: #447be1 !important; }

@media (max-width: 74rem) {
  body.drive-ma-site .drive-portal-footer__grid { grid-template-columns: repeat(4, 1fr); }
  body.drive-ma-site .drive-portal-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  body.drive-ma-site .drive-catalog-toolbar { background: #0b1018 !important; }
  body.drive-ma-site .drive-portal-footer__grid { grid-template-columns: 1fr 1fr; }
  body.drive-ma-site .site :where(
    .drive-showroom-hero,
    .drive-brand-landing__hero,
    .drive-news-hero,
    .drive-guide-hero,
    .drive-community-forum__hero,
    .drive-finder-hero,
    .drive-decision-hero,
    .drive-deals-hero
  ) h1 { font-size: clamp(2rem, 9vw, 2.65rem) !important; }
}

@media (max-width: 25rem) {
  body.drive-ma-site .drive-portal-footer__grid { grid-template-columns: 1fr; }
}

/* 2026 editorial system: final owner for shared geometry and interaction. */
html[data-drive-theme="light"] body.drive-ma-site {
  --drive-layout-max: 82.5rem;
  --drive-portal-max: 82.5rem;
  --drive-layout-gutter: clamp(1.25rem, 3vw, 2rem);
  --drive-ui-canvas: #fff;
  --drive-ui-surface: #fff;
  --drive-ui-surface-soft: #f7f7f7;
  --drive-ui-surface-raised: #fff;
  --drive-ui-heading: #101828;
  --drive-ui-text: #344054;
  --drive-ui-muted: #526275;
  --drive-ui-border: #d0d5dd;
  --drive-ui-link: #1d5fc7;
  --drive-ui-focus: #174ea6;
  font-family: var(--drive-font-family, "IBM Plex Sans"), "Helvetica Neue", Arial, sans-serif;
}

/* Use the matching self-hosted Arabic family for copy and controls, not only headings. */
html[dir="rtl"] body.drive-ma-site {
  --drive-font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, Arial, sans-serif;
  --drive-font-family-ui: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, Arial, sans-serif;
  --drive-font-family-display: "IBM Plex Sans Arabic", "IBM Plex Sans", Tahoma, Arial, sans-serif;
}

body.drive-ma-site :where(.drive-container, .drive-catalog-toolbar__inner, .drive-market-rail__inner, .drive-new-car-nav__inner) {
  max-width: 82.5rem !important;
}

body.drive-ma-site .site-main-header-wrap .site-main-header-inner-wrap {
  margin-inline: auto !important;
  max-width: 90rem !important;
  min-height: 5rem !important;
  width: calc(100% - 2rem) !important;
}

body.drive-ma-site .site-header :where(.site-header-row, .site-header-section) { min-height: 5rem; }
body.drive-ma-site .site-header .site-header-item[data-section="title_tagline"] { align-items: center; display: flex; gap: 1rem; }
body.drive-ma-site .drive-header-tools { align-items: center; display: flex; gap: .25rem; }
body.drive-ma-site .drive-header-tools a { align-items: center; color: #fff; display: inline-flex; height: 2.75rem; justify-content: center; width: 2.75rem; }
body.drive-ma-site .drive-header-tools svg { fill: none; height: 1.35rem; stroke: currentColor; stroke-linecap: round; stroke-width: 1.75; width: 1.35rem; }
body.drive-ma-site .drive-wordmark,
body.drive-ma-site .drive-wordmark__text,
body.drive-ma-site .drive-portal-footer__brand > .drive-footer-wordmark {
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal;
  font-weight: 600 !important;
  letter-spacing: -.04em !important;
}
body.drive-ma-site .drive-wordmark__text { font-size: 1.55rem; line-height: 1; }
body.drive-ma-site .drive-wordmark__suffix { font-weight: 500; }

html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul { gap: .25rem; }
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul { flex-wrap: nowrap; }
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  min-height: 2.75rem !important;
  padding: .625rem .75rem;
  white-space: nowrap;
}
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li:last-child > a {
  background: #2960c5 !important;
  border-radius: .5rem;
  box-shadow: none !important;
  justify-content: center;
  min-width: 11rem;
}
html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li:last-child > a:is(:hover, :focus-visible) { background: #1e47a2 !important; }
body.drive-ma-site :where(.drive-theme-toggle, [data-drive-theme-toggle]) { display: none !important; }

body.drive-ma-site :where(.drive-card, .drive-vehicle-card, .drive-brand-card, .drive-promotion-card, .drive-media-card, .drive-version-row, .drive-source-card, .drive-filter-panel) {
  border: 1px solid #efefef;
  border-radius: .5rem;
  box-shadow: none !important;
}
body.drive-ma-site :where(.drive-button, .wp-element-button, button, input[type="submit"]) { border-radius: .5rem; }
body.drive-ma-site :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #447be1 !important;
  outline-offset: 3px;
}

html[data-drive-theme="light"] body.drive-ma-site :where(.drive-ad-slot, .drive-ad-slot__available) {
	color: #475467;
}

html[data-drive-theme="light"] body.drive-ma-site :where(.drive-ad-slot, .drive-ad-slot__available) small {
	color: #526275 !important;
}

html[data-drive-theme="light"] body.drive-ma-site :where(
  .drive-news-home .drive-news-hero,
  .drive-guide-hero,
  .drive-community-forum__hero,
  .drive-finder-page .drive-finder-hero,
  .drive-comparison-page .drive-decision-hero,
  .drive-deals-hero
) { background: #fff !important; }

/* Brand hero layout and colour roles have one owner: brand-page.css. */

/* Save belongs to the vehicle action group, not over the reading surface. */
body.drive-ma-site .drive-save-vehicle[data-drive-save-inline] {
  position: static;
  inset: auto;
  margin-block: .75rem 0;
  width: fit-content;
  max-width: 100%;
  z-index: auto;
}
body.drive-ma-site .drive-save-vehicle[data-drive-save-inline] button {
  min-height: 44px;
  max-width: 100%;
  box-shadow: none;
  white-space: normal;
}

@media (max-width: 48rem) {
  html {
    scroll-padding-bottom: calc(var(--drive-mobile-bottom-space, 4.5rem) + 1rem);
  }
  html[data-drive-theme] body.drive-ma-site.drive-mobile-chrome-ready:has(.drive-market-mobile-nav) {
    padding-bottom: var(--drive-mobile-bottom-space, 4.5rem) !important;
  }
  body.drive-ma-site .drive-market-mobile-nav {
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom);
  }
  body.drive-ma-site .drive-market-mobile-nav a {
    min-width: 0;
    min-height: 44px;
    padding: .4rem .15rem;
    overflow-wrap: anywhere;
    text-align: center;
  }
  html[data-drive-theme] body.drive-ma-site .drive-comparison-tray {
    bottom: calc(var(--drive-mobile-nav-height, 4.2rem) + .5rem) !important;
    box-sizing: border-box;
  }
  /* If enhancement is unavailable, keep Save reachable without covering text. */
  body.drive-ma-site .drive-save-vehicle:not([data-drive-save-inline]) {
    position: static;
    margin: 1rem;
  }
}

/* Landscape/reflow and small keyboard viewports need their vertical space. */
@media (max-width: 48rem) and (max-height: 500px) {
  body.drive-ma-site .drive-market-mobile-nav,
  html[data-drive-theme] body.drive-ma-site .drive-comparison-tray {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin-inline: auto;
  }
}

body.drive-ma-site .drive-portal-footer {
  border-top: 1px solid #262626 !important;
  padding-block: 4rem 2rem;
}
body.drive-ma-site .drive-portal-footer__brand > .drive-footer-wordmark { font-size: 2rem; }
body.drive-ma-site .drive-portal-footer__brand > .drive-portal-footer__contact { font-size: .875rem !important; }

@media (max-width: 72rem) {
  body.drive-ma-site .drive-header-tools { display: none; }
  html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a { font-size: .875rem; padding-inline: .5rem; }
  html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li:last-child > a { min-width: auto; }
}

@media (max-width: 85rem) {
  body.drive-ma-site .drive-header-tools { display: none; }
  body.drive-ma-site .site-header .site-header-item[data-section="title_tagline"] { gap: 0; }
  html[data-drive-theme="light"] body.drive-ma-site .site-header .primary-menu-container > ul > li > a { font-size: .9375rem; padding-inline: .55rem; }
}

@media (max-width: 48rem) {
  body.drive-ma-site .site-main-header-wrap .site-main-header-inner-wrap,
  body.drive-ma-site .site-header :where(.site-header-row, .site-header-section) { min-height: 4rem !important; }
  body.drive-ma-site .drive-wordmark__text { font-size: 1.25rem; }
  body.drive-ma-site .drive-portal-footer { padding-block: 2.5rem 1.5rem; }
}

body.drive-ma-site .drive-header-tools .drive-header-menu-toggle{align-items:center;color:#fff;display:inline-flex;height:2.75rem;justify-content:center;width:2.75rem;background:transparent;border:0;border-radius:4px;padding:0;cursor:pointer}body.drive-ma-site .drive-header-menu-toggle:focus-visible{outline:3px solid #8eabff;outline-offset:3px}

@media(min-width:1025px){body.drive-ma-site #mobile-drawer .drawer-inner{max-width:440px;width:calc(100% - 32px)}}
