/* DFB Stednavne - Reader (public) styles */

/* Tagged place names in the text - discreet so reading stays calm */
.dfb-sted-link {
	color: #185FA5;
	border-bottom: 1px dotted #185FA5;
	cursor: pointer;
	transition: background 0.15s;
}

.dfb-sted-link:hover,
.dfb-sted-link:focus {
	background: #e6f1fb;
	outline: none;
	border-radius: 2px;
}

/* Map modal */
.dfb-map-overlay {
	position: fixed;
	inset: 0;
	z-index: 99997;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.dfb-map-modal {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
}

.dfb-map-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #f7f7f5;
	border-bottom: 1px solid #eee;
}

.dfb-map-title {
	font-size: 16px;
	font-weight: 600;
	color: #7a1722;
}

.dfb-map-close {
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0 4px;
}

.dfb-map-close:hover {
	color: #333;
}

.dfb-map-canvas {
	width: 100%;
	height: 320px;
	background: #eef0f2;
}

.dfb-map-info {
	padding: 12px 16px;
	font-size: 13px;
	color: #444;
	line-height: 1.5;
	border-top: 1px solid #eee;
}

.dfb-map-coords {
	color: #888;
	font-size: 12px;
}

/* Keep Leaflet controls tidy inside the modal */
.dfb-map-canvas .leaflet-control-attribution {
	font-size: 10px;
}

@media (max-width: 600px) {
	.dfb-map-canvas {
		height: 260px;
	}
}
