.cursos-container {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    height: 100%;
}

.curso-item {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 1rem);
    z-index: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.curso-item:hover {
    z-index: 2;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(-5px);
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.1);
}

.curso-item:hover .curso-link-container-image img {
    transform: scale(1.05);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.curso-link-container-content {
    padding: 1rem;
}

.curso-link-container-image {
    background-color: #000;
}

.curso-link-container-image img {
    width: 100%;
    height: 100%;
    line-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;

}

.curso-link-container-image img {
    width: 100%;
    aspect-ratio: 3/2 !important;
    object-fit: cover;
}

.curso-link-container-content h3 {
    color: #333333;
    font-size: 1.6rem;
}

.curso-link-container-content p {
    color: #676767;
    font-size: 1.1rem;
    line-height: 1.75rem;
}

.curso-link-container-footer {
    padding: 1rem;
}

.curso-link-container-footer-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    background-color: #fff;
    color: var(--pf-color-button-dark);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--pf-color-button-dark);
    border-radius: 4px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.curso-link-container-footer-button:hover {
    background: var(--pf-color-button-dark);
    color: #fff;
}

.curso-item .badge {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 0.75rem;
    line-height: 0.75rem;
    font-size: 0.75rem;
}

.curso-item .badge-primary {
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--pf-color-button-dark);
    border-radius: 50px;
    font-weight: 600;
}

.curso-item .badge-secondary {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #676767;
}

.curso-link-container-footer-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .cursos-container {
        flex-direction: column;
        justify-content: center;
        place-items: center;
        gap: 1rem;
    }

    .curso-item {
        flex: 1 1 100%;
        max-width: 350px;
    }
}