/* Accounting Cafe site CSS. Scoped to ac- classes; state rules sit under .ac-js. */

/* ---------- Carousels ---------- */

.ac-js .ac-carousel__progress-fill {
	transition: width 0.3s ease;
}

.ac-carousel-btn svg {
	display: block;
}

/* Figma shows both arrows at full strength at the start, so a disabled arrow isn't dimmed (the progress bar shows the end). */
.ac-js .ac-carousel-btn:disabled,
.ac-js .ac-carousel-btn[aria-disabled="true"] {
	cursor: default;
	pointer-events: none;
}

/* Testimonials slide (site.js render): the track is the positioning box for the leaving card's ghost, and while the cards
   slide it clips them and the cards' own width/colour transitions are off (the slide moves them instead). */
.elementor .ac-dyn-testimonials {
	position: relative;
}

.elementor .ac-dyn-testimonials.ac-sliding {
	overflow: clip;
}

.elementor .ac-dyn-testimonials.ac-sliding .ac-card--testimonial {
	transition: background-color 0.28s ease, color 0.28s ease; /* the colour still fades; the width is tweened by the script */
}

@media (prefers-reduced-motion: reduce) {
	.ac-js .ac-carousel__progress-fill {
		transition: none;
	}
}

/* ---------- Header: Services dropdown ---------- */

.ac-has-subnav {
	position: relative;
}

.ac-subnav {
	position: absolute;
	top: 100%;
	left: -16px;
	z-index: 50;
	min-width: 280px;
	margin: 0;
	padding: 20px 8px 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

/* The padding-top bridges the gap so the pointer can travel from the link to the panel. */
.ac-subnav::before {
	content: "";
	position: absolute;
	inset: 12px 0 0;
	z-index: -1;
	background: var(--c-white);
	border-radius: var(--radius-card);
	box-shadow: 0 12px 32px rgba(59, 81, 110, 0.16);
}

.ac-has-subnav.is-open > .ac-subnav {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.ac-subnav li {
	margin: 0;
	padding: 0;
}

.ac-subnav a {
	display: block;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	color: var(--c-navy);
	font-family: var(--f-primary);
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
}

.ac-subnav a:hover,
.ac-subnav a:focus-visible {
	background: var(--c-blue-pale);
	color: var(--c-slate);
	outline: none;
}

/* The phone menu is its own accordion; the dropdown is for the desktop row (the nav row is hidden up to 1024 px, QA 2026-11-16). */
@media (max-width: 1024px) {
	.ac-subnav {
		display: none;
	}
}

/* "Services" is a label, not a link (QA 2026-11-16): it only opens the dropdown. */
.ac-has-subnav > .ac-nav-link {
	cursor: default;
}

.ac-has-subnav > .ac-nav-link:focus-visible {
	outline: 2px solid var(--c-sky);
	outline-offset: 4px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.ac-subnav {
		transition: none;
	}
}

/* ---------- Header: phone menu (full-screen overlay) ----------
   Figma "Mobile / Navigation" (716:3569 closed, 716:3627 Services open). The burger is an e-accordion
   (details / summary, works without JS). Its panel is a fixed full-screen overlay styled in Elementor
   (header post 40); what Elementor can't express lives here: the open state of the summary (the "X"),
   the page scroll lock, and the chevrons. Selectors use the element ids in the header: 5027b36 = the
   burger item (the details), 335a4a0d = its panel. The details inside the panel is the Services toggle.
   The burger replaces the nav row up to 1024 px, the Elementor tablet breakpoint (QA 2026-11-16: the wrapped nav at 855 px looked broken). */

@media (max-width: 1024px) {
	/* Open: the summary becomes the close button, fixed over the overlay (Figma: 42 x 42 at x344, y26). */
	[data-id="5027b36"][open] > summary {
		position: fixed;
		inset-block-start: 26px;
		inset-inline-end: 16px;
		z-index: 10001;
		background-image: var(--img-menu-close);
		background-repeat: no-repeat;
		background-size: 18px 18px;
		background-position: center;
	}

	/* The page behind the overlay doesn't scroll. */
	html:has([data-id="5027b36"][open]),
	html:has([data-id="5027b36"][open]) body {
		overflow: hidden;
	}

	/* Links fill their row, so the whole row is the touch target. */
	.ac-mnav-link > a,
	.ac-mnav-sublink > a {
		display: block;
	}

	.ac-mnav-link > a:focus-visible,
	.ac-mnav-sublink > a:focus-visible,
	[data-id="335a4a0d"] summary:focus-visible {
		outline: 2px solid var(--c-sky);
		outline-offset: 2px;
	}

	/* Submenu links: chevron on the right. */
	.ac-mnav-sublink {
		background: var(--img-menu-chevron-right) right center / 16px 16px no-repeat;
	}

	/* Services toggle: the exported chevron points up (open); closed turns it down. */
	[data-id="335a4a0d"] details > summary::after {
		content: "";
		flex: 0 0 20px;
		width: 20px;
		height: 20px;
		background: var(--img-menu-chevron) center / 20px 20px no-repeat;
		transform: rotate(180deg);
	}

	[data-id="335a4a0d"] details[open] > summary::after {
		transform: none;
	}

	[data-id="335a4a0d"] details[open] > summary p {
		color: var(--c-sky);
	}
}

/* ---------- Decor swooshes (Figma "bg · *__decor" exports) ----------
   Each host gets one ::before behind its content. Size and offset are the Figma values as a
   share of the host box, so the swoosh scales with the card. Opacity is baked into the SVGs.
   The --img-decor-* variables hold the image URLs; functions.php sets them with a ?v=filemtime
   query so a CDN never serves an old copy of a changed file. */

.ac-decor--intro,
.ac-panel--dark,
.ac-section--dark,
.ac-card--testimonial {
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.ac-decor--intro::before,
.ac-panel--dark::before,
.ac-section--dark::before,
.ac-card--testimonial::before {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	/* the hosts are flex containers: without these the box stretches to the host height */
	align-self: flex-start;
	height: auto;
	background: var(--decor) no-repeat center / 100% 100%;
	aspect-ratio: var(--decor-ar);
	left: var(--decor-x);
	top: var(--decor-y);
	width: var(--decor-w);
	transform: var(--decor-t, none);
}

/* Intro card: 1358 x 477 in Figma; swoosh 625.65 x 1069.99 at (374.5, -268) */
.ac-decor--intro {
	--decor: var(--img-decor-intro);
	--decor-ar: 625.65 / 1069.99;
	--decor-x: 27.58%;
	--decor-y: -56.2%;
	--decor-w: 46.07%;
}

/* Why Us panel, Home 1440 frame 702:654: panel 1440 x 1453 (full width), the swoosh is turned -90 degrees and
   spans 1376.24 x 2151.67 from (55, -308) (matched against the Figma panel image: 0.7% of pixels differ), so
   its centre is (743.12, 767.8): 51.61% across, 52.84% down; the unturned width is 2151.67 / 1440 = 149.42% */
.ac-panel--dark {
	--decor: var(--img-decor-panel);
	--decor-ar: 2151.67 / 1376.24;
	--decor-x: 51.61%;
	--decor-y: 52.84%;
	--decor-w: 149.42%;
	--decor-t: translate(-50%, -50%) rotate(-90deg);
}

/* Services "What's included" panel (full-bleed navy band, Services frame 2002:4): the same swoosh, turned -90 degrees,
   visual box 1376.24 x 2151.67 at (268.98, -306) in a panel 1282 tall; centre 51.26% across, 60.05% down. */
.ac-section--dark {
	--decor: var(--img-decor-panel);
	--decor-ar: 2151.67 / 1376.24;
	--decor-x: 51.26%;
	--decor-y: 60.05%;
	--decor-w: 149.42%;
	--decor-t: translate(-50%, -50%) rotate(-90deg);
}

/* Testimonial cards: dark 552 x 582, swoosh 622.95 x 1237.6 at (62, -345); light 896 x 582,
   swoosh 798.73 x 1366 at (228, -347) */
.ac-card--testimonial.ac-card--dark {
	--decor: var(--img-decor-card-dark);
	--decor-ar: 622.947 / 1237.61;
	--decor-x: 11.2%;
	--decor-y: -59.3%;
	--decor-w: 112.9%;
}

.ac-card--testimonial:not(.ac-card--dark) {
	--decor: var(--img-decor-card-light);
	--decor-ar: 798.73 / 1365.99;
	--decor-x: 25.4%;
	--decor-y: -59.6%;
	--decor-w: 89.1%;
}

/* Mobile frame (383:1111) places the swooshes differently: intro 490 x 820 at (-59, -88) in the 370 x 582 card;
   Why Us 2400 x 1535 (unrotated) centred at 54.6% / 59.7% of the panel; light testimonial 502 x 859 at (-6, -135) in
   370 x 612. The intro swoosh top is a fixed -88px: the Services / About intro cards (2002:307, 2002:910) are only
   369 tall and put it at -88 too, so a share of the card height (-15.1%) was right for Home only. */
@media (max-width: 767px) {
	.elementor .ac-decor--intro {
		--decor-ar: 490.42 / 820;
		--decor-x: -15.9%;
		--decor-y: -88px;
		--decor-w: 132.5%;
	}

	.elementor .ac-panel--dark {
		--decor-x: 54.6%;
		--decor-y: 59.7%;
		--decor-w: 597%;
		--decor-t: translate(-50%, -50%) rotate(90deg);
	}

	/* Services included panel, mobile frame 2002:344: centre 54.58% / 62.29% of a 402 x 2057 panel */
	.elementor .ac-section--dark {
		--decor-x: 54.58%;
		--decor-y: 62.29%;
		--decor-w: 597%;
		--decor-t: translate(-50%, -50%) rotate(90deg);
	}

	.elementor .ac-card--testimonial:not(.ac-card--dark) {
		--decor-x: -1.7%;
		--decor-y: -22.06%;
		--decor-w: 135.7%;
	}
}

/* CTA + footer swoosh: one shape behind the CTA section and the footer, anchored to the footer.
   Figma 1920 wrap: swoosh turned -90 degrees, 1125 x 1739 at (-311, 183), page ends 1083px below its
   top; decor-footer.svg is already cropped there (viewBox starts at x 655.82), so it can't add scroll height. Sizes are vw
   (design px / 1920 * 100); the footer top sits 367px below the swoosh top. */
.elementor-location-footer {
	position: relative;
}

.elementor-location-footer::before {
	/* The rotated box's visual height is --ac-swoosh-w. Above 1640 px it would hang below the footer and add blank page
	   (104 px at 1920; QA 2026-11-13, "footer should be flush against the bottom of the page"), so the width stops where the
	   swoosh meets the footer's bottom edge: visual top -19.1vw, footer 612 px tall. The picture keeps its size and is anchored
	   to the right (the visual top) so the part below the footer is cut off, not squashed. */
	--ac-swoosh-w: min(56.4vw, calc(716px + 19.1vw));
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	background: var(--img-decor-footer) no-repeat right center / 56.4vw 58.6vw;
	width: var(--ac-swoosh-w);
	height: 58.6vw;
	left: calc(13.1vw - var(--ac-swoosh-w) / 2);
	top: calc(var(--ac-swoosh-w) / 2 - 48.4vw);
	transform: rotate(-90deg);
}

/* Footer credit (element footer-credit 6ef6bb8a in post 41): "WebMarketers" links to webmarketers.ca (QA 2026-11-12). It keeps the text colour and,
   since QA 2026-11-16 ("remove the link underline"), has no underline. */
.elementor [data-id="6ef6bb8a"] a {
	color: inherit;
	text-decoration: none;
}

/* Footer legal row: the coffee bean before "No Beans Left Uncounted" (class on the tagline in the footer template). */
.elementor .ac-footer-tagline::before {
	content: "";
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	background: var(--img-tagline-bean) no-repeat center / contain;
}

/* Home carousels: the services and insights tracks bleed to the right viewport edge with width calc(50% + 50vw).
   vw includes a classic scrollbar, so they stuck out by its width (about 7.5 px) and the page scrolled sideways.
   Clip the full-width section that holds each track (its grandparent). */
.elementor .e-con:has(> .e-con > .ac-dyn-services),
.elementor .e-con:has(> .e-con > .ac-dyn-insights) {
	overflow-x: clip;
}

/* The same two tracks now run off BOTH viewport edges (QA 2026-11-13: cards were cut off at the content edge on the left, and the last card
   ended against the page edge). The track is as wide as the viewport and centred on its parent, and its padding (and scroll-padding) is the
   distance to the viewport edge, so the first card starts on the content line, the last card stops on the content line at the end of the
   scroll, and in between the cards slide out past the page edge. cqw is the parent's width (the parent is a size container below), because a
   % in scroll-padding would be the track's own width, not the parent's. */
.elementor .e-con:has(> .ac-dyn-services),
.elementor .e-con:has(> .ac-dyn-insights) {
	container-type: inline-size;
}

.elementor .e-con.ac-dyn-services,
.elementor .e-con.ac-dyn-insights {
	box-sizing: border-box;
	width: 100vw;
	max-width: none;
	margin-inline-start: calc(50cqw - 50vw);
	padding-inline: calc(50vw - 50cqw);
	scroll-padding-inline: calc(50vw - 50cqw);
}

/* Contact has no CTA band, so the swoosh that rises behind the CTA and the footer is not drawn
   (Figma 702:1807: the footer card follows the form section; the form's own swoosh runs down to it). */
.ac-page-contact .elementor-location-footer::before {
	display: none;
}

/* The footer template has no top margin on the phone (the CTA band sits against it). Contact has no CTA band, and its
   402 frame (712:978) keeps 64 px of page background between the form card and the footer card. */
@media (max-width: 767px) {
	.ac-page-contact .elementor-location-footer {
		padding-block-start: 64px;
	}
}

/* About Us: the Mission and Vision cards are white cards inside the dark band (`.ac-section--dark` turns every p white).
   Label, statement and body are the 1st, 2nd and 3rd paragraph of the card's text block. */
.elementor .ac-section--dark .ac-card--mission p:nth-child(1) {
	color: var(--c-navy);
}

.elementor .ac-section--dark .ac-card--mission p:nth-child(2) {
	color: var(--c-slate);
}

.elementor .ac-section--dark .ac-card--mission p:nth-child(3) {
	color: rgba(55, 64, 80, 0.78);
}

/* About Us, Mission band head (elements keyed by id: mv-eyebrow 413508e6, mv-lead 3bd5e93a). `.ac-section--dark` turns every p solid white:
   the lead is 80 % white in the frame, and the desktop eyebrow is a light pill (#E8EBEE) with navy text (the phone keeps the tag style). */
.elementor .ac-section--dark [data-id="3bd5e93a"] {
	color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
	.elementor .ac-section--dark [data-id="413508e6"] {
		background-color: #E8EBEE;
		color: var(--c-navy);
	}
}

/* Contact (Figma 702:1807 / 2002:2386). The frame has 34 px between the H1 and the lead (the page head component has 21), so the
   lead gets 13 more on desktop; the form section then starts at the frame's y and the swoosh (decor-contact.svg: the Figma
   swoosh rotated -90 and cropped to the visible 710 x 1407 at the page's left edge) hangs behind the card down to the footer card. */
@media (min-width: 768px) {
	.ac-page-contact .ac-page-head .ac-body--lg {
		margin-block-start: 13px;
	}
}

@media (max-width: 767px) {
	.ac-page-contact .ac-page-head h1 br {
		display: none;
	}
}

.ac-page-contact .ac-section:has(.ac-dyn-contact-form) {
	position: relative;
}

.ac-page-contact .ac-section:has(.ac-dyn-contact-form)::before {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
	top: 0;
	left: 0;
	width: 710px;
	/* QA 2026-11-16 ("the blue swirl is cut off, let it always continue down"): the SVG used to stop at the footer card's top (1407 px).
	   The shape runs on to 1871 px, so the whole of it is drawn and carries on down the left of the footer card. The footer card hides
	   the part behind it; the section's own box is shorter, but the pseudo-element ends inside the footer, so the page doesn't grow. */
	height: 1871px;
	background: var(--img-decor-contact) no-repeat left top / 710px 1871px;
}

@media (max-width: 767px) {
	.ac-page-contact .ac-section:has(.ac-dyn-contact-form)::before {
		display: none;
	}
}

/* Insights article (Figma 702:1623 / 2002:1860, phone 2002:2120). Post body = the `.ac-article` wrapper around Elementor's Post Content widget.
   Block output: h2, h3, p, ul (bold lead + sky dot), blockquote (callout), `ul.ac-checklist`, and four groups: `.ac-reports` > `.ac-report`,
   `.ac-example`, `.ac-quickcheck`. Margins collapse in the content flow: each type sets its own before and after. */
.ac-article {
	color: var(--c-navy);
	font-family: var(--f-primary, Poppins, sans-serif);
}
.ac-article .elementor-widget-theme-post-content > p:first-child,
.ac-article .elementor-widget-theme-post-content > ul:first-child {
	margin-block-start: 48px;
}
.ac-article h2 {
	margin-block: 72px 26px;
	font-size: 32px;
	line-height: 38px;
	font-weight: 500;
	letter-spacing: -0.03em;
	color: var(--c-navy);
}
.ac-article h3 {
	margin-block: 40px 17px;
	font-size: 20px;
	line-height: 28px;
	font-weight: 500;
	color: var(--c-navy);
}
.ac-article p {
	max-width: 720px;
	margin-block: 0 28px;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	color: var(--c-navy);
}
.ac-article p:has(+ ul) { margin-block-end: 23px; }
.ac-article p:has(+ .ac-reports) { margin-block-end: 35.5px; }
.ac-article p:has(+ .ac-example) { margin-block-end: 38px; }
.ac-article ul {
	max-width: 720px;
	margin-block: 0 28px;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 31px;
	color: var(--c-navy);
}
.ac-article ul:has(+ blockquote) { margin-block-end: 48px; }
.ac-article ul li {
	position: relative;
	margin: 0 0 13px;
	padding-inline-start: 28px;
}
.ac-article ul li:last-child { margin-block-end: 0; }
.ac-article ul li::before {
	content: "";
	position: absolute;
	inset-block-start: 11.5px;
	inset-inline-start: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-sky);
}
.ac-article ul li strong { font-weight: 700; }
.ac-article blockquote {
	margin: 48px 0 72px;
	padding-block: 7.5px;
	padding-inline: 32px 0;
	border: 0;
	border-inline-start: 3px solid var(--c-sky);
	max-width: 720px;
}
.ac-article blockquote p {
	margin: 0;
	font-size: 26px;
	line-height: 34px;
	font-weight: 500;
}
.ac-article ul.ac-checklist {
	/* the plugin's `.elementor .ac-checklist` (Services) is a flex column with a 14 / 15 px gap; here the li margins set the rhythm */
	display: block;
	margin-block: 23px 40px;
	line-height: 26px;
}
.ac-article ul.ac-checklist li {
	min-height: 36px;
	margin-block-end: 30px;
	padding-inline-start: 56px;
}
.ac-article ul.ac-checklist li:last-child { margin-block-end: 0; }
.ac-article ul.ac-checklist li::before {
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 36px;
	height: 36px;
	background: var(--c-blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6.2 5.8 10.5 14.5 1.5' fill='none' stroke='%23405866' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 12px no-repeat;
}
/* report cards */
.ac-article .ac-reports {
	display: flex;
	gap: 20px;
	margin-block: 0 69px;
}
.ac-article .ac-report {
	flex: 1 1 0;
	min-width: 0;
	padding: 28px 24px 24px;
	background: var(--c-white);
	border-radius: var(--radius-box, 16px);
}
.ac-article .ac-report__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-block-end: 22px;
	background: var(--c-mist);
	border-radius: 12px;
}
.ac-article .ac-report__icon svg { display: block; width: 24px; height: 24px; }
.ac-article .ac-report .ac-report__title {
	max-width: none;
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 26px;
	font-weight: 500;
}
.ac-article .ac-report .ac-report__q {
	max-width: none;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 17px;
	font-weight: 500;
	color: var(--c-sky);
}
.ac-article .ac-report .ac-report__text {
	max-width: none;
	margin: 0;
	font-size: 16px;
	line-height: 26px;
	color: var(--c-text-muted);
}
/* example box (bar chart) */
.ac-article .ac-example {
	margin-block: 0 40px;
	padding: 38px 40px 38px;
	background: var(--c-white);
	border-radius: var(--radius-box, 16px);
}
.ac-article .ac-example p {
	max-width: none;
	margin: 0;
}
.ac-article .ac-example .ac-example__title {
	margin-block-end: 27px;
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
}
.ac-article .ac-example__row {
	display: grid;
	grid-template-columns: 186px minmax(0, 1fr) 100px;
	align-items: center;
	height: 28px;
	margin-block-end: 16px;
}
.ac-article .ac-example__row span:first-child { font-size: 14px; line-height: 22px; }
.ac-article .ac-example__row span:last-child { font-size: 14px; line-height: 22px; font-weight: 500; text-align: right; }
.ac-article .ac-example__track {
	display: block;
	height: 28px;
	border-radius: 8px;
	background: var(--c-cream);
	overflow: hidden;
}
.ac-article .ac-example__bar {
	display: block;
	height: 100%;
	border-radius: 8px;
	background: var(--c-blue-light);
}
.ac-article .ac-example__bar--sky { background: var(--c-sky); }
.ac-article .ac-example__bar--navy { background: var(--c-navy); }
.ac-article .ac-example .ac-example__note {
	margin-block-start: 20px;
	padding-block-start: 19px;
	border-block-start: 1px solid #e6e1df;
	font-size: 14px;
	line-height: 22px;
	color: var(--c-text-muted);
}
/* quick-check box */
.ac-article .ac-quickcheck {
	margin-block: 40px 72px;
	padding: 38px 40px 52px;
	background: var(--c-mist);
	border-radius: var(--radius-box, 16px);
}
.ac-article .ac-quickcheck .ac-quickcheck__badge {
	display: inline-block;
	min-height: 28px;
	box-sizing: border-box;
	max-width: none;
	margin: 0 0 16px;
	padding: 3px 10px;
	background: var(--c-white);
	border-radius: 4px;
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
}
.ac-article .ac-quickcheck h3 { margin: 0 0 15px; }
.ac-article .ac-quickcheck ul { margin: 0; line-height: 26px; }
.ac-article .ac-quickcheck ul li { margin-block-end: 19px; padding-inline-start: 28px; }
.ac-article .ac-quickcheck ul li:last-child { margin-block-end: 0; }
.ac-article .ac-quickcheck ul li::before { inset-block-start: 9px; background: var(--c-navy); }
.ac-article .elementor-widget-theme-post-content > :last-child { margin-block-end: 0; }

/* Article head: back link chevron (class on the Elementor paragraph) */
.elementor .ac-back-link::before {
	content: "";
	flex: 0 0 auto;
	width: 7.1px;
	height: 11.4px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.1' height='11.4' viewBox='0 0 7.1 11.4'%3E%3Cpath d='M6 1 1.4 5.7 6 10.4' fill='none' stroke='%2369A7C7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 768px) {
	/* the back link hangs at the left of the column while the eyebrow stays centred */
	.elementor .ac-article-head { position: relative; }
	.elementor .ac-article-head .ac-back-link {
		position: absolute;
		inset-block-start: 54px;
		inset-inline-start: max(var(--section-x), calc(50% - 438px));
		height: 34px;
		align-items: center;
	}
}

@media (max-width: 767px) {
	/* Phone rhythm measured on frame 2002:2120 / 711:886 (402 wide, 1 px = 1 px). The first paragraph after a heading is the 18/28 lead; a paragraph that follows a paragraph is 16/26. */
	.ac-article .elementor-widget-theme-post-content > p:first-child,
	.ac-article .elementor-widget-theme-post-content > ul:first-child { margin-block-start: 32px; }
	.ac-article h2 { margin-block: 32px 16px; font-size: 26px; line-height: 31px; }
	.ac-article h3 { margin-block: 32px 16px; }
	.ac-article p { margin-block-end: 16px; }
	.ac-article p.wp-block-paragraph + p.wp-block-paragraph { font-size: 16px; line-height: 26px; }
	.ac-article p:has(+ ul), .ac-article p:has(+ .ac-reports), .ac-article p:has(+ .ac-example) { margin-block-end: 16px; }
	.ac-article ul { margin-block-end: 16px; line-height: 27px; }
	.ac-article ul li { margin-block-end: 16px; padding-inline-start: 22px; }
	.ac-article ul li::before { inset-block-start: 9.5px; inset-inline-start: 0; }
	.ac-article ul:has(+ blockquote) { margin-block-end: 19px; }
	.ac-article blockquote { margin-block: 19px 32px; padding-block: 4px; padding-inline-start: 20px; }
	.ac-article blockquote p { font-size: 20px; line-height: 26px; }
	.ac-article ul.ac-checklist { margin-block: 16px 16px; }
	.ac-article ul.ac-checklist li { margin-block-end: 16px; padding-inline-start: 50px; }
	.ac-article ul.ac-checklist li:last-child { margin-block-end: 0; }
	/* report cards: icon beside the title and question, text below (grid on the existing markup) */
	.ac-article .ac-reports { flex-direction: column; gap: 12px; margin-block-end: 32px; }
	.ac-article .ac-report {
		display: grid;
		grid-template-columns: 48px minmax(0, 1fr);
		column-gap: 14px;
		align-content: start;
		padding: 24px;
	}
	.ac-article .ac-report__icon { grid-row: 1 / span 2; margin: 0; }
	.ac-article .ac-report .ac-report__title { grid-column: 2; margin: 0; font-size: 22px; line-height: 31px; }
	.ac-article .ac-report .ac-report__q { grid-column: 2; margin: 0; font-size: 14px; line-height: 22px; }
	.ac-article .ac-report .ac-report__text { grid-column: 1 / -1; margin-block-start: 10px; }
	/* example box */
	.ac-article .ac-example { padding: 22px 20px 25px; margin-block-end: 32px; }
	.ac-article .ac-example .ac-example__title { margin-block-end: 15px; line-height: 17px; }
	.ac-article .ac-example__row { grid-template-columns: 1fr 70px; height: auto; row-gap: 6px; margin-block-end: 14px; }
	.ac-article .ac-example__row .ac-example__track { grid-column: 1 / -1; grid-row: 2; }
	.ac-article .ac-example__row span:last-child { grid-column: 2; grid-row: 1; }
	.ac-article .ac-example .ac-example__note { margin-block-start: 1px; padding-block-start: 13px; }
	/* quick-check box */
	.ac-article .ac-quickcheck { margin-block: 16px 32px; padding: 28px 24px; }
	.ac-article .ac-quickcheck .ac-quickcheck__badge { margin-block-end: 12px; }
	.ac-article .ac-quickcheck h3 { margin-block-end: 15px; font-size: 22px; line-height: 31px; }
	.ac-article .ac-quickcheck ul li { margin-block-end: 14px; padding-inline-start: 20px; }
	.ac-article .ac-quickcheck ul li:last-child { margin-block-end: 0; }
	.ac-article .ac-quickcheck ul li::before { inset-inline-start: 0; }
}

/* A post with no featured image: the article template's image widget has no src and would leave an empty 338 px box. */
.elementor-location-single img.e-image-base:not([src]) {
	display: none;
}

/* ---------- Service template (post 271): width and tablet rows (QA 2026-11-16) ----------
   Payroll "page seems pushed to the left" at 1875 px: the template's root Div Block is display: block, so its Hero split (max 1443 px) and Intro
   card (1440 px) had nothing to centre them (Home puts them in a centred flex column). Making the root a centred flex column fixes all three
   components; the Sections inside are full width, so they don't change. The edit can't be made in Elementor: the MCP re-validates the three
   component instances on save and refuses (component_instance: invalid_value). */
.elementor [data-id="453903dd"] {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Detail row (text 617 px + image 582 px) and FAQ row (image 582 px + text 618 px) were fixed widths: below about 1300 px the text column kept
   its width and the image was squeezed to a strip (855 px), or the FAQ column was squeezed to about 300 px (1032 px). Give both columns the
   Figma width as their flex-basis and let them shrink together; they are unchanged where there is room. The FAQ row stacks from 1024 px down. */
@media (min-width: 768px) {
	.elementor [data-id="6e5ccd1b"] {
		flex: 0 1 617px;
	}

	.elementor [data-id="7263be23"] {
		flex: 0 1 582px;
	}
}

@media (min-width: 1025px) {
	.elementor [data-id="49f69a7d"] {
		flex: 0 1 582px;
		min-width: 0;
	}

	.elementor [data-id="43dca7f5"] {
		flex: 0 1 618px;
	}
}
