.list-term_project .img-cpt img {
    display: block;
    width: auto;
    height: 30px;
}
.list-term_project .item-pj {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}
.list-term_project .item-pj .head-h3 {
    font-size: 16px;
    color: var(--ac-color);
    font-weight: 300;
    line-height: 1.3;
}
.thumbnail_cpt {
    background: var(--bronze);
    padding: 15px 20px;
    border-radius: 0;
}
.thumbnail_cpt .swiper-slide-thumb-active .list-term_project {
    background: white;
    padding: 10px;
    border-radius: 8px;
}
.list-term_project {
   cursor: pointer;
   transition: all ease-in-out 450ms;
}
.thumbnail_cpt .swiper-wrapper {
    align-items: center;
    justify-content: center;
}
.thumbnail_cpt .list-term_project:hover {
    background: white;
    padding: 10px;
    border-radius: 8px;
}
.thumbnail_cpt {
    background: var(--ms-color);
    padding: 15px 20px;
    border-radius: 0;
}
.thumbnail_cpt .swiper-slide-thumb-active .list-term_project {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
}
.list-term_project {
   cursor: pointer;
   transition: all ease-in-out 450ms;
}

.main_cpt {
    margin-top: 2em;
    padding: 0em 0em;
    position: relative;
}
.content-term_project .swiper {
    padding-bottom: 3em;
}
.btn-term_link {
    text-align: center;
}
.btn-term_link a.btn-cpt_link {
    background: var(--ms-color);
    color: var(--ac-color);
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 400;
    border-radius: 50px;
    transform: scale(1);
}
.btn-term_link a.btn-cpt_link:hover {
    transform: scale(1.1);
}
.cpt-box .thumbnail_cpt {
    width: 100%;
    max-width: 800px;
}
.cpt-box .thumbnail_cpt .swiper-slide-thumb-active .list-term_project {
    background: #c80f1e;
    border-radius: 0;
}
.cpt-box .thumbnail_cpt .swiper-slide-thumb-active .list-term_project .head-h3 {
    color: #fff;
}
.cpt-box .thumbnail_cpt .swiper-slide-visible .list-term_project {
    border: 1px solid #e8e8e8;
    display: block;
    height: 100%;
    width: 100%;
    height: 40px;
    border-radius: 0;
    border-right: 0;
}
.cpt-box .thumbnail_cpt .swiper-slide-visible:first-child .list-term_project {
   border-top-left-radius: 4px;
   border-bottom-left-radius: 4px;
}
.cpt-box .thumbnail_cpt .swiper-slide-visible:last-child .list-term_project {
    border-right: 1px solid #e8e8e8;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.cpt-box .thumbnail_cpt .swiper-slide-visible .list-term_project .item-pj {
    height: 100%;
}
.cpt-box .thumbnail_cpt .swiper-slide-visible .list-term_project .head-h3 {
    font-weight: 400;
}
.cpt-item .card-post_content .b-post {
    display: grid;
    grid-template-columns: 2fr 3fr 5fr;
    grid-gap: 0;
}
.cpt-item .card-post_content .b-post .b-num {
    color: #fff;
    font-weight: 300;
    font-size: 60px;
    background: #c80f1e;
    display: grid;
    place-content: center;
}.cpt-item .card-post_content .b-post .b-num .num-date {
    font-size: 57px;
    line-height: 1;
    text-align: center;
    display: block;
}
.cpt-item .card-post_content .b-post .b-num .j-date {
    font-size: 18px;
    line-height: 1;
    text-align: center;
    display: block;
}
.cpt-item .card-post_content .b-post .b-num{
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    min-height: 100%;
    margin: 0 auto;
    transition: all ease-in-out 600ms;
    transform-style: preserve-3d;
    object-position: center;
}
.cpt-item article.card-post_content .b-thumbnail img, .bx-post .b-thumbnail img {
    border-radius: 0;
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: cover;
    min-height: 100%;
    margin: 0 auto;
    transition: all ease-in-out 600ms;
    transform-style: preserve-3d;
    object-position: center;
}
.cpt-item article.card-post_content .b-thumbnail a {
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
    padding-bottom: calc(0.60*100%);
    display: block;
}
.bx-post .b-thumbnail a{
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
    padding-bottom: calc(0.66*100%);
    display: block;
}
.cpt-item .card-post_content {
    position: relative;
    overflow: hidden;
}
.cpt-item .card-post_content .b-thumbnail {
    overflow: hidden;
    display: block;
    position: relative;
}
.cpt-item .card-post_content .b-post {
    position: relative;
    overflow: hidden;
}
.cpt-item .b-date {
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
    padding-bottom: calc(0.60*100%);
    display: block;
}
.cpt-item .card-post_content .b-info {
    padding: 10px 25px;
}
.cpt-item .card-post_content .b-info .b-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    overflow: hidden;
    min-height: 34px;
    height: 100%;
}
.b-datex {
    font-size: 16px;
    display: block;
    color: #000;
    font-weight: 300;
}
.cpt-item .card-post_content .b-info {
    display: grid;
    grid-gap: 7px;
}
 .swiper-wrapper .content-term_project {
     display: grid;
     grid-template-columns: 2fr 3fr;
     grid-gap: 30px;
}
 .bx-post .b-infox {
     background: #000;
     padding: 20px;
}
 .bx-post .b-infox a {
     color: #fff;
}
 .bx-post .b-infox a .b-title {
     font-size: 18px;
     font-weight: 400;
     color: #fff;
     line-height: 1.3;
     margin: 0;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     position: relative;
     overflow: hidden;
     height: 100%;
}
.swiperx-wrapper {
    display: grid;
    grid-gap: 10px;
}
.cpt-item .card-post_content .b-info {
    background: #fff;
}

.main_cpt {
    overflow: hidden;
}

/*ipad (tablet)*/
@media (max-width: 1028px) {
    .main_cpt {
        padding: 2em;
    }
    .main_cpt {
        padding: 0;
    }
    .main_cpt {
        margin-top: 20px;
    }
    .btn-term_link {
        padding-top: 0em;
    }
    .list-term_project .img-cpt img {
        height: 20px;
    }
    .list-term_project .item-pj .head-h3 {
        font-size: 14px;
    }
    .box-search_sb .row-sb {
        grid-gap: 2em;
    }
    .content-term_project .swiper {
        padding-bottom: 2em;
    }
    .cpt-item .card-post_content .b-post .b-num .num-date {
        font-size: 36px;
   }
    .cpt-item .card-post_content .b-post .b-num .j-date {
        font-size: 16px;
   }
    .cpt-item .b-date {
        padding-bottom: calc(1*100%);
   }
    .cpt-item article.card-post_content .b-thumbnail a {
        padding-bottom: calc(0.79* 100%);
   }
    .bx-post .b-thumbnail a {
        padding-bottom: calc(0.85* 100%);
   }
   .swiper-wrapper .content-term_project {
        display: grid;
        grid-template-columns: 2fr 3fr;
        grid-gap: 10px;
    }
}
/*iphone5 (small smartphone)*/
@media (max-width: 767px) {
    .cpt-box .thumbnail_cpt .swiper-slide-visible .list-term_project{
        border: 1px solid #ddd;
        border-radius: 4px;
    }
    .cpt-box .thumbnail_cpt .swiper-slide {
        width: 100% !important;
        margin-bottom: 7px;
    }
    
    .thumbnail_cpt .swiper-wrapper {
        
        flex-direction: column;
    }
    .btn-term_link a.btn-cpt_link {
        font-size: 14px;
    }
    .swiper-wrapper .content-term_project {
        grid-template-columns: 1fr;
    }
    .bx-post .b-thumbnail a {
        padding-bottom: calc(0.55* 100%);
    }
    .cpt-item article.card-post_content .b-thumbnail a {
        padding-bottom: calc(0.87* 100%);
    }
    .thumbnail_cpt {
        background: var(--ms-color);
        padding: 0;
        border-radius: 0;
    }
}
