.sec-teaser-container .card-body .edu-button,
.sec-teaser-container .card-body .edu-button:hover {
    color: #ffffff !important;
}

.sec-teaser-container .teaser-header {
    padding: 0px!important;
    border: 0px!important;
    display: flex;
    transition: 0.3s;
}

.sec-teaser-container .teaser-header:first-child {
    border-radius: 0px!important;
    padding: 0px!important;
}

.card-teaser-details {
    padding: 35px 65px 55px 55px;
}

.sec-teaser-container .edu-button {
    padding: 12px 30.5px !important;
    width: fit-content;
}

.c-bottom-icon {
    position: static;
    width: 95px;
    height: 95px;
    float: right;
    margin-top: -20px;
    margin-right: -10px;
    image-rendering: pixelated;
}

a.card-link:hover {
    color: #fff
}

div.card-header.teaser-header h3,
h3.card-header.teaser-header {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .sec-teaser-container {
        display: flex;
        max-width: 1140px;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 70px;
        padding-bottom: 70px;
        overflow: hidden;
    }
    .card-box {
        max-width: 540px;
        transition: 0.3s;
        width: 100%;
        border-radius: 0;
        border: 0;
        margin: 0;
        margin-bottom: 30px;
    }
    .sec-teaser-container .card-link {
        width: 100%;
        display: flex;
        padding: 37px 55px;
        font-family: Torque-bold;
        font-size: 36px;
        font-weight: bold;
        text-align: left;
        line-height: 1.29;
        align-items: center;
        transition: 0.3s;
        text-transform: uppercase;
    }
    .sec-teaser-container .collapse {
        display: flex!important;
        flex: auto;
    }
    .sec-teaser-container .collapsed,
    .collapsing {
        display: flex!important;
        flex: auto;
        height: auto!important;
    }
    .card-text p {
        min-height: 80px;
        font-family: NotoSans;
        font-size: 18px;
        line-height: 1.44;
        text-align: left;
        margin-bottom: 25px;
        flex-grow: 1;
    }
    .card-teaser-details {
        display: flex;
        flex-direction: column;
    }
    .textbtn {
        margin-top: auto;
    }
    .card-box:hover .teaser-header {
        transform: translateY(-15px);
        z-index: 0;
        transition: 0.3s;
    }
    .teaser-header {
        display: flex;
        justify-content: start;
        margin-bottom: 0;
        border: 0;
        transition: 0.3s;
    }
    .teaser-header.mobile-mode {
        display: none;
    }
}

@media (max-width: 768px) {
    .sec-teaser-container {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 70px;
        padding-bottom: 70px;
        overflow: hidden;
        align-items: center;
    }
    .card-box {
        width: 100%;
        max-width: 100%!important;
        border-radius: 0;
        transition: 0.3s;
        border: 0;
        margin-bottom: 30px;
    }
    .sec-teaser-container .card-link {
        display: flex;
        width: 100%;
        padding: 37px 55px;
        font-family: Torque-bold;
        font-size: 30px;
        font-weight: bold;
        text-align: left;
        line-height: 1.29;
        align-items: center;
        justify-content: space-between;
        text-transform: uppercase;
    }
    .sec-teaser-container .accordion-toggle:after {
        content: "";
        transform: rotate(180deg);
        background-image: url(../../../../../etc.clientlibs/minecraft-edu/clientlibs/clientlib-common/resources/images/arrows/down-arrow-white.svg);
        background-size: 37px 17px;
        background-repeat: no-repeat;
        float: right;
        width: 37px;
        height: 17px;
        background-position: center;
        padding: 20px 20px;
        transform: rotate(180deg);
    }
    .sec-teaser-container .collapsed.accordion-toggle:after {
        content: "";
        background-image: url(../../../../../etc.clientlibs/minecraft-edu/clientlibs/clientlib-common/resources/images/arrows/down-arrow-white.svg);
        transform: rotate(0deg);
        background-repeat: no-repeat;
        background-size: 37px 17px;
        float: right;
        width: 37px;
        height: 17px;
        background-position: center;
        padding: 20px 20px;
    }
    .card-text p {
        min-height: 80px;
        font-family: NotoSans;
        font-size: 18px;
        line-height: 1.44;
        text-align: left;
        margin-bottom: 25px;
    }
    .teaser-header.desktop-mode {
        display: none;
    }
}

@media (max-width: 992px) {
    .card-teaser-details {
        padding: 35px 35px 55px 35px;
    }
}

@media (max-width: 575px) {
    .sec-teaser-container .card-header .card-link {
        padding: 37px 25px;
        max-width: 85%;
    }
    .sec-teaser-container .accordion-toggle:after {
        margin-right: -50px;
    }
    .sec-teaser-container .collapsed.accordion-toggle:after {
        margin-right: -50px;
    }
    .card-teaser-details {
        padding: 42px 25px!important;
    }
    .c-bottom-icon {
        position: static;
        width: 83px;
        height: 83px;
        float: right;
        margin-top: -20px;
        margin-right: -10px;
    }
}

@media screen and (-ms-high-contrast: black-on-white) {
    .card {
        border: solid 1px #000 !important;
    }
}

@media screen and (-ms-high-contrast: white-on-black) {
    .card {
        border: solid 1px #ffffff !important;
    }
}