@charset "utf-8";
/*═══════════════════════════════════════════════
  약관·방침 문서 — theme/map/privacy.css
  · 내용관리(content) 스킨에서 불러옵니다.
  · 본문에 <article class="pv-doc"> 가 있을 때만 적용됩니다.
═══════════════════════════════════════════════*/

/* 내용관리 기본 여백·배경을 문서에 맞게 정리합니다
   ※ 편집기가 article·section 같은 태그를 지우므로 문서는 div 로만 짭니다. */
#ctt.ctt_privacy,
#ctt.ctt_provision { margin: 0; padding: 0; background: none; }

/* 본문 영역도 어둡게 — 스킨 기본 흰 배경을 덮습니다 */
#ctt.ctt_privacy, #ctt.ctt_provision,
#ctt.ctt_privacy #ctt_con, #ctt.ctt_provision #ctt_con { background: transparent; }

#ctt.ctt_privacy #ctt_con,
#ctt.ctt_provision #ctt_con { padding: 0; line-height: inherit; }

#ctt.ctt_privacy header h1,
#ctt.ctt_provision header h1 { display: none; }
.pv-doc {
    --pvd-gold:      #d8c6a8;   /* 어두운 배경에서 잘 보이도록 한 톤 밝게 */
    --pvd-gold-deep: #b7a389;
    --pvd-ink:       #ffffff;
    --pvd-body:      #c8c3bc;
    --pvd-mute:      #8b857e;
    --pvd-line:      #37332e;
    --pvd-fill:      #242119;
    --pvd-panel:     #1e1b17;
    --pvd-bg:        #161310;

    position: relative;
    padding: 0 0 100px;
    color: var(--pvd-body);
    font-size: 0.9375rem;
    line-height: 1.8;
    word-break: keep-all;
}

/* 문서가 놓인 화면 전체를 어둡게 (헤더·푸터는 그대로) */
.pv-doc::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--pvd-bg);
}

.pv-doc__inner { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/*───────── 머리말 ─────────*/
.pv-doc__head {
    padding: 60px 0 30px;
    border-bottom: 1px solid var(--pvd-line);
}

.pv-doc__tag {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pvd-gold);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.pv-doc__head h1 {
    margin: 0 0 16px;
    color: var(--pvd-ink);
    font-size: 2.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pv-doc__head p { margin: 0 0 6px; }

.pv-doc__lead {
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--pvd-fill);
    color: var(--pvd-body);
}

.pv-doc__date {
    margin-top: 14px !important;
    color: var(--pvd-mute);
    font-size: 0.875rem;
}

/*───────── 목차 ─────────*/
.pv-toc {
    margin: 26px 0 40px;
    scroll-margin-top: 90px;
    padding: 24px 28px;
    border: 1px solid var(--pvd-line);
    border-radius: 14px;
    background: var(--pvd-fill);
}

.pv-toc__title {
    margin: 0 0 12px;
    color: var(--pvd-ink);
    font-size: 1rem;
    font-weight: 700;
}

.pv-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    counter-reset: toc;
    list-style: none;
}

.pv-toc li { counter-increment: toc; }

.pv-doc .pv-toc a {
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--pvd-line);
    color: var(--pvd-body);
    font-size: 0.9375rem;
}

.pv-doc .pv-toc a:hover { color: var(--pvd-gold-deep); text-decoration: underline; }

/*───────── 조항 ─────────*/
.pv-sec { padding: 34px 0; border-top: 1px solid var(--pvd-line); scroll-margin-top: 90px; }
.pv-toc + .pv-sec { border-top: 0; }

.pv-doc .pv-sec h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid var(--pvd-gold-deep);
    color: var(--pvd-ink);
    font-size: 1.1875rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* 목차로 이동 */
.pv-doc .pv-top {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--pvd-gold-deep);
    color: #1a1712;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pv-doc .pv-top:hover { background: var(--pvd-gold); text-decoration: none; }

/*───────── 주요 처리 표시(라벨링) ─────────*/
.pv-label {
    margin: 26px 0 0;
    padding: 24px 28px;
    border: 1px solid var(--pvd-line);
    border-radius: 14px;
    background: var(--pvd-panel);
}

.pv-label__title {
    margin: 0 0 16px !important;
    padding-left: 12px;
    border-left: 4px solid var(--pvd-gold-deep);
    color: var(--pvd-ink);
    font-size: 1.0625rem;
    font-weight: 800;
}

.pv-label__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.pv-label__item {
    padding: 16px 14px;
    border: 1px solid var(--pvd-line);
    border-top: 3px solid var(--pvd-gold-deep);
    border-radius: 10px;
    background: var(--pvd-fill);
    text-align: center;
}

.pv-label__item b {
    display: block;
    margin-bottom: 8px;
    color: var(--pvd-gold);
    font-size: 0.9375rem;
    font-weight: 700;
}

.pv-label__item span {
    display: block;
    color: var(--pvd-mute);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.pv-label__note {
    margin: 14px 0 0 !important;
    color: var(--pvd-mute);
    font-size: 0.8125rem;
}

.pv-sec p { margin: 0 0 12px; }
.pv-sec p:last-child { margin-bottom: 0; }

.pv-note {
    padding: 12px 16px;
    border-left: 3px solid var(--pvd-gold);
    background: var(--pvd-fill);
    color: var(--pvd-mute);
    font-size: 0.875rem;
}

/*───────── 목록 ─────────*/
.pv-list { margin: 0 0 14px; padding: 0; list-style: none; }

.pv-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
}

.pv-list li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.78em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pvd-gold);
}

.pv-list b { color: var(--pvd-ink); font-weight: 700; }

.pv-list--num { counter-reset: pvnum; }
.pv-list--num li { counter-increment: pvnum; padding-left: 26px; }

.pv-list--num li:before {
    content: counter(pvnum);
    left: 0;
    top: 0.25em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pvd-fill);
    color: var(--pvd-gold-deep);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/*───────── 표 ─────────*/
.pv-table {
    margin: 0 0 16px;
    border: 1px solid var(--pvd-line);
    border-radius: 12px;
    overflow: hidden;
}

.pv-table table { width: 100%; border-collapse: collapse; }
.pv-table caption { display: none; }

.pv-doc .pv-table th,
.pv-doc .pv-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--pvd-line);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.pv-doc .pv-table th {
    background: var(--pvd-fill);
    color: var(--pvd-mute);
    font-weight: 600;
    white-space: nowrap;
}

.pv-doc .pv-table td { color: var(--pvd-body); }
.pv-doc .pv-table td:first-child { color: var(--pvd-ink); font-weight: 600; }
.pv-doc .pv-table td span { color: var(--pvd-mute); font-size: 0.8125rem; font-weight: 400; }
.pv-doc .pv-table tr:last-child th,
.pv-doc .pv-table tr:last-child td { border-bottom: 0; }

/*───────── 보호책임자 ─────────*/
.pv-officer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}

.pv-officer > div {
    padding: 20px 22px;
    border: 1px solid var(--pvd-line);
    border-radius: 12px;
    background: var(--pvd-panel);
}

.pv-officer__label {
    margin: 0 0 12px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pvd-line);
    color: var(--pvd-ink);
    font-size: 0.9375rem;
    font-weight: 700;
}

.pv-officer ul { margin: 0; padding: 0; list-style: none; }

.pv-officer li {
    display: flex;
    gap: 10px;
    padding: 4px 0;
    font-size: 0.875rem;
}

.pv-officer li span { flex: 0 0 62px; color: var(--pvd-mute); }
.pv-officer li b { color: var(--pvd-ink); font-weight: 600; }
.pv-doc .pv-officer a { color: var(--pvd-gold-deep); }
.pv-doc .pv-officer a:hover { text-decoration: underline; }

/*───────── 맺음 ─────────*/
.pv-doc__foot {
    margin-top: 34px;
    padding: 24px 28px;
    border-radius: 14px;
    background: var(--pvd-fill);
    color: var(--pvd-mute);
    font-size: 0.875rem;
}

.pv-doc__foot p { margin: 0 0 4px; }
.pv-doc__foot p:first-child { color: var(--pvd-ink); font-weight: 700; }

.pv-doc a { color: var(--pvd-gold-deep); }

/*───────── 좁은 화면 ─────────*/
@media (max-width: 700px) {
    .pv-doc__head { padding: 40px 0 24px; }
    .pv-doc__head h1 { font-size: 1.625rem; }
    .pv-toc { padding: 20px; }
    .pv-toc ol { grid-template-columns: 1fr; }
    .pv-label { padding: 18px 16px; }
    .pv-label__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pv-doc .pv-sec h2 { font-size: 1.0625rem; }
    .pv-officer { grid-template-columns: 1fr; }
    .pv-doc .pv-table th,
    .pv-doc .pv-table td { padding: 11px 12px; font-size: 0.8125rem; }
    .pv-doc .pv-sec h2 { font-size: 1.125rem; }
}
