* {
    font-family: Source Sans Pro,Arial,sans-serif;
    text-decoration: none;
}

body {
    background-color: aliceblue;
}

.content {
    display: flex;
    justify-content: center;
}

/* Container Principal */
.container-cursos {
    width: auto;
    max-width: 1500px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px;
    justify-content: center;
}

/* O Card */
.card-curso {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden; /* Garante que a imagem não saia da borda arredondada */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 20%;
    min-width: 250px;
    aspect-ratio: 1/1.2;
}

.card-curso:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-curso a {
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* Container da Imagem */
.image-container {
    width: 94%;
    aspect-ratio: 180/108;
    margin: 3%;
    overflow: hidden;
    border-radius: 12px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
}

/* Conteúdo de Texto abaixo da imagem */
.card-content {
    padding: 15px;
    text-align: left;
}

.card-desc {
    margin: 0 7px 0 7px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    
}

.card-desc h3 {
    margin: 0 10px 0 10px;
    font-size: 1.1rem;
    color: #333;
    font-family: sans-serif;
    line-height: 1.4;
}

.card-desc p {
    margin: 10px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
    font-family: Source Sans Pro, Arial, sans-serif;
    
    
    display: -webkit-box;
    -webkit-line-clamp: 3;   
    -webkit-box-orient: vertical;
    overflow: hidden;        
    text-overflow: ellipsis;
}

.bold {
    font-size: 0.85rem;
    color: #666;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 600px) {
    .container-cursos {
        grid-template-columns: 1fr 1fr; /* 2 colunas em celulares */
        gap: 10px;
    }
    .image-container { height: 120px; }
}

@media screen and (min-width: 988px) and (max-width: 1324px) {
  
  
  
}