@media (max-width:1500px) {
    section.instragram .box {
        transform: none;
    }

    .container {
        max-width: 90%;
        width: 90%;
    }
}

@media (max-width:1280px) {
    section.corpo__clinico .boxes {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    section.corpo__clinico .box img.perfil {
        height: auto;
        aspect-ratio: 11/16;
    }
}

@media (max-width:998px) {

    section.title__page h1 {
        font-size: 28px;
    }

    header .logo img {
        max-width: 220px;
    }

    header .menu a,
    footer .menu a {
        font-size: 12px;
        text-align: center;
    }

    section.nav__especialiadades .boxed {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    section.nav__especialiadades a {
        width: 50%;
        border: 0;
    }

    section.sobre {
        padding: 60px 0;
    }

    section.sobre .container {
        display: flex;
        flex-direction: column;
    }

    section.sobre .container::after {
        order: 1;
        width: 100%;
        height: 300px;
        position: static;
    }

    section.sobre .row {
        order: 2;
    }

    section.sobre .col-md-6 {
        margin: 0;
    }

    section.sobre .content {
        padding: 45px;     
        width: 100%;   
    }

    section.sobre .content::after {
        left:0;
        right: inherit;
    }

    section.especialidades .boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    section.frase h2 {
        padding: 0;
        font-size: 22px;
        line-height: 1.2;
    }

    footer .principal .container {
        flex-wrap: wrap;
        gap: 40px 0;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    footer .principal .right {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    section.sobre h2, 
    section.slider h2,
    section.especialidades h2,
    section.corpo__clinico h2,
    section.instragram h2 {
        font-size: 36px;
    }

    .boxes__especialistas {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .box__especialista {
        gap: 15px;
        flex-wrap: wrap;
    }

    .box__especialista h3 {
        font-size: 13px;
    }

    .box__especialista p.cargo {
        font-size: 11px;
    }
    
    .box__especialista .action {
        flex-wrap: wrap;
    }

    .box__especialista .imagem {
        min-width: 80px;
        width: 80px;
        height: 80px;
    }

    .box__especialista a.cta__primary {
        min-width: 100%;
        justify-content: center;
    }

    .box__descricao  {
        padding: 20px;
    }

    .box__descricao h4 {
        font-size: 18px;

    }

    .box__descricao p.funcao {
        font-size: 11px;
    }
}

@media (max-width:768px) {

    section.slider .item {
        height: 400px!important;
        padding-bottom: 70px!important;
        background-position-x: right;
    }
    
    header .container {
        gap: 20px 0;
    }

    header .chama__responsivo {
        display: flex !important;
    }

    header .social {
        display: none;
    }

    section.corpo__clinico h2 {
        gap: 20px!important;
    }

    section.corpo__clinico h2:before, section.corpo__clinico h2:after {
        width: 60px!important;
    }

    section.slider .owl-nav .owl-prev {
        margin-left: 10px!important;
    }
    
    section.slider .owl-nav .owl-next {
        margin-right: 10px!important;
    }

    section.galeria {
        margin-bottom: 50px!important;
    }

    section.galeria .owl-nav button span {
        width: 40px!important;
        height: 40px!important;
    }

    section.galeria .owl-nav button span:before {
        left: 10px!important;
        top: 13px!important;
    }

    section.corpo__clinico {
        padding: 70px 0!important;
    }
    
    section.corpo__clinico .boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    header .menu ul, footer .menu ul {
        flex-wrap: wrap;
    }

    section.slider p {
        font-size: 16px;
        padding: 0px 8px;
    }

    section.sobre blockquote {
        font-size: 16px;
    }

    section.sobre blockquote:before {
        font-size: 22px!important;
    }

    section.sobre blockquote:after {
        font-size: 22px!important;
    }

    section.frase h2:before {
        font-size: 26px!important;
    }
    
    section.frase h2:after {
        font-size: 26px!important;
    }

    section.especialidades {
        margin-bottom: 70px!important;
    }

    section.nav__especialiadades a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .box__descricao .title .fechar {
        right: 0px!important;
    }

    header .menu ul li, footer .menu ul li {
        width: 50%;
    }

    header .menu ul li a, footer .menu ul li a {
        border: 0;
    }

    section.galeria h2, section.premissas h2 {
        font-size: 24px;
        gap: 20px;
        text-align: center;
        margin-bottom: 0;
    }

    section.galeria .center {
        transform: none;
    }

    section.galeria .owl-stage-outer {
        padding: 40px 0
    }

    section.galeria .owl-nav .owl-next {
        margin-right: -40px;
    }

    section.galeria .owl-nav .owl-prev {
        margin-left: -40px;
    }

    section.premissas h2 {
        margin-bottom: 30px;
    }

    section.premissas .row {
        gap: 40px 0;
    }

    section.especialidades .right {
        padding:40px 20px
    }

    .list__blog .box {
        grid-template-columns: repeat(1, 1fr);
    }

    section.fale-conosco .boxes__corpo {
        margin-top: 60px;
        grid-template-columns: repeat(1, 1fr);
    }

    .list__blog .box h4 {
        font-size: 18px!important;
    }

    .single-conteudo .content p {
        font-size: 14px!important;
    }

    .single-conteudo .content ol {
        font-size: 14px!important;
    }

    .categorias__sidebar h2 {
        font-size: 22px!important;
    }
}

@media (max-width:556px) {

    header .principal .agendamento, header .menu-menu-header-container {
        display: none !important;
    }

    header .menu .agendamento {
        display: flex !important;
        min-width: 100%;
        margin-bottom: 15px;
    }

    header .agendamento .cta__primary {
        min-width: 100%;
    }

    section.corpo__clinico .boxes, 
    section.especialidades .boxes {
        grid-template-columns: repeat(1, 1fr);
    }

    section.sobre .content {
        padding: 30px;
    }

    section.subsobre {
        margin-bottom: 50px!important;
    }

    section.subsobre img {
        margin-bottom: 30px;
    }

    section.premissas svg {
        width: 100%!important;
        margin-top: 30px;
    }

    section.premissas h3 {
        text-align: center;
    }

    section.premissas p {
        font-size: 14px!important;
        text-align: center;
    }

    section.subsobre blockquote {
        font-size: 20px!important;
    }

    section.sobre p {
        font-size: 14px;
    }

    section.subsobre p {
        font-size: 14px;
    }

    section.nav__especialiadades a h3 {
        font-size: 14px;
    }

    section.sobre .container::after {
        height: 180px;
    }

    section.sobre h2, 
    section.slider h2,
    section.especialidades h2,
    section.corpo__clinico h2,
    section.instragram h2 {
        font-size: 22px;
    }

    footer .copy .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
        text-align: center;
    }
}