/* Agency-owned isolation and shared demo-only components. */
html {
	scrollbar-width: none;
}

html::-webkit-scrollbar,
body.lsa-website-demo-shell::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

body.lsa-website-demo-shell {
	padding-inline: 0 !important;
}

body.lsa-website-demo-shell > .wp-site-blocks,
body.lsa-website-demo-shell .lsa-website-demo-content,
body.lsa-website-demo-shell .ls-site-header,
body.lsa-website-demo-shell > .wp-site-blocks > footer {
	margin-inline: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.lsa-website-demo-shell:is(.ls-hs-home--precision, .ls-hs-home--warm, .ls-hs-home--friendly) :where(.ls-hs-precision-emergency, .ls-hs-warm-emergency, .ls-hs-friendly-emergency, .ls-hs-final-cta) :where(h2, h3, p) {
	color: var(--ls-color-surface) !important;
}

body.lsa-website-demo-shell.ls-hs-home--precision :where(.has-primary-background-color, .ls-hs-precision-request-features) :where(h1, h2, h3, h4),
body.lsa-website-demo-shell.ls-hs-home--precision .wp-block-button:not(.is-style-local-studio-secondary) > .wp-block-button__link,
body.lsa-website-demo-shell.ls-hs-home--precision .ls-hs-precision-emergency__phone .wp-block-button__link {
	color: var(--ls-color-surface) !important;
}

body.lsa-website-demo-shell.ls-hs-home--warm .ls-hs-feature {
	border-left-width: 1px !important;
}

body.lsa-website-demo-shell.ls-hs-home--editorial :where(.has-secondary-background-color, .has-background-background-color) :where(h1, h2, h3, h4, p),
body.lsa-website-demo-shell.ls-hs-home--editorial :where(.ls-hs-editorial-why, .ls-hs-editorial-services, .ls-hs-editorial-final-cta) :where(h1, h2, h3, h4, p) {
	color: var(--ls-color-text) !important;
}

body.lsa-website-demo-shell.ls-hs-home--editorial .ls-text-highlight {
	color: var(--ls-color-highlight) !important;
}

body.lsa-website-demo-shell.ls-hs-home--editorial .ls-hs-editorial-emergency .ls-text-highlight {
	color: inherit !important;
}

body.lsa-website-demo-shell.ls-hs-home--editorial .wp-block-button:not(.is-style-outline, .is-style-local-studio-secondary) > .wp-block-button__link {
	color: var(--ls-color-background) !important;
}

.lsa-demo-blog {
	align-items: center;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	margin-inline: auto;
	max-width: var(--ls-content-width, 1280px);
	position: relative;
	width: 100%;
}

.lsa-demo-blog__viewport {
	overflow: hidden;
}

.lsa-demo-blog__track {
	display: flex;
	gap: clamp(1rem, 2vw, 1.5rem);
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.lsa-demo-blog__card {
	background: var(--ls-color-surface);
	border: 1px solid color-mix(in srgb, var(--ls-color-border) 86%, transparent);
	border-radius: var(--ls-card-radius, 0.75rem);
	box-shadow: var(--ls-shadow-sm, 0 8px 24px rgba(7, 27, 59, 0.08));
	color: var(--ls-color-text);
	flex: 0 0 calc((100% - clamp(1rem, 2vw, 1.5rem) * 2) / 3);
	overflow: hidden;
}

.lsa-demo-blog__card img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.lsa-demo-blog__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 20rem;
	padding: clamp(1.15rem, 2vw, 1.5rem);
}

.lsa-demo-blog__category {
	color: var(--ls-color-accent);
	font-family: var(--ls-font-body);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lsa-demo-blog__body h3 {
	color: var(--ls-color-text) !important;
	font-family: var(--ls-font-heading);
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	line-height: 1.16;
	margin: 0;
}

.lsa-demo-blog__body p {
	color: var(--ls-color-muted) !important;
	margin: 0;
}

.lsa-demo-blog__read {
	color: var(--ls-color-accent);
	font-weight: 700;
	margin-top: auto;
}

.lsa-demo-blog__arrow {
	align-items: center;
	background: var(--ls-color-accent);
	border: 0;
	border-radius: 50%;
	color: var(--ls-color-surface);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.35rem;
	height: 3rem;
	justify-content: center;
	margin-inline: -1.5rem;
	position: relative;
	width: 3rem;
	z-index: 2;
}

.lsa-demo-blog__dots {
	display: flex;
	gap: 0.45rem;
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: 1.5rem;
}

.lsa-demo-blog__dots span {
	background: color-mix(in srgb, var(--ls-color-accent) 25%, transparent);
	border-radius: 999px;
	height: 0.5rem;
	transition: width 220ms ease, background 220ms ease;
	width: 0.5rem;
}

.lsa-demo-blog__dots span.is-active {
	background: var(--ls-color-accent);
	width: 1.5rem;
}

.lsa-demo-footer .ls-footer-columns {
	align-items: flex-start;
	gap: clamp(1.5rem, 3vw, 2.25rem) !important;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.lsa-demo-footer .wp-block-navigation__container {
	align-items: flex-start;
	gap: 0.65rem !important;
}

.lsa-demo-footer :where(a, p, li, dt, dd) {
	color: var(--ls-footer-text, var(--ls-color-surface)) !important;
}

.lsa-demo-footer h3 {
	color: var(--ls-footer-text, var(--ls-color-surface)) !important;
	margin-bottom: 1rem;
}

.lsa-demo-footer .ls-footer-hours dl {
	display: grid;
	gap: 0.45rem;
}

.lsa-demo-footer .ls-footer-hours dl > div {
	display: grid;
	grid-template-columns: minmax(5.5rem, 0.9fr) 1.1fr;
	gap: 0.75rem;
}

.lsa-demo-footer__legal {
	border-top: 1px solid color-mix(in srgb, var(--ls-footer-text, white) 20%, transparent);
	padding-block: 1.25rem;
}

.lsa-demo-footer__legal p {
	margin: 0;
}

@media (max-width: 900px) {
	.lsa-demo-blog__card {
		flex-basis: calc((100% - 1rem) / 2);
	}

	.lsa-demo-footer .ls-footer-columns {
		flex-wrap: wrap !important;
	}

	.lsa-demo-footer .ls-footer-columns > .wp-block-column {
		flex-basis: calc(50% - 1.25rem) !important;
	}
}

@media (max-width: 600px) {
	.lsa-demo-blog {
		grid-template-columns: minmax(0, 1fr);
	}

	.lsa-demo-blog__card {
		flex-basis: 100%;
	}

	.lsa-demo-blog__arrow {
		bottom: auto;
		position: absolute;
		top: 8rem;
	}

	.lsa-demo-blog__arrow.is-prev {
		left: 1.25rem;
	}

	.lsa-demo-blog__arrow.is-next {
		right: 1.25rem;
	}

	.lsa-demo-footer .ls-footer-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}
