/* Finding-scoped corrections from the 2026-08-26 rendered audit. */
:is(.entry-content, .editor-styles-wrapper) :is(.lt-proof-inner, .lt-close-inner) {
	margin-inline: auto;
}

:is(.entry-content, .editor-styles-wrapper) .ab-records-inner > .wp-block-sequoia-reviews {
	grid-column: 1 / -1;
}

/* Empty generated discs communicated no status or icon. Keep the record copy
 * aligned without reserving an unexplained 42px slot. */
:is(.entry-content, .editor-styles-wrapper) .ab-record {
	grid-template-columns: minmax(0, 1fr);
}
:is(.entry-content, .editor-styles-wrapper) .ab-record::before {
	content: none;
}

.sv2-case__plan--text-only {
	grid-template-columns: minmax(0, 1fr);
}

/* The homepage media frame follows its actual slot instead of retaining a
 * desktop minimum height below the mobile crop. */
.route-home .h-hero-media,
.route-home .h-hero-media-slot {
	min-height: 0;
}
.route-home .h-hero-media-slot > img {
	display: block;
}

/* Keep only the audited native route heroes on one responsive type step. Card
 * headings and legacy/Elementor routes retain their own hierarchy. */
:is(.entry-content, .editor-styles-wrapper) :is(
	.route-about .ab-hero-copy,
	.route-guarantee .g-hero-copy,
	.route-referral .g-hero-copy,
	.route-financing .g-hero-copy
) > h1.wp-block-heading,
body.seq-r2-service-areas :is(.entry-content, .editor-styles-wrapper) .index-intro-inner > h1.wp-block-heading {
	font-size: clamp(40px, 3.75vw, 54px);
	line-height: 1.05;
}

/* Referral tier text is explanatory prose, not a mono all-caps legal label. */
:is(.entry-content, .editor-styles-wrapper) .route-referral .g-tier > p {
	color: var(--sq-body, #3f3d34);
	font-family: "Nunito Sans", Arial, sans-serif;
	font-size: 15px;
	letter-spacing: normal;
	line-height: 1.55;
	text-transform: none;
}

/* Semantic Learn headings keep the compact visual role of the former H3s. */
body.seq-r2-learn-patio-cost .v2-single > .entry-content > h2.seq-learn-context-heading {
	font-size: clamp(20px, 2.3vw, 26px);
	line-height: 1.25;
}
body.seq-r2-learn-patio-cost .v2-single__header > .entry-title {
	font-size: clamp(40px, 3.75vw, 54px);
	line-height: 1.05;
}
body.seq-r2-learn-patio-cost .v2-single > .entry-content > h2:not(.seq-learn-context-heading) {
	font-size: clamp(30px, 2.8vw, 38px);
	line-height: 1.15;
}
body.seq-r2-learn-patio-cost .v2-single .seq-learn-faq {
	border-top: 1px solid var(--v2-line);
}
body.seq-r2-learn-patio-cost .v2-single .seq-learn-faq:last-of-type {
	border-bottom: 1px solid var(--v2-line);
}
body.seq-r2-learn-patio-cost .v2-single .seq-learn-faq > summary {
	color: var(--v2-ink);
	cursor: pointer;
	font-family: var(--v2-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	padding: 18px 32px 18px 0;
}
body.seq-r2-learn-patio-cost .v2-single .seq-learn-faq > summary:focus-visible {
	outline: 2px solid var(--v2-forest);
	outline-offset: 3px;
}
body.seq-r2-learn-patio-cost .v2-single .seq-learn-faq__answer > p {
	margin: 0;
	padding: 0 0 20px;
}

@media (max-width: 520px) {
	/* The Home proof reads as one left-aligned mobile column. */
	.route-home .h-reviews-inner .sequoia-reviews-proof__figure {
		align-items: flex-start;
		width: 100%;
	}
	.route-home .h-reviews-inner .sequoia-reviews-proof__score {
		align-self: flex-start;
		margin-inline: 0;
		text-align: left;
	}
	.route-home .h-reviews-inner :is(.sequoia-reviews-proof__body, .sequoia-reviews-proof__platforms) {
		box-sizing: border-box;
		max-width: 100%;
		width: 100%;
	}

	/* The service-area index has its own county chip lists. Keep these separate
	 * from the intrinsically sized `.lt-areas-links` rows on city pages. */
	:is(.entry-content, .editor-styles-wrapper) .route-locations .hl-chip-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
	:is(.entry-content, .editor-styles-wrapper) .route-locations .hl-chip-list > .wp-block-button,
	:is(.entry-content, .editor-styles-wrapper) .route-locations .hl-chip-list .wp-block-button__link {
		box-sizing: border-box;
		min-width: 0;
		width: 100%;
	}
	:is(.entry-content, .editor-styles-wrapper) .route-locations .hl-chip-list .wp-block-button__link {
		display: flex;
		align-items: center;
		justify-content: center;
		white-space: normal;
		text-align: center;
	}

	:is(.entry-content, .editor-styles-wrapper) .lt-areas-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}
	:is(.entry-content, .editor-styles-wrapper) .lt-areas-links > .wp-block-button,
	:is(.entry-content, .editor-styles-wrapper) .lt-areas-links .wp-block-button__link {
		box-sizing: border-box;
		width: 100%;
	}
}
