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

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

.lirc {
	background: rgba(211, 0, 0, 0.02);
	padding: 80px 0;
}

.lirc--white-bg {
	background: var(--color-white);
}

.lirc__inner {
	display: flex;
	align-items: center;
	gap: 64px;
}

/* ==========================================================================
   LEFT — image
   ========================================================================== */

.lirc__image-wrap {
	flex-shrink: 0;
	width: 576px;
	height: 500px;
	border-radius: 14px;
	overflow: hidden;
	position: relative;
}

.lirc__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

/* ==========================================================================
   RIGHT — content
   ========================================================================== */

.lirc__content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

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

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

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

.lirc__body {
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-black);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lirc__body p {
	margin: 0;
	color: var(--color-black);
}

/* Checklist items — ul rendered from WYSIWYG, styled with check-circle icon */
.lirc__body ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 40px;
}

@media (max-width: 600px) {
	.lirc__body ul {
		grid-template-columns: 1fr;
	}
}

.lirc__body ul li {
	position: relative;
	padding-left: 28px;
	font-weight: 300;
	color: var(--color-black);
	line-height: 1.5;
}

/* Sub-description below the main li text */
.lirc__body ul li small {
	display: block;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: var(--color-black);
	opacity: 0.7;
	margin-top: 3px;
}

/* Check-circle icon via inline SVG as background */
.lirc__body ul li::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 4px;
	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='%23D30000' 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;
}

/* Standard ordered list */
.lirc__body ol {
	margin: 0;
	padding: 0 0 0 20px;
}

.lirc__body ol li {
	margin-bottom: 8px;
}

.lirc__body a {
	color: var(--color-red);
	text-decoration: underline;
}

/* ---------- CTA ---------- */

.lirc__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 39px;
	padding: 0 40px;
	border-radius: 4px;
	background: var(--color-red);
	color: var(--color-white) !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;
}

.lirc__cta:hover {
	opacity: 0.88;
}

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

@media (max-width: 1199px) {
	.lirc__image-wrap {
		width: 460px;
		height: 420px;
	}

	.lirc__title {
		font-size: 36px;
	}

	.lirc__inner {
		gap: 48px;
	}
}

@media (max-width: 991px) {
	.lirc__inner {
		flex-direction: column;
		gap: 40px;
	}

	.lirc__image-wrap {
		width: 100%;
		height: 380px;
	}
}

@media (max-width: 767px) {
	.lirc {
		padding: 48px 0;
	}

	.lirc__title {
		font-size: 30px;
	}

	.lirc__image-wrap {
		height: 280px;
	}
}
