.post-card-section {
    position: relative;
}

.post-card,
.post-card>.inner-row,
.post-card>.inner-row>.inner-col {
    position: relative;
}
.post-card>.inner-row {}

.post-card {
    display: block;
    text-decoration: none !important;
    outline:  none !important;
    /* width: 25%; */
    border-radius: var(--cpn-card-border-radius);
    background-color: rgba(var(--cpn-color-white),1);
    box-shadow: 0 0 0 1px rgba(var(--cpn-color-black-dark), 0.05);
    overflow: hidden;
    /* margin-bottom: 20px; */
    top: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.post-card:hover {
    box-shadow: 0 10px 15px 0 rgba(var(--cpn-color-black-dark), 0.15);
    top: -5px;
}
.post-card>.post-card-col {
    position: relative;
}
.post-card>.post-card-col.this-col-img {
    padding: 5px;
    line-height: 0 !important;
    /* background-color: rgba(255,255,0,1); */
}
.post-card>.post-card-col.this-col-img>.img-sec {
    overflow: hidden;
    border-radius: calc(var(--cpn-card-border-radius) - 5px);
}

.post-card .title {
	font-size: var(--cpn-h4-font-size);
	line-height: var(--cpn-h4-line-height);
    font-weight: 600;
    color: rgba(var(--cpn-color-black), 1);
    max-height: calc(var(--cpn-h4-line-height) * 3);
}
.post-card .description {
    font-size: var(--cpn-small-font-size);
	line-height: var(--cpn-small-line-height);
    color: rgba(var(--cpn-color-gray), 1);
    max-height: calc(var(--cpn-small-line-height) * 2);
}
.post-card .title+.description {
    margin-top: 5px;
}

.post-card-set,
.post-card-set-container {
    position: relative;
}

/* slide */
.post-card-set.splide .splide-track {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -20px;
    margin-bottom: -20px;
}

/* highlight */
.post-card-section.highlight {
    /* background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-image: url("../../../../../frontend.site.cpn/assets.images/img.site/bg-post-highlight.jpg");
    background-color: rgba(var(--cpn-color-secondary), 1);
    color: rgba(var(--cpn-color-white), 1);
    padding-top: 80px;
    padding-bottom: 100px; */
}
/* .post-card-section.highlight .button-more {
    color: rgba(var(--cpn-color-primary), 1) !important;
}
.post-card-section.highlight .button-more:hover {
    color: rgba(var(--cpn-color-white), 1) !important;
} */
.post-card-section.highlight .post-card {
    /* background-color: rgba(var(--cpn-color-black-dark),0.5); */
    box-shadow: 0 0 0 1px rgba(var(--cpn-color-white), 0.05);
    -webkit-backdrop-filter: saturate(100%) blur(20px);
    -moz-backdrop-filter: saturate(100%) blur(20px);
    -ms-backdrop-filter: saturate(100%) blur(20px);
    -o-backdrop-filter: saturate(100%) blur(20px);
    backdrop-filter: saturate(100%) blur(20px);
}
.post-card-section.highlight .post-card:hover {
    /* background-color: rgba(var(--cpn-color-black-dark),0.7); */
    /* background-color: rgba(var(--cpn-color-black-dark),0); */
    /* box-shadow: 0 0 0 1px rgba(var(--cpn-color-white), 1); */
}


.post-card-section.highlight .post-card.color-primary {
    background-color: rgba(var(--cpn-color-primary),1);
}
.post-card-section.highlight .post-card.color-primary .title,
.post-card-section.highlight .post-card.color-primary .description,
.post-card-section.highlight .post-card hr {
    color: rgba(var(--cpn-color-white), 1);
}

.post-card-section.highlight .post-card,
.post-card-section.highlight .post-card.color-secondary {
    background-color: rgba(var(--cpn-color-secondary),1);
}
.post-card-section.highlight .post-card .title,
.post-card-section.highlight .post-card.color-secondary .title,
.post-card-section.highlight .post-card .description,
.post-card-section.highlight .post-card.color-secondary .description,
.post-card-section.highlight .post-card hr,
.post-card-section.highlight .post-card.color-secondary hr {
    color: rgba(var(--cpn-color-white), 1);
}

.post-card-section.highlight .post-card hr {
    margin: 20px 0 !important;
    opacity: 1 !important;
}
.post-card-section.highlight .post-card .description {
    opacity: 0.5;
}


/* --------------------------------------------------------------- */
/* ---------------------------- detail --------------------------- */
/* --------------------------------------------------------------- */

.post-card .detail {
    position: relative;
    margin: auto 0 0 0;
    padding-top: 10px;
}

/* highlight */
.post-card ul.detail-is-highlight,
.post-card ul.detail-is-highlight>li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-card ul.detail-is-highlight>li+li {
    margin-top: 3px;
}
.post-card ul.detail-is-highlight>li {
    text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
    height: 20px;
}
.post-card .detail-is-highlight {
    font-size: var(--cpn-small-font-size);
    line-height:20px;
    /* line-height: var(--cpn-small-line-height); */
    color: rgba(var(--cpn-color-primary), 1);
}
.post-card .detail-is-highlight .icon {
    width: 20px;
    font-size: 15px;
    text-align: center;
}
.post-card .detail-is-highlight .icon+.text {
    width: calc(100% - 20px);
    padding-left: 5px;
}

.post-card .detail-is-cate {
    position: relative;
    font-size: var(--cpn-small-font-size);
    line-height:20px;
    color: rgba(var(--cpn-color-gray), 0.8);
}

/* ============================================================================================== */
/* ============================================== vertical ====================================== */
/* ============================================================================================== */

.post-card-set.layout-vertical {}

/* post card set - slide */
.post-card-set.layout-vertical.layout-slide .post-card-set-container {}

/* post card set - grid */
.post-card-set.layout-vertical.grid .post-card-set-container {
    display: grid;
    gap: 20px;
    /* grid-template-columns: auto auto; */
    /* grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); */
    grid-template-columns: repeat(4,1fr);
}

/* post card */
.post-card.layout-vertical {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}
.post-card.layout-vertical>.post-card-col.this-col-img {
    width: 100%;
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
    padding-bottom: 0;
    /* background-color: #ccc; */
}
/* .post-card.layout-vertical>.post-card-col.this-col-img>.img-sec {
    opacity: 0;
} */
.post-card.layout-vertical>.post-card-col.this-col-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 30px;
    flex: 1 0 0;
}
.post-card.layout-vertical>.post-card-col.this-col-info:before {
    position: absolute;
    content: "";
    width: calc(100% - 60px);
    left: 30px;
    right: 30px;
    top: 0;
    border-top: 1px solid rgba(var(--cpn-color-black-dark),0.1);
}
.post-card.layout-vertical>.post-card-col.this-col-info .highlight {
    margin-top: auto;
}

.post-card.layout-vertical>.post-card-col.this-col-info .detail {
    margin-top: auto;
}

.splide .post-card.layout-vertical {
    height: 100%;
}

/* ============================================================================================== */
/* ============================================== highlight ===================================== */
/* ============================================================================================== */

.post-card-section-is-parent {
    position: relative;
}

.post-card-section-is-parent.bg {}
.post-card-section-is-parent.bg:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background-image: url(../../../images/site/bg-drawing-for-content.png); */
    background-repeat: no-repeat;
    z-index: 1;
}

.post-card-section-is-parent .post-card-section {
    z-index: 2;
}

/* .post-card-section.highlight {
    padding-bottom: 350px;
    margin-bottom: 150px;
}
.post-card-section.highlight .post-card-set.layout-highlight {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: -100px;
} */
/* .post-card-section.highlight .splide-pagination {
    bottom: -30px;
} */
.post-card-section.highlight .splide-arrow.splide-arrow-prev {
    margin-left: -500px !important;
}
.post-card-section.highlight .splide-arrow.splide-arrow-next {
    margin-right: -500px !important;
}

.post-card-set.layout-highlight .splide-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 
.post-card.layout-highlight>.post-card-col.this-col-img,
.post-card.layout-highlight>.post-card-col.this-col-info {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
} */

/* post card */
.post-card.layout-highlight {
    display: flex;
    flex-wrap: nowrap;
    width: 800px;
}
.post-card.layout-highlight .title {
    font-size: var(--cpn-h3-font-size);
    line-height: var(--cpn-h3-line-height);
    max-height: calc(var(--cpn-h3-line-height) * 4);
}
.post-card.layout-highlight .description {
    font-size: var(--cpn-default-font-size);
    line-height: var(--cpn-default-line-height);
    max-height: calc(var(--cpn-default-line-height) * 3);
}
.post-card.layout-highlight .detail-is-cate {
    color: rgba(var(--cpn-color-white), 0.5);
}
.post-card.layout-highlight ul.item-inline-group.divider-dot > li:after {
    background-color: rgba(var(--cpn-color-white), 1);
}
.post-card.layout-highlight>.post-card-col.this-col-img {
    width: 450px;
    height: 450px;
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
}
.post-card.layout-highlight>.post-card-col.this-col-info {
    display: flex;
    flex-direction: column;
    width: calc(100%  - 450px);
    padding: 50px;
}

/* active */
/* .post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-img {
    width: 450px;
    height: 450px;
}
.post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-info {
    width: calc(100%  - 450px);
    padding: 50px;
}
.post-card-set.layout-highlight .post-card.layout-highlight.active {
    width: 800px;
} */

/* ============================================================================================== */
/* ============================================= horizontal ===================================== */
/* ============================================================================================== */

.post-card-set.layout-horizontal {}

/* post card set - slide */
.post-card-set.layout-horizontal.layout-slide .post-card-set-container {}

/* post card set - grid */
.post-card-set.layout-horizontal.grid .post-card-set-container {
    display: grid;
    gap: 20px;
    /* grid-template-columns: auto auto; */
    /* grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); */
    grid-template-columns: repeat(2,1fr);
}

/* post card */
.post-card.layout-horizontal {
    display: flex;
    flex-wrap: nowrap;
}
.post-card.layout-horizontal>.post-card-col.this-col-img {
    width: 305px;
    height: 305px;
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
    /* background-color: #ccc; */
}
/* .post-card.layout-horizontal>.post-card-col.this-col-img>.img-sec {
    opacity: 0;
} */
.post-card.layout-horizontal>.post-card-col.this-col-info {
    display: flex;
    flex-direction: column;
    width: calc(100%  - 305px);
    padding: 30px;
}
.post-card.layout-horizontal>.post-card-col.this-col-info .highlight {
    margin-top: auto;
}

/* xxl */
@media (min-width: 1400px) {}

/* xxl - 1 */
@media (min-width:1500px) and (max-width: 1599.98px) {}

/* xxl - 2 */
@media (min-width: 1400px) and (max-width: 1499.98px) {}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {

    /* ============================================================================================== */
    /* ============================================== vertical ====================================== */
    /* ============================================================================================== */

    /* post card set - grid */
    .post-card-set.layout-vertical.grid .post-card-set-container {
        grid-template-columns: repeat(3,1fr);
    }

    /* ============================================================================================== */
    /* ============================================== highlight ===================================== */
    /* ============================================================================================== */

    /* .post-card-section.highlight {
        padding-bottom: 320px;
        margin-bottom: 100px;
    }
    .post-card-section.highlight .post-card-set.layout-highlight {
        bottom: -80px;
    } */
    .post-card.layout-highlight {
        width: 600px;
    }
    .post-card.layout-highlight>.post-card-col.this-col-img {
        width: 305px;
        height: 305px;
    }
    .post-card.layout-highlight>.post-card-col.this-col-info {
        width: calc(100%  - 305px);
        padding: 30px;
    }
    
    /* active */
    .post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-img {
        width: 400px;
        height: 400px;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-info {
        width: calc(100%  - 400px);
        padding: 50px;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight.active {
        width: 700px;
    }

    .post-card-section.highlight .splide-arrow.splide-arrow-prev {
        margin-left: -420px !important;
    }
    .post-card-section.highlight .splide-arrow.splide-arrow-next {
        margin-right: -420px !important;
    }
    
}

/* md */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* ============================================================================================== */
    /* ============================================== vertical ====================================== */
    /* ============================================================================================== */

    /* post card set - grid */
    .post-card-set.layout-vertical.grid .post-card-set-container {
        grid-template-columns: repeat(2,1fr);
    }

    /* ============================================================================================== */
    /* ============================================== highlight ===================================== */
    /* ============================================================================================== */

    /* .post-card-section.highlight {
        padding-bottom: 320px;
        margin-bottom: 100px;
    }
    .post-card-section.highlight .post-card-set.layout-highlight {
        bottom: -80px;
    } */
    .post-card.layout-highlight {
        width: 600px;
    }
    .post-card.layout-highlight>.post-card-col.this-col-img {
        width: 305px;
        height: 305px;
    }
    .post-card.layout-highlight>.post-card-col.this-col-info {
        width: calc(100%  - 305px);
        padding: 30px;
    }
    
    /* active */
    .post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-img {
        width: 380px;
        height: 380px;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight.active>.post-card-col.this-col-info {
        width: calc(100%  - 380px);
        padding: 40px;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight.active {
        width: 680px;
    }

}

/* sm - xs */
@media (max-width: 767.98px) {

    /* ============================================================================================== */
    /* ============================================== highlight ===================================== */
    /* ============================================================================================== */

    /* .post-card-section.highlight {
        padding-bottom: 0;
        margin-bottom: 0;
    } */
    .post-card-set.layout-highlight .splide-slide {
        align-items:stretch;
    }
    .post-card-section.highlight .post-card-set.layout-highlight {
        position: relative;
        bottom: 0;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight {
        flex-direction: column;
        flex-wrap: wrap !important;
        width: 100% !important;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight>.post-card-col.this-col-img,
    .post-card-set.layout-highlight .post-card.layout-highlight>.post-card-col.this-col-info {
        width: 100% !important;
        height: auto !important;
    }
    .post-card-set.layout-highlight .post-card.layout-highlight>.post-card-col.this-col-info {
        padding: 30px !important;
        flex: 1 0 0;
    }

}

/* sm */
@media (min-width: 576px) and (max-width: 767.98px) {

    /* ============================================================================================== */
    /* ============================================== vertical ====================================== */
    /* ============================================================================================== */

    /* post card set - grid */
    .post-card-set.layout-vertical.grid .post-card-set-container {
        grid-template-columns: repeat(2,1fr);
    }

}

/* xs */
@media (max-width: 575.98px) {

    /* ============================================================================================== */
    /* ============================================== vertical ====================================== */
    /* ============================================================================================== */

    /* post card set - grid */
    .post-card-set.layout-vertical.grid .post-card-set-container {
        gap: 10px;
        grid-template-columns: repeat(2,1fr);
    }

    .post-card.layout-vertical>.post-card-col.this-col-info {
        padding: 20px;
    }

}

/* xs custom */
@media (max-width: 399.98px) {}
