/* 목록 페이지(성공사례 · 칼럼) — 메인 섹션과 같은 제네시스 톤 (2026-11-27)
   변수는 sections.css 의 --sx-* 를 쓴다. 글자 #111 · 회색 #69696E #535356 #929296, 바탕 #fff · #F5F5F5 · #111, 구리 #AF6249. */

body.lp { margin: 0; background: #fff; color: var(--sx-ink); font-family: 'Pretendard', sans-serif; -webkit-font-smoothing: antialiased; }
body.lp a:not(.sx-btn) { color: inherit; }  /* 버튼(.sx-btn)은 제외: 글자색이 부모 색을 물려받아 바탕과 같아지던 문제(2026-12-01 수정) */

/* 상단 바 — 검은 띠 */
.lp-head { position: sticky; top: 0; z-index: 50; background: var(--sx-ink); color: #fff; }
.lp-head-in { display: flex; align-items: center; gap: 40px; height: 80px; }
.lp-logo { display: flex; flex: none; align-items: center; text-decoration: none; color: #fff; }
.lp-logo img { display: block; width: auto; height: 48px; }  /* 확정 로고 기본형 반전(2026-12-03) */
.lp-nav { display: flex; gap: 32px; margin-left: auto; }
.lp-nav a { color: rgba(255,255,255,.72); font-size: 15px; text-decoration: none; }
.lp-nav a:hover, .lp-nav a[aria-current="page"] { color: #fff; }
.lp-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sx-copper); padding-bottom: 6px; }
.lp-tel { color: #fff; font-size: 15px; text-decoration: none; padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); }
.lp-tel:hover { background: #fff; color: var(--sx-ink); }

/* 머리 띠 */
.lp-hero { padding: 96px 0 72px; background: var(--sx-ink); color: #fff; }
.lp-title { margin: 0; font-size: 48px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.25; }
.lp-desc { max-width: 760px; margin: 18px 0 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.7; }

/* 거르기 */
.lp-body { padding-top: 64px; }
.lp-filters { display: grid; gap: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--sx-line); }
.lp-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-group-k { min-width: 64px; margin-right: 8px; color: var(--sx-gray-3); font-size: 13px; letter-spacing: .06em; }
.lp-chip { padding: 9px 16px; background: #fff; border: 1px solid #dcdcde; color: var(--sx-gray-1); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.lp-chip:hover { border-color: var(--sx-ink); color: var(--sx-ink); }
.lp-chip.is-on { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.lp-chip small { margin-left: 6px; color: inherit; opacity: .6; font-size: 12px; }
.lp-search { display: flex; align-items: center; max-width: 520px; border-bottom: 1px solid var(--sx-ink); }
.lp-search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--sx-ink); outline: none; }
.lp-search input::placeholder { color: var(--sx-gray-3); }
.lp-search span { color: var(--sx-gray-3); font-size: 18px; }
.lp-count { margin: 28px 0 0; color: var(--sx-gray-2); font-size: 14px; }
.lp-count b { color: var(--sx-ink); font-weight: 600; }

/* 목록 */
.lp-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--sx-ink); }
.lp-item[hidden] { display: none; }
.lp-item a { display: grid; grid-template-columns: 220px minmax(0, 1fr) 24px; gap: 8px 40px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--sx-line); text-decoration: none; }
.lp-item a::after { content: '›'; grid-column: 3; grid-row: 1 / span 3; align-self: center; color: var(--sx-gray-3); font-size: 22px; transition: transform .3s, color .3s; }
.lp-item a:hover::after { transform: translateX(4px); color: var(--sx-ink); }
.lp-meta { grid-column: 1; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sx-gray-3); }
.lp-meta .sx-badge { font-size: 13px; }
.lp-item strong { grid-column: 2; font-size: 20px; font-weight: 400; line-height: 1.45; color: var(--sx-ink); }
.lp-item a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lp-result { grid-column: 2; color: var(--sx-copper); font-size: 14px; }
.lp-item p { grid-column: 2; margin: 0; color: var(--sx-gray-2); font-size: 15px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-empty { padding: 64px 0; color: var(--sx-gray-2); text-align: center; }
.lp-more { display: flex; margin: 40px auto 0; min-width: 200px; background: #fff; cursor: pointer; font: inherit; font-size: 15px; }
.lp-more[hidden] { display: none; }
.lp-note { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--sx-line); color: var(--sx-gray-3); font-size: 13px; line-height: 1.75; }

@media screen and (max-width: 1200px) {
	.lp-nav { gap: 22px; }
	.lp-item a { grid-template-columns: 170px minmax(0, 1fr) 20px; gap: 8px 28px; }
}
@media screen and (max-width: 900px) {  /* 769~900px: 로고 그림이 글자 로고보다 넓어 메뉴가 두 줄로 접히지 않게 간격을 줄인다 */
	.lp-head-in { gap: 24px; }
	.lp-nav { gap: 16px; }
	.lp-logo img { height: 40px; }
}
@media screen and (max-width: 768px) {
	.lp-head-in { height: 60px; gap: 16px; }
	.lp-nav { display: none; }
	.lp-tel { margin-left: auto; padding: 7px 12px; font-size: 13px; }
	.lp-hero { padding: 64px 0 48px; }
	.lp-title { font-size: 32px; }
	.lp-body { padding-top: 40px; }
	.lp-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--sx-pad-x) * -1); padding-right: var(--sx-pad-x); }
	.lp-group::-webkit-scrollbar { display: none; }
	.lp-group-k { min-width: auto; flex: none; }
	.lp-chip { flex: none; }
	.lp-item a { grid-template-columns: minmax(0, 1fr) 16px; gap: 8px 12px; padding: 22px 0; }
	.lp-item a::after { grid-column: 2; }
	.lp-meta { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
	.lp-item strong, .lp-result, .lp-item p { grid-column: 1; }
	.lp-item strong { font-size: 17px; }
}

/* 머리 띠 오른쪽 인물 사진(로톡 프로필 사진 2) — 왼쪽으로 흐려지며 검은 띠에 녹아든다 */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero .sx-inner { position: relative; z-index: 1; }
.lp-hero-photo { position: absolute; top: 0; bottom: 0; right: max(0px, calc((100% - 1600px) / 2)); width: min(40%, 560px); pointer-events: none; }
.lp-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%);
	-webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 30%); mask-composite: intersect; }
@media screen and (max-width: 768px) {
	.lp-hero-photo { width: 52%; opacity: .45; }
}
@media screen and (max-width: 359px) {
	.lp-logo img { height: 32px; }  /* 320px 폭: 전화 버튼이 줄바꿈되지 않게 */
}
