@charset "utf-8";

/* media */

.tab-container .section .list-wrap {
    margin-bottom: 40px;
}

.tab-container .section .board-item {
    float: left;
    width: calc(25% - 22.5px);
    margin-right: 30px;
    margin-bottom: 60px;
}

.tab-container .section .board-item:nth-of-type(4n) {
    margin-right: 0;
}

.tab-container .section .board-cont {
    border: 1px solid #d5d5d5;
    border-radius: 20px;
    overflow: hidden;
}

.tab-container .section .board-cont .img-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.tab-container .section .board-cont .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-container .section .board-cont .txt-wrap {
    padding: 20px 15px 30px 15px;
}

.tab-container .section .board-cont .txt-wrap h4 {
    margin-bottom: 10px;
}

.tab-container .section .board-cont .txt-wrap h4 .bold {
    font-size: 16px;
}

.tab-container .section .board-item[data-type="technology"] .txt-wrap h4 .bold {
    color: #3dbaa5;
}

.tab-container .section .board-item[data-type="health"] .txt-wrap h4 .bold {
    color: #004f92;
}

.tab-container .section .board-cont .txt-wrap p {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #0d1c33;
    margin-bottom: 37px;
    overflow: hidden;
    width: 100%;
    height: 2.6em;
    line-height: 1.3em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .tab-container .section .board-cont .txt-wrap p {
        width: calc(100% - 1em);
        margin-right: -1em;
        padding-right: 1em;
        word-break: normal;
    }
    
    .tab-container .section .board-cont .txt-wrap p::before {
        content: '...';
        position: absolute;
        right: 0;
        bottom: 0;
    }
    
    .tab-container .section .board-cont .txt-wrap p::after {
        content: '';
        position: absolute;
        right: 0;
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        background: white;
    }
} */

.tab-container .section .board-cont .txt-wrap span {
    font-size: 13px;
    color: #969696;
}

.tab-container .section .pagination {
    text-align: center;
}

.tab-container .section .pagination li {
    display: inline-block;
}

.tab-container .section .pagination .control-btn {
    margin: 0 5px;
}

.tab-container .section .pagination .control-btn img {
    width: auto;
    height: 28px;
}

.tab-container .section .pagination .page-btn {
    vertical-align: top;
    padding: 5px 10px;
    font-size: 16px;
    color: #333;
}

.tab-container .section .pagination .page-btn.current {
    font-weight: 900;
    color: #3dbaa5;
}


/* responsive */
@media all and (max-width: 1920px) {}
@media all and (max-width: 1366px) {
    .tab-container .section .board-item {
        width: calc(25% - 15px);
        margin-right: 20px;
        margin-bottom: 40px;
    }
}

@media all and (max-width: 1024px) {
    .tab-container .section .board-item {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    .tab-container .section .board-item:nth-of-type(2n) {
        margin-right: 0;
    }
    
    .tab-container .section .board-cont {
        box-shadow: 5px 10px 20px 0 rgba(0, 0, 0, 0.16);
    }
    .tab-container .section .board-cont .txt-wrap p {
        margin-bottom: 10px;
    }
    .tab-container .section .pagination li.control.first,
    .tab-container .section .pagination li.control.last,
    .tab-container .section .pagination li.page:nth-of-type(8),
    .tab-container .section .pagination li.page:nth-of-type(9) {
        display: none;
    }
    .tab-container .section .pagination .control-btn {
        margin: 0 3px;
    }
    
    .tab-container .section .pagination .control-btn img {
        width: auto;
        height: 20px;
    }
    
    .tab-container .section .pagination .page-btn {
        padding: 3px 7px;
        font-size: 14px;
    }
}
@media all and (max-width: 640px) {
    .tab-container .section .board-item {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

}