/* 그누보드 기본 게시판 제목 숨김 */
#container_title {
    display: none !important;
}
.board-view-bottom {margin-bottom:50px !important;}
/* =========================================================
   GNUBOARD BOARD VIEW
   상세보기 페이지
========================================================= */

.board-view-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    color: #222;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */

.board-view-header {
    padding: 0 0 22px;
    border-bottom: 1px solid #222;
}


/* 카테고리 */

.board-view-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 24px;

    padding: 0 8px;

    margin-bottom: 12px;

    border-radius: 4px;

    background: #eaf6ef;

    color: #23864b;

    font-size: 11px;
    font-weight: 600;

    box-sizing: border-box;
}


/* 제목 */

.board-view-title {
    margin: 0;

    color: #222;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.4;
    letter-spacing: -0.7px;

    word-break: keep-all;
}


/* ---------------------------------------------------------
   META
--------------------------------------------------------- */

.board-view-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0;

    margin-top: 16px;

    color: #888;

    font-size: 13px;
}

.board-view-meta > span {
    display: inline-flex;
    align-items: center;
}

.board-view-meta > span:not(:last-child)::after {
    content: "";

    width: 1px;
    height: 11px;

    margin: 0 11px;

    background: #ddd;
}


/* 작성자 */

.board-view-author {
    color: #444;
    font-weight: 500;
}


/* ---------------------------------------------------------
   ACTION
--------------------------------------------------------- */

.board-view-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 5px;

    margin-top: 15px;
}

.board-view-actions a,
.board-view-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 34px;

    padding: 0 11px;

    border: 1px solid #e1e4e8;
    border-radius: 4px;

    background: #fff;

    color: #777;

    font-size: 12px;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;
}

.board-view-actions a:hover,
.board-view-actions button:hover {
    border-color: #c8cdd3;
    background: #f8f9fa;
    color: #333;
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.board-view-content {
    min-height: 350px;

    padding: 45px 20px 55px;

    color: #444;

    font-size: 15px;
    line-height: 1.9;

    word-break: break-word;

    box-sizing: border-box;
}


/* 본문 이미지 */

.board-view-content img {
    max-width: 100%;
    height: auto;
}


/* 본문 표 */

.board-view-content table {
    max-width: 100%;
}


/* ---------------------------------------------------------
   FILE
--------------------------------------------------------- */

.board-view-files {
    margin: 0 20px;

    padding: 18px 0;

    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.board-view-files-title {
    margin-bottom: 10px;

    color: #555;

    font-size: 13px;
    font-weight: 600;
}

.board-view-file {
    display: flex;
    align-items: center;

    gap: 8px;

    padding: 4px 0;

    color: #666;

    font-size: 13px;
}

.board-view-file a {
    color: #555;
    text-decoration: none;
}

.board-view-file a:hover {
    color: #2867d8;
    text-decoration: underline;
}

.board-view-file-size {
    color: #999;
    font-size: 11px;
}


/* ---------------------------------------------------------
   REACTION
--------------------------------------------------------- */

.board-view-reaction {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    padding: 28px 0;
}

.board-reaction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 80px;
    height: 38px;

    padding: 0 14px;

    border: 1px solid #e2e5e9;
    border-radius: 20px;

    background: #fff;

    color: #666;

    font-size: 13px;

    cursor: pointer;

    box-sizing: border-box;
}

.board-reaction-btn:hover {
    border-color: #2867d8;
    color: #2867d8;
}


/* ---------------------------------------------------------
   PREV / NEXT
--------------------------------------------------------- */

.board-view-navigation {
    margin-top: 10px;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.board-view-nav-item {
    display: flex;
    align-items: center;

    min-height: 55px;

    border-bottom: 1px solid #eee;

    text-decoration: none;
}

.board-view-nav-item:last-child {
    border-bottom: 0;
}

.board-view-nav-label {
    width: 90px;
    flex-shrink: 0;

    padding-left: 20px;

    color: #888;

    font-size: 13px;
}

.board-view-nav-title {
    flex: 1;

    overflow: hidden;

    padding-right: 20px;

    color: #444;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.board-view-nav-date {
    width: 100px;

    color: #999;

    font-size: 12px;

    text-align: right;
}


/* ---------------------------------------------------------
   BUTTON AREA
--------------------------------------------------------- */

.board-view-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 25px;
}

.board-view-btn-group {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* 버튼 */

.board-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 76px;
    height: 40px;

    padding: 0 14px;

    border: 1px solid #ddd;
    border-radius: 4px;

    background: #fff;

    color: #555;

    font-size: 13px;

    text-decoration: none;

    box-sizing: border-box;

    transition: .2s;
}

.board-view-btn:hover {
    background: #f7f8fa;
    border-color: #cfd3d8;
}


/* 메인 버튼 */

.board-view-btn.primary {
    border-color: #2867d8;
    background: #2867d8;

    color: #fff;
}

.board-view-btn.primary:hover {
    border-color: #1e55b8;
    background: #1e55b8;
}


/* ---------------------------------------------------------
   COMMENT
--------------------------------------------------------- */

.board-comment-wrap {
    margin-top: 55px;

    padding-top: 30px;

    border-top: 1px solid #222;
}

.board-comment-title {
    display: flex;
    align-items: center;

    margin-bottom: 20px;

    color: #222;

    font-size: 16px;
    font-weight: 700;
}

.board-comment-title strong {
    margin-left: 5px;

    color: #2867d8;
}


/* 댓글 */

.board-comment-item {
    padding: 18px 0;

    border-bottom: 1px solid #eee;
}

.board-comment-head {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 8px;
}

.board-comment-name {
    color: #333;

    font-size: 13px;
    font-weight: 600;
}

.board-comment-date {
    color: #aaa;

    font-size: 11px;
}

.board-comment-content {
    color: #555;

    font-size: 13px;
    line-height: 1.7;
}


/* 댓글 작성 */

.board-comment-write {
    display: flex;

    margin-top: 20px;

    border: 1px solid #ddd;
    border-radius: 5px;

    overflow: hidden;
}

.board-comment-write textarea {
    flex: 1;

    min-height: 80px;

    padding: 13px;

    border: 0;

    outline: none;

    resize: vertical;

    color: #333;

    font-size: 13px;

    box-sizing: border-box;
}

.board-comment-write button {
    width: 90px;

    border: 0;
    border-left: 1px solid #ddd;

    background: #f7f8fa;

    color: #444;

    cursor: pointer;
}

.board-comment-write button:hover {
    background: #2867d8;
    color: #fff;
}


/* ---------------------------------------------------------
   SECRET
--------------------------------------------------------- */

.board-secret {
    padding: 80px 20px;

    text-align: center;

    border-top: 2px solid #222;
    border-bottom: 1px solid #eee;
}

.board-secret-icon {
    margin-bottom: 15px;

    font-size: 30px;
}

.board-secret h3 {
    margin: 0 0 8px;

    font-size: 18px;
}

.board-secret p {
    margin: 0 0 20px;

    color: #888;

    font-size: 13px;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 768px) {

    .board-view-header {
        padding-bottom: 18px;
    }

    .board-view-title {
        font-size: 21px;
    }

    .board-view-meta {
        font-size: 12px;
    }

    .board-view-meta > span:not(:last-child)::after {
        margin: 0 7px;
    }

    .board-view-actions {
        justify-content: flex-start;
    }

    .board-view-content {
        min-height: 250px;

        padding: 30px 5px 40px;

        font-size: 14px;
        line-height: 1.8;
    }

    .board-view-files {
        margin: 0;
    }

    .board-view-bottom {
        flex-wrap: wrap;
        gap: 8px;
    }

    .board-view-btn-group {
        width: 100%;
    }

    .board-view-btn {
        flex: 1;
    }

    .board-view-nav-label {
        width: 65px;
        padding-left: 10px;
    }

    .board-view-nav-date {
        display: none;
    }

    .board-view-nav-title {
        padding-right: 10px;
    }

    .board-comment-wrap {
        margin-top: 40px;
    }

    .board-comment-write {
        display: block;
    }

    .board-comment-write textarea {
        display: block;

        width: 100%;

        min-height: 90px;
    }

    .board-comment-write button {
        width: 100%;
        height: 42px;

        border-top: 1px solid #ddd;
        border-left: 0;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 480px) {

    .board-view-title {
        font-size: 19px;
    }

    .board-view-meta {
        line-height: 1.8;
    }

    .board-view-actions a,
    .board-view-actions button {
        height: 32px;
        padding: 0 9px;
        font-size: 11px;
    }

    .board-view-content {
        padding-left: 0;
        padding-right: 0;
    }

    .board-view-navigation {
        margin-top: 0;
    }

    .board-view-nav-item {
        min-height: 50px;
    }

}