:root {
	--sporient-map-navy: #102a43;
	--sporient-map-deep: #071423;
	--sporient-map-green: #00c853;
	--sporient-map-green-dark: #008a3a;
	--sporient-map-paper: #f4f8fb;
	--sporient-map-ink: #102a43;
	--sporient-map-muted: #5d6b7a;
}

.sporient-club-map-app,
.sporient-club-map-app * {
	box-sizing: border-box;
}

.sporient-club-map-app {
	width: min(1180px, calc(100% - 32px));
	margin: 32px auto 72px;
	color: var(--sporient-map-ink);
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sporient-club-map-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 6vw, 72px);
	background:
		radial-gradient(circle at 90% 0, rgba(0, 200, 83, .2), transparent 38%),
		linear-gradient(135deg, var(--sporient-map-deep), var(--sporient-map-navy));
	border-radius: 28px 28px 0 0;
	color: #fff;
}

.sporient-club-map-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -150px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(0, 200, 83, .2);
	border-radius: 50%;
	box-shadow: 0 0 0 44px rgba(0, 200, 83, .04), 0 0 0 88px rgba(0, 200, 83, .03);
}

.sporient-club-map-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .82);
}

.sporient-club-map-kicker span {
	width: 9px;
	height: 9px;
	background: var(--sporient-map-green);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(0, 200, 83, .16);
}

.sporient-club-map-hero h1 {
	position: relative;
	z-index: 1;
	max-width: 19ch;
	margin: 0 0 16px;
	font-size: clamp(2rem, 4.8vw, 4rem);
	font-weight: 850;
	line-height: 1.05;
	letter-spacing: -.035em;
	color: #fff;
}

.sporient-club-map-hero p {
	position: relative;
	z-index: 1;
	max-width: 68ch;
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.16rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, .76);
}

.sporient-club-map-toolbar {
	display: grid;
	grid-template-columns: minmax(230px, 1.5fr) repeat(2, minmax(165px, .75fr)) auto;
	gap: 16px;
	align-items: end;
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(16, 42, 67, .12);
	border-top: 0;
	box-shadow: 0 20px 50px rgba(16, 42, 67, .08);
}

.sporient-club-map-toolbar label {
	display: grid;
	gap: 7px;
	margin: 0;
}

.sporient-club-map-toolbar label > span {
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .03em;
	color: var(--sporient-map-navy);
}

.sporient-club-map-toolbar input,
.sporient-club-map-toolbar select {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 13px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font: inherit;
	color: var(--sporient-map-ink);
}

.sporient-club-map-toolbar input:focus,
.sporient-club-map-toolbar select:focus {
	border-color: var(--sporient-map-green);
	box-shadow: 0 0 0 3px rgba(0, 200, 83, .14);
	outline: 0;
}

.sporient-club-map-toolbar button {
	min-height: 48px;
	padding: 10px 18px;
	background: transparent;
	border: 1px solid rgba(16, 42, 67, .3);
	border-radius: 999px;
	font: inherit;
	font-weight: 750;
	color: var(--sporient-map-navy);
	cursor: pointer;
}

.sporient-club-map-toolbar button:hover {
	background: var(--sporient-map-paper);
}

.sporient-club-map-status {
	padding: 13px 22px;
	background: var(--sporient-map-paper);
	border-inline: 1px solid rgba(16, 42, 67, .12);
	font-size: .9rem;
	color: var(--sporient-map-muted);
}

.sporient-club-map-status strong {
	color: var(--sporient-map-green-dark);
}

.sporient-club-map-canvas {
	width: 100%;
	height: clamp(480px, 62vh, 680px);
	background: #dfe9f0;
	border: 1px solid rgba(16, 42, 67, .12);
	isolation: isolate;
}

.sporient-club-map-empty {
	padding: 24px;
	background: #fff9e8;
	border: 1px solid #f0d28d;
	border-top: 0;
	font-weight: 700;
	color: #6e4f10;
}

.sporient-club-marker-wrap {
	background: transparent;
	border: 0;
}

.sporient-club-marker {
	position: relative;
	display: block;
	width: 34px;
	height: 34px;
	background: var(--sporient-map-navy);
	border: 4px solid #fff;
	border-radius: 50% 50% 50% 7px;
	box-shadow: 0 5px 14px rgba(7, 20, 35, .35);
	transform: rotate(-45deg);
}

.sporient-club-marker span {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	background: var(--sporient-map-green);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.leaflet-tooltip.sporient-club-label {
	max-width: 220px;
	padding: 7px 11px;
	background: rgba(7, 20, 35, .96);
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 8px;
	box-shadow: 0 7px 20px rgba(7, 20, 35, .22);
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1.25;
	white-space: normal;
	text-align: center;
	color: #fff;
}

.leaflet-tooltip-top.sporient-club-label::before {
	border-top-color: rgba(7, 20, 35, .96);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
	background: var(--sporient-map-navy);
	color: #fff;
	font-weight: 800;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
	background: rgba(0, 200, 83, .35);
}

.sporient-club-popup-shell .leaflet-popup-content-wrapper {
	overflow: hidden;
	padding: 0;
	border-radius: 16px;
	box-shadow: 0 18px 45px rgba(7, 20, 35, .28);
}

.sporient-contact-map-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(16, 42, 67, .12);
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(16, 42, 67, .1);
}

.sporient-contact-map-canvas {
	width: 100%;
	height: clamp(360px, 48vw, 520px);
	background: #dfe9f0;
	isolation: isolate;
}

.sporient-contact-map-summary {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	background: linear-gradient(135deg, #071423, #102a43);
	color: #fff;
}

.sporient-contact-map-summary > div {
	display: grid;
	gap: 3px;
}

.sporient-contact-map-summary strong {
	font-size: 1rem;
}

.sporient-contact-map-summary span {
	font-size: .86rem;
	color: rgba(255, 255, 255, .74);
}

.sporient-contact-map-summary a {
	flex: 0 0 auto;
	padding: 10px 16px;
	background: var(--sporient-map-green);
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 800;
	text-decoration: none;
	color: var(--sporient-map-navy);
}

.sporient-contact-popup-shell .leaflet-popup-content-wrapper {
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(7, 20, 35, .24);
}

.sporient-contact-popup-shell .leaflet-popup-content {
	width: min(240px, calc(100vw - 48px)) !important;
	margin: 12px 14px;
}

.sporient-contact-map-popup {
	display: grid;
	gap: 4px;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--sporient-map-navy);
}

.sporient-contact-map-popup strong {
	font-size: .86rem;
}

.sporient-contact-map-popup span {
	font-size: .76rem;
	line-height: 1.35;
	color: var(--sporient-map-muted);
}

.sporient-club-popup-shell .leaflet-popup-content {
	width: min(280px, calc(100vw - 48px)) !important;
	margin: 0;
}

.sporient-club-popup {
	max-height: min(260px, calc(100vh - 160px));
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sporient-club-popup > img {
	height: 100px;
}

.sporient-club-popup > img,
.sporient-club-card > img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.sporient-club-card-body {
	padding: 22px;
}

.sporient-club-popup .sporient-club-card-body {
	padding: 12px 14px 14px;
}

.sporient-club-card h2,
.sporient-club-popup h2 {
	margin: 0 0 10px;
	font-size: 1.2rem;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--sporient-map-navy);
}

.sporient-club-popup h2 {
	margin-bottom: 7px;
	font-size: .96rem;
	line-height: 1.18;
}

.sporient-club-popup .sporient-club-description {
	margin-bottom: 9px;
	font-size: .79rem;
	line-height: 1.38;
}

.sporient-club-popup .sporient-club-tags {
	gap: 4px;
	margin-bottom: 7px;
}

.sporient-club-popup .sporient-club-tags span {
	padding: 3px 7px;
	font-size: .61rem;
}

.sporient-club-popup .sporient-club-facts {
	gap: 3px 8px;
	margin-bottom: 10px;
	font-size: .73rem;
	line-height: 1.3;
}

.sporient-club-description {
	margin: 0 0 14px;
	font-size: .92rem;
	line-height: 1.55;
	color: var(--sporient-map-muted);
}

.sporient-club-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 11px;
}

.sporient-club-tags span {
	padding: 4px 8px;
	background: rgba(0, 200, 83, .1);
	border: 1px solid rgba(0, 200, 83, .22);
	border-radius: 999px;
	font-size: .68rem;
	font-weight: 800;
	line-height: 1.2;
	color: #006d2e;
}

.sporient-club-facts {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 5px 12px;
	margin: 0 0 16px;
	font-size: .82rem;
	line-height: 1.45;
}

.sporient-club-facts dt {
	font-weight: 800;
	color: var(--sporient-map-navy);
}

.sporient-club-facts dd {
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--sporient-map-muted);
}

.sporient-club-facts a {
	color: #005f9e;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sporient-club-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 15px;
	background: var(--sporient-map-green);
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 850;
	text-decoration: none;
	color: var(--sporient-map-navy);
}

.sporient-club-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-top: 28px;
}

.sporient-club-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(16, 42, 67, .12);
	border-radius: 16px;
	box-shadow: 0 14px 36px rgba(16, 42, 67, .08);
}

.sporient-club-map-note {
	margin-top: 28px;
	padding: 18px 22px;
	background: var(--sporient-map-paper);
	border-left: 4px solid var(--sporient-map-green);
	border-radius: 0 10px 10px 0;
}

.sporient-club-map-note p {
	margin: 0;
	font-size: .86rem;
	line-height: 1.55;
	color: var(--sporient-map-muted);
}

@media (max-width: 900px) {
	.sporient-club-map-toolbar {
		grid-template-columns: 1fr 1fr;
	}

	.sporient-club-map-toolbar label:first-child {
		grid-column: 1 / -1;
	}

	.sporient-club-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.sporient-club-map-app {
		width: min(100% - 20px, 1180px);
		margin-top: 16px;
	}

	.sporient-club-map-hero {
		padding: 32px 22px;
		border-radius: 18px 18px 0 0;
	}

	.sporient-club-map-hero h1 {
		font-size: clamp(1.45rem, 7.6vw, 1.7rem);
		overflow-wrap: anywhere;
		hyphens: none;
	}

	.sporient-club-map-toolbar {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.sporient-club-map-toolbar label:first-child {
		grid-column: auto;
	}

	.sporient-club-map-toolbar button {
		width: 100%;
	}

	.sporient-club-map-canvas {
		height: 520px;
	}

	.sporient-club-list {
		grid-template-columns: 1fr;
	}

	.leaflet-tooltip.sporient-club-label {
		max-width: 150px;
		font-size: .7rem;
	}

	.sporient-contact-map-canvas {
		height: 380px;
	}

	.sporient-contact-map-summary {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
		padding: 16px 18px;
	}

	.sporient-contact-map-summary a {
		align-self: flex-start;
	}
}
