/* Home location layout (typography/buttons: global.css). */

.page-home {
	box-sizing: border-box;
	max-width: 100%;
}

.page-home *,
.page-home *::before,
.page-home *::after {
	box-sizing: inherit;
}

/* 1 Hero — content drives height, media fills/crops */
.page-home .home-hero {
	width: 100%;
	max-width: 100%;
}

.page-home .home-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	width: 100%;
}

@media screen and (min-width: 768px) {
	.page-home .home-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		min-height: 22rem;
		max-height: min(40rem, 70vh);
		overflow: hidden;
	}
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
	.page-home .home-hero__grid {
		max-height: none;
	}

	.page-home .home-hero__title {
		font-size: clamp(2.25rem, 4.5vw, 3.25rem);
		line-height: 1.05;
	}
}

@media screen and (min-width: 1024px) {
	.page-home .home-hero__grid {
		min-height: 32rem;
	}
}

.page-home .home-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding-block: 3.5rem;
	padding-inline: 1.75rem;
	background-color: var(--wp--preset--color--accent, #203a6f);
	color: var(--wp--preset--color--text-on-dark, #ffffff);
}

@media screen and (min-width: 768px) {
	.page-home .home-hero__content {
		min-height: 0;
		padding-block: 4.5rem;
		padding-inline: 3rem;
		overflow: auto;
	}
}

@media screen and (min-width: 1024px) {
	.page-home .home-hero__content {
		padding-block: 5.5rem;
	}
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
	.page-home .home-hero__content {
		padding-block: 2.5rem;
		padding-inline: 2rem;
		overflow: visible;
	}
}

.page-home .home-hero__title {
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--text-on-dark, #ffffff);
}

@media screen and (min-width: 1200px) {
	.page-home .home-hero__title {
		font-size: var(--wp--preset--font-size--h1, 65px);
	}
}

.page-home .home-hero__lead {
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--text-on-dark, #ffffff);
}

.page-home .home-hero__lead p {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	line-height: 1.5;
	color: inherit;
}

@media screen and (min-width: 768px) {
	.page-home .home-hero__lead p {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

.page-home .home-hero__actions {
	margin: 0;
}

.page-home .home-hero__media {
	position: relative;
	min-height: 14rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--wp--custom--color--hero-media-fallback, #d9d9d9);
}

@media screen and (min-width: 768px) {
	.page-home .home-hero__media {
		aspect-ratio: auto;
		min-height: 0;
		align-self: stretch;
	}
}

.page-home .home-hero__poster,
.page-home .home-hero__video,
.page-home .home-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.page-home .home-hero__poster {
	z-index: 1;
	transition: opacity 0.35s ease;
}

.page-home .home-hero__poster.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.page-home .home-hero__video {
	z-index: 2;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.page-home .home-hero__video.is-playing {
	opacity: 1;
}

/* 2 Blue banner — components.css (.usl-banner) */

/* 3 Areas band */
.page-home .home-areas-banner {
	background-color: var(--wp--preset--color--background-gray, #f2f2f2);
	padding-top: var(--wp--preset--spacing--section-y-sm, 1.5rem);
	padding-bottom: var(--wp--preset--spacing--section-y-sm, 1.5rem);
	text-align: center;
}

.page-home .home-areas-banner__inner {
	text-align: center;
}

.page-home .home-areas-banner__title {
	margin: 0 0 0.75rem;
}

.page-home .home-areas-banner__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-home .home-areas-banner__item {
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--wp--preset--color--text-blue, #1f396f);
}

@media screen and (min-width: 768px) {
	.page-home .home-areas-banner__item {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

/* 4 Centered content — block layout in components.css; home keeps centered text */
.page-home .usl-centered-content.home-centered-content .usl-centered-content__title,
.page-home .usl-centered-content.home-centered-content .usl-centered-content__body {
	text-align: center;
}

/* 5 Contact — components.css (.usl-contact) */

/* 6 About */
/* Transparent section — spacing comes from the flow gap in global.css. */

.page-home .home-about-text__title {
	margin: 0 0 1rem;
	text-align: center;
}

.page-home .home-about-text__body {
	text-align: center;
}

.page-home .home-about-text__body p {
	margin: 0;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-default, #333333);
}

.page-home .home-about-text__actions {
	margin: 1.25rem 0 0;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.page-home .home-about-text__body p {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

/* 7 Owner */
.page-home .home-owner {
	position: relative;
	padding-top: var(--usl-section-y, 2rem);
	padding-bottom: var(--usl-section-y, 2rem);
	background-color: transparent;
	background-image: url("../img/bg-1.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-home .home-owner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: rgba(32, 58, 111, 0.95);
	pointer-events: none;
}

.page-home .home-owner__inner {
	position: relative;
	z-index: 1;
}

.page-home .home-owner__content {
	overflow: hidden;
	padding: 1.5rem;
	background-color: var(--wp--preset--color--background-white, #ffffff);
}

.page-home .home-owner__content:has(> .home-owner__card--no-photo) {
	width: min(100%, 48rem);
	margin-inline: auto;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__content {
		padding: 35px;
	}
}

.page-home .home-owner__title,
.page-home .home-owner__team-title {
	margin: 0 0 1.5rem;
	text-align: center;
	color: var(--wp--preset--color--text-on-dark, #ffffff);
}

.page-home .home-owner__team-title {
	font-size: 24px;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__team-title {
		font-size: 32px;
	}
}

body .site-main .page-home .home-owner__title,
body .site-main .page-home .home-owner__team-title {
	color: var(--wp--preset--color--text-on-dark, #ffffff);
}

.page-home .home-owner__featured {
	margin-bottom: 0;
}

.page-home .home-owner--has-team .home-owner__featured {
	margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner--has-team .home-owner__featured {
		margin-bottom: 2rem;
	}
}

.page-home .home-owner__bio-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.page-home .home-owner__team .home-owner__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__team .home-owner__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

	.page-home .home-owner__member-card:nth-child(odd of :not([hidden])):nth-last-child(1 of :not([hidden])) {
		grid-column: 1 / -1;
		width: calc((100% - 1.5rem) / 2);
		justify-self: center;
	}
}

.page-home .home-owner__member-card {
	min-width: 0;
}

.page-home .home-owner__member-card-inner {
	height: 100%;
	padding: 1.25rem;
	background-color: var(--wp--preset--color--background-white, #ffffff);
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__member-card-inner {
		padding: 1.5rem;
	}
}

.page-home .home-owner__team .home-owner__photo {
	width: 7.5rem;
	height: 7.5rem;
}

.page-home .home-owner__team .home-owner__card {
	align-items: center;
}

.page-home .home-owner__team .home-owner__details {
	padding: 0;
	text-align: center;
}

.page-home .home-owner__team .home-owner__bio-wrap {
	align-items: center;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__team .home-owner__photo {
		width: 8.5rem;
		height: 8.5rem;
	}

	.page-home .home-owner__team .home-owner__card {
		align-items: flex-start;
	}

	.page-home .home-owner__team .home-owner__details {
		padding: 0 0 0 1rem;
		text-align: left;
	}

	.page-home .home-owner__team .home-owner__bio-wrap {
		align-items: flex-start;
	}
}

.page-home .home-owner__team .home-owner__name {
	font-size: 20px;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__team .home-owner__name {
		font-size: 28px;
	}
}

.page-home .home-owner__toggle-all-wrap {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__toggle-all-wrap {
		margin-top: 2rem;
	}
}

.page-home .home-owner__toggle-all {
	margin: 0;
}

.page-home .home-owner__card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__card {
		flex-direction: row;
		align-items: flex-start;
		gap: 1rem;
	}
}

.page-home .home-owner__photo {
	position: relative;
	flex-shrink: 0;
	width: 10rem;
	height: 10rem;
	overflow: hidden;
	background-color: var(--wp--preset--color--background-white, #ffffff);
	border-radius: 3px;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__photo {
		width: 14rem;
		height: 14rem;
	}
}

.page-home .home-owner__photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 3px;
}

.page-home .home-owner__details {
	min-width: 0;
	width: 100%;
	padding: 0;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__details {
		padding: 0 1.5rem;
	}
}

.page-home .home-owner__card--featured.home-owner__card--no-photo,
.page-home .home-owner__team .home-owner__card--no-photo {
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.page-home .home-owner__card--featured.home-owner__card--no-photo .home-owner__details,
.page-home .home-owner__team .home-owner__card--no-photo .home-owner__details {
	width: 100%;
	padding: 0;
}

.page-home .home-owner__team .home-owner__card--no-photo .home-owner__bio-wrap {
	align-items: flex-start;
}

.page-home .home-owner__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--bebas-neue, "BebasNeue-Regular", sans-serif);
	font-size: 20px;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-blue, #1f396f);
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__name {
		font-size: var(--wp--preset--font-size--h2, 35px);
	}
}

.page-home .home-owner__role {
	margin: 0;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	line-height: 1.4;
	color: var(--wp--preset--color--extra, #ae262a);
}

.page-home .home-owner__divider {
	margin: 0.5rem 0 0.75rem;
	padding: 0;
	border: 0;
	border-top: 1px solid #c5c5c5;
	border-bottom: 1px solid #c5c5c5;
	height: 4px;
	background: transparent;
}

.page-home .home-owner__phone{
margin: 0;
}

.page-home .home-owner__email {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	line-height: 1.4;
}

.page-home .home-owner__phone a,
.page-home .home-owner__email a {
	color: var(--wp--preset--color--extra, #ae262a);
	text-decoration: none;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.page-home .home-owner__phone a:hover,
.page-home .home-owner__phone a:focus-visible,
.page-home .home-owner__email a:hover,
.page-home .home-owner__email a:focus-visible {
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__phone,
	.page-home .home-owner__email {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

.page-home .home-owner__bio {
	margin: 0 0 1rem;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-default, #333333);
}

.page-home .home-owner__bio p,
.page-home .home-owner__bio ul,
.page-home .home-owner__bio ol {
	margin: 0 0 0.75rem;
}

.page-home .home-owner__bio p:last-child,
.page-home .home-owner__bio ul:last-child,
.page-home .home-owner__bio ol:last-child {
	margin-bottom: 0;
}

.page-home .home-owner__bio ul,
.page-home .home-owner__bio ol {
	padding-left: 1.25rem;
	text-align: left;
}

.page-home .home-owner__bio a {
	color: var(--wp--preset--color--extra, #ae262a);
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__bio {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

.page-home .home-owner__read-more {
	margin: 0;
	align-self: center;
}

@media screen and (min-width: 768px) {
	.page-home .home-owner__read-more {
		align-self: flex-start;
	}
}

/* 8 Reviews */
.page-home .home-reviews {
	padding-top: var(--usl-section-y, 2rem);
	padding-bottom: var(--usl-section-y, 2rem);
	background-color: var(--wp--preset--color--background-blue-gray, #edf0fc);
}

.page-home .home-reviews__inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.page-home .home-reviews__title {
	margin: 0;
	text-align: center;
}

.page-home .home-reviews__embed {
	width: 100%;
	max-width: 100%;
	min-height: 8rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.page-home .home-reviews__embed iframe,
.page-home .home-reviews__embed img {
	max-width: 100%;
}

/* 9 Community */
/* Transparent section — spacing comes from the flow gap in global.css. */

.page-home .home-community__inner {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

@media screen and (min-width: 768px) {
	.page-home .home-community__inner {
		gap: 3rem;
	}
}

.page-home .home-community__title {
	margin: 0;
	text-align: center;
}

.page-home .home-community__intro {
	text-align: center;
}

.page-home .home-community__intro p {
	margin: 0;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	color: var(--wp--preset--color--text-default, #333333);
}

@media screen and (min-width: 768px) {
	.page-home .home-community__intro p {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

.page-home .home-community__carousel {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.page-home .home-community__carousel-track {
	display: flex;
	flex: 1 1 0;
	gap: 1rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	scroll-behavior: smooth;
}

.page-home .home-community__carousel-track::-webkit-scrollbar {
	display: none;
}

.page-home .home-community__carousel-track.is-dragging {
	cursor: grabbing;
}

.page-home .home-community__carousel-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ae262a;
	font-family: var(--wp--preset--font-family--bebas-neue, "BebasNeue-Regular", sans-serif);
	font-size: 60px;
	line-height: 1;
	cursor: pointer;
}

.page-home .home-community__carousel-arrow:hover,
.page-home .home-community__carousel-arrow:focus-visible {
	color: #8f1f22;
}

.page-home .home-community__carousel-arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.page-home .home-community__carousel-slide {
	flex: 0 0 86%;
	scroll-snap-align: start;
}

.page-home .home-community__carousel-media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--wp--preset--color--background-gray, #f2f2f2);
}

.page-home .home-community__carousel-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	box-shadow: none;
	user-select: none;
	-webkit-user-drag: none;
}

@media screen and (min-width: 768px) {
	.page-home .home-community__carousel-slide {
		flex: 0 0 calc(33.333% - 0.6667rem);
	}
}

@media screen and (max-width: 767px) {
	.page-home .home-community__carousel {
		gap: 0.2rem;
	}

	.page-home .home-community__carousel-arrow {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 46px;
	}
}

.page-home .home-community__carousel-dots {
	display: flex;
	flex: 1 0 100%;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.page-home .home-community__carousel-dot {
	width: 0.625rem;
	height: 0.625rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: #a8a8a8;
	opacity: 1;
	cursor: pointer;
}

.page-home .home-community__carousel-dot[aria-selected="true"] {
	background-color: #ffffff;
	box-shadow: inset 0 0 0 2px #2f2f2f;
}

.page-home .home-community__carousel-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 10rem;
	padding: 1rem;
	background-color: var(--wp--preset--color--background-gray, #f2f2f2);
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	text-align: center;
	border-radius: 3px;
}

@media screen and (min-width: 768px) {
	.page-home .home-community__carousel-placeholder {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

.page-home .home-community__zips-title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--bebas-neue, "BebasNeue-Regular", sans-serif);
	font-size: 20px;
	text-align: center;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-blue, #1f396f);
}

@media screen and (min-width: 768px) {
	.page-home .home-community__zips-title {
		font-size: var(--wp--preset--font-size--h2, 43px);
	}
}

.page-home .home-community__zips-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--wp--preset--font-family--roboto, "Roboto", sans-serif);
	font-size: 16px;
	color: var(--wp--preset--color--text-default, #333333);
	text-align: center;
}

@media screen and (min-width: 768px) {
	.page-home .home-community__zips-list {
		font-size: var(--wp--preset--font-size--body, 17px);
	}
}

/* 10 Split promo — components.css (.usl-split-promo) */
.usl-split-promo__content{
	text-align: center;
}

/* 11 Services carousel */
.page-home .home-services-carousel {
	padding-top: var(--usl-section-y, 2rem);
	padding-bottom: var(--usl-section-y, 2rem);
	background-color: var(--wp--preset--color--background-gray, #f2f2f2);
}

.page-home .home-services-carousel__title {
	margin: 0 0 1rem;
	text-align: center;
}

.page-home .home-services-carousel__carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.page-home .home-services-carousel__list {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1 1 auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}

.page-home .home-services-carousel__list::-webkit-scrollbar {
	display: none;
}

.page-home .home-services-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ae262a;
	font-family: var(--wp--preset--font-family--bebas-neue, "BebasNeue-Regular", sans-serif);
	font-size: 60px;
	line-height: 1;
	cursor: pointer;
}

.page-home .home-services-carousel__arrow:hover,
.page-home .home-services-carousel__arrow:focus-visible {
	color: #8f1f22;
}

.page-home .home-services-carousel__arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.page-home .home-services-carousel__item {
	flex: 0 0 78%;
	scroll-snap-align: start;
}

@media screen and (min-width: 768px) {
	.page-home .home-services-carousel__item {
		flex: 0 0 14rem;
	}
}

@media screen and (min-width: 1200px) {
	.page-home .home-services-carousel__item {
		flex: 0 0 15rem;
	}
}

.page-home .home-services-carousel__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.page-home .home-services-carousel__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--white, #ffffff);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.page-home .home-services-carousel__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-home .home-services-carousel__label {
	display: block;
	font-family: var(--wp--preset--font-family--bebas-neue, "BebasNeue-Regular", sans-serif);
	font-size: 30px;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-blue, #1f396f);
}

@media screen and (max-width: 767px) {
	.page-home .home-services-carousel__inner.usl-container {
		padding-left: 0.35rem;
		padding-right: 0.35rem;
	}

	.page-home .home-services-carousel__carousel {
		gap: 0.2rem;
	}

	.page-home .home-services-carousel__item {
		flex: 0 0 86%;
	}

	.page-home .home-services-carousel__arrow {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 46px;
	}

	.page-home .home-services-carousel__label {
		font-size: 24px;
	}
}

/* 12 Careers CTA — components.css (.usl-careers-cta) */
