#link-card {
    text-decoration: none;
}

.curso-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 300px;
    min-height: 50vh;
    border-radius: 10px;
    background: #6C757D;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    overflow: hidden;
    margin: 20px;
    transition: transform ease 0.3s;
    padding-bottom: 10px;
}

.curso-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 22px 0 rgba(0,0,0,0.25), 0 10px 25px 0 rgba(0,0,0,0.22);
}

.curso-card .curso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curso-card .curso-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    gap: 1rem;
}

.curso-card h2.curso-titulo {
    flex-grow: 1;
    font-size: 1.2em;
    margin: 0 0 10px 0;
    padding: 0;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 25px;
    height: 70px;
}

.curso-card .curso-details {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.curso-card .curso-item {
    display: flex;
    align-items: center;
}

.curso-card .icono {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.curso-card .curso-duracion,
.curso-card .curso-precio,
.curso-card .curso-modalidad {
    color: #FFFFFF;
    font-size: 0.9em;
    font-family: 'Montserrat', sans-serif;
    margin-left: .2rem;
}

.curso-card a.curso-btn {
    padding: 10px 20px;
    background-color: #FDA04E;
    color: #292929;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 0 auto;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.curso-card .curso-btn:hover {
    background-color: #b67733;
}