/* ==========================================================================
   Process widget  (.aew-process)
   ========================================================================== */

.aew-process {
	--aew-accent: var(--aew-red);   /* control: Brand colour */
	--aew-gutter: 24px;             /* control: Side gap */
	--aew-stripe: #f6f6f6;          /* control: Stripe colour */

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

/* faint "/" stripes, ~36px apart horizontally and ~3px thick (measured from the design) */
.aew-process--stripes {
	background-image: repeating-linear-gradient(
		135deg,
		transparent 0,
		transparent 22.5px,
		var(--aew-stripe) 22.5px,
		var(--aew-stripe) 25.5px
	);
}

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

.aew-process__inner {
	width: calc(100% - (var(--aew-gutter) * 2));
	max-width: 1076px;
	margin-inline: auto;
}

/* ---- Heading ---- */

.aew-process__head {
	margin-bottom: 57px;
	text-align: center;
}

.aew-process__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 19px;
	font-size: 11.2px;
	font-weight: 700;
	letter-spacing: 1.2px;
	line-height: 1.4;
	text-transform: uppercase;
}

.aew-process__eyebrow-line {
	flex: none;
	display: block;
	width: 35px;
	height: 2px;
	background: var(--aew-accent);
}

.aew-process__eyebrow-text {
	color: var(--aew-accent);
}

/* extra class so the Elementor kit's global h1–h6 styles don't win */
.aew-process .aew-process__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 41.8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
}

.aew-process__title-text {
	color: #111;
}

.aew-process__title-accent {
	color: var(--aew-accent);
}

/* ---- Steps ---- */

.aew-process__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	column-gap: 22px;
	row-gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-process__step {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.aew-process__box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border: 1px solid #efefef;
	background-color: #fff;
	font-size: 20px;
	line-height: 1;
	color: var(--aew-accent);
}

.aew-process__icon {
	display: inline-flex;
}

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

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

.aew-process__badge {
	--aew-badge: 28px;
	--aew-badge-out: 10px;

	position: absolute;
	top: calc(var(--aew-badge-out) * -1);
	right: calc(var(--aew-badge-out) * -1);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--aew-badge);
	height: var(--aew-badge);
	padding-inline: 4px;
	background-color: var(--aew-accent);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

/* h3 and p carry the kit's global styles, so reset what matters */
.aew-process .aew-process__step-title {
	margin: 20px 0 0;
	padding: 0;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	line-height: 1.45;
	text-transform: uppercase;
	color: #111;
}

.aew-process .aew-process__step-text {
	margin: 8px 0 0;
	font-size: 10.5px;
	line-height: 1.62;
	color: #717479;
}

/* ---- Responsive (columns are also a control; these are the defaults) ---- */

@media (max-width: 1024px) {
	.aew-process__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.aew-process__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
