/* css/hn-nav.css (GitHub 레포 경로: css/hn-nav.css)
 * 상단 메뉴 4개 + 서브메뉴(PC 드롭다운 / 모바일 펼침)
 * 롤백: 각 페이지의 <link ... hn-nav.css> 한 줄만 지우면 됩니다. */

html body nav .nav-links>li.has-active>a,
html body nav#main-nav .nav-links>li.has-active>a{text-decoration:underline!important;text-decoration-color:#b5693a!important;text-decoration-thickness:2px;text-underline-offset:9px}
html body nav .nav-links .nav-sub a.active{color:#8f562f!important}

/* ── PC ─────────────────────────────── */
@media (min-width:961px){
  html body nav .nav-links{gap:38px;align-items:center}
  html body nav .nav-links>li{position:relative;padding:6px 0}
  html body nav .nav-links>li.has-sub>a::after{
    content:'';display:inline-block;width:5px;height:5px;margin:0 0 3px 7px;
    border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
    transform:rotate(45deg);opacity:.55;transition:transform .2s ease}
  html body nav .nav-links>li.has-sub:hover>a::after,
  html body nav .nav-links>li.has-sub:focus-within>a::after{transform:rotate(225deg) translate(-1px,-1px)}

  html body nav .nav-links .nav-sub{
    position:absolute;top:100%;left:50%;min-width:196px;margin:0;padding:8px;list-style:none;
    background:#fff;border:1px solid rgba(26,23,19,.07);border-radius:16px;
    box-shadow:0 18px 44px rgba(31,59,43,.16);
    opacity:0;visibility:hidden;transform:translate(-50%,6px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:60}
  html body nav .nav-links .nav-sub::before{content:'';position:absolute;left:0;right:0;top:-16px;height:16px}
  html body nav .nav-links>li.has-sub:hover>.nav-sub,
  html body nav .nav-links>li.has-sub:focus-within>.nav-sub{opacity:1;visibility:visible;transform:translate(-50%,0)}
  html body nav .nav-links .nav-sub li{display:block;margin:0;padding:0;list-style:none}
  html body nav .nav-links .nav-sub a{
    display:block;padding:10px 14px;border-radius:10px;font-size:14px;font-weight:600;
    white-space:nowrap;letter-spacing:-.02em;color:#3a352f!important}
  html body nav .nav-links .nav-sub a:hover,
  html body nav .nav-links .nav-sub a.active{background:#fbf1e9;color:#8f562f!important}
  html body nav .nav-links .nav-sub .sub-all{display:none}
}

/* ── 모바일 (햄버거 패널 안) ───────────── */
@media (max-width:960px){
  html body nav.hn-ready .nav-links>li.has-sub>a{justify-content:space-between}
  html body nav.hn-ready .nav-links>li.has-sub>a::after{
    content:'';width:8px;height:8px;margin-right:4px;flex-shrink:0;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:rotate(45deg);opacity:.5;transition:transform .2s ease}
  html body nav.hn-ready .nav-links>li.hn-sub-open>a::after{transform:rotate(225deg)}
  html body nav.hn-ready .nav-links .nav-sub{display:none;margin:0;padding:0;list-style:none;background:rgba(181,105,58,.06)}
  html body nav.hn-ready .nav-links>li.hn-sub-open>.nav-sub{display:block}
  html body nav.hn-ready .nav-links .nav-sub li>a{
    min-height:48px!important;padding:0 6% 0 calc(6% + 16px)!important;
    font-size:15px!important;font-weight:500!important}
  html body nav.hn-ready .nav-links .nav-sub .sub-all>a{font-weight:700!important;color:#8f562f!important}
}

/* ── 메뉴 글씨: 더 크게, 검정 ─────────── */
html body nav .nav-links>li>a,
html body nav#main-nav .nav-links>li>a{color:#141210!important;font-size:17px!important;font-weight:700!important;letter-spacing:-.025em}
html body nav .nav-links>li>a:hover,
html body nav#main-nav .nav-links>li>a:hover{color:#8f562f!important}
@media (min-width:961px){
  html body nav .nav-links{gap:44px}
  html body nav .nav-links .nav-sub a,
  html body nav#main-nav .nav-links .nav-sub a{font-size:15.5px!important;color:#141210!important}
  html body nav .nav-links .nav-sub a:hover,
  html body nav#main-nav .nav-links .nav-sub a:hover{color:#8f562f!important}
}
@media (max-width:960px){
  html body nav.hn-ready .nav-links>li>a{font-size:17px!important}
  html body nav.hn-ready .nav-links .nav-sub li>a{color:#141210!important}
}
@media (min-width:961px) and (max-width:1100px){
  html body nav .nav-links{gap:30px}
  html body nav .nav-links>li>a,html body nav#main-nav .nav-links>li>a{font-size:16px!important}
}

/* 메뉴 6개(작명·개명/이름사주/생활상담/콘텐츠/아카데미/고객센터) 간격 + 무료 진단 버튼 키움 */
@media (min-width:1281px){ html body nav .nav-links{gap:36px} }
@media (min-width:1101px) and (max-width:1280px){ html body nav .nav-links{gap:26px} html body nav#main-nav .nav-links>li>a{font-size:16.5px} }
@media (min-width:961px) and (max-width:1100px){ html body nav .nav-links{gap:16px} html body nav#main-nav .nav-links>li>a{font-size:15px} }
html body nav .nav-cta,html body nav .nav-actions .nav-cta{font-size:17px!important;padding:13px 26px!important;font-weight:700!important}
@media (max-width:960px){ html body nav .nav-cta,html body nav .nav-actions .nav-cta{font-size:15px!important;padding:10px 18px!important} }

/* 모바일 입력칸 16px 고정 — iOS 사파리 입력 시 화면 자동 확대 방지 */
@media (max-width:768px){
  html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),
  html body select,
  html body textarea{font-size:16px!important}
}

/* 네이버 플레이스 후기 전체 보기 — 알약 버튼(전 페이지 공통) */
html body a.hn-rv-pill{display:inline-flex;align-items:center;gap:8px;padding:15px 34px;border-radius:999px;border:1.5px solid #493B32;background:transparent;color:#493B32;font-size:17px;font-weight:700;letter-spacing:0;text-decoration:none;line-height:1.2;white-space:nowrap;transition:background .2s,color .2s,transform .2s}
html body a.hn-rv-pill:hover{background:#493B32;color:#fff;transform:translateY(-1px)}
html body .hn-rv-pill-wrap{display:flex;justify-content:center;width:100%;margin:32px 0 4px}
@media (max-width:480px){html body a.hn-rv-pill{padding:14px 26px;font-size:16px}}

/* 상단 메뉴 로고 크기 통일 (전 페이지 동일) */
html body nav img[src*="healingname_logo"]{height:32px!important;width:auto!important;max-width:none}
@media (max-width:480px){html body nav img[src*="healingname_logo"]{height:28px!important}}

/* 콘텐츠 상단 띠(매거진·힐링 서재 공통): 같은 폭·색·여백·정렬, 새 디자인의 밝은 톤 */
html body .hn-band{background:linear-gradient(180deg,#fcefe3 0%,#fdf8f2 62%,#fff 100%)!important;padding:80px 5% 56px!important;text-align:left!important;position:relative;overflow:hidden;color:#1a1713;border-bottom:1px solid #ebe4da}
html body .hn-band .hn-band-in{max-width:1100px;margin:0 auto;position:relative}
html body .hn-band .hn-band-eb{font-size:15px;letter-spacing:.16em;color:#8f562f;font-weight:700;margin:0 0 14px;text-transform:uppercase}
html body .hn-band .hn-band-title{font-size:clamp(30px,4.4vw,42px);line-height:1.3;font-weight:800;letter-spacing:-.035em;color:#1a1713;margin:0 0 12px}
html body .hn-band .hn-band-sub{font-size:17px;line-height:1.8;color:#3b352d;margin:0;max-width:720px}
@media (max-width:520px){html body .hn-band{padding:60px 5% 40px!important}}
/* 서비스 페이지 상단 사진: 다음 섹션 제목과 너무 붙지 않도록 겹침을 줄임 */
html body .pdp-hero .pdp-photo{margin-bottom:-20px}
@media(max-width:768px){html body .pdp-hero .pdp-photo{margin-bottom:-12px}}
