﻿
.cardWrapper {
    position: relative;
    max-width: 100%;
    height: 192px;
    background: url(/images/card_bg.svg) no-repeat top center;
    border-radius: 25px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background-size: cover;
    transition: box-shadow 0.2s;
}

    .cardWrapper:before {
        content: "";
        position: absolute;
        z-index: -1;
        bottom: -16px;
        right: -16px;
        background: #6d9513;
        height: 90px;
        width: 90px;
        border-radius: 90px;
        transform: scale(1);
        transform-origin: 50% 50%;
        transition: transform 0.25s ease-out;
        opacity: 0.5;
    }

    .cardWrapper:hover {
        text-decoration: none;
        box-shadow: 0 4px 24px 0 rgba(16,50,93,0.16);
    }

        .cardWrapper:hover:before {
            transform: scale(22);
            opacity: 0.5;
        }

        .cardWrapper:hover p,
        .cardWrapper:hover h5,
        .cardWrapper:hover .card-title {
            transition: all 0.3s ease-out;
            color: #ffffff;
        }

    .cardWrapper .card-body {
        display: flex;
        align-items: end;
        width: 85%;
        z-index: 9;
    }

        .cardWrapper .card-body .card-title,
        .cardWrapper .card-body h5 {
            font-size: 1rem;
            color: #ffffff;
        }

        .cardWrapper .card-body .imgArrow {
            position: absolute;
            right: 0.625rem;
            bottom: 0.625rem;
        }

.go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 160px;
    height: 160px;
    overflow: hidden;
    bottom: -30px;
    right: -30px;
    background-color: #001d3a;
    border-radius: 160px 160px 160px 160px;
    transition: background 0.18s;
}

.cardWrapper:hover .go-corner {
    background-color: #6d9513;
}

.row.row-cols-1.row-cols-md-3.row-cols-lg-4 > .col {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .cardWrapper {
        height: 160px;
    }
}

@media (max-width: 575.98px) {
    .cardWrapper {
        height: 110px;
        border-radius: 14px;
    }

    .go-corner {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: -15px;
    }

    .card-body {
        padding: 10px 10px 8px 10px;
    }

        .card-title, .card-body h5 {
            font-size: 0.98rem;
        }
}
