/**
 * Left Content Right Image Block Styles
 * Loaded automatically when the left-content-right-image block is present on the page.
 */

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

.lcri {
	background: var(--Linear, linear-gradient(180deg, #D30000 -15.5%, #6D0000 100%));
	overflow: hidden;
	position: relative;
	z-index: 1;
	min-height: 642px;
	/* Corte diagonal inferior — espejo del corte superior de service-areas */
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--section-diagonal-cut)), 0 100%);
	margin-bottom: calc(-1 * var(--section-diagonal-cut));
}

body.page-id-79 .lcri {
	background: black;
}

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

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

.lcri__content {
	flex: 1;
	display: flex;
	align-items: center;
	/* Left padding mirrors container offset (~65px in Figma at 1280px) */
	padding: 80px 64px 80px max(48px, calc((100vw - 1200px) / 2 + 16px));
}

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

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

.lcri__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__body {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	color: var(--color-white);
}

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

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

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

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

.lcri__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__body a {
	color: var(--color-white);
	text-decoration: underline;
}

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

.lcri__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 39px;
	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__cta:hover {
	opacity: 0.88;
}

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

.lcri__image-wrap {
	flex-shrink: 0;
	width: 53%;
	position: relative;
	overflow: hidden;
	align-self: stretch;
	/* Extiende la imagen hasta el corte diagonal y el overlap con service-areas */
	margin-bottom: calc(-1 * var(--section-diagonal-cut));
}

.lcri__image {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + var(--section-diagonal-cut));
	object-fit: cover;
	object-position: center center;
}

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

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

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

@media (max-width: 991px) {
	.lcri {
		min-height: auto;
	}

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

	.lcri__content {
		padding: 60px 24px;
	}

	.lcri__content-wrap {
		max-width: 100%;
	}

	.lcri__image-wrap {
		width: 100%;
		height: 360px;
		position: relative;
		margin-bottom: calc(-1 * var(--section-diagonal-cut));
	}

	.lcri__image {
		position: absolute;
		height: calc(100% + var(--section-diagonal-cut));
	}
}

@media (max-width: 767px) {
	.lcri__title {
		font-size: 30px;
	}

	.lcri__content {
		padding: 48px 20px;
	}

	.lcri__image-wrap {
		height: 260px;
	}
}


/* Center content within the red area */
.lcri__content {
	justify-content: center;
	align-items: flex-start;
}
.lcri__content-wrap {
	align-items: center;
	text-align: center;
}
.lcri__cta {
	align-self: center;
}


/* Tighten section height to reduce head room */
@media (min-width: 992px) {
	.lcri,
	.lcri__inner {
		min-height: 620px;
	}
}
