/* Customizer port — location lists, menus, and page items.
   Moved out of WP Customizer Additional CSS. Rules are unchanged. */

/* Single location hero — Goodman pattern: light type on brand contrast */
body.single-location .row-container:has(h1.h1) {
	background-color: var(--aqua-blue);
}

body.single-location .row-container:has(h1.h1) h1,
body.single-location .row-container:has(h1.h1) h2,
body.single-location .row-container:has(h1.h1) p,
body.single-location .row-container:has(h1.h1) nav,
body.single-location .row-container:has(h1.h1) nav a,
body.single-location .row-container:has(h1.h1) .breadcrumb,
body.single-location .row-container:has(h1.h1) .breadcrumb a,
body.single-location .row-container:has(h1.h1) .breadcrumb span,
body.single-location .row-container:has(h1.h1) .breadcrumb li,
body.single-location .row-container:has(h1.h1) .breadcrumb li::before,
body.single-location .row-container:has(h1.h1) .breadcrumb li::after {
	color: #ffffff !important;
}

body.single-location .row-container:has(h1.h1) nav a:hover {
	opacity: 0.8;
}

/* Locations Page Items */
.sdg-locations-page.uncode-post-titles .tmb .drop-hover-link {
	border-bottom: 1px solid rgba(50, 49, 48, 0.2);
}
.sdg-locations-page.uncode-post-titles {
	border-top: 1px solid rgba(50, 49, 48, 0.2);
}
.sdg-locations-page.uncode-post-titles .tmb .drop-hover-link::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(https://surgicalde1dev.wpenginepowered.com/wp-content/uploads/2024/04/sdg-right-arrow-dark.svg) no-repeat;
    top: 30%;
    left: 90%;
    position: absolute;
    display: inline-block;
}

/* Locations List */
.sdg-locations-list .tmb .t-entry .t-entry-title {
	font-size: 60px;
	line-height: 72px;
}
@media only screen and (max-width:59.9375em) { 
	.sdg-locations-list .tmb .t-entry .t-entry-title {
		font-family: 'Baskervville';
		font-style: normal;
		font-weight: 400;
		font-size: 32px;
		line-height: 42px;
	}
}
@media only screen and (max-width:670px) { 
	.sdg-main-location-image img  {
		margin-top: 72px !important;
	}
	.sdg-locations-block .background-inner {
		height: 200px;
	}
	.sdg-locations-block .quad-top-padding {
		padding-top: 24px !important;
	}
}




/* Locations Menu */
.sdg-menu-locations .tmb .t-entry .t-entry-title {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-size: 17px;
	line-height: 21px;
	leading-trim: both;
	text-edge: cap;
	color: #FFFCF7;
	margin-top: 0px !important;
}
.sdg-menu-locations .cssgrid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.tmb.atc-typography-inherit {
	padding-top: 10px;
}

/* r76 — keep .sdg-conditions borders; round the cards (legacy forces 0) */
.sdg-conditions .tmb {
	border-radius: 16px;
}

/* r15 — provider snippet links outside .uncode_text_column still need to look linked */
body.single-provider .uncont :is(p, li) a:not(.btn):not(.custom-link) {
	color: var(--aqua-blue);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
body.single-provider .uncont :is(p, li) a:not(.btn):not(.custom-link):hover {
	color: var(--aqua-rose);
}

/* r72 — map snippet rounded edges (Uncode raw HTML img otherwise stays square) */
.location-map-image,
.location-map-image .wpb_wrapper,
.location-map-image a,
.location-map-image img {
	border-radius: 16px;
	overflow: hidden;
}

/* r30 — location names only; kill CSS counters even if 12-legacy re-adds them */
body.home .sdg-locations-block .sdg-locations-list a::before {
	content: none !important;
	display: none !important;
}
