/* Seller resource pages: situation guides and calculators. */
.cqs-page {
	color: #101317;
	font-family: Inter, system-ui, sans-serif;
}
.cqs-hero {
	background-color: #2a2728;
	background-size: cover;
	background-position: center;
	padding: 9rem 20px 4.5rem;
	color: #fafafa;
	text-align: center;
}
.cqs-hero__inner {
	max-width: 780px;
	margin: 0 auto;
}
.cqs-hero h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.15;
	margin: 0 0 20px;
	color: #fafafa;
	text-wrap: balance;
}
.cqs-hero p {
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
	color: #fafafa;
}
.cqs-hero .cqs-crumbs {
	font-size: 13px;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.cqs-crumbs a {
	color: #fafafa;
	text-decoration: underline;
}
.cqs-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 64px 20px 96px;
}
.cqs-content h2,
.cqs-faqs h2,
.cqs-more h2,
.cqs-cta h2,
.cqs-calc h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 400;
	margin: 48px 0 16px;
	color: #101317;
}
.cqs-content h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 32px 0 12px;
}
.cqs-content p,
.cqs-content li,
.cqs-faqs details div,
.cqs-calc__results p {
	font-size: 17px;
	line-height: 1.7;
}
.cqs-content p {
	margin: 0 0 16px;
}
.cqs-content ul,
.cqs-content ol {
	margin: 0 0 16px;
	padding-left: 22px;
}
.cqs-content ul {
	list-style: disc;
}
.cqs-content ol {
	list-style: decimal;
}
.cqs-content li {
	margin-bottom: 8px;
	display: list-item;
}
.cqs-content a,
.cqs-related a {
	color: #a0551e;
	text-decoration: underline;
}
.cqs-summary {
	background: #f6f3ef;
	border-left: 4px solid #a0551e;
	padding: 24px 28px;
	border-radius: 0 8px 8px 0;
}
.cqs-summary h2 {
	margin-top: 0;
	font-size: 24px;
}
.cqs-summary ul {
	margin-bottom: 0;
}
.cqs-cta {
	background: #192242;
	color: #fafafa;
	border-radius: 12px;
	padding: 36px 32px;
	margin: 48px 0;
	text-align: center;
}
.cqs-cta h2 {
	color: #fafafa;
	margin-top: 0;
}
.cqs-cta p {
	color: #fafafa;
	font-size: 17px;
	line-height: 1.6;
	max-width: 560px;
	margin: 0 auto 24px;
}
.cqs-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.cqs-btn {
	display: inline-block;
	border: 1px solid #fafafa;
	border-radius: 8px;
	color: #fafafa;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 20px;
}
.cqs-btn:hover,
.cqs-btn:focus {
	background: #fafafa;
	color: #192242;
}
.cqs-btn--solid {
	background: #a0551e;
	border-color: #a0551e;
}
.cqs-btn--solid:hover,
.cqs-btn--solid:focus {
	background: #fafafa;
	border-color: #fafafa;
	color: #192242;
}
.cqs-faqs details {
	border-bottom: 1px solid #d9d4cd;
	padding: 16px 0;
}
.cqs-faqs summary {
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}
.cqs-faqs details div {
	padding-top: 12px;
}
.cqs-faqs details p {
	margin: 0;
}
.cqs-note {
	font-size: 14px;
	line-height: 1.6;
	color: #5c5750;
	margin: 32px 0 0;
}
.cqs-related {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px 24px;
}
.cqs-related a {
	font-size: 17px;
}

/* Calculator embedded on city pages */
.cqs-embed {
	background: #fff;
}
.cqs-embed .cqs-wrap {
	max-width: 960px;
	padding-top: 72px;
	padding-bottom: 72px;
}
.cqs-embed h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	margin: 0 0 16px;
	color: #101317;
	text-wrap: balance;
}
.cqs-embed__intro {
	font-size: 17px;
	line-height: 1.6;
	text-align: center;
	max-width: 620px;
	margin: 0 auto 40px;
}
.cqs-embed .cqs-calc__results h2 {
	text-align: left;
}
.cqs-embed .cqs-note a {
	color: #a0551e;
	text-decoration: underline;
}

/* Calculators */
.cqs-calc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	margin-bottom: 8px;
}
.cqs-calc--compact {
	margin: 24px 0 32px;
}
.cqs-calc fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 24px;
	min-width: 0;
}
.cqs-calc legend {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	color: #a0551e;
	padding: 0;
	margin-bottom: 12px;
	float: none;
	width: auto;
}
.cqs-calc label {
	display: block;
	margin-bottom: 14px;
}
.cqs-calc label span {
	display: block;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}
.cqs-calc input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #b8b2a9;
	border-radius: 8px;
	padding: 11px 12px;
	font-size: 16px;
	font-family: inherit;
	color: #101317;
	background: #fff;
}
.cqs-calc input:focus {
	outline: 2px solid #a0551e;
	outline-offset: 1px;
}
.cqs-calc small {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: #5c5750;
	margin-top: 5px;
}
.cqs-calc__results {
	background: #f6f3ef;
	border-radius: 12px;
	padding: 24px;
	position: sticky;
	top: 24px;
}
.cqs-calc__results h2 {
	font-size: 22px;
	margin: 0 0 12px;
}
.cqs-calc__results div > div > h2,
.cqs-calc__results div[data-show="offer"] h2,
.cqs-calc__results div[data-show="noOffer"] h2 {
	margin-top: 28px;
}
.cqs-calc table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 15px;
}
.cqs-calc th,
.cqs-calc td {
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid #e1dbd2;
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}
.cqs-calc td {
	text-align: right;
	white-space: nowrap;
	padding-left: 12px;
	font-variant-numeric: tabular-nums;
}
.cqs-calc .cqs-calc__total th,
.cqs-calc .cqs-calc__total td {
	font-weight: 700;
	border-bottom: 0;
	padding-top: 12px;
	font-size: 17px;
}
.cqs-calc__big {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 40px !important;
	line-height: 1.1 !important;
	margin: 0 0 8px;
	color: #a0551e;
}
.cqs-calc__verdict {
	font-weight: 600;
	margin: 16px 0 0;
}
.cqs-calc [hidden] {
	display: none;
}

@media (max-width: 767px) {
	.cqs-hero {
		padding: 7rem 16px 3rem;
	}
	.cqs-wrap {
		padding: 40px 16px 64px;
	}
	.cqs-calc {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
	.cqs-calc__results {
		position: static;
	}
	.cqs-cta {
		padding: 28px 20px;
	}
	.cqs-btn {
		width: 100%;
		text-align: center;
	}
}

/* Simplified sale calculator */
.cqs-calc .cqs-field {
	margin-bottom: 26px;
}
.cqs-calc .cqs-field > span:first-child,
.cqs-calc .cqs-choices legend {
	font-family: Inter, system-ui, sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	color: #101317;
	margin-bottom: 10px;
}
.cqs-money {
	position: relative;
	display: block;
	margin: 0 !important;
}
.cqs-money::before {
	content: "$";
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: #5c5750;
	pointer-events: none;
}
.cqs-calc .cqs-money input {
	padding-left: 30px;
}
.cqs-calc .cqs-field input[type="text"] {
	font-size: 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.cqs-choices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}
.cqs-choices legend {
	grid-column: 1 / -1;
}
.cqs-calc .cqs-choices label {
	margin: 0;
	position: relative;
}
.cqs-choices input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}
.cqs-calc .cqs-choices label > span {
	display: block;
	border: 1px solid #b8b2a9;
	border-radius: 8px;
	padding: 12px 6px;
	margin: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	background: #fff;
}
.cqs-choices label small {
	font-weight: 400;
	margin-top: 2px;
}
.cqs-choices input:checked + span {
	border-color: #a0551e;
	background: #a0551e;
	color: #fff;
}
.cqs-choices input:checked + span small {
	color: #fff;
}
.cqs-choices input:focus-visible + span {
	outline: 2px solid #101317;
	outline-offset: 2px;
}
.cqs-advanced,
.cqs-calc__math {
	margin-top: 8px;
}
.cqs-advanced summary,
.cqs-calc__math summary {
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #a0551e;
	text-decoration: underline;
	padding: 6px 0;
}
.cqs-advanced > p {
	font-size: 14px;
	line-height: 1.5;
	color: #5c5750;
	margin: 8px 0 16px;
}
.cqs-calc__math table {
	margin-top: 10px;
}
.cqs-calc .cqs-calc__label {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.4;
}
.cqs-calc .cqs-calc__sub {
	font-size: 15px;
	line-height: 1.5;
	color: #5c5750;
	margin: 0 0 24px;
}
.cqs-calc .cqs-calc__big {
	color: #101317;
	margin: 0 0 4px;
	overflow-wrap: anywhere;
}
.cqs-calc .cqs-calc__big--accent {
	color: #a0551e;
}
.cqs-calc .cqs-calc__verdict {
	font-size: 15px;
	margin: 0 0 24px;
}
.cqs-calc .cqs-calc__warn {
	font-size: 15px;
	line-height: 1.5;
	background: #fff;
	border-left: 4px solid #a0551e;
	padding: 12px 14px;
	margin: 0 0 20px;
}
@media (max-width: 480px) {
	.cqs-choices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Resource links block (homepage, city pages, blog posts) */
.cqs-situations {
	background: #f6f3ef;
}
.cqs-situations .cqs-wrap {
	max-width: 960px;
	padding-top: 72px;
	padding-bottom: 72px;
}
.cqs-situations h2 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	margin: 0 0 16px;
	color: #101317;
	text-wrap: balance;
}
.cqs-situations__intro {
	font-size: 17px;
	line-height: 1.6;
	text-align: center;
	max-width: 680px;
	margin: 0 auto 36px;
	color: #101317;
}
.cqs-situations__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}
.cqs-situations__list li {
	background: #fff;
	border-radius: 10px;
	padding: 20px 22px;
	margin: 0;
}
.cqs-situations__list a {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #a0551e;
	text-decoration: underline;
	margin-bottom: 6px;
}
.cqs-situations__list span {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: #101317;
}
.container > .cqs-situations {
	background: transparent;
	margin-bottom: 48px;
}
.container > .cqs-situations .cqs-wrap {
	padding: 0;
}

.container > .cqs-situations li {
	background: #f6f3ef;
}
