:where(h1, h2, h3, h4, h5, h6) a:not(:hover, :focus) { text-decoration: none !important; }

/* Sticky header */
#masthead { position: sticky !important; top: 0 !important; }
body.admin-bar #masthead { top: 32px !important; }
@media screen and (max-width: 782px) { body.admin-bar #masthead { top: 46px !important; } }

/* Customizations not allowed in free version */
.ast-primary-header { background: white !important; }

/* Styled advanced search */
.nlcc--search { display: flex; gap: 0.75rem; }
.nlcc--search input[type="submit"] { padding: 0 1.5rem !important; }
@media screen and (max-width: 782px) {
	.nlcc--search { display: block; }
	.nlcc--search :is(input, select, textarea) { margin-bottom: 0.5rem; }
	.nlcc--search input[type="submit"] { padding: 0.5rem 1.5rem !important; }
}

/* Roundrect */
.nlcc--roundrect { border-top-left-radius: 1.5rem; border-bottom-right-radius: 1.5rem; overflow: clip; }

/* Bi-directional lists */
.nlcc--bidi--list span:not(:last-child):after {
	content: ', ';
}

/* Location */
.nlcc--location--summary {
	margin-bottom: var(--wp--style--block-gap);
}

.nlcc--location--summary :where(h1, h2, h3, h4, h5, h6) {
	margin-bottom: calc(var(--wp--style--block-gap) / 3) !important;
}

dl.nlcc--location--phone-fax {
	column-gap: calc(var(--wp--style--block-gap) / 2);
	display: grid;
	grid-template-columns: auto auto;
	margin-top: calc(var(--wp--style--block-gap) / 3) !important;
	width: auto;
}

dl.nlcc--location--phone-fax dt {
	grid-column: 1;
	margin: 0;
	width: auto;
}

*[style*='center'] dl.nlcc--location--phone-fax dt {
	margin-left: calc(var(--wp--style--block-gap) / 2); /* Compensates for gap when dd doesn't exist */
	text-align: right;
}

dl.nlcc--location--phone-fax dd {
	grid-column: 2;
	margin: 0;
	width: auto;
}

*[style*='center'] dl.nlcc--location--phone-fax dd {
	margin-right: calc(var(--wp--style--block-gap) / 2); /* Compensates for gap when dt doesn't exist */
	text-align: left;
}

/* Provider */
.nlcc--single-provider--location {}

.nlcc--single-provider--credentials {
	display: inline;
	font-size: smaller;
}

.nlcc--single-provider--credentials > span {
	white-space: nowrap;
}

.nlcc--single-provider--job-title {
	font-weight: bold;
	margin-top: 0;
}

/* Service */

/* Search */
.nlcc--search--form {
	display: flex;
	gap: var(--wp--style--block-gap);
	justify-content: space-between;
	margin: var(--wp--style--block-gap) 0;
	position: relative;
	width: 100%;
	z-index: 9;
}

.nlcc--search--input {
	position: relative;
}

.nlcc--search--input {
	flex-grow: 1;
}

.nlcc--search--input.no-grow {
	flex-grow: 0;
}

.nlcc--search--autocomplete {
	background: white;
	border: 1px solid gainsboro;
	padding: 0.5rem;
	position: absolute; top: calc(100% - 0.5em); left: 0;
	width: 100%;
}