/*
Theme Name:  Mike Campbell Heating & Cooling (Kadence Child)
Description: Child theme of Kadence for Mike Campbell Heating and Cooling, Ellwood City PA. Red / white / blue brand styling.
Author:      Keystone Digital Solutions
Template:    kadence
Version:     1.0.0
Text Domain: kadence-child
*/

:root {
	--mc-red: var(--global-palette1, #c8102e);
	--mc-blue: var(--global-palette2, #1f4fa3);
	--mc-navy: var(--global-palette3, #0d1f3c);
	--mc-ink: var(--global-palette4, #1e2b44);
	--mc-text: var(--global-palette5, #3e4a5e);
	--mc-muted: var(--global-palette6, #5f6a7d);
	--mc-line: var(--global-palette7, #dce3ee);
	--mc-sky: var(--global-palette8, #f2f5fa);
	--mc-white: var(--global-palette9, #fff);
	--mc-red-dark: #a50d26;
	--mc-blue-bright: #1478e6;
	--mc-heading-font: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--mc-body-font: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--mc-gutter: clamp(1rem, 4vw, 2rem);
	--mc-radius: 14px;
	--mc-shadow: 0 10px 30px rgba(13, 31, 60, 0.08);
	--mc-shadow-lg: 0 24px 48px rgba(13, 31, 60, 0.16);
	/* Red / white / blue stripe used as an accent bar. */
	--mc-stripe: linear-gradient(90deg, var(--mc-red) 0 33.33%, #fff 33.33% 66.66%, var(--mc-blue) 66.66% 100%);
}

/* ---------- Typography ---------- */
body {
	font-family: var(--mc-body-font);
	font-size: 1.0625rem;
	color: var(--mc-text);
}
h1, h2, h3, h4, h5, h6,
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.header-button,
.wp-block-button__link {
	font-family: var(--mc-heading-font);
}
h1, h2, h3, h4 {
	color: var(--mc-navy);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }

.mc-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.75rem !important;
	color: var(--mc-red);
	font-family: var(--mc-heading-font);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.mc-eyebrow::before {
	content: "";
	flex: none;
	width: 34px;
	height: 6px;
	border-radius: 3px;
	background: var(--mc-stripe);
	box-shadow: 0 0 0 1px var(--mc-line);
}
.mc-center { text-align: center; }
.mc-center .mc-eyebrow,
p.mc-eyebrow.mc-center { display: flex; justify-content: center; }
.mc-lead { font-size: 1.2rem; line-height: 1.6; }
.mc-center .mc-lead,
.mc-lead.mc-center { max-width: 44rem; margin-left: auto; margin-right: auto; }
.mc-nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.site-top-header-wrap .header-html,
.site-top-header-wrap .header-html a {
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.9rem;
	text-decoration: none;
}
.site-top-header-wrap .header-html a:hover { color: #fff; text-decoration: underline; }
.mc-topbar { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.mc-topbar span { display: inline-flex; align-items: center; gap: 0.4rem; }
.mc-topbar strong { color: #fff; font-weight: 600; }
/* Red / white / blue stripe under the main header row. */
.site-main-header-wrap .site-header-row-container-inner {
	position: relative;
}
.site-main-header-wrap .site-header-row-container-inner::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: var(--mc-stripe);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.header-button,
.mobile-header-button-wrap .button {
	border-radius: 999px !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}
.header-button::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.45em;
	vertical-align: -0.12em;
	background: currentColor;
	-webkit-mask: var(--mc-i-phone) center / contain no-repeat;
	mask: var(--mc-i-phone) center / contain no-repeat;
}
@media (min-width: 1025px) and (max-width: 1240px) {
	.main-navigation .primary-menu-container > ul > li.menu-item > a {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		font-size: 1.05rem;
	}
	.site-branding .custom-logo { max-width: 250px; }
}
.item-is-stuck .site-header-row-container-inner {
	box-shadow: 0 6px 20px rgba(13, 31, 60, 0.12);
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	padding: 0.85em 1.6em;
	border-radius: 999px;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
}
.mc-btn-call .wp-block-button__link::before,
.mc-btn-mail .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.5em;
	vertical-align: -0.12em;
	background: currentColor;
	-webkit-mask: var(--mc-i-phone) center / contain no-repeat;
	mask: var(--mc-i-phone) center / contain no-repeat;
}
.mc-btn-mail .wp-block-button__link::before {
	-webkit-mask-image: var(--mc-i-mail);
	mask-image: var(--mc-i-mail);
}
.mc-on-dark .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #fff; }
.mc-on-dark .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover {
	background: #fff;
	color: var(--mc-navy);
}
.wp-block-button__link,
.header-button {
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button__link:hover,
.header-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(200, 16, 46, 0.28);
}

/* ---------- Sections ---------- */
.entry-content > .mc-section {
	margin-top: 0;
	margin-bottom: 0;
	padding: clamp(3rem, 6vw, 5.5rem) var(--mc-gutter);
}
.entry-content > .mc-section > .wp-block-group__inner-container > :last-child,
.entry-content > .mc-section .wp-block-column > :last-child {
	margin-bottom: 0;
}
.mc-sky { background: var(--mc-sky); }
.mc-navy {
	background: var(--mc-navy);
	color: rgba(255, 255, 255, 0.85);
}
.mc-navy h1, .mc-navy h2, .mc-navy h3, .mc-navy h4 { color: #fff; }
.mc-navy a:not(.wp-block-button__link) { color: #fff; }
.mc-navy .mc-eyebrow { color: #ff5a6e; }
.mc-navy .mc-eyebrow::before { box-shadow: none; }

/* ---------- Home hero (split: text left, photo right) ---------- */
.entry-content > .mc-hero {
	position: relative;
	margin: 0;
	padding: clamp(2.5rem, 6vw, 5rem) var(--mc-gutter) clamp(4.5rem, 8vw, 6.5rem);
	overflow: hidden;
	background:
		radial-gradient(circle at 92% 8%, rgba(31, 79, 163, 0.12), transparent 42%),
		radial-gradient(circle at 0% 100%, rgba(200, 16, 46, 0.08), transparent 38%),
		var(--mc-sky);
}
.mc-hero .wp-block-columns { align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.mc-hero h1 { margin-top: 0.25rem; margin-bottom: 1.1rem; }
/* Heating in red, cooling in bright blue (matches the logo). */
.mc-heat { color: var(--mc-red); }
.mc-cool { color: var(--mc-blue-bright); }
.mc-hero .mc-lead { color: var(--mc-ink); }
.mc-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 0.5rem;
	margin: 0 !important;
	padding: 0.45rem 0.95rem 0.45rem 0.55rem;
	border: 1px solid var(--mc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mc-navy);
	font-size: 0.95rem;
	font-weight: 600;
	box-shadow: var(--mc-shadow);
}
.mc-pill::before {
	content: "";
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--mc-blue) var(--mc-i-check-white) center / 16px no-repeat;
}
.mc-hero-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.5rem 0 0 !important;
	padding: 0 !important;
	list-style: none;
	color: var(--mc-ink);
	font-weight: 600;
}
.mc-hero-checks li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
}
.mc-hero-checks li::before {
	content: "";
	width: 1.15rem;
	height: 1.15rem;
	background: var(--mc-red);
	-webkit-mask: var(--mc-i-check) center / contain no-repeat;
	mask: var(--mc-i-check) center / contain no-repeat;
}
/* Photo with a floating "25+ years" badge and the brand stripe. */
.mc-hero-media { position: relative; }
.mc-hero-media .mc-photo { margin: 0; }
.entry-content .mc-hero-media .mc-photo img { aspect-ratio: 5 / 4; }
.mc-hero-media::before {
	content: "";
	position: absolute;
	top: -18px;
	right: -18px;
	width: 55%;
	height: 60%;
	border-radius: var(--mc-radius);
	background: repeating-linear-gradient(-45deg, rgba(31, 79, 163, 0.16) 0 2px, transparent 2px 12px);
}
.mc-badge {
	position: absolute;
	bottom: -26px;
	left: -22px;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 !important;
	padding: 1rem 1.3rem;
	border-radius: var(--mc-radius);
	background: var(--mc-navy);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	line-height: 1.25;
	box-shadow: var(--mc-shadow-lg);
}
.mc-badge strong {
	color: #fff;
	font-family: var(--mc-heading-font);
	font-size: 2.6rem;
	line-height: 1;
}
.mc-badge::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 0;
	left: 14px;
	height: 4px;
	border-radius: 2px 2px 0 0;
	background: var(--mc-stripe);
}

/* ---------- Trust row (overlaps the bottom of the hero) ---------- */
.entry-content > .mc-trust {
	position: relative;
	z-index: 2;
	margin: -3rem auto 0;
	padding: 0 var(--mc-gutter);
}
.mc-trust .wp-block-columns {
	gap: 0;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--mc-radius);
	background: #fff;
	box-shadow: var(--mc-shadow-lg);
}
.mc-trust .wp-block-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.5rem 1.4rem 1.5rem 4.6rem;
	position: relative;
}
.mc-trust .wp-block-column + .wp-block-column { border-left: 1px solid var(--mc-line); }
.mc-trust .wp-block-column::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 1.3rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--mc-sky);
	transform: translateY(-50%);
}
.mc-trust .wp-block-column::after {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(1.3rem + 0.6rem);
	width: 1.3rem;
	height: 1.3rem;
	background: var(--mc-blue);
	transform: translateY(-50%);
	-webkit-mask: var(--mc-icon, var(--mc-i-check)) center / contain no-repeat;
	mask: var(--mc-icon, var(--mc-i-check)) center / contain no-repeat;
}
.mc-trust p { margin: 0; line-height: 1.25; }
.mc-trust .mc-stat {
	color: var(--mc-navy);
	font-family: var(--mc-heading-font);
	font-size: 1.6rem;
	font-weight: 700;
	text-transform: uppercase;
}
.mc-trust p:not(.mc-stat) { color: var(--mc-muted); font-size: 0.95rem; }

/* ---------- Icons (CSS masks, so they take the text color) ---------- */
:root {
	--mc-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
	--mc-i-check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
	--mc-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	--mc-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6l8.5 7 8.5-7'/%3E%3C/svg%3E");
	--mc-i-snow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7M9 3.5l3 2.5 3-2.5M9 20.5l3-2.5 3 2.5M3.6 10.6l3.7-.6-1.4-3.6M20.4 13.4l-3.7.6 1.4 3.6M3.6 13.4l3.7.6-1.4 3.6M20.4 10.6l-3.7-.6 1.4-3.6'/%3E%3C/svg%3E");
	--mc-i-flame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 22c-4 0-7-2.8-7-6.8 0-3 1.8-5 3.3-6.7C9.6 7 10.5 5.4 10.2 3c3 1.6 4.6 4.3 4.3 7.2 1-.8 1.6-2 1.6-3.2 2.2 1.9 3.9 4.6 3.9 7.8 0 4.4-3.2 7.2-8 7.2z'/%3E%3Cpath d='M12 19c-1.7 0-3-1.2-3-2.8 0-1.5 1.2-2.4 1.8-3.6.8 1 1.2 1.6 1.2 2.4.7-.5 1-1.2 1.1-2 1.2 1 1.9 2.1 1.9 3.4 0 1.5-1.3 2.6-3 2.6z'/%3E%3C/svg%3E");
	--mc-i-cycle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.3-4.9L4 8M4 4v4h4M4 13a8 8 0 0 0 14.3 4.9L20 16M20 20v-4h-4'/%3E%3C/svg%3E");
	--mc-i-split: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='9' rx='2'/%3E%3Cpath d='M5 10h14M7 17l-1 3M12 17v3M17 17l1 3'/%3E%3C/svg%3E");
	--mc-i-wrench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5 5L21 13l-8 8-2.5-2.5 8-8M14.7 6.3L13 4.6a4 4 0 0 0-5.3 5.3L3 14.6 6.4 18l4.7-4.7a4 4 0 0 0 5.3-5.3z'/%3E%3C/svg%3E");
	--mc-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.3-8 11-4.6-1.7-8-6-8-11V5z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
	--mc-i-thumb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v11H3V10zM7 10l4-8a3 3 0 0 1 3 3v4h5.5a2 2 0 0 1 2 2.3l-1.4 8a2 2 0 0 1-2 1.7H7'/%3E%3C/svg%3E");
	--mc-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-7.6 7-13a7 7 0 0 0-14 0c0 5.4 7 13 7 13z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
	--mc-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--mc-i-dollar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M17 6.5C16 5 14.2 4.5 12 4.5c-2.8 0-4.5 1.4-4.5 3.4 0 4.8 9.5 2.6 9.5 7.6 0 2.1-2 3.6-5 3.6-2.3 0-4.2-.8-5-2.4'/%3E%3C/svg%3E");
	--mc-i-house: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v10H3z'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E");
	--mc-i-air: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 8h11a3 3 0 1 0-3-3M3 12h16a3 3 0 1 1-3 3M3 16h7'/%3E%3C/svg%3E");
}
.mc-i-check { --mc-icon: var(--mc-i-check); }
.mc-i-snow { --mc-icon: var(--mc-i-snow); }
.mc-i-flame { --mc-icon: var(--mc-i-flame); }
.mc-i-cycle { --mc-icon: var(--mc-i-cycle); }
.mc-i-split { --mc-icon: var(--mc-i-split); }
.mc-i-wrench { --mc-icon: var(--mc-i-wrench); }
.mc-i-shield { --mc-icon: var(--mc-i-shield); }
.mc-i-thumb { --mc-icon: var(--mc-i-thumb); }
.mc-i-pin { --mc-icon: var(--mc-i-pin); }
.mc-i-clock { --mc-icon: var(--mc-i-clock); }
.mc-i-dollar { --mc-icon: var(--mc-i-dollar); }
.mc-i-house { --mc-icon: var(--mc-i-house); }
.mc-i-air { --mc-icon: var(--mc-i-air); }
.mc-i-phone { --mc-icon: var(--mc-i-phone); }
.mc-i-mail { --mc-icon: var(--mc-i-mail); }

/* ---------- Service cards ---------- */
.mc-cards { gap: 1.5rem; }
.mc-cards.mc-grid-3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mc-cards.mc-grid-3 > .wp-block-column { flex-basis: auto !important; }
.mc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem 1.75rem 1.75rem;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: var(--mc-white);
	box-shadow: var(--mc-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mc-card:hover {
	transform: translateY(-5px);
	border-color: transparent;
	box-shadow: var(--mc-shadow-lg);
}
.mc-card h3 { margin: 0 0 0.6rem; }
.mc-card h3 a { color: inherit; text-decoration: none; }
.mc-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.mc-card p { margin: 0 0 1rem; }
.mc-card .mc-more { margin-top: auto; margin-bottom: 0; }
.mc-card-icon {
	position: relative;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 0 1.25rem !important;
	border-radius: 12px;
	background: var(--mc-sky);
	font-size: 0;
	transition: background-color 0.25s ease;
}
.mc-card-icon::after {
	content: "";
	position: absolute;
	inset: 0.85rem;
	background: var(--mc-blue);
	-webkit-mask: var(--mc-icon, var(--mc-i-check)) center / contain no-repeat;
	mask: var(--mc-icon, var(--mc-i-check)) center / contain no-repeat;
	transition: background-color 0.25s ease;
}
.mc-card.is-warm .mc-card-icon::after { background: var(--mc-red); }
.mc-card:hover .mc-card-icon { background: var(--mc-navy); }
.mc-card:hover .mc-card-icon::after { background: #fff; }
.mc-more,
.mc-more a {
	color: var(--mc-red);
	font-family: var(--mc-heading-font);
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}
.mc-more a::after { content: " →"; transition: margin 0.2s ease; }
.mc-card:hover .mc-more a::after,
.mc-more a:hover::after { margin-left: 0.25rem; }
.mc-navy .mc-card { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); box-shadow: none; color: rgba(255, 255, 255, 0.8); }
.mc-navy .mc-card .mc-card-icon { background: rgba(255, 255, 255, 0.1); }
.mc-navy .mc-card .mc-card-icon::after { background: #fff; }

/* ---------- Lifecycle timeline (Install → Maintain → Repair → Upgrade) ---------- */
.entry-content ol.mc-lifecycle {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: mc-step;
}
ol.mc-lifecycle::before {
	content: "";
	position: absolute;
	top: 1.75rem;
	right: 12.5%;
	left: 12.5%;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--mc-red), var(--mc-blue));
	opacity: 0.35;
}
ol.mc-lifecycle > li {
	position: relative;
	margin: 0;
	padding: 0 0.5rem;
	text-align: center;
	counter-increment: mc-step;
}
ol.mc-lifecycle > li::before {
	content: counter(mc-step, decimal-leading-zero);
	position: relative;
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.1rem;
	border: 4px solid var(--mc-sky);
	border-radius: 50%;
	background: var(--mc-navy);
	color: #fff;
	font-family: var(--mc-heading-font);
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: 0 0 0 2px var(--mc-line);
}
ol.mc-lifecycle > li:nth-child(odd)::before { background: var(--mc-red); }
ol.mc-lifecycle > li:nth-child(even)::before { background: var(--mc-blue); }
ol.mc-lifecycle strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--mc-navy);
	font-family: var(--mc-heading-font);
	font-size: 1.45rem;
	text-transform: uppercase;
}

/* ---------- Photos ---------- */
.mc-photo {
	overflow: hidden;
	margin: 0;
	border-radius: var(--mc-radius);
	box-shadow: var(--mc-shadow-lg);
}
.entry-content .mc-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.mc-photo:hover img { transform: scale(1.04); }
.mc-photo figcaption {
	margin: 0;
	padding: 0.5rem 0.9rem;
	background: var(--mc-white);
	color: var(--mc-muted);
	font-size: 0.75rem;
}
.mc-photo figcaption a { color: inherit; }

/* ---------- Check list ---------- */
.entry-content ul.mc-checks { margin: 0 0 1.5rem; padding: 0; list-style: none; }
ul.mc-checks > li {
	position: relative;
	margin-bottom: 0.7rem;
	padding-left: 2.1rem;
}
ul.mc-checks > li::before {
	content: "";
	position: absolute;
	top: 0.15em;
	left: 0;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--mc-red) var(--mc-i-check-white) center / 0.85rem no-repeat;
}
.mc-checks.is-blue > li::before { background-color: var(--mc-blue); }
.mc-checks.mc-cols-2 { columns: 2; column-gap: 2rem; }
.mc-checks.mc-cols-2 > li { break-inside: avoid; }

/* ---------- Carrier band ---------- */
.entry-content > .mc-carrier {
	position: relative;
	overflow: hidden;
}
.entry-content > .mc-carrier::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 6px;
	background: var(--mc-stripe);
}
.mc-carrier .wp-block-columns { align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.mc-carrier-panel {
	padding: 2rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--mc-radius);
	background: rgba(255, 255, 255, 0.05);
}
.mc-carrier-panel h3 { margin-top: 0; }
.mc-carrier-panel ul.mc-checks > li::before { background-color: var(--mc-blue); }
.mc-wordmark {
	margin: 0 0 0.5rem !important;
	color: #fff;
	font-family: var(--mc-heading-font);
	font-size: clamp(2.6rem, 6vw, 4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.mc-wordmark span { color: #8fb3ff; }
.mc-fineprint { font-size: 0.85rem; opacity: 0.75; }

/* ---------- Recommend / review band ---------- */
.mc-recommend {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem 2.25rem;
	border-radius: var(--mc-radius);
	background: #fff;
	box-shadow: var(--mc-shadow);
}
/* Kadence wraps group content in an inner container, so the grid goes on whichever holds the items. */
.mc-recommend > .wp-block-group__inner-container,
.mc-recommend:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1.5rem 2rem;
}
.mc-recommend .wp-block-group__inner-container > *,
.mc-recommend > * { margin: 0; }
.mc-recommend .mc-big {
	margin: 0;
	color: var(--mc-blue);
	font-family: var(--mc-heading-font);
	font-size: clamp(3rem, 7vw, 4.5rem);
	font-weight: 700;
	line-height: 1;
}
.mc-recommend h3 { margin: 0 0 0.35rem; }
.mc-recommend p { margin: 0; }

/* ---------- Service area ---------- */
.entry-content ul.mc-towns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}
.mc-towns li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.4rem 0.9rem 0.4rem 0.7rem;
	border: 1px solid var(--mc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mc-navy);
	font-weight: 600;
	font-size: 0.95rem;
}
.mc-towns li::before {
	content: "";
	width: 0.95rem;
	height: 0.95rem;
	background: var(--mc-red);
	-webkit-mask: var(--mc-i-pin) center / contain no-repeat;
	mask: var(--mc-i-pin) center / contain no-repeat;
}
.mc-map {
	overflow: hidden;
	border-radius: var(--mc-radius);
	aspect-ratio: 4 / 3;
	background: var(--mc-sky);
	box-shadow: var(--mc-shadow);
}
.mc-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.entry-content > .mc-cta {
	position: relative;
	margin: 0;
	padding: clamp(3rem, 6vw, 4.5rem) var(--mc-gutter);
	overflow: hidden;
	background: linear-gradient(115deg, var(--mc-red) 0%, var(--mc-red-dark) 60%);
	color: #fff;
}
.entry-content > .mc-cta::after {
	content: "";
	position: absolute;
	top: -40%;
	right: -6%;
	width: 42%;
	height: 180%;
	background: var(--mc-blue);
	transform: skewX(-18deg);
	box-shadow: -14px 0 0 #fff;
}
.mc-cta > * { position: relative; z-index: 1; }
.mc-cta h2 { color: #fff; margin-bottom: 0.5rem; }
.mc-cta p { color: rgba(255, 255, 255, 0.9); }
.mc-cta .wp-block-columns { align-items: center; }
.mc-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: #fff;
	color: var(--mc-red);
}
.mc-cta .wp-block-button__link:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }

/* ---------- Inner page hero ---------- */
.entry-content > .mc-page-hero {
	position: relative;
	margin: 0;
	padding: clamp(3rem, 7vw, 5.5rem) var(--mc-gutter);
	overflow: hidden;
	background-color: var(--mc-navy);
	background-image:
		var(--mc-shade, linear-gradient(90deg, var(--mc-navy) 0%, var(--mc-navy) 38%, rgba(13, 31, 60, 0.72) 70%, rgba(13, 31, 60, 0.35) 100%)),
		var(--mc-bg, none);
	/* Per-page photo framing: --mc-bg-size / --mc-bg-pos (default: fill and center). */
	background-position: center, var(--mc-bg-pos, center);
	background-repeat: no-repeat;
	background-size: cover, var(--mc-bg-size, cover);
	color: rgba(255, 255, 255, 0.88);
}
.entry-content > .mc-page-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 6px;
	background: var(--mc-stripe);
}
/* Every hero line shares the same left edge; the text column is narrowed with padding, not
   max-width (WordPress centers narrower blocks in a constrained layout). */
.mc-page-hero h1 { margin: 0.25rem 0 0.75rem; color: #fff; padding-right: clamp(0px, 42%, 560px); }
.mc-page-hero p { font-size: 1.2rem; padding-right: clamp(0px, 38%, 480px); }
.mc-page-hero p.mc-eyebrow { font-size: 1.05rem; padding-right: 0; }
.mc-page-hero .mc-eyebrow { color: #ff6b7d; }
.mc-page-hero .mc-eyebrow::before { box-shadow: none; }
.mc-page-hero .wp-block-buttons { margin-top: 1.5rem; }
.mc-page-hero .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #fff; }
.mc-page-hero .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color):hover { background: #fff; color: var(--mc-navy); }

/* Page hero photos: Mike Campbell's own job photos (images/work/, see images/CREDITS.md). */
.mc-bg-services { --mc-bg: url(images/work/work-services-condenser.jpg); }
.mc-bg-ac { --mc-bg: url(images/work/work-ac-pair.jpg); }
.mc-bg-heating { --mc-bg: url(images/work/work-furnace-2.jpg); }
.mc-bg-heatpump { --mc-bg: url(images/work/work-ductless-outdoor.jpg); }
.mc-bg-ductless { --mc-bg: url(images/work/work-ductless-indoor.jpg); }
/* Wide screens: every header photo sits on the right of the header (beside the text, not behind
   it) with a lighter fade, framed on the equipment. --mc-bg-pos sets which part of the photo shows. */
@media (min-width: 900px) {
	.entry-content > .mc-page-hero {
		--mc-bg-size: 58% auto;
		--mc-shade: linear-gradient(90deg, var(--mc-navy) 0%, var(--mc-navy) 42%, rgba(13, 31, 60, 0.45) 58%, rgba(13, 31, 60, 0.12) 100%);
	}
	.entry-content > .mc-bg-services { --mc-bg-pos: right 62%; }
	.entry-content > .mc-bg-ac { --mc-bg-pos: right 62%; }
	.entry-content > .mc-bg-heating { --mc-bg-pos: right 86%; }
	.entry-content > .mc-bg-heatpump { --mc-bg-size: 62% auto; --mc-bg-pos: right 65%; }
	.entry-content > .mc-bg-ductless { --mc-bg-pos: right 12%; }
	.entry-content > .mc-bg-maintenance { --mc-bg-pos: right 80%; }
	.entry-content > .mc-bg-carrier { --mc-bg-size: 56% auto; --mc-bg-pos: right 30%; }
	.entry-content > .mc-bg-about { --mc-bg-size: 50% auto; --mc-bg-pos: right 46%; }
	.entry-content > .mc-bg-contact { --mc-bg-pos: right 70%; }
}
.mc-bg-maintenance { --mc-bg: url(images/work/work-furnace-3.jpg); }
.mc-bg-carrier { --mc-bg: url(images/work/work-carrier.jpg); }
.mc-bg-about { --mc-bg: url(images/work/work-sign.jpg); }
.mc-bg-contact { --mc-bg: url(images/work/work-condenser-siding.jpg); }

/* ---------- Side card (service pages) ---------- */
.mc-side-card {
	position: sticky;
	top: 140px;
	padding: 2rem;
	border-radius: var(--mc-radius);
	background: var(--mc-navy);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: var(--mc-shadow-lg);
}
.mc-side-card::before {
	content: "";
	display: block;
	height: 6px;
	margin: -2rem -2rem 1.5rem;
	border-radius: var(--mc-radius) var(--mc-radius) 0 0;
	background: var(--mc-stripe);
}
.mc-side-card h3 { margin-top: 0; color: #fff; }
.mc-side-card .mc-phone-big a,
.mc-side-card a.mc-phone {
	color: #fff;
	font-family: var(--mc-heading-font);
	font-size: 2rem;
	font-weight: 700;
	text-decoration: none;
}
.mc-side-card .wp-block-buttons { margin-top: 1rem; }
.mc-side-card .wp-block-button { width: 100%; }
.mc-side-card .wp-block-button__link { width: 100%; }
.mc-side-card .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #fff; }
.mc-side-card ul.mc-checks > li::before { background-color: var(--mc-blue); }

/* ---------- Callout ---------- */
.mc-callout {
	padding: 1.25rem 1.5rem;
	border-left: 5px solid var(--mc-red);
	border-radius: 0 var(--mc-radius) var(--mc-radius) 0;
	background: var(--mc-sky);
}
.mc-callout > :last-child { margin-bottom: 0; }

/* ---------- FAQ (core Details block) ---------- */
.mc-faq .wp-block-details {
	margin: 0 0 0.75rem;
	padding: 0;
	border: 1px solid var(--mc-line);
	border-radius: 12px;
	background: var(--mc-white);
	transition: box-shadow 0.2s ease;
}
.mc-faq .wp-block-details[open] { box-shadow: var(--mc-shadow); }
.mc-faq .wp-block-details summary {
	position: relative;
	padding: 1.15rem 3.5rem 1.15rem 1.35rem;
	color: var(--mc-navy);
	font-weight: 700;
	font-size: 1.1rem;
	cursor: pointer;
	list-style: none;
}
.mc-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.mc-faq .wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 1.1rem;
	display: grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: var(--mc-sky);
	color: var(--mc-red);
	font-size: 1.3rem;
	line-height: 1;
	transform: translateY(-50%);
}
.mc-faq .wp-block-details[open] summary::after { content: "–"; background: var(--mc-red); color: #fff; }
.mc-faq .wp-block-details > :not(summary) { margin: 0; padding: 0 1.35rem 1.2rem; }

/* ---------- Contact cards ---------- */
.mc-contact-cards { gap: 1.5rem; }
.mc-contact-card {
	padding: 2rem 1.75rem;
	border: 1px solid var(--mc-line);
	border-radius: var(--mc-radius);
	background: #fff;
	text-align: center;
	box-shadow: var(--mc-shadow);
}
.mc-contact-card .mc-card-icon { margin-left: auto !important; margin-right: auto !important; }
.mc-contact-card h3 { margin: 0 0 0.4rem; }
.mc-contact-card a {
	color: var(--mc-navy);
	font-weight: 700;
	font-size: 1.2rem;
	word-break: break-word;
}
.mc-hours-note { margin: 0; }

/* ---------- Legal pages ---------- */
.mc-legal h2 { margin-top: 2.25rem; margin-bottom: 0.5rem; font-size: 1.6rem; }
.mc-legal > :first-child { margin-top: 0; }
.mc-legal li { margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.mc-footer-band {
	position: relative;
	padding: clamp(3.5rem, 6vw, 5rem) var(--mc-gutter) 2.5rem;
	background: var(--mc-navy);
	color: rgba(255, 255, 255, 0.75);
}
.mc-footer-band::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 6px;
	background: var(--mc-stripe);
}
.mc-footer-band__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
	gap: 2.5rem;
	max-width: var(--global-content-width, 1290px);
	margin: 0 auto;
}
.mc-footer-band h2 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 1.3rem;
	letter-spacing: 0.06em;
}
.mc-footer-logo { display: block; width: 300px; max-width: 100%; height: auto; margin-bottom: 1.25rem; }
.mc-footer-band a { color: #fff; }
.mc-footer-band a:hover { color: #ff8a98; }
.mc-footer-band ul { margin: 0; padding: 0; list-style: none; }
.mc-footer-band li { margin-bottom: 0.5rem; }
.mc-footer-band .mc-phone {
	font-family: var(--mc-heading-font);
	font-size: 1.8rem;
	font-weight: 700;
	text-decoration: none;
}
.mc-footer-band .mc-contact-lines p { margin: 0 0 0.6rem; }
.mc-footer-carrier {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.4rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	font-size: 0.85rem;
	text-decoration: none;
}
.mc-social a { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.mc-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.mc-social a:hover .mc-social__icon { border-color: var(--mc-blue); background: var(--mc-blue); }
.mc-social a:hover { color: #fff; }
.mc-social__text { text-decoration: underline; }
.site-footer .site-bottom-footer-wrap { font-size: 0.85rem; }
.site-footer .site-bottom-footer-wrap .footer-html,
.site-footer .site-bottom-footer-wrap .footer-html a { color: rgba(255, 255, 255, 0.6); }
.site-footer .footer-html-inner p:has(> .mc-credit) { margin-top: 0.5rem; }
.site-footer .site-bottom-footer-wrap .footer-html a.mc-credit {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.8rem;
	text-decoration: none;
	opacity: 0.85;
}
.site-footer .site-bottom-footer-wrap .footer-html a.mc-credit:hover { opacity: 1; }
.mc-credit img { display: block; width: 95px; height: auto; }

/* ---------- Mobile call bar ---------- */
.mc-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mc-footer-band__inner { grid-template-columns: 1fr 1fr; }
	.mc-cards.mc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content ol.mc-lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
	ol.mc-lifecycle::before { display: none; }
	.mc-trust .wp-block-columns { flex-wrap: wrap !important; }
	.mc-trust .wp-block-column { flex-basis: 50% !important; }
	.mc-trust .wp-block-column:nth-child(3) { border-left: 0; }
	.mc-trust .wp-block-column:nth-child(n+3) { border-top: 1px solid var(--mc-line); }
	.mc-side-card { position: static; }
}
@media (max-width: 781px) {
	.mc-hero-media { margin-top: 1rem; }
	.mc-hero-media::before { right: -8px; top: -8px; }
	.mc-badge { left: 12px; bottom: -22px; }
	.mc-recommend > .wp-block-group__inner-container { grid-template-columns: 1fr; text-align: center; }
	.mc-recommend .wp-block-buttons { justify-content: center; }
	.entry-content > .mc-cta::after { display: none; }
	.mc-checks.mc-cols-2 { columns: 1; }
}
@media (max-width: 767px) {
	.mc-callbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		display: grid;
		grid-template-columns: 1fr 1fr;
		box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.2);
	}
	.mc-callbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		min-height: 56px;
		color: #fff;
		font-family: var(--mc-heading-font);
		font-size: 1.15rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-decoration: none;
		text-transform: uppercase;
	}
	.mc-callbar svg { width: 20px; height: 20px; }
	.mc-callbar__call { background: var(--mc-red); }
	.mc-callbar__mail { background: var(--mc-blue); }
	body { padding-bottom: 56px; }
	.mc-footer-band__inner { grid-template-columns: 1fr; gap: 2rem; }
	.mc-cards.mc-grid-3 { grid-template-columns: 1fr; }
	.entry-content ol.mc-lifecycle { grid-template-columns: 1fr; }
	.mc-trust .wp-block-column { flex-basis: 100% !important; border-left: 0 !important; }
	.mc-trust .wp-block-column + .wp-block-column { border-top: 1px solid var(--mc-line); }
}

/* ---------- Motion ---------- */
@keyframes mc-rise {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}
.mc-hero .wp-block-column > *,
.mc-page-hero > * { animation: mc-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mc-hero .wp-block-column > :nth-child(2),
.mc-page-hero > :nth-child(2) { animation-delay: 0.08s; }
.mc-hero .wp-block-column > :nth-child(3),
.mc-page-hero > :nth-child(3) { animation-delay: 0.16s; }
.mc-hero .wp-block-column > :nth-child(4),
.mc-page-hero > :nth-child(4) { animation-delay: 0.24s; }
.mc-hero .wp-block-column > :nth-child(5) { animation-delay: 0.32s; }
.mc-hero .wp-block-column + .wp-block-column > * { animation-delay: 0.3s; }

.mc-js .mc-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--mc-delay, 0s);
}
.mc-js .mc-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.mc-js .mc-reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
.entry-content .wp-block-heading[id] { scroll-margin-top: 150px; }

/* Eyebrow label sits tight above its heading. */
.entry-content .mc-eyebrow + .wp-block-heading { margin-top: 0.25rem !important; }

/* Recent work gallery (home page). */
.mc-gallery > .wp-block-group__inner-container,
.mc-gallery:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}
.mc-gallery .mc-photo { margin: 0; box-shadow: var(--mc-shadow); }
.entry-content .mc-gallery .mc-photo img { aspect-ratio: 1 / 1; }
.mc-gallery .mc-photo figcaption { font-size: 0.85rem; font-weight: 600; color: var(--mc-navy); }
@media (max-width: 1024px) {
	.mc-gallery > .wp-block-group__inner-container,
	.mc-gallery:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Homeowner guide (Know Your System) ---------- */
.entry-content > .mc-toc-band { padding-top: 2rem; padding-bottom: 2rem; }
.entry-content ul.mc-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mc-toc li { margin: 0; }
.mc-toc li a {
	display: inline-block;
	padding: 0.5em 1em;
	border: 1px solid var(--mc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--mc-navy);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.mc-toc li a:hover { border-color: var(--mc-red); background: var(--mc-red); color: #fff; }

/* Decoder diagrams (filter size, equipment label). */
.mc-diagram {
	position: relative;
	margin: 1.5rem 0;
	padding: 1.75rem 1.5rem 1.5rem;
	overflow: hidden;
	border-radius: var(--mc-radius);
	background: var(--mc-navy);
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
}
.mc-diagram::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: var(--mc-stripe);
}
.mc-diagram .mc-code {
	margin: 0 0 0.25rem;
	color: #fff;
	font-family: var(--mc-heading-font);
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	overflow-wrap: anywhere;
}
.mc-code .mc-hl-red { color: #ff5a6e; }
.mc-code .mc-hl-blue { color: #5aa8ff; }
.mc-code .mc-dim { opacity: 0.45; }
.mc-diagram .mc-code-label {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.7;
}
.mc-diagram .mc-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 0;
	font-size: 0.95rem;
}
.mc-diagram .mc-legend strong { color: #fff; }
.mc-diagram .mc-legend .is-red { color: #ff8a98; }
.mc-diagram .mc-legend .is-blue { color: #8fc3ff; }

/* Tables. */
.mc-table { margin: 1.5rem 0; overflow-x: auto; }
.mc-table table { width: 100%; border-collapse: collapse; background: #fff; }
.mc-table th,
.mc-table td { padding: 0.8rem 1rem; border: 1px solid var(--mc-line); text-align: left; vertical-align: top; }
.mc-table thead th { background: var(--mc-navy); color: #fff; font-family: var(--mc-heading-font); font-size: 1.05rem; letter-spacing: 0.04em; }
.mc-table tbody tr:nth-child(even) td { background: var(--mc-sky); }

/* Numbered steps (vertical). */
.entry-content ol.mc-steps { counter-reset: mc-num; margin: 1.25rem 0; padding: 0; list-style: none; }
ol.mc-steps > li {
	position: relative;
	margin: 0 0 1rem;
	padding-left: 3.25rem;
	counter-increment: mc-num;
}
ol.mc-steps > li::before {
	content: counter(mc-num);
	position: absolute;
	top: -0.1rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--mc-blue);
	color: #fff;
	font-family: var(--mc-heading-font);
	font-weight: 700;
}
ol.mc-steps > li:nth-child(odd)::before { background: var(--mc-red); }
ol.mc-steps strong { color: var(--mc-navy); }

/* Season cards: four in a row on desktop. */
.mc-cards.mc-grid-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mc-cards.mc-grid-4 > .wp-block-column { flex-basis: auto !important; }
.mc-cards .mc-card ul.mc-checks { margin-bottom: 0; }
.mc-cards .mc-card ul.mc-checks > li { font-size: 0.97rem; }
@media (max-width: 1024px) { .mc-cards.mc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .mc-cards.mc-grid-4 { grid-template-columns: 1fr; } }

.mc-guide h2.wp-block-heading { margin-top: 0; }
.mc-bg-guide { --mc-bg: url(images/work/work-furnace.jpg); }
@media (min-width: 900px) {
	.entry-content > .mc-bg-guide { --mc-bg-pos: right 80%; }
}

/* Callouts on light-blue sections get a white fill so they stand out. */
.mc-sky .mc-callout { background: #fff; }
