.main-body-pesquisa {
    padding: 5% 16%;
    color: #14191f;
    transition: 1s;
}

.resultados-section {
    margin: 30px 0;
}

.tipo-pesquisa {
    background-color: #14191f;
    color: #fff;
    padding: 5px 10px;
}

.curso-card-pesquisa {
    display: flex;
    color: #14191f;
    text-decoration: none;
    margin: 15px 0;
    background-color: #fff;
    transition: 0.5s;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.curso-card-pesquisa:hover {
    box-shadow: 0 0px 16px rgba(0, 0, 0, 0.2);
}

.img-curso-pesquisa {
    overflow: hidden;
    width: 180px;
    height: 120px;
    min-width: 180px;
    min-height: 120px;
}

.curso-card-pesquisa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.3s;
    min-width: 180px;
    min-height: 120px;
}

.img-curso-pesquisa-noticia img {
    object-fit: contain;
}

.curso-card-pesquisa img:hover {
    transform: scale(1.05);
}

.curso-detalhes {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.curso-detalhes h2 {
    font-size: 1.4rem;
    transition: 0.5s;
}

.curso-detalhes h2:hover {
    color: #4ad35c;
}

.ver-all-results-search {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    border: 1px solid #4ad35c;
    text-decoration: none;
    color: #4ad35c;
    font-size: 1.2rem;
    font-weight: bolder;
    padding: 5px;
    transition: 0.5s;
}

.ver-all-results-search:hover {
    background-color: #4ad35c;
    color: #fff;
}

.ver-all-results-search i {
    margin-left: 6px;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .main-body-pesquisa {
        padding: 5% 10%;
    }

    .curso-detalhes h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 900px) {
    .curso-detalhes h2 {
        font-size: 1rem;
    }

    .curso-detalhes p {
        font-size: 0.8rem;
    }

    .img-curso-pesquisa {
        overflow: hidden;
        width: 120px;
        height: 120px;
        min-width: 120px;
        min-height: 120px;
    }

    .curso-card-pesquisa img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        overflow: hidden;
        transition: transform 0.3s;
        min-width: 120px;
        min-height: 120px;
    }
}
