﻿.board-view {
    margin-bottom: 50px;
}

.board-header {
    width: 100%;
    padding: 40px 20px;
    border-top: 1px solid #828282;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ececec;
}

    .board-header p {
        margin: 0;
    }

    .board-header .tit {
        font-size: 20px;
        font-weight: 600;
        color: #000;
        margin-bottom:10px;
    }

    .board-header .date {
        font-size: 17px;
        font-weight: 400;
        color: rgba(0,0,0,0.5);
    }

.board-image {
    width: 500px;
    height: 500px;
    display: flex;
    justify-self: center;
    margin-bottom: 20px;
}

    .board-image img {
        width: 100%;
        height: 100%;
    }

.board-body {
    padding: 50px 25px;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

    .board-body .des {
        font-size: 17px;
        font-weight: 400;
        line-height: 25px;
        color: rgba(0,0,0,0.8);
    }

    .board-body .attach {
        margin-top: 100px;
    }
    .board-body div > p > img {
        width: 100% !important;
        height: 100% !important;
    }

.btn-wrap {
    display: flex;
    background: var(--primary);
    border: none;
    align-items: center;
    justify-content: center;
    width: max-content;
    justify-self: center;
}
.btn-wrap a {
    padding: 15px 45px;
/*    border: 1px solid #000;*/
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
/*    background: #fff;*/
    color: #fff;
    display: flex;
    justify-self: center;
/*    margin-top: 50px;*/
}


.others {
    margin: 50px 0;
}

.category-accent {
    font-size: 20px;
    color: var(--primary);
}

.others .title {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
}

.other-list {
    padding: 0;
}

.other-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    border-bottom: 1px solid #ddd;
}

    .other-item .link {
        width: 100%;
        padding: 15px;
    }

    .other-item .tit {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #000;
    }

    .other-item .date {
        font-size: 14px;
        color: rgba(0,0,0,0.5);
    }

.detail-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.btn-prev, .btn-next {
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    width: 45px;
    height: 45px;
}

.detail-pagination .inactive-button {
    color: #aaa !important;
    pointer-events: none;
}


@media(max-width:991px){
    .board-header {
        display: block !important;
        padding: 20px !important;
    }

        .board-header .tit {
            font-size: 17px !important;
        }

        .board-header .data {
            font-size: 15px !important;
        }
        .attach{
            flex-direction:column;
            align-items:start !important;
        }

}