﻿.three-cards-alternate .dark-card,
.three-cards-alternate .light-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.three-cards-alternate .card-wrap {
    height: 100%;
    position: relative;
}

.three-cards-alternate .card-bg {
    opacity: 0.9;
}

.three-cards-alternate .card-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: lightgray;
    height: 100%;
}


.three-cards-alternate .dark-card .content {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    z-index: 2;
}

.three-cards-alternate .cards {
    gap: 20px;
}

.three-cards-alternate .title {
    margin-bottom: var(--ng-size-8px);
}

.three-cards-alternate .light-card img {
    padding: 38px 0px 42px 32px;
    width: 100%;
    height: auto;
}

.three-cards-alternate .light-card .content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    position: relative;
    z-index: 2;
}

.three-cards-alternate .dark-card .card-gradient {
    background: linear-gradient(0deg, #0B1632 0%, rgba(11, 22, 50, 0.80) 50%, rgba(11, 22, 50, 0.00) 100%);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.three-cards-alternate .light-card .card-gradient {
    background: linear-gradient(0deg, #F4F3EC 28.08%, rgba(244, 243, 236, 0.00) 92.88%);
    height: 100%;
    opacity: 0.5;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.three-cards-alternate .body {
    margin-bottom: var(--ng-size-24px);
}


@media(max-width:992px) {
    .three-cards-alternate .cards {
        flex-direction: column;
    }

        .three-cards-alternate .cards .col {
            flex: 1;
        }

    .three-cards-alternate .dark-card .content {
        height: 100%;
    }


    .three-cards-alternate .card-bg {
        height: 343px;
    }
}
