/* =========================================================
   NMW redesign — Venues overview (Figma frame 66 / node 154:1229)
   Grey "VENUES" title bar + [ card grid | map ].
   Measurements taken 1:1 from the 1728px design.
   ========================================================= */

.rds-venues {
	font-family: var(--font-sans);
	background: #7067e0;              /* purple base (Figma frame bg) */
	color: #000;
	--rds-purple: #7067e0;
	--rds-olive: #90991a;
	--rds-grey: #cbcbcb;
	--rds-orange: #f97827;
	padding-top: 95px;               /* clear the fixed redesign header (60 + 35) */
}

/* ---- grey "VENUES" title bar (140px) ---- */
.rds-venues__title {
	height: 140px;
	background: var(--rds-grey);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rds-venues__title-text {
	margin: 0;
	font-weight: 700;
	font-size: 96px;
	line-height: 0.96;
	text-transform: uppercase;
	text-align: center;
	color: #000;
}

/* ---- body: card grid (left 50%) + map (right 50%) ---- */
.rds-venues__body {
	display: flex;
	align-items: stretch;
	height: calc(100vh - 95px - 140px);
	min-height: 620px;
}

/* Left: 2-column venue card grid, scrolls internally when tall. */
.rds-venues__grid {
	width: 50%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: min-content;
	gap: 4px 0;
	overflow-y: auto;
	background: var(--rds-purple);
}

.rds-venues__card {
	position: relative;
	display: block;
	aspect-ratio: 432 / 406;
	overflow: hidden;
	background: #222;
	text-decoration: none;
}
.rds-venues__card img,
.rds-venues__card .rds-venues__ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rds-venues__ph {                    /* fallback when a venue has no photo */
	background: linear-gradient(135deg, #8a8f2a, #77593a);
}
/* olive name strip — overlaps the bottom of the photo */
.rds-venues__card-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 35px;
	background: var(--rds-olive);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 26px;
	line-height: 23px;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	padding: 0 10px;
}
.rds-venues__card:hover .rds-venues__card-name { color: #000; }

/* Right: Leaflet map, tinted orange to match the design. */
.rds-venues__map {
	width: 50%;
	height: 100%;
	background: var(--rds-orange);
	z-index: 0;
}
/* Orange wash over the neutral OSM raster tiles (labels stay legible). */
.rds-venues__map .leaflet-tile-pane {
	filter: grayscale(1) sepia(1) saturate(7) hue-rotate(-28deg) brightness(0.9) contrast(1.05);
}
.rds-venues__map .leaflet-container {
	background: var(--rds-orange);
	font-family: var(--font-mono);
}
/* purple teardrop pin */
.rds-venues__pin { display: block; }
.rds-venues__pin img { width: 100%; height: 100%; display: block; }

/* Desktop-only (mobile venues come from another Figma frame). */
@media (max-width: 1024px) {
	.rds-venues__title-text { font-size: 12vw; }
	.rds-venues__body { flex-direction: column; height: auto; }
	.rds-venues__grid,
	.rds-venues__map { width: 100%; }
	.rds-venues__map { height: 60vh; }
}
