:root {
	--hhmc-forest: var(--hh-forest, #103f36);
	--hhmc-forest-deep: var(--hh-forest-deep, #0b2f29);
	--hhmc-clay: var(--hh-clay, #c86f4a);
	--hhmc-cream: var(--hh-cream, #f3efe5);
	--hhmc-paper: var(--hh-paper, #fbfaf6);
	--hhmc-ink: var(--hh-ink, #182722);
	--hhmc-muted: var(--hh-muted, #5f6d68);
	--hhmc-line: var(--hh-line, #d8d8cf);
	--hhmc-success: #d9eee5;
	--hhmc-warning: #fff0d1;
}

.hhmc-wordpress-page .wp-block-post-content,
.hhmc-wordpress-page .entry-content {
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
}

.hhmc-page,
.hhmc-page * {
	box-sizing: border-box;
}

.hhmc-page {
	background: var(--hhmc-cream);
	color: var(--hhmc-ink);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.55;
}

.hhmc-page h1,
.hhmc-page h2,
.hhmc-page p {
	margin-block-start: 0;
}

.hhmc-page h1,
.hhmc-page h2 {
	color: var(--hhmc-forest);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: -.035em;
}

.hhmc-wrap {
	margin-inline: auto;
	max-width: 1180px;
	width: calc(100% - clamp(2rem, 8vw, 7rem));
}

.hhmc-kicker {
	color: var(--hhmc-clay);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.hhmc-lede {
	color: var(--hhmc-muted);
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.75;
	max-width: 760px;
}

.hhmc-trust {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-top: 1.7rem;
}

.hhmc-trust span {
	background: rgba(255, 255, 255, .58);
	border: 1px solid var(--hhmc-line);
	color: var(--hhmc-forest);
	font-size: .72rem;
	font-weight: 700;
	padding: .55rem .75rem;
}

.hhmc-hub-hero,
.hhmc-tool-hero {
	background: var(--hhmc-paper);
	border-bottom: 1px solid var(--hhmc-line);
	padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.hhmc-hub-hero h1,
.hhmc-tool-hero h1 {
	font-size: clamp(3rem, 7vw, 6.4rem);
	line-height: .98;
	margin-bottom: 1.5rem;
	max-width: 980px;
}

.hhmc-back {
	color: var(--hhmc-forest);
	display: inline-block;
	font-size: .78rem;
	font-weight: 800;
	margin-bottom: 3rem;
	text-decoration: none;
}

.hhmc-back:hover,
.hhmc-back:focus-visible {
	color: var(--hhmc-clay);
	text-decoration: underline;
}

.hhmc-hub-groups {
	padding-block: clamp(3rem, 7vw, 6.5rem);
}

.hhmc-hub-group + .hhmc-hub-group {
	margin-top: clamp(4rem, 8vw, 7rem);
}

.hhmc-group-heading {
	align-items: center;
	border-bottom: 1px solid var(--hhmc-line);
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding-bottom: .9rem;
}

.hhmc-group-heading p {
	color: var(--hhmc-forest);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	margin-bottom: 0;
	text-transform: uppercase;
}

.hhmc-group-heading span {
	color: var(--hhmc-clay);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
}

.hhmc-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hhmc-hub-group:last-child .hhmc-card-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhmc-tool-card {
	background: var(--hhmc-paper);
	border: 1px solid var(--hhmc-line);
	color: var(--hhmc-ink);
	display: grid;
	gap: 1.25rem;
	grid-template-columns: auto 1fr;
	min-height: 310px;
	padding: clamp(1.4rem, 3vw, 2.3rem);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hhmc-tool-card:hover,
.hhmc-tool-card:focus-visible {
	border-color: var(--hhmc-clay);
	box-shadow: 0 22px 50px rgba(14, 44, 38, .11);
	transform: translateY(-4px);
}

.hhmc-tool-card:focus-visible,
.hhmc-page input:focus-visible,
.hhmc-page select:focus-visible,
.hhmc-page button:focus-visible,
.hhmc-page a:focus-visible {
	outline: 3px solid rgba(200, 111, 74, .28);
	outline-offset: 3px;
}

.hhmc-tool-card.is-featured {
	background: var(--hhmc-forest);
	border-color: var(--hhmc-forest);
}

.hhmc-tool-card.is-featured h2,
.hhmc-tool-card.is-featured p,
.hhmc-tool-card.is-featured strong,
.hhmc-tool-card.is-featured .hhmc-card-number {
	color: #fff;
}

.hhmc-card-number {
	color: var(--hhmc-clay);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
}

.hhmc-tool-card > div {
	display: flex;
	flex-direction: column;
}

.hhmc-tool-card h2 {
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	line-height: 1.08;
	margin-bottom: 1rem;
}

.hhmc-tool-card p {
	color: var(--hhmc-muted);
	font-size: .9rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.hhmc-tool-card strong {
	color: var(--hhmc-forest);
	font-size: .76rem;
	margin-top: auto;
}

.hhmc-hub-footer {
	background: var(--hhmc-forest);
	color: #fff;
	padding-block: 3rem;
}

.hhmc-hub-footer .hhmc-wrap {
	align-items: center;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
}

.hhmc-hub-footer p {
	font-size: .78rem;
	margin-bottom: 0;
	max-width: 760px;
	opacity: .85;
}

.hhmc-hub-footer a,
.hhmc-actions a {
	background: var(--hhmc-clay);
	color: #fff;
	font-size: .76rem;
	font-weight: 800;
	padding: .9rem 1.1rem;
	text-align: center;
	text-decoration: none;
}

.hhmc-workspace {
	align-items: start;
	display: grid;
	gap: clamp(1rem, 3vw, 2rem);
	grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
	padding-block: clamp(2rem, 6vw, 5rem);
}

.hhmc-form,
.hhmc-results {
	border: 1px solid var(--hhmc-line);
	padding: clamp(1.25rem, 3vw, 2.5rem);
}

.hhmc-form {
	background: var(--hhmc-paper);
}

.hhmc-results {
	background: var(--hhmc-forest-deep);
	color: #fff;
	position: sticky;
	top: 120px;
}

.hhmc-form-heading,
.hhmc-results-heading {
	align-items: flex-start;
	display: grid;
	gap: 1rem;
	grid-template-columns: auto 1fr;
	margin-bottom: 2rem;
}

.hhmc-form-heading > span,
.hhmc-results-heading > span {
	color: var(--hhmc-clay);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
}

.hhmc-form-heading h2 {
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	line-height: 1.1;
	margin-bottom: .4rem;
}

.hhmc-form-heading p,
.hhmc-results-heading p {
	margin-bottom: 0;
}

.hhmc-form-heading p,
.hhmc-results-heading small {
	color: var(--hhmc-muted);
	font-size: .78rem;
}

.hhmc-results-heading p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
}

.hhmc-results-heading small {
	color: rgba(255, 255, 255, .65);
}

.hhmc-fields {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hhmc-fields.is-compact {
	margin-top: 1.25rem;
}

.hhmc-field {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.hhmc-label {
	color: var(--hhmc-ink);
	font-size: .78rem;
	font-weight: 800;
}

.hhmc-field small {
	color: var(--hhmc-muted);
	font-size: .66rem;
	line-height: 1.45;
}

.hhmc-money-input,
.hhmc-suffix-input {
	align-items: center;
	background: #fff;
	border: 1px solid var(--hhmc-line);
	display: flex;
	min-height: 58px;
	overflow: hidden;
}

.hhmc-money-input > span,
.hhmc-suffix-input > span {
	color: var(--hhmc-clay);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	font-weight: 700;
	padding-inline: 1rem 0;
}

.hhmc-suffix-input > span {
	padding-inline: 0 1rem;
}

.hhmc-field input,
.hhmc-field select {
	background: #fff;
	border: 1px solid var(--hhmc-line);
	border-radius: 0;
	color: var(--hhmc-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	min-height: 58px;
	padding: .75rem 1rem;
	width: 100%;
}

.hhmc-money-input input,
.hhmc-suffix-input input {
	border: 0;
	min-width: 0;
}

.hhmc-check {
	align-items: flex-start;
	border: 1px solid var(--hhmc-line);
	cursor: pointer;
	display: flex;
	font-size: .76rem;
	gap: .75rem;
	grid-column: 1 / -1;
	line-height: 1.55;
	padding: 1rem;
}

.hhmc-check input {
	accent-color: var(--hhmc-clay);
	height: 20px;
	margin-top: 2px;
	width: 20px;
}

.hhmc-advanced {
	border-top: 1px solid var(--hhmc-line);
	grid-column: 1 / -1;
	margin-top: .4rem;
	padding-top: 1rem;
}

.hhmc-advanced summary {
	color: var(--hhmc-forest);
	cursor: pointer;
	font-size: .78rem;
	font-weight: 800;
}

.hhmc-update {
	background: var(--hhmc-forest);
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: .8rem;
	font-weight: 800;
	margin-top: 1.5rem;
	min-height: 52px;
	padding: .8rem 1.15rem;
	width: 100%;
}

.hhmc-status {
	background: rgba(255, 255, 255, .08);
	border-inline-start: 3px solid rgba(255, 255, 255, .35);
	font-size: .72rem;
	line-height: 1.55;
	margin-bottom: 1.2rem;
	min-height: 3rem;
	padding: .8rem 1rem;
}

.hhmc-status[data-kind="success"] {
	background: rgba(217, 238, 229, .12);
	border-color: #8fd0af;
}

.hhmc-status[data-kind="warning"] {
	background: rgba(255, 240, 209, .14);
	border-color: #f2ba58;
}

.hhmc-result-list {
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.hhmc-result-row {
	align-items: baseline;
	border-bottom: 1px solid rgba(255, 255, 255, .13);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 1rem 0;
}

.hhmc-result-row span {
	font-size: .72rem;
	opacity: .72;
}

.hhmc-result-row strong {
	font-size: .95rem;
	text-align: end;
}

.hhmc-result-row.is-primary {
	align-items: flex-start;
	display: block;
	padding: 1.4rem 0 1.6rem;
}

.hhmc-result-row.is-primary span {
	display: block;
	margin-bottom: .35rem;
}

.hhmc-result-row.is-primary strong {
	color: #fff;
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.35rem, 5vw, 4rem);
	font-weight: 400;
	letter-spacing: -.04em;
	line-height: 1;
	text-align: start;
}

.hhmc-actions {
	display: grid;
	gap: .65rem;
	grid-template-columns: 1fr;
	margin-top: 1.5rem;
}

.hhmc-actions button {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: .72rem;
	font-weight: 800;
	min-height: 46px;
}

.hhmc-tool-note {
	border-top: 1px solid var(--hhmc-line);
	color: var(--hhmc-muted);
	display: flex;
	font-size: .67rem;
	gap: 2rem;
	justify-content: space-between;
	padding-block: 1.5rem 3rem;
}

.hhmc-tool-note p:first-child {
	max-width: 790px;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

[dir="rtl"] .hhmc-page,
.hhmc-page[dir="rtl"] {
	font-family: Tahoma, Arial, sans-serif;
}

[dir="rtl"] .hhmc-page h1,
[dir="rtl"] .hhmc-page h2,
.hhmc-page[dir="rtl"] h1,
.hhmc-page[dir="rtl"] h2 {
	font-family: Tahoma, Arial, sans-serif;
	letter-spacing: 0;
}

@media (max-width: 900px) {
	.hhmc-card-grid,
	.hhmc-hub-group:last-child .hhmc-card-grid {
		grid-template-columns: 1fr;
	}

	.hhmc-tool-card {
		min-height: 220px;
	}

	.hhmc-workspace {
		grid-template-columns: 1fr;
	}

	.hhmc-results {
		position: static;
	}
}

@media (max-width: 600px) {
	.hhmc-wrap {
		width: calc(100% - 2rem);
	}

	.hhmc-hub-hero,
	.hhmc-tool-hero {
		padding-block: 3.5rem;
	}

	.hhmc-hub-hero h1,
	.hhmc-tool-hero h1 {
		font-size: clamp(2.55rem, 14vw, 4rem);
	}

	.hhmc-back {
		margin-bottom: 2rem;
	}

	.hhmc-trust {
		display: grid;
	}

	.hhmc-fields,
	.hhmc-fields.is-compact {
		grid-template-columns: 1fr;
	}

	.hhmc-hub-footer .hhmc-wrap,
	.hhmc-tool-note {
		align-items: stretch;
		flex-direction: column;
	}

	.hhmc-hub-footer a {
		width: 100%;
	}

	.hhmc-form,
	.hhmc-results {
		padding: 1.2rem;
	}

	.hhmc-result-row.is-primary strong {
		font-size: 2.4rem;
	}
}

@media print {
	body * {
		visibility: hidden;
	}

	.hhmc-page,
	.hhmc-page * {
		visibility: visible;
	}

	.hhmc-page {
		background: #fff;
		inset: 0;
		position: absolute;
	}

	.hhmc-tool-hero,
	.hhmc-form,
	.hhmc-actions,
	.hhmc-tool-note {
		display: none !important;
	}

	.hhmc-workspace {
		display: block;
		padding: 0;
	}

	.hhmc-results {
		background: #fff;
		color: #000;
		position: static;
	}

	.hhmc-results-heading small,
	.hhmc-result-row span {
		color: #333;
	}

	.hhmc-result-row.is-primary strong {
		color: #000;
	}
}
