/* Prism Featured Services — alternating image / content rows */
.prism-feat {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background-color: #3C1430;
}

/* ---- Row ---- */
.prism-feat__row {
	display: flex;
	align-items: stretch;
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	overflow: hidden;
}

/* Alternate the image side on every other row. */
.prism-feat--alt .prism-feat__row:nth-child(even) {
	flex-direction: row-reverse;
}

/* If the first row should start with the image on the right, invert the pattern. */
.prism-feat--image-right-first .prism-feat__row:nth-child(odd) {
	flex-direction: row-reverse;
}

.prism-feat--image-right-first.prism-feat--alt .prism-feat__row:nth-child(even) {
	flex-direction: row;
}

/* ---- Media ---- */
.prism-feat__media {
	flex: 0 0 45%;
	max-width: 45%;
	min-height: 240px;
	position: relative;
}

.prism-feat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ---- Content ---- */
.prism-feat__content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px 36px;
	min-width: 0;
}

.prism-feat__eyebrow {
	margin: 0 0 12px;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.prism-feat__title {
	margin: 0 0 14px;
	color: #FFFFFF;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.prism-feat__title a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.prism-feat__title a:hover {
	opacity: 0.8;
}

.prism-feat__desc {
	margin: 0;
	color: #B9A7B6;
	font-size: 15px;
	line-height: 1.6;
}

/* ---- Feature chips ---- */
.prism-feat__features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 24px;
}

.prism-feat__feature {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.prism-feat__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.06);
}

.prism-feat__i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.prism-feat__feature-icon .prism-feat__i {
	font-size: 15px;
	color: #FFFFFF;
}

.prism-feat__feature-icon .prism-feat__i svg {
	width: 15px;
	height: 15px;
	fill: #FFFFFF;
}

.prism-feat__feature-label {
	color: #E7DCE6;
	font-size: 13px;
	line-height: 1.3;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.prism-feat__row,
	.prism-feat--alt .prism-feat__row:nth-child(even),
	.prism-feat--image-right-first .prism-feat__row:nth-child(odd),
	.prism-feat--image-right-first.prism-feat--alt .prism-feat__row:nth-child(even) {
		flex-direction: column;
	}
	.prism-feat__media {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
		min-height: 220px;
	}
	.prism-feat__features {
		grid-template-columns: repeat(2, 1fr);
	}
	.prism-feat__title {
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.prism-feat__features {
		grid-template-columns: 1fr;
	}
}
