/* Text styles registered by ub-site (inc/services.php), chosen in the editor's Styles panel: paragraph "Label",
   paragraph "Badge", group "Alert box". Written for the services cards (ub/service-condition) and usable anywhere.
   Sizes and colours from the live services widget (praxis-leistungen-tabs 2.0.0). */

/* "Label": a gold part title ("Unser Angebot", "Wann zum Arzt?"): styled text, not a heading. In the theme's "Gold
   for text" (primary-text, #886524: 5.3:1 on the white card, 4.7:1 on the cream), the darker gold Tomi chose for small
   gold text on 2026-11-13 (BRIEF §10), like the eyebrows and links; the site's gold (#C19C5D) where a theme has none.
   At least 24 px, also on phones (the live 22 px). */
p.is-style-label {
	color: var(--wp--preset--color--primary-text, var(--wp--preset--color--primary, #c19c5d));
	font-family: var(--wp--preset--font-family--heading, serif);
	font-size: 1.5625rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

/* "Badge": a small red box with white text ("Notfallrelevant"). */
p.is-style-badge {
	inline-size: fit-content;
	max-inline-size: 100%;
	padding: 0.375rem 1.3125rem;
	border-radius: 5px;
	background-color: var(--wp--preset--color--accent, #a44e3c);
	color: var(--wp--preset--color--on-accent, #fff);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.15;
}

/* "Alert box": the pink box around a badge and its list. */
.wp-block-group.is-style-alert {
	padding: 1.375rem 1.375rem 1.25rem;
	border-radius: 5px;
	background-color: var(--wp--preset--color--accent-soft, #f7e6e2);
}
.wp-block-group.is-style-alert > * { margin-block: 0; }
.wp-block-group.is-style-alert > * + * { margin-block-start: 0.75rem; }
.wp-block-group.is-style-alert > .is-style-badge + * { margin-block-start: 0.9375rem; }

@media (max-width: 767px) {
	p.is-style-label { font-size: 1.5rem; }
	p.is-style-badge { padding-inline: 0.9375rem; font-size: 0.9375rem; }
	.wp-block-group.is-style-alert { padding: 1.125rem 1rem; }
}
