/* PC */
#doctors_show_button_block{
    display: none;
}
#doctors_hide_button_block{
    display: none;
}
#doctors_block{
    margin-top: 70px;
    position: relative;
    z-index: 4;
    transition: 0.6s;
}
.doctors_header{
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    padding: 40px 0;
}
.doctors_header>h1{
    color: #343434;
    font-size: 64px;
    font-weight: 700;
    margin-left: 80px;
}
.doctors_wrapper{
    width: calc(75% - 60px);
    padding: 40px 0 0 60px;
}
.doctor_block{
    display: inline-block;
    vertical-align: top;
    width: calc(32% - 60px);
    max-width: 430px;
    text-align: center;
    margin: 0 60px 60px 0;
}
.doctor_block>div{
    display: inline-block;
    vertical-align: top;
    width: 100%;
}
.doctor_image{
    width: 100%;
    margin-bottom: 15px;
}
.doctor_image>img{
    width: 100%;
}
.doctor_info>p{
    color: #4A595B;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
}
.doctors_call_me_button{
    position: relative;
    z-index: 4;
    text-align: center;
}
.doctors_call_me_button>button{
    background-color: #818b8d;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-size: 40px;
    outline: none;
    border: none;
    border-radius: 20px;
    padding: 15px 50px;
    margin-bottom: 70px;
}
.doctors_call_me_button>button:hover {
    background-color: #4d5758;
    box-shadow: 
        0 0 15px rgba(129, 139, 141, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
@media screen and (max-width: 1750px){
    .doctor_info>p{
        font-size: 26px;
    }
    .doctors_call_me_button>button{
        font-size: 35px;
        padding: 13px 43px;
    }
    .doctors_header>h1{
        font-size: 55px;
    }
}
@media screen and (max-width: 1550px){
    .doctor_info>p{
        font-size: 21px;
    }
    .doctors_call_me_button>button{
        font-size: 28px;
        padding: 10px 35px;
    }
    .doctors_header>h1{
        font-size: 44px;
    }
    .doctor_block{
        margin: 0 35px 35px 0;
    }
}
@media screen and (max-width: 1200px){
    .doctor_info>p{
        font-size: 17px;
    }
    .doctors_call_me_button>button{
        font-size: 22px;
        padding: 8px 28px;
    }
    .doctors_header>h1{
        font-size: 35px;
    }
}




/* MOBILE */
@media screen and (max-width: 1000px){
    #doctors_show_button_block{
        display: block;
    }
    .not_expanded_doc{
        overflow: hidden;
        max-height: 1350px;
    }
    .not_expanded_doc::after{
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 300px;
        -webkit-mask: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0,0,0,0.1) 10%,
            rgba(0,0,0,0.3) 20%,
            rgba(0,0,0,0.6) 30%,
            rgba(0,0,0,0.8) 40%,
            black 100%
        );
        mask: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0,0,0,0.1) 10%,
            rgba(0,0,0,0.3) 20%,
            rgba(0,0,0,0.6) 30%,
            rgba(0,0,0,0.8) 40%,
            black 100%
        );
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.2);
        pointer-events: none;
    }
    #doctors_show_button_block{
        margin: -80px 0 80px 0;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 4;
    }
    #doctors_show_button_block>button{
        font-family: 'Times New Roman', Times, serif;
        color: #343434;
        font-size: 25px;
        font-weight: 400;
        padding: 10px 20px;
        border: solid #343434 2px;
        border-radius: 20px;
        background-color: #D9D9D9;
    }
    #doctors_show_button_block>button::after {
        content: '';
        display: inline-block;
        vertical-align: middle;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid currentColor;
        margin-left: 15px;
    }
    #doctors_hide_button_block{
        display: block;
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 4;
    }
    #doctors_hide_button_block>button{
        font-family: 'Times New Roman', Times, serif;
        color: #343434;
        font-size: 25px;
        font-weight: 400;
        padding: 10px 20px;
        border: solid #343434 2px;
        border-radius: 20px;
        background-color: #D9D9D9;
        margin-bottom: 50px;
    }
    #doctors_hide_button_block>button::after {
        content: '';
        display: inline-block;
        vertical-align: middle;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid currentColor;
        margin-left: 15px;
    }


    .doctors_header{
        padding: 20px 0;
    }
    .doctors_header>h1{
        font-size: 48px;
        margin-left: 60px;
    }
    .doctors_wrapper{
        width: 100%;
        padding: 40px 0 0 0;
    }
    .doctor_block{
        display: block;
        width: 50%;
        margin: 0 25% 50px 25%;
        max-width: none;
    }
    .doctor_info>p{
        font-size: 30px;
    }
    .doctors_call_me_button>button{
        font-size: 35px;
        padding: 10px 40px;
    }
}
@media screen and (max-width: 675px){
    .not_expanded_doc{
        max-height: 1080px;
    }
    .not_expanded_doc::after{
        height: 240px;
    }
    #doctors_show_button_block{
        margin: -64px 0 64px 0;
    }
    #doctors_show_button_block>button, #doctors_hide_button_block>button{
        font-size: 20px;
        padding: 8px 16px;
        border-radius: 16px;
    }
    #doctors_hide_button_block>button{
        margin-bottom: 40px;
    }
    #doctors_hide_button_block>button::after, #doctors_show_button_block>button::after {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        margin-left: 12px;
    }
    #doctors_hide_button_block>button::after{
        border-bottom: 6px solid currentColor;
    }
    #doctors_show_button_block>button::after{
        border-top: 6px solid currentColor;
    }


    .doctors_header{
        padding: 15px 0;
    }
    .doctors_header>h1{
        font-size: 38px;
        margin-left: 40px;
    }
    .doctors_wrapper{
        width: 100%;
        padding: 40px 0 0 0;
    }
    .doctor_block{
        width: 60%;
        margin: 0 20% 50px 20%;
        max-width: none;
    }
    .doctor_info>p{
        font-size: 24px;
    }
    .doctors_call_me_button>button{
        font-size: 28px;
        padding: 10px 30px;
    }
}
@media screen and (max-width: 470px){
    .not_expanded_doc{
        max-height: 864px;
    }
    .not_expanded_doc::after{
        height: 192px;
    }
    #doctors_show_button_block{
        margin: -51px 0 51px 0;
    }
    #doctors_show_button_block>button, #doctors_hide_button_block>button{
        font-size: 16px;
        padding: 6px 13px;
        border-radius: 13px;
    }
    #doctors_hide_button_block>button{
        margin-bottom: 32px;
    }
    #doctors_hide_button_block>button::after, #doctors_show_button_block>button::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        margin-left: 10px;
    }
    #doctors_hide_button_block>button::after{
        border-bottom: 5px solid currentColor;
    }
    #doctors_show_button_block>button::after{
        border-top: 5px solid currentColor;
    }


    .doctors_header{
        padding: 15px 0;
    }
    .doctors_header>h1{
        font-size: 35px;
        margin-left: 30px;
    }
    .doctors_wrapper{
        width: 100%;
        padding: 30px 0 0 0;
    }
    .doctor_block{
        width: 80%;
        margin: 0 10% 30px 10%;
        max-width: none;
    }
    .doctor_info>p{
        font-size: 18px;
    }
    .doctors_call_me_button>button{
        font-size: 19px;
        padding: 7px 20px;
    }
}   