.cc-image-grid-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 24px;
}

.cc-grid-item.col-40 {
    width: calc(40% - 12px);
}

.cc-grid-item.col-60 {
    width: calc(60% - 12px);
}

.cc-grid-item.col-100 {
    width: 100%;
}

.cc-item-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.cc-grid-item {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 100% 60%;
    overflow: hidden;
}

.cc-feature-image {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.cc-feature-image img {
    object-fit: contain;
}

.cc-item-content {
    padding: 32px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cc-feature-image {
    padding: 32px !important;
}

.cc-item-title {
    margin: 0;
}

.cc-item-desc {
    margin: 0;
}

.cc-grid-item.img-top {
    .cc-item-inner {
        flex-direction: column;
    }

    background-position: top center;
}

.cc-grid-item.img-bottom {
    .cc-item-inner {
        flex-direction: column-reverse;
    }

    background-position: bottom center;
}

.cc-grid-item.img-top .cc-item-content {
    padding-top: 0px;
}

.cc-grid-item.img-bottom .cc-item-content {
    padding-bottom: 0px;
}

@media (768px <=width <=1024px) {

    /* Same as min-width: 600px and max-width: 1024px */
    .cc-item-content {
        padding: 24px;
    }

    .cc-feature-image {
        padding: 24px !important;
    }
}

@media (width <=767px) {

    /* Same as max-width: 768px */
    .cc-grid-item.col-40 {
        width: 100%;
    }

    .cc-grid-item.col-60 {
        width: 100%;
    }

    .cc-item-content {
        padding: 16px;
    }

    .cc-feature-image {
        padding: 16px !important;
    }

    .cc-image-grid-row {
        gap: 8px;
    }
}