/*
Theme Name: 헤어스타일 VIP (Hairstyles VIP) (blocksy)
Template: blocksy
Version: 1.261106.2054
Description: 헤어스타일 VIP (Hairstyles VIP) 전용 꾸미기. 설계서(profile.json)의 색·글꼴이 :root 변수로 들어오고, 주제 맞춤 CSS 는 아래 "주제 맞춤" 절에 쓴다.
*/
:root {
  --pbn-primary: #a16207;
  --pbn-accent: #0f766e;
  --pbn-bg: #fffdf7;
  --pbn-text: #292524;
  --pbn-heading-font: "Noto Sans KR", sans-serif;
  --pbn-body-font: "Nanum Gothic", sans-serif;
}
body { background: var(--pbn-bg); color: var(--pbn-text); font-family: var(--pbn-body-font); font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4, .site-title { font-family: var(--pbn-heading-font); }
a { color: var(--pbn-primary); }
a:hover { color: var(--pbn-accent); }
.site-header, .main-header-bar, .site-header-inner { border-bottom: 3px solid var(--pbn-primary); }

/* 글 속 요소 — Serotonin 글 엔진이 이 클래스를 쓴다(요약 상자·표·체크리스트·자주 묻는 질문). 이름은 고정, 모양은 노드마다 다르게 */
.pbn-summary { background: color-mix(in srgb, var(--pbn-primary) 8%, white); border-left: 4px solid var(--pbn-primary); padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 6px; }
.pbn-summary strong { color: var(--pbn-primary); }
.pbn-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 15px; }
.pbn-table th { background: var(--pbn-primary); color: #fff; text-align: left; padding: .6rem .75rem; }
.pbn-table td { border-bottom: 1px solid #e5e7eb; padding: .6rem .75rem; }
.pbn-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pbn-checklist { list-style: none; padding-left: 0; }
.pbn-checklist li { padding-left: 1.75rem; position: relative; margin: .4rem 0; }
.pbn-checklist li::before { content: "✓"; position: absolute; left: .25rem; color: var(--pbn-accent); font-weight: 700; }
.pbn-faq details { border: 1px solid #e5e7eb; border-radius: 6px; padding: .75rem 1rem; margin: .5rem 0; }
.pbn-faq summary { cursor: pointer; font-weight: 600; font-family: var(--pbn-heading-font); }
.pbn-author-box { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; }

/* 모바일(390px) 우선 — 12px 미만 글자·44px 미만 탭 금지 */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .pbn-table { font-size: 14px; }
  .site-header a, .main-navigation a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ===== 주제 맞춤 (⑧ 꾸미기에서 세션이 쓴다: 첫 화면 구성·분위기·헤더·사이드바·푸터) ===== */

/* ===== hairstylesvip.com 주제 맞춤 (A 룩북형 — 모래·로즈 톤, 둥근 사진 카드, 얇은 로즈 구분선, 길이별 칩) ===== */
:root { --hv-rose: #b4536a; --hv-rose-soft: #f6e4e4; --hv-sand: #f7efe6; --hv-sand-2: #ead9c8; --hv-cocoa: #4a3428; --hv-muted: #6f5d52; --hv-display: "Playfair Display", Georgia, serif; }
body, #main-container, .site-main { background: var(--hv-sand) !important; }
body { --theme-palette-color-7: #f7efe6; --theme-palette-color-8: #fffaf5; color: #2f2520; word-break: keep-all; }
a { color: var(--hv-rose); }
a:hover, a:focus { color: var(--hv-cocoa); }

/* 헤더 */
#header [data-row="middle"] { background: #fffaf5; border-bottom: 1px solid var(--hv-sand-2); box-shadow: 0 1px 0 var(--hv-rose-soft); }
.site-branding .site-title-container { display: none; }   /* 로고에 이름이 들어 있어 글자 제목은 숨긴다 */
.site-branding .site-logo-container { --logo-max-height: 64px; }
.site-branding .site-logo-container img, .site-branding img { width: 280px !important; max-width: 64vw; height: auto !important; max-height: none !important; }
.ct-menu-link { color: var(--hv-cocoa) !important; font-weight: 600; min-height: 44px; }
.ct-menu-link:hover { color: var(--hv-rose) !important; }
.ct-header-trigger, .ct-header-search { min-width: 44px; min-height: 44px; }

/* 홈 */
.hv-home { padding-top: 18px; padding-bottom: 48px; }
.hv-band { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 16px; background: linear-gradient(135deg, #fffaf5 0%, var(--hv-rose-soft) 100%); border: 1px solid var(--hv-sand-2); border-radius: 28px; padding: 40px 44px; margin: 6px 0 22px; color: var(--hv-cocoa); }
.hv-kicker { display: inline-block; font-size: .85rem; letter-spacing: .08em; color: var(--hv-rose); margin-bottom: 12px; }
.hv-kicker em { font-family: var(--hv-display); font-size: 1.15rem; font-style: italic; letter-spacing: .02em; }
.hv-band h1 { font-size: 2.3rem; line-height: 1.25; margin: 0 0 12px; color: var(--hv-cocoa); }
.hv-lead { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; color: #5b3d33; }
.hv-sub { margin: 0; color: var(--hv-muted); max-width: 44ch; }
.hv-figure { width: 100%; max-width: 300px; height: auto; justify-self: center; color: var(--hv-rose); display: block; }

.hv-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; }
.hv-chips-label { font-size: .9rem; color: var(--hv-muted); margin-right: 4px; }
.hv-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid var(--hv-sand-2); color: var(--hv-cocoa); font-weight: 600; text-decoration: none; transition: border-color .15s, background .15s; }
.hv-chip:hover, .hv-chip:focus { border-color: var(--hv-rose); background: var(--hv-rose-soft); color: var(--hv-cocoa); }

.hv-title { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 16px; padding-bottom: 10px; border-bottom: 1px solid #e6b9bf; font-size: 1.35rem; }
.hv-title span { color: var(--hv-cocoa); font-weight: 700; }
.hv-title small { font-size: .85rem; color: var(--hv-muted); font-weight: 400; }

.hv-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hv-tile { margin: 0; }
.hv-tile a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 16px 20px; background: #fff; border: 1px solid var(--hv-sand-2); border-radius: 20px; text-decoration: none; min-height: 44px; transition: transform .15s, box-shadow .15s; }
.hv-tile a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,52,40,.08); }
.hv-swatch { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); margin-bottom: 4px; }
.hv-tile strong { font-size: 1.08rem; color: var(--hv-cocoa); }
.hv-tile small { color: var(--hv-muted); font-size: .9rem; line-height: 1.55; }

.hv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hv-card { margin: 0; }
.hv-card-link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--hv-sand-2); text-decoration: none; color: inherit; }
.hv-card-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hv-card-blank { display: flex; align-items: center; justify-content: center; background: var(--hv-rose-soft); color: var(--hv-rose); font-size: 2rem; }
.hv-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.hv-cat { align-self: flex-start; font-size: .8rem; color: var(--hv-rose); background: var(--hv-rose-soft); border-radius: 999px; padding: 2px 10px; }
.hv-card-title { font-weight: 700; font-size: 1.05rem; line-height: 1.45; color: var(--hv-cocoa); }
.hv-card-ex { color: var(--hv-muted); font-size: .92rem; line-height: 1.6; }
.hv-card time { color: #8b776b; font-size: .85rem; font-variant-numeric: tabular-nums; }
.hv-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #e6b9bf; border-radius: 20px; padding: 22px; color: var(--hv-muted); margin: 0; }
.hv-author { margin: 36px 0 0; }
.pbn-author-box { background: #fff; border: 1px solid var(--hv-sand-2); border-radius: 22px; border-left: 0; }
.pbn-author-box strong { color: var(--hv-rose); }

/* 글·목록 */
.entry-content h2 { color: var(--hv-cocoa); padding-bottom: .35rem; border-bottom: 1px solid #e6b9bf; }
.entry-content .pbn-summary { background: var(--hv-rose-soft); border-left-color: var(--hv-rose); border-radius: 16px; }
.entry-content .pbn-summary strong { color: var(--hv-rose); }
.entry-content .pbn-table th { background: var(--hv-cocoa); }
.entry-content .pbn-table td { border-bottom-color: var(--hv-sand-2); }
.pbn-checklist li::before { content: "✂"; color: var(--hv-rose); }
.pbn-faq details { border-color: var(--hv-sand-2); background: #fff; border-radius: 16px; }
.hv-note { margin-top: 2em; padding: 14px 18px; background: #fffaf5; border: 1px solid var(--hv-sand-2); border-radius: 14px; color: var(--hv-muted); font-size: .95rem; }
.entry-card, .ct-archive .entries > article { border-radius: 20px; }

/* 푸터 */
#footer [data-row="bottom"] { background: var(--hv-cocoa); }
.ct-footer-copyright { color: #ead9c8; font-size: .9rem; }

@media (max-width: 1000px) {
  .hv-tiles { grid-template-columns: repeat(3, 1fr); }
  .hv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hv-band { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 22px; }
  .hv-band h1 { font-size: 1.7rem; }
  .hv-figure { max-width: 200px; order: -1; }
  .hv-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hv-tile:first-child { grid-column: span 2; }
  .hv-cards { grid-template-columns: 1fr; }
  .hv-card-img { aspect-ratio: 16 / 10; }
  .hv-title { font-size: 1.2rem; }
}
