/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Archive Header */
.archive-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.archive-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}

/* Artist Grid */
.artist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* This gap might be problematic with the artist-group grid. Consider if you want this outer flex gap. */
}

/* Artist Group */
.artist-group {
    flex: 1 1 100%;
    margin-bottom: 20px;
    /* This overrides the previous .artist-group display flex with grid. Keep an eye on cascading. */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.artist-group h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #0073aa;
    text-align: center;
    color: #0073aa;
}

/* Artist Item */
.artist-item {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.artist-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.artist-item a:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .artist-group {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 600px) {
    .artist-group {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
