/* Category UI */
.category-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-item {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: #475569;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

.category-item.active {
    background: #3a7bd5;
    border-color: #3a7bd5;
    color: #fff;
    box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);
}

.category-item .ca-count {
    font-size: 11px;
    opacity: 0.7;
    margin-left: 4px;
    font-weight: normal;
}

.board-list {
    font-size: .9375rem
}

.board-list .board-setup {
    position: relative;
    border: 1px solid #d5d5d5;
    height: 38px;
    margin-bottom: 20px
}

.board-list .board-setup .select {
    position: absolute;
    top: -1px;
    left: -1px;
    display: inline-block;
    width: 200px
}

.board-list .board-setup-btn-box {
    position: absolute;
    top: -1px;
    right: -1px;
    display: inline-block;
    width: 420px
}

.board-list .board-setup-btn {
    float: left;
    width: 25%;
    height: 38px;
    line-height: 38px;
    color: #fff;
    text-align: center;
    font-size: .8125rem
}

.board-list .board-setup-btn:nth-child(odd) {
    background-color: #000
}

.board-list .board-setup-btn:nth-child(even) {
    background-color: #3c3c3e
}

.board-list .board-setup-btn:hover {
    opacity: 0.8
}

.board-list .favorite-setup {
    display: inline-block;
    width: 125px;
    margin-left: 15px
}

.board-list .favorite-setup .toggle {
    padding-right: 45px
}

.board-list .bl-wrap {
    position: relative;
    border-top: 2px solid #757575;
    border-bottom: 1px solid #757575
}

.board-list .bl-wrap>div:nth-last-child(1),
.board-list .bl-wrap>div:nth-last-child(2) {
    border-bottom: 0
}

.board-list .bl-head {
    position: relative;
    display: table;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #757575;
    background-color: #f2f2f2;
    font-weight: 500
}

.board-list .bl-head>div {
    position: relative
}

.board-list .bl-head>div:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 13px;
    background-color: #cacaca;
    transform: translateY(-50%)
}

.board-list .bl-head>div:last-child:before {
    display: none
}

.board-list .bl-head .bl-item {
    display: table-cell;
    vertical-align: middle;
    width: 120px;
    text-align: center
}

.board-list .bl-head .bl-num {
    width: 90px
}

.board-list .bl-head .bl-num-short {
    width: 80px
}

.board-list .bl-head .bl-num-checkbox {
    width: 110px
}

.board-list .bl-head .bl-author {
    width: 150px;
    padding: 0 10
}

.board-list .bl-head .bl-subj {
    display: table-cell;
    vertical-align: middle;
    text-align: center
}

.board-list .bl-list {
    position: relative;
    display: table;
    table-layout: fixed;
    ;
    width: 100%;
    height: 46px;
    border-bottom: 1px solid #eaeaea;
    padding: 8px 0
}

.board-list .bl-list .checkbox i {
    top: 5px
}

.board-list .bl-list.bl-notice {
    background-color: #FFF8EC
}

.board-list .bl-list>div {
    position: relative
}

.board-list .bl-list>div:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 13px;
    background-color: #dadada;
    transform: translateY(-50%)
}

.board-list .bl-list>div:last-child:before {
    display: none
}

.board-list .bl-list .bl-item {
    display: table-cell;
    vertical-align: middle;
    width: 120px;
    text-align: center
}

.board-list .bl-list .bl-num {
    width: 90px
}

.board-list .bl-list .bl-num-short {
    width: 80px
}

.board-list .bl-list .bl-num-checkbox {
    width: 110px
}

.board-list .bl-list .bl-author {
    width: 150px;
    padding: 0 10px;
    text-align: left
}

.board-list .bl-list .poll-label {
    display: inline-block;
    width: 70px;
    height: 20px;
    line-height: 20px;
    font-size: .75rem;
    text-align: center;
    color: #fff;
    background-color: #353535;
    margin-top: 3px;
    margin-bottom: 3px
}

.board-list .bl-list .poll-label.poll-label-image {
    background-color: #3949ab
}

.board-list .bl-list .poll-label.poll-label-video {
    background-color: #5e35b1
}

.board-list .bl-list .bl-subj {
    display: table-cell;
    vertical-align: middle;
    font-weight: 500
}

.board-list .bl-list .bl-subj a {
    position: relative;
    display: inline-block;
    padding: 0 10px
}

.board-list .bl-list .bl-subj a:hover {
    color: #000;
    text-decoration: underline
}

.board-list .bl-list .bl-subj .reply-indication {
    display: inline-block;
    width: 7px;
    height: 10px;
    border-left: 1px dotted #b5b5b5;
    border-bottom: 1px dotted #b5b5b5
}

.board-list .bl-list .bl-subj .bl-label {
    display: inline-block;
    width: 70px;
    height: 20px;
    line-height: 20px;
    font-size: .8125rem;
    text-align: center;
    color: #fff;
    background-color: #a5a5a5;
    margin-left: 10px;
    margin-top: 3px;
    margin-bottom: 3px
}

.board-list .bl-list .bl-subj .bl-new-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 14px;
    background-color: #ab0000;
    margin-right: 2px
}

.board-list .bl-list .bl-subj .bl-new-icon:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    width: 2px;
    height: 6px;
    background-color: #fff
}

.board-list .bl-list .bl-subj .bl-new-icon:after {
    content: "";
    position: absolute;
    top: 4px;
    right: 5px;
    width: 2px;
    height: 6px;
    background-color: #fff
}

.board-list .bl-list .bl-subj .bl-new-icon b {
    position: absolute;
    top: 3px;
    left: 8px;
    width: 2px;
    height: 8px;
    background-color: #fff;
    transform: rotate(-60deg)
}

.board-list .bl-list .bl-comment {
    color: #f4511e
}

.board-list .bl-list .blind-subject {
    color: #b5b5b5;
    cursor: not-allowed
}

.board-list .bl-photo {
    display: inline-block;
    margin-right: 2px
}

.board-list .bl-photo img {
    width: 17px;
    height: 17px;
    border-radius: 50%
}

.board-list .bl-photo .bl-user-icon {
    font-size: .9375rem
}

.board-list .bl-mobile {
    display: none
}

.board-list .bl-mobile.bl-notice {
    background-color: #FFF8EC
}

.board-list .star-ratings-list {
    width: 75px;
    margin: 0 auto
}

.board-list .star-ratings-list li {
    padding: 0;
    float: left;
    margin-right: 0
}

.board-list .star-ratings-list li .rating {
    color: #a5a5a5;
    font-size: .8125rem;
    line-height: normal
}

.board-list .star-ratings-list li .rating-selected {
    color: #ab0000;
    font-size: .8125rem
}

.board-list .bl-no-list {
    text-align: center;
    color: #959595;
    padding: 70px 0
}

@media (max-width:991px) {
    .board-list .bl-head {
        display: none
    }

    .board-list .bl-head-checkbox {
        display: table
    }

    .board-list .bl-head>div:before,
    .board-list .bl-list>div:before,
    .board-list .bl-head .bl-item,
    .board-list .bl-list .bl-item {
        display: none
    }

    .board-list .bl-head .bl-num-checkbox,
    .board-list .bl-list .bl-num-checkbox {
        display: table-cell;
        width: 20px
    }

    .board-list .bl-head .bl-num-checkbox .bl-txt,
    .board-list .bl-list .bl-num-checkbox .bl-txt {
        visibility: visible;
        opacity: 0
    }

    .board-list .bl-head .checkbox,
    .board-list .bl-list .checkbox {
        z-index: 1
    }

    .board-list .bl-list {
        border-bottom: 0
    }

    .board-list .bl-list .bl-subj a {
        padding: 0
    }

    .board-list .bl-mobile {
        position: relative;
        display: block;
        border-bottom: 1px solid #eaeaea;
        padding: 0 0 8px;
        color: #959595
    }

    .board-list .bl-mobile-right {
        position: absolute;
        top: 0;
        right: 0
    }
}