/**
 * Styling für die APO24-Bausteine-Blockmuster.
 * Nutzt die im Theme definierten CSS-Variablen (Clinical-Authority-Designsystem)
 * und fällt auf die gleichen Werte zurück, falls eine Variable auf einer Seite fehlt.
 */

.apo24-cta,
.apo24-quellenbox,
.apo24-hinweisbox,
.apo24-rechenbeispiel,
.apo24-grafikblock,
.apo24-faq {
	--apo24-bg: var(--bg-secondary, #111827);
	--apo24-border: var(--border, #1E2A3A);
	--apo24-accent: var(--accent, #00C896);
	--apo24-text: var(--text-primary, #F0F4FF);
	--apo24-text-muted: var(--text-secondary, #8892A4);
	--apo24-radius: var(--radius, 8px);
}

/* CTA */
.apo24-cta {
	background: var(--apo24-bg);
	border: 1px solid var(--apo24-border);
	border-radius: var(--apo24-radius);
	padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
	text-align: center;
}
.apo24-cta-headline { margin-bottom: .5rem; }
.apo24-cta-text { color: var(--apo24-text-muted); margin-bottom: 1.25rem; }
.apo24-cta-btn .wp-block-button__link {
	background: var(--apo24-accent);
	color: var(--bg-primary, #0A0F1E);
	font-weight: 600;
	border-radius: var(--apo24-radius);
}

/* Quellenbox */
.apo24-quellenbox {
	border-left: 3px solid var(--apo24-accent);
	padding: .75rem 1.25rem;
	background: var(--apo24-bg);
	border-radius: 0 var(--apo24-radius) var(--apo24-radius) 0;
}
.apo24-quellenbox-text {
	color: var(--apo24-text-muted);
	font-size: .8125rem;
	margin: 0;
}

/* Hinweisbox */
.apo24-hinweisbox {
	background: color-mix(in srgb, var(--apo24-accent) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--apo24-accent) 30%, transparent);
	border-radius: var(--apo24-radius);
	padding: 1rem 1.25rem;
}
.apo24-hinweisbox p { margin: 0; color: var(--apo24-text); font-size: .9375rem; }

/* Rechenbeispiel */
.apo24-rechenbeispiel {
	background: var(--apo24-bg);
	border: 1px solid var(--apo24-border);
	border-radius: var(--apo24-radius);
	padding: 1.75rem clamp(1.25rem, 4vw, 2rem);
}
.apo24-rechenbeispiel-label {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--apo24-accent);
	margin-bottom: .5rem;
}
.apo24-rechenbeispiel-source {
	color: var(--apo24-text-muted);
	font-size: .8125rem;
	margin-top: 1rem;
}

/* Grafikblock */
.apo24-grafikblock { text-align: center; }
.apo24-grafikblock-source {
	color: var(--apo24-text-muted);
	font-size: .8125rem;
	margin-top: .5rem;
}

/* FAQ (core/details) */
.apo24-faq-item {
	border-bottom: 1px solid var(--apo24-border);
	padding: 1rem 0;
}
.apo24-faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--apo24-text);
}
.apo24-faq-item p {
	color: var(--apo24-text-muted);
	margin-top: .625rem;
}
