/* ==========================================================================
   RSV Hannover — Design System (cassiopeia_rsv child template)
   Club palette derived from crest: deep blue + grass green
   Loaded as media/templates/site/cassiopeia_rsv/css/user.css
   ========================================================================== */

:root {
	color-scheme: dark;
	--rsv-blue: #5b9fd4;
	--rsv-blue-dark: #0f172a;
	--rsv-blue-light: #1e293b;
	--rsv-green: #4ade80;
	--rsv-green-dark: #22c55e;
	--rsv-green-light: #14532d;
	--rsv-gold: #fbbf24;
	--rsv-text: #e2e8f0;
	--rsv-text-muted: #94a3b8;
	--rsv-bg: #0f172a;
	--rsv-surface: #1e293b;
	--rsv-surface-alt: #162032;
	--rsv-border: #334155;
	--rsv-link: #7ec8ff;
	--rsv-link-hover: #4ade80;
	--rsv-on-primary: #ffffff;
	--rsv-radius: 12px;
	--rsv-radius-sm: 8px;
	--rsv-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	--rsv-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);
	--rsv-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--rsv-max-width: 72rem;
}

/* Optional visitor preference. The dark root is the fallback for browsers without a preference. */
html[data-rsv-theme="light"] {
	color-scheme: light;
	--rsv-blue: #1a4f8a;
	--rsv-blue-dark: #123a66;
	--rsv-blue-light: #e8f0f8;
	--rsv-green: #2d7a4a;
	--rsv-green-dark: #1f5c36;
	--rsv-green-light: #e8f4ec;
	--rsv-gold: #9a7410;
	--rsv-text: #1e293b;
	--rsv-text-muted: #5b6878;
	--rsv-bg: #e2e8f0;
	--rsv-content-bg: #f8fafc;
	--rsv-content-border: #cbd5e1;
	--rsv-surface: #ffffff;
	--rsv-surface-alt: #edf3f7;
	--rsv-border: #cbd5df;
	--rsv-link: #15558f;
	--rsv-link-hover: #1f693d;
	--rsv-shadow: 0 2px 12px rgba(26, 79, 138, 0.1);
	--rsv-shadow-lg: 0 8px 32px rgba(26, 79, 138, 0.14);
}

/* --- Global --- */

body.site {
	background: var(--rsv-bg);
	color: var(--rsv-text);
	font-family: var(--rsv-font);
	--link-color: var(--rsv-link);
	--link-hover-color: var(--rsv-link-hover);
}

body.site a[href] {
	color: var(--rsv-link);
}

body.site a[href]:hover,
body.site a[href]:focus {
	color: var(--rsv-link-hover);
}

.site-grid .container-component,
.site-grid .container-main {
	max-width: var(--rsv-max-width);
}

html[data-rsv-theme="light"] .site-grid .container-component,
html[data-rsv-theme="light"] .site-grid .container-main {
	background: var(--rsv-content-bg);
}

@media (min-width: 768px) {
	html[data-rsv-theme="light"] .site-grid .container-component,
	html[data-rsv-theme="light"] .site-grid .container-main {
		box-sizing: border-box;
		padding-inline: clamp(1rem, 2vw, 2rem);
		border-inline: 1px solid var(--rsv-content-border);
		box-shadow: 0 0 24px rgba(26, 79, 138, 0.1);
	}
}

/* Compact header — logo bar, not hero */
header.header {
	background: var(--rsv-surface);
	background-image: none; /* defeat Cassiopeia header gradient */
	border-bottom: 3px solid var(--rsv-green);
	box-shadow: var(--rsv-shadow);
	/* Stay above hero / page content when sticky (Bootstrap sticky-top alone can lose to overflow stacking). */
	z-index: 1030;
}

/* Cassiopeia forces position:relative below 992px; keep sticky so nav stays usable over the tall hero. */
header.header.container-header.sticky-top {
	position: sticky !important;
	top: 0;
	z-index: 1030;
}

header.header .navbar-brand {
	font-weight: 700;
	color: var(--rsv-blue) !important;
	font-size: 1.1rem;
}

header.header .navbar-brand img {
	max-height: 52px;
	width: auto;
}

header.header .nav-link {
	color: var(--rsv-blue) !important;
	font-weight: 600;
	font-size: 0.95rem;
}

header.header .nav-link:hover,
header.header .nav-link:focus {
	color: var(--rsv-green) !important;
}

header.header .navbar-toggler {
	border-color: var(--rsv-blue);
	color: var(--rsv-blue);
}

header.header .navbar-toggler .icon-menu,
header.header .navbar-toggler-icon {
	color: var(--rsv-blue);
}

header.header .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28126, 200, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-rsv-theme="light"] header.header .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2818, 58, 102, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-rsv-theme="light"] body.site .rsv-site-footer a {
	color: #fff;
}

html[data-rsv-theme="light"] body.site .rsv-site-footer a:hover,
html[data-rsv-theme="light"] body.site .rsv-site-footer a:focus {
	color: #a7f3c4;
}

.rsv-theme-toggle {
	display: inline-flex;
	align-items: center;
	align-self: center;
	justify-content: center;
	gap: 0.4rem;
	margin-left: auto;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--rsv-border);
	border-radius: 999px;
	background: var(--rsv-surface-alt);
	color: var(--rsv-text);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.rsv-theme-toggle:hover {
	border-color: var(--rsv-green);
	color: var(--rsv-green);
}

.rsv-theme-toggle:focus-visible {
	outline: 3px solid var(--rsv-green);
	outline-offset: 2px;
}

.rsv-theme-toggle [aria-hidden="true"] {
	font-size: 1.1rem;
}

@media (max-width: 991.98px) {
	.rsv-theme-toggle {
		order: 2;
		margin: 0 0 0 auto;
	}
}

/* Page wrapper */
.rsv-page {
	padding-bottom: 2rem;
}

/* Joomla article view inside RSV shell */
.rsv-page .com-content-article.item-page {
	margin: 0;
}

.rsv-page .com-content-article__body {
	max-width: none;
}

.rsv-page .com-content-article__body > :first-child {
	margin-top: 0;
}

.rsv-page .com-content-article > figure.item-image,
.rsv-page .com-content-article > .item-image {
	float: none;
	width: auto;
	max-width: 100%;
	margin: 0 0 1.5rem;
}

.rsv-page .com-content-article > figure.item-image img,
.rsv-page .com-content-article > .item-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.rsv-page .com-content-article__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 0 1rem;
	border-radius: var(--rsv-radius-sm);
}

/* Cropped article images (RSV editor insert) */
.rsv-article-image {
	display: block;
	margin: 1.5rem 0;
	max-width: 100%;
}

.rsv-article-image__frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: var(--rsv-radius-sm);
	background: var(--rsv-surface-alt, #162032);
}

.rsv-article-image__frame img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}

.rsv-article-image__caption {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--rsv-text-muted, #94a3b8);
	line-height: 1.4;
}

/* Quiet, always-visible origin/type note for editorial images. */
.rsv-image-frame,
.rsv-trainer-profile-photo-wrap {
	position: relative;
}

.rsv-image-frame {
	display: inline-block;
	max-width: 100%;
}

.rsv-image-disclosure {
	position: absolute;
	right: 0.3rem;
	bottom: 0.3rem;
	z-index: 3;
	max-width: calc(100% - 0.6rem);
	padding: 0.1rem 0.28rem;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0.25rem;
	background: rgba(15, 23, 42, 0.58);
	color: #fff;
	font-size: 0.54rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.rsv-hero > .rsv-image-disclosure--hero {
	position: absolute;
	right: 0.3rem;
	bottom: 0.3rem;
	z-index: 2;
}

.rsv-card-image > .rsv-image-disclosure--card {
	right: 0.3rem;
	bottom: 0.3rem;
	z-index: 3;
}

/* --- Hero (homepage) --- */

.rsv-hero {
	position: relative;
	z-index: 0; /* always below sticky header */
	background: linear-gradient(135deg, var(--rsv-blue-dark) 0%, var(--rsv-blue) 45%, #2a6cb5 70%, var(--rsv-green) 100%);
	color: #fff;
	border-radius: var(--rsv-radius);
	padding: 3rem 2.5rem;
	margin-bottom: 2.5rem;
	overflow: hidden;
	box-shadow: var(--rsv-shadow-lg);
}

.rsv-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
		radial-gradient(circle at 10% 80%, rgba(45, 122, 74, 0.3) 0%, transparent 50%);
	pointer-events: none;
}

.rsv-hero > * {
	position: relative;
	z-index: 1;
}

.rsv-hero--has-image {
	padding: 0;
	min-height: 18rem;
	display: flex;
	align-items: stretch;
}

.rsv-hero--compact {
	min-height: 14rem;
}

.rsv-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/* Location / page heroes: fixed crop ratio (matches admin photo-focus frame). */
.rsv-hero.rsv-hero--has-image.rsv-hero--photo-crop {
	min-height: 0;
}

.rsv-hero--photo-crop-compact {
	aspect-ratio: 16 / 5;
}

.rsv-hero--photo-crop-full {
	aspect-ratio: 16 / 5;
}

.rsv-hero--photo-crop .rsv-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100%;
	box-sizing: border-box;
}

.rsv-hero-content {
	position: relative;
	z-index: 1;
	padding: 3rem 2.5rem;
	width: 100%;
	background: linear-gradient(135deg, rgba(18, 58, 102, 0.88) 0%, rgba(26, 79, 138, 0.78) 45%, rgba(45, 122, 74, 0.72) 100%);
}

.rsv-hero--compact .rsv-hero-content {
	padding: 2rem 2rem;
}

.rsv-hero--has-logo .rsv-hero-content {
	padding-right: clamp(18rem, 30vw, 25rem);
}

.rsv-hero--has-logo .rsv-hero-copy {
	min-width: 0;
}

.rsv-hero-logo {
	position: absolute;
	top: 50%;
	right: clamp(1.5rem, 4vw, 3rem);
	width: clamp(13rem, 24vw, 20rem);
	max-height: calc(100% - 2rem);
	object-fit: contain;
	transform: translateY(-50%);
	filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.28));
}

/* Homepage composition: copy is the focal point; the crest is a quiet brand mark. */
.rsv-hero--photo-crop-full .rsv-hero-content {
	justify-content: center;
	padding-block: clamp(2rem, 4vw, 3rem);
}

.rsv-hero--photo-crop-full.rsv-hero--has-logo .rsv-hero-content {
	padding-right: clamp(13rem, 23vw, 18rem);
}

.rsv-hero--photo-crop-full .rsv-hero-copy {
	max-width: 46rem;
}

.rsv-hero--photo-crop-full .rsv-hero-logo {
	right: clamp(2rem, 5vw, 4rem);
	width: clamp(9rem, 17vw, 13rem);
	max-height: calc(100% - 3rem);
}

.rsv-hero--photo-crop-full .rsv-hero-badge {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.rsv-hero--photo-crop-full .rsv-btn-secondary {
	border-color: transparent;
	background: rgba(15, 23, 42, 0.42);
}

.rsv-hero--photo-crop-full .rsv-btn-secondary:hover,
.rsv-hero--photo-crop-full .rsv-btn-secondary:focus {
	background: rgba(15, 23, 42, 0.62);
}

.rsv-hero h1 {
	color: #fff;
	font-size: clamp(1.85rem, 4.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 0.85rem;
	letter-spacing: -0.02em;
}

.rsv-hero p.lead {
	font-size: clamp(1rem, 2.5vw, 1.2rem);
	opacity: 0.95;
	max-width: 42rem;
	line-height: 1.55;
	margin-bottom: 0;
}

.rsv-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	padding: 0.3rem 0.85rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1rem;
}

/* Inner page hero (smaller) */
.rsv-page-header {
	background: var(--rsv-blue-dark);
	color: var(--rsv-on-primary);
	border-radius: var(--rsv-radius);
	padding: 2rem 2rem 1.75rem;
	margin-bottom: 2rem;
}

.rsv-page-header h1 {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.5rem;
	font-weight: 700;
}

.rsv-page-header p {
	margin: 0;
	opacity: 0.9;
	font-size: 1.05rem;
}

/* --- Buttons / CTAs --- */

.rsv-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.rsv-btn {
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.7rem 1.4rem;
	border-radius: var(--rsv-radius-sm);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	border: 2px solid transparent;
	cursor: pointer;
}

.rsv-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.rsv-btn-primary {
	background: var(--rsv-on-primary);
	color: var(--rsv-blue-dark) !important;
}

.rsv-btn-primary:hover {
	background: var(--rsv-green-light);
	color: var(--rsv-green) !important;
}

.rsv-btn-secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.rsv-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.22);
}

.rsv-btn-outline {
	background: transparent;
	color: var(--rsv-blue) !important;
	border-color: var(--rsv-blue);
}

.rsv-btn-outline:hover {
	background: var(--rsv-blue);
	color: #fff !important;
}

.rsv-btn-green {
	background: var(--rsv-green-light);
	color: #fff !important;
	border-color: var(--rsv-green);
}

.rsv-btn-green:hover {
	background: var(--rsv-green-dark);
	border-color: var(--rsv-green);
	color: #fff !important;
}

html[data-rsv-theme="light"] body.site .rsv-btn-green {
	background: var(--rsv-green-dark);
	border-color: var(--rsv-green-dark);
	color: #fff !important;
}

html[data-rsv-theme="light"] body.site .rsv-btn-green:hover,
html[data-rsv-theme="light"] body.site .rsv-btn-green:focus {
	background: #164a2b;
	border-color: #164a2b;
}

html[data-rsv-theme="light"] body.site .rsv-message-form .rsv-btn-secondary {
	background: #fff;
	border-color: var(--rsv-blue-dark);
	color: var(--rsv-blue-dark) !important;
}

html[data-rsv-theme="light"] body.site .rsv-message-form .rsv-btn-secondary:hover,
html[data-rsv-theme="light"] body.site .rsv-message-form .rsv-btn-secondary:focus {
	background: var(--rsv-blue-light);
}

/* Sticky mobile join CTA */
.rsv-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--rsv-green);
	padding: 0.65rem 1rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.rsv-sticky-cta a {
	display: block;
	text-align: center;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.rsv-sticky-cta {
		display: block;
	}

	body.site {
		padding-bottom: 3.5rem;
	}
}

/* --- Section titles --- */

.rsv-section-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--rsv-blue);
	margin: 2.5rem 0 1.25rem;
	padding-bottom: 0.4rem;
	border-bottom: 3px solid var(--rsv-green);
	display: inline-block;
}

.rsv-section-intro {
	color: var(--rsv-text-muted);
	margin: -0.5rem 0 1.5rem;
	max-width: 40rem;
}

.rsv-page-chrome {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1rem;
}

.rsv-back {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--rsv-blue);
	text-decoration: none;
	white-space: nowrap;
}

.rsv-back:hover {
	text-decoration: underline;
}

.rsv-page-chrome .rsv-breadcrumb {
	margin: 0;
}

.rsv-breadcrumb {
	font-size: 0.9rem;
	color: var(--rsv-text-muted);
	margin: 0 0 1rem;
}

.rsv-breadcrumb a {
	color: var(--rsv-blue);
	text-decoration: none;
}

.rsv-breadcrumb a:hover {
	text-decoration: underline;
}

/* --- Card grid --- */

.rsv-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0 2rem;
}

.rsv-catalog-toolbar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.rsv-catalog-search__input {
	width: 100%;
	max-width: 28rem;
	padding: 0.7rem 1rem;
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius-sm);
	background: var(--rsv-surface);
	color: var(--rsv-text);
	font-size: 1rem;
}

.rsv-catalog-search__input:focus {
	outline: 2px solid var(--rsv-green);
	outline-offset: 1px;
}

.rsv-catalog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.rsv-filter-chip {
	border: 1px solid var(--rsv-border);
	background: var(--rsv-surface);
	color: var(--rsv-text);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rsv-filter-chip:hover,
.rsv-filter-chip:focus-visible {
	border-color: var(--rsv-green);
}

.rsv-filter-chip.is-active {
	background: var(--rsv-green);
	border-color: var(--rsv-green);
	color: var(--rsv-on-primary, #fff);
}

.rsv-catalog-item__parent {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	color: var(--rsv-text-muted, #5a6472);
}

.rsv-catalog-empty {
	margin: 0 0 2rem;
	color: var(--rsv-text-muted, #5a6472);
	font-style: italic;
}

.rsv-page--catalog .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rsv-card {
	position: relative;
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius);
	padding: 0;
	box-shadow: var(--rsv-shadow);
	border: 1px solid var(--rsv-border);
	border-top: 4px solid var(--rsv-green);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Whole card is clickable; the visible CTA stays the real <a>. */
.rsv-card a.rsv-card-link--stretch::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.rsv-card a:not(.rsv-card-link--stretch),
.rsv-card .rsv-btn {
	position: relative;
	z-index: 2;
}

.rsv-card-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}

/* Zoom is clipped to the photo frame, never the card body. */
.rsv-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	flex: 0 0 auto;
	isolation: isolate;
}
.rsv-card-image > .rsv-card-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rsv-card-body {
	padding: 1.35rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.rsv-card-body h3 {
	margin-top: 0;
}

.rsv-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
	margin: 1.5rem 0 2rem;
}

.rsv-photo-tile {
	margin: 0;
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius-sm);
	overflow: hidden;
	box-shadow: var(--rsv-shadow);
	border: 1px solid var(--rsv-border);
}

a.rsv-photo-tile-link {
	display: block;
	color: inherit;
	text-decoration: none;
	border-radius: var(--rsv-radius-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.rsv-photo-tile-link:hover,
a.rsv-photo-tile-link:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--rsv-shadow-lg);
	outline: none;
}

a.rsv-photo-tile-link:focus-visible .rsv-photo-tile {
	border-color: var(--rsv-blue);
}

a.rsv-photo-tile-link .rsv-photo-tile {
	height: 100%;
}

.rsv-photo-tile img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}

.rsv-photo-tile figcaption {
	padding: 0.85rem 1rem 1rem;
	font-size: 0.92rem;
	color: var(--rsv-text);
}

.rsv-photo-tile figcaption strong {
	display: block;
	color: var(--rsv-blue);
	margin-bottom: 0.15rem;
}

.rsv-photo-tile figcaption span {
	color: var(--rsv-text-muted);
	font-size: 0.85rem;
}

.rsv-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rsv-shadow-lg);
}

.rsv-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--rsv-blue);
}

.rsv-card p {
	margin: 0 0 1rem;
	color: var(--rsv-text-muted);
	font-size: 0.92rem;
	line-height: 1.5;
	flex-grow: 1;
}

.rsv-card a.rsv-card-link {
	font-weight: 700;
	color: var(--rsv-green);
	text-decoration: none;
	font-size: 0.9rem;
	margin-top: auto;
}

.rsv-card a.rsv-card-link:hover,
.rsv-card:has(a.rsv-card-link--stretch):hover a.rsv-card-link--stretch,
.rsv-card:has(a.rsv-card-link--stretch):focus-within a.rsv-card-link--stretch {
	color: var(--rsv-green-dark);
	text-decoration: underline;
}

.rsv-card:has(a.rsv-card-link--stretch) {
	cursor: pointer;
}

.rsv-offer-badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: calc(100% - 1.5rem);
	padding: 0.38rem 0.7rem;
	border-radius: 999px;
	border: 2px solid #ffffff;
	background: #166534;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
	pointer-events: none;
}

html[data-rsv-theme="light"] .rsv-offer-badge {
	border-color: #14532d;
	background: #f0fdf4;
	color: #14532d;
}

.rsv-card-image > .rsv-offer-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
}

.rsv-card-body > .rsv-offer-badge {
	margin-bottom: 0.8rem;
}

.rsv-offer-spotlight {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 38%) 1fr;
	min-height: 220px;
	margin: 2rem 0;
	overflow: hidden;
	border: 1px solid var(--rsv-border);
	border-left: 6px solid var(--rsv-green);
	border-radius: var(--rsv-radius);
	background: var(--rsv-surface);
	box-shadow: var(--rsv-shadow-lg);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rsv-offer-spotlight:hover,
.rsv-offer-spotlight:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}

.rsv-offer-spotlight--no-image {
	display: block;
	min-height: 0;
}

.rsv-offer-spotlight__image {
	position: relative;
	min-height: 240px;
	overflow: hidden;
}

.rsv-offer-spotlight__image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rsv-offer-spotlight__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.35rem, 3vw, 2.4rem);
}

.rsv-offer-spotlight__label {
	margin: 0 0 0.45rem;
	color: var(--rsv-gold);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.rsv-offer-spotlight h2 {
	margin: 0 0 0.7rem;
	color: var(--rsv-blue);
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1.2;
}

.rsv-offer-spotlight__text {
	margin: 0 0 1rem;
	color: var(--rsv-text);
	font-size: 1rem;
	line-height: 1.55;
}

body.site .rsv-offer-spotlight a.rsv-offer-spotlight__link {
	width: fit-content;
	margin-top: auto;
	color: var(--rsv-green);
	font-weight: 800;
	text-decoration: none;
}

.rsv-offer-spotlight a.rsv-offer-spotlight__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

body.site .rsv-offer-spotlight:hover a.rsv-offer-spotlight__link,
body.site .rsv-offer-spotlight:focus-within a.rsv-offer-spotlight__link {
	color: var(--rsv-green-dark);
	text-decoration: underline;
}

@media (max-width: 700px) {
	.rsv-offer-spotlight {
		grid-template-columns: 1fr;
	}

	.rsv-offer-spotlight__image {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

/* Card color variants per department */
.rsv-card--water { border-top-color: #0ea5e9; }
.rsv-card--dance { border-top-color: #a855f7; }
.rsv-card--outdoor { border-top-color: #22c55e; }
.rsv-card--hall { border-top-color: #f59e0b; }
.rsv-card--paddle { border-top-color: #06b6d4; }
.rsv-card--go { border-top-color: #475569; }

/* --- News list --- */

.rsv-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rsv-news-list li {
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius-sm);
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
	box-shadow: var(--rsv-shadow);
	border-left: 4px solid var(--rsv-blue);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.rsv-news-list .rsv-date {
	font-size: 0.82rem;
	color: var(--rsv-text-muted);
	font-weight: 600;
}

.rsv-news-list a {
	font-weight: 700;
	color: var(--rsv-blue);
	text-decoration: none;
	font-size: 1rem;
}

.rsv-news-list a:hover {
	color: var(--rsv-green);
	text-decoration: underline;
}

/* --- Info boxes & steps --- */

.rsv-info-box {
	background: var(--rsv-green-light);
	border-left: 4px solid var(--rsv-green);
	padding: 1rem 1.25rem;
	border-radius: 0 var(--rsv-radius-sm) var(--rsv-radius-sm) 0;
	margin: 1.5rem 0;
	font-size: 0.95rem;
	line-height: 1.55;
}

.rsv-info-box--blue {
	background: var(--rsv-blue-light);
	border-left-color: var(--rsv-blue);
}

/* Infoboxes contain ordinary paragraphs and complete lists. */
.rsv-info-box > :first-child { margin-top: 0; }
.rsv-info-box > :last-child { margin-bottom: 0; }
.rsv-info-box p + p { margin-top: 0.75rem; }
.rsv-info-box ul, .rsv-info-box ol { padding-left: 1.5rem; margin-block: 0.75rem; }
.rsv-info-box ul { list-style-type: disc; }
.rsv-info-box ol { list-style-type: decimal; }
.rsv-info-box li + li { margin-top: 0.25rem; }
.rsv-info-box li > ul { list-style-type: circle; }

.rsv-steps {
	counter-reset: rsv-step;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.rsv-steps li {
	counter-increment: rsv-step;
	position: relative;
	padding: 1rem 0 1rem 3.25rem;
	border-bottom: 1px solid var(--rsv-border);
}

.rsv-steps li:last-child {
	border-bottom: none;
}

.rsv-downloads {
	list-style: none;
	padding: 0;
	margin: 1rem 0 1.5rem;
	display: grid;
	gap: 0.65rem;
}

.rsv-downloads li {
	margin: 0;
}

.rsv-downloads a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.1rem;
	background: var(--rsv-surface);
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius-sm);
	color: var(--rsv-blue) !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rsv-downloads a::before {
	content: "↓";
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	background: var(--rsv-blue-light);
	color: var(--rsv-blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
}

.rsv-downloads a:hover {
	border-color: var(--rsv-green);
	box-shadow: var(--rsv-shadow);
	color: var(--rsv-green-dark) !important;
}

.rsv-downloads li.rsv-download--required a {
	background: var(--rsv-green-light);
	border-color: var(--rsv-green);
}

.rsv-download-label {
	flex: 1 1 auto;
	min-width: 0;
}

.rsv-download-badge {
	flex: 0 0 auto;
	margin-left: auto;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--rsv-green);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.rsv-member-intro {
	margin: 0 0 1.5rem;
}

.rsv-member-downloads li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.rsv-download-desc {
	display: block;
	padding: 0 1.1rem 0.85rem;
	font-size: 0.92rem;
	color: var(--rsv-text-muted, #5a6472);
	line-height: 1.45;
}

.rsv-member-empty {
	color: var(--rsv-text-muted, #5a6472);
	font-style: italic;
}

.rsv-doc-repo {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
	gap: 1.5rem;
	margin: 0 0 1.5rem;
}

.rsv-doc-tree {
	background: var(--rsv-surface, #fff);
	border: 1px solid var(--rsv-border, #d8dee8);
	border-radius: var(--rsv-radius, 12px);
	padding: 0.75rem 0;
}

.rsv-doc-tree-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rsv-doc-tree-item a {
	display: block;
	padding: 0.45rem 1rem;
	color: var(--rsv-link);
	text-decoration: none;
	border-left: 3px solid transparent;
}

.rsv-doc-tree-item.is-active a {
	background: rgba(0, 102, 68, 0.08);
	border-left-color: var(--rsv-green, #006644);
	font-weight: 600;
}

.rsv-doc-tree-item a:hover {
	background: rgba(0, 0, 0, 0.04);
}

.rsv-doc-tree-count {
	display: inline-block;
	min-width: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--rsv-border, #d8dee8);
	font-size: 0.75rem;
	text-align: center;
}

.rsv-doc-panel {
	background: var(--rsv-surface, #fff);
	border: 1px solid var(--rsv-border, #d8dee8);
	border-radius: var(--rsv-radius, 12px);
	padding: 1.25rem 1.5rem;
}

.rsv-doc-panel-header h2 {
	margin: 0 0 0.35rem;
}

.rsv-doc-panel-lead {
	margin: 0 0 1rem;
	color: var(--rsv-text-muted, #5a6472);
}

.rsv-doc-subcats {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.rsv-doc-subcats a {
	display: block;
	padding: 0.85rem 1rem;
	border: 1px solid var(--rsv-border, #d8dee8);
	border-radius: var(--rsv-radius-sm, 8px);
	color: var(--rsv-link);
	text-decoration: none;
}

.rsv-doc-subcats a:hover {
	border-color: var(--rsv-green, #006644);
}

.rsv-doc-subcats span {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.92rem;
	color: var(--rsv-text-muted, #5a6472);
}

.rsv-doc-article-link {
	margin: 1rem 0 0;
}

.rsv-doc-article-link a {
	font-weight: 600;
}

@media (max-width: 768px) {
	.rsv-doc-repo {
		grid-template-columns: 1fr;
	}
}

.rsv-steps li::before {
	content: counter(rsv-step);
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--rsv-blue);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.95rem;
}

/* --- Tables --- */

.rsv-table-wrap {
	overflow-x: auto;
	margin: 1rem 0 1.5rem;
	border-radius: var(--rsv-radius-sm);
	box-shadow: var(--rsv-shadow);
	max-width: 100%;
}

.rsv-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	background: var(--rsv-surface);
	color: var(--rsv-text);
}

.rsv-table th,
.rsv-table td {
	border: 1px solid var(--rsv-border);
	padding: 0.6rem 0.75rem;
	text-align: left;
	color: var(--rsv-text);
}

.rsv-table th {
	background: var(--rsv-blue-dark);
	color: var(--rsv-on-primary);
	font-weight: 600;
}

.rsv-table tbody tr:nth-child(even) {
	background: var(--rsv-surface-alt);
}

/* Weekday dividers keep long training lists easy to scan. */
.rsv-table--schedules .rsv-schedule-day__heading th {
	background: var(--rsv-surface-alt);
	color: var(--rsv-text);
	font-size: 1.05rem;
	font-weight: 700;
	padding: 0.85rem 0.75rem;
	border-top: 3px solid var(--rsv-blue);
}

.rsv-schedule-week-pattern {
	display: block;
	font-size: .82em;
	color: var(--rsv-muted, #667085);
}

.rsv-department-fees {
	margin-top: 2rem;
}

.rsv-fee-embed,
.rsv-schedule-embed {
	max-width: 100%;
	overflow-x: auto;
	min-width: 0;
}

.rsv-fee-embed .rsv-table-wrap,
.rsv-schedule-embed .rsv-table-wrap {
	max-width: 100%;
}

.rsv-schedule-embed__heading {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.15rem;
}

.rsv-fee-admission-heading {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.15rem;
}

.rsv-schedule-embed__section + .rsv-schedule-embed__section {
	margin-top: 0.5rem;
}

.rsv-table a {
	color: var(--rsv-green);
	font-weight: 600;
}

.rsv-table a:hover {
	color: var(--rsv-green-dark);
}

.rsv-fee-department-cell {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.rsv-fee-department-title {
	display: block;
	line-height: 1.35;
}

.rsv-fee-row-note {
	display: block;
	font-size: 0.82rem;
	font-weight: 400;
	color: var(--rsv-text-muted, #5a6472);
	line-height: 1.35;
}

.rsv-fee-related-sports {
	display: block;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.35;
}

.rsv-fee-amount {
	white-space: nowrap;
}

.rsv-fee-pending {
	margin: 1.5rem 0 2rem;
}

.rsv-fee-pending__header {
	margin-bottom: 0.75rem;
}

.rsv-fee-pending__title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.rsv-fee-pending__intro > :last-child {
	margin-bottom: 0;
}

.rsv-fee-current-heading {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rsv-text);
}

.rsv-fee-schedule-heading {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rsv-text);
}

.rsv-fee-schedule {
	margin: 1.75rem 0 2rem;
}

.rsv-fee-schedule__header {
	margin-bottom: 0.75rem;
}

.rsv-fee-schedule__title {
	margin: 0;
	font-size: 1rem;
}

.rsv-table--pending th {
	background: var(--rsv-blue, #1a5f8a);
}

.rsv-fee-changed {
	background: rgba(31, 157, 74, 0.14);
	box-shadow: inset 0 0 0 1px rgba(31, 157, 74, 0.35);
	font-weight: 700;
}

.rsv-fee-type-help {
	margin-top: 1rem;
	border: 1px solid var(--rsv-border, #d7dde5);
	border-radius: 0.6rem;
	background: var(--rsv-surface, #fff);
}

.rsv-fee-type-help summary {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 0.85rem;
	cursor: pointer;
	font-weight: 650;
}

.rsv-fee-type-help summary::after {
	content: '⌄';
	margin-left: auto;
	transition: transform 0.2s ease;
}

.rsv-fee-type-help[open] summary::after {
	transform: rotate(180deg);
}

.rsv-fee-type-help__icon {
	display: inline-grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--rsv-green);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
}

:root:not([data-rsv-theme]) .rsv-fee-type-help__icon,
html[data-rsv-theme="dark"] .rsv-fee-type-help__icon {
	background: #166534;
}

.rsv-fee-type-help__list {
	margin: 0;
	padding: 0 1rem 0.9rem 2.8rem;
}

.rsv-fee-type-help__list li + li {
	margin-top: 0.5rem;
}

@media print {
	.rsv-fee-changed {
		background: #e8f5e9 !important;
		box-shadow: none;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

.rsv-fee-unchanged {
	color: var(--rsv-text-muted, #5a6472);
	font-style: italic;
}

.rsv-embed--loading {
	min-height: 3rem;
	opacity: 0.65;
}

.rsv-embed--loading::after {
	content: 'Beiträge werden geladen …';
	display: block;
	margin-top: 0.35rem;
	font-size: 0.9rem;
	color: var(--rsv-text-muted);
}

.rsv-embed--error {
	border-color: #dc3545;
	background: rgba(220, 53, 69, 0.08);
}

.rsv-table--trainers .rsv-trainer-photo {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	object-fit: cover;
}

.rsv-schedule-place {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.rsv-location-photo {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.35rem;
	object-fit: cover;
	flex-shrink: 0;
}

.rsv-map-embed {
	max-width: 100%;
	margin: 1.25rem 0 1.5rem;
}

.rsv-map-embed .rsv-map {
	max-width: 100%;
	margin: 0;
}

.rsv-map {
	margin: 1.25rem 0 1.5rem;
	max-width: 50%;
}

.rsv-map__title {
	font-size: 1.05rem;
	margin: 0 0 0.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.rsv-map__open {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: zoom-in;
	position: relative;
}

.rsv-map__open:focus-visible {
	outline: 2px solid #1a5f4a;
	outline-offset: 3px;
	border-radius: 0.45rem;
}

.rsv-map__hint {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	z-index: 2;
	padding: 0.2rem 0.45rem;
	border-radius: 0.25rem;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.2;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.rsv-map__open:hover .rsv-map__hint,
.rsv-map__open:focus-visible .rsv-map__hint {
	opacity: 1;
}

.rsv-map__frame {
	position: relative;
	border-radius: 0.45rem;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #e8e8e8;
	max-width: 100%;
}

.rsv-map__basemap {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
}

.rsv-map__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
}

.rsv-map .rsv-map__pin,
.rsv-map .rsv-map__marker {
	filter: drop-shadow(0 0.16rem 0.28rem rgba(0, 0, 0, 0.62));
}

.rsv-map__pin path,
.rsv-map__marker path {
	stroke-linejoin: round;
}

.rsv-map .rsv-map__line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0.14rem 0.24rem rgba(0, 0, 0, 0.58));
}

.rsv-map .rsv-map__arrowhead {
	position: absolute;
	display: block;
	clip-path: polygon(0 8%, 100% 50%, 0 92%, 24% 50%);
	filter: drop-shadow(0 0.14rem 0.24rem rgba(0, 0, 0, 0.58));
	transform-origin: 0 50%;
	pointer-events: none;
}

.rsv-map .rsv-map__text-pointer,
.rsv-map .rsv-map__text-pointer-target {
	filter: drop-shadow(0 0.14rem 0.24rem rgba(0, 0, 0, 0.58));
}

.rsv-map__text-labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
}

.rsv-map__text-label {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-block;
	padding: 0.15rem 0.4rem;
	border-radius: 0.25rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(17, 24, 39, 0.2);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
}

.rsv-map__shape {
	position: absolute;
	box-sizing: border-box;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.12);
	border-style: solid;
	filter: drop-shadow(0 0.14rem 0.24rem rgba(0, 0, 0, 0.58));
}

.rsv-map__shape--circle {
	border-radius: 50%;
}

.rsv-map__shape--square {
	border-radius: 0.12rem;
}

.rsv-map__legend {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.8rem;
	font-size: 0.82rem;
	line-height: 1.3;
	color: var(--rsv-text, #e2e8f0);
}

.rsv-map__legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.rsv-map__legend-swatch {
	display: inline-block;
	flex: 0 0 auto;
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 50%;
	background: #c62828;
	box-shadow: 0 0 0 1px #fff;
}

.rsv-map__legend-line .rsv-map__legend-swatch {
	height: 0.2rem;
	border-radius: 0.15rem;
	box-shadow: none;
}

.rsv-map__legend-marker .rsv-map__legend-swatch {
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}

.rsv-map__attr {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	color: #666;
	line-height: 1.3;
}

.rsv-map-detail {
	margin: 0.85rem 0 1.25rem;
	max-width: 50%;
}

.rsv-map-detail .rsv-map {
	max-width: 100%;
	margin: 0;
}

.rsv-map-detail > summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 0.55rem;
	font-size: 0.95rem;
}

.rsv-location-maps {
	margin: 1.5rem 0;
}

@media (max-width: 640px) {
	.rsv-map,
	.rsv-map-detail {
		max-width: 100%;
	}
}

.rsv-map-dialog {
	border: 0;
	padding: 0;
	max-width: min(96vw, 72rem);
	width: 96vw;
	background: transparent;
}

.rsv-map-dialog::backdrop {
	background: rgba(0, 0, 0, 0.65);
}

.rsv-map-dialog__inner {
	position: relative;
	background: #fff;
	border-radius: 0.6rem;
	padding: 1rem 1rem 0.85rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.rsv-map-dialog__close {
	position: absolute;
	top: 0.35rem;
	right: 0.45rem;
	z-index: 2;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.rsv-map-dialog__close:hover,
.rsv-map-dialog__close:focus-visible {
	background: #000;
}

.rsv-map-dialog__title {
	margin: 0 2.5rem 0.75rem 0;
	font-size: 1.15rem;
}

.rsv-map-dialog__body {
	width: 100%;
}

.rsv-map-dialog__body .rsv-map__frame--modal {
	max-width: 100%;
	width: 100%;
}

.rsv-map-dialog__body .rsv-map__basemap {
	width: 100%;
	height: auto;
}

.rsv-map-dialog__attr {
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
	color: #666;
}

.rsv-app-qr {
	max-width: 22rem;
	margin: 1rem auto 2rem;
}

.rsv-app-demo {
	max-width: 42rem;
	margin: 1.5rem auto 2rem;
}

.rsv-app-demo img,
.rsv-photo-grid--app .rsv-photo-tile img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.rsv-photo-grid--app {
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.rsv-photo-grid--app .rsv-photo-tile {
	display: flex;
	flex-direction: column;
}

.rsv-photo-grid--app .rsv-photo-tile img {
	flex: 0 0 auto;
	background: var(--rsv-bg);
}

.rsv-photo-grid--natural .rsv-photo-tile {
	display: flex;
	flex-direction: column;
}

.rsv-photo-grid--natural .rsv-photo-tile img {
	height: auto;
	max-height: none;
	object-fit: contain;
	background: var(--rsv-bg);
}

.rsv-trainer-profile {
	display: grid;
	grid-template-columns: minmax(10rem, 16rem) 1fr;
	gap: 2rem;
	margin: 2rem 0;
	align-items: start;
}

.rsv-trainer-profile-photo-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: var(--rsv-radius-sm);
	aspect-ratio: 3 / 4;
	box-shadow: var(--rsv-shadow);
}

.rsv-trainer-profile-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.rsv-trainer-profile-body {
	font-size: 1rem;
	line-height: 1.6;
}

.rsv-location-detail {
	margin: 2rem 0;
}

.rsv-location-detail__meta {
	margin: 0 0 1.25rem;
	color: var(--rsv-muted, #5a6570);
	font-size: 1.05rem;
	line-height: 1.5;
}

.rsv-location-detail__body {
	font-size: 1rem;
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

.rsv-location-detail__body > *:first-child {
	margin-top: 0;
}

.rsv-location-detail__body > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.rsv-trainer-profile {
		grid-template-columns: 1fr;
	}
}

/* --- Department meta --- */

.rsv-dept-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius-sm);
	padding: 1.25rem;
	box-shadow: var(--rsv-shadow);
	margin: 1.5rem 0;
	font-size: 0.92rem;
}

.rsv-dept-meta div {
	padding: 0.5rem 0;
}

.rsv-dept-meta strong {
	display: block;
	color: var(--rsv-blue);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.2rem;
}

.rsv-tag {
	display: inline-block;
	background: var(--rsv-green);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}


/* --- Contact block --- */

.rsv-contact {
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius);
	padding: 1.5rem;
	box-shadow: var(--rsv-shadow);
	border: 1px solid var(--rsv-border);
}

.rsv-contact h3 {
	margin-top: 0;
	color: var(--rsv-blue);
}

.rsv-contact--quiet {
	background: transparent;
	box-shadow: none;
	border: 0;
	border-top: 1px solid var(--rsv-border);
	border-radius: 0;
	padding: 1.5rem 0 0;
	margin-top: 2rem;
}

.rsv-contact--quiet h3 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.rsv-contact--quiet p {
	margin: 0 0 0.5rem;
	color: var(--rsv-text-muted);
}

.rsv-contact--quiet a {
	color: var(--rsv-blue);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rsv-contact--quiet .rsv-contact-quiet-actions {
	margin: 0.85rem 0 0;
}

.rsv-contact--quiet .rsv-contact-quiet-actions .rsv-btn {
	width: auto;
	display: inline-flex;
	text-decoration: none;
}

.rsv-contact-embed {
	margin: 1.5rem 0;
}

.rsv-contact-card {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	background: var(--rsv-surface);
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius);
	padding: 1.25rem;
	box-shadow: var(--rsv-shadow);
}

.rsv-contact-card-photo {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: var(--rsv-radius-sm);
	flex-shrink: 0;
}

.rsv-contact-card-body {
	flex: 1;
	min-width: 0;
}

.rsv-contact-card-name {
	margin: 0 0 0.25rem;
	color: var(--rsv-blue);
}

.rsv-contact-card-role {
	margin: 0 0 0.75rem;
	color: var(--rsv-text-muted);
}

.rsv-contact-card-phone,
.rsv-contact-card-email {
	margin: 0 0 0.5rem;
}

.rsv-contact-card-description {
	margin-top: 0.75rem;
	margin-bottom: 0;
}

.rsv-contact-card-actions {
	margin: 1.25rem 0 0;
}

@media (max-width: 640px) {
	.rsv-contact-card {
		flex-direction: column;
	}
}

/* --- Joomla contact form (com_contact) --- */

.rsv-contact-form-header {
	margin-bottom: 1.5rem;
}

.rsv-contact-confirm-hint {
	margin: 1.5rem 0 0.75rem;
	padding: 0.85rem 1.1rem;
	background: var(--rsv-green-light);
	border: 2px solid var(--rsv-green);
	border-radius: var(--rsv-radius-sm);
	color: var(--rsv-text);
	font-size: 0.95rem;
	line-height: 1.55;
}

.rsv-contact-confirm-hint + .com-contact__form,
.rsv-contact-confirm-hint + #rsv-contact-form,
.rsv-contact-confirm-hint + .rsv-message-form {
	margin-top: 0;
}

.rsv-contact-form-header .rsv-contact-embed {
	margin: 0;
}

.com-contact.rsv-contact-page > .page-header,
.com-contact.rsv-contact-page > .com-contact__container,
.com-contact.rsv-contact-page > .com-contact__miscinfo,
.com-contact.rsv-contact-page > h2 {
	display: none !important;
}

.com-contact .page-header,
.com-contact .contact-category,
.com-contact .contact-emailto,
.com-contact .contact-email,
.com-contact .contact-vcard,
.com-contact .contact-address,
.com-contact .contact-mobile,
.com-contact .contact-fax,
.com-contact .contact-webpage,
.com-contact .contact-image,
.com-contact a[href^="mailto:"] {
	display: none;
}

.com-contact .contact-name,
.com-contact .contact-position,
.com-contact .contact-telephone,
.com-contact .contact-misc {
	color: var(--rsv-text);
}

.com-contact .contact-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--rsv-blue);
	margin-bottom: 0.25rem;
}

.com-contact .contact-position {
	color: var(--rsv-text-muted);
	margin-bottom: 0.75rem;
}

.com-contact .contact-telephone {
	margin-bottom: 0.5rem;
}

.com-contact .contact-misc {
	margin-bottom: 1rem;
}

.com-contact .contact-misc :is(p, ul, ol) {
	margin: 0 0 0.75rem;
}

.com-contact .contact-misc :is(p, ul, ol):last-child {
	margin-bottom: 0;
}

.com-contact__form.contact-form,
#rsv-contact-form,
.rsv-message-form {
	background: var(--rsv-surface);
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius);
	box-shadow: var(--rsv-shadow);
	padding: 1.5rem;
	margin-top: 1.5rem;
}

.rsv-message-form .control-group,
.rsv-message-form .mb-3 {
	margin-bottom: 1rem;
}

.rsv-message-form .rsv-btn {
	margin-top: 0.5rem;
}

.rsv-message-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.5rem;
}

.rsv-message-form__actions .rsv-btn {
	margin-top: 0;
}

.com-contact__form .control-group,
.com-contact__form .control-label,
.com-contact__form .controls {
	margin-bottom: 1rem;
}

.com-contact__form label {
	font-weight: 600;
	color: var(--rsv-blue);
}

.com-contact__form input[type="text"],
.com-contact__form input[type="email"],
.com-contact__form textarea {
	width: 100%;
	max-width: 36rem;
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius-sm);
	padding: 0.55rem 0.75rem;
	font: inherit;
}

.com-contact__form textarea {
	min-height: 8rem;
}

.com-contact__form .btn-primary {
	background: var(--rsv-green);
	border-color: var(--rsv-green-dark);
	border-radius: var(--rsv-radius-sm);
	color: var(--rsv-green-light) !important;
	font-weight: 600;
	padding: 0.55rem 1.25rem;
}

.com-contact__form .btn-primary:hover {
	background: var(--rsv-green-dark);
	border-color: var(--rsv-green-dark);
	color: var(--rsv-green-light) !important;
}

.com-contact .contact-address,
.com-contact .contact-telephone,
.com-contact .contact-misc {
	margin-bottom: 0.35rem;
}

/* Joomla flash messages (contact form success/errors) */
body.site #system-message-container {
	margin: 1rem 0 1.5rem;
}

body.site #system-message-container .alert,
body.site #system-message-container joomla-alert {
	color: var(--rsv-blue-dark);
	background-color: #f8fafc;
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius-sm);
}

body.site #system-message-container .alert-success,
body.site #system-message-container joomla-alert[type="success"] {
	color: #14532d;
	background-color: #dcfce7;
	border-color: #86efac;
}

body.site #system-message-container .alert-info,
body.site #system-message-container joomla-alert[type="info"],
body.site #system-message-container joomla-alert[type="message"] {
	color: #1e3a5f;
	background-color: #dbeafe;
	border-color: #93c5fd;
}

body.site #system-message-container .alert-warning,
body.site #system-message-container joomla-alert[type="warning"] {
	color: #78350f;
	background-color: #fef3c7;
	border-color: #fcd34d;
}

body.site #system-message-container .alert-danger,
body.site #system-message-container joomla-alert[type="danger"],
body.site #system-message-container joomla-alert[type="error"] {
	color: #7f1d1d;
	background-color: #fee2e2;
	border-color: #fca5a5;
}

/* --- Two-column layout --- */

.rsv-layout-2col {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2rem;
	margin: 1.5rem 0;
}

.rsv-sidebar {
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius-sm);
	padding: 1.25rem;
	box-shadow: var(--rsv-shadow);
	border: 1px solid var(--rsv-border);
	height: fit-content;
}

/* Align the sidebar heading with the first section heading in sport pages. */
.rsv-sport-page > .rsv-layout-2col > .rsv-sidebar {
	margin-top: 3.75rem;
}

.rsv-sidebar h4 {
	margin: 0 0 0.75rem;
	color: var(--rsv-blue);
	font-size: 0.95rem;
}

.rsv-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rsv-sidebar li {
	border-bottom: 1px solid var(--rsv-border);
}

.rsv-sidebar li:last-child {
	border-bottom: none;
}

.rsv-sidebar a {
	display: block;
	padding: 0.5rem 0;
	color: var(--rsv-blue);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}

.rsv-sidebar a:hover {
	color: var(--rsv-green);
}

/* --- Footer (injected in articles) --- */

.rsv-site-footer {
	background: var(--rsv-blue-dark);
	color: rgba(255, 255, 255, 0.85);
	border-radius: var(--rsv-radius);
	/* Horizontal padding lives on grid/bottom so the sponsor bar can match page width. */
	padding: 2rem 0 1.5rem;
	margin-top: 3rem;
	font-size: 0.9rem;
}

.rsv-site-footer a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.rsv-site-footer a:hover {
	text-decoration: underline;
}

.rsv-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.5rem;
	margin-bottom: 1.5rem;
	padding: 0 2rem;
}

.rsv-footer-grid h4 {
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 0.75rem;
	opacity: 0.7;
}

.rsv-footer-grid ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rsv-footer-grid li {
	margin-bottom: 0.4rem;
}

.rsv-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 1rem 2rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	font-size: 0.82rem;
	opacity: 0.7;
}

/* --- Sponsor / partner logos --- */

.rsv-sponsor-bar {
	margin: 2.5rem 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	text-align: center;
}

.rsv-sponsor-bar__label {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--rsv-text-muted);
}

.rsv-sponsor-bar__logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	align-items: stretch;
	gap: 1.25rem;
}

.rsv-sponsor-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.85rem 1.25rem;
	background: var(--rsv-surface);
	border: 1px solid var(--rsv-border);
	border-radius: var(--rsv-radius-sm);
	min-height: 14.5rem;
	box-shadow: var(--rsv-shadow);
}

.rsv-sponsor-logo a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.rsv-sponsor-logo img {
	display: block;
	max-height: 13.5rem;
	max-width: min(100%, 18.75rem);
	width: auto;
	height: auto;
	object-fit: contain;
}

.rsv-sponsor-bar--footer {
	margin: 0 0 1.5rem;
	padding: 0;
	background: transparent;
	border: 0;
}

.rsv-sponsor-bar--footer .rsv-sponsor-bar__label {
	color: rgba(255, 255, 255, 0.55);
}

.rsv-sponsor-bar--footer .rsv-sponsor-logo {
	background: var(--rsv-surface-alt);
	border-color: var(--rsv-border);
	min-height: 10rem;
	padding: 0.75rem 1rem;
	box-shadow: none;
}

.rsv-sponsor-bar--footer .rsv-sponsor-logo img {
	max-height: 8.75rem;
	max-width: min(100%, 13.5rem);
}

/* --- Stats strip (homepage) --- */

.rsv-important-news {
	position: relative;
	background: color-mix(in srgb, var(--rsv-green) 52%, var(--rsv-bg));
	border: 2px solid var(--rsv-green);
	border-left-width: 6px;
	border-radius: var(--rsv-radius-sm);
	padding: 1.35rem 1.6rem;
	margin: 2rem 0;
	box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.28), var(--rsv-shadow-lg);
	cursor: pointer;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.rsv-important-news:hover,
.rsv-important-news:focus-within {
	border-color: var(--rsv-green-dark);
	box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.4), 0 10px 36px rgba(34, 197, 94, 0.32);
}

.rsv-important-news a.rsv-important-news__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.rsv-important-news__label {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rsv-gold);
}

.rsv-important-news__title {
	margin: 0 0 0.55rem;
	font-size: 1.45rem;
	line-height: 1.25;
	color: var(--rsv-on-primary);
}

.rsv-important-news__short-description {
	margin: 0 0 0.85rem;
	line-height: 1.55;
	font-size: 1.05rem;
	color: var(--rsv-text);
}

body.site .rsv-important-news a.rsv-important-news__link {
	font-weight: 700;
	color: var(--rsv-green);
	text-decoration: none;
}

body.site .rsv-important-news a.rsv-important-news__link:hover,
body.site .rsv-important-news:hover a.rsv-important-news__link,
body.site .rsv-important-news:focus-within a.rsv-important-news__link {
	color: var(--rsv-on-primary);
	text-decoration: underline;
}

.rsv-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
	margin: 2rem 0;
}

.rsv-stat {
	background: var(--rsv-surface);
	border-radius: var(--rsv-radius-sm);
	padding: 1rem;
	text-align: center;
	box-shadow: var(--rsv-shadow);
	border: 1px solid var(--rsv-border);
}

.rsv-stat strong {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--rsv-blue);
	line-height: 1;
}

.rsv-stat span {
	font-size: 0.82rem;
	color: var(--rsv-text-muted);
	margin-top: 0.25rem;
	display: block;
}

/* --- Responsive --- */

@media (max-width: 768px) {
	.rsv-hero {
		padding: 0;
	}

	/* Full homepage hero: drop fixed photo band on phones — height follows title/CTAs only. */
	.rsv-hero.rsv-hero--has-image.rsv-hero--photo-crop-full {
		aspect-ratio: auto;
		min-height: 0;
	}

	.rsv-hero--photo-crop-full .rsv-hero-content {
		min-height: 0;
		justify-content: flex-start;
	}

	.rsv-hero-content {
		padding: 2rem 1.25rem;
	}

	.rsv-hero--compact .rsv-hero-content {
		padding: 1.5rem 1.25rem;
	}

	.rsv-hero--has-logo .rsv-hero-content {
		padding-right: 1.25rem;
		padding-bottom: 11rem;
	}

	.rsv-hero-logo {
		top: auto;
		bottom: 1.5rem;
		right: 1.25rem;
		width: clamp(8rem, 36vw, 11rem);
		max-height: 9rem;
		transform: none;
	}

	.rsv-hero--photo-crop-full.rsv-hero--has-logo .rsv-hero-content {
		padding: 2rem 1.25rem 1.5rem;
	}

	.rsv-hero--photo-crop-full .rsv-hero-logo {
		position: static;
		display: block;
		width: clamp(7rem, 30vw, 8.5rem);
		max-height: 7rem;
		margin: 1.5rem auto 0;
		transform: none;
	}

	.rsv-cta-row {
		flex-direction: column;
	}

	.rsv-btn {
		width: 100%;
	}

	.rsv-layout-2col {
		grid-template-columns: 1fr;
	}

	.rsv-sport-page > .rsv-layout-2col > .rsv-sidebar {
		margin-top: 0;
	}

	.rsv-card-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.rsv-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Hide Joomla chrome on prototype pages */
dl.article-info,
.page-header,
.breadcrumb-container,
.mod-breadcrumbs__wrapper,
.rsv-page .pagenavigation {
	display: none !important;
}

/* Training links keep venue details and external navigation distinct. */
.rsv-schedule-place__maps {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	vertical-align: middle;
	border-radius: .35rem;
}
.rsv-schedule-place__maps:hover,
.rsv-schedule-place__maps:focus-visible {
	background: rgba(128, 128, 128, .15);
}


/* Shared sport/sub-sport/training page composition. */
.rsv-sport-context { font-size: .875rem; margin-block: 0 1rem; }
.rsv-sport-section { margin-block: 2.5rem; min-width: 0; }
.rsv-sport-section > .rsv-section-title { margin-bottom: 1rem; }
.rsv-sport-section--description > p,
.rsv-sport-section--training-description > p { max-width: 76ch; line-height: 1.75; }
.rsv-sport-section--coaches .rsv-card-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
}
.rsv-sport-section--coaches .rsv-card--contact { flex-direction: row; align-items: flex-start; }
.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-photo,
.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-image {
	width: 7rem;
	flex: 0 0 7rem;
	aspect-ratio: 3 / 4;
	margin: 1.25rem 0 1.25rem 1.25rem;
	border-radius: .5rem;
}
.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-image > .rsv-card-photo { height: 100%; }
.rsv-sport-section--coaches .rsv-card-body { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-photo,
	.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-image {
		width: 4.5rem;
		flex-basis: 4.5rem;
		margin: 1rem 0 1rem 1rem;
	}
	.rsv-sport-section--coaches .rsv-card--contact {
		display: grid;
		grid-template-columns: 4.5rem minmax(0, 1fr);
		gap: .75rem;
		padding: 1rem;
	}
	.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-photo,
	.rsv-sport-section--coaches .rsv-card--contact > .rsv-card-image {
		grid-column: 1;
		grid-row: 1 / span 2;
		margin: 0;
	}
	.rsv-sport-section--coaches .rsv-card-body { display: contents; }
	.rsv-sport-section--coaches .rsv-card-body > * { grid-column: 1 / -1; margin: 0; }
	.rsv-sport-section--coaches .rsv-card-photo + .rsv-card-body > h3,
	.rsv-sport-section--coaches .rsv-card-photo + .rsv-card-body > .rsv-card-role,
	.rsv-sport-section--coaches .rsv-card-image + .rsv-card-body > h3,
	.rsv-sport-section--coaches .rsv-card-image + .rsv-card-body > .rsv-card-role { grid-column: 2; }
}

.rsv-person-description > :last-child { margin-bottom: 0; }
.rsv-person-description { overflow-wrap: anywhere; }

.rsv-card--contact .rsv-card-role { flex-grow: 0; }
.rsv-person-card-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1rem;
}
.rsv-card .rsv-person-card-actions .rsv-card-link { margin-top: 0; }

/* Clear venue actions in all shared training lists. */
.rsv-schedule-place__detail { display: inline-flex; flex-direction: column; gap: .15rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.rsv-schedule-place__hint { font-size: .8rem; }
.rsv-schedule-place__detail:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.rsv-schedule-place__maps { gap: .35rem; padding: .25rem .45rem; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: .8rem; cursor: pointer; }

.rsv-event-registration { margin: 2rem 0; padding: 1.25rem; border: 1px solid var(--rsv-border, #d7dce2); border-radius: .35rem; }
.rsv-event-registration__form { display: grid; gap: .55rem; max-width: 42rem; }
.rsv-event-registration__form input, .rsv-event-registration__form textarea { width: 100%; padding: .65rem .7rem; border: 1px solid var(--rsv-border, #b8c0ca); border-radius: .2rem; font: inherit; }
.rsv-event-registration__hint, .rsv-event-registration__status { font-size: .9rem; }
