.sliderEspecialidades {
    margin: 8rem auto 13.5rem auto;

    width: 80%;
    max-width: 95rem;
}

.slide-container {
    background: #8E182A;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0.625rem;

    margin: 0.53rem;
    /* flex: 1 0 calc(33.333% - 2rem); */
    max-width: calc(33.333% - 20px);

}

.slide-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    height: 100%;
}

.icone-doenca {
    width: 3.5rem;

    margin-bottom: 6.32rem;

}

.nome-doenca {
    color: var(--cinza1, #f6f6f6);

    font-family: "DM Sans";
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025rem;

    margin-bottom: 0.75rem;
}

.descricao-doenca {
    color: var(--cinza1, #f6f6f6);

    font-family: "DM Sans";
    font-size: 1rem;
    font-weight: 300;
    line-height: 140%;

    margin-bottom: 0.6rem;

    text-align: justify;
    text-justify: inter-word;

}

.descricao-doenca-resumida {
    display: none;
}

.link-doenca {
    display: flex;
    align-items: center;
    gap: 1rem;

    color: var(--cinza1, #f6f6f6);

    text-decoration: none;
    font-family: "DM Sans";
    font-size: 0.875rem;
    font-weight: 600;
}

.slick-slide>div {
    display: flex;
    /* align-items: stretch; */
}

/* paginação do slider */
.slick-dots {
    bottom: -8rem !important;
}

.slick-dots li {
    width: auto !important;
    height: auto !important;
    font-size: 2rem;
    font-weight: 700;
    color: #9797AA;
    padding: 0.625rem 1.3rem !important;

    width: 60px !important;
    height: 60px !important;

    border-radius: 50%;
}

.slick-dots li.slick-active {
    background-color: #A11E32 !important;
    color: #F6F6F6 !important;
}


/* setas do slider */
.slick-prev,
.slick-next {
    color: black;
    border: none;
    border-radius: 50%;
    width: 2.375rem !important;
    height: 2.375rem !important;
    cursor: pointer;
    top: auto !important;
    bottom: -8rem !important;
    z-index: 1;

}

.slick-prev {
    left: 10vw !important;


}

.slick-prev::before {
    color: #D13F55 !important;
    font-size: 35px !important;
    line-height: 1.7 !important;

}

.slick-next {
    right: 10vw !important;

}

.slick-next::before {
    color: #D13F55 !important;
    font-size: 35px !important;
    line-height: 1.7 !important;

}

@media (max-width: 1024px) {
    .descricao-doenca {
        display: none;
    }

    .descricao-doenca-resumida {
        display: block;
        font-size: var(--small-light);
    }
}


@media (max-width: 768px) {
    .slide-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 0.625rem;

        margin: 0.53rem;
        max-width: calc(100% - 1rem);
    }

    .sliderEspecialidades {
        margin: 8rem auto 9rem auto;

        width: 95%;
    }


    .slick-dots {
        bottom: -2.5rem !important;
    }

    .slick-dots li {
        padding: 0 !important;
        height: auto !important;
        width: auto !important;
    }

    .slick-dots li.slick-active {
        background-color: transparent !important;
        color: #F6F6F6 !important;
    }

    .slick-dots li.slick-active button:before {
        color: #A11E32 !important;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .slide-info {
        display: flex;
        flex-direction: row;
        padding: 1.25rem;
        justify-content: normal;
        align-items: start;
    }

    .icone-doenca {
        flex-direction: initial;
        margin-bottom: 0;
        margin-right: 20px;

        height: 40px;
    }

    .link-doenca {
        font-size: var(--small-light);
    }
    .link-doenca img {
        height: var(--small-light);
}
}