/**
 * calendar-map.css — Map view for [smokeschool_calendar] (v1.7.0).
 * Companion to assets/js/calendar-map.js. Mirrors the main calendar
 * site's map view; brand navy #1e3167, partner colors come inline from
 * the API (cal_partners.brand_color).
 */

.osc-calendar-map-toggle {
	margin-top: 8px;
}

.osc-calendar-map-container {
	font-family: inherit;
}

.osc-map-loading {
	padding: 48px 0;
	text-align: center;
	color: #6b7280;
	font-size: 15px;
}

.osc-map-head {
	margin: 14px 0 6px;
}
.osc-map-head h2 {
	margin: 0 0 4px;
	font-size: 21px;
	color: #1e3167;
}
.osc-map-head p {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
}

.osc-map-head--state {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}

.osc-map-back {
	border: 1px solid #d6dae3;
	background: #fff;
	color: #1e3167;
	font-weight: 600;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
}
.osc-map-back:hover {
	background: #eef1f7;
}

.osc-map-legend {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	margin-left: auto;
}
.osc-map-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: #6b7280;
}
.osc-map-legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #d6dae3;
	display: inline-block;
}

.osc-map-svgwrap svg {
	display: block;
	width: 100%;
	height: auto;
}

.osc-map-st {
	stroke: #fff;
	stroke-width: 1;
	transition: filter .15s ease;
}
.osc-map-st--active {
	cursor: pointer;
}
.osc-map-st--active:hover {
	filter: brightness(1.25) saturate(1.2);
}

.osc-map-st-label {
	font-size: 13px;
	font-weight: 700;
	fill: #fff;
	paint-order: stroke;
	stroke: rgba(30, 49, 103, 0.55);
	stroke-width: 2.5px;
	text-anchor: middle;
	dominant-baseline: middle;
	pointer-events: none;
}
.osc-map-st-label--tiny {
	font-size: 9px;
}

.osc-map-st-bg {
	stroke: #fff;
	stroke-width: 0.8;
}
.osc-map-st-bg--sel {
	stroke: #1e3167;
	stroke-width: 1.4;
}

.osc-map-pin {
	opacity: 0;
	transform-origin: center;
	transform-box: fill-box;
	animation: osc-map-pin-drop .35s ease-out forwards;
	cursor: pointer;
}
/* animation fill-mode:forwards overrides class transforms — disable it
   while highlighted */
.osc-map-pin--hi {
	animation: none;
	opacity: 1;
	transform: scale(1.35);
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}
@keyframes osc-map-pin-drop {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.osc-map-split {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
	gap: 20px;
	align-items: start;
	margin-bottom: 32px;
}
.osc-map-list {
	max-height: 620px;
	overflow-y: auto;
	padding-right: 4px;
}

.osc-map-venue-card {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.osc-map-venue-card--hi {
	border-color: #1e3167;
	box-shadow: 0 2px 10px rgba(30, 49, 103, 0.18);
}
.osc-map-venue-city {
	font-weight: 700;
	color: #1e3167;
	font-size: 15px;
}
.osc-map-venue-name {
	color: #6b7280;
	font-size: 13px;
	margin: 2px 0 8px;
}
.osc-map-venue-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.osc-map-date-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #eef1f7;
	color: #1e3167;
	border: 0;
	font-size: 12.5px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	cursor: pointer;
}
.osc-map-date-chip:hover {
	background: #1e3167;
	color: #fff;
}
.osc-map-chip-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #e8741a;
}

@media (max-width: 760px) {
	.osc-map-split {
		grid-template-columns: 1fr;
	}
	.osc-map-list {
		max-height: none;
	}
	.osc-map-head h2 {
		font-size: 18px;
	}
}
