/* Selbstgehostete Roboto-Schrift (wie im Original der Vereinswebsite) */
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/roboto/roboto-400-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/roboto/roboto-500-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/roboto/roboto-700-latin.woff2') format('woff2');
}

body, button, input, select, textarea {
	font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
}

/* Vereinsfarbe (aus dem Original-Wappen ausgemessen) */
a {
	color: #2a7942;
}
a:hover, a:focus {
	color: #1f5c31;
}
.ast-button, button, input[type="submit"], .wp-block-button__link {
	background-color: #2a7942;
	border-color: #2a7942;
}
.ast-button:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
	background-color: #1f5c31;
	border-color: #1f5c31;
}

/* Logo-Größe begrenzen (Original-Wappen-Datei ist 800px breit) */
.site-logo-img img {
	max-width: 60px;
	height: auto;
	width: auto;
}
.site-title {
	max-width: 220px;
	line-height: 1.15;
}

/* Eigener Footer-Block: Schwarz mit weißer Schrift, einheitliche Schriftgröße */
.sgnidda-footer {
	background: #000000;
	color: #ffffff;
	padding: 50px 20px 20px;
}
.sgnidda-footer a {
	color: #ffffff;
}
.sgnidda-footer a:hover {
	color: #2a7942;
}
.sgnidda-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.sgnidda-footer-col {
	flex: 1 1 220px;
	font-size: 0.875rem;
}
.sgnidda-footer-col h4 {
	color: #ffffff;
	font-size: 1rem;
	margin-bottom: 12px;
}
.sgnidda-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sgnidda-footer-col li {
	margin-bottom: 8px;
}
.sgnidda-social li {
	display: inline-block;
	margin-right: 12px;
}
.sgnidda-footer-legal {
	max-width: 1200px;
	margin: 30px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.2);
	font-size: 0.875rem;
	text-align: center;
}
.sgnidda-footer-legal nav a {
	margin: 0 10px;
}

/* Seitentitel auf der Startseite ausblenden (nur dort, Titel in Listen/Widgets bleiben) */
body.page-id-30 .entry-header {
	display: none;
}

/* Startseiten-Bilder-Slider: volle Seitenbreite, reine CSS-Überblendung */
.sgnidda-slider {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: 60vh;
	min-height: 320px;
	max-height: 600px;
	overflow: hidden;
	background: #000;
}
.sgnidda-slider img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: sgnidda-slider-fade 36s infinite;
}
@keyframes sgnidda-slider-fade {
	0% { opacity: 0; }
	3% { opacity: 1; }
	22% { opacity: 1; }
	28% { opacity: 0; }
	100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.sgnidda-slider img {
		animation: none;
		opacity: 0;
	}
	.sgnidda-slider img:first-child {
		opacity: 1;
	}
}
