/* Module: Text Media — no approved slice section for this one; built from a
   controls spec (Layout/Image/Heading/Content/CTA), not a design mockup. */
.text-media {
	border-radius: 32px 32px 0 0;
}

.text-media .skin-inner {
	padding-top: 100px;
	padding-bottom: 100px;
}

.text-media__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;	
	align-items: center;
}

.text-media__text {
	order: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;	
	padding: 0 var(--gap-xl);
}
.text-media__text h3 {
	font-size: 24px;
	margin: 20px 0;
}
.text-media__text .skin-btn {
	margin-top: 1em;
}

.text-media__image-wrap {
	order: 2;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 32px;
}

.skin-inner .text-media__image-wrap {
	border-radius: 32px;
}

.skin-inner.text-media__grid {
	gap: 80px;
}

.skin-inner .text-media__text {
	padding: 0;
}

.text-media__image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Reverse Orientation — swaps which side the image sits on. */
.text-media--reverse .text-media__text { order: 2; }
.text-media--reverse .text-media__image-wrap { order: 1; }

.text-media__desc p { margin: 1em 0; }

.text-media--theme-light { background: var(--skin-white); color: var(--skin-dark); }
.text-media--theme-dark { background: var(--skin-dark-60); color: var(--skin-white); }
.text-media--theme-teal { background: var(--skin-teal); color: var(--skin-white); }
.text-media--theme-dark h1, .text-media--theme-teal h1,
.text-media--theme-dark h2, .text-media--theme-teal h2,
.text-media--theme-dark h3, .text-media--theme-teal h3,
.text-media--theme-dark h4, .text-media--theme-teal h4 { color: var(--skin-white); }
@media (max-width: 1280px) {
	.text-media__text {
		max-width: initial;
	}
	
	.text-media .skin-inner {
		padding-top: 60px;
		padding-bottom: 60px;
	}

}	

@media (max-width: 991.98px) {
	.text-media { 
	}
	.text-media .skin-inner {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.text-media__grid { grid-template-columns: 1fr; gap: 32px; }
	
}
