/* ==========================================================================
   halden-wp.css: WordPress pieces the Halden design does not cover
   (built on Halden's tokens; loaded after main / animations / responsive).
   ========================================================================== */

/* Admin bar: keep the fixed header below it */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* Logo image (Theme Settings > Branding) */
.logo__img { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.site-footer .logo__img { height: 48px; filter: brightness(0) invert(1); }

/* Saved-cars button in the header */
.fnc-hwish { position: relative; }
.fnc-hwish__count { position: absolute; top: 4px; right: 2px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 600; line-height: 1; }
.fnc-hwish__count[hidden] { display: none; }
.vcard .fav[aria-pressed="true"] .icon, .fnc-hwish[aria-pressed="true"] .icon { fill: var(--accent); stroke: var(--accent); }
.mobile-menu__sub a { font-size: 1.1rem !important; opacity: 0.75; padding-left: 2.6rem; }

/* Hero extras */
.hero__badge { display: block; max-height: 64px; width: auto; margin-bottom: 18px; }
.hero--compact { min-height: min(72svh, 720px); }
.hcrumbs .fnc-crumbs, .hcrumbs nav { margin-bottom: 22px; font-size: 0.8125rem; color: var(--muted-light); }
.hcrumbs a { color: inherit; text-decoration: none; }
.hcrumbs a:hover { color: #fff; }
.hcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.hsearch { position: relative; z-index: 3; margin-top: -36px; }
.hsearch__form { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 10px 10px 10px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-pop); }
.hsearch__form .icon { color: var(--muted); }
.hsearch__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font-size: 1rem; outline: none; }

/* Grids */
.vgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vgrid--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.vgrid--row > li { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
@media (max-width: 1199px) { .vgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .vgrid--4, .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .vgrid--2, .vgrid--3, .vgrid--4 { grid-template-columns: 1fr; } }
.vgrid > li { min-width: 0; }
.hpost__excerpt { color: var(--muted); font-size: 0.9375rem; margin: 8px 0 0; }
.vcard__media { background: var(--stone); }

/* Tabs and link chips (Halden's chip look for buttons and links) */
.chips > a, .chips > li, .htabs > .chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
	border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
	font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--ink);
	transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.chips > a:hover, .htabs > .chip:hover { border-color: var(--ink); }
.htabs > .chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips em { font-style: normal; font-size: 0.75rem; opacity: 0.6; }
.htabs { margin: 0 0 28px; }
.hhubs { margin: -8px 0 28px; }
.htabs__more { margin-top: 28px; }
.htags .icon { width: 16px; height: 16px; color: var(--accent); }
.htags > li span { border: 0; padding: 0; min-height: 0; }
.section--ink .chips > a, .section--ink .chips > li { color: var(--bone); border-color: var(--line-light); }

/* Gallery */
.hgallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hgallery--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.hgallery--row > li { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; }
.hgallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.hgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.hgallery__item:hover img { transform: scale(1.04); }
@media (max-width: 1023px) { .hgallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Partners: logo images */
.partner--logo { display: grid; place-items: center; }
.partner__img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; mix-blend-mode: multiply; transition: opacity var(--t-fast), filter var(--t-fast); }
.partner--logo:hover .partner__img { filter: none; opacity: 1; }
.partner a { display: contents; color: inherit; text-decoration: none; }

/* Story variants */
.story--flip .story__media { order: 2; }
.story--text { grid-template-columns: minmax(0, 1fr) !important; max-width: 820px; }
.hchecks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.hchecks li { display: flex; gap: 10px; align-items: flex-start; }
.hchecks .icon { color: var(--accent); margin-top: 3px; }
.hstory__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Free text and prose (WordPress content) */
.hcontent { max-width: 860px; }
.hcontent--wide { max-width: var(--container); }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-3); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin-top: 1.8em; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: var(--r-md); height: auto; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1.2em; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose--light, .prose--light a { color: var(--muted-light); }
.hcollapse { max-height: 22rem; overflow: hidden; position: relative; }
.hcollapse.is-open { max-height: none; }

/* Booking and showroom: the real form, real map */
.booking__contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.booking__contact li { display: flex; gap: 10px; align-items: center; color: #fff; }
.booking__contact a { color: inherit; text-decoration: none; }
.hform { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hform--light { background: var(--ink-2); border-color: var(--line-light); color: var(--bone); }
.hform__fallback { font-size: 1.05rem; }
.hform__admin { margin-top: 12px; padding: 10px 14px; background: #fff4e6; border-left: 3px solid var(--accent); font-size: 0.875rem; }
.hmap { min-height: 420px; overflow: hidden; border-radius: var(--r-lg); }
.hmap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.hcontact-form { margin-top: 56px; }
.showroom-card__extra { margin-top: 18px; font-size: 0.9375rem; }

/* Forms inside Halden (Forminator, Contact Form 7, core inputs) */
.hform input[type="text"], .hform input[type="email"], .hform input[type="tel"], .hform input[type="number"], .hform input[type="url"], .hform select, .hform textarea,
.hform .forminator-input, .hform .forminator-textarea {
	width: 100%; min-height: 50px; padding: 12px 14px !important; background: #fff !important; color: var(--ink) !important;
	border: 1px solid var(--line-strong) !important; border-radius: var(--r-md) !important; font: inherit;
}
.hform textarea, .hform .forminator-textarea { min-height: 120px; }
.hform input:focus, .hform select:focus, .hform textarea:focus { outline: none; border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(232, 97, 58, 0.18); }
.hform label, .hform .forminator-label { font-size: 0.8125rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.hform .forminator-button-submit, .hform input[type="submit"], .hform button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px !important;
	background: var(--ink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 600 !important; cursor: pointer;
}
.hform .forminator-button-submit:hover, .hform input[type="submit"]:hover { background: var(--accent) !important; }

/* Newsletter (signup shortcode) */
.newsletter__form input { background: transparent; }

/* Saved cars panel */
.fnc-wishlist { width: min(440px, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--bone); color: var(--ink); box-shadow: var(--shadow-pop); }
.fnc-wishlist::backdrop { background: rgba(13, 13, 12, 0.55); backdrop-filter: blur(3px); }
.fnc-wishlist[open] { display: flex; flex-direction: column; }
.fnc-wishlist__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.fnc-wishlist__head h2 { margin: 0; font-family: var(--f-display); font-size: 1.5rem; }
.fnc-wishlist__empty { padding: 28px 24px; color: var(--muted); }
.fnc-wishlist__list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 24px; }
.fnc-wishlist__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fnc-wishlist__item { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; font-weight: 600; }
.fnc-wishlist__item img { width: 88px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--stone); flex: none; }
.fnc-wishlist__item span { overflow: hidden; text-overflow: ellipsis; }
.fnc-wishlist__remove { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); }
.fnc-wishlist__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.fnc-wishlist__note { margin: 10px 0 0; color: var(--muted); font-size: 0.8125rem; text-align: center; }

/* Missing photos (theme JS): quiet placeholder */
.is-missing { background: var(--stone) !important; }
.is-missing > img, img.fnc-img-missing { visibility: hidden; }
.is-missing::after { content: attr(data-missing); position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.8125rem; }

/* Lightbox (theme JS) */
.fnc-lightbox { border: 0; padding: 0; background: rgba(13, 13, 12, 0.94); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.fnc-lightbox img { max-width: 92vw; max-height: 84vh; margin: 6vh auto 0; object-fit: contain; }

/* Admin hint boxes */
.fnc-admin-hint { margin: 24px auto; max-width: 860px; padding: 14px 18px; background: #fff4e6; border-left: 3px solid var(--accent); font-size: 0.9375rem; }

/* ---------- Vehicle page ---------- */
.hcrumbs--dark, .hcrumbs--dark a { color: var(--muted); }
.hcrumbs--dark a:hover { color: var(--ink); }
.detail-hero { padding-top: calc(var(--header-h) + 28px); }
.detail__tagline { display: block; margin-top: 10px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: 0; color: var(--muted); text-transform: none; }
.detail__main .swiper-slide { aspect-ratio: 16 / 10; background: var(--stone); }
.detail__main img, .hdetail__zoom { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs .swiper-slide { width: 128px; aspect-ratio: 16 / 10; opacity: 0.55; cursor: pointer; border-radius: var(--r-sm); overflow: hidden; }
.detail__thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hdesc .wp-block-gallery, .hdesc .gallery { display: none; }
.hchecks--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 28px; }
.hnote { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin-top: 40px; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--accent); border-radius: var(--r-sm); }
.hnote .icon { color: var(--accent); margin-top: 2px; }
.hhub-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.hhub-cards a { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 52px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.hhub-cards a:hover { border-color: var(--ink); transform: translateY(-2px); }
.hhub-cards strong { font-family: var(--f-display); font-size: 1.1rem; }
.hhub-cards span { color: var(--muted); font-size: 0.9rem; }
.hhub-cards .icon { position: absolute; top: 22px; right: 20px; color: var(--accent); }
.hprice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hprice__value { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; color: #fff; margin-bottom: 18px; }
@media (max-width: 1023px) { .hprice { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.page-hero--article .h-display--article { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.04; max-width: 22ch; text-transform: none; }
.hcontext { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 760px) { .hcontext { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.hcontext__box { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hcontext__title { font-family: var(--f-display); font-size: 1.5rem; margin: 6px 0 14px; }
.hcontext__title a { text-decoration: none; }
.hcontext__list { list-style: none; margin: 0 0 16px; padding: 0; }
.hcontext__list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.hcontext__list a { text-decoration: none; }
.hcontext__list a:hover { color: var(--accent); }
.hcontext__cars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.hcontext__cars a { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; text-decoration: none; }
.hcontext__cars img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.hcontext__cars strong { display: block; font-family: var(--f-display); }
.hcontext__cars small { color: var(--muted); }
.hcontext__cars .icon { color: var(--accent); }
.htags-post { margin-top: 32px; }
.htags-post a { display: inline-flex; min-height: 36px; padding: 0 14px; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8125rem; text-decoration: none; }

/* ---------- Pager, empty states, search form ---------- */
.hpager { margin-top: 56px; }
.hpager ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hpager a, .hpager span { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; text-decoration: none; }
.hpager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.hpager a:hover { border-color: var(--ink); }
.inventory__empty { padding: 48px 0; max-width: 560px; }
.hcollapse__btn { margin-top: 16px; }
.halden .search-form, .halden .fnc-search { display: flex; gap: 10px; max-width: 560px; margin: 20px 0; }
.halden .search-form input[type="search"], .halden .fnc-search input[type="search"] { flex: 1; min-height: 50px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.halden .search-form button, .halden .search-form input[type="submit"], .halden .fnc-search button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.halden .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Theme buttons rendered by shared helpers (form fallback, admin hints) */
.halden .fnc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 0; transition: background var(--t-fast); }
.halden .fnc-btn:hover { background: var(--accent); }
.halden .fnc-btn .fnc-icon { width: 16px; height: 16px; }

/* Logo image: white logos stay white over photos and the dark footer, and
   turn dark when the header becomes solid (light) on scroll or open menus. */
.site-header.is-solid .logo__img, .site-header.is-mega-open .logo__img, body:not(.page-home) .site-header.is-solid .logo__img { filter: brightness(0); }
.logo__img { transition: filter var(--t-fast); }

/* ======================= 2.0.1 fixes ======================= */

/* Division cards: centred at a comfortable width; extra images (added by
   optimisation plugins) stay inside the card instead of showing as an inset. */
@media (min-width: 1024px) {
	.cat-grid--n1, .cat-grid--n2, .cat-grid--n3 { grid-template-columns: repeat(var(--cols, 3), minmax(0, 380px)); justify-content: center; }
	.cat-grid--n1 { --cols: 1; } .cat-grid--n2 { --cols: 2; } .cat-grid--n3 { --cols: 3; }
}
.cat-card a { overflow: hidden; isolation: isolate; }
.cat-card__media { position: absolute; inset: 0; overflow: hidden; }
.cat-card__media img, .cat-card__media picture, .cat-card__media picture img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.cat-card__media noscript { display: none; }
.vcard__media img, .vcard__media picture img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.fcta { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-light); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); align-self: start; }
.fcta__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 12px; color: #fff; }
.fcta__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.fcta__text { color: var(--muted-light); max-width: 46ch; }
.fcta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.site-footer__cols { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer__desc { max-width: 44ch; }
.footer-wordmark { font-size: min(22rem, calc(118vw / var(--wm-len, 7))); -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); overflow: hidden; }
@media (max-width: 1023px) { .site-footer__top { grid-template-columns: 1fr; } }

/* Carousels */
.section-head__aside:has(.hswiper-nav) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hswiper-nav { display: flex; gap: 10px; }
.hswiper-nav[hidden] { display: none; }
.hswiper { overflow: hidden; }
.hswiper .swiper-slide { height: auto; }
.hswiper .swiper-slide > .vcard, .hswiper .swiper-slide > article { height: 100%; }
.hswiper--gallery .hgallery__item { aspect-ratio: 4 / 3; }
.hswiper-nav .btn-circle.swiper-button-disabled { opacity: 0.35; pointer-events: none; }

/* Gallery lightbox: visible close and arrows */
.fnc-lightbox-g { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 13, 12, 0.96); color: #fff; }
.fnc-lightbox-g[open] { display: grid; place-items: center; }
.fnc-lightbox-g::backdrop { background: rgba(13, 13, 12, 0.9); }
.fnc-lightbox-g img { max-width: min(92vw, 1600px); max-height: 82dvh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); }
.fnc-lightbox-g p { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: 0.875rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); }
.fnc-lightbox-g button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(13, 13, 12, 0.6); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.fnc-lightbox-g button:hover, .fnc-lightbox-g button:focus-visible { background: var(--accent); border-color: var(--accent); }
.fnc-lightbox-g [data-close] { top: 22px; right: 22px; font-size: 28px; }
.fnc-lightbox-g [data-dir="-1"] { left: 22px; top: 50%; transform: translateY(-50%); }
.fnc-lightbox-g [data-dir="1"] { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .fnc-lightbox-g [data-dir] { top: auto; bottom: 16px; transform: none; } }

/* Filters */
.hselect { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font: inherit; font-size: 0.9375rem; color: var(--ink); cursor: pointer; }
.hselect:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 97, 58, 0.18); }
.inventory__tools .hselect { width: auto; min-width: 200px; border-radius: 999px; }
.hchecks-scroll { max-height: 320px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters .chip span em { font-style: normal; font-size: 0.75rem; opacity: 0.6; margin-left: 4px; }
.filters .chip span { white-space: nowrap; }
.filters__apply { display: none; }
.no-js .filters__apply { display: inline-flex; }

/* Vehicle page: overview */
.hoverview { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hoverview__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.hoverview__facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.hoverview__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hoverview__facts dt { color: var(--muted); }
.hoverview__facts dd { margin: 0; font-weight: 600; text-align: right; }
.hoverview__facts a { color: var(--ink); text-decoration-color: var(--accent); }
.hoverview__cta { margin-top: 28px; }
.hoverview__body { max-width: 72ch; }
.hoverview__body .prose { font-size: 1.0625rem; }
.hoverview__body .prose > p:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.hoverview__sub { font-family: var(--f-display); font-size: 1.4rem; margin: 40px 0 8px; }
@media (max-width: 1023px) { .hoverview { grid-template-columns: 1fr; } .hoverview__aside { position: static; } }
.specs .spec-table { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* A one-line hero title stays solid (Halden outlines only a second line). */
.hero__title .line:only-child { color: #fff; -webkit-text-stroke: 0; }

/* Photo credits (licences require them) and the car video */
.hcredits { margin-top: 10px; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.hcredits a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); }
.hvideo { position: relative; aspect-ratio: 16 / 9; max-width: 1100px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.hvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
