.content-items {
    position: relative;
}
.content-item {
    --border-radius : 20px;
    position: relative;
}
.content-item+.content-item {
    margin-top: 25px;
}


/* --------------------------------------------------------------- */
/* ------------------------ text highlight ----------------------- */
/* --------------------------------------------------------------- */

.content-item.is-highlight {
    background-color: rgba(var(--cpn-color-primary),0.15);
    border-radius: var(--border-radius);
    padding: 40px 30px;
}

/* --------------------------------------------------------------- */
/* ---------------------------- button --------------------------- */
/* --------------------------------------------------------------- */

.content-item.is-button {
    display: flex;
    justify-content: center;
    align-self: center;
}
.content-item.is-button .button {
    min-width: 200px;
}

/* --------------------------------------------------------------- */
/* -------------------------- line divider ----------------------- */
/* --------------------------------------------------------------- */

.content-item.is-divider {
    border-top: 1px solid rgba(var(--cpn-color-black-dark), 0.2);
    margin: 50px 0;
}

/* --------------------------------------------------------------- */
/* ---------------------------- gallery -------------------------- */
/* --------------------------------------------------------------- */

.content-item.is-gallery-slide {}
.content-item.is-gallery-slide .gallery-slide.splide .splide-track,
.content-item.is-gallery-slide .img-card {
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
}
.content-item.is-gallery-slide .img-card {
    position: relative;
    width: 100%;
    height: 400px;   
}
.content-item.is-gallery-slide .img-card .splide-list.center {
    justify-content: center;
}
.content-item.is-gallery-slide .img-card>.img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.content-item.is-gallery .loading-img,
.content-item.is-gallery .loading-img-item {
    position: relative;
}

/* loading */
.content-item.is-gallery .loading-img {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 20px);
    margin: 0 -10px;
}
.content-item.is-gallery .loading-img.single {
    justify-content: center;
}
.content-item.is-gallery .loading-img.single .loading-img-item {
    max-width: 100%;
    width: 700px;
    height: 400px;
    background-color: rgba(var(--cpn-color-black),0.1);
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
}
.content-item.is-gallery .loading-img.multi .loading-img-item {
    width: calc((100% / 6) - 10px);
    min-width: calc((100% / 6) - 10px);
    margin: 5px;
    background-color: rgba(var(--cpn-color-black),0.1);
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
}
.content-item.is-gallery .loading-img.multi .loading-img-item:before {
    position: relative;
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 100%;
}

/* list */
.content-item.is-gallery-list .gallery-list-section,
.content-item.is-gallery-list ul.img-items,
.content-item.is-gallery-list ul.img-items>li.img-item {
    position: relative;
}
.content-item.is-gallery-list ul.img-items,
.content-item.is-gallery-list ul.img-items>li.img-item {
    list-style: none !important;
    padding: 0;
    margin: 0;
    width: 100%;
}
.content-item.is-gallery-list ul.img-items>li.img-item+li.img-item {
    margin-top: 30px;
}
.content-item.is-gallery-list ul.img-items>li.img-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content-item.is-gallery-list .text-for-img {
    position: relative;
    text-align: center;
    /* font-size: var(--cpn-smallest-font-size);
    line-height: var(--cpn-smallest-line-height); */
    font-weight: 500 !important;
    margin-top: 10px;
}
.content-item.is-gallery-list .img-card {
    position: relative;
    border-radius: var(--cpn-card-border-radius);
    overflow: hidden;
    max-width: 100% !important;
    min-height: 100px;
}
.content-item.is-gallery-list .img-card .img {
    position: absolute;
    max-width: 100% !important;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.content-item.is-gallery-list.gallery-width-auto .img-card {
    width: auto;
}
.content-item.is-gallery-list.gallery-width-100per .img-card {
    width: 100%;
}
.content-item.is-gallery-list.gallery-width-75per .img-card {
    width: 75%;
}
.content-item.is-gallery-list.gallery-width-50per .img-card {
    width: 50%;
}

/* --------------------------------------------------------------- */
/* ---------------------------- project -------------------------- */
/* --------------------------------------------------------------- */

.content-item.is-project {
    padding: 50px;
    border-radius: var(--border-radius);
    background-color: rgba(var(--cpn-color-primary),0.15);
    /* background-color: rgba(var(--cpn-color-gray-light), 1); */
}
.content-item.is-project .title+.project-card-row,
.content-item.is-project .description+.project-card-row,
.content-item.is-project .count-project+.project-card-row {
    margin-top: 20px;
}
.content-item.is-project .title+.count-project,
.content-item.is-project .description+.count-project {
    border-top: 1px solid rgba(var(--cpn-color-black),0.1);
    padding-top: 20px;
    margin-top: 20px;
}
.content-item.is-project .project-card {
    /* background-color: rgba(var(--cpn-color-gray-light), 1); */
}

/* 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) {

    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-gallery-slide .img-card {
        height: 360px;
    }

}

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

    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-gallery-slide .img-card {
        height: 300px;
    }

}

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

    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-gallery .loading-img.single .loading-img-item {
        width: 700px;
        height: 400px;
    }
    .content-item.is-gallery .loading-img.multi .loading-img-item {
        width: calc((100% / 4) - 10px);
        min-width: calc((100% / 4) - 10px);
        margin: 5px;
        display: none;
    }
    .content-item.is-gallery .loading-img.multi .loading-img-item:nth-child(1),
    .content-item.is-gallery .loading-img.multi .loading-img-item:nth-child(2),
    .content-item.is-gallery .loading-img.multi .loading-img-item:nth-child(3),
    .content-item.is-gallery .loading-img.multi .loading-img-item:nth-child(4) {
        display: block;
    }

    .content-item.is-gallery-slide .img-card {
        height: 335px;
    }
    .content-item.is-gallery-slide .gallery-slide.format-rectangle .img-card {
        height: 450px;
    }

}

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

    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-gallery-list.gallery-width-100per .img-card,
    .content-item.is-gallery-list.gallery-width-75per .img-card,
    .content-item.is-gallery-list.gallery-width-50per .img-card {
        width: 100% !important;
    }

}

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

    /* --------------------------------------------------------------- */
    /* ---------------------------- project -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-project {
        padding: 40px;
    }
     

    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    /* load */
    .content-item.is-gallery .loading-img.single .loading-img-item {
        height: 300px;
    }
    .content-item.is-gallery .loading-img.multi .loading-img-item {
        width: calc((100% / 3) - 10px);
        min-width: calc((100% / 3) - 10px);
    }

    .content-item.is-gallery-slide .img-card {
        height: 300px;
    }

}

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

    /* --------------------------------------------------------------- */
    /* ------------------------ text highlight ----------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-highlight {
        padding: 30px;
    }

    /* --------------------------------------------------------------- */
    /* ---------------------------- project -------------------------- */
    /* --------------------------------------------------------------- */

    .content-item.is-project {
        padding: 30px;
    }
        
    /* --------------------------------------------------------------- */
    /* ---------------------------- gallery -------------------------- */
    /* --------------------------------------------------------------- */

    /* load */
    .content-item.is-gallery .loading-img {
        width: calc(100% + 10px);
        margin: 0 -5px;
    }
    .content-item.is-gallery .loading-img.single .loading-img-item {
        height: 250px;
    }
    .content-item.is-gallery .loading-img.multi .loading-img-item {
        width: calc((100% / 3) - 5px);
        min-width: calc((100% / 3) - 5px);
        margin: 2.5px;
    }

    .content-item.is-gallery.is-gallery-slide .gallery-slide.splide .splide-track {
        width: calc(100% + 60px);
        margin: 0 -30px;
        border-radius: 0;
    }
    .content-item.is-gallery-slide .img-card {
        height: 300px;
    }

}

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