/*! care79-detail.css — 지역 상세페이지 v6 (owner: Bot3, 2026-10-06). render-sub.php 가 <head> 에 연결(상세만). 범위 html body.c79 main (0,1,3).
 *  색 토큰·버튼·CTA 띠·헤더·푸터·하단바·Tailwind 팔레트는 Bot1 care79-ui.css(region-v6)·shared.php 가 담당 — 여기서는 덮지 않는다(같이 배포 전제).
 *  여기는 상세 본문 레이아웃·굵기만: 제목 500 / 강조 600 / 숫자 700 / 본문 400. 마크업·문구 변경 없음, 숨김 규칙 없음. */
html body.c79 main{font-weight:400}
html body.c79 main :where(h1,h2,h3,h4){font-weight:500}
html body.c79 main :where(strong,b){font-weight:600}

/* 히어로: 아이보리→샴페인 그라데이션, 얇은 금선 eyebrow, 큰 500 제목, 부드러운 그림자 사진 */
html body.c79 main .c79-hero{background:linear-gradient(180deg,var(--c79-ivory,#F9F6F1) 0%,var(--c79-sand) 100%); border-bottom:1px solid var(--c79-line)}
html body.c79 main .c79-hero__title{font-weight:500; letter-spacing:-.035em; line-height:1.25; font-size:clamp(30px,1.6rem + 1.9vw,52px)}
html body.c79 main .c79-eyebrow{font-weight:500; font-size:13px; letter-spacing:.14em}
html body.c79 main .c79-eyebrow::before{content:""; display:inline-block; width:28px; height:1px; margin-right:12px; vertical-align:middle; background:var(--c79-gold,#BFA987)}
html body.c79 main .c79-hero__media img{border-radius:20px; box-shadow:0 30px 60px -20px rgba(107,91,78,.22),0 2px 6px rgba(107,91,78,.06)}

/* 섹션 제목: 500 + 짧은 금선 */
html body.c79 main .c79-section--alt{background:var(--c79-ivory,#F9F6F1)}
html body.c79 main .c79-h2{font-weight:500; letter-spacing:-.03em; font-size:clamp(24px,1.2rem + 1.2vw,36px); line-height:1.3}
html body.c79 main .c79-h2::before{content:""; display:block; width:28px; height:2px; margin:0 0 18px; background:var(--c79-gold,#BFA987)}
html body.c79 main :is(.c79-h3,.c79-topic__title){font-weight:500}

/* 펼침 상자·목록·요약 */
html body.c79 main .c79-topic{border-radius:14px; box-shadow:0 1px 2px rgba(107,91,78,.04)}
html body.c79 main .c79-topic[open]{box-shadow:0 18px 40px rgba(107,91,78,.10)}
html body.c79 main .c79-topic>summary::after{border-color:var(--c79-gold,#BFA987)}
html body.c79 main .c79-list li::before{background:var(--c79-gold,#BFA987)}
html body.c79 main .c79-summary{border-left:3px solid var(--c79-gold,#BFA987); border-radius:14px}
/* 사진 묶음: 1장 = 본문 폭 16:9 큰 사진, 2장 이상 = 2열 4:3, 홀수 개면 마지막 1장은 전체 폭 16:9 */
html body.c79 main .c79-gallery{grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0}
@media (min-width:768px){html body.c79 main .c79-gallery{gap:24px}}
html body.c79 main .c79-gallery img{aspect-ratio:4/3; width:100%; object-fit:cover; border-radius:14px; box-shadow:0 10px 24px -14px rgba(107,91,78,.28)}
html body.c79 main .c79-gallery>figure:only-child{grid-column:1/-1}
html body.c79 main .c79-gallery>figure:only-child img{aspect-ratio:16/9; border-radius:18px}
@media (max-width:767.98px){html body.c79 main .c79-gallery>figure:last-child:nth-child(odd){grid-column:1/-1}}
/* PC: 3장 이상(정확히 4장 제외)은 3열 — 홀수 끝 사진이 전체 폭으로 커지지 않게 */
@media (min-width:768px){html body.c79 main .c79-gallery:has(>figure:nth-child(3)):not(:has(>figure:nth-child(4):last-child)){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 표: 머리글 600, 숫자 칸 고정폭 숫자 */
html body.c79 main :is(th,td).font-bold,html body.c79 main .c79-table thead th{font-weight:600}
html body.c79 main :is(th,td).font-semibold,html body.c79 main .c79-table td:first-child{font-weight:600}
html body.c79 main td{font-variant-numeric:tabular-nums}

/* 관련 링크: PC 2열 */
html body.c79 main .c79-links a{font-weight:500}
html body.c79 main .c79-links a::after{color:var(--c79-gold,#BFA987)}
@media (min-width:768px){html body.c79 main .c79-links{display:grid; grid-template-columns:1fr 1fr; column-gap:32px}}
html body.c79 main .c79-cta h2{font-weight:500}

/* Tailwind 잔여 굵기 상한(FAQ·복지용구 보조·스킨 단계 번호) */
html body.c79 main :is(.font-extrabold,.font-black){font-weight:500}
html body.c79 main .font-bold{font-weight:600}
html body.c79 main .c79-faq details>summary{font-weight:500}
html body.c79 main [style*="font-weight:800"]{font-weight:700!important} /* c79Skin 단계 번호(인라인 style) → 숫자 700 */

/* 같은 흰 바탕 섹션이 연달아 오면 위·아래 여백(96+96px)이 겹쳐 빈 띠가 생김 → 뒤 섹션 위 여백 0, 섹션 끝 사진 묶음 아래 여백 0 */
html body.c79 main .c79-section:not([class*="c79-section--"])+.c79-section:not([class*="c79-section--"]){padding-top:0}
html body.c79 main .c79-gallery:last-child{margin-bottom:0}
html body.c79 main .c79-section--alt+.c79-section--alt,html body.c79 main .c79-section--sand+.c79-section--sand{padding-top:0; border-top:0}

/* 옛 스킨 페이지(body.c79 아님) 포함 상세 본문 전체: render-sub·styles.php 의 임의 색(검정 #17251F·딥그린·청회·올리브·복숭아) → v6 톤. 마크업 무변경.
 * (Tailwind 색 이름 dark/brand/stone 은 Bot1 shared 설정이 바꾼다. 여기선 [#hex] 임의값·지역 전용 이름만) */
html body main :is(.text-\[\#17251F\],.text-\[\#274F32\]){color:#3B322B}
html body main :is(.bg-\[\#EFF5F0\],.bg-\[\#EEF3F8\],.bg-\[\#EEF2FF\],.bg-\[\#F0FDFA\],.bg-\[\#F1EFDD\],.bg-sand,.bg-offwhite){background-color:#F9F6F1}
html body main :is(.bg-\[\#F5F2EA\],.bg-\[\#FFF4EC\]){background-color:#F6EFE3}
html body main :is(.bg-\[\#FBFAF5\],.bg-\[\#FAF9F4\]){background-color:#F9F6F1}
html body main .hover\:bg-\[\#FFF4EC\]:hover{background-color:#F6EFE3}
html body main .hover\:bg-\[\#B85A2E\]:hover{background-color:#76592F}
html body main :is(.border-\[\#E3E0C7\],.border-indigo-100){border-color:#E9E1D4}
html body main :is(.font-extrabold,.font-black){font-weight:500}
html body main :is(h1,h2,h3).font-bold{font-weight:500}
/* 옛 스킨 페이지 바탕(render-sub body 클래스)의 청회색 → 아이보리 */
html body:is(.bg-\[\#F6F7FC\],.bg-\[\#F6F8FB\],.bg-sand){background-color:#F9F6F1}

/* ===== 옛 스킨 갈색 띠·갈색 채움 버튼 → 메인 v6.2 (코디네이터 결정 2026-10-06). 상세 <main> 안만 — 헤더·푸터·하단바(Bot1) 제외 =====
 * 띠: 아이보리→샴페인 그라데이션 + 글자 #3B322B(본문 #3B322B, 보조 #5E544B 는 쓰지 않음 — 그라데이션 끝색에서 4.5 미만 위험)
 * 버튼: 샴페인 알약(#F4EBDA→#E8D8BB, 테두리 #DCC69F, 글자 #76592F 600 — 5.2:1 이상), hover 진한 샴페인, focus 3px 갈색 윤곽 */
html body main :is(section,div,aside,article).bg-dark,
html body main :is(section,div,aside,article):is(.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full){
  background:linear-gradient(180deg,#F9F6F1 0%,#F4EBDA 100%); color:#3B322B; border-top:1px solid #E9E1D4; border-bottom:1px solid #E9E1D4}
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(.text-white,[class*="text-white\/"],.text-stone-300,.text-stone-400,.text-stone-200,.text-cream,.opacity-70,.opacity-80){color:#3B322B; opacity:1}
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(h1,h2,h3,h4,p,li,span,strong,dt,dd){border-color:#DCC69F}
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is([class*="bg-white\/"]){background-color:rgba(255,255,255,.7)}
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(.border-white,[class*="border-white\/"]){border-color:#DCC69F}
/* 버튼(채움·테두리형) */
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark),
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):is(.border-white,.bg-white,[class*="border-2"]){
  background:linear-gradient(180deg,#F4EBDA,#E8D8BB); border:1px solid #DCC69F; color:#76592F; font-weight:600; border-radius:999px;
  box-shadow:0 10px 24px -14px rgba(150,120,75,.55),inset 0 1px 0 rgba(255,255,255,.7)}
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark) *,
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):is(.border-white,.bg-white,[class*="border-2"]) *{color:inherit}
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):hover,
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):is(.border-white,.bg-white,[class*="border-2"]):hover{
  background:linear-gradient(180deg,#F0E4CD,#E2CFAC); border-color:#CDB384; color:#76592F; opacity:1}
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):focus-visible,
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):focus-visible{outline:3px solid #8A6A3F; outline-offset:2px}
/* 번호·작은 배지(span·div 동그라미) */
html body main :is(span,div).rounded-full:is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark){background:linear-gradient(180deg,#F4EBDA,#E8D8BB); color:#76592F; box-shadow:inset 0 0 0 1px #DCC69F}
/* 대비 실측 보정(tools/bot3-contrast.js): Tailwind stone-400(#A89A8C 2.6:1)·stone-500(#807468 4.0~4.4)·accent2 글자(#BFA987 2.0) → 본문 안에서만 진하게 */
html body main :is(.text-stone-400,.text-stone-500){color:#6B5E54}
html body main .text-accent2{color:#8A6A3F}
html body main .c79-cta p{color:#3B322B}
html body main .text-stone-300{color:#8A6A3F}
/* Bot4 판정 6장 보정: 형광 표시 글자(검정 → 웜톤), 하단 상담 띠 제목 500 #3B322B */
html body main mark{color:#3B322B}
html body main .c79-cta h2{font-weight:500; color:#3B322B}
/* Bot5 ②④ (2026-10-06): 비용표 가로 스크롤 없이 · 현장 실사진(모자이크) 히어로 과대 확대 제한 · 복지용구 보조 블록 열 맞춤 · 라벨형 h2 */
@media (min-width:768px){
  html body main .overflow-x-auto>table{font-size:15px}
  html body main .overflow-x-auto>table :is(th,td){padding:12px 10px}
  html body main .overflow-x-auto>table th{white-space:normal}
  html body main .c79-hero__media:has(img[src*="/real-"]){max-width:440px; justify-self:end; width:100%}
}
html body.c79 main section[aria-labelledby="bokji-aux-title"]>div{max-width:var(--c79-max-text); padding-left:var(--c79-gutter); padding-right:var(--c79-gutter)}
html body main h2:is(.text-stone-400,.text-stone-500){font-weight:500; color:#3B322B}

/* ===== v7.1 (2026-10-18, regions-v71) — 상세 페이지. 위 v6 규칙을 덮는 마지막 층. 토큰은 care79-ui.css :root(--bg…--sh-cta). =====
 * 굵기 400·500 · 검정 금지 · 상자(그림자)는 히어로 사진만 · 본문 17px+ · 보이는 글자 15px+ · 터치 48px+ · 꽉 찬 브론즈는 주 CTA·하단 바만 */
html body.c79 main{font-weight:400;color:var(--tx-2)}
html body.c79 main :where(h1,h2,h3,h4){font-weight:500;color:var(--tx-1)}
html body.c79 main :is(strong,b,mark,th,dt,.font-bold,.font-semibold,.font-extrabold,.font-black,.font-medium,.c79-table thead th,.c79-table td:first-child,.c79-links a,.c79-faq details>summary,.c79-topic__title){font-weight:500}
html body.c79 main [style*="font-weight:800"],html body.c79 main [style*="font-weight:700"]{font-weight:500!important}
html body.c79 main :is(.font-bold,.font-semibold,.font-extrabold,.font-black) {font-weight:500}
html body :is(main,.c79-faq) :is(.font-bold,.font-semibold,.font-extrabold,.font-black){font-weight:500}
/* 히어로: 흰색→아이보리 그라데이션, 사진 = 히어로 카드(그림자 허용) */
html body.c79 main .c79-hero{background:linear-gradient(180deg,#fff 0%,#FAF6EF 60%,#F3EBDD 100%);border-bottom:0;padding:40px 0 56px}
@media (min-width:768px){html body.c79 main .c79-hero{padding:64px 0 88px}}
html body.c79 main .c79-hero__title{font-weight:500;letter-spacing:-.03em;line-height:1.25;font-size:31px}
@media (min-width:768px){html body.c79 main .c79-hero__title{font-size:44px}}
@media (min-width:1024px){html body.c79 main .c79-hero__title{font-size:54px}}
html body.c79 main .c79-hero__lead{font-size:17px;color:var(--tx-2)}
@media (min-width:768px){html body.c79 main .c79-hero__lead{font-size:18px}}
html body.c79 main .c79-eyebrow{font-weight:500;font-size:15px;letter-spacing:.02em;color:var(--accent)}
html body.c79 main .c79-eyebrow::before{width:24px;height:1px;margin-right:12px;background:var(--line-strong)}
html body.c79 main .c79-hero__media img{border-radius:var(--r-card);box-shadow:var(--sh-card);filter:saturate(.85) contrast(.97) brightness(1.02)}
html body.c79 main .c79-crumb,html body.c79 main .c79-crumb a{font-size:15px;color:var(--tx-3)}
html body.c79 main .c79-crumb a{display:inline-flex;align-items:center;min-height:48px}
html body.c79 main .c79-crumb{margin-bottom:0}
/* 섹션 */
html body.c79 main .c79-section{padding:56px 0}
@media (min-width:768px){html body.c79 main .c79-section{padding:88px 0}}
html body.c79 main .c79-section--alt{background:var(--bg-alt);border-top:0;border-bottom:0}
html body.c79 main .c79-section--sand{background:var(--bg-alt)}
html body.c79 main .c79-h2{font-weight:500;letter-spacing:-.02em;font-size:27px;line-height:1.3}
@media (min-width:768px){html body.c79 main .c79-h2{font-size:36px}}
@media (min-width:1024px){html body.c79 main .c79-h2{font-size:40px}}
html body.c79 main .c79-h2::before{width:24px;height:1px;margin:0 0 16px;background:var(--line-strong)}
html body.c79 main .c79-h3,html body.c79 main .c79-topic__title{font-weight:500;font-size:21px}
@media (max-width:767.98px){html body.c79 main :is(.c79-h3,.c79-topic__title){font-size:18px}}
html body.c79 main p,html body.c79 main li,html body.c79 main dd{font-size:max(17px,1em)}
html body.c79 main :is(.c79-src,.c79-crumb,.c79-crumb *,.c79-table,.c79-table *,.c79-gallery figcaption,.c79-hero__media figcaption,.c79-toc__title,.c79-badge,.c79-chip,figcaption,.text-xs,[class*="text-[1"]){font-size:15px}
/* 펼침 상자·목록 */
html body.c79 main .c79-topic{border-radius:var(--r-card);box-shadow:none;border-color:var(--line)}
html body.c79 main .c79-topic[open]{box-shadow:none}
html body.c79 main .c79-topic>summary{min-height:56px}
html body.c79 main .c79-topic>summary::after{border-color:var(--accent)}
html body.c79 main .c79-list li::before{background:var(--accent)}
html body.c79 main .c79-summary{border:1px solid var(--line);border-left:2px solid var(--line-strong);border-radius:var(--r-card);box-shadow:none}
/* 사진: 4:3 cover, 그림자 없음 */
html body.c79 main .c79-gallery img{border-radius:8px;box-shadow:none;outline:1px solid rgba(59,50,43,.06);outline-offset:-1px;filter:saturate(.8) contrast(.96) brightness(1.03) sepia(.08)}
html body.c79 main .c79-gallery>figure:only-child img{border-radius:8px}
/* 표 */
html body.c79 main :is(th,td).font-bold,html body.c79 main .c79-table thead th,html body.c79 main :is(th,td).font-semibold,html body.c79 main .c79-table td:first-child{font-weight:500}
html body.c79 main .overflow-x-auto>table{font-size:15px}
html body.c79 main .overflow-x-auto>table thead,html body.c79 main .c79-table thead th{background:var(--bg-accent)}
html body.c79 main table :is(th,td){color:var(--tx-1)}
html body.c79 main .c79-table-wrap,html body.c79 main .overflow-x-auto{border-color:var(--line);border-radius:var(--r-card)}
/* 관련 링크 */
html body.c79 main .c79-links a{font-weight:500;min-height:56px;font-size:17px}
html body.c79 main .c79-links a::after{color:var(--accent)}
/* FAQ */
html body.c79 main .c79-faq details>summary{font-size:17px;min-height:56px;font-weight:500;color:var(--tx-1)}
html body.c79 main .c79-faq .faq-item>p{font-size:17px}
/* 하단 상담 띠: 단색 --bg-accent, 버튼은 주 CTA(브론즈) */
html body.c79 main .c79-cta{background:var(--bg-accent);border:0;border-radius:var(--r-card);box-shadow:none}
html body.c79 main .c79-cta h2{font-weight:500;color:var(--tx-1);font-size:27px}
@media (min-width:768px){html body.c79 main .c79-cta h2{font-size:32px}}
html body.c79 main .c79-cta p{color:var(--tx-2)}
html body.c79 main .c79-cta h2::before{content:none}
/* 옛 스킨 갈색 띠·채움 버튼(Tailwind bg-dark/brand/accent) → v7.1: 띠 = --bg-accent, 버튼 = 단색 브론즈 */
html body main :is(section,div,aside,article).bg-dark,
html body main :is(section,div,aside,article):is(.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full){background:var(--bg-accent);color:var(--tx-1);border-top:0;border-bottom:0}
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark),
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):is(.border-white,.bg-white,[class*="border-2"]){
  background:var(--accent);border:1px solid var(--accent);color:#fff;font-weight:500;border-radius:var(--r-btn);box-shadow:var(--sh-cta);min-height:48px}
html body main :is(a,button):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):hover,
html body main :is(section,div,aside,article):is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark):not(.rounded-full) :is(a,button):is(.border-white,.bg-white,[class*="border-2"]):hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#fff}
html body main :is(span,div).rounded-full:is(.bg-dark,.bg-brand,.bg-accent,.bg-accentDark){background:var(--accent);color:#fff;box-shadow:none}
html body main :is(.text-stone-400,.text-stone-500,.text-stone-600){color:var(--tx-3)}
html body main h2:is(.text-stone-400,.text-stone-500){font-weight:500;color:var(--tx-1)}
html body main .text-accent2,html body main :is(.text-brand,.text-accent){color:var(--accent)}
html body main mark{color:var(--tx-1);font-weight:500}
html body main :is(.shadow-sm,.shadow-md,.shadow-lg,.shadow-xl){box-shadow:none}
html body main :is(.rounded-3xl,.rounded-2xl){border-radius:var(--r-card)}
html body main :is(a,button,summary){min-height:max(48px,0px)}
html body main :is(p a,li a,dd a,figcaption a,.c79-src a,.c79-crumb a){min-height:0}
html body main :is(.c79-links a,.c79-toc a,.c79-chip,summary){min-height:48px}
/* 390: Tailwind 비용표(5열)가 가로 스크롤·페이지 넘침 없이 한 화면에 */
@media (max-width:639.98px){
  html body main .overflow-x-auto{overflow-x:visible}
  html body main table:not(.c79-table){width:100%!important;max-width:100%;table-layout:auto}
  html body main table:not(.c79-table) :is(th,td){padding:10px 5px!important;font-size:15px!important;white-space:normal!important;word-break:keep-all;line-height:1.45}
}
/* 비용표 카드형(390): shared.php COST_TABLE 의 td[data-label] */
@media (max-width:639.98px){
  html body main .overflow-x-auto:has(>.c79-costtbl){border:0;border-radius:0;background:none;overflow:visible}
  html body main table.c79-costtbl,html body main .c79-costtbl tbody,html body main .c79-costtbl tr,html body main .c79-costtbl td{display:block;width:100%!important;min-width:0!important}
  html body main .c79-costtbl thead{display:none}
  html body main .c79-costtbl tr{margin:0 0 12px;padding:6px 0;background:var(--bg);border:1px solid var(--line);border-radius:var(--r-card)}
  html body main .c79-costtbl td{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:8px 16px!important;border:0!important;text-align:right;white-space:normal!important;color:var(--tx-1)}
  html body main .c79-costtbl td::before{content:attr(data-label);flex:0 0 auto;max-width:55%;color:var(--tx-3);font-weight:400;text-align:left}
  html body main .c79-costtbl td:first-child{font-size:17px;font-weight:500}
}
/* 옛 스킨 장식 정리(v7.1: 첫 글자 장식·굵은 테두리 상자 없음) — 문구는 그대로 */
html body main span.float-left{float:none;font-size:inherit;line-height:inherit;padding:0;color:inherit;font-weight:inherit;font-family:inherit}
html body main .border-2{border-width:1px}
html body main :is(.border-dark,.border-2.border-dark){border-color:var(--line-strong)}
