/* Widget: Glass Media + Text */
.sb-mt {
	--sb-mt-media: 50%;
	display: flex;
	align-items: stretch;
	gap: 4em;
}

.sb-mt--reverse {
	flex-direction: row-reverse;
}

.sb-mt__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
	justify-content: center;
}

.sb-mt__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 24px);
	font-weight: 700;
	line-height: 32px;
	color: #fff;
}

.sb-mt__text {
	color: rgba(255, 255, 255, 0.92);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
}

.sb-mt__features {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 0.5rem;
}

/* Feature-Box: eigenes Layout, unabhängig von anderen Widget-CSS-Dateien.
   (Glas-Optik kommt aus design-system .glass-box) */
.sb-mt__feature .elementor-image-box-wrapper {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 16px 18px;
}

.sb-mt__feature .elementor-image-box-img {
	flex: 0 0 56px !important;
	width: 56px !important;
	max-width: 56px !important;
	margin: 0 20px 0 0 !important;
}

.sb-mt__feature .elementor-image-box-img img {
	width: 100% !important;
	height: auto !important;
	display: block;
}

.sb-mt__feature .elementor-image-box-content {
	flex: 1 1 auto;
}

.sb-mt__feature .elementor-image-box-title {
	margin: 0 0 4px;
	font-size: 20px;
	line-height: 26px;
}

.sb-mt__feature .elementor-image-box-description {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

/* --- Bildspalte mit Glasrahmen (analog .glass-img) --- */
.sb-mt__media {
	flex: 0 0 var(--sb-mt-media);
	max-width: var(--sb-mt-media);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: var(--radius, 20px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06),
		0 20px 60px rgba(0, 0, 0, 0.55),
		0 0 40px rgba(255, 0, 170, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 -1px 0 rgba(0, 0, 0, 0.20);
	transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.sb-mt__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), filter 0.35s ease;
}

.sb-mt__media:hover {
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.10),
		0 28px 80px rgba(0, 0, 0, 0.65),
		0 0 55px rgba(255, 0, 170, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.30),
		inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.sb-mt__media:hover img {
	transform: scale(1.04);
	filter: brightness(1.08) saturate(1.1);
}

@media (max-width: 767px) {
	.sb-mt,
	.sb-mt--reverse {
		flex-direction: column;
	}

	.sb-mt__media {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
		height: 360px !important;
	}
}
