/**
 * SigmaGraft About — Partner CTA.
 *
 * Defaults only: every value here is overridable by the widget's controls.
 *
 * ── Layer order ───────────────────────────────────────────────────────────
 *
 *   the section's own background   the pale ground        (paints first)
 *   .sgxa-cta__pattern             the dotted world map   z-index 0
 *   .sgxa-cta__overlay             optional scrim         z-index 1
 *   .sgxa-cta__inner               text and buttons       z-index 2
 *
 * The map is a CSS background on its own layer rather than an <img>, because
 * it is decoration: it needs position, size and repeat, it must not be
 * announced by a screen reader, and it wants its own opacity and blend so it
 * can sit behind the text without washing out the ground colour.
 *
 * ── The band ──────────────────────────────────────────────────────────────
 *
 * Text on one side, buttons on the other, pushed apart by space-between. On a
 * phone the row becomes a column — a heading and a button cannot share a line
 * at that width without one of them being squeezed to nothing.
 */

.sgxa-cta {
	position: relative;
	overflow-x: clip;
	isolation: isolate;
	padding: 24px 0 26px;
	background-color: #F2F6FC;
}

.sgxa-cta__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

.sgxa-cta__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.sgxa-cta__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

.sgxa-cta--container-full .sgxa-cta__inner {
	max-width: none;
}

/* ═════════ Text side ═════════ */

.sgxa-cta__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	max-width: 58%;
	text-align: start;
}

/*
 * The shared section-header block carries its own bottom margin for the
 * sections that stack something under it. Here it is the whole text side, so
 * the margin would only push the band taller.
 */
.sgxa-cta .sgxa-head {
	margin-bottom: 0;
}

.sgxa-cta .sgxa-head__eyebrow {
	margin-bottom: 7px;
	font-size: 11px;
	letter-spacing: 1.2px;
}

.sgxa-cta .sgxa-head__title {
	margin-bottom: 6px;
	font-size: 20px;
}

.sgxa-cta .sgxa-head__desc {
	font-size: 11.5px;
	line-height: 1.55;
}

/* ═════════ Actions ═════════ */

.sgxa-cta__actions {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	align-items: stretch;
	min-width: 0;
}

.sgxa-cta__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	column-gap: 12px;
	row-gap: 10px;
}

.sgxa-cta__btn,
.sgxa-cta__btns .sgxa-btn {
	padding: 13px 26px;
	font-size: 13px;
}

.sgxa-cta__note {
	margin-block-start: 9px;
	color: #7A8899;
	font-size: 11px;
	text-align: end;
}

/* ═════════ Responsive fallbacks ═════════ */

/*
 * Layout, gaps, text width, alignment, padding and every type size have
 * responsive controls, so only behaviour without a control repeats here.
 */
@media (max-width: 767px) {

	.sgxa-cta__content {
		max-width: 100%;
	}

	.sgxa-cta__actions {
		width: 100%;
	}

	.sgxa-cta__btns {
		justify-content: flex-start;
	}

	.sgxa-cta__note {
		text-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {

	.sgxa-cta .sgxa-btn,
	.sgxa-cta .sgxa-btn .sgxa-icon {
		transition: none !important;
	}
}
