/* MAA Bilservice – main stylesheet
   Brand: orange #FD6100 (sampled from the logo), black, white.
   Contrast (WCAG): black on orange 6.9:1 · orange on #0f0f0f 6.0:1 · white on orange 3.05:1 (not used for text)
   Orange text on white uses --orange-ink #B84500 (5.4:1). */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--orange: #fd6100;
	--orange-ink: #b84500;
	--black: #0f0f0f;
	--ink: #161616;
	--grey-800: #2b2b2b;
	--grey-700: #474747;
	--grey-500: #767676;
	--grey-300: #d6d6d3;
	--grey-200: #e7e7e4;
	--grey-100: #f4f4f1;
	--white: #ffffff;
	--muted-on-dark: #c2c2c2;
	--ok: #1d6b34;
	--ok-bg: #edf7ef;
	--err: #b3261e;
	--err-bg: #fdf0ef;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06);
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	font-variation-settings: "wdth" 100;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; color: var(--black); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw + .4rem, 3.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.4vw + .6rem, 2.4rem); }
h3 { font-size: 1.2rem; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid currentColor; opacity: .18; margin: 24px 0; }
table { border-collapse: collapse; }
.small { font-size: .925rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--black); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(760px + 2 * var(--gutter)); }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -.2em; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px; padding: 12px 22px;
	font: inherit; font-weight: 750; font-size: 1.02rem; line-height: 1.2;
	border-radius: var(--radius-sm); border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .97rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: #ff7a26; color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--grey-800); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sub { font-weight: 500; opacity: .9; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.btn-stack { display: grid; gap: 10px; }
.cta-secondary { margin: 14px 0 0; }
.cta-secondary a { font-weight: 700; display: inline-flex; gap: .4em; align-items: center; padding: 8px 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 750; color: var(--black); text-decoration: none; }
.link-arrow .icon { color: var(--orange-ink); transition: transform .15s; }
a.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Eyebrow & section titles ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .8rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase;
	color: var(--orange-ink); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--orange); border-radius: 1px; }
.eyebrow-light { color: var(--orange); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-muted { background: var(--grey-100); }
.section-title { max-width: 22ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.section-head .section-title { margin: 0; }
.lead { font-size: clamp(1.08rem, .5vw + 1rem, 1.25rem); line-height: 1.6; max-width: 60ch; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--black); color: var(--muted-on-dark); font-size: .875rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: flex-end; padding-block: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-on-dark); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { color: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--grey-200); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: block; padding: 6px 0; flex: none; }
.brand .logo { width: 150px; height: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { display: block; padding: 10px 12px; font-weight: 650; text-decoration: none; color: var(--ink); border-radius: var(--radius-sm); }
.nav-list a:hover { background: var(--grey-100); color: var(--black); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; white-space: nowrap; padding: 8px 0; }
.nav-phone .icon { color: var(--orange-ink); }

.nav-toggle { display: none; }

@media (max-width: 1079px) {
	.nav-phone { display: none; }
}
@media (max-width: 959px) {
	:root { --header-h: 64px; }
	.topbar { display: none; }
	.brand .logo { width: 128px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		min-height: 48px; padding: 8px 14px; margin-right: -6px;
		background: none; border: 2px solid var(--grey-300); border-radius: var(--radius-sm);
		font: inherit; font-weight: 700; color: var(--black); cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
		display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
	}
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle-bars::before { top: -6px; }
	.nav-toggle-bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); border-bottom: 1px solid var(--grey-200); box-shadow: 0 16px 32px rgb(0 0 0 / .12);
		padding: 8px var(--gutter) 20px;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
	}
	.js .site-nav:not(.is-open) { display: none; }
	.no-js .nav-toggle { display: none; }
	.no-js .site-nav { position: static; box-shadow: none; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--grey-200); border-radius: 0; }
	.nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; }
	.nav-actions { flex-direction: column; align-items: stretch; margin-top: 16px; gap: 10px; }
	.nav-actions .btn { min-height: 52px; }
	.nav-phone { display: flex; justify-content: center; border: 2px solid var(--black); border-radius: var(--radius-sm); min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { display: grid; background: var(--black); color: var(--white); }
.hero-media { position: relative; aspect-ratio: 16 / 10; max-height: 62vh; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { display: flex; align-items: center; padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(40px, 6vw, 80px); position: relative; }
.hero-content { max-width: 600px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #e2e2e2; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted-on-dark); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--orange); }
.hero .cta-secondary a, .page-hero .cta-secondary a, .cta-band .cta-secondary a { color: var(--white); }
.hero .cta-secondary .icon, .cta-band .cta-secondary .icon { color: var(--orange); }

@media (min-width: 960px) {
	.hero { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: min(640px, calc(100vh - 110px)); }
	.hero-media { order: 2; aspect-ratio: auto; max-height: none; }
	.hero-panel { order: 1; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: 48px; }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--black); color: var(--white); padding-block: clamp(44px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--orange) 0 34%, transparent 34% 66%, var(--orange) 66% 100%); opacity: .95; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: #e2e2e2; }
.page-hero-compact { padding-block: clamp(36px, 5vw, 60px); }
.page-hero-compact h1 { margin: 0; }
.page-hero .eyebrow { margin-bottom: 12px; }

/* ---------- Services ---------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.service-card:hover { border-color: var(--grey-300); box-shadow: var(--shadow); }
.service-card:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.service-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-100); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card-media img { transform: scale(1.03); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; border-top: 4px solid var(--orange); }
.service-card-title { font-size: 1.15rem; margin-bottom: 8px; }
.service-card-title a { text-decoration: none; color: var(--black); }
.service-card-title a::after { content: ""; position: absolute; inset: 0; }
.service-card-title a:focus-visible { outline: none; }
.service-card-body p { color: var(--grey-700); font-size: .98rem; margin-bottom: 14px; }
.service-card-body .link-arrow { margin-top: auto; font-size: .95rem; }

.breadcrumbs { padding-top: 18px; font-size: .9rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--grey-700); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--grey-500); }
.breadcrumbs a { color: var(--grey-700); }

.service-hero { display: grid; gap: 28px; padding-block: clamp(24px, 4vw, 48px); align-items: center; }
.service-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 960px) { .service-hero { grid-template-columns: 1fr 1fr; gap: 56px; } }

.service-body { display: grid; gap: 32px; padding-bottom: var(--section); align-items: start; }
@media (min-width: 960px) { .service-body { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } .reasons { position: sticky; top: calc(var(--header-h) + 24px); } }
.reasons { background: var(--grey-100); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--orange); }
.reasons h2 { font-size: 1.3rem; }
.reasons ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.reasons li { display: flex; gap: 10px; align-items: flex-start; }
.reasons li .icon { color: var(--orange-ink); margin-top: .25em; }
.reasons .btn + .btn { margin-top: 10px; }

.note-box { margin-top: 40px; padding: clamp(24px, 4vw, 40px); border: 2px dashed var(--grey-300); border-radius: var(--radius); }
.note-box h2 { font-size: 1.4rem; }

/* ---------- Entry content ---------- */
.entry { max-width: 68ch; }
.entry h2 { font-size: 1.45rem; margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--orange-ink); }
.entry a { color: var(--orange-ink); font-weight: 600; }
.entry > :first-child { margin-top: 0; }

/* ---------- Split / values / gallery ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-media { margin: 0; }
.split-media img { width: 100%; max-height: 620px; object-fit: cover; }
.split-media figcaption, .gallery figcaption { font-size: .9rem; color: var(--grey-700); margin-top: 10px; }
.rounded { border-radius: var(--radius); }
.value-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.value { background: var(--white); border-radius: var(--radius); padding: 26px; border-left: 5px solid var(--orange); }
.value p { color: var(--grey-700); margin: 0; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wide-photo { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 699px) { .wide-photo { aspect-ratio: 4 / 3; } }

/* ---------- Process ---------- */
.process { background: var(--grey-100); }
.section-muted + .process, .process + .section-muted { background: var(--white); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.section-muted + .process .steps li, .process + .section-muted .steps li { background: var(--grey-100); border-color: transparent; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--orange); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.steps p { color: var(--grey-700); margin: 0; }

/* ---------- Visit / hours ---------- */
.visit-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; } }
.visit-address { font-size: 1.1rem; margin-bottom: 16px; line-height: 1.6; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--orange-ink); }
.contact-list a { font-weight: 700; padding: 6px 0; }
.contact-list-lg { font-size: 1.15rem; }
.visit-hours { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 28px; }
.visit-hours h3 { color: var(--white); }
.hours { width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--orange); font-weight: 750; }
.hours tr.is-today th::after { content: " (idag)"; font-weight: 500; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; } }
.contact-card { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.contact-card h2 { font-size: 1.35rem; }
.contact-card-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.contact-card-dark h2 { color: var(--white); }
.contact-card-dark p { color: #e2e2e2; }
.contact-card-dark a:not(.btn) { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); padding-block: clamp(48px, 7vw, 88px); border-top: 5px solid var(--orange); }
.cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e2e2e2; max-width: 56ch; margin: 0; }

/* ---------- Forms layout (form styles live in the MAA Formulär plugin) ---------- */
.form-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-aside > .small { margin-top: 16px; color: var(--grey-700); }
.notice { border-radius: var(--radius-sm); padding: 16px 18px; margin: 0 0 24px; border-left: 5px solid var(--black); background: var(--grey-100); }
.notice p:last-child { margin: 0; }
.notice-info { border-left-color: var(--orange); background: #fff4ec; }
.notice-error { border-left-color: var(--err); background: var(--err-bg); }

/* ---------- 404 ---------- */
.link-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.link-cards a { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--grey-200); border-top: 4px solid var(--orange); border-radius: var(--radius); text-decoration: none; }
.link-cards a:hover { box-shadow: var(--shadow); }
.link-cards span { color: var(--grey-700); }

/* ---------- Footer ---------- */
.site-footer { background: #090909; color: var(--muted-on-dark); padding-top: clamp(48px, 6vw, 72px); font-size: .97rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-brand .logo { width: 190px; margin-bottom: 16px; }
.footer-title { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.site-footer a { color: var(--white); text-decoration-color: rgb(253 97 0 / .7); }
.site-footer a:hover { color: var(--orange); }
.site-footer .link-arrow .icon { color: var(--orange); }
.footer-contact { line-height: 1.9; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-block; padding: 4px 0; text-decoration: none; }
.site-footer .hours th, .site-footer .hours td { padding: 6px 0; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 48px; padding-block: 20px; font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 759px) {
	body.has-actionbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.actionbar {
		display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgb(15 15 15 / .97); border-top: 1px solid rgb(255 255 255 / .08);
		transition: transform .2s;
	}
	.actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius-sm); font-weight: 750; text-decoration: none; font-size: 1.02rem; }
	.actionbar-call { color: var(--white); border: 2px solid rgb(255 255 255 / .55); }
	.actionbar-quote { background: var(--orange); color: var(--black); }
	.actionbar .icon { width: 1.2em; height: 1.2em; }
	/* Hide while typing in a form or when the menu is open so it never covers controls. */
	body.is-typing .actionbar, body.menu-open .actionbar { transform: translateY(110%); visibility: hidden; }
	body.is-typing.has-actionbar { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .actionbar, .cta-band, .site-footer { display: none !important; }
	body { padding: 0 !important; }
}

/* Logged-in admins: keep the sticky header and side boxes below the WordPress admin bar. */
.admin-bar { --adminbar-h: 32px; }
@media (max-width: 782px) { .admin-bar { --adminbar-h: 46px; } }
@media (max-width: 600px) { .admin-bar { --adminbar-h: 0px; } } /* The admin bar scrolls away on small phones. */
.admin-bar .site-header { top: var(--adminbar-h); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--header-h) + 16px + 32px); }
@media (min-width: 960px) {
	.admin-bar .reasons, .admin-bar .form-aside { top: calc(var(--header-h) + 24px + var(--adminbar-h)); }
}
@media (max-width: 959px) {
	.admin-bar .site-nav { max-height: calc(100dvh - var(--header-h) - var(--adminbar-h)); }
}
