/* Scoped buyer guidance: readable body copy and Mactec's existing navy palette. */
body .mactec-buyer-guidance {
	box-sizing: border-box;
	background: #f3f5f8;
	color: #25364a;
	text-align: left;
	padding: clamp(1.5rem, 4vw, 3.5rem) max(1rem, 3vw);
	border-top: 1px solid #dce3eb;
	border-bottom: 1px solid #dce3eb;
}
body .mactec-buyer-guidance .mactec-growth-discovery-inner {
	max-width: 1100px;
	margin: 0 auto;
}
body .mactec-buyer-guidance h2 {
	color: #17365f;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	line-height: 1.2;
	margin: 0 0 1rem;
	max-width: 34ch;
}
body .mactec-buyer-guidance h3 {
	color: #17365f;
	font-size: 1.3rem;
	line-height: 1.35;
	margin: 1.5rem 0 .5rem;
}
body .mactec-buyer-guidance p,
body .mactec-buyer-guidance li {
	color: #25364a;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
}
body .mactec-buyer-guidance p {
	max-width: 78ch;
	margin: 0 0 1.25rem;
}
body .mactec-buyer-guidance ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem 2.5rem;
	padding: 0 0 0 1.25rem;
	margin: 1.5rem 0 0;
	list-style: disc;
}
body .mactec-buyer-guidance li {
	min-width: 0;
	padding-left: .25rem;
	margin: 0;
}
body .mactec-buyer-guidance li::marker { color: #17365f; }
body .mactec-buyer-guidance a { color: #17365f; text-decoration: underline; text-underline-offset: .2em; }
body .mactec-buyer-guidance a:focus-visible { outline: 3px solid #17365f; outline-offset: 4px; }
body .mactec-growth-content .mactec-buyer-guidance { margin: 2.5rem 0; border-radius: 12px; }
body .mactec-buyer-guidance ul + h2 { margin-top: 2rem; }
/* 0.9.44: "Browse all equipment guides" sits a step below the guide list, not tight against it (machine pages had 0). */
body .mactec-buyer-guidance.mactec-guide-links > ul + p { margin-top: 20px; }
body .mactec-growth-button,
body .mactec-paid-sticky-quote a { background: #0d3977; color: #fff; }
body .mactec-growth-button:hover,
body .mactec-growth-button:focus-visible,
body .mactec-paid-sticky-quote a:hover,
body .mactec-paid-sticky-quote a:focus-visible { background: #092b59; outline-color: #17365f; }
@media (max-width: 780px) {
	/* Reserve space for the legacy theme's 50px floating navigation button. */
	body:has(.mobile-toggle) .mactec-paid-sticky-quote { right: max(76px, env(safe-area-inset-right)); }
}
@media (min-width: 900px) {
	body .mactec-buyer-guidance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 0.8.48: buyer guides (children of /guides/) are articles, so their lists read as one column with space before the next paragraph. */
body.parent-pageid-1 .mactec-buyer-guidance ul { grid-template-columns: minmax(0, 1fr); gap: .5rem; max-width: 78ch; margin: 1rem 0 1.5rem; }
@media (min-width: 900px) {
	body.parent-pageid-1 .mactec-buyer-guidance ul { grid-template-columns: minmax(0, 1fr); }
}

/* 0.8.49: /guides/ index (page 1). The first five guides are H2 links and the twelve newer ones H3 links under a plain
   H2 section heading, so the theme sized them 38px and 21px. Every guide title gets one size; the section heading stays larger. */
body.page-id-1 .mactec-buyer-guidance p:empty { display: none; }
body.page-id-1 .mactec-buyer-guidance > :is(h2, h3):has(> a) { font-size: clamp(1.5rem, 1.25rem + .9vw, 1.875rem); line-height: 1.1; max-width: 68ch; margin: 0 0 .5rem; padding-top: 1.5rem; border-top: 1px solid rgba(29, 53, 87, .14); text-wrap: balance; }
body.page-id-1 .mactec-buyer-guidance > :is(h2, h3):has(> a) + p { max-width: 68ch; margin-bottom: 1.75rem; }
body.page-id-1 .mactec-buyer-guidance > h2:not(:has(a)) { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.625rem); line-height: 1.05; margin: 3rem 0 .5rem; }
body.page-id-1 .mactec-buyer-guidance > h2:not(:has(a)) + p { margin-bottom: 2rem; }
body.page-id-1 .mactec-growth-header h1, body.parent-pageid-1 .mactec-growth-header h1 { text-wrap: balance; }
/* 0.8.54: /guides/ index grouped into four topics with jump links and guide cards (Oct 3, 2026). Semantic list fallback if styles fail. */
body .mactec-guide-index .mactec-guide-index-lead { font-size: 1.0625rem; max-width: 62ch; margin: 0 0 1rem; }
body .mactec-guide-index .mactec-guide-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .5rem; }
body .mactec-guide-index .mactec-guide-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 1px solid #17365f; border-radius: 999px; background: #fff; color: #17365f; font-weight: 600; text-decoration: none; line-height: 1.2; }
body .mactec-guide-index .mactec-guide-jump a:hover { background: #17365f; color: #fff; }
body .mactec-guide-index .mactec-guide-group { margin: 2.5rem 0 0; scroll-margin-top: 1.5rem; }
body .mactec-guide-index .mactec-guide-group h2 { font-size: clamp(1.75rem, 1.5rem + .9vw, 2.25rem); line-height: 1.1; margin: 0 0 1rem; max-width: none; }
body .mactec-guide-index ul.mactec-guide-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0 0 1rem; max-width: none; }
body .mactec-guide-index ul.mactec-guide-cards > li { margin: 0; padding: 1.125rem 1.25rem 1.25rem; background: #fff; border: 1px solid #dce3eb; border-radius: 12px; }
body .mactec-guide-index ul.mactec-guide-cards > li::marker { content: none; }
body .mactec-guide-index ul.mactec-guide-cards h3 { font-size: clamp(1.25rem, 1.15rem + .35vw, 1.4rem); line-height: 1.15; margin: 0 0 .4rem; text-wrap: balance; overflow-wrap: normal; }
body .mactec-guide-index ul.mactec-guide-cards h3 a { text-decoration: none; }
body .mactec-guide-index ul.mactec-guide-cards h3 a:hover { text-decoration: underline; }
body .mactec-guide-index ul.mactec-guide-cards p { margin: 0; line-height: 1.55; max-width: none; }
body .mactec-guide-index .mactec-guide-next { margin: 0; font-weight: 600; }
body .mactec-guide-index .mactec-guide-next a::after { content: " \2192"; }
body .mactec-guide-index .mactec-guide-index-close { margin: 2.5rem 0 0; }
@media (min-width: 900px) {
	body .mactec-guide-index ul.mactec-guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	body .mactec-growth-content .mactec-guide-index { margin-top: 1.25rem; padding-top: 1.25rem; }
	body .mactec-guide-index .mactec-guide-index-lead { font-size: 1rem; margin-bottom: .75rem; }
	body .mactec-guide-index .mactec-guide-jump a { font-size: .9375rem; padding: .4rem .8rem; }
}
