/* ==========================================================================
   CTA Bar widget  (.aew-cta)
   ========================================================================== */

.aew-cta {
	--aew-accent: #c80f2e;          /* control: Bar colour */
	--aew-gutter: 24px;             /* control: Side gap */

	box-sizing: border-box;
	background-color: var(--aew-accent);
	color: #fff;
	font-family: var(--aew-font);
	-webkit-font-smoothing: antialiased;
}

.aew-cta *,
.aew-cta *::before,
.aew-cta *::after {
	box-sizing: border-box;
}

.aew-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 32px;
	width: calc(100% - (var(--aew-gutter) * 2));
	max-width: 1120px;
	margin-inline: auto;
}

.aew-cta__copy {
	min-width: 0;
}

/* extra class so the Elementor kit's global h1–h6 styles don't win */
.aew-cta .aew-cta__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
}

.aew-cta .aew-cta__text {
	margin: 3px 0 0;
	font-size: 12.25px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.88);
}

.aew-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
}

.aew-cta .aew-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 18px;
	border: 1.5px solid #fff;
	border-radius: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.8px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* solid white button, red text */
.aew-cta .aew-cta__btn--1 {
	background-color: #fff;
	color: var(--aew-accent);
}

.aew-cta .aew-cta__btn--1:hover,
.aew-cta .aew-cta__btn--1:focus-visible {
	background-color: #f2f2f2;
	color: var(--aew-accent);
}

/* outlined button, white text */
.aew-cta .aew-cta__btn--2 {
	background-color: transparent;
	color: #fff;
}

.aew-cta .aew-cta__btn--2:hover,
.aew-cta .aew-cta__btn--2:focus-visible {
	background-color: #fff;
	color: var(--aew-accent);
}

span.aew-cta__btn {
	cursor: default;
}

.aew-cta .aew-cta__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.aew-cta__btn-icon {
	display: inline-flex;
	font-size: 12px;
	line-height: 1;
}

.aew-cta__btn-icon svg,
.aew-cta__btn-icon i {
	width: 1em;
	height: 1em;
	color: inherit;
}

.aew-cta__btn-icon svg:not([stroke]) {
	fill: currentColor;
}

/* ---- Responsive: text on top, buttons below, sharing the row ---- */

@media (max-width: 767px) {
	.aew-cta__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.aew-cta__actions {
		justify-content: center;
	}

	.aew-cta .aew-cta__title {
		font-size: 16px;
	}

	.aew-cta .aew-cta__btn {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aew-cta .aew-cta__btn {
		transition: none;
	}
}
