/* Block / CTA — type band | panel.
   Band fills the section (pale blue by default): text 680 left, buttons right.
   Panel is a 1280 navy card (radius 24) on a white section, with a 560 dark-blue circle at 60%
   centred on its top-right corner and clipped by the panel. Mobile: both stack, text left,
   buttons full width at gap 12; panel padding 40 24, radius 16. */

/* Band */
.axn-cta__band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-64);
}

.axn-cta__text {
	display: flex;
	flex-direction: column;
	gap: var(--space-16);
	flex: 0 1 680px;
}

.axn-cta__band .wp-block-buttons {
	flex: none;
}

/* Panel */
.axn-cta__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	padding: 72px var(--page-margin);
	border-radius: var(--radius-24);
	background: var(--surface-page);
	color: var(--text-primary);
	text-align: center;
	isolation: isolate;
}

.axn-cta__panel::before {
	content: "";
	position: absolute;
	top: -280px;
	right: -280px;
	z-index: -1;
	width: 560px;
	height: 560px;
	background: url("../../images/flourish.svg") center / contain no-repeat;
}

.axn-cta__panel-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-32);
	width: 100%;
	max-width: 720px;
}

.axn-cta__panel .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 1023px) {
	.axn-cta__band {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-32);
	}

	.axn-cta__text {
		flex: none;
	}
}

@media (max-width: 767px) {
	.axn-cta__band {
		gap: var(--space-24);
	}

	.axn-cta__band .wp-block-buttons,
	.axn-cta__panel .wp-block-buttons {
		flex-direction: column;
		align-self: stretch;
		gap: var(--space-12);
	}

	.axn-cta .wp-block-button,
	.axn-cta .wp-block-button__link {
		width: 100%;
	}

	.axn-cta__panel {
		align-items: flex-start;
		padding: 40px var(--space-24);
		border-radius: var(--radius-16);
		text-align: left;
	}

	.axn-cta__panel-content {
		align-items: flex-start;
		gap: var(--space-24);
	}
}
