/* 이전 'Why 주소킹?' 글에 적용된 CSS 스타일 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --text-color: #343a40;
    --link-color: var(--primary-color);
    --success-color: #198754; /* Use consistent color for positive/safety points */
    --warning-color: #ff7f0e;
    --danger-color: #dc3545; /* Use consistent color for warnings/dangers */
    --info-color: #0d6efd;
}

body.content-body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #fff;
    padding: 25px;
    word-break: keep-all;
    max-width: 900px; /* Added for readability */
    margin: 0 auto; /* Center align */
}

.content-body h2 {
    font-size: 28px;
    color: #333;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 35px;
    text-align: center;
    border-bottom: 3px solid var(--success-color);
    padding-bottom: 15px;
}

.content-body h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    border-left: 6px solid var(--success-color);
    padding: 10px 18px;
    background-color: #e9f5ec;
}
    .content-body h3 span { /* 아이콘용 span */
        font-size: 1.1em; /* Adjusted size slightly */
        vertical-align: -2px;
        margin-right: 8px;
    }


.content-body p {
    margin-bottom: 18px;
    font-size: 16px;
        color: #495057;
}

.content-body ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-body ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 15px; /* Consider slightly larger size for readability */
        color: #5a6268;
}

/* 목록 앞 아이콘/점 스타일 */
.content-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success-color);
    font-weight: bold;
}

    /* 자녀 보호 팁 리스트 스타일 */
    .content-body .parent-tips {
        padding-left: 0;
        list-style: none;
        margin-top: 25px;
    }
    .content-body .parent-tips li {
    background-color: #e9f5ec;
    padding: 12px 18px 12px 40px;
    border-left: 4px solid var(--success-color);
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
    color: #495057;
    font-size: 16px;
    }
    .content-body .parent-tips li::before {
        content: '👨‍👩‍👧‍👦';
        position: absolute;
        left: 12px;
        top: 12px;
        color: initial;
        font-weight: normal;
        font-size: 1.2em;
    }
    .content-body .parent-tips strong {
        color: var(--success-color);
        font-weight: 600;
        display: block; /* Makes the strong tag take full width if needed */
        margin-bottom: 5px;
    }


.content-body strong {
    font-weight: 600;
}

.content-body a {
    color: var(--link-color); /* Use consistent link color */
    text-decoration: none; /* Remove underline by default */
    transition: color 0.2s ease, text-decoration 0.2s ease; /* Smooth transition */
        font-weight: bold; /* Make links stand out */
}

.content-body a:hover {
    filter: brightness(90%); /* Darken slightly on hover */
    text-decoration: underline; /* Underline on hover */
}

.content-body hr {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 40px 0;
}

    /* 반응형 고려 */
    @media (max-width: 768px) {
        .content-body { padding: 15px; }
        .content-body h2 { font-size: 1.6em; }
        .content-body h3 { font-size: 1.3em; padding: 8px 15px; }
        .content-body p, .content-body ul li { font-size: 0.95em; }
        .content-body .parent-tips li { padding: 10px 15px 10px 35px; }
        .content-body .parent-tips li::before { left: 10px; top: 10px; font-size: 1.1em; }
    }

    /* Added style for warning box */
.warning-box {
    font-size: 15px;
    text-align:center;
    color: var(--danger-color); /* Use danger color for text */
    background-color: #ffebee; /* Light red background */
    padding: 15px; /* Increased padding */
    border-radius: 5px;
    margin-bottom: 45px;
    border: 1px dashed #ffcdd2; /* Dashed red border */
}
.warning-box strong {
    color: var(--danger-color); /* Ensure strong tag also uses danger color */
    font-weight: 700; /* Make it bolder */
    display: block; /* Give it its own line */
    margin-bottom: 5px;
}

/* Added style for final thought box */
.final-thoughts {
    font-size: 17px;
    color: var(--text-color);
    margin-top: 30px;
    background-color: #e9ecef; /* Light gray background */
    border: 1px solid #ced4da; /* Gray border */
    padding: 25px; /* Increased padding */
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}
