/* ==========================================================================
   Service Showcase widget  (.aew-show) — zig-zag service rows
   ========================================================================== */

.aew-show {
	--aew-accent: var(--aew-red);

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

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

.aew-show__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 440px;
}

.aew-show__row--flip .aew-show__media {
	order: 2;
}

.aew-show__media {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background-color: #1c1c1e;
}

.aew-show__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.aew-show__row:hover .aew-show__media img {
	transform: scale(1.03);
}

.aew-show__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: repeating-linear-gradient(45deg, #f1f1f2, #f1f1f2 12px, #e8e8ea 12px, #e8e8ea 24px);
	color: #8a8f9a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.aew-show__text {
	display: flex;
	align-items: center;
	padding: 56px 64px;
	background-color: #fff;
}

.aew-show__copy {
	width: 100%;
	max-width: 560px;
}

.aew-show__row:not(.aew-show__row--flip) .aew-show__copy {
	margin-right: auto;
}

.aew-show__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.aew-show__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #e8e8e8;
	background: #f9f9f9;
	color: var(--aew-accent);
}

.aew-show__icon svg {
	width: 19px;
	height: 19px;
}

.aew-show__tag {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.3px;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--aew-accent);
}

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

.aew-show .aew-show__desc {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.75;
	color: #5b6170;
}

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

.aew-show__list li {
	position: relative;
	margin: 0;
	padding-left: 18px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #4b5160;
}

.aew-show__list li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 6px;
	height: 6px;
	background: var(--aew-accent);
}

.aew-show__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.aew-show .aew-show__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 13px 26px;
	border: 1.5px solid var(--aew-accent);
	border-radius: 0;
	background-color: var(--aew-accent);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.9px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aew-show .aew-show__btn:hover,
.aew-show .aew-show__btn:focus-visible {
	border-color: #a50d26;
	background-color: #a50d26;
	color: #fff;
}

.aew-show .aew-show__btn--outline {
	background-color: transparent;
	color: #111;
	border-color: #111;
}

.aew-show .aew-show__btn--outline:hover,
.aew-show .aew-show__btn--outline:focus-visible {
	border-color: #111;
	background-color: #111;
	color: #fff;
}

.aew-show__btn svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 1024px) {
	.aew-show__text {
		padding: 40px 36px;
	}

	.aew-show .aew-show__title {
		font-size: 26px;
	}
}

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

	/* photo always first on phones */
	.aew-show__row--flip .aew-show__media {
		order: 0;
	}

	.aew-show__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.aew-show__text {
		padding: 32px 22px 38px;
	}

	.aew-show__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.aew-show .aew-show__btn {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aew-show__media img,
	.aew-show .aew-show__btn {
		transition: none;
	}

	.aew-show__row:hover .aew-show__media img {
		transform: none;
	}
}
