/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* ==========================================================================
   Relaunch 2026 (Webprojekt Donauwörth)
   Nur Regeln, für die Enfold keine Option bietet. Farben über die Farbset-Variablen.
   ========================================================================== */

/* Titel von Symbol-Boxen ohne Versalien und Sperrung, kräftiger (Enfold-Standard: uppercase, keine Option) */
#top .iconbox_content_title {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
}

/* Hauptmenü: Unterstreichung bei Hover und bei der aktiven Seite */
#top #header .av-main-nav > li > a .avia-menu-text {
	text-decoration-line: none;
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}
#top #header .av-main-nav > li > a:hover .avia-menu-text,
#top #header .av-main-nav > li.current-menu-item > a .avia-menu-text,
#top #header .av-main-nav > li.current-menu-ancestor > a .avia-menu-text {
	text-decoration-line: underline;
}
/* Enfolds Balken unter dem Menüpunkt ersetzt die Unterstreichung */
#top #header .av-main-nav .avia-menu-fx {
	display: none;
}

/* Beitragskarten "Aktuelles" (Element Blog Beiträge im Raster, Klasse gz-news):
   Bild links über die volle Kartenhöhe, Inhalt linksbündig und vertikal mittig, Kategorie als Etikett.
   Das Veröffentlichungsdatum entfällt (bei Veranstaltungen irreführend, Termin steht im Text).
   Auf dem Handy Bild oben, volle Breite. Enfold zentriert diese Elemente mit sehr spezifischen Regeln,
   daher an den Ausrichtungen !important. */
#top .gz-news .slide-entry-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
#top .gz-news .slide-entry-wrap::before,
#top .gz-news .slide-entry-wrap::after {
	display: none;
}
#top .gz-news .slide-entry {
	float: none;
	width: calc(50% - 15px);
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 40% 1fr;
	background: var(--enfold-main-color-bg);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(56, 36, 16, 0.10);
	transition: box-shadow 0.2s, transform 0.2s;
}
#top .gz-news .slide-entry:only-child {
	width: 100%;
	grid-template-columns: 30% 1fr;
}
#top .gz-news .slide-entry:hover {
	box-shadow: 0 8px 28px rgba(56, 36, 16, 0.16);
	transform: translateY(-2px);
}
/* Feste Rasterplätze: Enfold hängt unsichtbare strukturierte Daten (span.hidden) an, die sonst eine Zelle belegen */
#top .gz-news .slide-entry > .hidden {
	position: absolute;
}
#top .gz-news .slide-image {
	grid-column: 1;
	grid-row: 1;
	display: block;
	margin: 0;
	border-radius: 0;
	min-height: 240px;
}
#top .gz-news .slide-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}
#top .gz-news .slide-image .image-overlay,
#top .gz-news .entry-footer,
#top .gz-news .av-vertical-delimiter {
	display: none !important;
}
#top .gz-news .slide-content {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	padding: 32px 36px;
}
#top .gz-news .slide-content,
#top .gz-news .entry-content-header,
#top .gz-news .blog-categories,
#top .gz-news .slide-entry-title,
#top .gz-news .slide-entry-excerpt,
#top .gz-news .read-more-link {
	text-align: left !important;
}
#top .gz-news .blog-categories {
	display: block;
	margin: 0 0 14px;
}
#top .gz-news .blog-categories a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 20px;
	background: var(--enfold-alternate-color-bg);
	color: var(--enfold-main-color-primary);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
#top .gz-news .slide-entry-title {
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 12px;
}
#top .gz-news .slide-entry-title a {
	color: var(--enfold-main-color-heading);
}
#top .gz-news .read-more-link {
	margin: 16px 0 0;
}
#top .gz-news .read-more-link .more-link {
	display: inline-block;
	margin: 0;
	border: 0;
	padding: 0;
	background: none;
	color: var(--enfold-main-color-primary);
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
#top .gz-news .read-more-link .more-link:hover {
	text-decoration: underline;
}
@media only screen and (max-width: 767px) {
	#top .gz-news .slide-entry,
	#top .gz-news .slide-entry:only-child {
		width: 100%;
		grid-template-columns: 1fr;
	}
	#top .gz-news .slide-content {
		grid-column: 1;
		grid-row: 2;
	}
	#top .gz-news .slide-image {
		aspect-ratio: 4 / 3;
		min-height: 0;
	}
	#top .gz-news .slide-content {
		padding: 24px 22px 28px;
	}
}

/* Footer-Seite: Rechtslinks rechts, auf dem Handy mittig und mit großen Klickflächen */
#top .gz-footer-links p {
	text-align: right;
	margin: 0;
}
#top .gz-footer-links a {
	display: inline-block;
	padding: 10px 0 10px 22px;
}
@media only screen and (max-width: 767px) {
	#top #footer-page .flex_column {
		text-align: center;
	}
	#top .gz-footer-links p {
		text-align: center;
	}
	#top .gz-footer-links a {
		padding: 12px 14px;
	}
}

/* Beitragsseiten (Aktuelles): Kopf linksbündig mit Kategorie-Etikett, Bild rechts neben dem Text,
   Abschlussleiste. Kleine Enfold-Vorschau, Trennstrich und Autorzeile entfallen. */
#top.single-post .template-single-blog .entry-content-wrapper {
	max-width: 1100px;
	margin: 0 auto;
}
#top.single-post .post-entry .blog-meta,
#top.single-post .post-entry .av-vertical-delimiter,
#top.single-post .post-entry .post-meta-infos,
#top.single-post .post-entry .post-format-icon {
	display: none !important;
}
#top.single-post .post-entry .entry-content-header,
#top.single-post .post-entry .av-heading-wrapper,
#top.single-post .post-entry .blog-categories,
#top.single-post .post-entry .post-title {
	text-align: left !important;
}
#top.single-post .post-entry .blog-categories {
	display: block;
	margin: 0 0 14px;
}
#top.single-post .post-entry .blog-categories a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 20px;
	background: var(--enfold-alternate-color-bg);
	color: var(--enfold-main-color-primary);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
#top.single-post .post-entry .post-title {
	margin: 0 0 28px;
}
#top.single-post .entry-content .gz-post-image {
	float: right;
	width: 40%;
	margin: 0 0 30px 48px;
}
#top.single-post .entry-content .gz-post-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(56, 36, 16, 0.12);
}
#top.single-post .entry-content ul li::marker {
	color: var(--enfold-main-color-primary);
}
#top.single-post .entry-content .gz-post-cta {
	clear: both;
	margin: 40px 0 0;
	padding: 26px 30px;
	background: var(--enfold-alternate-color-bg);
	border-radius: 8px;
}
#top.single-post .entry-content .gz-post-cta p {
	margin: 0 0 10px;
}
#top.single-post .entry-content .gz-post-cta p:last-child {
	margin: 0;
}
#top.single-post .entry-content .gz-post-call {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 4px;
	background: var(--enfold-main-color-primary);
	color: #ffffff;
	font-weight: 600;
	margin: 0 22px 0 0;
}
#top.single-post .entry-content .gz-post-call:hover {
	background: var(--enfold-main-color-secondary);
	text-decoration: none;
}
#top.single-post .entry-content .gz-post-back {
	font-weight: 600;
}
@media only screen and (max-width: 767px) {
	#top.single-post .entry-content .gz-post-image {
		float: none;
		width: 100%;
		margin: 0 0 24px;
	}
	#top.single-post .entry-content .gz-post-call {
		margin: 0 0 12px;
	}
	#top.single-post .entry-content .gz-post-back {
		display: block;
	}
}

/* Nach-oben-Knopf: rund in Logo-Braun mit weißem Pfeil (kein transform, das belegt Enfolds Einblend-Animation) */
#top #scroll-top-link {
	width: 46px;
	height: 46px;
	line-height: 46px;
	right: 24px;
	bottom: 24px;
	border: 0;
	border-radius: 50%;
	background-color: var(--enfold-main-color-primary);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(56, 36, 16, 0.25);
}
#top #scroll-top-link:hover {
	background-color: var(--enfold-main-color-secondary);
}
#top #scroll-top-link svg {
	width: 14px;
	height: 16px;
}
#top #scroll-top-link svg path {
	fill: #ffffff;
}

/* Karte (Zwei-Klick): Knopf "Karte anzeigen" dauerhaft sichtbar statt nur bei Mauskontakt, im Stil der Buttons */
#top .avia-google-map-container .av_gmaps_confirm_link {
	opacity: 1;
	padding: 14px 26px;
	border-radius: 4px;
	background-color: var(--enfold-main-color-primary);
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(56, 36, 16, 0.3);
	white-space: nowrap;
}
#top .avia-google-map-container .av_gmaps_confirm_link:hover {
	background-color: var(--enfold-main-color-secondary);
	text-decoration: none;
}
