/* =============================================
   Exhibition Overview — exhibition-overview.css
   ============================================= */

.exhibitions-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.exhibitions-page h1 {
    font-size: 1.65rem;
    margin-bottom: 2rem;
    color: hsl(240, 16%, 40%);
	text-align: center;
}

/* Secties */
.exhibitions-section {
    margin-bottom: 3rem;
}

.exhibitions-section h2 {
    font-size: 1.25rem;
    color: hsl(240, 16%, 40%);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid hsl(240, 16%, 85%);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* Card */
.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card-past {
    opacity: 0.85;
}

.card-header {
    padding: 1.25rem 1.25rem 0;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.card-body {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-weight: 600;
}

.card-value {
    font-size: 0.95rem;
    color: #333;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #f0f0f0;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-active {
    background: #d4edda;
    color: #155724;
}

.badge-upcoming {
    background: #fff3cd;
    color: #856404;
}

.badge-past {
    background: #e2e3e5;
    color: #555;
}

/* Datum Filter */
.date-filter {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
}

.filter-field input[type="date"] {
    padding: 0.55rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
}

.filter-field input[type="date"]:focus {
    outline: none;
    border-color: #4a6fa5;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.15);
}

.btn-filter {
    padding: 0.55rem 1.5rem;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter:hover {
    background: #fff;
    color: #ff6b6b;
	box-shadow: 0 0 0 1px #ff6b6b;
}

/* Geen resultaten */
.no-results {
    color: #777;
    font-style: italic;
    padding: 1rem 0;
}

.no-results.hint {
    color: #999;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    .exhibitions-page {
        padding: 1.25rem 1rem;
    }

    .exhibitions-page h1 {
        font-size: 1.4rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-field {
        width: 100%;
    }

    .filter-btn-wrap {
        margin-top: 0.25rem;
    }

    .btn-filter {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .exhibitions-page h1 {
        font-size: 1.2rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-body {
        padding: 0.85rem 1rem;
    }
}
.btn-card {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
	text-decoration: none;
}

.btn-card:hover {
    background: #fff;
    color: #ff6b6b;
	box-shadow: 0 0 0 1px #ff6b6b;
}

.card-footer form {
    margin: 0;
}