.cards-component {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.cards-component .card {
    border-radius: 6px;
    overflow: hidden;
}

.cards-component .card.add-background {
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

.cards-component.cards-style_2 .card:hover {
   background: var( --blue-section-background); 
   color: #fff;
   cursor: pointer;
}

.cards-component.cards-style_2 .card:hover h4,
.cards-component.cards-style_2 .card:hover h3,
.cards-component.cards-style_2 .card:hover .card-content,
.cards-component.cards-style_2 .card:hover .read-more {
    color: #fff;
}

.cards-component.cards-style_2 .card {
    border-bottom: 3px solid var( --blue-section-background);
}

.cards-component .card .image {
    overflow: hidden;
    display: flex;
    padding: 0px 0 30px;
    align-items: center;
    justify-content: center;
}

.cards-component .card .image img {
    max-height: 100%;
    width: auto;
}

.cards-component.cards-style_1 .card .image {
    height: 250px;
}

.cards-component.cards-style_1.image-size-large .card .image {
    height: 300px;
}

.cards-component.cards-style_2 .card .image {
    height: 200px;
    padding-top: 20px;
}

.cards-component.cards-style_2.image-size-large .card .image {
    height: 300px;
}

.cards-component.count-3 .card {
    width: calc(1/3*100% - (1 - 1/3)*30px);
}

.cards-component.count-4 .card {
    width: calc(1/4*100% - (1 - 1/4)*30px);
}

.cards-component.count-5 .card {
    width: calc(1/5*100% - (1 - 1/5)*30px);
}

.cards-component.text-align-center .card-content {
    text-align: center;
}

.cards-component .card-content {
    padding: 0px 30px 30px;
    color: var(--body-color);
}

.cards-component.cards-style_2 .read-more {
    color: var(--blue-section-background);
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
}

.cards-component .card-content p,
.cards-component .card-content ul {
    margin-bottom: 30px;
}

.cards-component .card-content .text > *:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 991px) {
    .cards-component.count-3 .card,
    .cards-component.count-4 .card,
    .cards-component.count-5 .card {
        width: calc(1/2*100% - (1 - 1/2)*30px);
    }
}

@media only screen and (max-width: 767px) {
    .cards-component.count-3 .card,
    .cards-component.count-4 .card,
    .cards-component.count-5 .card {
        width: 100%;
    }
}