/* 전 페이지 색상·대비 보강 (2026-10-28) — 메인(home-contrast.css)과 동일 팔레트. 모든 페이지에서 마지막에 로드 */
:root{--ink:#302722;--brown:#684635;--muted:#62544b;--line:#ddd0c4;--c-body:#40332d;--c-deep:#4a3028;--c-bronze:#a57e5e;--c-burgundy:#713e49;--c-hover:#58352d}
body{color:var(--c-body)}
:focus-visible{outline-color:var(--c-burgundy)}

/* 헤더 (메인과 동일) */
.primary-group>a{color:var(--c-body);font-weight:500;transition:color .2s}
.primary-group>a:hover,.primary-group:focus-within>a{color:var(--c-burgundy)}
.primary-group>a[aria-current]{color:var(--c-burgundy);font-weight:600}
.primary-group>a[aria-current]:after{background:var(--c-burgundy)}
.header-booking,.home-header .header-booking{background:var(--brown);font-weight:600;transition:background-color .2s}
.header-booking:hover,.home-header .header-booking:hover{background:var(--c-hover)}

/* 서브페이지 헤더를 메인과 동일한 위치·크기로 (site-scale.css의 zoom 1.1 상쇄 후 home-spacing.css 헤더 값 적용) */
body:not(.home-v2) .home-header{zoom:.909091}
body:not(.home-v2) .home-header .home-shell{width:min(1452px,calc(100% - 64px))}
body:not(.home-v2) .home-header .header-inner{height:88px;gap:24px}
body:not(.home-v2) .home-header .home-head-actions{gap:18px}
body:not(.home-v2) .primary-nav{gap:18px}
body:not(.home-v2) .primary-group>a{font-size:16px}
body:not(.home-v2) .home-header .header-booking{font-size:15px;padding:10px 19px;gap:16px}
body:not(.home-v2) .home-header .header-booking span{font-size:27.189px}
body:not(.home-v2) .nav-dropdown{top:88px}
@media(max-width:1200px){body:not(.home-v2) .home-header .header-booking{padding:9px 15px;gap:12px}body:not(.home-v2) .home-header .home-head-actions{gap:15px}}
@media(max-width:600px){body:not(.home-v2) .home-header .home-search,body:not(.home-v2) .home-header .home-menu-btn{width:44px;height:44px;display:grid;place-content:center}body:not(.home-v2) .home-header .home-menu-btn span{width:22px;margin:3px 0}}
@media(max-width:1250px){body:not(.home-v2) .primary-nav,body:not(.home-v2) .home-header.open .primary-nav{display:none}body:not(.home-v2) .home-header .home-head-actions{margin-left:auto}}
@media(max-width:900px){body:not(.home-v2) .home-header .home-shell{width:calc(100% - 48px)}}
@media(max-width:600px){body:not(.home-v2) .home-header .home-shell{width:calc(100% - 40px)}body:not(.home-v2) .home-header .header-inner{height:76px;gap:12px}body:not(.home-v2) .home-header .home-head-actions{gap:10px}}
@media(max-width:360px){body:not(.home-v2) .home-header .home-shell{width:calc(100% - 32px)}body:not(.home-v2) .home-header .home-head-actions{gap:2px}}

/* 병원 안내 배너: 라운지 사진(mood.png) — 왼쪽 문구 영역만 밝게 보정 */
@media(min-width:601px){.category-hero[data-category=hospital]:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(247,242,236,.94) 0%,rgba(247,242,236,.82) 34%,rgba(247,242,236,.2) 58%,transparent 72%)}}
.category-hero[data-category=hospital] .category-hero-image{object-position:center 60%}

/* 원장님 활동란 배너(원장님 실사진 합성): 모바일에서 얼굴이 보이도록 오른쪽 기준 */
@media(max-width:900px){.category-hero[data-category=hospital] .category-hero-image[src*="activity-hero-director"]{object-position:86% center}}
@media(max-width:600px){.category-hero[data-category=hospital] .category-hero-image[src*="activity-hero-director"]{object-position:72% center}}

/* 버튼 */
.btn-dark,.btn-gold{background:var(--brown);font-weight:600}
.btn-dark:hover,.btn-gold:hover{background:var(--c-hover)}
.btn-light{color:var(--c-deep);border-color:var(--brown);font-weight:600}
.btn-light:hover{background:var(--brown);color:#fff}

/* 서브페이지 제목·좌측 메뉴 */
.clinic-content-heading h1{color:var(--c-deep)}
.clinic-sidebar-title{color:var(--c-deep);border-bottom-color:var(--line)}
.clinic-sidebar nav a:hover{color:var(--c-burgundy)}
.clinic-sidebar nav a.active{background:#f2ece5;color:var(--c-deep);border-left-color:var(--brown)}

/* 서브 배너 설명 · 병원 둘러보기 캡션 */
.category-hero-eyebrow{color:var(--brown)}
.category-hero-description{color:#514139}
.tour-card-caption small{color:var(--muted)}

/* 선택 상태 필터 버튼 · 큰 번호 */
.faq-types button[aria-pressed=true],.faq-initials button[aria-pressed=true],.tour-space-filters button[aria-pressed=true],.youtube-filters button[aria-pressed=true]{background:var(--brown);border-color:var(--brown);color:#fff}
.detail-tabs a.active{border-color:var(--brown);color:var(--c-deep)}
.detail-number{color:var(--c-bronze)}

/* 자동 생성: 원래 색상(hue) 유지, 아이보리 배경 대비 6:1 이상으로 명도만 조정 */
.eyebrow{color:#685645}
.breadcrumb{color:#5f574c}
.breadcrumb>span[aria-hidden]{color:#675847}
.subhero p{color:#615951}
.section.dark{color:#64594e}
.profile-list li{color:#625950}
.dept-box a{color:#605851}
.dept-box a:after{color:#6b5745}
.article-body small{color:#685845}
.notice-grid small{color:#685643}
.notice-grid h3{color:#6c5744}
.notice{color:#61584d}
.notice b{color:#6c5744}
.form input::placeholder,.form textarea::placeholder{color:#61584e}
.loc-card small{color:#695744}
.loc-card b{color:#63564a}
.map-placeholder h3{color:#6c5744}
.map-placeholder p{color:#63584e}
.detail-hero-copy>p{color:#63594e}
.detail-tabs a{color:#625950}
.detail-copy>p{color:#615950}
.detail-note{color:#675849}
.detail-consult p{color:#655749}
.detail-consult .eyebrow{color:#685645}
.nav-item a:hover{color:#695644}
.home-footer{color:#5f5750}
.primary-group>a[aria-current]{color:#6f563f}
.nav-trigger{color:#665745}
.dropdown-heading>a{color:#6c5744}
.dropdown-heading>span{color:#6a5742}
.menu-link{color:#665747}
.menu-link>span{color:#695743}
.menu-link:hover,.menu-link[aria-current]{color:#70563a}
.menu-tabs summary{color:#655747}
.menu-tab-links a{color:#65594c}
.full-menu-heading p{color:#685641}
.full-menu-heading p span{color:#685846}
.full-menu-heading>a{color:#655848}
.mega-group>summary{color:#6d553f}
.site-subnav .category-row a.active{color:#6d563f}
.sitemap-group h2{color:#6d553f}
.empty-content h2{color:#675745}
.empty-content p{color:#675846}
.clinic-sidebar nav a{color:#655849}
.clinic-content-heading h1{color:#6a543d}
.clinic-content-heading p{color:#655749}
.clinic-content .site-subnav .treatment-tabs-row a{color:#675744}
.clinic-image-original{color:#6c5741}
.category-hero-eyebrow{color:#695845}
.board-service-note{color:#665643}
.board-search select,.board-search input,.board-filter select,.board-page-size{color:#695846}
.board-result{color:#645646}
.board-table th{color:#685743}
.board-table td{color:#655849}
.board-empty{color:#675642!important}
.board-table .board-empty h2{color:#665643}
.board-pagination button,.board-pagination a{color:#695741}
.board-status-legend{color:#675744}
.status-chip.private{color:#64594f}
.status-chip.answer{color:#6a563f}
.record-heading h2{color:#695640}
.record-meta{color:#665745}
.record-meta dt{color:#695742}
.record-meta dd{color:#665744}
.record-block h3{color:#6b563f}
.record-block p{color:#655743}
.record-private{color:#685744}
.board-adjacent p{color:#685741}
.board-adjacent span{color:#695640}
.faq-types button,.faq-initials button{color:#6a5842}
.gallery-empty{color:#6a5840}
.consultation-write .form>label,.form-grid>label{color:#6a553e}
.visibility-choice{color:#6b563f}
.form-help{color:#695741}
.board-filter label{color:#665642}
.board-adjacent a{color:#6f563e}
.legacy-image-note{color:#635647}
.footer-hospitals button{color:#695746}
.footer-policy-links .privacy-open{color:#6d5641}
.footer-policy-links a{color:#655849}
.home-footer .footer-copyright{color:#64584c}
.privacy-close{color:#6a5540}
.footer-clinic-info{color:#685746}
.footer-info-grid h2 span{color:#6e543b}
.footer-info-lead{color:#64574a}
.footer-hours dt{color:#6c563f}
.footer-hours dd{color:#665847}
.footer-hours-phone{color:#6c563f}
.footer-news-tabs button{color:#685845}
.footer-news time{color:#665644}
.footer-info-shortcut:hover h2,.footer-news li>a:hover{color:#70563a}
.footer-shortcut-card{color:#6c5744}
.shortcut-eyebrow{color:#685744}
.footer-shortcut-card>p{color:#685848}
.shortcut-action{color:#6c543d}
.certificate-shortcut-tag{color:#6b5541}
.certificate-shortcut-action{color:#6b5540}
.ft-brand p{color:#65584c}
.ft-legal p{color:#64584e}
.ft-legal .ft-notice{color:#64584e}
.ft-copy{color:#635950}
.academic-eyebrow{color:#6c5741}
.academic-intro h2 span{color:#695744}
.academic-intro>p:not(.academic-eyebrow){color:#645950}
.academic-none{color:#665749}
.certificate-toolbar>p{color:#695542}
.certificate-toolbar label{color:#675644}
.certificate-result{color:#695847}
.certificate-image>span{color:#6c553e}
.certificate-kind{color:#6c5742}
.certificate-copy p{color:#665647}
.certificate-empty{color:#685747}
.certificate-close{color:#6b5540}
.youtube-eyebrow{color:#685540}
.youtube-lead{color:#675849}
.youtube-filters button{color:#685645}
.youtube-search button{color:#6c5741}
.youtube-count{color:#675644}
.youtube-card-title{color:#6d553d}
.youtube-card-meta{color:#675644}
.youtube-empty{color:#695745}
.nose-guide-eyebrow{color:#6d573e}
.nose-guide-intro h2 span{color:#6b563f}
.nose-guide-lead{color:#565a4c}
.nose-guide-micro{color:#61574a}
.nose-guide-figure figcaption{color:#65584a}
.nose-guide-number{color:#69563e}
.nose-guide-step-heading p{color:#60594c}
.fee-eyebrow{color:#675543}
.fee-intro h2{color:#6a543d}
.fee-table thead th{color:#645747}
.location-redesign .hero h2 em{color:#6a5747}
.location-redesign .hero p{color:#635952}
.location-redesign .hero .micro{color:#6a5747}
.location-redesign .section-id{color:#6a5742}
.location-redesign .section-desc{color:#5f5750}
.location-redesign .location-kicker{color:#6a5744}
.location-redesign .address-sub{color:#625850}
.location-redesign .fact .label{color:#66584b}
.location-redesign .fact span{color:#625953}
.location-redesign .info-foot{color:#5e5853}
.location-redesign .hours-card .min{color:#6c5743}
.location-redesign .hours-card .sub{color:#635952}
.location-redesign .notice{color:#605750}
.location-redesign .notice b{color:#685746}
.location-redesign .notice .mark{color:#685543}
.location-redesign .map-topline span{color:#635952}
.location-redesign .map-note{color:#615952}
.location-redesign .transport-icon{color:#6d5643}
.location-redesign .transport-primary p{color:#615851}
.location-redesign .transport-cell p{color:#635952}
.location-redesign .transport-cell em{color:#6a5746}
.location-redesign .parking-card p{color:#605950}
.location-redesign .footline{color:#695645}
.location-redesign .location-contact .ph{color:#6f563f}
.location-redesign .location-contact p{color:#615950}
.location-redesign .location-contact-detail{color:#61584e}
.location-redesign .missing{color:#62574b}
.location-redesign .location-actions a{color:#6a5544}
.tour-eyebrow{color:#6a5743}
.tour-introduction>p:last-child{color:#655645}
.tour-main-expand{color:#6c5641}
.tour-showcase-caption>div>p{color:#6a5641}
.tour-showcase-controls>span{color:#685645}
.tour-gallery-total{color:#695641}
.tour-space-filters button{color:#695742}
.tour-photo-card{color:#6a5642}
.tour-card-caption small{color:#6a583f}
.tour-photo-enlarge{color:#6c553f}
.tour-visit>div>p:last-child{color:#685744}
.doctor-profile-topline{color:#685645}
.doctor-profile-lead{color:#605950}
.doctor-profile-signature{color:#6a553f}
.doctor-profile-message>small{color:#675646}
.doctor-profile-name>p{color:#675647}
.doctor-profile-name h2 span{color:#70553f}
.doctor-profile-credentials h3{color:#6d543e}
.doctor-profile-credentials li{color:#61564f}
