/*
 * LifeBom 테마 메인 스타일시트
 * 토큰 출처: ex/README.md 디자인 핸드오프 문서(최종 확정값)를 기준으로 재구현.
 * Pretendard Variable(CDN)은 이 프로젝트의 "외부 CDN 미사용" 원칙에 따라
 * 시스템 한글 폰트 스택으로 대체했다(폰트 자체 외 색상·타이포·간격·반응형 값은 원안 그대로).
 * 2026-08-05: 시스템 폰트 대신 나눔스퀘어 네오(자체 호스팅 woff2, assets/fonts)를 기본 서체로 적용.
 */

@import url("./article.css");

/* -----------------------------------------------------------------------
 * -1. 웹폰트 — 나눔스퀘어 네오(자체 호스팅, CDN 미사용). Regular/Bold/ExtraBold 3종만 로드.
 * --------------------------------------------------------------------- */
@font-face {
	font-family: 'NanumSquareNeo';
	src: url('../fonts/NanumSquareNeo-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NanumSquareNeo';
	src: url('../fonts/NanumSquareNeo-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NanumSquareNeo';
	src: url('../fonts/NanumSquareNeo-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* -----------------------------------------------------------------------
 * 0. 디자인 토큰(CSS 커스텀 프로퍼티)
 * --------------------------------------------------------------------- */
:root {
	--lb-cream: #fff8e9;
	--lb-white: #ffffff;
	--lb-footer-cream: #faf6f0;

	--lb-green: #2fc66d;
	--lb-green-text: #1e9e5b;
	--lb-green-text-hover: #17824a;
	--lb-green-deep: #146b3d;
	--lb-green-tint: #eaf6ee;
	--lb-mint: #67c99e;

	--lb-orange-accent: #ff762d;
	--lb-sky: #1ab6e5;
	--lb-yellow: #ffc934;
	--lb-coral: #f05b78;

	--lb-ink-90: #111111;
	--lb-text-secondary: #4a443e;
	--lb-text-tertiary: #6b6560;
	--lb-text-faint: #9a9188;

	--lb-line: #ede6dc;
	--lb-line-2: #f0ece3;
	--lb-line-3: #f3eee6;
	--lb-search-bg: #f7f3ec;

	/* 카테고리별 색상 — 아이콘은 원안의 선명한 색을, 텍스트는 흰 배경에서 4.5:1 이상 대비를 만족하는 어두운 변형을 사용한다 */
	--lb-cat-retirement-icon: #ff762d;
	--lb-cat-retirement-text: #a8551f;
	--lb-cat-pension-icon: #1ab6e5;
	--lb-cat-pension-text: #0e7a9c;
	--lb-cat-health-icon: #2fc66d;
	--lb-cat-health-text: #17824a;
	--lb-cat-caregiving-icon: #67c99e;
	--lb-cat-caregiving-text: #2f7a5b;
	--lb-cat-insurance-icon: #b87a2e;
	--lb-cat-insurance-text: #8c5c22;
	--lb-cat-assets-icon: #3d6e8c;
	--lb-cat-assets-text: #3d6e8c;
	--lb-cat-daily-icon: #f05b78;
	--lb-cat-daily-text: #b23a56;

	--lb-beige-10: #f3efe9;
	--lb-beige-20: #e6e0d6;
	--lb-gray-40: #a9a399;
	--lb-gray-60: #6b655c;

	--lb-font-family: 'NanumSquareNeo', system-ui, -apple-system, BlinkMacSystemFont, 'Malgun Gothic',
		'Apple SD Gothic Neo', 'Segoe UI', 'Noto Sans KR', sans-serif;
	--lb-font-family-system: system-ui, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', 'Apple SD Gothic Neo',
		'Segoe UI', 'Noto Sans KR', sans-serif;

	--lb-space-xs: 4px;
	--lb-space-sm: 8px;
	--lb-space-md: 12px;
	--lb-space-lg: 16px;
	--lb-space-xl: 24px;
	--lb-space-xxl: 32px;
	--lb-space-section: 80px;

	--lb-radius-sm: 8px;
	--lb-radius-md: 10px;
	--lb-radius-lg: 12px;
	--lb-radius-xl: 20px;
	--lb-radius-pill: 9999px;

	--lb-shadow-card: 0 8px 28px rgba(0, 0, 0, 0.06);

	--lb-tap-min: 44px;
	--lb-max-width: 760px;
	--lb-max-width-wide: 1200px;
	--lb-max-width-hero: 1220px;
	--lb-transition: 200ms ease;
	--lb-ease-bold: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -----------------------------------------------------------------------
 * 1. 리셋 및 기본
 * --------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--lb-white);
	color: var(--lb-ink-90);
	font-family: var(--lb-font-family);
	font-size: 17px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: -0.01em;
	word-break: keep-all;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--lb-green-text-hover);
	text-decoration: none;
}

a:hover {
	color: var(--lb-green-deep);
	text-decoration: underline;
}

h1,
h2,
h3 {
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 var(--lb-space-md);
	color: var(--lb-ink-90);
}

button {
	font-family: inherit;
}

/* -----------------------------------------------------------------------
 * 2. 접근성 유틸리티
 * --------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lifebom-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.lifebom-skip-link {
	position: fixed !important;
	top: -100px;
	left: var(--lb-space-md);
	z-index: 1000;
	background: var(--lb-ink-90);
	color: var(--lb-white);
	padding: var(--lb-space-sm) var(--lb-space-lg);
	border-radius: var(--lb-radius-sm);
	transition: top var(--lb-transition);
}

.lifebom-skip-link:focus {
	top: var(--lb-space-md);
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

:focus-visible {
	outline: 2px solid var(--lb-ink-90);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* -----------------------------------------------------------------------
 * 3. 레이아웃
 * --------------------------------------------------------------------- */
.lifebom-container {
	max-width: var(--lb-max-width);
	margin: 0 auto;
	padding: 0 var(--lb-space-lg);
}

.lifebom-container--wide {
	max-width: var(--lb-max-width-wide);
	margin: 0 auto;
	padding: 0 20px;
}

.lifebom-container--hero {
	max-width: var(--lb-max-width-hero);
	margin: 0 auto;
	padding: 0 20px;
}

.lifebom-section {
	padding-block: var(--lb-space-xxl);
}

.lifebom-section--narrow {
	max-width: 600px;
}

.lifebom-section__title {
	font-size: clamp(22px, 2.4vw, 27px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: var(--lb-space-lg);
}

.lifebom-section-head {
	position: relative;
	margin-bottom: var(--lb-space-xl);
}

.lifebom-section-head__title {
	margin: 0 0 16px;
	font-size: clamp(22px, 2.4vw, 27px);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.lifebom-section-head__line {
	height: 1px;
	background: var(--lb-line);
}

/* 매거진형 섹션 헤더 — 오늘의 주요 이야기 / 관심 주제로 둘러보기 / 최신 글에만 적용.
   기사 제목·카테고리·CTA 제목과 구분되는 짙은 초록 라벨 + 오른쪽으로 이어지는 얇은 구분선. */
.lifebom-section-head--magazine {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.lifebom-section-head--magazine .lifebom-section-head__title {
	margin: 0;
	flex: 0 0 auto;
	white-space: nowrap;
}

.lifebom-section-head--magazine .lifebom-section-head__line {
	flex: 1 1 auto;
}

.lifebom-section-head__title--accent {
	color: var(--lb-green-deep);
	font-weight: 800;
	font-size: 18px;
}

@media (min-width: 860px) {
	.lifebom-section-head__title--accent {
		font-size: 20px;
	}
}

/* -----------------------------------------------------------------------
 * 4. 헤더 / 내비게이션
 * --------------------------------------------------------------------- */
.lifebom-header {
	position: relative;
	background: var(--lb-white);
}

.lifebom-header__inner {
	max-width: var(--lb-max-width-hero);
	margin: 0 auto;
	padding: 0 20px;
	height: 68px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--lb-space-md);
}

.lifebom-logo-fallback {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.lifebom-logo-fallback__icon {
	height: 32px;
	width: auto;
}

.lifebom-logo-fallback__text {
	font-family: var(--lb-font-family-system);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--lb-ink-90);
}

.lifebom-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.lifebom-header__test-link {
	display: none;
	align-items: center;
	min-height: 40px;
	padding: 10px 18px;
	border-radius: var(--lb-radius-pill);
	background: var(--lb-green-tint);
	color: var(--lb-green-deep);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.lifebom-header__test-link:hover {
	background: #dcefe3;
	text-decoration: none;
}

.lifebom-search-toggle,
.lifebom-menu-toggle {
	min-width: var(--lb-tap-min);
	min-height: var(--lb-tap-min);
	background: none;
	border: none;
	cursor: pointer;
	border-radius: var(--lb-radius-sm);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lifebom-search-toggle:hover,
.lifebom-menu-toggle:hover {
	background: var(--lb-beige-10);
}

.lifebom-icon {
	display: inline-block;
	width: 21px;
	height: 21px;
	position: relative;
}

.lifebom-icon--search {
	border-radius: 50%;
	width: 14px;
	height: 14px;
	border: 2px solid var(--lb-ink-90);
}

.lifebom-icon--search::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 2px;
	background: var(--lb-ink-90);
	right: -8px;
	bottom: -2px;
	transform: rotate(45deg);
}

.lifebom-icon--menu {
	width: 22px;
	height: 2px;
	background: var(--lb-ink-90);
	box-shadow: 0 7px 0 var(--lb-ink-90), 0 -7px 0 var(--lb-ink-90);
}

.lifebom-nav {
	display: none;
}

.lifebom-nav.is-open {
	display: block;
	position: absolute;
	top: 68px;
	left: 0;
	right: 0;
	background-color: var(--lb-white);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
	padding: 14px 20px 20px;
	z-index: 6;
}

@media (max-width: 859px) {
	/* 모바일 메뉴가 열려 있는 동안에는 흰 배경이 화면 끝까지 이어지도록 해
	   아래 히어로의 크림색이 메뉴 영역과 함께 보이지 않게 한다. */
	.lifebom-nav.is-open {
		min-height: calc(100vh - 68px);
	}
}

.lifebom-nav__search {
	max-width: var(--lb-max-width-hero);
	margin: 0 auto 14px;
}

.lifebom-nav__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 16px;
	margin: 0 auto;
	padding: 0;
	max-width: var(--lb-max-width-hero);
}

.lifebom-nav__list a {
	display: flex;
	align-items: center;
	min-height: var(--lb-tap-min);
	color: var(--lb-ink-90);
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	padding: 8px 4px;
	border-bottom: 1px solid var(--lb-line-3);
}

.lifebom-header__nav-desktop {
	display: none;
}

@media (min-width: 860px) {
	.lifebom-header__inner {
		flex-wrap: nowrap;
	}

	.lifebom-header__nav-desktop {
		display: flex;
		align-items: center;
		gap: 26px;
		flex: 1;
		justify-content: center;
	}

	.lifebom-header__nav-desktop a {
		font-size: 15px;
		font-weight: 700;
		color: #3a362f;
		text-decoration: none;
	}

	.lifebom-header__nav-desktop a:hover {
		color: var(--lb-green-text-hover);
		text-decoration: underline;
	}

	.lifebom-menu-toggle {
		display: none;
	}

	.lifebom-header__test-link {
		display: inline-flex;
	}
}

/* -----------------------------------------------------------------------
 * 5. 검색 폼
 * --------------------------------------------------------------------- */
.lifebom-search-form {
	display: flex;
	align-items: center;
	background: var(--lb-search-bg);
	border-radius: var(--lb-radius-pill);
	padding: 0 6px 0 16px;
	height: 46px;
}

.lifebom-search-form__input {
	flex: 1;
	min-height: var(--lb-tap-min);
	border: none;
	background: none;
	outline: none;
	font-size: 15px;
	padding: 0 10px;
	color: var(--lb-ink-90);
	font-family: inherit;
}

.lifebom-search-form__input::placeholder {
	color: var(--lb-text-faint);
}

.lifebom-search-form__submit {
	min-width: var(--lb-tap-min);
	min-height: var(--lb-tap-min);
	border: none;
	background: none;
	border-radius: var(--lb-radius-pill);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--lb-text-tertiary);
}

/* -----------------------------------------------------------------------
 * 6. 히어로(브랜드 소개 + 결과 예시 카드)
 * --------------------------------------------------------------------- */
.lifebom-hero {
	position: relative;
	overflow: hidden;
	background: var(--lb-cream);
}

/* 장식 도형 — 절대 배치로 콘텐츠 흐름에 영향 없음. 모바일은 작은 원 1개만 노출 */
.lifebom-hero__decor {
	position: absolute;
	top: -30px;
	right: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--lb-green);
	opacity: 0.16;
	pointer-events: none;
	z-index: 0;
}

.lifebom-hero__decor--ring,
.lifebom-hero__decor--chip {
	display: none;
}

@media (min-width: 860px) {
	.lifebom-hero__decor {
		top: -120px;
		right: -160px;
		width: 520px;
		height: 520px;
		opacity: 0.14;
	}

	.lifebom-hero__decor--ring {
		display: block;
		top: 70px;
		right: 60px;
		left: auto;
		width: 230px;
		height: 230px;
		background: none;
		border: 26px solid var(--lb-mint);
		opacity: 0.35;
	}

	.lifebom-hero__decor--chip {
		display: block;
	}

	.lifebom-hero__decor--sky {
		top: 50px;
		right: 430px;
		width: 26px;
		height: 52px;
		border-radius: 6px;
		background: var(--lb-sky);
		transform: rotate(24deg);
		opacity: 0.8;
	}

	.lifebom-hero__decor--yellow {
		bottom: 70px;
		right: 110px;
		top: auto;
		width: 30px;
		height: 30px;
		border-radius: 6px;
		background: var(--lb-yellow);
		transform: rotate(-16deg);
		opacity: 0.85;
	}

	.lifebom-hero__decor--coral {
		top: 40px;
		right: 20px;
		width: 16px;
		height: 16px;
		border-radius: 4px;
		background: var(--lb-coral);
		transform: rotate(20deg);
		opacity: 0.9;
	}
}

.lifebom-hero__grid {
	position: relative;
	z-index: 2;
	padding-block: 20px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.lifebom-hero__text {
	flex: 1 1 460px;
	min-width: 280px;
}

.lifebom-hero__eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.6px;
	color: var(--lb-green-deep);
	margin-bottom: 10px;
}

.lifebom-hero__title {
	font-size: 32px;
	line-height: 1.36;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--lb-ink-90);
	margin: 0 0 14px;
}

.lifebom-hero__desc {
	font-size: 15px;
	line-height: 1.68;
	letter-spacing: -0.01em;
	font-weight: 400;
	color: var(--lb-text-secondary);
	max-width: 440px;
	margin: 0 0 22px;
}

.lifebom-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.lifebom-hero__actions .lifebom-button--primary {
	background: var(--lb-orange-accent);
	color: var(--lb-ink-90);
	min-height: 48px;
	padding: 14px 26px;
	font-size: 16px;
}

.lifebom-hero__actions .lifebom-button--primary:hover {
	filter: brightness(0.94);
	color: var(--lb-ink-90);
}

.lifebom-hero__more-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: var(--lb-tap-min);
	font-size: 15px;
	font-weight: 700;
	color: var(--lb-ink-90);
	text-decoration: none;
}

.lifebom-hero__more-link:hover {
	color: var(--lb-green-text-hover);
	text-decoration: underline;
}

/* 결과 예시 카드 */
.lifebom-hero__preview {
	position: relative;
	z-index: 2;
	flex: 1 1 340px;
	min-width: 280px;
	max-width: 420px;
	background: var(--lb-white);
	border-radius: var(--lb-radius-xl);
	padding: var(--lb-space-xl);
	box-shadow: var(--lb-shadow-card);
}

.lifebom-hero__preview {
	display: block;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow var(--lb-transition);
}

.lifebom-hero__preview:hover,
.lifebom-hero__preview:focus-visible {
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
}

.lifebom-hero__preview-label {
	display: inline-block;
	background: var(--lb-green-tint);
	color: var(--lb-green-deep);
	font-size: 12px;
	font-weight: 700;
	border-radius: var(--lb-radius-pill);
	padding: 6px 12px;
	margin-bottom: 14px;
}

.lifebom-hero__preview-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
	color: var(--lb-ink-90);
}

.lifebom-hero__preview-body {
	display: flex;
	align-items: center;
	gap: 20px;
}

.lifebom-hero__preview-gauge {
	position: relative;
	width: 92px;
	height: 92px;
	flex-shrink: 0;
	border-radius: 50%;
	background: conic-gradient(var(--lb-orange-accent) 0deg 244.8deg, #f1efe6 244.8deg 360deg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lifebom-hero__preview-gauge::before {
	content: '';
	position: absolute;
	inset: 12%;
	background: var(--lb-white);
	border-radius: 50%;
}

.lifebom-hero__preview-score {
	position: relative;
	font-size: 19px;
	font-weight: 700;
	color: var(--lb-ink-90);
}

.lifebom-hero__preview-text {
	min-width: 0;
}

.lifebom-hero__preview-text-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--lb-ink-90);
	margin: 0 0 4px;
}

.lifebom-hero__preview-text-desc {
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--lb-text-tertiary);
	margin: 0;
}

.lifebom-hero__preview-caption {
	font-size: 12px;
	font-weight: 400;
	color: var(--lb-text-tertiary);
	margin: 0;
	border-top: 1px solid var(--lb-line-2);
	margin-top: 18px;
	padding-top: 12px;
}

.lifebom-hero__wave {
	display: block;
	width: 100%;
	height: 40px;
	position: relative;
	z-index: 1;
	margin-top: -2px;
}

.lifebom-hero__wave path {
	fill: var(--lb-white);
}

@media (min-width: 860px) {
	.lifebom-hero__grid {
		padding-block: 36px 60px;
	}

	.lifebom-hero__title {
		font-size: 48px;
		line-height: 1.28;
	}

	.lifebom-hero__desc {
		font-size: 17px;
	}

	.lifebom-hero__preview-title {
		font-size: 26px;
	}

	.lifebom-hero__preview-gauge {
		width: 116px;
		height: 116px;
	}

	.lifebom-hero__preview-score {
		font-size: 24px;
	}
}

/* -----------------------------------------------------------------------
 * 7. 오늘의 주요 이야기 — 대표 글 + 보조 글
 * --------------------------------------------------------------------- */
.lifebom-placeholder-thumb {
	position: relative;
	width: 100%;
	height: 100%;
	background-color: var(--lb-beige-10);
	background-image: repeating-linear-gradient(
		135deg,
		transparent,
		transparent 12px,
		rgba(17, 17, 17, 0.035) 12px,
		rgba(17, 17, 17, 0.035) 24px
	);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lb-text-tertiary);
}

.lifebom-placeholder-thumb svg {
	width: 28%;
	height: 28%;
	max-width: 36px;
	max-height: 36px;
}

.lifebom-featured {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 30px;
}

.lifebom-featured__lead {
	flex: 1.85 1 520px;
	min-width: 0;
	display: block;
	text-decoration: none;
	color: inherit;
}

.lifebom-featured__lead-media {
	width: 100%;
	aspect-ratio: 8 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: var(--lb-beige-10);
}

.lifebom-featured__lead-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.6s var(--lb-ease-bold);
}

.lifebom-featured__lead:hover .lifebom-featured__lead-media img,
.lifebom-featured__lead:focus-visible .lifebom-featured__lead-media img {
	transform: scale(1.045);
}

.lifebom-featured__lead-body {
	padding-top: 14px;
}

.lifebom-featured__lead-category {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1px;
}

.lifebom-featured__lead-title {
	font-size: 27px;
	line-height: 1.32;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 6px 0 8px;
}

.lifebom-featured__lead-desc {
	font-size: 15px;
	line-height: 1.68;
	letter-spacing: -0.01em;
	font-weight: 400;
	color: var(--lb-text-secondary);
	margin: 0;
}

.lifebom-featured__lead:hover .lifebom-featured__lead-title,
.lifebom-featured__lead:focus-visible .lifebom-featured__lead-title {
	text-decoration: underline;
}

.lifebom-featured__secondary {
	flex: 1 1 320px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 24px;
}

.lifebom-featured__secondary-item {
	display: flex;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	padding: 18px 0;
	border-bottom: 1px solid var(--lb-line);
}

.lifebom-featured__secondary-item:first-child {
	padding-top: 0;
}

.lifebom-featured__secondary-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.lifebom-featured__secondary-media {
	width: 96px;
	height: 96px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--lb-beige-10);
}

.lifebom-featured__secondary-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.lifebom-featured__secondary-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lifebom-featured__secondary-category {
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.lifebom-featured__secondary-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 5px 0 0;
	color: var(--lb-ink-90);
}

.lifebom-featured__secondary-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: break-word;
	word-break: break-word;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: -0.01em;
	margin: 4px 0 0;
	color: var(--lb-text-tertiary);
}

.lifebom-featured__secondary-item:hover .lifebom-featured__secondary-title,
.lifebom-featured__secondary-item:focus-visible .lifebom-featured__secondary-title {
	text-decoration: underline;
}

@media (min-width: 860px) {
	.lifebom-featured__lead-media {
		border-radius: 20px;
	}

	.lifebom-featured__lead-title {
		font-size: 34px;
	}

	.lifebom-featured__secondary-title {
		font-size: 19px;
	}
}

/* -----------------------------------------------------------------------
 * 7b. 카테고리 색상 — 아이콘·라벨 공용
 * --------------------------------------------------------------------- */
.lifebom-cat--retirement {
	color: var(--lb-cat-retirement-text);
}
.lifebom-cat--pension {
	color: var(--lb-cat-pension-text);
}
.lifebom-cat--health {
	color: var(--lb-cat-health-text);
}
.lifebom-cat--caregiving {
	color: var(--lb-cat-caregiving-text);
}
.lifebom-cat--insurance {
	color: var(--lb-cat-insurance-text);
}
.lifebom-cat--assets {
	color: var(--lb-cat-assets-text);
}
.lifebom-cat--daily {
	color: var(--lb-cat-daily-text);
}

/* 관심 주제 필 태그·플레이스홀더 아이콘은 좀 더 선명한 원안 색을 그대로 사용(장식용, 텍스트 대비 규정 미적용) */
.lifebom-topic-pill .lifebom-cat--retirement,
.lifebom-placeholder-thumb .lifebom-cat--retirement {
	color: var(--lb-cat-retirement-icon);
}
.lifebom-topic-pill .lifebom-cat--pension,
.lifebom-placeholder-thumb .lifebom-cat--pension {
	color: var(--lb-cat-pension-icon);
}
.lifebom-topic-pill .lifebom-cat--health,
.lifebom-placeholder-thumb .lifebom-cat--health {
	color: var(--lb-cat-health-icon);
}
.lifebom-topic-pill .lifebom-cat--caregiving,
.lifebom-placeholder-thumb .lifebom-cat--caregiving {
	color: var(--lb-cat-caregiving-icon);
}
.lifebom-topic-pill .lifebom-cat--insurance,
.lifebom-placeholder-thumb .lifebom-cat--insurance {
	color: var(--lb-cat-insurance-icon);
}
.lifebom-topic-pill .lifebom-cat--assets,
.lifebom-placeholder-thumb .lifebom-cat--assets {
	color: var(--lb-cat-assets-icon);
}
.lifebom-topic-pill .lifebom-cat--daily,
.lifebom-placeholder-thumb .lifebom-cat--daily {
	color: var(--lb-cat-daily-icon);
}

/* -----------------------------------------------------------------------
 * 7c. 관심 주제로 둘러보기 — 얇은 테두리 필 태그
 * --------------------------------------------------------------------- */
.lifebom-topic-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lifebom-topic-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--lb-tap-min);
	padding: 11px 18px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-pill);
	text-decoration: none;
	color: var(--lb-ink-90);
	font-size: 15px;
	font-weight: 700;
	background: var(--lb-white);
	transition: border-color var(--lb-transition), background-color var(--lb-transition);
}

.lifebom-topic-pill:hover {
	border-color: var(--lb-beige-20);
	background: var(--lb-beige-10);
	text-decoration: none;
}

.lifebom-topic-pill svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.lifebom-topic-pill--disabled {
	cursor: default;
	color: var(--lb-text-tertiary);
}

.lifebom-topic-pill--disabled:hover {
	background: var(--lb-white);
	border-color: var(--lb-line);
}

.lifebom-topic-pill__status {
	font-size: 12.5px;
	color: var(--lb-text-tertiary);
}

/* -----------------------------------------------------------------------
 * 8. 최신 글 — 대표 1 + 리스트
 * --------------------------------------------------------------------- */
.lifebom-latest__featured {
	display: block;
	text-decoration: none;
	color: inherit;
	margin-bottom: 26px;
}

.lifebom-latest__featured-media {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: var(--lb-beige-10);
}

.lifebom-latest__featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--lb-ease-bold);
}

.lifebom-latest__featured:hover .lifebom-latest__featured-media img,
.lifebom-latest__featured:focus-visible .lifebom-latest__featured-media img {
	transform: scale(1.045);
}

.lifebom-latest__featured-body {
	padding-top: 14px;
}

.lifebom-latest__featured-category {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1px;
}

.lifebom-latest__featured-title {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 6px 0 6px;
}

.lifebom-latest__featured-meta {
	font-size: 14px;
	font-weight: 400;
	color: var(--lb-text-tertiary);
}

.lifebom-card-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	border-top: 1px solid var(--lb-line);
}

.lifebom-card {
	flex: 1 1 380px;
	min-width: 280px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--lb-line);
}

.lifebom-card__link {
	display: flex;
	gap: 16px;
	color: inherit;
	text-decoration: none;
}

.lifebom-card__media {
	width: 88px;
	height: 88px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--lb-beige-10);
}

.lifebom-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.lifebom-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lifebom-card__category {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
}

.lifebom-card__title {
	font-size: 18px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 5px 0 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lifebom-card__link:hover .lifebom-card__title,
.lifebom-card__link:focus-visible .lifebom-card__title {
	text-decoration: underline;
}

.lifebom-card__excerpt {
	color: var(--lb-text-secondary);
	font-size: 15px;
	line-height: 1.68;
	letter-spacing: -0.01em;
	margin: 0 0 var(--lb-space-sm);
}

.lifebom-card__date {
	font-size: 14px;
	font-weight: 400;
	color: var(--lb-text-tertiary);
}

.lifebom-empty-state {
	color: var(--lb-text-tertiary);
	background: var(--lb-beige-10);
	border-radius: var(--lb-radius-lg);
	padding: var(--lb-space-lg);
}

@media (min-width: 860px) {
	.lifebom-latest__featured-media {
		border-radius: 20px;
	}

	.lifebom-latest__featured-title {
		font-size: 24px;
	}

	.lifebom-card__title {
		font-size: 19px;
	}
}

/* -----------------------------------------------------------------------
 * 9. CTA 버튼 / 섹션
 * --------------------------------------------------------------------- */
.lifebom-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: var(--lb-space-md) var(--lb-space-xl);
	border-radius: var(--lb-radius-pill);
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.3s var(--lb-ease-bold), background 0.2s ease;
}

.lifebom-button:hover {
	text-decoration: none;
}

.lifebom-button:active {
	transform: scale(0.97);
}

.lifebom-button--primary {
	background: var(--lb-green);
	color: var(--lb-white);
}

.lifebom-button--primary:hover {
	background: var(--lb-green-text-hover);
	color: var(--lb-white);
}

.lifebom-button--secondary {
	background: transparent;
	color: var(--lb-ink-90);
	border: 1.5px solid var(--lb-ink-90);
}

.lifebom-button--secondary:hover {
	background: var(--lb-ink-90);
	color: var(--lb-white);
}

.lifebom-cta {
	display: flex;
	flex-direction: column;
	gap: var(--lb-space-lg);
	max-width: var(--lb-max-width-wide);
	margin: var(--lb-space-xl) auto;
	padding-block: var(--lb-space-xl);
	padding-inline: var(--lb-space-lg);
	background: var(--lb-white);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-radius-xl);
}

.lifebom-cta--consult {
	background: var(--lb-footer-cream);
	border-color: var(--lb-line);
}

.lifebom-cta__title {
	font-size: 20px;
	font-weight: 700;
	color: var(--lb-ink-90);
}

.lifebom-cta__desc {
	color: var(--lb-text-secondary);
	line-height: 1.68;
	letter-spacing: -0.01em;
	margin: 0;
}

/* -----------------------------------------------------------------------
 * 10. 글 본문(single)
 * --------------------------------------------------------------------- */
.lifebom-single__category a {
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.lifebom-single__title {
	font-size: 28px;
}

.lifebom-single__date {
	color: var(--lb-text-tertiary);
	font-size: 13px;
}

.lifebom-single__media {
	margin: var(--lb-space-lg) 0;
	border-radius: var(--lb-radius-lg);
	overflow: hidden;
}

/* -----------------------------------------------------------------------
 * 10b. 본문 콘텐츠 타이포그래피(single.php와 page.php 공용, Gutenberg 출력)
 * --------------------------------------------------------------------- */
.lifebom-single__content,
.lifebom-page__content {
	font-size: 17px;
	line-height: 1.68;
	letter-spacing: -0.01em;
	word-break: keep-all;
}

.lifebom-single__content > * + *,
.lifebom-page__content > * + * {
	margin-top: var(--lb-space-lg);
}

.lifebom-single__content p,
.lifebom-page__content p {
	margin: 0;
}

.lifebom-single__content h2,
.lifebom-single__content h3,
.lifebom-single__content h4,
.lifebom-single__content h5,
.lifebom-single__content h6,
.lifebom-page__content h2,
.lifebom-page__content h3,
.lifebom-page__content h4,
.lifebom-page__content h5,
.lifebom-page__content h6 {
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.lifebom-single__content ul,
.lifebom-single__content ol,
.lifebom-page__content ul,
.lifebom-page__content ol {
	margin: 0;
	padding-left: 1.4em;
}

.lifebom-single__content ul,
.lifebom-page__content ul {
	list-style: disc;
}

.lifebom-single__content ol,
.lifebom-page__content ol {
	list-style: decimal;
}

.lifebom-single__content li + li,
.lifebom-page__content li + li {
	margin-top: var(--lb-space-sm);
}

.lifebom-single__content blockquote,
.lifebom-page__content blockquote {
	margin: 0;
	padding-left: var(--lb-space-lg);
	border-left: 3px solid var(--lb-beige-20);
	color: var(--lb-text-tertiary);
}

.lifebom-single__content figure,
.lifebom-page__content figure {
	margin: 0;
}

.lifebom-single__content img,
.lifebom-page__content img {
	border-radius: var(--lb-radius-lg);
}

.lifebom-single__content figcaption,
.lifebom-page__content figcaption {
	font-size: 13px;
	color: var(--lb-text-tertiary);
	margin-top: var(--lb-space-sm);
}

.lifebom-single__content table,
.lifebom-page__content table {
	border-collapse: collapse;
	width: 100%;
}

.lifebom-single__content th,
.lifebom-single__content td,
.lifebom-page__content th,
.lifebom-page__content td {
	border: 1px solid var(--lb-beige-20);
	padding: var(--lb-space-sm) var(--lb-space-md);
	text-align: left;
}

.lifebom-single__content pre,
.lifebom-page__content pre {
	background: var(--lb-beige-10);
	border-radius: var(--lb-radius-sm);
	padding: var(--lb-space-md);
	overflow-x: auto;
}

.lifebom-single__content code,
.lifebom-page__content code {
	background: var(--lb-beige-10);
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 0.9em;
}

.lifebom-single__content pre code,
.lifebom-page__content pre code {
	background: none;
	padding: 0;
}

.lifebom-single__content .wp-block-table,
.lifebom-page__content .wp-block-table {
	overflow-x: auto;
}

.lifebom-disclaimer {
	margin-top: var(--lb-space-xl);
	padding: var(--lb-space-md) var(--lb-space-lg);
	background: var(--lb-beige-10);
	border-radius: 10px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--lb-text-tertiary);
}

/* -----------------------------------------------------------------------
 * 11. 페이지네이션
 * --------------------------------------------------------------------- */
.pagination,
.navigation.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--lb-space-sm);
	margin-top: var(--lb-space-xl);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--lb-tap-min);
	min-height: var(--lb-tap-min);
	padding: 0 var(--lb-space-md);
	border-radius: var(--lb-radius-pill);
	background: var(--lb-beige-10);
	color: var(--lb-ink-90);
	text-decoration: none;
	font-weight: 700;
}

.pagination .page-numbers.current {
	background: var(--lb-green);
	color: var(--lb-white);
}

/* -----------------------------------------------------------------------
 * 12. 푸터
 * --------------------------------------------------------------------- */
.lifebom-footer {
	border-top: 1px solid var(--lb-line);
	background: var(--lb-footer-cream);
	margin-top: var(--lb-space-section);
}

.lifebom-footer__inner {
	max-width: var(--lb-max-width-wide);
	margin: 0 auto;
	padding: var(--lb-space-xxl) 20px;
}

.lifebom-footer__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--lb-space-lg);
}

.lifebom-footer__brand .lifebom-logo-fallback__icon {
	height: 26px;
}

.lifebom-footer__brand .lifebom-logo-fallback__text {
	font-size: 16px;
}

.lifebom-footer__tagline {
	display: none;
}

.lifebom-footer__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin: 0 0 var(--lb-space-xl);
	padding: 0;
}

.lifebom-footer__list a {
	color: var(--lb-text-tertiary);
	font-weight: 400;
	text-decoration: none;
	min-height: var(--lb-tap-min);
	display: inline-flex;
	align-items: center;
	font-size: 14px;
}

.lifebom-footer__list a:hover {
	color: var(--lb-green-text-hover);
	text-decoration: underline;
}

.lifebom-footer__meta {
	color: var(--lb-text-tertiary);
	font-size: 13px;
	margin: 0;
}

/* -----------------------------------------------------------------------
 * 13. 404 / 운영 원칙
 * --------------------------------------------------------------------- */
.lifebom-404 {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: var(--lb-space-lg);
	align-items: flex-start;
}

.lifebom-principles__list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--lb-space-sm);
	margin: 0;
	padding: 0;
}

.lifebom-principles__list li {
	padding-left: var(--lb-space-lg);
	position: relative;
	color: var(--lb-text-secondary);
	line-height: 1.68;
	letter-spacing: -0.01em;
}

.lifebom-principles__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lb-green);
}


/* -----------------------------------------------------------------------
 * 14. 플로팅 카카오 상담 버튼
 * --------------------------------------------------------------------- */
.lifebom-floating-consult {
	position: fixed;
	right: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	z-index: 200;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #FEE500;
	color: #191919;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	line-height: 1.25;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	transition: box-shadow var(--lb-transition);
}

.lifebom-floating-consult__icon {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.lifebom-floating-consult:hover,
.lifebom-floating-consult:focus-visible {
	color: #191919;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.lifebom-floating-consult:focus-visible {
	outline: 2px solid #191919;
	outline-offset: 3px;
}

@media (max-width: 859px) {
	.lifebom-floating-consult {
		width: 52px;
		height: 52px;
		right: 14px;
		bottom: calc(14px + env(safe-area-inset-bottom, 0px));
		font-size: 12px;
	}
}

@media (max-width: 859px) {
	.lifebom-floating-consult__icon {
		width: 22px;
		height: 22px;
	}
}
