.filter-bar {
    margin: 20px;
    text-align: center;
    font-size: 2rem;

}

.filter-bar select {
    padding: 8px 12px;
    font-size: 1.5 rem;
    border-radius: 6px;
}

.card-container {
    padding:20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width:80%;
    margin: auto;
    justify-content: center;
}

/* Card */
.card {
    background: #fff;
    width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Placeholder image */
.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;   /* Makes image area squareish */
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding-left: 5px;
    padding-right: 5px;
}

/* Content */
.card-content {
    padding: 15px;
}

.card-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.card-info {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
}

.card-link {
    display: inline-block;
    padding: 10px 14px;
    background: var(--dl-color-scheme-md-red);
    color: var(--dl-color-scheme-white);
    text-decoration: none;
    border-radius: 6px;
}

.card-link:hover {
    background: var(--dl-color-scheme-white);
    color: var(--dl-color-scheme-md-red);
    border-color: var(--dl-color-scheme-md-red);
    border-radius: 6px;
}
