
.tab-filter {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: center;
    padding-bottom: 12px;
    margin-bottom: 50px;

    scrollbar-width: thin;
}

.tab-filter::-webkit-scrollbar {
    height: 6px;
}

.tab-filter::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 999px;
}

.tab-btn {
    flex-shrink: 0;

    border: 0;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 999px;

    background: #cfd6d7;
    color: #333;

    font-size: 18px;
    transition: all .3s;
}

.tab-btn.active {
    background: #009482;
    color: #fff;
}
.tab-btn:hover {
    background: #009482;
    color: #fff;
}

 a{
    text-decoration:none;
 }
 .card-item{
    display:flex;
    flex-direction:column;
    text-decoration:none;
}

.card-desc{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.cardlist-btn{
    margin-top:auto;
    text-align: center;
    padding:12px 24px;
    border:1px solid #323C50;
    border-radius:999px;
    color:#323C50;
    transition:.5s;
}


.card-item-content{
    flex:1;
}

.card-btn{
    margin-top:auto;
}
.article-item:hover{
    transform:translateY(-2px);
}
.article-item:hover .cardlist-btn{
    background:#323C50;
    color:#fff;
}
.article-item{
    
    transition:.5s;
 
}

/* 頁碼 */
.article-item.is-hidden {
    display: none !important;
}

.pagination-wrap {
    margin-top: 56px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #323C50;
    border-radius: 50%;

    background: #fff;
    color: #323C50;

    font-size: 16px;
    cursor: pointer;

    transition: all .3s;
}

.page-btn:hover,
.page-btn.active {
    background: #009688;
    border-color: #009688;
    color: #fff;
}


@media (max-width: 767px){

    .tab-filter{
        justify-content:flex-start;
    }

}