/*
 * VMV-Layout 2026 (Contao 5, Port 11443)
 *
 * Gestaltung nach der Vorlage https://vmv.entwicklungspace.de/ (Farben, Schrift Hind, Kopfleiste, Hero mit Hintergrundvideo,
 * Kacheln, Neuigkeiten mit Filter, Sponsorenleiste, Footer). Für die vorhandenen Inhalte (Bootstrap 3, Beachtool, Hallensaison,
 * Nachrichten, Galerie ...) gibt es unten den Abschnitt "Bestehende Inhalte".
 */

@font-face {
	font-family: 'Hind';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Hind_Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Hind';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/Hind_SemiBold.woff2') format('woff2');
}

:root {
	--vmv-primary: #00264c;
	--vmv-heading: #134a92;
	--vmv-accent: #0957b2;
	--vmv-red: #ed1c23;
	--vmv-yellow: #ffc629;
	--vmv-bg: #f9f9f9;
	--vmv-white: #fff;
	--vmv-soft: #f4f7fc;
	--vmv-soft-2: #ebf4fd;
	--vmv-line: #cfd9e4;
	--vmv-grey: #32454d;
	--vmv-shadow: 0 10px 20px -5px #00000025;
	--vmv-radius: 8px;
	--vmv-width: 1440px;
	--vmv-header-h: 88px;
	--vmv-font: 'Hind', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------------------------------------------------------------- Grundlagen */

/* Bootstrap 3 setzt html auf 10px; alle rem-Angaben dieser Datei gehen von 16px aus */
html {
	font-size: 16px;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--vmv-header-h) + 16px);
}

body.vmv2 {
	margin: 0;
	background: var(--vmv-bg);
	color: var(--vmv-primary);
	font-family: var(--vmv-font);
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: .25px;
	-webkit-font-smoothing: antialiased;
}

body.vmv2 *,
body.vmv2 *::before,
body.vmv2 *::after {
	box-sizing: border-box;
}

body.vmv2 a {
	color: var(--vmv-accent);
}

body.vmv2 a:hover,
body.vmv2 a:focus {
	color: var(--vmv-heading);
}

body.vmv2 img {
	max-width: 100%;
	height: auto;
}

body.vmv2 h1, body.vmv2 h2, body.vmv2 h3, body.vmv2 h4, body.vmv2 h5, body.vmv2 h6 {
	margin: 1.4em 0 .5em;
	font-family: var(--vmv-font);
	font-weight: 600;
	line-height: 1.2;
	color: var(--vmv-heading);
}

body.vmv2 h1 { font-size: 2.2rem; margin-top: 0; }
body.vmv2 h2 { font-size: 1.75rem; }
body.vmv2 h3 { font-size: 1.4rem; }
body.vmv2 h4 { font-size: 1.15rem; }

.vmv-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: .5rem 1rem;
	background: var(--vmv-primary);
	color: #fff;
}

.vmv-skip:focus {
	left: 8px;
	top: 8px;
	color: #fff;
}

/* ---------------------------------------------------------------- Kopfleiste und Navigation */

.vmv-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--vmv-bg);
	box-shadow: 0 1px 0 var(--vmv-line);
}

.vmv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--vmv-width);
	height: var(--vmv-header-h);
	margin: 0 auto;
	padding: 0 16px;
}

.vmv-logo {
	order: 3;
	position: relative;
	z-index: 2;
	display: block;
	flex: none;
	align-self: flex-start;
	box-sizing: border-box;
	width: 120px;
	height: 120px;
	margin: 9px 0 0 16px;
	border: 8px solid var(--vmv-bg);
	border-radius: 50%;
	overflow: hidden;
	background: var(--vmv-bg);
}

.vmv-logo img {
	display: block;
	width: 100%;
	height: 100%;
}

.vmv-nav {
	flex: 1 1 auto;
}

.vmv-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmv-nav a,
.vmv-nav strong,
.vmv-nav button.vmv-menu-top {
	text-decoration: none;
	font-weight: 600;
}

.vmv-nav button.vmv-menu-top {
	margin: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	cursor: pointer;
}

.vmv-nav ul.level_1 {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 16px;
}

.vmv-nav ul.level_1 > li {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--vmv-header-h);
}

.vmv-nav ul.level_1 > li > a,
.vmv-nav ul.level_1 > li > strong,
.vmv-nav ul.level_1 > li > button.vmv-menu-top {
	display: block;
	padding: 20px;
	color: var(--vmv-primary);
	font-size: 16px;
	line-height: 16px;
	white-space: nowrap;
}

.vmv-nav ul.level_1 > li.submenu > a::after,
.vmv-nav ul.level_1 > li.submenu > strong::after,
.vmv-nav ul.level_1 > li.submenu > button.vmv-menu-top::after {
	content: "";
	display: inline-block;
	width: .45em;
	height: .45em;
	margin: 0 0 .2em .5em;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.vmv-nav ul.level_1 > li.submenu:hover > a::after,
.vmv-nav ul.level_1 > li.submenu:focus-within > a::after,
.vmv-nav ul.level_1 > li.submenu.is-open > a::after,
.vmv-nav ul.level_1 > li.submenu:hover > button.vmv-menu-top::after,
.vmv-nav ul.level_1 > li.submenu:focus-within > button.vmv-menu-top::after,
.vmv-nav ul.level_1 > li.submenu.is-open > button.vmv-menu-top::after {
	margin-bottom: -.1em;
	transform: rotate(-135deg);
}

.vmv-nav ul.level_1 > li:hover > a,
.vmv-nav ul.level_1 > li:hover > button.vmv-menu-top,
.vmv-nav ul.level_1 > li:focus-within > a,
.vmv-nav ul.level_1 > li:focus-within > button.vmv-menu-top,
.vmv-nav ul.level_1 > li > .trail,
.vmv-nav ul.level_1 > li > strong {
	color: var(--vmv-accent);
}

.vmv-nav ul.level_1 > li > .trail,
.vmv-nav ul.level_1 > li > strong {
	box-shadow: inset 0 -3px 0 var(--vmv-accent);
}

.vmv-sub-toggle {
	display: none;
}

/* Aufklappfelder (Ebenen 2 und 3): weiße Karte unter dem Menüpunkt mit Pfeil, Spalten mit unterstrichenen Überschriften (wie die Vorlage).
   vmv2.js schiebt das Feld in den sichtbaren Bereich und setzt den Pfeil (--caret-x) unter den Menüpunkt. */
.vmv-nav ul.level_2 {
	position: absolute;
	left: -20px;
	top: 100%;
	z-index: 5;
	display: none;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, max-content);
	gap: 1.5rem 2.75rem;
	width: max-content;
	max-width: calc(100vw - 40px);
	padding: 2rem;
	border-radius: 8px;
	background: var(--vmv-white);
	box-shadow: 0 50px 100px -20px rgba(50, 50, 93, .25), 0 30px 60px -30px rgba(0, 0, 0, .3);
}

.vmv-nav ul.level_2::before {
	content: "";
	position: absolute;
	top: -7px;
	left: var(--caret-x, 40px);
	width: 14px;
	height: 14px;
	border-radius: 3px 0 0 0;
	background: var(--vmv-white);
	transform: rotate(45deg);
}

.vmv-nav ul.level_1 > li:hover > ul.level_2,
.vmv-nav ul.level_1 > li:focus-within > ul.level_2,
.vmv-nav ul.level_1 > li.is-open > ul.level_2 {
	display: grid;
}

.vmv-nav ul.level_2 > li > a,
.vmv-nav ul.level_2 > li > strong,
.vmv-nav ul.level_2 > li > .vmv-menu-group {
	display: inline-block;
	margin-bottom: .5rem;
	padding-bottom: 2px;
	border-bottom: 2px solid #94a2b8;
	color: var(--vmv-primary);
	font-size: 1rem;
	letter-spacing: .04em;
}

.vmv-nav ul.level_2 > li > a:hover,
.vmv-nav ul.level_2 > li > a.trail,
.vmv-nav ul.level_2 > li > strong {
	color: var(--vmv-accent);
}

/* nur eine Gruppe: keine Überschrift (wie bei Verband, Bildung und Leistungssport in der Vorlage) */
.vmv-nav ul.level_2.no-titles > li > a,
.vmv-nav ul.level_2.no-titles > li > strong,
.vmv-nav ul.level_2.no-titles > li > .vmv-menu-group {
	display: none;
}

.vmv-nav ul.level_3 a,
.vmv-nav ul.level_3 strong {
	display: block;
	padding: .65rem 0;
	color: var(--vmv-primary);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
}

.vmv-nav ul.level_3 a:hover,
.vmv-nav ul.level_3 a.trail,
.vmv-nav ul.level_3 strong {
	color: var(--vmv-accent);
}

.vmv-nav ul.level_3 strong {
	font-weight: 600;
}

/* Dateien (PDF, Word, Excel) und Links auf andere Seiten */
.vmv-nav ul.level_3 a[href$=".pdf"]::before,
.vmv-nav ul.level_3 a[href$=".docx"]::before,
.vmv-nav ul.level_3 a[href$=".doc"]::before,
.vmv-nav ul.level_3 a[href$=".xlsx"]::before {
	display: inline-block;
	margin-right: .5rem;
	padding: 0 .3em;
	border: 1.5px solid currentColor;
	border-radius: 3px;
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.35;
	vertical-align: .12em;
}

.vmv-nav ul.level_3 a[href$=".pdf"]::before { content: "PDF"; }
.vmv-nav ul.level_3 a[href$=".docx"]::before,
.vmv-nav ul.level_3 a[href$=".doc"]::before { content: "DOC"; }
.vmv-nav ul.level_3 a[href$=".xlsx"]::before { content: "XLS"; }

.vmv-nav ul.level_3 a[target="_blank"]:not([href$=".pdf"]):not([href$=".docx"])::after {
	content: "\2197";
	margin-left: .35em;
	color: var(--vmv-accent);
}

.vmv-burger {
	display: none;
	flex: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--vmv-line);
	border-radius: var(--vmv-radius);
	background: #fff;
	cursor: pointer;
}

.vmv-burger span,
.vmv-burger span::before,
.vmv-burger span::after {
	display: block;
	width: 22px;
	height: 2px;
	margin: 0 auto;
	background: var(--vmv-heading);
	transition: transform .2s, opacity .2s;
}

.vmv-burger span { position: relative; }
.vmv-burger span::before, .vmv-burger span::after { content: ""; position: absolute; left: 0; }
.vmv-burger span::before { top: -7px; }
.vmv-burger span::after { top: 7px; }
.vmv-header.is-open .vmv-burger span { background: transparent; }
.vmv-header.is-open .vmv-burger span::before { top: 0; transform: rotate(45deg); }
.vmv-header.is-open .vmv-burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.vmv-burger {
		display: block;
		order: 2;
	}

	:root {
		--vmv-header-h: 76px;
	}

	.vmv-logo {
		order: 0;
		width: 88px;
		height: 88px;
		margin: 6px 0 0;
		border-width: 6px;
	}

	.vmv-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		max-height: calc(100vh - var(--vmv-header-h));
		overflow-y: auto;
		background: #fff;
		border-top: 1px solid var(--vmv-line);
		box-shadow: 0 18px 30px -12px #00264c40;
	}

	.vmv-header.is-open .vmv-nav {
		display: block;
	}

	.vmv-nav ul.level_1 {
		display: block;
	}

	.vmv-nav ul.level_1 > li {
		position: relative;
		display: block;
		height: auto;
		border-bottom: 1px solid var(--vmv-line);
	}

	.vmv-nav ul.level_1 > li > a,
	.vmv-nav ul.level_1 > li > strong,
	.vmv-nav ul.level_1 > li > button.vmv-menu-top {
		width: 100%;
		padding: .85rem 64px .85rem 20px;
		text-align: left;
		box-shadow: none !important;
	}

	.vmv-nav ul.level_1 > li.submenu > a::after,
	.vmv-nav ul.level_1 > li.submenu > strong::after,
	.vmv-nav ul.level_1 > li.submenu > button.vmv-menu-top::after {
		display: none;
	}

	.vmv-sub-toggle {
		position: absolute;
		right: 8px;
		top: 4px;
		display: block;
		width: 48px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	.vmv-sub-toggle::before {
		content: "";
		display: inline-block;
		width: .55em;
		height: .55em;
		border: solid var(--vmv-heading);
		border-width: 0 2px 2px 0;
		transform: rotate(45deg);
		transition: transform .2s;
	}

	.vmv-nav li.is-open > .vmv-sub-toggle::before {
		transform: rotate(-135deg);
	}

	.vmv-nav ul.level_1 > li:hover > ul.level_2,
	.vmv-nav ul.level_1 > li:focus-within > ul.level_2 {
		display: none;
	}

	.vmv-nav ul.level_1 > li.is-open > ul.level_2 {
		position: static;
		display: block;
		width: auto;
		max-width: none;
		padding: 0 20px 1rem 36px;
		border-radius: 0;
		box-shadow: none;
		background: var(--vmv-soft);
	}

	.vmv-nav ul.level_2::before {
		display: none;
	}

	.vmv-nav ul.level_2 > li {
		margin-top: .85rem;
	}

	.vmv-nav ul.level_3 a,
	.vmv-nav ul.level_3 strong {
		padding: .4rem 0;
		white-space: normal;
	}
}

/* ---------------------------------------------------------------- Titelband (Unterseiten) */

.vmv-band {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(115deg, rgba(0, 38, 76, .96) 15%, rgba(19, 74, 146, .88) 100%),
		url('../img/vmv-jugend-hero.webp') center/cover;
}

.vmv-band__inner {
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 80px 16px;
}

.vmv-eyebrow {
	margin: 0;
	color: #cfe0f5;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.vmv-band__title {
	margin: 0;
	color: var(--vmv-bg);
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.25;
}

/* ---------------------------------------------------------------- Inhaltsbereich */

#vmvmain {
	padding: 80px max(16px, calc((100% - (var(--vmv-width) - 32px)) / 2));
	background: var(--vmv-white);
}

body.vmv-home #vmvmain {
	padding: 0;
	background: transparent;
}

.vmv-container {
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 0 16px;
}

body.vmv-home #vmvmain .mod_article > .ce_text,
body.vmv-home #vmvmain .mod_article > .ce_html,
body.vmv-home #vmvmain .mod_article > .ce_alias,
body.vmv-home #vmvmain .mod_article > .ce_module,
body.vmv-home #vmvmain .mod_article > .content-text,
body.vmv-home #vmvmain .mod_article > .content-html,
body.vmv-home #vmvmain .mod_article > .content-alias,
body.vmv-home #vmvmain .mod_article > .content-module {
	max-width: var(--vmv-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

.vmv-sec {
	padding: 4.5rem 0;
}

.vmv-sec__title {
	margin: 0 0 2rem;
	text-align: center;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

/* ---------------------------------------------------------------- Hero */

.vmv-hero {
	position: relative;
	color: #fff;
	background: var(--vmv-primary);
}

.vmv-hero__video,
.vmv-hero__overlay {
	position: absolute;
	inset: 0;
}

.vmv-hero__video {
	overflow: hidden;
}

.vmv-hero__video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmv-hero__overlay {
	background: var(--vmv-primary);
	opacity: .85;
}

.vmv-hero__inner {
	position: relative;
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 6.5rem 16px 0;
}

.vmv-hero__head {
	max-width: 640px;
	padding-bottom: 3rem;
}

.vmv-hero__title {
	margin: .75rem 0 1.25rem;
	color: var(--vmv-bg);
	font-size: clamp(2.6rem, 7vw, 6rem);
	font-weight: 600;
	line-height: 1;
}

.vmv-hero__title span {
	display: block;
}

.vmv-hero__text {
	max-width: 560px;
	margin: 0 0 1.75rem;
	font-size: 1.1rem;
}

.vmv-btn {
	display: inline-block;
	padding: .7rem 1.4rem;
	border-radius: 4px;
	background: var(--vmv-bg);
	color: var(--vmv-primary) !important;
	font-weight: 600;
	letter-spacing: .06em;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}

.vmv-btn:hover,
.vmv-btn:focus {
	background: #fff;
	box-shadow: 0 4px 14px #00000030;
}

.vmv-btn--primary {
	background: var(--vmv-primary);
	color: #fff !important;
}

.vmv-btn--primary:hover,
.vmv-btn--primary:focus {
	background: var(--vmv-heading);
}

.vmv-tiles {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: -4.5rem;
}

.vmv-tile {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
	border-radius: var(--vmv-radius);
	background: #fff;
	color: var(--vmv-primary);
	box-shadow: var(--vmv-shadow);
}

.vmv-tile__image {
	display: block;
	aspect-ratio: 2 / 1.05;
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 6px;
	background: var(--vmv-soft);
}

.vmv-tile__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmv-tile h3,
.vmv-info h3 {
	margin: 0 0 .5rem;
	font-size: 1.75rem;
}

.vmv-tile p,
.vmv-info p {
	flex: 1 1 auto;
	margin: 0 0 1rem;
}

.vmv-more {
	font-weight: 600;
}

.vmv-more::after {
	content: "\2192";
	margin-left: .35em;
	text-decoration: none;
	display: inline-block;
}

.vmv-more[target="_blank"]::after {
	content: "\2197";
}

.vmv-after-hero {
	height: 4.5rem;
}

/* ---------------------------------------------------------------- Neuigkeiten */

.vmv-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 1.75rem;
	margin: 0 0 2rem;
	border-bottom: 1px solid var(--vmv-line);
}

.vmv-tab {
	position: relative;
	margin: 0 0 -1px;
	padding: .7rem .15rem;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: var(--vmv-primary);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.vmv-tab:hover {
	color: var(--vmv-accent);
}

.vmv-tab[aria-selected="true"] {
	border-bottom-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

.vmv-tab:focus-visible {
	outline: 2px solid var(--vmv-accent);
	outline-offset: 2px;
}

.vmv-cards {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.vmv-cards__col {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.vmv-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: var(--vmv-soft-2);
}

.vmv-card[hidden] {
	display: none;
}

.vmv-card__image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--vmv-soft);
}

.vmv-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vmv-card__body {
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.25rem 1.25rem;
}

.vmv-card__group {
	margin: 0 0 .25rem;
	color: var(--vmv-accent);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vmv-card h3 {
	margin: 0 0 .25rem;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.25;
}

.vmv-card h3 a {
	color: var(--vmv-heading);
	text-decoration: none;
}

.vmv-card h3 a:hover {
	text-decoration: underline;
}

.vmv-card time {
	color: var(--vmv-grey);
	font-size: .85rem;
	opacity: .8;
}

.vmv-card p {
	margin: .6rem 0 .8rem;
	color: var(--vmv-grey);
	font-size: .92rem;
}

.vmv-news__more {
	margin-top: 2rem;
	text-align: center;
}

.vmv-news__more-btn {
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}

.vmv-news__more-btn[hidden] {
	display: none;
}

/* ---------------------------------------------------------------- Der Volleyballverband MV */

.vmv-info-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.vmv-info {
	display: flex;
	align-items: flex-end;
	min-height: 520px;
	border-radius: 12px;
	background: var(--vmv-soft-2) center / cover no-repeat;
	box-shadow: var(--vmv-shadow);
}

.vmv-info__box {
	display: flex;
	flex-direction: column;
	width: 72%;
	padding: 1.75rem 2rem;
	border-radius: 0 12px 12px 0;
	background: #fff;
}

.vmv-info h3 {
	margin-top: 0;
}

/* ---------------------------------------------------------------- Sponsorenleiste */

.vmv-sponsors {
	padding: 2.25rem 0;
	overflow: hidden;
	background: #fff;
	border-top: 1px solid var(--vmv-line);
}

.vmv-sponsors__track {
	display: flex;
	width: max-content;
	animation: vmv-marquee var(--vmv-marquee-duration, 60s) linear infinite;
}

.vmv-sponsors:hover .vmv-sponsors__track,
.vmv-sponsors:focus-within .vmv-sponsors__track {
	animation-play-state: paused;
}

.vmv-sponsors__list {
	display: flex;
	flex: none;
	align-items: center;
	gap: 60px;
	margin: 0;
	padding: 0 30px;
	list-style: none;
}

.vmv-sponsors__list li {
	flex: none;
}

.vmv-sponsors__list a,
.vmv-sponsors__list span {
	display: flex;
	align-items: center;
	height: 90px;
}

.vmv-sponsors__list img {
	display: block;
	width: auto;
	max-width: 220px;
	height: auto;
	max-height: 90px;
	object-fit: contain;
}

@keyframes vmv-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------------------------------------------------------------- Footer */

.vmv-footer {
	background: var(--vmv-soft-2);
	color: var(--vmv-primary);
}

.vmv-footer a {
	color: var(--vmv-primary);
}

.vmv-footer__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.2fr 1fr;
	gap: 2rem;
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 3.5rem 16px 2rem;
}

.vmv-footer__logo img {
	display: block;
	width: 170px;
	max-width: 100%;
}

.vmv-footer h3 {
	margin: 0 0 1rem;
	font-size: 1rem;
	color: var(--vmv-heading);
}

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

.vmv-footer li {
	margin-bottom: .55rem;
}

.vmv-footer__bottom {
	max-width: var(--vmv-width);
	margin: 0 auto;
	padding: 1rem 16px 1.5rem;
	border-top: 1px solid var(--vmv-line);
	font-size: .85rem;
	opacity: .85;
}

.vmv-footer__bottom #copyright {
	float: none;
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

@media (max-width: 900px) {
	.vmv-tiles,
	.vmv-info-grid {
		grid-template-columns: 1fr;
	}

	.vmv-tiles {
		margin-bottom: -3rem;
	}

	.vmv-after-hero {
		height: 3rem;
	}

	.vmv-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.vmv-hero__inner {
		padding-top: 4.5rem;
	}
}

@media (max-width: 560px) {
	.vmv-info {
		min-height: 420px;
	}

	.vmv-info__box {
		width: 100%;
		border-radius: 0 0 12px 12px;
	}

	.vmv-footer__inner {
		grid-template-columns: 1fr;
	}

	.vmv-sec {
		padding: 3rem 0;
	}
}

/* ---------------------------------------------------------------- Bestehende Inhalte (Bootstrap 3, Module) */

#vmvmain {
	font-size: 1.125rem;
	line-height: 1.5;
}

#vmvmain h1 { margin: 0 0 1rem; padding: 0; font-size: 2.2rem; }
#vmvmain h2 { margin: 2rem 0 .75rem; padding: 0; font-size: 1.75rem; }
#vmvmain h3 { margin: 1.5rem 0 .5rem; padding: 0; font-size: 1.35rem; }
#vmvmain h4 { margin: 1.25rem 0 .4rem; font-size: 1.1rem; }

#vmvmain a {
	text-decoration: underline;
}

#vmvmain a:hover,
#vmvmain a:focus {
	background: transparent;
	color: var(--vmv-heading);
}

#vmvmain .ce_text ul,
#vmvmain .ce_text ol {
	padding-left: 1.4rem;
}

#vmvmain .mod_article {
	margin-bottom: 1.5rem;
}

#vmvmain .ce_image .caption,
#vmvmain .ce_image.block .image_container .caption {
	font-size: .85rem;
	font-weight: 600;
}

/* Tabellen */
#vmvmain .table {
	margin-bottom: 1.5rem;
	background: #fff;
	border-radius: var(--vmv-radius);
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 1px 3px #00264c18;
}

#vmvmain .table > thead > tr > th {
	background: var(--vmv-soft);
	border-bottom: 2px solid var(--vmv-line);
	color: var(--vmv-primary);
	font-weight: 600;
}

#vmvmain .table > tbody > tr > td,
#vmvmain .table > tbody > tr > th {
	border-top: 1px solid var(--vmv-soft-2);
}

#vmvmain .table-striped > tbody > tr:nth-of-type(odd) {
	background: #fbfcfe;
}

#vmvmain .table-hover > tbody > tr:hover {
	background: var(--vmv-soft);
}

#vmvmain .vmvligatabelle-active-team td {
	background: #fff3cc;
	font-weight: 600;
}

#vmvmain .vmvligatabelle-matches { background: var(--vmv-soft); }
#vmvmain .vmvligatabelle-sets { background: var(--vmv-soft-2); }
#vmvmain .vmvligatabelle-balls { background: var(--vmv-soft); }

/* Reiter (Pills) wie die Liga-Auswahl der Vorlage */
#vmvmain .nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 1rem;
}

#vmvmain .nav-pills > li {
	float: none;
	margin: 0;
}

#vmvmain .nav-pills li a,
#vmvmain .nav-pills > li > a {
	padding: .4rem 1rem;
	border-radius: 999px;
	background: var(--vmv-soft-2);
	color: var(--vmv-primary);
	font-size: .92rem;
	text-decoration: none;
}

#vmvmain .nav-pills li a:hover {
	background: var(--vmv-line);
	color: var(--vmv-primary);
}

#vmvmain .nav-pills li.active a,
#vmvmain .nav-pills > li.active > a {
	background: var(--vmv-heading);
	color: #fff;
	font-weight: 600;
}

/* Formulare und Schaltflächen */
#vmvmain .form-control {
	height: auto;
	padding: .5rem .75rem;
	border: 1px solid var(--vmv-line);
	border-radius: 6px;
	box-shadow: none;
	color: var(--vmv-primary);
}

#vmvmain .form-control:focus {
	border-color: var(--vmv-accent);
	box-shadow: 0 0 0 3px #0957b230;
}

#vmvmain .btn,
#vmvmain .submit,
#vmvmain input[type="submit"] {
	padding: .55rem 1.2rem;
	border: 1px solid var(--vmv-primary);
	border-radius: 4px;
	background: var(--vmv-primary);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

#vmvmain .btn:hover,
#vmvmain .submit:hover,
#vmvmain input[type="submit"]:hover {
	background: var(--vmv-heading);
	border-color: var(--vmv-heading);
	color: #fff;
}

#vmvmain .btn-default {
	background: #fff;
	border-color: var(--vmv-line);
	color: var(--vmv-primary);
}

#vmvmain .btn-default:hover {
	background: var(--vmv-soft);
	border-color: var(--vmv-line);
	color: var(--vmv-heading);
}

#vmvmain .btn-group > .btn.selected-nav-beachtool,
#vmvmain .btn.selected-nav-beachtool {
	background: var(--vmv-soft-2);
	border-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

/* Karten mit Listen (Ligenübersicht der Hallensaison) */
.vmv-liga-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0 2rem;
}

.vmv-liga-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

#vmvmain .vmv-liga-card > h3 {
	margin: 0;
	padding: .9rem 1.25rem;
	background: var(--vmv-primary);
	color: #fff;
	font-size: 1.3rem;
}

.vmv-liga-card__body {
	flex: 1 1 auto;
	padding: .75rem 1.25rem 1.25rem;
	background: var(--vmv-soft);
}

#vmvmain .vmv-liga-card h4 {
	margin: 1.1rem 0 .5rem;
	color: var(--vmv-heading);
	font-size: 1.05rem;
}

#vmvmain .vmv-liga-card h5 {
	margin: .9rem 0 .35rem;
	color: var(--vmv-grey);
	font-size: .9rem;
	font-weight: 600;
}

.vmv-liga-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
	gap: .5rem;
}

#vmvmain .vmv-liga-links a {
	display: block;
	padding: .55rem .8rem;
	border-radius: 4px;
	background: #fff;
	color: var(--vmv-primary);
	font-size: .95rem;
	text-decoration: none;
	box-shadow: 0 1px 2px #00264c14;
}

#vmvmain .vmv-liga-links a:hover {
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
}

#vmvmain .vmv-liga-links a.is-extern::after {
	content: "\2197";
	margin-left: .35em;
	color: var(--vmv-accent);
}

/* alte Listen (list-group) und Kästen */
#vmvmain .vmv-table {
	margin: 0 1em 1em 0;
}

#vmvmain .vmv-table .list-group-item.active {
	border-color: var(--vmv-primary);
	background: var(--vmv-primary);
	color: #fff;
}

#vmvmain .vmv-table a.list-group-item {
	text-decoration: none;
}

.kasten,
.vmv-panel {
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.kasten-titel {
	padding: 0;
	font-weight: 600;
	color: var(--vmv-heading);
}

.vmv-panel .vmv-panel-title {
	background: var(--vmv-soft);
}

.vmv-frame-top-right {
	max-width: 100%;
	min-width: 0;
	margin: 0;
	float: none;
}

@media (min-width: 992px) {
	.vmv-frame-top-right {
		max-width: none;
		min-width: 0;
	}
}

.vmv-home-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* Nachrichten (Listen und Detailansicht) */
#vmvmain .vmv-news-teaser {
	margin: 1em 0;
	padding: 1rem 1.25rem;
	border: 0;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px #00264c18;
}

#vmvmain .vmv-news-teaser:hover {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
}

#vmvmain .vmv-news-teaser a {
	text-decoration: none;
}

#vmvmain .vmv-news-teaser a:hover {
	text-decoration: underline;
}

#vmvmain .vmv-news-headline {
	font-size: 1.2rem;
	font-weight: 600;
}

#vmvmain .vmv-news-teaser a.vmv-news-morebutton {
	display: inline-block;
	margin-left: 0;
	padding: .2rem 0;
	font-weight: 600;
}

.vmv-news-teaser.with-image .vmv-news-teaser-image {
	border: 0;
	background: transparent;
	padding: 0;
}

#vmvmain .vmv-news-details h1 {
	font-size: 2rem;
}

/* Blätterleiste (Nachrichtenlisten, Archive): "Seite 1 von 83" und eine Reihe von Schaltflächen */
nav.pagination ul li strong.active,
div.pagination ul li span.current {
	border-color: var(--vmv-heading);
	color: var(--vmv-heading);
}

#vmvmain nav.pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
	margin: 2rem 0 0;
}

#vmvmain nav.pagination p {
	margin: 0;
	color: var(--vmv-grey);
	font-size: .95rem;
}

#vmvmain nav.pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

#vmvmain nav.pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#vmvmain nav.pagination a,
#vmvmain nav.pagination strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 .85rem;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
	font-weight: 600;
	text-decoration: none;
}

#vmvmain nav.pagination a:hover,
#vmvmain nav.pagination a:focus-visible {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
	text-decoration: none;
}

#vmvmain nav.pagination strong.active {
	background: var(--vmv-heading);
	color: #fff;
}

/* Hinweise aus VMV::hinweis / VMV::fehler */
#vmvmain .vmv-hinweis,
#vmvmain .alert {
	border-radius: 8px;
}

/* Galerie und Bilder */
#vmvmain .ce_image img,
#vmvmain figure img {
	border-radius: 6px;
}

#vmvmain .img-thumbnail {
	border-color: var(--vmv-line);
	border-radius: 8px;
}

@media print {
	.vmv-header,
	.vmv-sponsors,
	.vmv-footer,
	.vmv-band {
		display: none;
	}

	#vmvmain {
		max-width: none;
		padding: 0;
	}
}

/* ---------------------------------------------------------------- Vorrang vor den allgemeinen Regeln für Überschriften und Links */

body.vmv2 #vmvmain .vmv-hero .vmv-hero__title {
	margin: .75rem 0 1.25rem;
	color: var(--vmv-bg);
	font-size: clamp(2.6rem, 7vw, 6rem);
	line-height: 1;
}

body.vmv2 #vmvmain .vmv-sec .vmv-sec__title {
	margin: 0 0 2rem;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
}

body.vmv2 #vmvmain .vmv-tile h3,
body.vmv2 #vmvmain .vmv-info h3 {
	margin: 0 0 .5rem;
	font-size: 1.75rem;
}

body.vmv2 #vmvmain .vmv-card h3 {
	margin: 0 0 .25rem;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1.25;
}

body.vmv2 .vmv-footer h3 {
	margin: 0 0 1rem;
	font-size: 1rem;
}

body.vmv2 .vmv-footer a {
	text-decoration: none;
}

body.vmv2 .vmv-footer a:hover {
	text-decoration: underline;
}

body.vmv2 #vmvmain .vmv-card h3 a,
body.vmv2 #vmvmain .vmv-tile h3 a {
	color: var(--vmv-heading);
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-card h3 a:hover {
	text-decoration: underline;
}

body.vmv2 #vmvmain .vmv-hero a:not(.vmv-btn):not(.vmv-more) {
	color: #fff;
}

/* Kästen auf der Startseite (An diesem Wochenende, SAMS): css2021.css (Layout-Kopf) lässt sie sonst rechts schweben */
body.vmv2 .vmv-frame-top-right {
	float: none;
	clear: both;
	max-width: none;
	min-width: 0;
	margin: 0 0 1rem;
}

body.vmv-home #vmvmain .mod_article > .ce_text.vmv-frame-top-right {
	margin-bottom: 1rem;
}

/* Logos in den Kästen (SAMS) nicht auf 25 % der Containerbreite aufziehen */
body.vmv2 .kasten img {
	width: auto !important;
	max-width: 110px;
	height: auto !important;
}

/* Brückenseite Archiv: Listen der Archivseiten in Spalten */
.vmv-archive-list ul {
	columns: 4 200px;
	column-gap: 1.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.vmv-archive-list li {
	break-inside: avoid;
	margin: 0 0 .4rem;
}

body.vmv2 #vmvmain .vmv-archive-list a,
body.vmv2 #vmvmain .vmv-archive-list strong {
	display: block;
	padding: .45rem .8rem;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 1px 2px #00264c14;
	text-decoration: none;
}

body.vmv2 #vmvmain .vmv-archive-list a:hover {
	background: var(--vmv-soft-2);
}

/* ---------------------------------------------------------------- Titelband: Einleitung */
.vmv-band__intro {
	max-width: 760px;
	margin: .9rem 0 0;
	color: #e6eef9;
	font-size: 1.1rem;
	line-height: 1.6;
}

/* ---------------------------------------------------------------- Dokumente (Satzung & Dokumente) */
#vmvmain .vmv-doc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

#vmvmain .vmv-doc-grid > * {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	grid-column: 1 / -1;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] {
	grid-column: auto;
}

/* Karte wie in der Vorlage: Überschrift, Datum, Beschreibung und die Links untereinander (ohne Aufzählungszeichen), Abstand 6px */
.vmv-doc,
.vmv-panel {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	margin: 0;
	padding: 16px;
	border: 0;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	box-shadow: none;
}

.vmv-panel .vmv-panel-title {
	position: static;
	padding: 0;
	background: transparent;
	color: var(--vmv-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 30px;
}

.vmv-panel .vmv-panel-title a {
	color: var(--vmv-heading);
	text-decoration: none;
}

.vmv-panel .vmv-panel-title a:hover {
	text-decoration: underline;
}

.vmv-panel .vmv-panel-content {
	position: static;
	padding: 0;
	background: transparent;
}

.vmv-panel .vmv-panel-title .vmv-panel-date,
.vmv-doc__date {
	position: static;
	display: block;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--vmv-heading);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

body.vmv2 #vmvmain .vmv-doc h3 {
	margin: 0;
	font-size: 24px;
	line-height: 30px;
}

.vmv-doc p,
.vmv-panel p {
	margin: 0;
}

.vmv-doc ul,
.vmv-panel ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vmv-doc li,
.vmv-panel li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.vmv2 #vmvmain .vmv-doc a,
body.vmv2 #vmvmain .vmv-panel .vmv-panel-content a {
	color: var(--vmv-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.vmv2 #vmvmain .vmv-doc a:hover,
body.vmv2 #vmvmain .vmv-panel .vmv-panel-content a:hover {
	color: var(--vmv-heading);
}

/* Karten einer Zeile gleich hoch (die Elemente verschachteln Wrapper um die Karte) */
#vmvmain .vmv-doc-grid > [class*="col-lg-6"] {
	display: flex;
	flex-direction: column;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] > .rte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#vmvmain .vmv-doc-grid > [class*="col-lg-6"] > .rte > .vmv-doc {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------------- Übersichtsseiten mit Karten (Verband, Bildung)
   Aufbau im Backend: Elementgruppe (CSS-Klasse vmv-landing) mit je einem Text-Element pro Karte (Klassen vmv-landing__card und vmv-icon-<Name>) */
.vmv-landing {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.vmv-landing__card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--vmv-shadow);
}

.vmv-landing__card::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	background: center / contain no-repeat;
}

body.vmv2 #vmvmain .vmv-landing__card h2 {
	margin: 0 0 .6rem;
	font-size: 1.5rem;
}

.vmv-landing__card .rte {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.vmv-landing__card .rte p {
	margin: 0 0 1rem;
}

.vmv-landing__card .rte p:last-child {
	margin: auto 0 0;
	font-weight: 600;
}

.vmv-landing__card .rte p:last-child a::after {
	content: "\2192";
	display: inline-block;
	margin-left: .35em;
	text-decoration: none;
}

/* Symbole der Karten (eigene einfache Zeichnungen) */
.vmv-icon-vorstand::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%2219%22 y=%224%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%224%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%2219%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Crect x=%2234%22 y=%2235%22 width=%2210%22 height=%229%22 rx=%222%22/%3E%3Cpath d=%22M24 13v11M9 35V24h30v11M24 24v11%22/%3E%3C/svg%3E"); }
.vmv-icon-geschaeftsstelle::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M6 22L24 6l18 16%22/%3E%3Cpath d=%22M10 20v22h28V20%22/%3E%3Ccircle cx=%2224%22 cy=%2226%22 r=%224%22/%3E%3Cpath d=%22M17 38c0-4 3-6 7-6s7 2 7 6%22/%3E%3C/svg%3E"); }
.vmv-icon-satzung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d=%22M12 4h17l9 9v31H12z%22/%3E%3Cpath d=%22M29 4v9h9M18 24h14M18 31h14M18 38h9%22/%3E%3C/svg%3E"); }
.vmv-icon-schiedsrichter::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2218%22 cy=%2230%22 r=%2211%22/%3E%3Cpath d=%22M28 24l14-14M29 19l4 4M35 13l4 4%22/%3E%3Ccircle cx=%2218%22 cy=%2230%22 r=%223%22/%3E%3C/svg%3E"); }
.vmv-icon-trainer::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%222.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cdefs%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23134a92%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c3181e%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x=%225%22 y=%228%22 width=%2238%22 height=%2226%22 rx=%223%22/%3E%3Cpath d=%22M24 34v8M16 44h16M13 17l8 6M13 25l5-4M30 15l5 5M30 25h6%22/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- Vorstand & Präsidium
   Aufbau im Backend: Text-Elemente mit den Klassen vmv-people-legend, vmv-people (ein Absatz je Person; "is-haupt" für Hauptamtliche) und vmv-committee
   (Überschrift = Funktion, erster Absatz = Name) in Elementgruppen mit der Klasse vmv-committees */
.vmv-people-legend .rte,
.vmv-people .rte,
.vmv-committees {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.vmv-people-legend .rte,
.vmv-people .rte {
	margin: 0 0 32px;
}

.vmv-people-legend p,
.vmv-people p {
	margin: 0;
	padding: 16px;
	border-radius: 8px;
	background: var(--vmv-soft-2);
	text-align: center;
}

.vmv-people-legend p:nth-child(1) {
	background: linear-gradient(110deg, #e7efd8 0 28%, var(--vmv-soft-2) 28% 100%);
}

.vmv-people-legend p:nth-child(2),
.vmv-people.is-haupt p {
	background: #f5eaeb;
}

.vmv-people-legend p:nth-child(3) {
	background: #e9eef2;
}

.vmv-people-legend .rte {
	margin-bottom: 64px;
}

.vmv-people--single .rte {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vmv-people--single .rte p {
	grid-column: 1;
}

body.vmv2 #vmvmain .vmv-people-legend ~ h2 {
	margin: 0 0 32px;
	font-size: 40px;
	line-height: 50px;
}

body.vmv2 #vmvmain .vmv-people-legend ~ h2:not(:first-of-type) {
	margin-top: 64px;
}

.vmv-committees {
	margin: 0 0 32px;
}

.vmv-committee {
	padding: 16px;
	border-radius: 8px;
	background: var(--vmv-soft-2);
}

body.vmv2 #vmvmain .vmv-committee h3 {
	margin: 0;
	color: var(--vmv-primary);
	font-size: 1rem;
	line-height: 1.5;
}

.vmv-committee .rte > p:first-child {
	margin: 0 0 .9rem;
	padding-bottom: .9rem;
	border-bottom: 2px solid var(--vmv-accent);
	font-size: 1rem;
}

.vmv-committee .rte > p:first-child:last-child {
	margin: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

body.vmv2 #vmvmain .vmv-committee h4 {
	margin: 1rem 0 .5rem;
	font-size: 1rem;
}

body.vmv2 #vmvmain .vmv-committee h5 {
	margin: .75rem 0 .4rem;
	font-size: .95rem;
	font-weight: 400;
}

.vmv-committee p {
	margin: 0 0 .6rem;
	font-size: .92rem;
}

.vmv-committee ul {
	columns: 2;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
}

.vmv-committee li {
	break-inside: avoid;
}

@media (max-width: 1100px) {
	.vmv-people-legend .rte,
	.vmv-people .rte,
	.vmv-people--single .rte,
	.vmv-committees {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.vmv-landing,
	.vmv-people-legend .rte,
	.vmv-people .rte,
	.vmv-people--single .rte,
	.vmv-committees {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* Das Modul "Navigation" setzt um die Liste einen Block mit overflow:hidden (Contao-Framework): sonst wird das Aufklappfeld abgeschnitten */
.vmv-nav .mod_navigation {
	overflow: visible;
}

/* ---------------------------------------------------------------- Nachrichtenlisten auf den Seiten (Karten wie auf der Startseite)
   Die Vorlagen news_vmv_nachrichtenliste und news_vmv_nachrichtenliste_alle geben je Nachricht eine .vmv-card aus; das Modul (.mod_newslist) ordnet sie in Spalten an. */
#vmvmain .mod_newslist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0 0 32px;
}

#vmvmain .mod_newslist > :not(.vmv-card) {
	grid-column: 1 / -1;
}

#vmvmain .mod_newslist .vmv-card__body {
	flex: 1 1 auto;
}

#vmvmain .mod_newslist .vmv-card__body > div:last-child {
	margin-top: auto;
	padding-top: .25rem;
}

#vmvmain .mod_newslist .vmv-card__body > p {
	margin: .6rem 0 .8rem;
}

@media (max-width: 1100px) {
	#vmvmain .mod_newslist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	#vmvmain .mod_newslist {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* Das Datum in der kleinen Zeile der Karte hat die Schrift der Rubrik */
.vmv-card__group time {
	color: inherit;
	font-size: inherit;
	opacity: 1;
}

/* ---------------------------------------------------------------- Detailansicht einer Nachricht: Zurück und vorheriger/nächster Beitrag */
.vmv-news-nav {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--vmv-line);
}

.vmv-news-nav__back {
	margin: 0 0 1.5rem;
}

.vmv-news-nav__pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

#vmvmain .vmv-news-nav a.vmv-btn {
	color: #fff;
	text-decoration: none;
}

#vmvmain .vmv-news-nav__prev,
#vmvmain .vmv-news-nav__next {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--vmv-soft-2);
	color: var(--vmv-heading);
	text-decoration: none;
}

#vmvmain .vmv-news-nav__prev:hover,
#vmvmain .vmv-news-nav__next:hover {
	background: var(--vmv-soft);
	box-shadow: var(--vmv-shadow);
}

.vmv-news-nav__next {
	grid-column: 2;
	text-align: right;
}

.vmv-news-nav__prev {
	grid-column: 1;
}

.vmv-news-nav__label {
	color: var(--vmv-accent);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vmv-news-nav__title {
	font-size: 1.15rem;
	line-height: 1.3;
}

.vmv-news-nav__date {
	color: var(--vmv-grey);
	font-size: .85rem;
}

@media (max-width: 700px) {
	.vmv-news-nav__pager {
		grid-template-columns: minmax(0, 1fr);
	}

	.vmv-news-nav__prev,
	.vmv-news-nav__next {
		grid-column: 1;
		text-align: left;
	}
}
