/**
 * Astorga Financing — component styles.
 * Theme-agnostic by design: colors derive from currentColor so the panels
 * stay WCAG-compliant in light or dark palettes and survive the future brand
 * theme swap untouched. No motion is used anywhere in this component, so
 * prefers-reduced-motion is satisfied by construction.
 */

/* "Pending legal review" and provider-not-live panels */
.astorga-financing-pending,
.astorga-disclosure-placeholder {
	border-left: 4px solid currentColor;
	background: color-mix(in srgb, currentColor 7%, transparent);
	padding: 1rem 1.25rem;
	margin-block: 1rem;
}

.astorga-disclosure-placeholder p:first-child {
	margin-top: 0;
}
.astorga-disclosure-placeholder p:last-child,
.astorga-financing-pending p {
	margin-bottom: 0;
}
.astorga-financing-pending p {
	margin-top: 0;
}

/* Visible external-link notice that accompanies provider-mode CTAs */
.astorga-cta-external-note {
	display: block;
	font-size: 0.875em;
	margin-top: 0.5rem;
}

/* Never let the CTA shrink below WCAG 2.2 target size, whatever the theme */
.astorga-cta .wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}
