.bannerUnidades {
    background-image: url(../images/Oncominas_Header_Unidades.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    height: 300px;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.unidades {
    display: flex;
    overflow: hidden;
}
.unidades .slide, .unidades .descricaoUnidade {
    flex: 1;
    display: flex;

}
.unidades .slide img {
    width: 100%;
    object-position: center;
    object-fit: cover;
    height: 100%;
}
.unidades .descricaoUnidade {
    background-color: #f3f7fa;
    padding: 0;
    height: 100%;
}
@media (max-width: 991px) {
    .unidades {
        flex-direction: column;
        height: auto;
    }
    .unidades .slide, .unidades .descricaoUnidade {
        width: 100%;
        height: auto;
    }
}

.descricaoUnidade {
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.titleUnidades {
    background: #ccd0d9;
    color: black;
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
}

.descriptionUnidades {
    padding: 100px 0 100px 0;
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-size: 16px;
}

.titleUnidades2 {
    background: #86bce0;
    color: black;
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
}

.custom-description {
    padding: 10rem 0;
    text-align: left;
    max-width: 600px; 
    margin: 0 auto; 
}

.custom-container {
    text-align: left;
    margin: 0 auto; 
}

.titleUnidades2 {
    text-align: center; 
    margin-bottom: 20px; 
}

.desc-consultorios{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
}

@media (max-width: 568px) {
    .custom-description {
        padding: 2rem 0;
    }
}

