#liste {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

#liste > a {
    display: flex;
}

.recette {
    max-width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background-color: rgb(var(--bg));
    box-shadow: 0 5px 30px rgba(var(--shadow), 0.17);
}

.recette img {
    width: 100%;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.recette-details {
    flex: 1;
    padding: 10px 20px 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
}

.recette-titre {
    color: rgb(var(--accent));
    font-size: 20px;
}

.recette-note {
    color: rgb(var(--text-secondary));
    font-size: 15px;
    font-weight: 500;
    margin-left: 5px;
}

.note-etoile {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: 10px;
}

.recette-description {
    flex: 1;
    color: rgb(var(--text-secondary));
    line-height: 1.4;
    overflow: hidden;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    max-height: calc(2 * 1.4em);
}

.recette-synthese {
    color: rgba(var(--accent), 0.5);
    font-size: 14px;
    text-align: center;
}

.recette:hover {
    transform: scale(1.02);
}