/*[data-page="area-medica"] .page-banner h1 {
    z-index: 13;
    color: #ffffff;
    font-size: 6.4rem;
    font-weight: 700;
    line-height: 1.2;

    left: 5rem;
    width: 30rem;
    bottom: 8rem;

    position: absolute;
}*/

[data-page="area-medica"] .page-banner .container {
    height: 100%;
    position: relative;
}


/*==== Inscrições ======*/

.formulary {
    padding-bottom: 0;
}

.formulary .form__items-unit a {
    color: #00a66c;
}

#apresentacao,
#modelo-assistencial,
#contatos-do-relacionamento-medico {
    border-bottom: 1px solid rgba(0,0,0, 0.5);
}

#apresentacao,
#modelo-assistencial,
#contatos-do-relacionamento-medico {
    margin: 0 auto 9rem;
    padding: 0 0 9rem;
}

#contatos-do-relacionamento-medico h3 {
    margin-bottom: 6rem;
}

#modelo-assistencial .wp-content {
    padding-bottom: 0;
}

#modelo-assistencial .wp-content .editor__container {
    width: 100%;
}

#modelo-assistencial .wp-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#modelo-assistencial .wp-content .wp-block-columns .wp-block-column {
    width: auto;
    margin: 0;
}

@media (max-width: 655px) {
    #modelo-assistencial .wp-content .wp-block-columns .wp-block-column,
    #modelo-assistencial .wp-content .wp-block-columns .wp-block-column .btn-too {
        width: 100%;
    }
}

.formulary .form__group.select-50 {
    flex: 0 0 50%;
    max-width: calc(50% - 1rem);
}

#proximos-eventos a {
    margin: 0 0 2rem;
    display: flex;
    padding: 1.4rem;
    text-decoration: none;
    background: #E6E6E6;
    border-radius: 0.5rem;
}

#proximos-eventos a .date {
    flex-shrink: 0;
    width: 11.3rem;
    height: 10.9rem;
    margin-right: 3rem;

    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;

    color: #ffffff;
    background: #00A66C;
    border-radius: 1.6rem;
}

#proximos-eventos a .date strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 3.8rem;
}

#proximos-eventos a .text {
    margin: auto 0;
    margin-right: 3rem;
    padding: 0;
}

#proximos-eventos a .text p,
#proximos-eventos a .text strong {
    color: #2d2d2d;
    display: block;
    margin: 0.2rem 0;
    font-size: 1.6rem;
    line-height: 1.5;
}

#proximos-eventos a img {
    flex-shrink: 0;
    margin-left: auto;
    width: 15.7rem;
    height: 10.4rem;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}

/*@media (max-width: 1199px) {
    [data-page="area-medica"] .page-banner h1 {
        left: 0;
        bottom: 4rem;
    }
}*/

@media (max-width: 991px) {
    .formulary .form__group.select-50 {max-width: calc(50% - 0.5rem)}
}

@media (max-width: 767px) {
    /*[data-page="area-medica"] .page-banner h1 {
        left: 2rem;
        width: 20rem;
        bottom: 4rem;
        font-size: 4.5rem;
    }
    [data-page="area-medica"] .page-banner .container {
        padding: 0 2rem;
        max-width: 72rem;
    }*/

    .editor {padding-top: 2.5rem}

    #apresentacao,
    #modelo-assistencial,
    #contatos-do-relacionamento-medico {
        margin: 0 auto 6rem;
        padding: 0 0 6rem;
    }



    #proximos-eventos a {
        flex-wrap: wrap;
    }

    #proximos-eventos a .text {
        width: calc(100% - 11.3rem - 3rem);
        margin: auto 0;
    }

    #proximos-eventos a img {
        order: -2;
        width: 100%;
        height: auto;
        aspect-ratio: 15 / 10;
        margin-bottom: 1.4rem;
    }
}

@media (max-width: 575px) {
    /*[data-page="area-medica"] .page-banner h1 {
        bottom: 2rem;
    }*/
    #proximos-eventos a .date {
        width: 100%;
        margin: 0;
        height: 6rem;
        flex-direction: row;
        border-radius: 0 0 1.6rem 1.6rem;
        margin-bottom: 1.4rem;
    }

    #proximos-eventos a .date strong {
        margin-right: .5rem;
    }

    #proximos-eventos a .text {
        width: 100%;
    }

    #proximos-eventos a img {
        margin-bottom: 0;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .formulary .form__group.select-50 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.1rem;
    }

    .formulary .form__group.select-50 > :last-child {
        margin-bottom: 0;
    }
}
