.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-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: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 {
        margin: 0;
        margin-bottom: 30px;
        padding: 0;
    }
    .stacking-cards-image-wrapper {
        max-width: unset;
        padding-top: 40%;
    }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .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 screen and (-ms-high-contrast: white-on-black) {
    .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;
}