.elr-office-locations,
.elr-office-locations * {
	box-sizing: border-box;
}

.elr-office-locations {
	--elr-office-accent: #9e8311;
	--elr-office-text: #252522;
	--elr-office-muted: #65655f;
	--elr-office-panel: #f0f0ee;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
	width: 100%;
	height: clamp(620px, 72vh, 780px);
	min-height: 0;
	overflow: hidden;
	border-radius: 18px;
	background: var(--elr-office-panel);
	color: var(--elr-office-text);
	font-family: inherit;
}

.elr-office-map {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: #ddd;
}

.elr-office-directory {
	display: flex;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	padding: clamp(26px, 3vw, 44px) clamp(24px, 3.5vw, 52px);
}

.elr-office-toolbar {
	display: grid;
	flex: 0 0 auto;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	margin-bottom: 26px;
}

.elr-office-search,
.elr-office-filter {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 36px;
	border: 1px solid rgba(37, 37, 34, .08);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(31, 31, 28, .1);
}

.elr-office-search > svg,
.elr-office-filter > svg {
	position: absolute;
	left: 14px;
	z-index: 1;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	pointer-events: none;
}

.elr-office-search input,
.elr-office-filter select {
	width: 100%;
	min-height: 46px;
	margin: 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--elr-office-text);
	font: inherit;
}

.elr-office-search input {
	padding: 10px 42px 10px 44px;
}

.elr-office-filter {
	min-width: 142px;
}

.elr-office-filter select {
	padding: 10px 32px 10px 43px;
	cursor: pointer;
}

.elr-office-search-clear {
	position: absolute;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777;
	font-size: 21px;
	line-height: 1;
	cursor: pointer;
}

.elr-office-results {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 18px;
	scrollbar-color: var(--elr-office-accent) #d7d7d3;
	scrollbar-width: thin;
}

.elr-office-group + .elr-office-group {
	margin-top: 34px;
}

.elr-office-group-title {
	margin: 0 0 18px;
	color: var(--elr-office-text);
	font-size: 19px;
	font-weight: 650;
	line-height: 1.25;
}

.elr-office-card {
	position: relative;
	padding: 0 20px 30px 0;
	outline: none;
	cursor: pointer;
}

.elr-office-card + .elr-office-card {
	padding-top: 30px;
	border-top: 1px solid rgba(37, 37, 34, .12);
}

/*.elr-office-card::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 30px;
	width: 2px;
	background: transparent;
	content: "";
	transition: background-color .2s ease;
}*/

.elr-office-card + .elr-office-card::after {
	top: 30px;
}

.elr-office-card:hover::after,
.elr-office-card:focus-visible::after,
.elr-office-card.is-active::after {
	background: var(--elr-office-accent);
}

.elr-office-country {
	margin: 0;
	color: var(--elr-office-text);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.3;
	text-transform: uppercase;
}

.elr-office-region {
	margin-top: 2px;
	color: var(--elr-office-muted);
	font-size: 13px;
	line-height: 1.4;
}

.elr-office-company {
	margin-top: 13px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.elr-office-address {
	margin-top: 4px;
	color: #3f3f3b;
	font-size: 14px;
	line-height: 1.45;
}

.elr-office-contacts {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.elr-office-locations .elr-office-contact,
.elr-office-locations .elr-office-contact:visited,
.elr-office-locations .elr-office-contact:hover,
.elr-office-locations .elr-office-contact:focus,
.elr-office-locations .elr-office-contact:active {
	display: flex;
	align-items: center;
	gap: 11px;
	width: fit-content;
	background: transparent;
	box-shadow: none;
	color: var(--elr-office-accent);
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}

.elr-office-contact:hover span,
.elr-office-contact:focus-visible span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.elr-office-contact svg {
	flex: 0 0 19px;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
}

.elr-office-map-link {
	margin-top: 2px;
}

.elr-office-no-results,
.elr-office-locations-empty {
	padding: 24px;
	background: #f4f4f1;
	text-align: center;
}

.elr-office-marker-wrap {
	background: transparent;
	border: 0;
}

.elr-office-marker {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--elr-office-accent, #9e8311);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .28);
	transform: rotate(-45deg);
}

.elr-office-marker > span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.elr-office-popup {
	display: grid;
	gap: 3px;
	min-width: 180px;
	color: #252522;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
}

.elr-office-popup b {
	font-size: 14px;
}

.elr-office-popup span {
	color: #6b6b65;
}

.elr-office-popup strong {
	margin-top: 5px;
}

.elr-office-popup p {
	margin: 2px 0 0;
}

.elr-office-locations .leaflet-control-attribution {
	font-size: 10px;
}

.elr-office-locations--error .elr-office-map::after {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 30px;
	background: #e8e8e4;
	color: #555;
	content: "Map could not be loaded.";
	text-align: center;
}

@media (max-width: 900px) {
	.elr-office-locations {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		border-radius: 12px;
	}

	.elr-office-map {
		height: 430px;
		min-height: 430px;
	}

	.elr-office-directory {
		height: auto;
		overflow: visible;
		padding: 28px 22px 34px;
	}

	.elr-office-results {
		flex: none;
		overflow: visible;
		padding-right: 0;
	}
}

@media (max-width: 560px) {
	.elr-office-toolbar {
		grid-template-columns: 1fr;
	}

	.elr-office-filter {
		width: 100%;
	}

	.elr-office-map {
		height: 360px;
		min-height: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elr-office-card::after {
		transition: none;
	}
}

