/* Map Marker Widget Styles
 * Widget-specific styles only. Common styles are in maplibre-map-base.css
 */

.elementor-widget-map_marker_widget{
	height: 100%;
}

/* Base MapLibre Container - Widget-specific */
.maplibregl-map {
	overflow: hidden;
}

/* Marker Styles - Widget-specific */
.map-marker-widget-custom-marker {
	z-index: 600;
	cursor: pointer;
}

/* Override media query height from base CSS */
@media (min-width: 768px) {

}

/* Ensure parent container has height for percentage heights to work */
/* When using percentage, parent needs a defined height */
.elementor-widget-map_marker_widget .map-marker-widget {
	height: 100%;
}

.elementor-widget-map_marker_widget .elementor-widget-container{
	overflow: hidden;
}

/* Popup card (Schutzprojekt) – same look as NNL map Gebiete popup */
.map-marker-widget .nnl-map-popup--schutzprojekt,
.map-marker-widget .nnl-map-popup--gebiete {
	position: relative;
}

.map-marker-widget .nnl-map-popup__link {
	display: block;
	color: inherit;
	text-decoration: none !important;
	cursor: pointer;
}

.map-marker-widget .nnl-map-popup__link:hover {
	color: inherit;
	text-decoration: none;
}

.map-marker-widget .nnl-map-popup__top {
	aspect-ratio: 288/185;
	width: 100%;
	height: auto;
	background-size: cover;
	background-position: center;
	padding: 16px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.map-marker-widget .nnl-map-popup__logo svg {
	height: 32px;
	width: 32px;
}

.nnl-map-popup__close {
	z-index: 2;
	width: 32px;
	height: 32px;
	margin: 0;
	margin-left: auto;
	padding: 0  !important;
	border-radius: 100%;
	background-color: rgba(255, 255, 255, 0.80) !important;
	border: 0.339px solid var(--Border-border-primary, #DCDCDC) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	color: var(--black);
}

.nnl-map-popup__close:hover{
	background-color: rgba(255, 255, 255, 1) !important;
}

.nnl-map-popup__close:hover {
	background-color: rgba(255, 255, 255, 0.95);
}

.nnl-map-popup__close:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nnl-map-popup__close svg {
	display: block;
	pointer-events: none;
	width: 12px;
	height: 12px;
}
.map-marker-widget .nnl-map-popup__content {
	padding: 16px 32px 32px 32px;
	gap: 16px;
}

.map-marker-widget .nnl-map-popup__content p {
	margin: 0 !important;
}

.map-marker-widget .nnl-map-popup__nnl-name,
.map-marker-widget .nnl-map-popup__title {
	margin: 0 0 10px 0;
	font-size: var(--h4-font-size, 1.25rem);
	font-weight: var(--h4-font-weight, 600);
	color: #111;
}

.map-marker-widget .nnl-map-popup__description {
	margin: 0;

}

.nnl-map-popup__terms{
	margin-top: 16px;
	display: flex;
	flex-direction: row;
	column-gap: 16px;	
	row-gap: 8px;
	flex-wrap: wrap;
}

.nnl-map-popup__terms-item{
	font-size: 14px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}
.nnl-map-popup__terms-item svg{
	width: 20px;
	height: 20px;
}