/**
 * v7/help/safety.css
 *
 * Child Safety Standards 페이지 전용 스타일.
 * 단순·단조로운 중립 색상 + 넓은 여백 + 한/영 병기 가독성.
 * Web Awesome Pro + 커스텀 CSS. Bootstrap 미사용.
 */

/* ── 페이지 ── */
.safety-page {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2rem 1rem;
    max-width: 780px;
    margin: 0 auto;
}

/* ── 헤더 ── */
.safety-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.safety-header h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.35rem;
}

.safety-header__sub {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.2rem;
}

.safety-header__sub-ko {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* ── 섹션 ── */
.safety-section {
    padding-bottom: 0;
}

.safety-section h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
}

.safety-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #475569;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── 앱 정보 카드 ── */
.safety-app-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.safety-app-info__row {
    display: flex;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.safety-app-info__row:last-child {
    border-bottom: none;
}

.safety-app-info__label {
    width: 110px;
    flex-shrink: 0;
    font-weight: 600;
    color: #475569;
}

.safety-app-info__value {
    color: #334155;
}

.safety-app-info__value a {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.safety-app-info__value a:hover {
    color: #1e293b;
}

/* ── 본문 ── */
.safety-desc {
    font-size: 0.9rem;
    line-height: 1.85;
    color: #334155;
    margin: 0 0 1.25rem;
}

.safety-text {
    font-size: 0.9rem;
    line-height: 1.95;
    color: #334155;
    margin-bottom: 1.25rem;
}

.safety-text p {
    margin: 0 0 1rem;
}

.safety-text p:last-child {
    margin-bottom: 0;
}

/* ── 위험 알림 ── */
.safety-alert--danger {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    border-radius: 6px;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.85;
}

.safety-alert--danger p {
    margin: 0 0 0.75rem;
}

.safety-alert--danger p:last-child {
    margin-bottom: 0;
}

.safety-alert--danger strong {
    color: #991b1b;
}

/* ── 정의 리스트 ── */
.safety-def-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.safety-def {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.safety-def:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.safety-def h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.4rem;
}

.safety-def p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
}

/* ── 금지 리스트 (✕) ── */
.safety-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.safety-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.85;
    color: #334155;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.safety-list li:last-child {
    border-bottom: none;
}

.safety-list li::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    top: 4px;
}

/* ── 체크 리스트 (✓) ── */
.safety-list--check li::before {
    content: '✓';
    background: #475569;
    font-size: 0.6rem;
}

/* ── 신고 스텝 ── */
.safety-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.safety-step {
    display: flex;
    gap: 0.7rem;
    background: #f8fafc;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.safety-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #475569;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.safety-step h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: #1e293b;
}

.safety-step p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.safety-step p a {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── 안내 노트 ── */
.safety-note {
    font-size: 0.88rem;
    line-height: 1.85;
    color: #475569;
    background: #f8fafc;
    border-radius: 6px;
    padding: 0.85rem 1.1rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.safety-note a {
    color: #334155;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.safety-note a:hover {
    color: #1e293b;
}

/* ── 관리자 문의 ── */
.safety-admin-contact {
    padding: 0.9rem 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.safety-admin-contact p {
    font-size: 0.88rem;
    color: #475569;
    margin: 0;
}

/* ── 대응 절차 ── */
.safety-procedure-list {
    display: flex;
    flex-direction: column;
}

.safety-procedure {
    padding: 0.9rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.safety-procedure:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.safety-procedure h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.3rem;
}

.safety-procedure p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #64748b;
    margin: 0;
    padding-left: 1rem;
}

/* ── 모바일 ── */
@media (max-width: 767.98px) {
    .safety-page {
        padding: 1.25rem 0.75rem;
        gap: 2rem;
    }

    .safety-header h1 {
        font-size: 1.15rem;
    }

    .safety-app-info__row {
        flex-direction: column;
        gap: 0.1rem;
    }

    .safety-app-info__label {
        width: auto;
        font-size: 0.78rem;
        color: #94a3b8;
    }

    .safety-section h2 {
        font-size: 0.92rem;
    }

    .safety-steps {
        grid-template-columns: 1fr;
    }

    .safety-admin-contact {
        flex-direction: column;
        align-items: flex-start;
    }
}
