/* SARAYA OSM Map widget — list + OpenStreetMap (matches homepage locations design) */

.elementor-widget-saraya-osm-map,
.elementor-widget-saraya-osm-map > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
}

.saraya-osm-map-widget {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 40px;
	width: 100%;
}

.saraya-osm-map-widget .saraya-loc-list {
	display: flex;
	flex-direction: column;
	flex: 0 0 380px;
	width: 380px;
	max-width: 380px;
	min-width: 260px;
	gap: 10px;
	justify-content: flex-start;
}

.saraya-osm-map-widget .saraya-loc-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 0;
	padding: 12px 16px;
	background: #ffffff;
	border: 0;
	border-left: 3px solid #775a19;
	text-decoration: none !important;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-sizing: border-box;
}

.saraya-osm-map-widget .saraya-loc-item__name {
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.375;
	color: #022b54;
	margin: 0;
	transition: color 0.2s ease;
}

.saraya-osm-map-widget .saraya-loc-item:hover {
	background: #f7f8f9;
}

.saraya-osm-map-widget .saraya-loc-item:hover .saraya-loc-item__name,
.saraya-osm-map-widget .saraya-loc-item:focus .saraya-loc-item__name {
	color: #775a19;
}

.saraya-osm-map-widget .saraya-loc-map-wrap {
	flex: 1 1 780px;
	width: auto;
	max-width: none;
	min-width: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 32px rgba(2, 43, 84, 0.08);
}

.saraya-osm-map-widget .saraya-osm-map,
.saraya-osm-map {
	width: 100%;
	height: 520px;
	background: #e8f0f6;
	z-index: 1;
}

.saraya-osm-marker {
	background: transparent !important;
	border: 0 !important;
}

.saraya-osm-marker__pin {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 auto;
	background: #775a19;
	border: 2px solid #ffffff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 4px 10px rgba(2, 43, 84, 0.28);
}

.saraya-osm-tooltip {
	font-family: "Work Sans", sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #022b54 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 0 !important;
	box-shadow: 0 6px 16px rgba(2, 43, 84, 0.12) !important;
	padding: 4px 8px !important;
}

.saraya-osm-tooltip::before {
	border-top-color: #ffffff !important;
}

@media (max-width: 1024px) {
	.saraya-osm-map-widget .saraya-loc-map-wrap,
	.saraya-osm-map-widget .saraya-loc-list {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.saraya-osm-map-widget .saraya-osm-map,
	.saraya-osm-map {
		height: 360px;
	}
}
