/* ── Sectie ──────────────────────────────────────────────────── */
.artists-section {
    max-width: 1000px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 12px hsla(0, 0%, 0%, .07);
    padding: 16px;
    box-sizing: border-box;
}

/* ── Filters ─────────────────────────────────────────────────── */
.artists-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #efefef;
}
.filter-full {
    width: 100%;
}
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 70px;
}
.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}
.filter-group input[type="text"],
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    width: 100%;
}
.filter-group input[type="text"]:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px hsla(0, 100%, 71%, 0.15);
}
.filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.filter-actions button[type="submit"] {
    padding: 8px 20px;
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.filter-actions button[type="submit"]:hover {
    background-color: #e85555;
}
.filter-actions a.reset-btn {
    padding: 8px 14px;
    background-color: transparent;
    color: #888;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.filter-actions a.reset-btn:hover {
    background-color: #f0f0f0;
    color: #555;
}

/* ── Info regel ──────────────────────────────────────────────── */
.artists-info {
    padding: 8px 10px;
    font-size: 0.8rem;
    color: #999;
}
.no-results {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 0.95rem;
}

/* ── Grid met kaarten ────────────────────────────────────────── */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 10px 0;
}

/* ── Kunstenaarskaart ────────────────────────────────────────── */
.artist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s, transform 0.15s;
    background-color: #fff;
}
.artist-card:hover {
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, .1);
    transform: translateY(-2px);
}
.artist-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 3px solid #f0f0f0;
    transition: border-color 0.2s;
}
.artist-card:hover .artist-photo {
    border-color: #ff6b6b;
}
.artist-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.artist-name {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}
.artist-card:hover .artist-name {
    color: #ff6b6b;
}
.artist-meta {
    font-size: 0.8rem;
    color: #999;
}
.artist-meta i {
    color: #bbb;
    margin-right: 3px;
}

/* ── Paginering ──────────────────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 20px 10px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.page-link:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
    color: #333;
}
.page-link.active {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 36px;
    color: #aaa;
    font-size: 0.85rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 700px) {
    .artists-section {
        margin: 10px;
        padding: 10px;
    }
    .filter-row {
        flex-direction: column;
    }
    .filter-group {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .filter-group select {
        width: 100%;
    }
    .filter-actions {
        width: 100%;
        padding-top: 6px;
    }
    .filter-actions button[type="submit"],
    .filter-actions a.reset-btn {
        flex: 1;
        text-align: center;
    }
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
    .artist-card {
        padding: 18px 12px;
    }
    .artist-photo {
        width: 70px;
        height: 70px;
    }
    .pagination {
        gap: 3px;
        padding: 16px 6px;
    }
    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .artists-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .artist-photo {
        width: 60px;
        height: 60px;
    }
    .artist-name {
        font-size: 0.9rem;
    }
}