.LogoImgTopWhite {
	display: none;
}

.locationSectionHeading {
	margin-bottom: 26px;
	padding: 30px;
	color: #182a3f;
	background: rgba(255, 255, 255, 0.96);
	border-top: 6px solid var(--client-main-color);
	border-radius: 24px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
	box-sizing: border-box;
}

.locationSectionHeadingTop {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	text-align: left;
}

.locationSectionHeading h2 {
	margin: 0;
	max-width: 1000px;
	color: #182a3f;
	font-family: "Libre Baskerville", serif;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
}

.locationSectionHeading p {
	margin: 10px 0 0;
	color: #526071;
	font-size: 18px;
}

.locationAllLink:link,
.locationAllLink:visited,
.locationAllLink:active {
	flex: 0 0 auto;
	padding: 12px 18px;
	color: var(--client-main-color);
	background: #f5f1ee;
	border: 1px solid rgba(110, 48, 15, 0.28);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.locationAllLink:hover {
	color: #ffffff;
	background: var(--client-main-color);
}

.locationSelector {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.locationSectionHeading .locationSelector {
	margin-top: 26px;
	margin-bottom: 0;
}

.locationSectionHeading .locationSelectorButton {
	color: #182a3f;
	background: #f5f1ee;
	border-color: rgba(110, 48, 15, 0.28);
}

.locationSectionHeading .locationSelectorButton:hover,
.locationSectionHeading .locationSelectorButton:focus-visible {
	color: var(--client-main-color);
	background: #ffffff;
	border-color: var(--client-main-color);
}

.locationSectionHeading .locationSelectorButton.is-active {
	color: #ffffff;
	background: var(--client-main-color);
	border-color: var(--client-main-color);
}

.locationSelectorButton {
	min-height: 52px;
	padding: 10px 12px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 14px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.locationSelectorButton:hover,
.locationSelectorButton:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-1px);
}

.locationSelectorButton.is-active {
	color: #ffffff;
	background: var(--client-main-color);
	border-color: var(--client-main-color);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.footerSocialLinks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 24px;
}

.footerSocialLinks a:link,
.footerSocialLinks a:visited,
.footerSocialLinks a:active {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	color: #182a3f;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.footerSocialLinks a:hover {
	color: #ffffff;
	background: var(--client-main-color);
}

.footerSocialLinks img,
.footerSocialLinks .footerSocialIcon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.footerSocialLinks .footerSocialIcon {
	fill: currentColor;
}

.locationDetailPanels {
	min-width: 0;
}

#contactus .BottomAddressBox {
	scroll-margin-top: 165px;
}

.officeDetailPanel {
	display: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	height: 100%;
}

.officeDetailPanel.is-active {
	display: grid;
}

.footerOfficeActions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.footerOfficeActions .footerPhoneLink {
	margin-bottom: 0;
}

.footerDirectionsLink:link,
.footerDirectionsLink:visited,
.footerDirectionsLink:active,
.footerReviewsLink:link,
.footerReviewsLink:visited,
.footerReviewsLink:active,
.footerLocationDetailsLink:link,
.footerLocationDetailsLink:visited,
.footerLocationDetailsLink:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 17px;
	color: var(--client-main-color);
	border: 2px solid var(--client-main-color);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.footerBookAppointmentLink:link,
.footerBookAppointmentLink:visited,
.footerBookAppointmentLink:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	color: #ffffff;
	background: var(--client-main-color);
	border: 2px solid var(--client-main-color);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.footerBookAppointmentLink:hover {
	color: #ffffff;
	background: var(--client-hover-color);
	border-color: var(--client-hover-color);
}

.siteLegalFooter {
	padding: 24px 20px;
	color: #526071;
	background: #f5f1ee;
	font-size: 13px;
	line-height: 1.55;
	text-align: center;
}

.siteLegalFooter p {
	margin: 4px auto;
}

.siteLegalFooter a {
	color: var(--client-main-color);
}

.footerDirectionsLink:hover,
.footerReviewsLink:hover,
.footerLocationDetailsLink:hover {
	color: #ffffff;
	background: var(--client-main-color);
}

.homeLocationsSection {
	padding: clamp(60px, 8vw, 100px) 20px;
	background: #f5f1ee;
	box-sizing: border-box;
}

.homeLocationsInner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.locationsSectionIntro {
	max-width: 760px;
	margin: 0 auto 38px;
	text-align: center;
}

.locationsEyebrow {
	margin-bottom: 10px;
	color: var(--client-main-color);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.locationsSectionIntro h2 {
	margin: 0;
	color: #182a3f;
	font-family: "Libre Baskerville", serif;
	font-size: clamp(34px, 5vw, 58px);
	line-height: 1.1;
}

.locationsSectionIntro p {
	margin: 16px auto 0;
	color: #526071;
	font-size: 18px;
	line-height: 1.7;
}

.officeCardGrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.officeCardFlex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.officeCardFlex .officeCard {
	flex: 0 1 calc((100% - 40px) / 3);
	max-width: calc((100% - 40px) / 3);
}

.officeCard {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 26px;
	background: #ffffff;
	border: 1px solid rgba(24, 42, 63, 0.1);
	border-top: 5px solid var(--client-main-color);
	border-radius: 20px;
	box-shadow: 0 14px 38px rgba(24, 42, 63, 0.08);
	box-sizing: border-box;
}

.officeCard h3 {
	margin: 0 0 10px;
	color: #182a3f;
	font-family: "Libre Baskerville", serif;
	font-size: 25px;
}

.officeCardAddress {
	min-height: 72px;
	margin: 0;
	color: #526071;
	font-size: 16px;
	line-height: 1.55;
}

.officeCardToday {
	margin: 18px 0;
	padding: 12px 0;
	color: #182a3f;
	border-top: 1px solid rgba(24, 42, 63, 0.12);
	border-bottom: 1px solid rgba(24, 42, 63, 0.12);
}

.officeCardToday strong {
	display: block;
	margin-bottom: 3px;
	color: var(--client-main-color);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.officeCardPhone:link,
.officeCardPhone:visited,
.officeCardPhone:active {
	color: #182a3f;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.officeCardActions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: auto;
	padding-top: 20px;
}

.homePage .officeCardActions {
	justify-content: center;
    max-width: 250px;
    margin: 0 auto;
}

.officeCardActions a:link,
.officeCardActions a:visited,
.officeCardActions a:active {
	padding: 10px 14px;
	color: var(--client-main-color);
	border: 1px solid var(--client-main-color);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.officeCardActions a:hover {
	color: #ffffff;
	background: var(--client-main-color);
}

.officeCardActions .officeCardPrimary:link,
.officeCardActions .officeCardPrimary:visited,
.officeCardActions .officeCardPrimary:active {
	color: #ffffff;
	background: var(--client-main-color);
}

.locationsDirectoryHero,
.locationDetailHero {
	text-align: left;
}

.locationsHeroPanel {
	position: relative;
	min-height: 320px;
	border-radius: 24px;
	overflow: hidden;
}

.locationDetailOfficeImage {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


.locationHoursTodayCallout {
	width: 100%;
	max-width: 520px;
	margin-top: 26px;
	padding: 22px 26px;
	background: rgba(14, 60, 60, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(24, 42, 63, 0.16);
	backdrop-filter: blur(6px);
	box-sizing: border-box;
}

.locationHoursTodayCallout h2 {
	margin-bottom: 10px;
	font-size: clamp(28px, 3vw, 40px);
}

.locationHoursTodayCallout p {
	font-size: 17px;
	line-height: 1.5;
}

.locationDetailContent {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.locationDetailContentOuter {
	padding: 34px;
}

.locationDetailContent {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
	gap: 28px;
}

.locationDetailInfo,
.locationDetailHours {
	padding: clamp(26px, 4vw, 42px);
	background: var(--content-soft);
	border: 1px solid var(--content-line);
	border-radius: 24px;
	box-shadow: none;
	box-sizing: border-box;
}

.locationDetailInfo h2,
.locationDetailHours h2 {
	margin: 0 0 20px;
	color: #182a3f;
	font-family: "Libre Baskerville", serif;
	font-size: clamp(26px, 3vw, 36px);
}

.locationDetailAddress {
	color: #526071;
	font-size: 19px;
	line-height: 1.65;
}

.locationDetailActions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 30px;
}

.locationDetailActions a:link,
.locationDetailActions a:visited,
.locationDetailActions a:active {
	padding: 12px 17px;
	color: #ffffff;
	background: var(--client-main-color);
	border: 2px solid var(--client-main-color);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.locationDetailActions a:hover {
	background: var(--client-hover-color);
	border-color: var(--client-hover-color);
}

.locationDetailHours .footerHoursList {
	font-size: 16px;
}

.locationDetailMap {
	grid-column: 1 / -1;
	padding: 8px;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 14px 38px rgba(24, 42, 63, 0.08);
	overflow: hidden;
}

.locationDetailMap iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
	border-radius: 18px;
}


@media only screen and (min-width: 1650px) {
	.locationsDirectory .officeCardFlex .officeCard {
		max-width: calc((58% - 40px) / 3);
	}
}


@media only screen and (min-width: 1051px) and (max-width: 1649px) {
	.locationsDirectory .officeCardFlex .officeCard {
		max-width: 350px;
	}
}

@media only screen and (max-width: 1050px) {
	.locationSelector {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.officeCardGrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.officeCardFlex .officeCard {
		flex-basis: calc((100% - 20px) / 2);
		max-width: calc((100% - 20px) / 2);
	}

	.locationDetailContent {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 700px) {
	#contactus .BottomAddressBox {
		scroll-margin-top: 16px;
	}

	.locationSectionHeadingTop {
		align-items: start;
		flex-direction: column;
	}

	.locationSelector {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.officeDetailPanel {
		grid-template-columns: 1fr;
	}
	
	.officeCardGrid {
		grid-template-columns: 1fr;
	}

	.officeCardFlex .officeCard {
		flex-basis: 100%;
		max-width: 100%;
	}

	.officeCardAddress {
		min-height: 0;
	}

	.locationDetailContentOuter {
		padding: 22px;
	}

	.locationsHeroPanel {
		min-height: 260px;
	}

	.footerSocialLinks {
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 440px) {
	.locationSelector {
		grid-template-columns: 1fr;
	}
}
