/*
 * Bloque: Imagen + Texto 2 (cimentia/image-texto-2)
 * HTML semántico BEM + tokens del tema (--cmt-*).
 */

.cmt-image-texto-2 {
	width: 100%;
	max-width: calc(var(--cmt-container-max) + var(--cmt-container-pad) * 2);
	margin-inline: auto;
	box-sizing: border-box;
	display: flex;
	align-items: flex-end;
	gap: var(--cmt-space-xl);
	padding: var(--cmt-space-lg) var(--cmt-container-pad) var(--cmt-space-xl);
}

.cmt-image-texto-2__text {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--cmt-space-md);
}

.cmt-image-texto-2__title {
	margin: 0;
	max-width: 360px;
	font-family: var(--cmt-font-base);
	font-weight: var(--cmt-fw-light);
	font-size: var(--cmt-fs-h2);
	line-height: 1.2;
	color: var(--cmt-color-text);
}

.cmt-image-texto-2__body {
	margin: 0;
	max-width: 480px;
	font-family: var(--cmt-font-base);
	font-weight: var(--cmt-fw-light);
	font-size: var(--cmt-fs-body);
	line-height: 1.5;
	color: var(--cmt-color-text);
}

.cmt-image-texto-2__body strong {
	font-weight: var(--cmt-fw-medium);
}

.cmt-image-texto-2__media {
	width: 100%;
	max-width: 544px;
	flex-shrink: 0;
	aspect-ratio: 544 / 310;
	object-fit: contain;
	object-position: center;
	display: block;
	border-radius: var(--cmt-radius-md);
}

@media (max-width: 1024px) {
	.cmt-image-texto-2 {
		gap: var(--cmt-space-lg);
	}

	.cmt-image-texto-2__media {
		width: 45%;
	}
}

@media (max-width: 992px) {
	.cmt-image-texto-2 {
		flex-direction: column;
		align-items: stretch;
	}

	.cmt-image-texto-2__title,
	.cmt-image-texto-2__body {
		max-width: 100%;
	}

	.cmt-image-texto-2__media {
		width: 100%;
		max-width: unset;
	}
}
