.cards-highlights .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-gap: 16px;
}

.cards-highlights .cards .card {
    padding: 12px 12px 70px 12px;
    border-radius: 4px;
    border: 2px solid rgba(112, 184, 255, 0.5);
    border-bottom: 4px solid #0066cc;
    overflow: visible;
    position: relative;
    background-color: transparent;
}

.cards-highlights .card a {
    color: #0a376d;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.cards-highlights .card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    align-items: flex-start;
}

.cards-highlights .card .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    object-fit: contain;
}

.cards-highlights .card .card-text {
    color: #0a376d;
    line-height: 136%;
    margin-bottom: 20px;
}

.cards-highlights .card .card-text h4,
.cards-highlights .card .card-text h3 {
    color: #0a376d;
    line-height: 136%;
    margin-bottom: 12px;
}

.cards-highlights .card .card-text p {
    color: #0a376d;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 136%;
    margin-bottom: 0;
}

.cards-highlights .card .card-link {
    background-color: #0066cc;
    color: #fff;
    font-weight: 500;
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -2px;
    padding: 0px 30px;
    height: 2px;
    transition:
        height 0.3s ease,
        padding 0.3s ease,
        opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    opacity: 0;
}

.cards-highlights .card .card-link::after {
    content: "";
    background-image: url("white-arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    display: inline-block;
}

.cards-highlights .card a:hover .card-link {
    padding: 36px 30px;
    opacity: 1;
    z-index: 2;
}

@media screen and (max-width: 859px) {
    .cards-highlights .cards {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        margin: 0 20px;
    }

    .cards-highlights .cards .card {
        width: 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .cards-highlights .card .card-text h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cards-highlights .card .card-link {
        padding: 20px 30px;
        opacity: 1;
        z-index: 2;
    }

    .cards-highlights .card a:hover .card-link {
        padding: 20px 30px;
        height: auto;
    }
}
