/* House Made Clear Quick Answer Box */
.wp-block-hmc-quick-answer.hmc-quick-answer,
.hmc-quick-answer--shortcode {
	--hmc-qa-green: #42654f;
	box-sizing: border-box;
	width: 100%;
	margin: 32px 0;
	padding: clamp(30px, 5vw, 56px);
	overflow: hidden;
	color: #ffffff;
	background: var(--hmc-qa-green);
	border: 0;
	border-radius: 28px;
	box-shadow: none;
}

.hmc-quick-answer *,
.hmc-quick-answer *::before,
.hmc-quick-answer *::after {
	box-sizing: border-box;
}

.hmc-quick-answer .hmc-quick-answer__title {
	margin: 0 0 28px !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 46px);
	font-style: normal;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: none;
}

.hmc-quick-answer p,
.hmc-quick-answer .hmc-quick-answer__content > p {
	max-width: 75ch;
	margin: 0 0 24px !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 400;
	line-height: 1.6;
}

.hmc-quick-answer p:last-child,
.hmc-quick-answer .hmc-quick-answer__content > p:last-child {
	margin-bottom: 0 !important;
}

.hmc-quick-answer ol {
	display: grid;
	gap: 18px;
	margin: 0 0 26px !important;
	padding: 0 !important;
	list-style: none !important;
	counter-reset: hmc-qa-counter;
}

.hmc-quick-answer ol > li {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin: 0 !important;
	padding: 0 !important;
	color: #ffffff !important;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 400;
	line-height: 1.55;
	list-style: none !important;
	counter-increment: hmc-qa-counter;
}

.hmc-quick-answer ol > li::marker {
	content: "";
}

.hmc-quick-answer ol > li::before {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: 1px;
	color: var(--hmc-qa-green);
	background: #ffffff;
	border-radius: 50%;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	content: counter(hmc-qa-counter);
}

.hmc-quick-answer a {
	color: #ffffff !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.hmc-quick-answer strong {
	color: inherit;
	font-weight: 700;
}

@media (max-width: 600px) {
	.wp-block-hmc-quick-answer.hmc-quick-answer,
	.hmc-quick-answer--shortcode {
		margin: 24px 0;
		padding: 26px 20px;
		border-radius: 18px;
	}

	.hmc-quick-answer .hmc-quick-answer__title {
		margin-bottom: 22px !important;
		font-size: 28px;
		line-height: 1.2;
	}

	.hmc-quick-answer p,
	.hmc-quick-answer .hmc-quick-answer__content > p {
		margin-bottom: 20px !important;
		font-size: 17px;
		line-height: 1.55;
	}

	.hmc-quick-answer ol {
		gap: 16px;
		margin-bottom: 22px !important;
	}

	.hmc-quick-answer ol > li {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 13px;
		font-size: 17px;
		line-height: 1.5;
	}

	.hmc-quick-answer ol > li::before {
		width: 38px;
		height: 38px;
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hmc-quick-answer * {
		scroll-behavior: auto !important;
	}
}

