.experience-card-template {
    background: none !important;
    display: flex !important;
    flex-direction: column;
    gap: 20px !important;
    justify-content: center;
    padding: 20px;
}

.experience-card-template:after {
    align-items: center;
    background: rgba(185, 172, 115, 0.2);
    border: solid 5px rgba(185, 172, 115, 1);
    border-radius: 100%;
    color: rgba(70, 30, 130, 1);
    content: 'ДНК МАГ';
    display: flex;
    font-size: 40px;
    font-weight: 700;
    height: 590px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 110.00000000000001%;
    margin: -729px auto 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 590px;
    z-index: 1;
}

.row-exp {
    display: flex;
    gap: 25%;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.row-exp-2 {
    margin-top: -100px;
}

.row-exp-3 {
    gap: 10%;
}

.cards__card {
    border-radius: 50% !important;
    box-sizing: border-box;
    height: 300px;
    margin: 0;
    padding: 0;
    width: 300px;
}

.cards__card__body {
    align-items: center;
    background: rgba(70, 30, 130, 1) !important;
    border-radius: 50% !important;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    height: 300px !important;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
    text-align: center;
    width: 300px !important;
    word-wrap: break-word;
}


@media (max-width: 1366px) {
    .experience-card_academy .cards__card {
        width: 300px !important;
    }

    .experience-card_academy .cards {
        flex-direction: column !important;
        flex-wrap: nowrap;
        gap: 66px;
    }

    .exp-header-title {
        color: rgba(0, 0, 0, 1);
        font-size: 37px;
        font-weight: 700;
        line-height: 67.02px;
    }

}

@media (max-width: 998.98px) {
    .exp-header-title {
        font-size: 37px;
    }

    .exp-header-left {
        font-size: 14px;
        gap: 12px;
    }

    .exp-header-right {
        font-size: 22px;
    }
}


@media (max-width: 768.98px) {
    .cards__card__body {
        height: 200px !important;
        width: 200px !important;
    }

    .cards__card {
        height: 200px !important;
        width: 200px !important;
    }

    .cards.card-layout h4 {
        font-size: 14px !important;
    }

    .experience-card-template:after {
        align-items: center;
        background: rgba(185, 172, 115, 0.2);
        border: solid 5px rgba(185, 172, 115, 1);
        border-radius: 100%;
        color: rgba(70, 30, 130, 1);
        content: 'ДНК МАГ';
        display: flex;
        font-size: 27px;
        font-weight: 700;
        height: 400px;
        justify-content: center;
        letter-spacing: 0;
        line-height: 110.00000000000001%;
        margin: -465px auto 0;
        position: relative;
        text-align: center;
        vertical-align: middle;
        width: 400px;
        z-index: 1;
    }

    .experience-card_academy .cards__card {
        width: 200px !important;
    }
}

@media (max-width: 670.98px) {
    .experience-card-template:after {
        display: none;
    }
    .experience-card-template {
        gap: 0!important;
    }
    .experience-card_academy .cards {
        padding: 40px 0px!important;
        flex-wrap: nowrap!important;
    }
    .experience-card-template:before {
        align-items: center;
        background: rgba(185, 172, 115, 0.2);
        border: solid 5px rgba(185, 172, 115, 1);
        border-radius: 50px;
        color: rgba(70, 30, 130, 1);
        content: 'ДНК МАГ';
        display: inline-block;
        font-size: 20px;
        font-weight: 700;
        height: auto;
        justify-content: center;
        letter-spacing: 0;
        line-height: 110.00000000000001%;
        margin: 0 auto 0;
        padding: 15px;
        position: relative;
        text-align: center;
        vertical-align: middle;
        width: auto;
        z-index: 1;
    }

    .cards__card__body {
        height: auto !important;
        width: 100% !important;
        border-radius: 15px !important;
    }

    .experience-card_academy .cards__card {
        height: auto !important;
        width: 100% !important;
    }

    .row-exp {
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: center;
        position: relative;
        z-index: 2;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .row-exp-2 {
        gap: 20px !important;
        margin-top: 0px;
    }

    .row-exp-3 {
        gap: 20px !important;
        margin-top: 0px;
    }

    .cards.card-layout h4 {
        font-size: 18px !important;
        padding: 15px 0 !important;
    }

}
