/**
 * Left Content Right Image Cutted Block Styles
 * Loaded automatically when the left-content-right-image-cutted block is present on the page.
 *
 * Variante de lcri con corte diagonal en la parte INFERIOR de la sección.
 * El siguiente bloque debe tener position: relative y z-index para cubrir el espacio del corte.
 */

/* ==========================================================================
   SECTION
   ========================================================================== */

.lcri-cutted {
	background: radial-gradient(ellipse at 30% 50%, #b52020 0%, #7a1515 55%, #5c1010 100%);
	position: relative;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 0 100%);
}

/* Full-width flex row — NO container, so right image bleeds to edge */
.lcri-cutted__inner {
	display: flex;
	align-items: stretch;
	min-height: 629px;
}

/* ==========================================================================
   LEFT — content column
   ========================================================================== */

.lcri-cutted__content {
	flex: 1;
	display: flex;
	align-items: center;
	padding: 80px 64px 80px max(48px, calc((100vw - 1200px) / 2 + 16px));
}

.lcri-cutted__content-wrap {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 520px;
}

/* ---------- Title ---------- */

.lcri-cutted__title {
	font-family: var(--font-base);
	font-size: 42px;
	font-weight: 900;
	line-height: 1.045;
	color: var(--color-white);
	margin: 0;
}

/* ---------- Body (WYSIWYG) ---------- */

.lcri-cutted__body {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--color-white);
}

.lcri-cutted__body p {
	margin: 0;
	color: var(--color-white);
}

.lcri-cutted__body p + p {
	margin-top: 12px;
}

.lcri-cutted__body ul {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lcri-cutted__body ul li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--color-white);
}

.lcri-cutted__body ul li::before {
	content: '';
	display: inline-block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.lcri-cutted__body a {
	color: var(--color-white);
	text-decoration: underline;
}

/* ---------- CTA — white button, red text ---------- */

.lcri-cutted__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 49px;
	padding: 0 40px;
	border-radius: 4px;
	background: var(--color-white);
	color: var(--color-red) !important;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 900;
	text-decoration: none !important;
	white-space: nowrap;
	align-self: flex-start;
	transition: opacity 0.2s ease;
}

.lcri-cutted__cta:hover {
	opacity: 0.88;
}

/* ==========================================================================
   RIGHT — image flush to edge
   ========================================================================== */

.lcri-cutted__image-wrap {
	flex-shrink: 0;
	width: 51%;
	position: relative;
}

.lcri-cutted__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	inset: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
	.lcri-cutted__title {
		font-size: 36px;
	}

	.lcri-cutted__content {
		padding: 80px 48px 80px max(32px, calc((100vw - 1200px) / 2 + 16px));
	}
}

@media (max-width: 991px) {
	.lcri-cutted {
		clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
		padding-bottom: 80px;
		margin-bottom: -80px;
	}

	.lcri-cutted__inner {
		flex-direction: column;
		min-height: auto;
	}

	.lcri-cutted__content {
		padding: 60px 24px 48px;
	}

	.lcri-cutted__content-wrap {
		max-width: 100%;
	}

	.lcri-cutted__image-wrap {
		width: 100%;
		height: 360px;
		position: relative;
	}

	.lcri-cutted__image {
		position: absolute;
	}
}

@media (max-width: 767px) {
	.lcri-cutted {
		clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
		padding-bottom: 60px;
		margin-bottom: -60px;
	}

	.lcri-cutted__title {
		font-size: 30px;
	}

	.lcri-cutted__content {
		padding: 48px 20px 40px;
	}

	.lcri-cutted__image-wrap {
		height: 260px;
	}
}
