/* 메인 섹션 — 제네시스 톤 (2026-11-27)
   genesis.com/kr/ko 실측 기준: 섹션 제목 40px/300/자간 -0.01em, 본문 16px, 글자 #111 · 회색 #69696E #535356 #929296,
   바탕 #fff · #F5F5F5 · #111, 포인트 구리 #AF6249(배지·짧은 선에만), 각진 카드. 서체는 Pretendard(전용 서체 대체).
   강창효 홈페이지의 섹션 배치(가운데 정렬 제목, 회색 띠, 슬라이더)는 따르지 않는다. */

:root {
	--sx-ink: #111111;
	--sx-gray-1: #535356;
	--sx-gray-2: #69696E;
	--sx-gray-3: #929296;
	--sx-line: #EAEAEB;
	--sx-soft: #F5F5F5;
	--sx-copper: #AF6249;
	--sx-pad-x: 80px;
	--sx-pad-y: 140px;
}

.sx { position: relative; padding: var(--sx-pad-y) 0; background: #fff; color: var(--sx-ink); font-family: 'Pretendard', sans-serif; }
.sx-inner { max-width: 1600px; margin: 0 auto; padding: 0 var(--sx-pad-x); }
.sx-head { margin-bottom: 56px; }
.sx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sx-eyebrow {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 18px;
	color: var(--sx-gray-2);
	font-size: 13px; font-weight: 500; letter-spacing: .24em;
}
.sx-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--sx-copper); }
.sx-eyebrow-light { color: rgba(255,255,255,.72); }
.sx-title { margin: 0; font-size: 40px; font-weight: 300; line-height: 1.3; letter-spacing: -0.01em; color: var(--sx-ink); }
.sx-title-light { color: #fff; }
.sx-lead { margin: 14px 0 0; color: var(--sx-gray-1); font-size: 16px; line-height: 1.65; }

/* 링크·버튼 — 제네시스식 글자 링크 ›, 각진 버튼 */
.sx-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sx-ink); font-size: 16px; text-decoration: none; }
.sx-link::after { content: '›'; font-size: 20px; line-height: 1; transition: transform .3s ease; }
.sx-link:hover::after { transform: translateX(4px); }
.sx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-size: 15px; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
.sx-btn-fill { background: var(--sx-ink); color: #fff; border: 1px solid var(--sx-ink); }
.sx-btn-fill:hover { background: #fff; color: var(--sx-ink); }
.sx-btn-line { margin-top: 32px; border: 1px solid var(--sx-ink); color: var(--sx-ink); }
.sx-btn-line:hover { background: var(--sx-ink); color: #fff; }
.sx-badge { display: inline-block; color: var(--sx-copper); font-size: 13px; font-style: normal; font-weight: 500; letter-spacing: .02em; }

/* 1. 변호사 소개 — 사진 왼쪽 · 연표 오른쪽 */
.sx-profile-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; align-items: center; }
.sx-profile-photo { margin: 0; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sx-soft); }
.sx-profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx-timeline { list-style: none; margin: 40px 0 36px; padding: 0; border-top: 1px solid var(--sx-line); }
.sx-timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--sx-line); font-size: 16px; line-height: 1.5; }
.sx-year { color: var(--sx-gray-3); font-variant-numeric: tabular-nums; }
.sx-what { color: var(--sx-ink); }
.sx-what em { margin-left: 8px; color: var(--sx-gray-2); font-style: normal; font-size: 14px; }

/* 2. 숫자 띠 — #111 */
.sx-facts { padding: 88px 0; background: var(--sx-ink); color: #fff; }
.sx-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sx-fact { padding: 0 32px; border-left: 1px solid rgba(255,255,255,.12); }
.sx-fact:first-child { padding-left: 0; border-left: 0; }
.sx-fact strong { display: block; font-size: 56px; font-weight: 200; line-height: 1.1; letter-spacing: -0.02em; }
.sx-fact strong small { margin-left: 4px; font-size: 18px; font-weight: 300; color: rgba(255,255,255,.7); }
.sx-fact span { display: block; margin-top: 12px; color: var(--sx-gray-3); font-size: 14px; }

/* 3. 업무분야 — 탭 + 카드 */
.sx-areas { background: var(--sx-soft); }
.sx-tabs { display: flex; gap: 0; margin: -16px 0 40px; border-bottom: 1px solid #dcdcde; }
.sx-tab { position: relative; padding: 16px 28px 18px 0; margin-right: 8px; background: none; border: 0; color: var(--sx-gray-3); font: inherit; font-size: 16px; cursor: pointer; }
.sx-tab.is-on { color: var(--sx-ink); font-weight: 500; }
.sx-tab.is-on::after { content: ''; position: absolute; left: 0; right: 28px; bottom: -1px; height: 2px; background: var(--sx-ink); }
.sx-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.sx-cards-areas { grid-template-columns: repeat(4, 1fr); }
.sx-card[hidden] { display: none; }
.sx-card a { display: block; color: inherit; text-decoration: none; }
.sx-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.sx-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sx-card a:hover .sx-card-img img { transform: scale(1.05); }
.sx-card-meta { display: block; margin-top: 18px; color: var(--sx-copper); font-size: 13px; font-weight: 500; }
.sx-card-t { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 20px; font-weight: 400; }
.sx-card-t::after { content: '›'; font-size: 22px; color: var(--sx-gray-3); transition: transform .3s, color .3s; }
.sx-card a:hover .sx-card-t::after { transform: translateX(4px); color: var(--sx-ink); }

/* 4. 성공사례 — 뉴스룸식 글 카드 */
.sx-cards-cases { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--sx-ink); }
.sx-case a { display: flex; flex-direction: column; height: 100%; min-height: 260px; padding: 28px 28px 24px 0; border-bottom: 1px solid var(--sx-line); color: inherit; text-decoration: none; }
.sx-case + .sx-case a { padding-left: 28px; border-left: 1px solid var(--sx-line); }
.sx-case-t { margin-top: 16px; font-size: 22px; font-weight: 400; line-height: 1.4; }
.sx-case-d { margin-top: 12px; color: var(--sx-gray-2); font-size: 15px; line-height: 1.6; }
.sx-case-date { margin-top: auto; padding-top: 24px; color: var(--sx-gray-3); font-size: 13px; }
.sx-case a:hover .sx-case-t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* 5. 상담 진행 — 번호 4단 */
.sx-process { background: var(--sx-soft); }
.sx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sx-steps li { padding-top: 24px; border-top: 1px solid var(--sx-ink); }
.sx-step-n { display: block; color: var(--sx-copper); font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.sx-steps strong { display: block; margin-top: 28px; font-size: 22px; font-weight: 400; }
.sx-steps p { margin: 12px 0 0; color: var(--sx-gray-1); font-size: 15px; line-height: 1.65; }

/* 6. 의뢰인 후기 */
.sx-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sx-quotes li { display: flex; flex-direction: column; min-height: 240px; padding: 36px 32px; background: var(--sx-soft); }
.sx-quotes li::before { content: '“'; color: var(--sx-copper); font-size: 48px; line-height: .8; font-family: Georgia, serif; }
.sx-quotes p { margin: 16px 0 0; font-size: 17px; line-height: 1.7; color: var(--sx-ink); }
.sx-quotes span { margin-top: auto; padding-top: 24px; color: var(--sx-gray-3); font-size: 13px; }

/* 7. 연구 · 칼럼 */
.sx-insight { background: #fff; border-top: 1px solid var(--sx-line); }
.sx-insight-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.sx-papers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-ink); }
.sx-papers li { display: grid; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--sx-line); }
.sx-papers strong { font-size: 22px; font-weight: 400; line-height: 1.45; }
.sx-papers span { color: var(--sx-gray-2); font-size: 15px; }

/* 8. 상담 문의 띠 — 빌딩 외경 배경 + #111 덧칠 */
.sx-contact { background: var(--sx-ink); color: #fff; overflow: hidden; }
.sx-contact-bg { position: absolute; inset: 0; background: url('../assets/sections/band_city.jpg') center 40% / cover no-repeat; opacity: .38; }
.sx-contact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.55) 60%, rgba(17,17,17,.75) 100%); }
.sx-contact .sx-inner { position: relative; }
.sx-contact-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.22); }
.sx-contact-tiles a { display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 32px 32px 28px 0; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.22); transition: background-color .3s; }
.sx-contact-tiles li + li a { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.22); }
.sx-contact-tiles a:hover { background: rgba(255,255,255,.04); }
.sx-tile-k { color: rgba(255,255,255,.62); font-size: 14px; }
.sx-contact-tiles strong { font-size: 26px; font-weight: 300; letter-spacing: -0.01em; word-break: break-all; }
.sx-tile-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; }
.sx-tile-go::after { content: '›'; font-size: 20px; color: var(--sx-copper); transition: transform .3s; }
.sx-contact-tiles a:hover .sx-tile-go::after { transform: translateX(4px); }

/* 9. 오시는 길 */
.sx-location-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: center; }
.sx-info { display: grid; grid-template-columns: 88px 1fr; gap: 18px 16px; margin: 40px 0 40px; font-size: 16px; line-height: 1.6; }
.sx-info dt { color: var(--sx-gray-3); }
.sx-info dd { margin: 0; color: var(--sx-ink); }
.sx-info a { color: inherit; text-decoration: none; }
.sx-location-img { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: #111; }
.sx-location-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 푸터 */
.sx-footer { padding: 72px 0 96px; background: var(--sx-ink); color: rgba(255,255,255,.62); font-family: 'Pretendard', sans-serif; font-size: 14px; line-height: 1.8; }
.sx-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.sx-footer-brand { display: flex; align-items: center; color: #fff; }
.sx-footer-brand img { display: block; width: auto; height: 48px; }  /* 확정 로고 기본형 반전(2026-12-03) */
.sx-footer-links { display: flex; gap: 28px; }
.sx-footer-links a { color: #fff; text-decoration: none; }
.sx-footer-info { margin: 28px 0 0; }
.sx-footer-info span + span::before { content: '·'; margin: 0 10px; color: rgba(255,255,255,.3); }
.sx-footer-copy { margin-top: 12px; color: rgba(255,255,255,.4); font-size: 13px; }

/* 스크롤 등장 — 아래에서 살짝 떠오름(동작 줄이기 설정이면 끔) */
@media (prefers-reduced-motion: no-preference) {
	.sx-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
	.sx-reveal.is-in { opacity: 1; transform: none; }
}

/* 반응형 */
@media screen and (max-width: 1200px) {
	:root { --sx-pad-x: 30px; --sx-pad-y: 110px; }
	.sx-profile-grid, .sx-insight-grid, .sx-location-grid { gap: 56px; }
	.sx-cards-areas { grid-template-columns: repeat(3, 1fr); }
	.sx-cards-cases { grid-template-columns: repeat(2, 1fr); }
	.sx-case:nth-child(3) a { padding-left: 0; border-left: 0; }
	.sx-footer { padding-bottom: 130px; }  /* 하단 상담 바(70px) 자리 */
}
@media screen and (max-width: 768px) {
	:root { --sx-pad-x: 20px; --sx-pad-y: 80px; }
	.sx-title { font-size: 28px; }
	.sx-head { margin-bottom: 36px; }
	.sx-head-row { flex-direction: column; align-items: flex-start; }
	.sx-profile-grid, .sx-insight-grid, .sx-location-grid { grid-template-columns: 1fr; gap: 40px; }
	.sx-facts { padding: 64px 0; }
	.sx-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
	.sx-fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.sx-fact strong { font-size: 44px; }
	.sx-tabs { overflow-x: auto; white-space: nowrap; }
	.sx-tab { padding-right: 20px; }
	.sx-cards-areas { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
	.sx-card-t { font-size: 16px; }
	.sx-cards-cases, .sx-steps, .sx-quotes, .sx-contact-tiles { grid-template-columns: 1fr; }
	.sx-case a, .sx-case + .sx-case a { padding: 24px 0; border-left: 0; min-height: 0; }
	.sx-contact-tiles a, .sx-contact-tiles li + li a { padding: 28px 0; border-left: 0; min-height: 0; }
	.sx-contact-tiles strong { font-size: 22px; }
	.sx-footer-top { flex-direction: column; align-items: flex-start; }
	.sx-footer-info span { display: block; }
	.sx-footer-info span + span::before { display: none; }
}

/* 메뉴에서 섹션으로 이동할 때 고정 헤더(90px)에 가리지 않게 */
.sx { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media screen and (max-width: 768px) { .sx { scroll-margin-top: 50px; } }
.sx-tabs { scrollbar-width: none; }
.sx-tabs::-webkit-scrollbar { display: none; }

/* ===== 실제 자료 반영(2026-11-27) — 약력 부제, 사례 8장, 후기 태그, 칼럼·연구·활동, 주사무소 표기 ===== */
.sx-lead-sub { display: inline-block; margin-top: 4px; color: var(--sx-gray-3); font-size: 14px; letter-spacing: .02em; }
.sx-note { margin: 28px 0 0; color: var(--sx-gray-3); font-size: 13px; line-height: 1.7; }

/* 성공사례 8장(4열 2줄) — 줄 첫 칸은 왼쪽 선 없음 */
.sx-cards-cases .sx-case:nth-child(4n+1) a { padding-left: 0; border-left: 0; }
.sx-case-r { margin-top: 10px; color: var(--sx-copper); font-size: 14px; }
.sx-case-d { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sx-case-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 상담 후기 — 요약 + 태그 막대 */
.sx-review-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.sx-review-sum { padding-top: 24px; border-top: 1px solid var(--sx-ink); }
.sx-review-sum strong { display: block; font-size: 64px; font-weight: 200; line-height: 1.05; letter-spacing: -0.02em; }
.sx-review-sum strong small { margin-left: 4px; font-size: 20px; font-weight: 300; color: var(--sx-gray-2); }
.sx-review-sum > span { display: block; margin-top: 8px; font-size: 18px; }
.sx-review-sum p { margin: 14px 0 28px; color: var(--sx-gray-2); font-size: 14px; line-height: 1.7; }
.sx-tagbars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-ink); }
.sx-tagbars li { display: grid; grid-template-columns: 160px minmax(0, 1fr) 40px; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--sx-line); font-size: 16px; }
.sx-tag-k { color: var(--sx-ink); }
.sx-tag-bar { display: block; height: 4px; background: var(--sx-line); }
.sx-tag-bar i { display: block; height: 100%; background: var(--sx-ink); transform-origin: left center; }
.sx-tagbars li:first-child .sx-tag-bar i { background: var(--sx-copper); }
.sx-tagbars b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--sx-gray-1); }
@media (prefers-reduced-motion: no-preference) {
	.sx-tagbars.sx-reveal .sx-tag-bar i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
	.sx-tagbars.sx-reveal.is-in .sx-tag-bar i { transform: none; }
}

/* 칼럼 · 연구 · 활동 */
.sx-head-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sx-head-btns .sx-btn-line { margin-top: 0; }
.sx-sub { margin: 0 0 16px; color: var(--sx-gray-2); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.sx-posts { list-style: none; margin: 0 0 64px; padding: 0; border-top: 1px solid var(--sx-ink); }
.sx-posts a { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--sx-line); color: inherit; text-decoration: none; }
.sx-post-meta { display: flex; gap: 14px; align-items: baseline; color: var(--sx-gray-3); font-size: 13px; }
.sx-posts strong { font-size: 20px; font-weight: 400; line-height: 1.45; }
.sx-posts a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.sx-posts p { 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; }
.sx-insight-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sx-papers-sm li { padding: 22px 0; gap: 8px; }
.sx-papers-sm strong { font-size: 17px; }
.sx-papers-sm span { font-size: 14px; }
.sx-papers-sm a { color: var(--sx-gray-1); text-underline-offset: 3px; }

/* 오시는 길 · 꼬리말 — 분사무소/주사무소 구별 */
.sx-info-sub { margin-left: 8px; color: var(--sx-gray-2); font-size: 14px; }
.sx-info-muted { color: var(--sx-gray-2) !important; font-size: 14px; }
.sx-footer-sub { margin-top: 4px; color: rgba(255,255,255,.45); font-size: 13px; }

@media screen and (max-width: 1200px) {
	.sx-cards-cases .sx-case:nth-child(4n+1) a { padding-left: 28px; border-left: 1px solid var(--sx-line); }
	.sx-cards-cases .sx-case:nth-child(2n+1) a { padding-left: 0; border-left: 0; }
	.sx-review-wrap { gap: 56px; }
}
@media screen and (max-width: 768px) {
	.sx-cards-cases .sx-case:nth-child(n) a { padding-left: 0; border-left: 0; }
	.sx-review-wrap, .sx-insight-cols { grid-template-columns: 1fr; gap: 40px; }
	.sx-review-sum strong { font-size: 52px; }
	.sx-tagbars li { grid-template-columns: 120px minmax(0, 1fr) 32px; gap: 12px; font-size: 15px; }
	.sx-posts { margin-bottom: 48px; }
	.sx-posts strong { font-size: 17px; }
}

/* ===== 실사 사진 반영(2026-11-27) — 히어로 정지화면 대신 사용자 제공·로톡·부동산센터 사진 =====
   약력: profile_office(사용자 제공) · 업무분야: areas_studio(로톡 3) · 상담: contact_portrait(부동산센터) · 오시는 길: location_map(부동산센터 약도) */
.sx-profile-photo { background: #e9e9ea; }
.sx-profile-photo img { object-position: 45% 40%; }

/* 업무분야 — 왼쪽 사진(스크롤 따라 고정) + 오른쪽 번호 목록 */
.sx-areas-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.sx-areas-photo { position: sticky; top: 120px; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: #3c3d42; }
.sx-areas-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.sx-areas-main { min-width: 0; }
.sx-areas-main .sx-tabs { margin: 0 0 0; }
.sx-cards-areas.sx-arealist { grid-template-columns: 1fr; gap: 0; }
.sx-arealist .sx-card a { display: grid; grid-template-columns: 56px 150px minmax(0, 1fr); align-items: center; gap: 0 16px; padding: 28px 0; border-bottom: 1px solid #dcdcde; transition: padding-left .35s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.sx-arealist .sx-card a:hover { padding-left: 12px; background: rgba(255,255,255,.55); }
.sx-area-n { color: var(--sx-gray-3); font-size: 14px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sx-arealist .sx-card-meta { margin-top: 0; }
.sx-arealist .sx-card-t { margin-top: 0; font-size: 24px; font-weight: 300; letter-spacing: -0.01em; }

/* 상담 문의 — 왼쪽 연락처 목록 + 오른쪽 인물 사진(배경 정지화면 없앰) */
.sx-contact-bg { background: radial-gradient(120% 90% at 85% 50%, rgba(175,98,73,.10) 0%, rgba(17,17,17,0) 55%); opacity: 1; }
.sx-contact-bg::after { display: none; }
.sx-contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; align-items: center; }
.sx-contact-grid .sx-contact-tiles { grid-template-columns: 1fr; }
.sx-contact-grid .sx-contact-tiles a,
.sx-contact-grid .sx-contact-tiles li + li a { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; align-items: center; gap: 0 24px; min-height: 0; padding: 30px 0; border-left: 0; }
.sx-contact-grid .sx-tile-go { margin-top: 0; }
.sx-contact-photo { margin: 0; overflow: hidden; aspect-ratio: 1 / 1; background: #262a35; }
.sx-contact-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 오시는 길 — 지도(잘리지 않게) */
.sx-location-img.sx-location-map { aspect-ratio: auto; overflow: visible; background: none; }
.sx-location-map img { height: auto; border: 1px solid var(--sx-line); }
.sx-location-map figcaption { margin-top: 10px; color: var(--sx-gray-3); font-size: 12px; }

@media screen and (max-width: 1200px) {
	.sx-areas-grid, .sx-contact-grid { gap: 56px; }
	.sx-arealist .sx-card a { grid-template-columns: 44px 120px minmax(0, 1fr); }
	.sx-arealist .sx-card-t { font-size: 20px; }
}
@media screen and (max-width: 768px) {
	.sx-areas-grid, .sx-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sx-areas-photo { position: relative; top: auto; aspect-ratio: 4 / 3; }
	.sx-arealist .sx-card a { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 8px; padding: 20px 0; }
	.sx-arealist .sx-card a:hover { padding-left: 0; background: none; }
	.sx-area-n { grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
	.sx-arealist .sx-card-meta, .sx-arealist .sx-card-t { grid-column: 2; }
	.sx-arealist .sx-card-t { font-size: 18px; }
	.sx-contact-grid .sx-contact-tiles a, .sx-contact-grid .sx-contact-tiles li + li a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 22px 0; }
	.sx-contact-grid .sx-tile-k { grid-column: 1 / -1; }
	.sx-contact-photo { order: -1; width: 64%; max-width: 280px; }
}

.sx-profile-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
