/*
 * Crash Guru Original-Design
 * Sichere Übernahme der gestalterischen Website-Finish-Regeln.
 * Das eigentliche Marktplatz-Layout kommt unverändert aus dem geprüften
 * Crash-Guru-Marketplace-Plugin.
 */

html,
body.cgwr-original-front {
	margin: 0 !important;
	padding: 0 !important;
	background: #ffffff;
}

body.cgwr-original-front .cgwr-original-main {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Frühere Website-Finish-Regel: Bewertungssterne gelb. */
body.cgwr-original-front .cgm-rating__stars {
	color: #f5b301 !important;
	letter-spacing: 1px;
}

/* Kompakter Original-Footer aus dem früheren Website-Finish-Plugin. */
body.cgwr-original-front .cgwf-footer {
	width: 100%;
	margin-top: 60px;
	padding: 28px 20px;
	box-sizing: border-box;
	background: #f5f7fa;
	border-top: 1px solid #e2e6eb;
	color: #344054;
	text-align: center;
}

body.cgwr-original-front .cgwf-footer__inner {
	max-width: 1100px;
	margin: 0 auto;
}

body.cgwr-original-front .cgwf-footer__home {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

body.cgwr-original-front .cgwf-footer__logo {
	display: block;
	width: 78px !important;
	max-width: 78px !important;
	height: auto !important;
	margin: 0 auto 12px;
}

body.cgwr-original-front .cgwf-footer__brand-name {
	display: inline-block;
	margin-bottom: 12px;
	color: #1f2937;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
}

body.cgwr-original-front .cgwf-footer__description {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
}

body.cgwr-original-front .cgwf-footer__links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-bottom: 16px;
}

body.cgwr-original-front .cgwf-footer__links a {
	color: #344054;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

body.cgwr-original-front .cgwf-footer__links a:hover,
body.cgwr-original-front .cgwf-footer__links a:focus-visible {
	color: #2B6777;
	text-decoration: underline;
}

body.cgwr-original-front .cgwf-footer__copyright {
	margin: 0;
	color: #667085;
	font-size: 12px;
	line-height: 1.5;
}

body.cgwr-original-front .cgwr-missing {
	max-width: 900px;
	margin: 80px auto;
	padding: 32px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 600px) {
	body.cgwr-original-front .cgwf-footer {
		margin-top: 40px;
		padding: 24px 16px;
	}

	body.cgwr-original-front .cgwf-footer__logo {
		width: 65px !important;
		max-width: 65px !important;
	}
}


/* Crash-Guru-Systemseiten:
 * Das Theme zeichnet oberhalb der Plugin-Oberfläche noch einmal den Seitennamen
 * ("Crash-Guru") und den WordPress-Seitentitel. Beides wird auf den Crash-Guru-
 * Funktionsseiten ausgeblendet, damit nur die eigene Markenleiste sichtbar bleibt.
 */
body.cgwr-system-page #site-header,
body.cgwr-system-page header#site-header,
body.cgwr-system-page .site-header,
body.cgwr-system-page .page-header,
body.cgwr-system-page .entry-header,
body.cgwr-system-page .entry-title,
body.cgwr-system-page h1.wp-block-post-title {
	display: none !important;
}

body.cgwr-system-page {
	margin: 0 !important;
	padding: 0 !important;
}

body.cgwr-system-page main,
body.cgwr-system-page #content,
body.cgwr-system-page .site-main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
