	/* ---------- Trail map ---------- */
	.trail-map-frame {
		position: relative;
		margin: 0 0 18px;
		padding: 6px;
		background: #fff;
		border: 1px solid var(--gts-border);
		border-radius: 14px;
		box-shadow: 0 6px 20px rgba(16, 40, 64, .08);
	}
	.trail-map {
		width: 100%;
		height: 560px;
		border-radius: 10px;
		overflow: hidden;
		background: #e9eee9;
	}
	.trail-map__empty {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 24px;
		text-align: center;
		color: var(--gts-muted);
	}
	.trail-map__count {
		position: absolute;
		left: 18px;
		top: 18px;
		z-index: 2;
		padding: 6px 12px;
		background: rgba(255, 255, 255, .95);
		border-radius: 999px;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
		font: bold 13px/1.2 Arial, Helvetica, sans-serif;
		color: var(--gts-green-dark);
	}

	/* Round badge markers with an icon for each kind of stop */
	.trail-pin {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		border: 3px solid #fff;
		box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: scale .15s ease;
	}
	.trail-pin:hover,
	.trail-pin.is-active { scale: 1.18; }
	.trail-pin svg { width: 18px; height: 18px; display: block; }

	.trail-map .maplibregl-popup-content {
		font: 13px/1.45 system-ui, Arial, sans-serif;
		padding: 12px 14px;
		border-radius: 10px;
	}
	.trail-pop__cat {
		display: inline-block;
		margin-bottom: 4px;
		font-size: 11px;
		font-weight: bold;
		letter-spacing: .04em;
		text-transform: uppercase;
	}
	.trail-pop__name { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
	.trail-pop__name a { text-decoration: none; }
	.trail-pop__links { margin-top: 6px; }

	/* Map key in the sidebar */
	.trail-key { list-style: none; margin: 0; padding: 0; }
	.trail-key li { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; font-size: 14px; }
	.trail-key .trail-pin { width: 26px; height: 26px; border-width: 2px; cursor: default; }
	.trail-key .trail-pin svg { width: 14px; height: 14px; }
	.trail-key__n { margin-left: auto; color: var(--gts-muted); font-size: 12px; }

	/* Stop list under the map */
	.trail-stops h2 { margin: 26px 0 10px; }
	.trail-stops__grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
		gap: 10px;
	}
	.trail-stop {
		display: flex;
		gap: 10px;
		align-items: flex-start;
		width: 100%;
		padding: 10px 12px;
		text-align: left;
		background: var(--gts-white);
		border: 1px solid var(--gts-border);
		border-radius: 10px;
		cursor: pointer;
		font: inherit;
		color: inherit;
	}
	.trail-stop:hover { background: #fff; border-color: var(--gts-green); }
	.trail-stop .trail-pin { flex: 0 0 auto; width: 26px; height: 26px; border-width: 2px; }
	.trail-stop .trail-pin svg { width: 14px; height: 14px; }
	.trail-stop__name { display: block; font-weight: bold; line-height: 1.25; }
	.trail-stop__place { display: block; font-size: 12px; color: var(--gts-muted); margin-top: 2px; }

	@media (max-width: 767px) {
		.trail-map { height: 420px; }
	}

.gts-trail-map-page{padding-block:32px 56px}.gts-trail-map-page .gts-content-grid{align-items:start}.trail-stop{display:flex;flex-direction:column;gap:4px;cursor:default}.trail-stop__focus{padding:0;background:none;border:0;color:var(--gts-green-dark);font:inherit;text-align:left;cursor:pointer;font-weight:700}.trail-stop__focus:focus-visible{outline:2px solid var(--gts-green);outline-offset:3px}.trail-stop__name a{color:var(--gts-green-dark)}.trail-stop__focus[disabled]{display:none}.trail-map__count{pointer-events:none}.trail-key__n{white-space:nowrap}.trail-map__lead{max-width:78ch}.trail-map__sidebar{display:grid;gap:18px;min-width:0}.trail-map__sidebar .gts-panel{margin:0}.trail-stop__links{font-size:.85rem;display:flex;gap:12px;flex-wrap:wrap}.trail-stop__focus:hover{text-decoration:underline}.trail-map__shell{min-width:0}

