main {
    padding-bottom: 20px;
}

/* 글 보기와 편집창의 이미지가 창보다 크면 창 너비에 맞춤 */
.post-content img,
.note-editable img {
    max-width: 100% !important;
    height: auto !important;
}
.post-content table { max-width: 100%; }
.post-content p {margin-bottom:0}


/* Summernote 편집기 내부의 p 태그 여백을 줄임 */
.note-editable p {
    margin: 0 0 0 0;
}
/* 편집창 안의 이미지도 창 너비에 맞춤 */
.note-editor .note-editing-area .note-editable img {
    max-width: 100% !important;
    height: auto !important;
}


.comment-content {
    line-height: 1.7;
    overflow-wrap: break-word;
}

.comment-content img {
    max-width: 100%;
    height: auto;
}

.comment-content iframe {
    max-width: 100%;
}

.comment-content p {margin-bottom:0}

/* .mb-3 이나 .form-group 같은 폼 그룹 내에 required 요소가 포함되어 있다면 */
.mb-3:has([required]) label::after,
.form-group:has([required]) label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.comment-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 3px;
    padding: 1px 5px;
    border-radius: 10px;
    background: #f1f3f5;
    color: #6c757d;
    font-size: 0.75rem;
    line-height: 1.4;
    vertical-align: middle;
}

.comment-count i {
    font-size: 0.75rem;
}


@media (max-width: 767.98px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        min-width: 700px;
    }
}