.mapa-circuito {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(220px, 30%) minmax(0, 70%);
	width: 100%;
}

.mapa-circuito__list-column,
.mapa-circuito__map-column {
	min-width: 0;
}

.mapa-circuito__list-title {
	border-radius: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	padding: 18px 20px;
}

.mapa-circuito__locations {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-top: 0;
	border-radius: 0;
	list-style: none;
	margin: 0;
	padding: 10px 0;
}

.mapa-circuito__location {
	align-items: center;
	cursor: pointer;
	display: grid;
	gap: 14px;
	grid-template-columns: 44px minmax(0, 1fr);
	margin: 0;
	padding: 12px 20px;
	position: relative;
	transition: color 180ms ease;
}

.mapa-circuito__location:not(:last-child)::after {
	background: #d1d5db;
	bottom: -14px;
	content: "";
	left: 38px;
	position: absolute;
	top: 38px;
	width: 2px;
}

.mapa-circuito__location-marker {
	align-items: center;
	background: #111827;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: relative;
	width: 38px;
	z-index: 1;
}

.mapa-circuito__location-icon {
	height: 30px;
	object-fit: contain;
	width: 30px;
}

.mapa-circuito__location-name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.mapa-circuito__map-canvas,
.mapa-circuito__notice {
	border-radius: 0;
	height: var(--mapa-circuito-map-height-desktop, 520px);
	min-height: 240px;
	overflow: hidden;
	width: 100%;
}

.mapa-circuito__notice {
	align-items: center;
	background: #f9fafb;
	border: 1px dashed #9ca3af;
	color: #374151;
	display: flex;
	font-weight: 600;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.mapa-circuito-marker {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0;
	position: absolute;
	transform: translate(-50%, -100%);
	z-index: 1;
}

.mapa-circuito-marker:hover,
.mapa-circuito-marker:focus,
.mapa-circuito-marker:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: none;
}

.mapa-circuito-marker__pin {
	align-items: center;
	background: #111827;
	border: 3px solid #fff;
	border-radius: 999px;
	box-shadow: 0 8px 22px rgb(17 24 39 / 22%);
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	height: 38px;
	justify-content: center;
	line-height: 1;
	width: 38px;
}

.mapa-circuito-marker__pin--map {
	background: #dc2626;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	height: 34px;
	position: relative;
	transform: rotate(-45deg);
	transition: background-color 180ms ease;
	width: 34px;
}

.mapa-circuito-marker__pin--map::after {
	background: #fff;
	border-radius: 999px;
	content: "";
	height: 10px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
}

.mapa-circuito-marker__pin--image img {
	height: 26px;
	object-fit: contain;
	width: 26px;
}

.mapa-circuito-marker__label {
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 8px 18px rgb(17 24 39 / 18%);
	color: #000;
	font-family: "Ubuntu", Sans-serif;
	font-size: 13px;
	font-weight: 500;
	max-width: 180px;
	padding: 6px 10px;
	text-align: center;
	transition: background-color 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.mapa-circuito-marker--active {
	z-index: 5;
}

.mapa-circuito-marker--active .mapa-circuito-marker__label {
	background: #106e40;
	color: #fff;
	transform: translateY(-2px);
}

.mapa-circuito-marker--active .mapa-circuito-marker__pin--map {
	background: #106e40;
}

@media (max-width: 767px) {
	.mapa-circuito {
		grid-template-columns: 1fr;
	}

	.mapa-circuito__list-column {
		order: 1;
	}

	.mapa-circuito__map-column {
		order: 2;
	}

	.mapa-circuito__map-canvas,
	.mapa-circuito__notice {
		height: var(--mapa-circuito-map-height-mobile, 380px);
	}
}
