.aktio-route-wrap {
	position: relative;
	width: 100%;
}

.aktio-route-map {
	width: 100%;
	min-height: 300px;
	border-radius: 6px;
	overflow: hidden;
	z-index: 0; /* keep Leaflet panes below typical theme headers */
}

.aktio-route-map .leaflet-container {
	font: inherit;
}

/* Compact info card overlaid INSIDE the map (bottom-left) */
.aktio-route-info {
	position: absolute;
	left: 10px;
	bottom: 22px;
	z-index: 1000;
	width: 190px;
	max-width: calc(100% - 20px);
	padding: 9px 11px;
	background: rgba(255, 255, 255, .96);
	border-radius: 6px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .35);
	font-size: 13px;
	line-height: 1.35;
	box-sizing: border-box;
}

.aktio-route-info[hidden] {
	display: none;
}

.aktio-info-close {
	position: absolute;
	top: 2px;
	right: 4px;
	border: 0;
	background: none;
	font-size: 18px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 2px 4px;
}

.aktio-info-close:hover {
	color: #222;
}

.aktio-info-title {
	font-weight: 700;
	margin-bottom: 4px;
	padding-right: 14px;
}

.aktio-info-dms {
	font-weight: 600;
}

.aktio-info-dec {
	color: #666;
	font-size: 12px;
	margin-top: 1px;
}

.aktio-info-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
}

/* Numbered pins */
.aktio-pin {
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	background: #d9480f;
	border: 2px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
	cursor: pointer;
}

/* keep the number upright inside the rotated teardrop */
.aktio-pin {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aktio-pin span {
	transform: rotate(45deg);
}

.aktio-pin-start {
	background: #2b8a3e;
}

.aktio-pin-end {
	background: #c92a2a;
}

.aktio-pin-wrap.aktio-pin-active .aktio-pin {
	transform: rotate(-45deg) scale(1.18);
	box-shadow: 0 2px 7px rgba(0, 0, 0, .55);
}

/* Download button */
.aktio-route-map .aktio-download a {
	width: auto;
	padding: 0 10px;
	font-weight: 600;
	font-size: 13px;
	line-height: 30px;
	white-space: nowrap;
	text-decoration: none;
	color: #222;
}

