/* ── Featured Services Widget ── */

.ln-featured-services {
	background-color: #FAF7F2;
	font-family: "Plus Jakarta Sans", sans-serif;
}

.ln-featured-services__inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 35px 56px;
}

/* ── Section Header ── */

.ln-featured-services__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.ln-featured-services__header-left {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ln-featured-services__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.ln-featured-services__eyebrow-line {
	/* Same spec as hero section eyebrow line */
	flex: 0 0 24px;
	height: 1px;
	background-color: #205247 !important;
	opacity: 0.9;
	display: block;
}

.ln-featured-services__eyebrow-text {
	/* Same spec as hero section eyebrow */
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #205247 !important;
	white-space: nowrap;
}

.ln-featured-services__heading {
	/* Same font family + weight as hero section heading */
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #2C2420;
}

.ln-featured-services__view-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding-bottom: 4px;
	/* Same as body UI font */
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #B67A3C;
	text-decoration: none;
	border-bottom: 1px solid rgba(182, 122, 60, 0.35);
	transition: border-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.ln-featured-services__view-all:hover {
	color: #8F5C28;
	border-color: #8F5C28;
}

/* ── Cards Grid ── */

.ln-featured-services__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

/* ── Single Card ── */

.ln-featured-services__card {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border-radius: 12px;
	overflow: visible; /* required: lets icon badge hang over the image bottom */
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 2px 12px rgba(44, 36, 32, 0.06);
}

.ln-featured-services__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(44, 36, 32, 0.1);
}

/* ── Card Image ── */

/* Outer wrapper: fixed height, visible overflow so badge isn't clipped */
.ln-featured-services__card-image-wrap {
	position: relative;
	flex-shrink: 0;
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}

/* Inner link: clips the image to rounded top corners */
.ln-featured-services__card-image-inner {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	text-decoration: none;
}

.ln-featured-services__card-image {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.4s ease;
}

.ln-featured-services__card:hover .ln-featured-services__card-image {
	transform: scale(1.04);
}

.ln-featured-services__card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #508a7ea6 0%, #474d4d9c 100%);
}

/* ── Icon Badge ── */
/*
 * Sits at the bottom of the image wrap, half overlapping the card body below.
 * badge height = 40px → bottom: -20px means 20px above image bottom, 20px into body.
 * Card body gets padding-top: 30px to clear it (20px overlap + 10px gap).
 */
.ln-featured-services__card-icon {
	position: absolute;
	bottom: -20px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background-color: #FAF7F2;
	color: #B67A3C;
	font-size: 17px;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(44, 36, 32, 0.12);
	z-index: 2;
}

.ln-featured-services__card-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ── Card Body ── */

.ln-featured-services__card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	/* padding-top clears the 20px icon overlap + 10px breathing room */
	padding: 30px 16px 18px;
}

.ln-featured-services__card-title {
	/* UI label — Plus Jakarta Sans Bold, same weight as hero button text */
	margin: 0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #205247 !important;
	letter-spacing: 0;
}

.ln-featured-services__card-title a {
	color: inherit;
	text-decoration: none;
}

.ln-featured-services__card-title a:hover {
	color: #205247 !important;
}

.ln-featured-services__card-desc {
	/* Body text — Plus Jakarta Sans Regular, same as hero description role */
	margin: 0;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	color: #9A948E;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: 0;
}

.ln-featured-services__explore {
	/* Same role as hero button text — Plus Jakarta Sans SemiBold */
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	padding-top: 10px;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	color: #B67A3C;
	text-decoration: none;
	transition: color 0.2s ease, gap 0.2s ease;
}

.ln-featured-services__explore:hover {
	color: #8F5C28;
	gap: 8px;
}

/* ── Responsive ── */

/* ── 1280px ── */
@media (max-width: 1280px) {
	.ln-featured-services__inner {
		padding: 56px 40px;
	}

	.ln-featured-services__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}
}

/* ── 1024px: 3 columns, reduce heading ── */
@media (max-width: 1024px) {
	.ln-featured-services__inner {
		padding: 48px 32px;
	}

	.ln-featured-services__heading {
		font-size: 34px;
	}
}

/* ── 768px: 2 columns, stack header ── */
@media (max-width: 768px) {
	.ln-featured-services__inner {
		padding: 40px 20px;
	}

	.ln-featured-services__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 28px;
	}

	.ln-featured-services__heading {
		font-size: 30px;
	}

	.ln-featured-services__view-all {
		font-size: 13px;
	}

	.ln-featured-services__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	/* Slightly shorter image on tablet */
	.ln-featured-services__card-image-wrap {
		height: 180px;
		min-height: 180px;
		max-height: 180px;
	}
}

/* ── 480px: 2 columns still, small phones ── */
@media (max-width: 480px) {
	.ln-featured-services__inner {
		padding: 32px 16px;
	}

	.ln-featured-services__heading {
		font-size: 26px;
	}

	.ln-featured-services__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.ln-featured-services__card-image-wrap {
		height: 150px;
		min-height: 150px;
		max-height: 150px;
	}

	.ln-featured-services__card-body {
		padding: 26px 10px 14px;
		gap: 4px;
	}

	.ln-featured-services__card-title {
		font-size: 13px;
	}

	.ln-featured-services__card-desc {
		font-size: 11px;
	}

	.ln-featured-services__explore {
		font-size: 11px;
	}
}

/* ── 360px: single column on very small screens ── */
@media (max-width: 360px) {
	.ln-featured-services__grid {
		grid-template-columns: 1fr;
	}
}
