.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    margin: 2.5rem auto;
    gap: 2.5rem;
}

.cards-grid .card {
    flex: 1 1 300px;
    justify-content: center;
    border-color: var(--color-card-border);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor:pointer; 
}

.card img {
    width: 100%;
    aspect-ratio: 4/ 3;
    object-fit: cover;
    margin: 1.3rem auto;
}

.card-body {
    display: flex;
    flex-direction: column;
    z-index: 100;
      text-decoration: none ;

}

.card-body h5 {
    text-decoration: underline var(--color-accent) 3px solid;
    text-decoration-skip-ink: none;

}

.card-body .btn {
    margin-top: auto;
    width: fit-content;
    border: none;
    outline: none;
}

@media (max-width: 1088px) {
    .cards-grid {
        width: 95%;
        gap: 1rem;
        height: 85%;
    }

    .cards-grid .card {
        flex: 1 1 100%;
    }
}