/* ==========================================================================
   Mission & Vision widget  (.aew-mv)
   Real CSS pixels, measured on the 1920px wide About page.
   ========================================================================== */

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

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

/* faint "\" stripes: 50px apart, ~1.5px thick (measured: 70.7px apart horizontally) */
.aew-mv--stripes {
	background-image: repeating-linear-gradient(
		45deg,
		transparent 0,
		transparent calc(var(--aew-stripe-gap) - 1.5px),
		var(--aew-stripe) calc(var(--aew-stripe-gap) - 1.5px),
		var(--aew-stripe) var(--aew-stripe-gap)
	);
}

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

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

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

.aew-mv__head {
	margin-bottom: 72px;
	text-align: center;
}

.aew-mv__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0 0 26px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1.7px;
	line-height: 1.4;
	text-transform: uppercase;
}

.aew-mv__eyebrow-line {
	flex: none;
	display: block;
	width: 50px;
	height: 4px;
	background: var(--aew-accent);
}

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

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

.aew-mv__title-text {
	color: #1a1a1a;
}

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

/* ---- Cards ---- */

.aew-mv__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.aew-mv__item {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.aew-mv__card {
	flex: 1 1 auto;
	min-width: 0;
	padding: 40px;
	border: 1px solid #e5e5e5;
	border-top: 5px solid var(--aew-accent);
	background-color: #fff;
}

.aew-mv__icon {
	--aew-icon-box: 70px;

	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--aew-icon-box);
	height: var(--aew-icon-box);
	margin-bottom: 30px;
	border: 1px solid #e5e5e5;
	background-color: #f9f9f9;
	font-size: 30px;
	line-height: 1;
	color: var(--aew-accent);
}

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

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

/* h3 and p carry the kit's global styles, so reset what matters */
.aew-mv .aew-mv__card-title {
	margin: 0 0 20px;
	padding: 0;
	font-family: inherit;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.3;
	text-transform: none;
	color: #1a1a1a;
}

.aew-mv .aew-mv__card-text {
	margin: 0;
	font-size: 17.5px;
	line-height: 1.63;
	color: #666;
}

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

@media (max-width: 1024px) {
	.aew-mv .aew-mv__title {
		font-size: 44px;
	}

	.aew-mv__head {
		margin-bottom: 56px;
	}

	.aew-mv .aew-mv__card-title {
		font-size: 28px;
	}

	.aew-mv .aew-mv__card-text {
		font-size: 16px;
	}

	.aew-mv__card {
		padding: 32px 28px;
	}
}

@media (max-width: 767px) {
	.aew-mv__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.aew-mv .aew-mv__title {
		font-size: 32px;
	}

	.aew-mv__head {
		margin-bottom: 40px;
	}

	.aew-mv__eyebrow {
		font-size: 14px;
	}

	.aew-mv__eyebrow-line {
		width: 32px;
	}

	.aew-mv .aew-mv__card-title {
		font-size: 24px;
	}

	.aew-mv .aew-mv__card-text {
		font-size: 15px;
	}

	.aew-mv__card {
		padding: 28px 22px;
	}

	.aew-mv__icon {
		--aew-icon-box: 56px;

		margin-bottom: 22px;
		font-size: 24px;
	}
}
