/* ===========================================================
   개인정보 처리방침 페이지
   =========================================================== */
.pp-section { padding-top: 32px; padding-bottom: 64px; }

.pp-intro {
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 28px;
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.7;
}
.pp-intro p { margin: 0; }

/* 요약 표 (수집·이용 한눈에 보기) */
.pp-summary-wrap {
    margin-bottom: 28px;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.pp-summary {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: #fff;
}
.pp-summary th {
    background: #f3f4f6;
    color: #1f2937;
    font-weight: 700;
    text-align: center;
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.82rem;
}
.pp-summary td {
    padding: 14px 10px;
    text-align: center;
    color: #4b5563;
    line-height: 1.55;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.82rem;
}
.pp-summary tr:last-child td { border-bottom: none; }
.pp-summary tr:nth-child(3) th { border-top: 2px solid #e5e7eb; }
@media (max-width: 720px) {
    .pp-summary { font-size: 0.75rem; }
    .pp-summary th, .pp-summary td { padding: 8px 6px; }
}

/* 목차 */
.pp-toc {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 32px;
}
.pp-toc h6 {
    font-size: 0.85rem; font-weight: 700; color: #374151;
    margin: 0 0 12px;
    display: flex; align-items: center; gap: 6px;
}
.pp-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 28px;
}
@media (max-width: 720px) { .pp-toc ol { columns: 1; } }
.pp-toc li { font-size: 0.85rem; color: #4b5563; line-height: 1.95; break-inside: avoid; }
.pp-toc a { color: inherit; text-decoration: none; transition: color .12s; }
.pp-toc a:hover { color: var(--color-sub-accent, #b89468); text-decoration: underline; }

/* 섹션 블록 (아코디언) */
.pp-block {
    margin: 14px 0;
    padding: 0 28px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    scroll-margin-top: 80px;
    transition: box-shadow 0.15s;
}
.pp-block:hover { box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.pp-block > h3 {
    font-size: 1.0rem;
    font-weight: 800;
    color: #b32a2a;
    margin: 0;
    padding: 18px 36px 18px 0;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: border-color 0.15s;
}
.pp-block > h3::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
}
.pp-block.open > h3 {
    border-bottom-color: #f3f4f6;
    padding-bottom: 14px;
}
.pp-block.open > h3::after {
    transform: translateY(-30%) rotate(225deg);
}
.pp-block:not(.open) > *:not(h3) { display: none; }
.pp-block.open { padding-bottom: 22px; }
.pp-block.open > *:first-of-type:not(h3),
.pp-block.open > h3 + * { margin-top: 14px; }
.pp-block p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.85;
    margin: 0 0 12px;
}
.pp-block p:last-child { margin-bottom: 0; }

.pp-block ul {
    margin: 8px 0 12px;
    padding-left: 22px;
}
.pp-block li {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 4px;
}
.pp-block li strong { color: #111; }

.pp-note {
    background: #fffbeb;
    border-left: 3px solid #fbbf24;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.84rem;
    color: #92400e;
    border-radius: 4px;
}

/* 평문 안내(번호 항목, 부서 정보 등 — 원본 정책에서 b 로 줄바꿈된 단락) */
.pp-note-plain {
    font-size: 0.86rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 6px 0;
}
.pp-note-plain a { color: #4b5563; text-decoration: underline; }
.pp-note-plain a:hover { color: var(--color-sub-accent, #b89468); }

/* 표 */
.pp-table-wrap {
    overflow-x: auto;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.pp-table {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
    background: #fff;
}
.pp-table th {
    background: #f9fafb;
    padding: 10px 12px;
    text-align: left;
    font-weight: 700;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.82rem;
}
.pp-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    line-height: 1.6;
    vertical-align: top;
}
.pp-table tr:last-child td { border-bottom: none; }
.pp-table tr:hover td { background: #fafbfc; }

/* 책임자 카드 */
.pp-officer {
    background: #f9fafb;
    border: 1px solid #eef0f3;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
}
.pp-officer-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
    font-size: 0.9rem;
}
.pp-officer-row:last-child { border-bottom: none; }
.pp-officer-label { color: #6b7280; font-weight: 600; }
.pp-officer-value { color: #111; }
@media (max-width: 600px) {
    .pp-officer-row { grid-template-columns: 1fr; gap: 2px; }
}

.pp-list-links li { font-size: 0.88rem; }

.pp-effective {
    margin-top: 18px;
    padding: 10px 14px;
    background: #eef2ff;
    border-radius: 6px;
    color: #4338ca;
    font-weight: 700;
    text-align: center;
}
