/*
 * Alberta Maple Care — design layer.
 * Signature brand devices, motion, and depth that sit on top of theme.json.
 * Everything here is decorative and degrades gracefully (and respects
 * prefers-reduced-motion). Brand tokens come from theme.json CSS vars.
 */

/* Underline swoosh variant for headings/links. */
.amc-underline {
	position: relative;
	background: transparent;
}

.amc-underline::after {
	content: "";
	position: absolute;
	left: -0.1em;
	right: -0.1em;
	bottom: -0.12em;
	height: 0.4em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C70 6 150 6 210 12 C250 16 280 18 296 12' fill='none' stroke='%23F5C233' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
}

/* On gold/yellow backgrounds the gold swoosh vanishes — use the logo red
   (var(--wp--preset--color--danger)). Add .amc-on-gold to any custom gold section to opt in. */
.amc-home .cta .amc-underline::after,
.has-primary-background-color .amc-underline::after,
.amc-on-gold .amc-underline::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C70 6 150 6 210 12 C250 16 280 18 296 12' fill='none' stroke='%23D84434' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Handwritten accent (Ms Madi, self-hosted) — for targeted script moments only:
   the "Care that comes home" tagline on About, small sign-off lines, editor
   accents. Never body copy or standard headings. Scripts read thin, so pair the
   class with a generous font-size at the use site. */
/* The content-area serif rules (.entry-content p etc.) out-rank a bare class,
   so repeat the utility at higher specificity for text inside post content. */
.amc-hand,
.wp-block-post-content p.amc-hand,
.wp-block-post-content li.amc-hand,
.entry-content p.amc-hand,
.entry-content li.amc-hand,
.amc-service-main p.amc-hand,
.wp-block-details p.amc-hand {
	font-family: var(--wp--preset--font-family--ms-madi, cursive);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.2;
}

/* ---------------------------------------------------------------------------
 * Motion: reveal-on-scroll. JS toggles .is-visible. Reduced-motion users get
 * the final state with no transition (see the media query at the end).
 * ------------------------------------------------------------------------- */
/* Only hide reveal elements when JS is present to bring them back. */
.js .amc-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.js .amc-reveal.is-visible {
	opacity: 1;
	transform: none;
	/* Release the compositing hint once revealed — it never moves again. */
	will-change: auto;
}

/* ---------------------------------------------------------------------------
 * Depth: cards lift on hover; images and the hero panel get soft framing.
 * Applies to the shadowed group cards used across the site.
 * ------------------------------------------------------------------------- */
.wp-block-group.has-background[style*="box-shadow"] {
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

@media (hover: hover) {
	.wp-block-columns .wp-block-column .wp-block-group.has-background[style*="box-shadow"]:hover,
	.wp-block-post-template .wp-block-group.has-background[style*="box-shadow"]:hover {
		transform: translateY(-4px);
		box-shadow: var(--wp--preset--shadow--floating);
	}
}

/* Featured images in service/blog cards: gentle zoom on card hover. */
.wp-block-post-template li:hover .wp-block-post-featured-image img {
	transform: scale(1.04);
}

.wp-block-post-featured-image img {
	transition: transform 0.4s ease;
}

/* Top utility bar (gold) above the header — phone + reassurance line. */
.amc-topbar {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--gold-ink);
	font-size: 0.86rem;
}
.amc-topbar__inner {
	max-width: 1410px;
	margin: 0 auto;
	padding: 0.45rem var(--wp--custom--container--gutter);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem 1.4rem;
	flex-wrap: wrap;
}
.amc-topbar__note { font-weight: 600; opacity: 0.85; }
.amc-topbar__urgent { color: var(--wp--preset--color--gold-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; padding-block: 0.5rem; }
.amc-topbar__urgent:hover { text-decoration: none; }
/* Below ~800px the phone + note + urgent link no longer fit one row — drop the
   note first (the phone and the urgent link carry the action). */
@media (max-width: 800px) { .amc-topbar__note { display: none; } }

/* Logo lockups. Header logo scales down on small screens; footer logo is the
 * white version on the green ground. */
.amc-logo {
	display: inline-flex;
	line-height: 0;
}

.amc-logo img {
	height: 84px;
	width: auto;
}

@media (max-width: 600px) {
	.amc-logo img {
		height: 60px;
	}
}

.amc-logo-footer {
	height: auto;
	width: clamp(140px, 40%, 180px);
}

/* ACCA membership badge: currently lives on the /news/ announcement (featured
   image) and in the partner marquee — the owner is still choosing a permanent
   on-page home for it (asset: assets/partners/alberta-continuing-care-association.webp). */

/* Text links on gold (primary) bands inherit a washed-out color from the global
   link rule — force deep green + underline so they pass contrast on gold. */
.has-primary-background-color a:not(.wp-element-button) {
	color: var(--wp--preset--color--secondary, #114E46);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Funding comparison table (CDHCI page). Scrolls sideways on small screens. */
.amc-compare-table { overflow-x: auto; }
.amc-compare-table table { border-collapse: collapse; min-width: 640px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px -26px rgba(17, 78, 70, 0.45); }
.amc-compare-table th, .amc-compare-table td { border: 1px solid var(--wp--preset--color--border, #E2DFDA); padding: 0.85rem 1rem; text-align: left; vertical-align: top; font-size: 0.95rem; line-height: 1.5; }
.amc-compare-table thead th { background: var(--wp--preset--color--secondary, #114E46); color: #fff; font-weight: 700; border-color: rgba(255, 255, 255, 0.18); }
.amc-compare-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--surface, #FDFBF7); }
.amc-compare-table td strong { color: var(--wp--preset--color--secondary, #114E46); }

/* ---------------------------------------------------------------------------
 * Post-card system — news, insights, category archives, search. Class-driven
 * (no inline styles in templates): .amc-cards on the query grid, .amc-postcard
 * per card. Two automatic variants: with a featured image the media leads;
 * without one, a textured gold band keeps the card designed (falls back to a
 * plain card in browsers without :has()).
 * ------------------------------------------------------------------------- */
.wp-block-post-template.amc-cards { gap: 1.4rem; }
.amc-postcard { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 20px; overflow: hidden; box-shadow: var(--wp--preset--shadow--card); transition: transform 0.28s ease, box-shadow 0.28s ease; }
@media (hover: hover) {
	.amc-postcard:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--floating); }
	.amc-postcard:hover .amc-postcard__media img { transform: scale(1.05); }
}
.amc-postcard__media { margin: 0; overflow: hidden; }
.amc-postcard__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.45s ease; }
.amc-postcard__body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.35rem 1.5rem 1.55rem; flex: 1; }
.amc-postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; }
.amc-postcard__meta time { color: var(--wp--preset--color--muted, #626A69); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.amc-postcard .wp-block-post-terms { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.amc-postcard .wp-block-post-terms a { color: var(--wp--preset--color--accent, #18675C); text-decoration: none; background: rgba(24, 103, 92, 0.09); padding: 0.4em 0.8em; border-radius: 999px; }
.amc-postcard .wp-block-post-terms a:hover { background: rgba(245, 194, 51, 0.28); color: var(--wp--preset--color--secondary, #114E46); }
.amc-postcard .wp-block-post-title { margin: 0; font-size: 1.16rem; line-height: 1.3; }
.amc-postcard .wp-block-post-title a { color: var(--wp--preset--color--secondary, #114E46); text-decoration: none; transition: color 0.2s ease; }
.amc-postcard .wp-block-post-title a:hover { color: var(--wp--preset--color--accent, #18675C); }
.amc-postcard .wp-block-post-excerpt { font-size: 0.93rem; line-height: 1.6; color: var(--wp--preset--color--foreground, #5F6463); }
.amc-postcard .wp-block-post-excerpt p { margin: 0; }
.amc-postcard .wp-block-post-excerpt__more-text { margin: 0.4rem 0 0; }
/* News archive: the alignwide query caps at content width inside nested
   constrained groups — widen it deliberately, and give card titles the
   infocard-style gold tick. */
.amc-news-query.alignwide { max-width: 1140px; }
.amc-news-query .wp-block-post-template { max-width: none; }
.amc-postcard .wp-block-post-title::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--wp--preset--color--primary, #F5C233); margin-top: 0.5rem; }
.amc-postcard .wp-block-post-excerpt__more-link { display: inline-flex; align-items: center; gap: 0.35em; color: var(--wp--preset--color--accent, #18675C); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.amc-postcard .wp-block-post-excerpt__more-link::after { content: "\2192"; transition: transform 0.2s ease; }
.amc-postcard .wp-block-post-excerpt__more-link:hover::after { transform: translateX(3px); }
/* No featured image → textured brand band so the card still reads designed. */
.amc-postcard:not(:has(.amc-postcard__media))::before {
	content: ""; display: block; flex: 0 0 auto; height: 74px;
	background: linear-gradient(120deg, rgba(245, 194, 51, 0.34), rgba(245, 194, 51, 0.1)), url("../textures/maple-line.webp") repeat;
	background-size: auto, 340px auto;
	border-bottom: 1px solid var(--wp--preset--color--border, #E2DFDA);
}
/* Single-article hero meta (date + category chip, centered). */
.amc-single-meta { justify-content: center; }
.amc-single-meta time, .amc-single-meta .wp-block-post-date { color: var(--wp--preset--color--muted, #626A69); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.amc-single-meta .wp-block-post-terms { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.amc-single-meta .wp-block-post-terms a { color: var(--wp--preset--color--accent, #18675C); text-decoration: none; background: rgba(24, 103, 92, 0.09); padding: 0.24em 0.75em; border-radius: 999px; }
.amc-single-meta .wp-block-post-terms a:hover { background: rgba(245, 194, 51, 0.28); color: var(--wp--preset--color--secondary, #114E46); }

/* FAQ hub: category jump pills, group headings, and the per-question
   permalink link inside each accordion. */
.amc-faq-hub [hidden] { display: none !important; }
.amc-faq-jump { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.8rem; }
.amc-faq-jump a { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; color: var(--wp--preset--color--secondary, #114E46); background: #fff; border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 999px; padding: 0.55em 0.95em; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.amc-faq-jump a:hover { border-color: var(--wp--preset--color--primary-strong, #E7AE12); background: rgba(245, 194, 51, 0.14); }
/* Top-asked filter pill: gold at rest (unlike the white jump pills), deep
   green while the filter is active. */
.amc-faq-jump__top { font: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; cursor: pointer; color: var(--wp--preset--color--gold-ink, #114E46); background: var(--wp--preset--color--primary, #F5C233); border: 1px solid var(--wp--preset--color--primary-strong, #E7AE12); border-radius: 999px; padding: 0.55em 0.95em; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.amc-faq-jump__top:hover { background: var(--wp--preset--color--primary-strong, #E7AE12); }
.amc-faq-jump__top[aria-pressed="true"] { background: var(--wp--preset--color--secondary, #114E46); border-color: var(--wp--preset--color--secondary, #114E46); color: #fff; }
.amc-faq-star { color: var(--wp--preset--color--primary-strong, #E7AE12); margin-right: 0.3em; }
.amc-faq-group { margin-top: 2.4rem; }
.amc-faq-group__title { font-size: 1.3rem; margin-bottom: 0.9rem; scroll-margin-top: 120px; }
#what-makes-us-different { scroll-margin-top: 120px; }
.amc-faq-group__title a { color: var(--wp--preset--color--secondary, #114E46); text-decoration: none; }
.amc-faq-group__title a:hover { color: var(--wp--preset--color--accent, #18675C); }
.amc-faq-group__desc { font-size: 0.92rem; color: var(--wp--preset--color--muted, #626A69); margin: -0.4rem 0 0.9rem; }
.amc-faq-group .amc-faq-item { margin-bottom: 0.7rem; }
.amc-faq-item__more { margin-top: 0.5rem; }
.amc-faq-item__more a { color: var(--wp--preset--color--accent, #18675C); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.amc-faq-item__more a:hover { color: var(--wp--preset--color--secondary, #114E46); }

/* FAQ accordions — designed details/summary with a gold plus that rotates. */
.amc-faq-item { background: #fff; border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .amc-faq-item:hover { border-color: rgba(231, 174, 18, 0.5); } }
.amc-faq-item[open] { border-color: rgba(231, 174, 18, 0.6); box-shadow: 0 16px 34px -26px rgba(17, 78, 70, 0.45); }
.amc-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; }
.amc-faq-item summary::-webkit-details-marker { display: none; }
/* Gold chip with dark ink — a bare gold plus on white computes 2.2:1. */
.amc-faq-item summary::after { content: "+"; flex: 0 0 auto; width: 1.5em; height: 1.5em; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--gold-ink); font-weight: 700; font-size: 1.05em; line-height: 1; transition: transform 0.25s ease; }
.amc-faq-item[open] summary::after { transform: rotate(45deg); }
.amc-faq-item summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; color: var(--wp--preset--color--secondary, #114E46); }
.amc-faq-item[open] summary h3 { color: var(--wp--preset--color--accent, #18675C); }
.amc-faq-item > :not(summary) { padding: 0 1.3rem 1.2rem; }
.amc-faq-item .wp-block-post-excerpt p { margin: 0; color: var(--wp--preset--color--foreground, #5F6463); line-height: 1.7; }

/* Archive pagination, matched to the pill language. */
.amc-cards-pagination { margin-top: 2.2rem; font-weight: 700; }
.amc-cards-pagination a { color: var(--wp--preset--color--accent, #18675C); text-decoration: none; }
.amc-cards-pagination a:hover { color: var(--wp--preset--color--secondary, #114E46); }
.amc-cards-pagination .wp-block-query-pagination-numbers .current { color: var(--wp--preset--color--secondary, #114E46); background: rgba(245, 194, 51, 0.35); border-radius: 8px; padding: 0.15em 0.55em; }

/* Breadcrumb trail (service pages). Matches the BreadcrumbList schema. */
.amc-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .3rem; margin: 0; padding: 0; font-size: .84rem; }
.amc-crumbs li { display: inline-flex; align-items: center; gap: .3rem; color: var(--wp--preset--color--foreground, #5F6463); }
.amc-crumbs li + li::before { content: "\203A"; color: var(--wp--preset--color--muted, #626A69); }
.amc-crumbs a { color: var(--wp--preset--color--accent, #18675C); font-weight: 600; text-decoration: none; }
.amc-crumbs a:hover { text-decoration: underline; }

/* WhatsApp chat badge (number never in the HTML — see inc/phone.php). The
   recognizable WhatsApp green reads as the channel itself; white glyph + label. */
.amc-wa { display: inline-flex; align-items: center; gap: 0.5em; background: #25d366; color: var(--wp--preset--color--secondary-deep); font-weight: 700; font-size: 0.92rem; line-height: 1; text-decoration: none; padding: 0.55em 1.1em; border-radius: 999px; transition: filter 0.2s ease, transform 0.2s ease; }
.amc-wa:hover { filter: brightness(1.05); color: var(--wp--preset--color--secondary-deep); transform: translateY(-1px); }
.amc-wa:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.amc-wa svg { flex: 0 0 auto; }
/* Icon variant: the real WhatsApp mark beside plain bold text (contact page). */
.amc-wa.amc-wa--icon { background: none; padding: 0; color: var(--wp--preset--color--accent, #18675C); font-weight: 700; gap: 0.45em; }
.amc-wa.amc-wa--icon:hover { filter: none; color: var(--wp--preset--color--secondary, #114E46); text-decoration: underline; text-underline-offset: 3px; }
.amc-wa.amc-wa--icon img { width: 30px; height: 30px; }
.site-footer .amc-wa { font-size: 0.85rem; padding: 0.5em 1em; }
.amc-crumbs li[aria-current="page"] { font-weight: 600; color: var(--wp--preset--color--secondary, #114E46); }

/* Eyebrow pill used across sections + service category label. */
.amc-eyebrow,
.amc-home .eyebrow,
.amc-checker__eyebrow,
.abmc-compare__eyebrow,
.amc-journey__eyebrow,
.amc-map__eyebrow,
.amc-pricecalc__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 6px 16px -10px rgba(12, 58, 52, 0.3);
	color: var(--wp--preset--color--secondary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	width: fit-content;
}
.amc-eyebrow::before,
.amc-home .eyebrow::before,
.amc-checker__eyebrow::before,
.abmc-compare__eyebrow::before,
.amc-journey__eyebrow::before,
.amc-map__eyebrow::before,
.amc-pricecalc__eyebrow::before { content: ""; display: inline-block; flex: none; width: 0.95em; height: 0.95em; background: url("../images/leaf-solid.webp") no-repeat center / contain; }
.amc-eyebrow a { color: inherit; text-decoration: none; }
/* An inline-flex pill ignores text-align and constrained-layout auto margins
   inside filtered content — when authored centered, center it for real. */
.has-text-align-center.amc-eyebrow { display: flex; width: fit-content; margin: 0 auto 1rem; }

/*
 * One rhythm for every section badge: a 1rem gap to the heading below, and
 * the pill's own 0.72rem size. In block flow the gap collapses into any
 * larger heading margin (content pages keep their blockGap rhythm; the hero
 * H1 keeps its display gap) — this rule is the floor that stops badges from
 * gluing to their headline. Homepage selectors carry extra specificity:
 * `.amc-home p { margin: 0 }` was zeroing pill margins outright, and
 * `.amc-home .sec-head p` (1.08rem) was inflating the "What we do" badge.
 */
.amc-eyebrow,
.amc-home p.eyebrow, .amc-home .sec-head p.eyebrow,
.amc-home p.amc-eyebrow,
.amc-map__eyebrow, .amc-journey__eyebrow, .amc-checker__eyebrow,
.amc-pricecalc__eyebrow, .abmc-compare__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.78rem;
}

/* Header "Schedule A Visit" button: white circular arrow badge (signature). */
.site-header .wp-element-button { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; }
.site-header .wp-element-button::before {
	content: "";
	width: 1.85em;
	height: 1.85em;
	border-radius: 50%;
	flex: 0 0 auto;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114E46' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 1.02em no-repeat;
	transition: transform 0.2s ease;
}
.site-header .wp-element-button:hover::before { transform: translateX(2px); }

/* ---------------------------------------------------------------------------
 * Contact page + Fluent Forms brand styling.
 * ------------------------------------------------------------------------- */
.amc-getstarted { background: var(--wp--preset--color--surface-alt, #EFECE5); border-radius: 24px; }
.amc-phone-panel { color: var(--wp--preset--color--gold-ink); }
.amc-phone-panel p { margin: 0; }
.amc-phone-panel__num a { color: var(--wp--preset--color--gold-ink); text-decoration: none; }
.amc-phone-panel__num a:hover { text-decoration: underline; }
.amc-contact-photo, .amc-contact-photo img { height: 100%; }

.fluentform .ff-el-group { margin-bottom: 1rem; }
.fluentform .ff-el-input--label label { font-weight: 700; color: var(--wp--preset--color--secondary, #114E46); margin-bottom: .3rem; }
.fluentform .ff-el-form-control {
	width: 100%;
	border: 1px solid var(--wp--preset--color--border, #E2DFDA);
	border-radius: 12px;
	padding: .7rem .9rem;
	font: inherit;
	color: var(--wp--preset--color--foreground, #5F6463);
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.fluentform .ff-el-form-control:focus {
	/* The site-standard focus ring — the old 15%-alpha glow computed 1.25:1. */
	border-color: var(--wp--preset--color--accent, #18675C);
	outline: 3px solid var(--wp--preset--color--accent, #18675C);
	outline-offset: 2px;
}
/* Submit is the page's primary action — it speaks the primary-button language
   (gold pill + the signature sweep) instead of a small dark one-off. */
.fluentform .ff-btn-submit,
.fluentform button.ff-btn-submit {
	background: var(--wp--preset--color--primary, #F5C233) !important;
	color: var(--wp--preset--color--gold-ink) !important;
	border: 0;
	border-radius: 999px;
	padding: .8rem 2.1rem;
	font-weight: 700;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color .3s ease, transform .2s ease, box-shadow .2s ease;
}
.fluentform .ff-btn-submit::after,
.fluentform button.ff-btn-submit::after {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border-radius: inherit;
	background: var(--wp--preset--color--secondary);
	transform: translateX(-101%);
	transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.fluentform .ff-btn-submit:hover,
.fluentform button.ff-btn-submit:hover { transform: translateY(-2px); color: #fff !important; }
.fluentform .ff-btn-submit:hover::after,
.fluentform button.ff-btn-submit:hover::after { transform: translateX(0); }
@media (max-width: 600px) {
	.fluentform .ff_submit_btn_wrapper .ff-btn-submit { width: 100%; }
}
/* Validation states: Fluent's default light red computes ~2.9:1 — use the
   brand red family at AA strength, and mark required fields consistently. */
.fluentform .ff-el-is-error .ff-el-form-control { border-color: var(--wp--preset--color--danger, #D84434); border-width: 2px; }
.fluentform .error.text-danger,
.fluentform .ff-el-is-error .error { color: #B23222; font-weight: 600; font-size: .85rem; }
.fluentform .ff-el-input--label.asterisk-right label::after,
.fluentform .ff-el-input--label.asterisk-left label::before { color: #B23222; }

/* ---------------------------------------------------------------------------
 * Header: sticky, with animated nav underlines + a refined dropdown.
 * ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 1px 0 rgba(17, 78, 70, 0.06);
	transition: box-shadow 0.3s ease;
}
.site-header.is-stuck {
	box-shadow: 0 10px 30px -18px rgba(17, 78, 70, 0.45);
}

/* Nav links: gold underline that grows from the left on hover / current page.
   The ::after bar IS the underline — suppress the global link-hover
   text-decoration or the two stack as a double underline (footer nav). */
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content:hover {
	text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	transition: color 0.2s ease;
}
.wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.35em;
	height: 2px;
	border-radius: 2px;
	background: var(--wp--preset--color--primary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
	.wp-block-navigation .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--accent);
	}
	.wp-block-navigation .wp-block-navigation-item__content:hover::after {
		transform: scaleX(1);
	}
	/* On the dark-green footer the accent teal is unreadable — hover gold there. */
	.site-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
		color: var(--wp--preset--color--primary);
	}
}
.wp-block-navigation .wp-block-navigation-item__content:focus-visible::after,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content::after,
.wp-block-navigation .current-menu-parent > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}
/* Submenu: soft card + item hover slide (visibility left to core so mobile works). */
.wp-block-navigation .wp-block-navigation__submenu-container {
	border-radius: 16px;
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 20px 44px -26px rgba(17, 78, 70, 0.5);
	padding-block: 0.4rem;
	overflow: hidden;
}
.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	transition: background-color 0.18s ease, transform 0.18s ease;
}
@media (hover: hover) {
	.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
		background: rgba(245, 194, 51, 0.16);
		transform: translateX(0.3rem);
	}
	.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::after {
		transform: scaleX(0); /* no underline inside the dropdown */
	}
}

/* ---------------------------------------------------------------------------
 * Buttons: consistent lift + press feedback across the site.
 * ------------------------------------------------------------------------- */
.wp-element-button,
.wp-block-button__link {
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}
@media (hover: hover) {
	.wp-element-button:hover,
	.wp-block-button__link:hover {
		transform: translateY(-2px);
		box-shadow: 0 14px 30px -14px rgba(17, 78, 70, 0.5);
	}
}
.wp-element-button:active,
.wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px -10px rgba(17, 78, 70, 0.5);
}
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
/* On deep-green grounds the teal ring computes 1.42:1 — flip it to gold
   (7.6:1), the same per-surface pattern phone.css already uses on the bar. */
.site-footer :focus-visible,
.amc-checker__cta :focus-visible,
.amc-pricecalc__result :focus-visible,
.amc-home .hero :focus-visible,
.has-secondary-background-color :focus-visible,
.has-secondary-deep-background-color :focus-visible {
	outline-color: var(--wp--preset--color--primary);
}

/* Hover fill: a SOLID deep-green panel sweeps across from the left. It sits above
   the base colour but below the label (z-index:-1 in the button's own stacking
   context) and is inset -2px so it also covers the border — no gradient boundary,
   so no colour sliver at either edge in any state. */
.wp-element-button:not(.is-style-outline),
.amc-mega__cta,
.wp-element-button.is-style-outline {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition: color .3s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.wp-element-button:not(.is-style-outline)::after,
.amc-mega__cta::after,
.wp-element-button.is-style-outline::after {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border-radius: inherit;
	background: var(--wp--preset--color--secondary);
	transform: translateX(-101%);
	transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.wp-element-button:not(.is-style-outline):hover,
.amc-mega__cta:hover,
.wp-element-button.is-style-outline:hover { color: #fff; }
.wp-element-button:not(.is-style-outline):hover::after,
.amc-mega__cta:hover::after,
.wp-element-button.is-style-outline:hover::after { transform: translateX(0); }
.wp-element-button.is-style-outline:hover { border-color: var(--wp--preset--color--secondary); }
/* Deep-green buttons (the CTA band's "Book a free visit") would sweep
   green-on-green — invisible. Those sweep the brand MAPLE RED (gold would
   vanish into the gold band) and keep the label white while hovered. */
.wp-element-button.has-secondary-background-color::after { background: var(--wp--custom--color--maple-red, #D84434); }
.wp-element-button.has-secondary-background-color:hover { color: #fff; }

/* ---------------------------------------------------------------------------
 * Reduced motion: disable all decorative animation, show final states.
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.amc-reveal {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
	.wp-block-navigation .wp-block-navigation-item__content::after { transition: none !important; }
	.wp-element-button, .wp-block-button__link { transition: none !important; }
}

/* ---------------------------------------------------------------------------
 * Quick-actions bar (Proposal D): 2–3 always-in-reach actions. Shown on small
 * screens only — desktop already carries the header CTA + top-bar phone.
 * ------------------------------------------------------------------------- */
.amc-quickbar { display: none; }
@media (max-width: 860px) {
	.amc-quickbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem;
		padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px));
		background: color-mix(in srgb, var(--wp--preset--color--surface, #FDFBF7) 94%, transparent);
		-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
		border-top: 1px solid var(--wp--preset--color--border, #E2DFDA);
		box-shadow: 0 -8px 24px -16px rgba(12, 58, 52, .5);
	}
	.amc-quickbar__item {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem;
		text-decoration: none; font-size: .72rem; font-weight: 700; line-height: 1.1;
		color: var(--wp--preset--color--secondary, #114E46);
		padding: .4rem .3rem; border-radius: 14px; border: 1px solid transparent;
	}
	.amc-quickbar__item svg { width: 1.35rem; height: 1.35rem; }
	.amc-quickbar__item--primary { background: var(--wp--preset--color--primary, #F5C233); }
	.amc-quickbar__item:active { transform: translateY(1px); }
	body { padding-bottom: 4.75rem; }
}

/* ---------------------------------------------------------------------------
 * Maple-leaf section textures (Proposal C). Reusable — add a class to any group:
 *   .amc-leaf-tex       fine scatter, behind body text (Option 1)
 *   .amc-leaf-tex--lg   large scale, for hero/feature bands (Option 3)
 *   .amc-leaf-tex--mono single-colour gold on a dark ground, for footers (Option 4)
 * The texture paints on a ::before at z-index:-1 (above the section's own
 * background, below its content — no markup wrapper needed).
 * ------------------------------------------------------------------------- */
.amc-leaf-tex, .amc-leaf-tex--lg, .amc-leaf-tex--mono { position: relative; isolation: isolate; }
.amc-leaf-tex::before, .amc-leaf-tex--lg::before, .amc-leaf-tex--mono::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url("../textures/maple-line.webp") repeat;
	-webkit-mask-image: radial-gradient(ellipse 92% 86% at 50% 42%, #000 45%, transparent 100%);
	        mask-image: radial-gradient(ellipse 92% 86% at 50% 42%, #000 45%, transparent 100%);
}
.amc-leaf-tex::before { background-size: 460px auto; opacity: .5; }
.amc-leaf-tex--lg::before { background-size: 950px auto; opacity: .42; }
/* Internal-page heroes (block-group bands): calm the texture beneath the
   centered headline column — the default radial mask concentrates leaves in
   the middle, exactly where the text sits. Invert it here: clear under the
   text, leaves alive toward the band's edges. The homepage <section> texture
   and the footer keep their own treatment. */
.wp-block-group.amc-leaf-tex--lg::before,
.amc-home section.amc-leaf-tex--lg::before {
	opacity: .34;
	-webkit-mask-image: radial-gradient(ellipse 60% 95% at 50% 50%, transparent 8%, rgba(0, 0, 0, 0.22) 48%, #000 80%);
	        mask-image: radial-gradient(ellipse 60% 95% at 50% 50%, transparent 8%, rgba(0, 0, 0, 0.22) 48%, #000 80%);
}
.amc-leaf-tex--mono::before {
	background-image: url("../textures/maple-mono.webp"); background-size: 950px auto; opacity: .16;
	-webkit-mask-image: none; mask-image: none;
}

/* Footer carries the single-colour maple texture (Option 4). */
.site-footer { position: relative; isolation: isolate; }

/* Footer typography: a compact utility scale — the footer is a sitemap, not
   reading copy. Body-size inherits stay for the page; these override inside. */
.site-footer { font-size: 0.9rem; }
.site-footer p { font-size: 0.9rem; line-height: 1.55; }
.site-footer .wp-block-navigation-item__content { font-size: 0.88rem; line-height: 1.35; padding-block: 0.35rem; }
.site-footer .wp-block-navigation__container { gap: 0.45rem !important; }
/* Footer column labels are paragraphs (nav labels, not document sections —
   five sub-1rem h2s used to pollute every page's outline). */
.site-footer .amc-footer__label { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; margin-bottom: 0.6rem; }
.site-footer .amc-footer-subscribe .amc-footer__label { font-size: 0.88rem; letter-spacing: 0.02em; text-transform: none; }
.site-footer .amc-phone--footer .amc-phone__link { font-size: 0.95rem; }
.site-footer .wp-block-social-links { margin-top: 1rem; }
.amc-footer-subscribe { margin-top: 1.3rem; padding-top: 1.15rem; }
.amc-footer-subscribe .ff-el-form-control { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
.amc-footer-subscribe .ff-btn-submit,
.amc-footer-subscribe button.ff-btn-submit { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.site-footer::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	/* Same large-leaf scale as the hero bands (.amc-leaf-tex--lg); the gold mono
	   artwork is the dark-ground twin of the hero texture. */
	background: url("../textures/maple-mono.webp") repeat; background-size: 950px auto; opacity: .16;
}

/* ---------------------------------------------------------------------------
 * Footer newsletter signup — compact inline email + button row with CASL
 * fine print, on the deep-green footer ground (zosimos.ca-style placement,
 * AMC design system).
 * ------------------------------------------------------------------------- */
.amc-footer-subscribe { margin-top: 1.7rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); max-width: 430px; }
.amc-footer-subscribe h2 { margin-bottom: 0.8rem; }
/* Fluent Forms nests every field in a bare <fieldset>; that's the real row. */
.amc-footer-subscribe .fluentform form fieldset {
	display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch;
	border: 0; padding: 0; margin: 0; min-width: 0;
}
.amc-footer-subscribe .ff-el-group { margin-bottom: 0; }
.amc-footer-subscribe .ff-el-group:not(.ff_submit_btn_wrapper) { flex: 1 1 200px; min-width: 0; }
/* Placeholder carries the hint visually; keep the label for screen readers. */
.amc-footer-subscribe .ff-el-input--label {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.amc-footer-subscribe .ff-el-form-control {
	width: 100%; height: 100%;
	background: #fff; border-color: transparent;
}
.amc-footer-subscribe .ff_submit_btn_wrapper { flex: 0 0 auto; }
.amc-footer-subscribe .ff-btn-submit,
.amc-footer-subscribe button.ff-btn-submit {
	background: var(--wp--preset--color--primary, #F5C233) !important;
	color: var(--wp--preset--color--gold-ink) !important;
	padding: .7rem 1.5rem;
}
.amc-footer-subscribe .ff-btn-submit:hover,
.amc-footer-subscribe button.ff-btn-submit:hover { background: var(--wp--preset--color--primary-strong, #E7AE12) !important; color: var(--wp--preset--color--gold-ink) !important; }
/* The compact footer button keeps its instant gold hover — no sweep. */
.amc-footer-subscribe .ff-btn-submit::after,
.amc-footer-subscribe button.ff-btn-submit::after { display: none; }
.amc-footer-subscribe .ff-message-success { color: #fff; font-size: 0.92rem; }
.amc-footer-subscribe .ff-el-is-error .error,
.amc-footer-subscribe .error.text-danger { color: #FBE7A8; }
/* As small as legibility (and AA contrast at this size) allows: 10.4px, with a
   slightly stronger ink than 60% white so it stays readable on the green.
   (.site-footer prefix out-specifies the footer's general `.site-footer p`.) */
.site-footer .amc-footer-subscribe__fineprint { margin-top: 0.75rem; font-size: 0.7rem; line-height: 1.45; color: rgba(255, 255, 255, 0.68); }
.site-footer .amc-footer-subscribe__fineprint a { color: rgba(255, 255, 255, 0.88); }

/* ---------------------------------------------------------------------------
 * Typography (Proposal F, Option A): Roca (self-hosted; Roca One from
 * globalfonts.pro, licensed) for long-form reading + quotes. Headings, nav,
 * buttons, eyebrows, labels and all UI stay Parkinsans; only body copy in
 * content areas switches to Roca. The family + @font-face live in theme.json.
 * ------------------------------------------------------------------------- */
.wp-block-post-content p,
.wp-block-post-content li,
.entry-content p,
.entry-content li,
.amc-service-main p,
.amc-service-main li,
.wp-block-details p,
.wp-block-details li {
	font-family: var(--wp--preset--font-family--roca);
	line-height: 1.7;
}
.wp-block-quote,
.wp-block-quote p,
.wp-block-pullquote,
.wp-block-pullquote p,
blockquote {
	font-family: var(--wp--preset--font-family--roca);
}

/* WordPress quirk fix: the palette colour slug is literally "border", so core emits a
   text-colour utility `.has-border-color { color: … }` that collides with the border-
   support class of the same name — greying out the text of ANY block that carries a
   custom border (e.g. the FAQ <details>). Restore the inherited text colour unless the
   block also sets an explicit text colour. */
.has-border-color:not(.has-text-color) { color: inherit !important; }

/* WordPress quirk fix #2: core kebab-cases numeric preset slugs in its generated
   utility classes (fontSize "h1" → .has-h-1-font-size), but our authored templates
   and page content spell them literally (.has-h1-font-size) — which matched no rule,
   so every interior H1/H2/H3 silently fell back to small default sizes. Alias the
   literal spellings to the same presets so both forms of the class work. */
.has-h1-font-size { font-size: var(--wp--preset--font-size--h-1) !important; }
.has-h2-font-size { font-size: var(--wp--preset--font-size--h-2) !important; }
.has-h3-font-size { font-size: var(--wp--preset--font-size--h-3) !important; }

/* ---------------------------------------------------------------------------
 * Round-3 consolidation utilities.
 * ------------------------------------------------------------------------- */
/* Interactive widgets are UI, not reading copy — keep them all-Parkinsans even
   when embedded in post content (the Roca rule below would otherwise catch
   their intro paragraphs and mix typefaces inside one card). */
.wp-block-post-content .amc-pricecalc p,
.wp-block-post-content .amc-checker p,
.wp-block-post-content .abmc-compare p,
.wp-block-post-content .amc-ratecards__note,
.entry-content .amc-pricecalc p,
.entry-content .amc-checker p,
.entry-content .abmc-compare p {
	font-family: var(--wp--preset--font-family--sans);
}

/* Section badges are UI too: Parkinsans all-caps everywhere, including inside
   content areas where the Roca reading-copy rule would otherwise catch the
   <p class="amc-eyebrow"> element. */
p.amc-eyebrow,
.wp-block-post-content p.amc-eyebrow,
.entry-content p.amc-eyebrow {
	font-family: var(--wp--preset--font-family--sans);
	text-transform: uppercase;
}

/* Adjacent full-width sections carry their own 4rem paddings — the root
   blockGap added a 1.75rem body-background seam between same-colour bands. */
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }

/* Micro-label utilities: the two sanctioned uppercase-label treatments. */
.amc-label-sm { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.amc-label-md { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

/* Guide-strategy placements: watercolor accents sized for their card slots. */
.amc-covered__illo { margin: 0 0 0.9rem; }
.amc-covered__illo img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: center 30%; border-radius: 14px; display: block; }
.amc-notsure__illo img, .amc-404-map img { border-radius: 18px; }

/* CDHCI abbreviation tooltip: dotted underline; the full program name
   surfaces on hover or keyboard focus via the title attribute. */
.amc-abbr { position: relative; text-decoration: underline dotted var(--wp--preset--color--accent); text-underline-offset: 3px; cursor: help; }
.amc-abbr::after {
	content: attr(title);
	position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
	background: var(--wp--preset--color--secondary); color: #fff;
	font-size: 0.8rem; font-weight: 600; line-height: 1.35; letter-spacing: 0;
	text-transform: none; white-space: nowrap;
	padding: 0.45em 0.8em; border-radius: 8px;
	box-shadow: var(--wp--preset--shadow--floating);
	opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 40;
}
.amc-abbr:hover::after, .amc-abbr:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 600px) { .amc-abbr::after { white-space: normal; width: max-content; max-width: 78vw; } }

/* -------------------------------------------------------------------------
 * Info cards — the sitewide white content boxes, "Maple Thread" recipe
 * (owner-picked C7, Aug 2026). Borderless card resting on its green shadow;
 * a gold tick under the lead heading; a maple leaf cut from the site's own
 * line-art texture (assets/textures/maple-line.webp) breathing in the top
 * corner; on hover the gold thread sweeps across the top edge — same easing
 * as the button sweep — with a gentle lift.
 * The .amc-infocard class is added by the content sweep; the block keeps its
 * own background color and 20px radius inline. Form wrappers (.amc-form-slot)
 * and the gold-top featured cards are deliberately NOT converted.
 * ------------------------------------------------------------------------- */
.amc-infocard { position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--wp--preset--shadow--card); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.amc-infocard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--wp--preset--color--primary, #F5C233); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.amc-infocard:hover { transform: translateY(-4px); box-shadow: var(--wp--preset--shadow--raised); }
.amc-infocard:hover::before { transform: scaleX(1); }
.amc-infocard::after { content: ""; position: absolute; top: 12px; right: 14px; width: 76px; height: 72px; background: url("../images/leaf-corner.webp") no-repeat center / contain; opacity: 0.55; pointer-events: none; }
/* Lead heading: clear the corner leaf, then anchor the eye with a gold tick. */
.amc-infocard > :is(h2, h3, h4):first-of-type { padding-right: 64px; }
.amc-infocard > :is(h2, h3, h4):first-of-type::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 2px; background: var(--wp--preset--color--primary, #F5C233); margin-top: 0.5rem; }
@media (prefers-reduced-motion: reduce) {
	.amc-infocard, .amc-infocard::before { transition: none; }
	.amc-infocard:hover { transform: none; }
	.amc-infocard:hover::before { transform: none; }
}
/* Partner cards (/partners/): brand logo above the title and a quiet gold
   type chip below it. The chip replaces an amc-eyebrow pill that was fighting
   the card's Maple Thread tick (and the leaf badge prefix) inside the card.
   font-family pinned: it's a p inside .entry-content, which is Roca turf. */
.amc-partnercard__logo { display: flex; align-items: center; min-height: 56px; margin-bottom: 0.9rem; }
.amc-partnercard__logo img { height: 52px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.amc-infocard p.amc-partnercard__type { display: inline-block; width: fit-content; font-family: var(--wp--preset--font-family--sans); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--gold-ink, #3A2D07); background: rgba(245, 194, 51, 0.22); border-radius: 999px; padding: 0.3em 0.8em; margin: 0.1rem 0 0.4rem; }
/* When a card carries a type chip, the chip is the anchor — two gold accents
   stacked under the title read as clutter, so the tick stands down. */
.amc-infocard:has(.amc-partnercard__type) > :is(h2, h3, h4):first-of-type::after { display: none; }
/* Registry-driven grid ([amc_partner_cards] from AMC Core): same cards, laid
   out by the plugin instead of hand-built columns. Auto-fit so the row stays
   balanced whether the owner lists two partners or five. */
.amc-partnercards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: var(--wp--preset--spacing--50); align-items: stretch; }
.amc-partnercards-grid .amc-partnercard { display: flex; flex-direction: column; align-items: flex-start; }
.amc-partnercards-grid .amc-partnercard .wp-block-buttons { margin-top: auto; padding-top: 0.5rem; }

/* ---- Hero duo (.amc-hero-duo) ----
   Interior-page hero with the page's square watercolor beside the title:
   text left, art right in a rounded card on the green-tint shadow. Built on
   core columns so it stacks natively under 782px; these rules only polish.
   The image is above the fold - mark it eager/fetchpriority in the markup. */
.amc-hero-duo { align-items: center; gap: clamp(1.6rem, 4vw, 3.5rem); }
.amc-hero-duo .amc-hero-duo__img { margin: 0; }
.amc-hero-duo .amc-hero-duo__img img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 26px 52px -32px rgba(12, 58, 52, 0.55); }
@media (max-width: 781px) {
	.amc-hero-duo .amc-hero-duo__img { max-width: 300px; margin: 0.4rem auto 0; }
}

/* ---- Team registry grid (.amc-team, [amc_team_grid] from AMC Core) ----
   Three alternating bands of person cards. Leadership cards carry the gold
   top rule; portraits render as circular crops so mixed source ratios stay
   uniform; missing portraits fall back to an initials disc. */
.amc-team__band { padding: var(--wp--preset--spacing--70) 0; }
.amc-team__band--care { background: var(--surface); }
.amc-team__inner { max-width: 1180px; margin-inline: auto; padding-inline: var(--wp--custom--container--gutter, 1.25rem); }
.amc-team__heading { text-align: center; font-size: var(--wp--preset--font-size--h-2, 2.2rem); color: var(--green); margin: 0 0 0.4rem; }
.amc-team__note { text-align: center; color: var(--text); max-width: 62ch; margin: 0 auto 0.6rem; font-size: 0.92rem; }
.amc-team__grid { display: grid; gap: 1.4rem; margin-top: var(--wp--preset--spacing--50); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); justify-content: center; }
.amc-team__grid--2 { max-width: 860px; margin-inline: auto; }
.amc-team__card { background: #fff; border-radius: 20px; padding: var(--wp--preset--spacing--50); box-shadow: var(--wp--preset--shadow--card); text-align: center; }
.amc-team__card--lead { border-top: 4px solid var(--gold); box-shadow: var(--wp--preset--shadow--subtle); }
.amc-team__media { width: 224px; height: 224px; margin: 0 auto 1.2rem; }
.amc-team__card--lead .amc-team__media { width: 268px; height: 268px; }
.amc-team__media img, .amc-team__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; display: block; border: 3px solid var(--gold); box-shadow: var(--wp--preset--shadow--card); }
.amc-team__initials { display: flex; align-items: center; justify-content: center; background: rgba(245, 194, 51, 0.22); color: var(--green); font-family: var(--wp--preset--font-family--sans); font-weight: 700; font-size: 2rem; }
.amc-team__name { font-size: 1.18rem; color: var(--green); margin: 0 0 0.15rem; }
.amc-team__cred { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.15rem; }
.amc-team__roles { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; margin: 0.45rem 0 0.15rem; position: relative; padding-bottom: 0.6rem; }
.amc-team__roles::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.amc-team p.amc-team__role { font-family: var(--wp--preset--font-family--roca-two), Georgia, serif; display: inline-block; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.01em; color: var(--teal); background: rgba(24, 103, 92, 0.09); border-radius: 999px; padding: 0.32em 1em; margin: 0; }
.amc-team__known { font-style: italic; color: var(--muted); font-size: 0.88rem; margin: 0.25rem 0 0; }
.amc-team p.amc-team__line { font-family: var(--wp--preset--font-family--sans); color: var(--text); font-size: 0.9rem; line-height: 1.65; margin: 0.6rem 0 0; }
.amc-team__soon { color: var(--muted); font-size: 0.82rem; margin: 0.7rem 0 0; }
.amc-team__more { margin: 0.7rem 0 0; }
.amc-team__open { font-family: var(--wp--preset--font-family--sans); font-weight: 700; color: var(--teal); background: none; border: 1px solid var(--border); border-radius: 999px; padding: 0.4em 1.1em; cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease; }
.amc-team__open span { color: var(--gold-strong); }
.amc-team__open:hover { border-color: var(--gold-strong); background: rgba(245, 194, 51, 0.1); }
.amc-team__open:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---- Bio popup: large portrait alone on the left; identity header
   (name, credentials, role pills, gold strike) atop the scrolling bio on
   the right. Native <dialog>, Esc + backdrop close, stacks under 760px. */
.amc-team__modal { border: 0; border-radius: 24px; padding: 0; max-width: min(1080px, calc(100vw - 2rem)); width: 100%; max-height: min(86vh, 760px); box-shadow: 0 40px 90px -40px rgba(12, 58, 52, 0.6); overflow: hidden; }
.amc-team__modal::backdrop { background: rgba(12, 58, 52, 0.55); backdrop-filter: blur(2px); }
.amc-team__modal-grid { display: grid; grid-template-columns: minmax(300px, 430px) 1fr; height: 100%; max-height: inherit; }
.amc-team__modal-side { background: var(--surface, #FDFBF7); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 2rem 1.6rem; position: relative; overflow: hidden; }
.amc-team__modal-side::before { content: ""; position: absolute; width: 370px; height: 384px; top: -45px; right: -85px; background: url("../images/leaf-large.webp") no-repeat center / contain; opacity: 0.5; transform: rotate(14deg); pointer-events: none; }
.amc-team__modal-side .amc-team__media { position: relative; }
.amc-team__modal .amc-team__media--modal, .amc-team__card--lead .amc-team__modal .amc-team__media--modal { width: clamp(230px, 28vw, 360px); height: clamp(230px, 28vw, 360px); margin: 0; }
.amc-team__modal-main { display: flex; flex-direction: column; min-width: 0; max-height: inherit; }
.amc-team__modal-head { padding: 2rem 2.4rem 1.1rem; border-bottom: 1px solid var(--border); text-align: left; }
.amc-team__modal-head .amc-team__name { font-size: var(--wp--preset--font-size--h-3, 1.5rem); margin: 0; }
.amc-team__modal-head .amc-team__cred { display: inline-block; margin-left: 0.55rem; margin-top: 0; vertical-align: 2px; }
.amc-team__modal-head .amc-team__roles { align-items: flex-start; margin: 0.55rem 0 0; padding-bottom: 0.7rem; }
.amc-team__modal-head .amc-team__roles::after { left: 0; transform: none; }
.amc-team__affbadge { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--wp--preset--font-family--sans); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em; color: var(--wp--preset--color--gold-ink, #3A2D07); background: rgba(245, 194, 51, 0.18); border: 1.5px solid var(--gold); border-radius: 999px; padding: 0.38em 0.95em; margin: 0.65rem 0 0; }
.amc-team__affbadge::before { content: ""; width: 0.85em; height: 0.85em; background: var(--gold-strong); -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l1.8 4.6 4.4-1.6-1.6 4.4L21 12l-4.4 2.6 1.6 4.4-4.4-1.6L12 22l-1.8-4.6-4.4 1.6 1.6-4.4L3 12l4.4-2.6L5.8 5l4.4 1.6z%22/%3E%3C/svg%3E') center / contain no-repeat; mask: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l1.8 4.6 4.4-1.6-1.6 4.4L21 12l-4.4 2.6 1.6 4.4-4.4-1.6L12 22l-1.8-4.6-4.4 1.6 1.6-4.4L3 12l4.4-2.6L5.8 5l4.4 1.6z%22/%3E%3C/svg%3E') center / contain no-repeat; }
.amc-team__modal-bio { padding: 1.4rem 2.4rem 2rem; overflow-y: auto; flex: 1; font-size: 0.97rem; line-height: 1.7; color: var(--text); text-align: left; }
.amc-team__modal-bio p { margin: 0 0 1em; }
.amc-team__modal-bio blockquote { margin: 0 0 1.2em; padding: 0.2em 0 0.2em 1em; border-left: 3px solid var(--gold); font-style: italic; color: var(--green); }
.amc-team__modal-bio blockquote cite { display: block; margin-top: 0.4em; font-style: normal; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) {
	.amc-team__modal { max-height: 92vh; border-radius: 18px; }
	.amc-team__modal-grid { grid-template-columns: 1fr; }
	.amc-team__modal-side { border-right: 0; border-bottom: 1px solid var(--border); padding: 1.6rem 1rem 1.2rem; }
	.amc-team__modal-side::before { width: 260px; height: 270px; top: -50px; right: -70px; }
	.amc-team__modal .amc-team__media--modal, .amc-team__card--lead .amc-team__modal .amc-team__media--modal { width: 170px; height: 170px; }
	.amc-team__modal-head { padding: 1.1rem 1.3rem 0.8rem; text-align: center; }
	.amc-team__modal-head .amc-team__roles { align-items: center; }
	.amc-team__modal-head .amc-team__roles::after { left: 50%; transform: translateX(-50%); }
	.amc-team__modal-bio { padding: 1rem 1.3rem 1.4rem; }
}
.amc-team__close { position: absolute; top: 0.8rem; right: 0.9rem; width: 2.2rem; height: 2.2rem; border: 0; border-radius: 50%; background: var(--surface, #FDFBF7); color: var(--green); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.amc-team__close:hover { background: var(--gold); color: var(--wp--preset--color--gold-ink, #3A2D07); }
.amc-team__close:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (max-width: 700px) {
	.amc-team__modal-grid { grid-template-columns: 1fr; }
	.amc-team__modal-side { border-right: 0; border-bottom: 1px solid var(--border); padding: 1.8rem 1.2rem 1.2rem; }
	.amc-team__media--modal { width: 150px; height: 150px; }
	.amc-team__modal-bio { padding: 1.4rem 1.4rem 1.6rem; max-height: 52vh; }
}

/* ---- Careers scope-of-practice table (.amc-scope-table) ----
   A 15-row legal/policy comparison: white card, deep-green header under a
   gold rule, zebra rows, green row labels. Wide content scrolls inside the
   figure so the page never scrolls sideways. */
.amc-scope-table { overflow-x: auto; margin-top: 1.6rem; }
.amc-scope-table table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 36px -28px rgba(12, 58, 52, 0.5); }
.amc-scope-table thead th { background: var(--wp--preset--color--secondary, #114E46); color: #fff; text-align: left; font-size: 0.95rem; letter-spacing: 0.01em; padding: 0.95rem 1.15rem; border-bottom: 3px solid var(--wp--preset--color--primary, #F5C233); }
.amc-scope-table thead th:first-child { width: 26%; }
.amc-scope-table td { padding: 0.85rem 1.15rem; border-top: 1px solid var(--wp--preset--color--border, #E2DFDA); vertical-align: top; font-size: 0.94rem; line-height: 1.55; color: var(--wp--preset--color--foreground, #5F6463); }
.amc-scope-table tbody tr:first-child td { border-top: 0; }
.amc-scope-table tbody tr:nth-child(even) td { background: var(--wp--preset--color--surface, #FDFBF7); }
.amc-scope-table td:first-child { font-weight: 600; color: var(--wp--preset--color--secondary, #114E46); }
.amc-scope-table td + td { border-left: 1px solid var(--wp--preset--color--border, #E2DFDA); }
.amc-scope-table strong { color: var(--wp--preset--color--secondary, #114E46); }

/* -------------------------------------------------------------------------
 * Commitments band ([amc_commitments]) — self-contained so it renders right
 * on any page (currently About Us; formerly the homepage testi band).
 * ------------------------------------------------------------------------- */
.amc-commit { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--wp--preset--color--surface, #FDFBF7); }
.amc-commit__bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.amc-commit__bg svg { width: 100%; height: 100%; }
.amc-commit__shell { position: relative; max-width: 1410px; margin: 0 auto; padding: 0 var(--wp--custom--container--gutter); }
.amc-commit__head { text-align: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.amc-commit__head .amc-eyebrow { display: inline-flex; margin: 0 auto 1rem; }
.amc-commit__h2 { margin: 0; color: var(--wp--preset--color--secondary, #114E46); font-size: var(--wp--preset--font-size--h-2-sm); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.amc-commit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2vw, 1.6rem); }
.amc-commit__card { margin: 0; display: flex; flex-direction: column; gap: 1rem; background: #fff; border-radius: 20px; padding: 1.8rem 1.9rem; box-shadow: var(--wp--preset--shadow--card); }
.amc-commit__card blockquote { margin: 0; flex: 1; color: var(--wp--preset--color--foreground, #5F6463); font-size: var(--wp--preset--font-size--medium, 1.05rem); line-height: 1.6; }
.amc-commit__card figcaption { border-top: 1px solid var(--wp--preset--color--border, #E2DFDA); padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.15rem; }
.amc-commit__card figcaption b { color: var(--wp--preset--color--secondary, #114E46); font-size: 1.1rem; }
.amc-commit__card figcaption span { color: var(--wp--preset--color--muted, #626A69); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 720px) { .amc-commit__grid { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------------------
 * Shared widget tokens (CSS dedup, 2026-08-22): the scoped sheets used to
 * re-alias these presets locally, six copies each. One definition serves
 * every widget scope; file-specific vars (--line-x, --r-card...) stay local.
 * ------------------------------------------------------------------------- */
.amc-home, .amc-checker, .abmc-compare, .amc-journey, .amc-map, .amc-pricecalc, .amc-glossary, .amc-team {
	--gold: var(--wp--preset--color--primary);
	--gold-strong: var(--wp--preset--color--primary-strong);
	--gold-ink: var(--wp--preset--color--gold-ink);
	--green: var(--wp--preset--color--secondary);
	--green-deep: var(--wp--preset--color--secondary-deep);
	--teal: var(--wp--preset--color--accent);
	--text: var(--wp--preset--color--foreground);
	--muted: var(--wp--preset--color--muted);
	--border: var(--wp--preset--color--border);
	--cream: var(--wp--preset--color--background);
	--surface: var(--wp--preset--color--surface);
	--ease: cubic-bezier(.22, 1, .36, 1);
}


/* -------------------------------------------------------------------------
 * Maple Guides (phase 2): the watercolor cast placed as page hosts — FAQ,
 * compare, ways-to-pay, guides — plus step art on the CDHCI how-to cards.
 * Guides are deliberately unnamed in copy (no fabricated personas): they are
 * visual hosts. Phase 1 motion = gentle float; phase 2 (animated loops) is
 * documented in DESIGN.md and owner-gated.
 * ------------------------------------------------------------------------- */
.amc-guide { flex: none; width: 116px; height: 116px; border-radius: 50%; overflow: hidden; border: 3px solid var(--wp--preset--color--primary, #F5C233); background: #fff; box-shadow: var(--wp--preset--shadow--card); animation: amc-guide-float 6s ease-in-out infinite; }
.amc-guide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amc-guide--center { margin: 0 auto 1.1rem; }
.amc-guide-intro { display: flex; align-items: center; gap: 1.3rem; margin-bottom: 1.6rem; }
.amc-guide-intro p { margin: 0; }
@keyframes amc-guide-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 560px) { .amc-guide-intro { flex-direction: column; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .amc-guide { animation: none; } }

/* CDHCI how-to-start step art: small rounded panel atop each numbered card. */
/* Step cards (How to Start CDHCI): the illustration fills the card's top,
   full-bleed against the card padding; the step number straddles its bottom
   edge in a white circle; the corner leaf drops to the title line. */
.amc-step-illo { width: calc(100% + 2 * var(--wp--preset--spacing--50)); height: 180px; margin: calc(-1 * var(--wp--preset--spacing--50)) calc(-1 * var(--wp--preset--spacing--50)) 0; border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: none; }
.amc-step-illo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amc-step-illo + p { position: relative; z-index: 2; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: #fff; box-shadow: var(--wp--preset--shadow--raised); display: grid; place-items: center; line-height: 1; }
.amc-infocard:has(.amc-step-illo)::after { top: 196px; right: 18px; }

/* Contact page scene illustration. */
.amc-contact-illo { max-width: 440px; margin: 0 auto 1.2rem; }
.amc-contact-illo img { width: 100%; height: auto; display: block; }

/* Contact channels: one open row per way to reach us (call / message /
   write / visit) — big bare icons, no cards, text centered beneath. */
.amc-channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 0; margin-top: 2.6rem; }
.amc-channels.alignwide { max-width: min(1140px, 100%) !important; margin-left: auto !important; margin-right: auto !important; }
@media (max-width: 900px) { .amc-channels { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; } }
@media (max-width: 520px) { .amc-channels { grid-template-columns: 1fr; } }
.amc-channel { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.5rem; }
@media (min-width: 901px) { .amc-channel + .amc-channel { border-left: 1px solid var(--wp--preset--color--border, #E2DFDA); } }
.amc-channel__ic { display: flex; justify-content: center; color: var(--wp--preset--color--secondary, #114E46); margin: 0 auto 0.9rem; }
.amc-channel__ic svg { width: 48px; height: 48px; }
.amc-channel h3 { margin: 0 0 0.55rem; font-size: 1.15rem; color: var(--wp--preset--color--secondary, #114E46); }
.amc-channel p { margin: 0.4rem 0 0; font-size: 0.93rem; max-width: 32ch; color: var(--wp--preset--color--foreground, #5F6463); }
.amc-channel .amc-channel__big, .amc-channel p.amc-channel__big { font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.amc-channel .amc-channel__mid, .amc-channel p.amc-channel__mid { font-size: 1.05rem; font-weight: 700; }
.amc-channel p.amc-channel__mid a { color: var(--wp--preset--color--secondary, #114E46); text-decoration: none; }
.amc-channel p.amc-channel__mid a:hover { color: var(--wp--preset--color--accent, #18675C); }
.amc-channel__big a { color: var(--wp--preset--color--secondary, #114E46); text-decoration: none; }
.amc-channel__big a:hover { color: var(--wp--preset--color--accent, #18675C); }
.amc-channel p.amc-channel__note { font-size: 0.78rem; color: var(--wp--preset--color--muted, #626A69); }
.amc-channel .wp-block-button, .amc-channel [class*="whatsapp"] { justify-content: center; }
.amc-channels + .amc-hand, .wp-block-post-content .amc-channels + p.amc-hand { margin-top: 2rem; text-align: center; }

/* -------------------------------------------------------------------------
 * Resource library ([amc_resource_library], amc-core): the official-documents
 * section on /guides-checklists/ as a two-column library of narrow rows —
 * type icon, title + one-line note, publisher, and a kind tag so readers
 * know what a click opens (PDF, website, tool…).
 * ------------------------------------------------------------------------- */
.amc-reslib { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 0.85rem; margin-top: 2.2rem; }
.amc-reslib.alignwide { max-width: min(1140px, 100%) !important; margin-left: auto !important; margin-right: auto !important; }
.amc-reslib__item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.15rem; background: #fff; border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 14px; text-decoration: none; box-shadow: 0 10px 28px -26px rgba(17, 78, 70, 0.4); transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.amc-reslib__item:hover { border-color: var(--wp--preset--color--primary-strong, #E7AE12); transform: translateY(-2px); box-shadow: 0 20px 44px -30px rgba(17, 78, 70, 0.45); }
.amc-reslib__icon { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(245, 194, 51, 0.22); color: var(--wp--preset--color--secondary, #114E46); }
.amc-reslib__icon svg { width: 26px; height: 26px; }
.amc-reslib__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.amc-reslib__title { font-weight: 700; font-size: 0.98rem; line-height: 1.35; color: var(--wp--preset--color--secondary, #114E46); }
.amc-reslib__item:hover .amc-reslib__title { color: var(--wp--preset--color--accent, #18675C); }
.amc-reslib__note { font-size: 0.85rem; line-height: 1.45; color: var(--wp--preset--color--foreground, #5F6463); }
.amc-reslib__meta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; text-align: right; }
.amc-reslib__src { font-size: 0.72rem; line-height: 1.35; color: var(--wp--preset--color--muted, #626A69); max-width: 19ch; text-wrap: balance; }
.amc-reslib__kind { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--wp--preset--color--accent, #18675C); background: rgba(24, 103, 92, 0.09); border-radius: 999px; padding: 0.28em 0.8em; white-space: nowrap; }
.amc-reslib__kind .arw { font-weight: 400; }
@media (max-width: 860px) {
	.amc-reslib { grid-template-columns: 1fr; }
	.amc-reslib__meta { display: none; }
}

/* -------------------------------------------------------------------------
 * 20-questions guide (.amc-qa-list): each item is a bold question with a
 * coaching note beneath. The note gets its own voice — smaller, italic,
 * muted — so question and comment never blur together. The <br> in the
 * stored markup is retired visually; the block-level <strong> owns the break.
 * ------------------------------------------------------------------------- */
.amc-qa-list li { margin-bottom: 1rem; font-size: var(--wp--preset--font-size--small, 0.875rem); font-style: italic; line-height: 1.55; color: var(--wp--preset--color--muted, #626A69); }
.amc-qa-list li br { display: none; }
.amc-qa-list li strong { display: block; margin-bottom: 0.15rem; font-style: normal; font-size: var(--wp--preset--font-size--medium, 1.0625rem); line-height: 1.4; color: var(--wp--preset--color--secondary, #114E46); }
.amc-qa-list li a { color: var(--wp--preset--color--accent, #18675C); }

/* -------------------------------------------------------------------------
 * Condition pages (.amc-svc-chips): "the services families combine most" as
 * a centered row of pill chips. Replaces the old two-column bullet lists
 * that splayed to the page edges and left an awkward hole in the middle.
 * ------------------------------------------------------------------------- */
.amc-svc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem 0.7rem; max-width: 720px; margin: 1.6rem auto 1.9rem; }
.amc-svc-chip { display: inline-flex; align-items: center; background: var(--wp--preset--color--base, #FFFFFF); border: 1px solid var(--wp--preset--color--border, #E2DFDA); border-radius: 999px; padding: 0.55em 1.25em; color: var(--wp--preset--color--secondary, #114E46); font-weight: 600; font-size: var(--wp--preset--font-size--small, 0.875rem); line-height: 1.3; text-decoration: none; box-shadow: 0 10px 24px -22px rgba(17, 78, 70, 0.5); transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.amc-svc-chip:hover, .amc-svc-chip:focus-visible { border-color: var(--wp--preset--color--primary-strong, #E7AE12); color: var(--wp--preset--color--accent, #18675C); transform: translateY(-2px); }

/* A left-aligned eyebrow pill placed as a DIRECT child of a constrained
   group fell to the viewport edge: the pill is inline-flex, and inline-level
   boxes ignore the constrained layout's auto-margin centering (the centered
   variant was already special-cased above). Make it block-level and start it
   at the content column's left edge, exactly where its sibling heading begins. */
.is-layout-constrained > p.amc-eyebrow:not(.has-text-align-center) {
	display: flex;
	/* !important because core's constrained-layout child margins are
	   themselves !important (margin-inline: auto), which would re-center
	   the pill instead of starting it at the content column. */
	margin-left: calc((100% - min(var(--wp--style--global--content-size, 820px), 100%)) / 2) !important;
	margin-right: 0 !important;
}
