html {
	scroll-behavior: smooth;
}

.nrl22-venue-sections {
	max-width: 1400px;
	margin: 0 auto;
	--nrl22-club-columns: 4;
}

.nrl22-venue-section-title {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 14px;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0.5px;
	scroll-margin-top: 110px;
}

.nrl22-venue-section-title-text {
	min-width: 0;
}

.nrl22-back-to-jump {
	flex-shrink: 0;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	padding: 5px 11px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	vertical-align: middle;
}

.nrl22-back-to-jump:hover {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.nrl22-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 6px 0 18px;
	border: 0;
	background: transparent;
	scroll-margin-top: 110px;
}

.nrl22-jump-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nrl22-jump-link {
	color: #fff !important;
	font-size: 13px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: transparent;
	text-decoration: none;
}

.nrl22-jump-link:hover {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.nrl22-venue-grid {
	display: grid;
	grid-template-columns: repeat(var(--nrl22-club-columns), minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 18px;
}

@media (max-width: 1200px) {
	.nrl22-venue-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.nrl22-venue-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.nrl22-venue-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

.nrl22-venue-card {
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.18);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nrl22-venue-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.nrl22-venue-stretch {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 5;
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9999px;
	overflow: hidden;
}

.nrl22-venue-media {
	position: relative;
	z-index: 1;
	aspect-ratio: 16 / 9;
	background: #111;
}

.nrl22-venue-media img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center;
	display: block !important;
	padding: 10px;
	box-sizing: border-box;
	transition: transform 0.2s ease;
}

.nrl22-venue-media picture,
.nrl22-venue-media source {
	display: block !important;
}

.nrl22-venue-card:hover .nrl22-venue-media img {
	transform: scale(1.02);
}

.nrl22-venue-body {
	position: relative;
	z-index: 1;
	padding: 14px 14px 16px;
}

.nrl22-venue-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	line-height: 1.2;
}

.nrl22-venue-meta {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	opacity: 0.9;
}

.nrl22-page-header {
	text-align: center;
	margin: 40px 0 30px;
}

.nrl22-page-title {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.nrl22-page-separator {
	width: 100%;
	height: 2px;
	background: #b40000;
	margin: 22px auto 0;
}

@media (max-width: 600px) {
	.nrl22-page-title {
		font-size: 34px;
	}
}

.nrl22-venue-badges {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.nrl22-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.22);
	white-space: normal;
}

.nrl22-badge--info {
	opacity: 0.95;
	text-align: center;
}

.nrl22-badge--action {
	width: 100%;
	font-size: 13px;
	padding: 10px 14px;
}

.nrl22-ico {
	display: inline-block;
	margin-right: 6px;
	transform: translateY(1px);
}

.nrl22-sep {
	display: inline-block;
	margin: 0 10px;
	opacity: 0.6;
	transform: translateY(-1px);
}

.nrl22-club-map-view {
	margin: 0 0 28px;
}

.nrl22-club-list-view {
	margin-top: 0;
}

.nrl22-club-map {
	width: 100%;
	height: 560px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #111;
}

.nrl22-map-missing-note {
	margin: 10px 0 0;
	font-size: 13px;
	opacity: 0.75;
}

.nrl22-map-error {
	margin: 0;
	padding: 24px;
	text-align: center;
	color: #fff;
	opacity: 0.85;
}

.nrl22-map-info {
	min-width: 180px;
	max-width: 260px;
	background: #fff;
	color: #111;
	font-size: 14px;
	line-height: 1.35;
}

.nrl22-map-info-title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.nrl22-map-info-title a {
	color: #111 !important;
	text-decoration: none;
}

.nrl22-map-info-title a:hover {
	text-decoration: underline;
}

.nrl22-map-info-badges {
	font-size: 12px;
	color: #333;
	line-height: 1.4;
}

/* Google Maps InfoWindow — override theme dark infowindow styles */
#nrl22-club-map .gm-style-iw,
#nrl22-club-map .gm-style-iw-c,
#nrl22-club-map .gm-style-iw-d,
#nrl22-club-map .gm-style-iw-d > div {
	background: #fff !important;
	background-color: #fff !important;
}

#nrl22-club-map .gm-style-iw-c {
	padding: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

#nrl22-club-map .gm-style-iw-d {
	overflow: hidden !important;
	max-height: none !important;
}

#nrl22-club-map .gm-style-iw-d > div {
	overflow: visible !important;
}

#nrl22-club-map .gm-style-iw-chr {
	top: 0 !important;
	right: 0 !important;
}

@media (max-width: 600px) {
	.nrl22-club-map {
		height: 420px;
	}
}
