/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.safe-svg-cover .safe-svg-inside {
	display: flex !important;
	align-items: center;
}

.gfield_required {
	color: #000 !important;
}


/* Header credentials: BBB badge + license # */
.md-credentials {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 28px;
	flex-shrink: 0;
}
.md-bbb-badge {
	height: 64px;
	width: auto;
	display: block;
}
.md-license {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--base-3);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	white-space: nowrap;
}
.md-license-label {
	font-size: 11px;
	text-transform: uppercase;
	opacity: 0.85;
}
@media (max-width: 768px) {
	.md-credentials {
		order: 1;
		margin-left: auto;
		gap: 8px;
	}
	.md-bbb-badge {
		height: 48px;
	}
	.md-license {
		font-size: 11px;
	}
	.md-license-label {
		font-size: 10px;
	}
	.site-header .mobile-menu-control-wrapper {
		order: 2;
		margin-left: 12px;
	}
	.site-header #site-navigation {
		order: 3;
	}
}

/* Homepage: Proudly Serving NJ accordion */
.md-areas-intro {
	max-width: 720px;
	margin: 0 auto 40px;
}
.md-service-areas .md-county {
	background: var(--base-3);
	border: 1px solid #e4ddd7;
	margin: 0 0 12px;
}
.md-service-areas .md-county summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 24px;
	font-weight: 600;
	font-size: 18px;
	color: var(--contrast);
	cursor: pointer;
	list-style: none;
}
.md-service-areas .md-county summary::-webkit-details-marker {
	display: none;
}
.md-service-areas .md-county summary::after {
	content: "+";
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
	color: var(--accent);
}
.md-service-areas .md-county[open] summary::after {
	content: "\2212";
}
.md-service-areas .md-county summary:hover,
.md-service-areas .md-county[open] summary {
	color: var(--accent);
}
.md-service-areas .md-county summary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}
.md-service-areas .md-towns {
	list-style: none;
	margin: 0;
	padding: 4px 24px 22px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px 24px;
}
.md-service-areas .md-towns li {
	margin: 0;
	padding-left: 16px;
	position: relative;
}
.md-service-areas .md-towns li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 6px;
	height: 6px;
	background: var(--accent);
}
@media (max-width: 768px) {
	.md-service-areas .md-towns {
		grid-template-columns: repeat(2, 1fr);
	}
	.md-service-areas .md-county summary {
		font-size: 16px;
		padding: 16px 18px;
	}
	.md-service-areas .md-towns {
		padding: 4px 18px 18px;
	}
}
