.cards {
    padding: 43px 0 51px;
    position: relative;
}

.card-item-image {
    aspect-ratio: 2 / 1.11;
    overflow: hidden;
    border-radius: 15px 15px 0 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1200px) {
    .home .card-item-image img {
        width: auto;
        height: auto;
    }
}

.archive .card-item-image img,
.blog .card-item-image img {
    width: 100%;
    height: auto;
}

.card {
    border-radius: 15px;
    background-color: var(--color-white);
    box-shadow: 0 0 15px rgba(0,125,197,0.15);
    display: block;
}

.cards-heading h2 {
    padding-bottom: 20px;
    text-align: center;
}

.card-item-content {
    padding: 30px 20px;
}

.card-item-content h3 {
    font-size: 24px;
    color: #000000;
    font-weight: 700;
    padding-bottom: 10px;
    line-height: 1.4em;
    margin-bottom: 0;
}

.card-item-content p {
    font-size: 16px;
    color: var(--color-black);
    margin: 0 0 32px 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.card-list {
    margin-bottom: 0;
    justify-content: center;
}

@media (max-width: 1199px) {
    .card-list > div:not(:last-child) {
        margin-bottom: 32px;
    }
}

.card-item-content button {
    border: none;
}

.cards-wrapper {
    padding: 0 7px;
}

.archive .card-list,
.blog .card-list {
    margin-bottom: -32px;
}

.card-post__item {
    margin-bottom: 32px;
}

@media(min-width: 768px) {
    .card-item-image {
        aspect-ratio: 2 / 1.102;
    }

    .cards-heading {
        margin-bottom: 22px;
    }

    .cards-heading h2 {
        padding-bottom: 0;
    }

    .card-item-content {
        padding: 30px 17px 103px 20px;
    }
    
    .cards {
        padding: 62px 0 75px;
    }

    .card-item-content button {
        left: 20px;
        position: absolute;
        bottom: 30px;
    }

    .card-list {
        margin-bottom: 0;
    }

    .cards-wrapper {
        padding: 0;
    }

    .card-item-content p {
        font-size: 18px;
        margin: 0;
    }

    .card-item-content h3 {
        font-size: 25px;
    }

    .archive .card-item-content h3,
    .blog .card-item-content h3 {
        font-size: 22px;
    }

    .card {
        position: relative;
        height: 100%;
    }

    .cards-strip {
        left: -228px;
        bottom: 126px;
        position: absolute;
    }
}

@media(min-width: 1200px) {    
    .cards-strip {
        left: 0;
        bottom: 164px;
        width: 33px;
    }

    .cards-strip img {
        right: 0;
        width: 261px;
        position: absolute;
        max-width: unset;
    }

    .card-item-image {
        aspect-ratio: 2 / 1.1;
        position: relative;
    }

    .cards-wrapper {
        position: relative;
        z-index: 1;
    }

    .cards {
        padding: 88px 0 100px;
    }

    .card-item-content {
        padding: 40px 32px 120px 32px;
    }

    .card-item-content button {
        left: 32px;
        position: absolute;
        bottom: 40px;
    }

    .card-item-content h3 {
        font-size: 35px;
    }

    .archive .card-item-content h3,
    .blog .card-item-content h3 {
        font-size: 28px;
    }

    .cards-heading {
        margin-bottom: 30px;
    }

    .card:hover {
        text-decoration: none;
        box-shadow: 0 0 15px rgba(0,125,197,0.30);
    }

    .card-item-image:after {
        content: "";
        width: 100%;
        position: absolute;
        height: 0;
        left: 0;
        bottom: 0;
        transition: all ease 0.3s;
        background: rgb(0,125,197);
        background: linear-gradient(0deg, rgba(0,125,197,1) 0%, rgba(0,125,197,0) 100%);
    }

    .card:hover .card-item-content button {
        background: linear-gradient(135deg, rgba(0,42,78,1) 0%,rgba(0,42,78,1) 100%);
        padding-right: 72px;
    }

    .card:hover .card-item-image:after {
        height: 100%;
    }
}


@media(min-width: 1700px) {
    .cards-strip {
        width: 261px;
    }
}

.cards-heading {
    margin-bottom: 30px;
}

.card-heading__button {
    text-align: center;
}

.card-heading__content h2 {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .cards-heading {
        display: flex;
        align-items: flex-end;
        margin-bottom: 10px;
    }

    .card-heading__content {
        flex: 1;
        padding-right: 20px;
    }

    .card-heading__content h2 {
        text-align: left;
    }

    .card-heading__button {
        margin-bottom: 10px;
    }
}