/* Legal Nurse Core — Child Pages */

.lnc-childpages {
	font-family: "Wix Madefor Text", "Wix Madefor Display", sans-serif;
}

/* List layout (text left, image right, stacked rows) */
.lnc-childpages--list {
	display: flex;
	flex-direction: column;
}

/* The inner container holds the image + body row, its divider and spacing. */
.lnc-childpage__inner {
	display: flex;
	flex-direction: row-reverse;
	align-items: stretch;
	gap: 32px;
	margin-bottom: 32px;
	padding-left: 24px;
	border-left: 2.2px solid #77D1CE;
}

.lnc-childpages--list .lnc-childpage:first-child .lnc-childpage__inner {
	padding-top: 0;
}

.lnc-childpages--list .lnc-childpage__image {
	flex: 0 0 220px;
	max-width: 220px;
	margin-bottom: 0;
}

.lnc-childpages--list .lnc-childpage__body {
	flex: 1 1 auto;
	min-width: 0;
}

.lnc-childpage__body {
	display: flex;
	flex-direction: column;
}

.lnc-childpage__image {
	display: block;
	margin-bottom: 0 !important;
	line-height: 0;
}

.lnc-childpage__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 24px;
}

.lnc-childpage__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
}

.lnc-childpage__title a {
	text-decoration: none;
	color: inherit;
}

.lnc-childpage__title a:hover {
	text-decoration: underline;
}

.lnc-childpage__text {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #4a4a4a;
	flex: 1 1 auto;
}

/* Tablet and up: keep the text a comfortable measure. */
@media (min-width: 768px) {
	.lnc-childpage__text {
		max-width: 800px;
	}
}

.lnc-childpage__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
	color: #25797c;
}

.lnc-childpage__more-label {
	text-decoration: none;
}

.lnc-childpage__more:hover .lnc-childpage__more-label {
	text-decoration: underline;
}

.lnc-childpage__more-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.lnc-childpage__more-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

@media (max-width: 767px) {
	/* Stack the row on mobile: image on top, text below.
	   !important overrides the Elementor Image Width control, whose
	   wrapper-scoped rule otherwise keeps the fixed desktop width. */
	.lnc-childpage__inner {
		flex-direction: column-reverse !important;
		align-items: stretch;
		gap: 16px;
	}

	.lnc-childpages--list .lnc-childpage__image {
		flex: 0 0 auto !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.lnc-childpage__image img {
		height: auto;
	}
}
