/**
 * 라이프서비스 페이지 (특별한 제안). 시각 단위: px.
 * `.site-main--life-service` (+ `.site-main--page-hero`)
 * Breakpoints: base → 1023 > 767
 * 반응형은 각 섹션 본 코드 바로 아래에 배치.
 */

/* =========================================================
   Section 1
   ========================================================= */
.page-life-service__s1 {
	margin: 0 0 88px;
}

.page-life-service__grid-wrap {
	margin: 0 0 50px;
}

@media all and (max-width: 767px) {
	.page-life-service__grid-wrap {
		margin: 0 0 20px;
	}
}

/* =========================================================
   Section 2
   ========================================================= */
.page-life-service__s2 {
	margin: 0 0 199px;
}

@media all and (max-width: 767px) {
	.page-life-service__s2 {
		margin: 0 0 50px;
	}
}

/* =========================================================
   Day grid / cards
   ========================================================= */
.page-life-service__day-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.page-life-service__day-lottie-card,
.page-life-service__day-card {
	box-sizing: border-box;
}

.page-life-service__day-lottie-card {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #F1FAF8;
	border-radius: 4px;
}

.page-life-service__day-lottie {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.page-life-service__day-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-align: center;
	background: #FCF7F3;
	border-radius: 4px;
}

.page-life-service__day-figure {
	margin: 0;
	padding: 40px 0 0;
}

.page-life-service__day-img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: contain;
}

.page-life-service__day-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	margin-top: 31px;
	padding-bottom: 50px;
}

.page-life-service__day-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	font-size: 22px;
	padding: 8px 0 2px;
	margin: 0 0 20px;
	border-radius: 50%;
	background: #111111;
	color: #ffffff;
	font-weight: 500;
	font-family: var(--font-family-point);
	line-height: 1;
}

.page-life-service__day-time {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 400;
	font-family: var(--font-family-point);
	line-height: 1.25;
	color: var(--color-neutral-9);
}

.page-life-service__day-title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-neutral-9);
}

.page-life-service__day-desc {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-neutral-9);
}

@media all and (max-width: 767px) {
	.page-life-service__day-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.page-life-service__day-card {
		min-height: 0 !important;
	}

	.page-life-service__day-img {
		height: 120px;
	}

	.page-life-service__day-body {
		padding: 0 10px 30px;
	}

	.page-life-service__day-badge {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.page-life-service__day-time {
		font-size: 20px;
	}

	.page-life-service__day-title {
		font-size: 18px;
	}

	.page-life-service__day-desc {
		font-size: 14px;
	}
}

/* =========================================================
   Bottom gif / Wysiwyg
   ========================================================= */
.page-life-service__bottom-lottie {
	display: block;
	width: 100%;
	height: auto;
}

.page-life-service__wysiwyg {
	margin-top: 32px;
}
