/**
 * Visit Oradea — Locations Map (Divi 5).
 */

.et_pb_vo_locations_map.vo-locations-map,
.et_pb_vo_locations_map {
	width: 100%;
	margin: 0;
	font-family: var(--vo-font, "Fira Sans", system-ui, sans-serif) !important;
	color: var(--vo-ink, #1f2a44);
}

.et_pb_vo_locations_map .vo-locations-map__shell {
	position: relative;
	display: block;
	width: 100%;
	min-height: var(--vo-map-height, 100%);
	overflow: hidden;
	border-radius: 4px;
	background: #e8e4de;
}

.et_pb_vo_locations_map .vo-locations-map__canvas {
	display: block;
	width: 100%;
	height: var(--vo-map-height, 100%);
	min-height: 240px;
	background: #d9d4cc;
}

.et_pb_vo_locations_map .vo-locations-map__overlay {
	position: absolute;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(320px, calc(100% - 20px));
	margin: 10px;
	padding: 16px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.96);
	border: 0;
	box-shadow: 0 8px 28px rgba(31, 42, 68, 0.12);
	/* Clip to radius; scroll lives on the list so the scrollbar doesn't square the corners. */
	overflow: hidden;
	max-height: calc(var(--vo-map-height, 100%) - 20px);
	box-sizing: border-box;
}

.et_pb_vo_locations_map.vo-locations-map--overlay-left .vo-locations-map__overlay {
	top: 0;
	left: 0;
	bottom: 0;
	right: auto;
}

.et_pb_vo_locations_map.vo-locations-map--overlay-right .vo-locations-map__overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: auto;
}

.et_pb_vo_locations_map.vo-locations-map--overlay-bottom .vo-locations-map__overlay {
	top: auto;
	left: 0;
	right: 0;
	bottom: 0;
	width: calc(100% - 20px);
	max-height: min(40%, calc(var(--vo-map-height, 100%) - 20px));
}

.et_pb_vo_locations_map .vo-locations-map__overlay-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: var(--vo-magenta, #984878) !important;
}

.et_pb_vo_locations_map .vo-locations-map__search {
	flex: 0 0 auto;
}

.et_pb_vo_locations_map .vo-locations-map__search-input {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px 10px 36px;
	border: 1px solid rgba(31, 42, 68, 0.12);
	border-radius: 4px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23984878' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center;
	font: inherit;
	font-size: 13px;
	line-height: 1.3;
	color: var(--vo-ink, #1f2a44);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.et_pb_vo_locations_map .vo-locations-map__search-input::placeholder {
	color: rgba(31, 42, 68, 0.45);
}

.et_pb_vo_locations_map .vo-locations-map__search-input:focus {
	outline: none;
	border-color: var(--vo-magenta, #984878);
	box-shadow: 0 0 0 3px rgba(152, 72, 120, 0.12);
}

.et_pb_vo_locations_map .vo-locations-map__search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.et_pb_vo_locations_map .vo-locations-map__overlay-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	overscroll-behavior: contain;
}

.et_pb_vo_locations_map .vo-locations-map__pins {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.et_pb_vo_map_pin.vo-map-pin,
.et_pb_vo_map_pin {
	display: block;
	margin: 0;
}

.et_pb_vo_locations_map .vo-map-pin__item,
.et_pb_vo_locations_map .vo-locations-map__overlay-list .vo-map-pin__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid rgba(31, 42, 68, 0.1);
	border-radius: 4px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.et_pb_vo_locations_map .vo-map-pin__item:hover,
.et_pb_vo_locations_map .vo-map-pin__item.is-active {
	border-color: var(--vo-magenta, #984878);
	box-shadow: 0 4px 14px rgba(152, 72, 120, 0.12);
}

.et_pb_vo_locations_map .vo-map-pin__item.is-filtered-out,
.et_pb_vo_locations_map .et_pb_vo_map_pin.is-filtered-out {
	display: none !important;
}

.et_pb_vo_locations_map .vo-map-pin__thumb {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 3px;
	background-size: cover;
	background-position: center;
	background-color: #e8e4de;
}

.et_pb_vo_locations_map .vo-map-pin__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.et_pb_vo_locations_map .vo-map-pin__title {
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: var(--vo-ink, #1f2a44) !important;
}

.et_pb_vo_locations_map .vo-map-pin__description {
	font-size: 12px !important;
	line-height: 1.35 !important;
	color: rgba(31, 42, 68, 0.7) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.et_pb_vo_locations_map .vo-locations-map__search-empty {
	padding: 16px 8px;
	text-align: center;
	font-size: 13px;
	color: rgba(31, 42, 68, 0.65);
}

.et_pb_vo_locations_map .vo-locations-map__empty,
.et_pb_vo_locations_map .vo-locations-map__error {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-size: 14px;
	color: rgba(31, 42, 68, 0.75);
}

.et_pb_vo_locations_map .vo-map-info {
	max-width: 240px;
	font-family: var(--vo-font, "Fira Sans", system-ui, sans-serif);
}

.et_pb_vo_locations_map .vo-map-info__title {
	display: block;
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
	color: #1f2a44;
	text-decoration: none;
}

.et_pb_vo_locations_map .vo-map-info__title:hover {
	color: #984878;
}

.et_pb_vo_locations_map .vo-map-info__desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(31, 42, 68, 0.75);
}

.et_pb_vo_locations_map .vo-map-info__img {
	display: block;
	width: 100%;
	height: 100px;
	margin: 0 0 8px;
	object-fit: cover;
	border-radius: 3px;
}

@media (max-width: 782px) {
	.et_pb_vo_locations_map.vo-locations-map--overlay-left .vo-locations-map__overlay,
	.et_pb_vo_locations_map.vo-locations-map--overlay-right .vo-locations-map__overlay {
		top: auto;
		left: 0;
		right: 0;
		bottom: 0;
		width: calc(100% - 20px);
		max-height: min(42%, calc(var(--vo-map-height, 100%) - 20px));
	}
}
