.card svg{
    width: var(--icon-size);
    height: var(--icon-size);
    color: var(--color-neutral-light);
}

.card {
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius);
    padding: 1rem;
    color: var(--color-neutral-light);
    box-shadow: var(--shadow);
    background: linear-gradient(
        135deg,
        #0D2B45 0%,
        #1E4A73 100%
    );
}

.card a {
    margin-top: auto;
    align-self: center;
}

.light-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius);
    color: var(--color-neutral-dark);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #F8F3E8 0%, #EEDFC1 100%);
    flex: 0 0 auto;        /* <-- use auto on mobile */
    min-width: 85%;        /* <-- match slider-track-wrapper rule */
}

.light-card img {
    display: block;
    width: 100%;
    height: 180px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0
}

.light-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.5rem;
}

.light-card-content a {
    margin-top: auto;
    align-self: center;
}

@media (min-width: 768px) {
    .light-card img {
        height: 200px;
    }

    .light-card {
        flex: 0 0 350px;
        min-width: 0;
    }
}

@media (min-width: 1024px) {    
    .light-card img {
        height: 220px;
    }

    .light-card {
        flex: 0 0 400px;
    }
}

@media (min-width: 1440px) {    
    .light-card img {
        height: 300px;
    }

    .light-card {
        flex: 0 0 450px;
    }
}

@media (min-width: 1920px) {    
    .light-card img {
        height: 350px;
    }

    .light-card {
        flex: 0 0 500px;
    }
}