.footer::before{
    display: none;
}
.footer__contacts{
    padding-top: 59px;
}
.speaker__block{
    padding: 0 228px;
}
.back__btn{
    margin-top: 57px;
}
.back__btn a{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    color: #000;
}
.speaker__wrapper{
    display: flex;
    gap: 71px;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 29px 30px 29px 30px;
    margin: 114px 0 53px 0;
}
.no_courses_title{
    grid-column-start: span 3;
    min-height: 100vh;
}
.no_courses_title h1{
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
}
.speaker__courses_cards{
    display: grid;
    grid: 1fr / repeat(3, 405px);
    justify-content: center;
    justify-items: center;
    column-gap: 23px;
    row-gap: 30px;
    margin-bottom: 101px;
}
.speaker__photo{
    background: #DCDCDC;
    border-radius: 10px;
    min-width: 191px;
    height: 173px;
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
}
.speaker__name h1{
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
}
.speaker__regalia{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    margin-top: 13px;
    margin-bottom: 40px;
}
.speaker__info{
    width: 100%;
}
.speaker__bio{
    margin-top: 13px;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}
.course_thumb_wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: 100%;
}
.course__thumbnail{
    background-color: #DCDCDC;
    border-radius: 5px;
    min-height: 203px;
    width: 100%;
}
.course__description{
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin-top: 20px;
}
.course__description p{
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
}
.course__video_count{
    display: inline-block;
    background: #FEBCB4;
    border-radius: 5px;  
    padding: 5px 12px;
}
.course__video_count{
    margin-top: 25px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #242424;
}
.course__info{
    margin: 12px 0 0 0 !important;
}
.course__card_speaker{
    display: flex;
    flex-direction: column;
    background-color: #F1F1F1;
    border-radius: 10px;
    padding: 12px 12px 12px 30px;
    position: relative;
    box-sizing: border-box;
    justify-content: space-between;
}
.course__buy_info{
    display: flex;
    margin-left: -30px;
    margin-bottom: -12px;
    margin-right: -12px;
    margin-top: 12px;
}
.course__price_info{
    font-weight: 600;
    font-size: 38px;
    line-height: 46px;
    color: #FFFFFF;
    background-color: #242424;
    text-align: center;
    padding: 21px 0;
    flex: .5 0 auto;
    border-radius: 0px 0px 0px 10px;
}
.course__buy_btn{
    font-weight: 600;
    font-size: 38px;
    line-height: 46px;
    color: #FFFFFF;
    padding: 21px 0;
    text-align: center;
    background-color: #FF7471;
    flex: auto;
    border-radius: 0px 0px 10px 0px;
}
.buy__button_href{
    text-decoration: none;
    color: #fff;
}
@media (max-width: 1750px){
    .speaker__block{
        padding: 0 100px;
    }
}
@media (max-width: 1450px){
    .header_main{
        grid-template-columns: auto auto !important;
        grid-template-rows: auto !important;
        grid-template-areas:
            'empty nav__menu nav__btn' !important;
        min-height: unset !important;
    }
    .speaker__courses_cards{
        grid-template-columns: repeat(2, 405px);
    }
    .speaker__block{
        padding: 0 20px;
    }
    .course__name h2{
        font-size: 30px;
        line-height: 30px;
    }
    .__course_card:last-of-type{
        display: unset !important;
    }
}
@media (max-width: 1080px){
    .speaker__photo{
        min-width: 190px;
        height: 173px;
    }
    .speaker__courses_cards{
        grid-template-columns: repeat(1, 405px);
    }
}
@media (max-width: 768px){
    .speaker__wrapper{
        flex-direction: column;
    }
    .speaker__photo{
        align-self: center;
    }
    .__course_card{
        min-width: 405px;
    }
    
}
@media (max-width: 480px){
    .speaker__courses_cards{
        grid-template-columns: repeat(1, 290px);
    }
    .speaker__wrapper{
        padding: 20px 20px 20px 20px;
    }
    .speaker__photo{
        /* width: 250px;
        height: 224px; */
        align-self: center;
    }
    .speaker__wrapper{
        gap: 20px;
    }
    .speaker__name h1{
        font-size: 16px;
        line-height: 19px;
    }
    .speaker__regalia{
        font-size: 12px;
        line-height: 15px; 
    }
    .speaker__bio{
        font-size: 12px;
        line-height: 15px; 
    }
    .__course_card{
        min-width: 290px;
    }
    .no_courses_title h1{
        font-size: 16px;
        line-height: 19px;
    }
}