/* ════════════════════════════════════════════════════════════
   더피소 서브 페이지 공통 스타일 (2026-09-23)
   스토리·고문 소개·보도 자료·콘서트·게시판이 같이 쓴다.
   메인(index.php / mobile.php)과 같은 검정 + 금색, 한글 Pretendard · 영문 Cormorant Garamond.
   메뉴와 바닥 HTML 은 partials/site.php 에 있다.
════════════════════════════════════════════════════════════ */
:root {
    --bg:          #0b0b0b;
    --bg-alt:      #101010;
    --surface:     #161616;
    --surface-2:   #1b1b1b;
    --line:        rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);
    --text:        rgba(255,255,255,0.92);
    --text-2:      rgba(255,255,255,0.68);
    --text-3:      rgba(255,255,255,0.46);
    --gold:        #c9a96e;
    --gold-2:      #e0c48f;
    --gold-soft:   rgba(201,169,110,0.14);
    --radius:      14px;
    --nav-h:       60px;
    --sans:  'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    --serif: 'Cormorant Garamond', 'Pretendard Variable', serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.tps {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: normal;
    word-break: keep-all;          /* 한글을 낱자 중간에서 자르지 않는다 */
    overflow-wrap: anywhere;
    -webkit-font-smoothing: antialiased;
}
body.tps a { color: inherit; }
body.tps img, body.tps video { max-width: 100%; }

/* ── 위쪽 메뉴: 넓은 화면은 한 줄, 좁으면 가로로 밀어 본다 (모바일 메인과 같은 방식) ── */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center; gap: 18px;
    padding: 0 24px;
    background: rgba(11,11,11,0.86);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
}
.site-brand {
    flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
}
.site-brand img { width: 30px; height: 30px; border-radius: 50%; }
.site-brand span {
    font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
    letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.site-menu {
    flex: 1 1 auto; min-width: 0;
    display: flex; align-items: center; justify-content: flex-end; gap: 4px;
    margin: 0; padding: 0; list-style: none;
    overflow-x: auto; scrollbar-width: none;
}
.site-menu::-webkit-scrollbar { display: none; }
.site-menu a {
    display: inline-flex; align-items: center; height: 36px; padding: 0 12px;
    border-radius: 999px; white-space: nowrap;
    font-size: 0.92rem; font-weight: 600; color: var(--text-2);
    text-decoration: none; transition: color 0.2s, background 0.2s;
}
.site-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.site-menu a.is-current { color: #0b0b0b; background: var(--gold); }
@media (max-width: 991px) {
    .site-nav { padding: 0 0 0 14px; gap: 10px; }
    .site-brand span { display: none; }           /* 좁으면 로고만 */
    .site-menu {
        justify-content: flex-start; padding-right: 20px;
        -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
        mask-image: linear-gradient(to right, #000 88%, transparent);
    }
    .site-menu a { border: 1px solid var(--line-strong); font-weight: 500; font-size: 0.875rem; }
    .site-menu a.is-current { border-color: var(--gold); }
}

/* ── 페이지 머리: 금색 세리프 이탤릭 영문 + 굵은 한글 제목 (메인 섹션 제목과 같다) ── */
.page-hero { padding: 64px 20px 40px; text-align: center; }
.page-hero .eyebrow {
    display: block;
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: 1.3rem; color: var(--gold); letter-spacing: 0.02em;
}
.page-hero h1 {
    margin: 4px 0 0;
    font-family: var(--sans); font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.3; letter-spacing: -0.02em;
    color: #fff;
}
.page-hero .divider { width: 40px; height: 2px; margin: 18px auto 0; background: var(--gold); border-radius: 2px; }
.page-hero .desc { margin: 16px auto 0; max-width: 560px; color: var(--text-2); font-size: 0.98rem; }

.page-body { max-width: 1080px; margin: 0 auto; padding: 0 20px 80px; }
.page-body.narrow { max-width: 760px; }

/* ── 공통 부품 ── */
.card-dark {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.btn-gold, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 20px; border-radius: 999px;
    font-family: var(--sans); font-size: 0.92rem; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-gold  { background: var(--gold); color: #0b0b0b !important; border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }
.chip-tag {
    display: inline-block; padding: 3px 12px; border-radius: 999px;
    background: var(--gold-soft); color: var(--gold) !important;
    font-size: 0.82rem; font-weight: 600; text-decoration: none;
}
.chip-tag.is-active { background: var(--gold); color: #0b0b0b !important; }
.gold-link { color: var(--gold) !important; text-decoration: underline; text-decoration-color: rgba(201,169,110,0.4); text-underline-offset: 3px; }

/* ── 바닥 ── */
.site-footer {
    padding: 36px 20px calc(36px + env(safe-area-inset-bottom));
    text-align: center; background: #070707; border-top: 1px solid var(--line);
    font-family: var(--sans);
}
.site-footer .brand { font-family: var(--serif); font-weight: 500; font-size: 1rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.site-footer .copy { margin-top: 6px; font-size: 0.78rem; color: rgba(255,255,255,0.34); }

/* ── 게시판 보정: 영문 글꼴(Cormorant·Nunito)로 나오던 한글을 Pretendard 로, 옛 고정 메뉴용 여백 줄이기 ── */
body.tps input, body.tps textarea, body.tps select, body.tps button { font-family: var(--sans); }
body.tps .post-title { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
body.tps .pw-modal-title { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; }
body.tps .view-wrap { padding-top: 44px; }
body.tps .cat-badge { white-space: nowrap; letter-spacing: 0.02em; }   /* 「공연공지」가 좁은 칸에서 한 글자씩 꺾이던 것 */
body.tps .form-label, body.tps .form-label-sm, body.tps .attach-title { letter-spacing: 0.02em; font-size: 0.82rem; }   /* 한글 칸 이름이 「카 테 고 리」처럼 벌어지던 것 */

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
