@media only screen and (max-width: 1440px){
    .choose_filt{
        font-size: 18px;
        padding: 10px 18px;
    }
    .branches_section{
        gap: 20px;
    }
    .branch_info_block{
        gap: 20px;
    }
    .leave_rev_btn{
        padding: 6px 16px;
    }
    .stars_rev_blck {
        gap: 22px;
    }
    .stars_rev_blck {
        font-size: 18px;
    }
    .branch_infs{
        gap: 6px;
    }
    .filter_img{
        min-width: 170px;
        width: 170px;
        height: 150px;
    }
    .nameof_instructor{
        font-size: 20px;
        margin-top: 10px;
    }
    .more_about_intstr{
        font-size: 14px;
    }
    .nameof_inst{
        font-size: 26px;
    }
    .intructors_info_block{
        padding: 30px;
    }
    .intstructor_big_img{
        width: 62%;
    }
    .popup_title{
        font-size: 26px;
    }

}
@media only screen and (max-width: 1280px){
    .instructor_img{
        height: 260px;
        border-radius: 30px;
    }
    .about_instr, .about_instr span, .car_type{
        font-size: 14px;
    }
    .car_type, .instructor_item_blck{
        gap: 10px;
    }
    .car_type svg{
        width: 14px;
        height: 14px;
    }
    .pagination_sp{
        font-size: 20px;
        padding: 6px 13px;
    }
    .next_prev_btn, .next_prev_btn  svg{
        width: 36px;
        height: 36px;
    }
    .second_title_blck {
        font-size: 24px;
    }
    .branch_info_block{
        padding: 16px 12px;
    }
    .branch_name{
        font-size: 18px;
    }
    .leave_rev_btn {
        padding: 4px 12px;
        font-size: 10px;
    }
    .contact_loc_ph {
        gap: 10px;
    }
    .filter_img {
        min-width: 160px;
        width: 159px;
        height: 140px;
    }
    .filtr_branch_block, .map_branches{
        height: 500px;
    }
    .map_branches{
        width: 52%;
    }
    .map_branches iframe{
        border-radius: 30px;
    }
    .instructor_section{
        gap: 40px;
        margin-top: 70px;
    }
    .choose_filt {
        font-size: 16px;
        padding: 8px 18px;
    }
    .nameof_inst {
        font-size: 22px;
    }
    .intructors_info_block {
        padding: 24px;
    }


}
@media only screen and (max-width: 1024px){
    .filtr_branch_block, .map_branches{
        max-width: none;
        width: 93%;
    }
    .branch_map_block{
        flex-direction: column;
    }
    .instructor_item_blck{
        width: calc(100% / 3 - 14px);
    }
    .big_leave{
        padding: 6px 14px;
        font-size: 12px;
    }
    .second_title_blck {
        font-size: 22px;
    }
    .about_intructor_block{
        flex-direction: column;
        margin: 40px 0;
        align-items: center;
    }
    .intstructor_big_img{
        width: 80%;
    }
    .intructors_info_block{
        max-width: none;
        width: 100%;
        border-radius: 20px;
        padding: 18px;
    }
    .reviews_about_ints_blck{
        padding: 0;
        height: auto;
    }
    .nameof_inst {
        font-size: 20px;
    }
    .reviews_block{
        padding: 18px 20px;
    }
    .leave_rev_form{
        padding: 30px;
        border-radius: 30px;
    }
    .leave_review_popup{
        border-radius: 30px;
    }
    .leave_rev_form .inputs_{
        padding: 16px;
    }
    .start_comment svg{
        width: 25px;
        height: 25px;
    }
    .leave_rev_stars{
        gap: 16px;
    }

}
@media only screen and (max-width: 768px){
    .instructor_item_blck {
        width: calc(100% / 2 - 14px);
    }
    .instructor_img{
        height: 300px;
    }

}
@media only screen and (max-width: 600px){
    .branch_info_block{
        flex-direction: column;
    }
    .branch_infs {
        gap: 10px;
        align-items: center;
    }
    .map_branches {
        height: 450px;
    }
    .instructor_img {
        height: 168px;
        border-radius: 15px;
    }
    .nameof_instructor {
        font-size: 15px;
        margin-top: 4px;
    }
    .instructor_item_blck .about_instr{
        flex-direction: column;
        align-items: start;
    }
    .instructor_item_blck .dot_ {
        display: none;
    }
    .about_instr, .about_instr span, .car_type {
        font-size: 10px;
    }
    .more_about_intstr {
        font-size: 10px;
    }
    .stars_d svg{
        width: 75px;
    }
    .stars_rev_blck {
        gap: 16px;
    }
    .branch_name {
        font-size: 16px;
    }
    .conts_sp{
        font-size: 10px;
    }
    .title_btn_blck{
        flex-direction: column;
        gap: 18px;
    }
    .second_title_blck {
        text-align: center;
        font-size: 20px;
    }
    .instructor_item_blck{
        width: 100%;
    }
    .instructor_img{
        height: auto;
    }
    .pagination_{
        gap: 6px;
    }
    .pagination_sp {
        font-size: 16px;
        padding: 6px 10px;
    }
    .next_prev_btn, .next_prev_btn svg {
        width: 30px;
        height: 30px;
    }
    .intstructor_big_img{
        width: 100%;
    }
    .intstructor_big_img img {
        border-radius: 20px;
    }
    .about_intructor_block{
        margin: 30px 0;
    }
    .name_leave_rev{
        flex-direction: column;
    }
    .intructors_info_block  .about_instr {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .leave_rev_stars{
        flex-direction: column;
        align-items: start;
    }
    .leave_review_popup, .leave_rev_form{
        border-radius: 20px;
    }
    .leave_rev_form{
        padding: 20px;
    }
    .popup_title {
        font-size: 22px;
    }

}
