@charset "utf-8";

/* Wrapper */
.ksms-bylaws-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 100px;
    color: #333;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* Header */
.bylaws-header {
    text-align: center;
    margin-bottom: 80px;
}

.bylaws-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: -1px;
}

.bylaws-subtitle {
    font-size: 16px;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Chapter */
.bylaws-chapter {
    margin-top: 50px;
    margin-bottom: 30px;
}

.chapter-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #111; /* Accent line */
    line-height: 1.2;
}

/* Article */
.bylaws-article {
    margin-bottom: 25px;
    padding-left: 14px; /* Align with chapter title text */
}

.article-title {
    font-size: 15px; /* Requested small but readable */
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.article-content {
    font-size: 14px; /* Small body text */
    line-height: 1.7;
    color: #444;
    text-align: justify;
    word-break: keep-all;
}

.article-content ol, .article-content ul {
    margin: 5px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ksms-bylaws-wrapper {
        padding: 40px 20px 80px;
    }

    .bylaws-title {
        font-size: 22px;
    }

    .chapter-title {
        font-size: 18px;
        margin-top: 40px;
    }

    .article-content {
        font-size: 13px; /* Smaller on mobile */
    }
}
