.ehlbrl-locator {
	--ehlbrl-ink: #153b45;
	--ehlbrl-accent: #167b78;
	--ehlbrl-border: #d6e1e3;
	--ehlbrl-surface: #f5f9f9;
	color: #24383d;
	font-size: 1rem;
}

.ehlbrl-locator,
.ehlbrl-locator * {
	box-sizing: border-box;
}

.ehlbrl-search {
	background: var(--ehlbrl-surface);
	border: 1px solid var(--ehlbrl-border);
	border-radius: 14px;
	margin: 0 0 1.25rem;
	padding: 1rem;
}

.ehlbrl-search__heading h2 {
	color: var(--ehlbrl-ink);
	font-size: 1.35rem;
	line-height: 1.2;
	margin: 0 0 .35rem;
}

.ehlbrl-search__heading p {
	margin: 0 0 1rem;
}

.ehlbrl-search__fields {
	display: grid;
	gap: .8rem;
}

.ehlbrl-search__fields label,
.ehlbrl-admin-fields label {
	display: block;
	font-weight: 600;
}

.ehlbrl-search__fields label span {
	display: block;
	margin-bottom: .35rem;
}

.ehlbrl-search select,
.ehlbrl-search input[type="text"] {
	background-color: #fff;
	border: 1px solid #82989d;
	border-radius: 7px;
	font: inherit;
	min-height: 48px;
	padding: .55rem .7rem;
	width: 100%;
}

.ehlbrl-search__actions,
.ehlbrl-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-top: .85rem;
}

.ehlbrl-button,
.ehlbrl-action {
	align-items: center;
	background: var(--ehlbrl-accent);
	border: 2px solid var(--ehlbrl-accent);
	border-radius: 7px;
	color: #fff !important;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: .55rem .8rem;
	text-decoration: none !important;
}

.ehlbrl-button {
	cursor: pointer;
}

.ehlbrl-button:hover,
.ehlbrl-action:hover {
	background: #105e5b;
	border-color: #105e5b;
	color: #fff !important;
}

.ehlbrl-button:focus-visible,
.ehlbrl-action:focus-visible,
.ehlbrl-reset:focus-visible,
.ehlbrl-search select:focus-visible,
.ehlbrl-search input[type="text"]:focus-visible {
	box-shadow: 0 0 0 3px #f4cc71;
	outline: 2px solid #153b45;
	outline-offset: 2px;
}

.ehlbrl-reset {
	color: var(--ehlbrl-ink);
	font-weight: 600;
	padding: .5rem;
}

.ehlbrl-location {
	border-top: 1px solid var(--ehlbrl-border);
	margin-top: 1rem;
	padding-top: .9rem;
}

.ehlbrl-location__radius {
	align-items: center;
	display: flex;
	gap: .5rem;
	margin: .75rem 0 0;
}

.ehlbrl-location__radius select {
	min-height: 44px;
}

.ehlbrl-location__privacy,
.ehlbrl-location__status {
	font-size: .92rem;
	margin: .65rem 0 0;
}

.ehlbrl-location__privacy {
	color: #40565b;
	max-width: 75ch;
}

.ehlbrl-location__status {
	font-weight: 600;
}

.ehlbrl-search__submit:disabled {
	cursor: wait;
	opacity: .7;
}

.ehlbrl-intersection {
	margin-top: .55rem;
}

.ehlbrl-location__entry {
	display: block;
	font-weight: 600;
}

.ehlbrl-location__entry > span {
	display: block;
	margin-bottom: .35rem;
}

.ehlbrl-search [hidden] {
	display: none !important;
}

.ehlbrl-intersection__attribution {
	font-size: .86rem;
	margin: .55rem 0;
}

.ehlbrl-intersection__matches {
	display: grid;
	gap: .45rem;
	margin-top: .65rem;
}

.ehlbrl-location-match {
	background: #fff;
	border: 1px solid var(--ehlbrl-border);
	border-radius: 7px;
	color: var(--ehlbrl-ink);
	cursor: pointer;
	font: inherit;
	min-height: 44px;
	padding: .65rem .75rem;
	text-align: left;
}

.ehlbrl-location-match:hover,
.ehlbrl-location-match:focus-visible {
	background: #e9f3f2;
	outline: 2px solid var(--ehlbrl-accent);
	outline-offset: 1px;
}

.ehlbrl-card__distance {
	color: #40565b;
	font-size: .92rem;
	font-weight: 600;
}

.ehlbrl-card__test {
	border-left: 4px solid #b45309;
	color: #7c2d12;
	font-size: .85rem;
	font-weight: 700;
	margin: .35rem 0;
	padding-left: .5rem;
}

.ehlbrl-results__count {
	color: #40565b;
	font-weight: 600;
	margin: .5rem 0 .75rem;
}

.ehlbrl-cards {
	display: grid;
	gap: .9rem;
}

.ehlbrl-card {
	background: #fff;
	border: 1px solid var(--ehlbrl-border);
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(21, 59, 69, .08);
	padding: 1rem;
}

.ehlbrl-card h3 {
	color: var(--ehlbrl-ink);
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 0 0 .35rem;
}

.ehlbrl-card p {
	margin: .45rem 0;
}

.ehlbrl-card__types,
.ehlbrl-card__verified {
	color: #4a646a;
	font-size: .9rem;
}

.ehlbrl-card__address {
	font-weight: 600;
}

.ehlbrl-card__description > :first-child {
	margin-top: .5rem;
}

.ehlbrl-card__description > :last-child {
	margin-bottom: .5rem;
}

.ehlbrl-card__verified {
	margin-top: .8rem !important;
}

.ehlbrl-empty {
	background: var(--ehlbrl-surface);
	border-radius: 8px;
	padding: 1rem;
}

.ehlbrl-admin-grid {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehlbrl-admin-grid input,
.ehlbrl-admin-grid textarea {
	margin-top: .3rem;
	width: 100%;
}

@media (min-width: 700px) {
	.ehlbrl-search {
		padding: 1.25rem;
	}

	.ehlbrl-search__fields {
		align-items: end;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (min-width: 1100px) {
	.ehlbrl-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.ehlbrl-admin-grid {
		grid-template-columns: 1fr;
	}

	.ehlbrl-card {
		padding: .7rem;
	}

	.ehlbrl-card__main {
		font-size: .9rem;
		line-height: 1.35;
	}

	.ehlbrl-card h3 {
		font-size: 1.08rem;
		line-height: 1.25;
		margin-bottom: .2rem;
	}

	.ehlbrl-card p {
		margin: .28rem 0;
	}

	.ehlbrl-card__types,
	.ehlbrl-card__distance,
	.ehlbrl-card__verified,
	.ehlbrl-card__test {
		font-size: .875rem;
		line-height: 1.3;
	}

	.ehlbrl-card__description {
		font-size: .9rem;
		line-height: 1.35;
	}

	.ehlbrl-card__actions {
		gap: .4rem;
		margin-top: .6rem;
	}

	.ehlbrl-card__actions > a {
		flex: 1 1 calc(50% - .55rem);
	}

	.ehlbrl-location__radius {
		align-items: stretch;
		flex-direction: column;
		gap: .35rem;
		width: 100%;
	}
}
