.stacking-cards-button-wrapper {
    display: flex;
    height: unset;
    margin-bottom: 30px;
}

.stacking-cards-container {
    display: flex;
    display: -ms-flexbox;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    flex-wrap: wrap;
    justify-content: space-around;
    overflow: hidden;
}

.stacking-cards {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    color: #fff;
    transition: 0.3s;
    -ms-flex-direction: column;
    flex-direction: column;
    word-wrap: break-word;
}

.stacking-cards.green-background a:not(.edu-button),
.stacking-cards.grey-background a:not(.edu-button),
.stacking-cards.blue-background a:not(.edu-button),
.stacking-cards.red-background a:not(.edu-button),
.stacking-cards.purple-background a:not(.edu-button),
.stacking-cards.orange-background a:not(.edu-button),
.stacking-cards.black-background a:not(.edu-button) {
    color: #ffffff;
    display: flex;
    flex-grow: 1;
}

.stacking-cards.white-background a:not(.edu-button) {
    display: flex;
    flex-grow: 1;
}

.stacking-cards.green-background.light a:not(.edu-button),
.stacking-cards.grey-background.light a:not(.edu-button),
.stacking-cards.blue-background.light a:not(.edu-button),
.stacking-cards.red-background.light a:not(.edu-button),
.stacking-cards.purple-background.light a:not(.edu-button),
.stacking-cards.orange-background.light a:not(.edu-button),
.stacking-cards.black-background.light a:not(.edu-button),
.stacking-cards.white-background a:not(.edu-button) {
    color: #262423;
}

.stacking-cards-shadow {
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.16);
    color: #262423;
}

.stacking-cards-shadow div.heading4,
.stacking-cards-shadow p {
    color: #262423;
}

.stacking-cards-image-wrapper {
    position: relative;
    padding-top: 175px;
    width: 100%;
    overflow: hidden;
}

.stacking-cards-image-video-container {
    position: relative;
    width: 100%;
}

.stacking-cards-image {
    width: 100%;
}

.card-details {
    min-height: 230px;
    padding: 25px 40px 40px 40px;
    display: flex;
    flex-direction: column;
}

.heading4.card-title {
    margin-bottom: 8px;
    font-family: NotoSans-Bold;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.22px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 500;
}

.card-details p {
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-details .card-icon {
    display: inline-block;
    width: 38px;
}

.card-details .card-icon>svg {
    width: 38px;
    margin-top: auto;
}


/* Hover state */
a.stacking-cards-button-wrapper:focus {
    outline: 1px auto #1157be;
    outline-offset: 4px;
    box-shadow: 0 0 0 1px #ffffff;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.white-background {
    background: #edeeee;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.orange-background {
    background: #FF791A;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.red-background {
    background: #B23B3B;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.green-background {
    background: #2A641C;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.blue-background {
    background:#0855DB;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.purple-background {
    background: #704A78;
}

a.stacking-cards-button-wrapper:hover .stacking-cards.light {
    background: #FFF;
}

@media (max-width: 1200px) {
    .card-details {
        padding: 25px 40px 40px 40px;
    }
}

@media (max-width: 768px) {
    .stacking-card a.stacking-cards-button-wrapper,
    .stacking-card div.stacking-cards-wrapper {
        margin: 0;
        margin-bottom: 30px;
        padding: 0;
    }
    .stacking-cards-image-wrapper {
        max-width: unset;
        padding-top: 40%;
    }
}

@media (forced-colors: active) and (prefers-color-scheme: light) {
    .stacking-cards {
        border: 1px solid #000;
    }
    .stacking-cards .white-fill,
    .stacking-cards .red-fill.light,
    .stacking-cards .blue-fill.light,
    .stacking-cards .green-fill.light,
    .stacking-cards .purple-fill.light,
    .stacking-cards .orange-fill.light,
    .stacking-cards .red-fill,
    .stacking-cards .blue-fill,
    .stacking-cards .purple-fill,
    .stacking-cards .green-fill,
    .stacking-cards .orange-fill {
        fill: #0000ee;
    }
    .stacking-cards .hex-arrow {
        fill: #fff!important;
    }
}

@media (forced-colors: active) and (prefers-color-scheme: dark) {

    .stacking-cards {
        border: 1px solid #fff;
    }
    .stacking-cards .white-fill,
    .stacking-cards .red-fill.light,
    .stacking-cards .blue-fill.light,
    .stacking-cards .green-fill.light,
    .stacking-cards .purple-fill.light,
    .stacking-cards .orange-fill.light,
    .stacking-cards .red-fill,
    .stacking-cards .blue-fill,
    .stacking-cards .purple-fill,
    .stacking-cards .green-fill,
    .stacking-cards .orange-fill {
        fill: #ffff00;
    }
    .stacking-cards .hex-arrow {
        fill: #000!important;
    }
}

.attached-video-player-link:focus {
    outline: auto;
    outline-color: #000;
    outline-offset: -2px;
}

@media (min-width: 578px) and (max-width: 768px) {
    .stacking-cards-image-wrapper .attached-video-player-link .video-play-icon-position {
        width: 12%;
    }
}

.stacking-cards-button-wrapper .attached-video-player-link .video-play-icon-position {
    width: 61px;
}
.stacking-cards.green-background.light > a:hover,
.stacking-cards.grey-background.light > a:hover,
.stacking-cards.blue-background.light > a:hover,
.stacking-cards.red-background.light > a:hover,
.stacking-cards.purple-background.light > a:hover,
.stacking-cards.orange-background.light > a:hover,
.stacking-cards.black-background.light > a:hover {
    background: #ffffff;
}
.stacking-cards.green-background > a:hover {
    background: #2a641c;
}
.stacking-cards.blue-background > a:hover {
    background: #0855db;
}
.stacking-cards.red-background > a:hover {
    background: #b23b3b;
}
.stacking-cards.purple-background > a:hover {
    background: #704a78;
}
.stacking-cards.orange-background > a:hover {
    background: #ff791a;
}
.stacking-cards.white-background > a:hover {
    background: #edeeee;
}
