ul#sponsors-list,
ul#partenaires-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

li.sponsor-card {
    &.light {
        background-color: var(--background-color);
        color: var(--text-color);
    }

    &.dark {
        background-color: var(--secondary-color);
        color: var(--secondary-text-color);
    }
    
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 0;
    text-align: center;
    max-width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-card img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    margin-bottom: 10px;
}

.sponsor-card:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-url {
    display: flex;
    padding: 15px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    font-family: serif;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

h3.sponsor-name {
    font-size: 1.2em;
    margin: 10px 0;
    font-family: serif;
}

p.sponsor-description {
    font-size: 0.8em;
    margin: 0;
    font-family: serif;
}