:root {
    --color-primary: #2e3192;
    --color-text-primary: #000000;
    --color-text-secondary: #3d3d3e;
    --color-text-light: #7a7b7b;
    --color-text-placeholder: #a6a6a6;
    --color-text-date: #b7b8b9;
    --color-background-light: #f4f5f6;
    --color-background-white: #ffffff;
    --color-border: #e3e3e3;
    --color-button-disabled: #b7b8b9;
    --font-main: "Noto Sans KR", "Pretendard", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.article-post {
    border: 1px solid var(--color-primary);
}

.article-header {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border, #e3e3e3);
    border-top: 2px solid var(--primary-blue-500m, #2e3192);
}

.article-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 16px 0;
    color: var(--color-text-primary);
}

.article-date {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-date);
    margin: 0;
}

.article-content {
    margin-top: 14px;
    padding: 24px 40px;
}

.article-body {}
.article-body table {float:none!important;}
.article-body p {
    font-size: 16px;
    line-height: 1.5;
    margin: 1rem 0;
    white-space: pre-wrap;
    word-break: keep-all;
}

.attachments-section {
    padding: 0 40px 14px 40px;
}

.attachments-box {
    background-color: var(--color-background-light);
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}

.attachment-link img {
    width: 24px;
    height: 24px;
}

.post-navigation {
    border-top: 1px solid var(--color-border);
}

.article-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-info .stat-item,
.article-meta .meta-value {
    color: var(--gray-400, #b7b8b9);
    font-size: 16px;
    line-height: 1.5;
    /* 24px */
}

.attachments-section {
    margin-top: 14px;
    padding: 24px 40px;
}

.attachment-list {
    background: var(--gray-100, #f4f5f6);
    display: flex;
    padding: 12px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.attachment-item {
    display: flex;
    align-items: center;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    /* 24px */
    gap: 16px;
}

.article-navigation {
    display: flex;
    border-top: 1px solid var(--border, #e3e3e3);
    border-bottom: 1px solid var(--border, #e3e3e3);
    flex-direction: column;
}

.article-navigation .nav-item {
    padding: 24px 40px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    /* 24px */
    display: flex;
}

.article-navigation .nav-item+.nav-item {
    border-top: 1px solid var(--border, #e3e3e3);
}

.article-navigation .nav-item:hover {
    background: var(--gray-100, #f4f5f6);
}

.article-navigation .nav-item.disabled,
.article-navigation .nav-item.disabled:hover {
    background: transparent;
    opacity: 0.5;
}

.article-navigation .nav-label {
    margin-right: 14px;
}

.article-navigation .nav-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4L6 14Z' fill='%237A7B7B'/%3E%3C/svg%3E%0A");
    background-size: 24px 24px;
    background-repeat: no-repeat;
    text-indent: -9999px;
}

.article-navigation .nav-prev-icon {
    transform: rotate(180deg);
    text-indent: 9999px;
}

.article-navigation .nav-icon.nav-next-icon {}

.bbs-view-actions {
    margin-top: 96px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bbs-view-actions .action-group {
    position: absolute;
    top: 0;
    right: 0;
    gap: 12px;
    display: flex;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 18px;
    }

    .article-header {
        padding: 16px 20px;
    }

    .article-date {
        font-size: 14px;
    }

    .article-content {
        margin-top: 10px;
        padding: 16px 20px;
    }

    .article-body {}

    .article-body p {
        font-size: 14px;
    }

    .attachments-section {
        padding: 0 20px 14px 20px;
    }

    .attachments-box {
        background-color: var(--color-background-light);
        padding: 12px 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .attachment-link {
        display: flex;
        align-items: center;
        gap: 16px;
        font-size: 16px;
    }

    .attachment-link img {
        width: 24px;
        height: 24px;
    }

    .post-navigation {
        border-top: 1px solid var(--color-border);
    }

    .article-info {
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta {
        gap: 12px;
    }

    .article-info .stat-item,
    .article-meta .meta-value {
        font-size: 14px;
    }

    .attachments-section {
        margin-top: 10px;
        padding: 16px 20px;
    }

    .attachment-list {
        padding: 8px 16px;
        gap: 12px;
    }

    .attachment-item {
        font-size: 14px;
    }

    .article-navigation .nav-item {
        padding: 16px 20px;
        font-size: 14px;
    }

    .article-navigation .nav-label {
        margin-right: 10px;
    }

    .article-navigation .nav-icon {
        display: block;
        width: 20px;
        height: 20px;
        margin-right: 20px;
        background-size: 20px 20px;
    }

    .bbs-view-actions {
        margin-top: 48px;
        gap: 12px;
    }

    .bbs-view-actions .action-group {
        position: static;
        gap: 12px;
    }

    .bbs-view-actions .action-group .btn {
        flex: 1 1 auto;
        width: 50%;
    }
}