.ast-separate-container .ast-article-inner
{
	background-color: white;
}
body.single-post .ast-article-single{
		background-color: white !important;
}

body {
	background-color: #F0F0F0;
}


#comments{
	display: none;
}

/* Fix stretched blog thumbnails — Astra sets aspect-ratio + width:100% but no
   object-fit, so images get squashed to fit instead of being cropped. */
.ast-article-post .post-thumb-img-content img {
	height: 100%;
	object-fit: cover;
}

/* Navigation: line drops down onto item on hover, stays on active page */
.main-header-menu .menu-item {
	position: relative;
	overflow: visible;
}

.main-header-menu .menu-item > a.menu-link {
	position: relative;
}

.main-header-menu .menu-item > a.menu-link::before {
	content: "";
	position: absolute;
	top: -40px;
	left: 50%;
	width: 2px;
	height: 64px;
	background-color: #940000;
	transform: translateX(-50%) scaleY(0);
	transform-origin: top;
	transition: transform 0.25s ease;
	pointer-events: none;
}

.main-header-menu .menu-item:hover > a.menu-link::before {
	transform: translateX(-50%) scaleY(1); 
}

.main-header-menu .menu-item.current-menu-item > a.menu-link::before {
	background-color: #04693c;
	transform: translateX(-50%) scaleY(1);
}

/* Top ribbon strip — four-color band above the header, echoes the medal-ribbon motif */
.skf-top-ribbon {
	height: 8px;
	display: flex;
}

.skf-top-ribbon span {
	flex: 1;
}

.skf-top-ribbon span:nth-child(1),
.skf-top-ribbon span:nth-child(4) {
	background-color: #04693c;
}

.skf-top-ribbon span:nth-child(2) {
	background-color: #cd0000;
}

.skf-top-ribbon span:nth-child(3) {
	background-color: #940000;
}

/* Footer top border — same ribbon palette, blended as a gradient */
.site-footer {
	border-top: 6px solid;
	border-image: linear-gradient(90deg, #04693c, #cd0000, #940000, #04693c) 1;
}

/* Koenig shield — hexagonal shield-shaped image frame for the reigning Schuetzenkoenig photo.
   The border is faked with a slightly larger shield-shaped backdrop behind the image, since a
   plain CSS border on a clip-path element renders unevenly along the diagonal edges. */
.skf-koenig-shield {
	width: 180px;
	max-width: 100%;
	height: 220px;
	margin: 0 auto 22px;
	padding: 4px;
	background: #940000;
	clip-path: polygon(50% 0%, 100% 18%, 100% 72%, 50% 100%, 0% 72%, 0% 18%);
}

.skf-koenig-shield .elementor-widget-container,
.skf-koenig-shield .elementor-image {
	width: 100%;
	height: 100%;
}

.skf-koenig-shield img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	clip-path: polygon(50% 0%, 100% 18%, 100% 72%, 50% 100%, 0% 72%, 0% 18%);
	background: linear-gradient(180deg, #fff, #e7e7e7);
}

/* Aktuelles archive banner — title image + heading + ribbon-bar + intro text,
   injected via functions.php above the auto-generated post list. */
.skf-page-banner {
	display: block;
	width: 100%;
	flex: 0 0 100%;
	height: 560px;
	overflow: hidden;
	position: relative;
	margin-bottom: 0;
}

.skf-page-banner img {
	width: 100%;
	height: 560px;
	object-fit: cover;
	display: block;
}

.skf-page-banner:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), #F0F0F0);
}

@media (max-width: 640px) {
	.skf-page-banner {
		height: 340px;
	}	
	.skf-section-head h1{
		font-size: 28px!important;
	}	
	
}

.skf-section-head {
	display: block;
	width: 100%;
	flex: 0 0 100%;
	text-align: center;
	padding: 56px 24px 32px;
}

.skf-section-head h1 {
	font-size: 38px;
	color: #CD0000;
	font-family: 'Merriweather', Georgia, serif;
	font-weight: 700;
}

.skf-section-head p {
	color: #666;
	max-width: 520px;
	margin: 14px auto 0;
	font-size: 15px;
}

.skf-ribbon-bar {
	display: flex;
	width: 64px;
	height: 6px;
	border-radius: 2px;
	overflow: hidden;
	margin: 14px auto 0;
}

.skf-ribbon-bar span {
	flex: 1;
}

.skf-ribbon-bar span:nth-child(1),
.skf-ribbon-bar span:nth-child(3) {
	background-color: #04693c;
}

.skf-ribbon-bar span:nth-child(2) {
	background-color: #cd0000;
}

/* Extra photo gallery appended below a single post's content */
.skf-post-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 32px;
}

.skf-post-gallery-img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 6px;
}

@media (max-width: 640px) {
	.skf-post-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Team card hover — lifts slightly with a softer shadow, for Vorstand member cards */
.skf-team-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.skf-team-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* Mobile burger menu — matches the prototype: plain white rows with a thin
   divider and a colored left border on hover/active, instead of solid color blocks. */
@media (max-width: 921px) {
	.ast-mobile-header-content .main-header-menu {
		background: #fff !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item {
		border-bottom: 1px solid #F0F0F0 !important;
		border-left: 4px solid transparent !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item > .menu-link {
		color: #1a1a1a !important;
		background: transparent !important;
		padding: 14px 4px 14px 14px !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item.current-menu-item {
		background: #f4faf6 !important;
		border-left-color: #04693c !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item.current-menu-item > .menu-link {
		color: #04693c !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item:hover {
		background: #fdf2f2 !important;
		border-left-color: #cd0000 !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item:hover > .menu-link {
		color: #cd0000 !important;
	}

	.ast-mobile-header-content .main-header-menu .menu-item > a.menu-link::before {
		display: none !important;
	}
}

/* Ribbon-bar Elementor container — forces the three colored segments to stay
   side by side on mobile instead of stacking, since Elementor's own mobile
   flex-wrap setting breaks them onto separate lines.
   Apply the "skf-ribbon-bar-con" CSS class to the outer ribbon-bar container in Elementor. */
.skf-ribbon-bar-con {
	flex-wrap: nowrap !important;
	width: 64px !important;
	max-width: 64px !important;
	flex: 0 0 64px !important;
	height: 6px !important;
	min-height: 6px !important;
	max-height: 6px !important;
}

.skf-ribbon-bar-con > .elementor-element {
	width: auto !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	flex: 1 1 0 !important;
}

/* Contact form fields — red focus outline matching the site's accent color,
   instead of the browser's default blue. */
.wpforms-container input[type="text"]:focus,
.wpforms-container input[type="email"]:focus,
.wpforms-container input[type="tel"]:focus,
.wpforms-container textarea:focus {
	outline: none !important;
	border-color: #CD0000 !important;
	box-shadow: 0 0 0 1px #CD0000 !important;
}


