/* Shared component styles; existing blocks opt in through their class names. */
.neoqm-service-tab-panel .is-style-subheading:has(.has-alert-500-color),
.neoqm-service-tab-panel .is-style-subheading.has-success-500-color {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--scale-3, 0.75rem) var(--wp--preset--spacing--scale-4, 1rem);
	border-radius: 0.8rem;
}

.neoqm-service-tab-panel .is-style-subheading:has(.has-alert-500-color) {
	background-color: var(--wp--preset--color--alert-200);
}

.neoqm-service-tab-panel .is-style-subheading.has-success-500-color {
	background-color: var(--wp--preset--color--success-200);
}

/* Match the existing card radius while keeping full-width section bands straight. */
.neoqm-service-tab-panel,
.neoqm-service-tab-panel .wp-block-group.has-background,
.neoqm-rounded-card,
.is-style-faq-accordion .wp-block-details.is-style-faq,
.wp-block-neoqm-payback-calculator .year-result {
	border-radius: 0.8rem;
}
