.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>.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-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-item:before {
    position: relative;
    display: block;
    content: "";
    width: 100%;
    padding-bottom: 100%;
}

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

/* 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-item {
        width: calc((100% / 4) - 10px);
        min-width: calc((100% / 4) - 10px);
        margin: 5px;
        display: none;
    }
    .content-item.is-gallery .loading-img-item:nth-child(1),
    .content-item.is-gallery .loading-img-item:nth-child(2),
    .content-item.is-gallery .loading-img-item:nth-child(3),
    .content-item.is-gallery .loading-img-item:nth-child(4) {
        display: block;
    }

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

}

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

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