/* Artists Archive Grid */
.artists-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .artists-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .artists-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .artists-archive-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Artist Card */
.artist-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.artist-grid-item:hover {
    transform: translateY(-5px);
}

.artist-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.artist-card-inner {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.artist-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.artist-grid-item:hover .artist-card-bg {
    transform: scale(1.05);
}

/* Overlay Gradient */
.artist-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

/* Artist Info (Bottom Left/Right) */
.artist-card-info {
    position: absolute;
    bottom: 15px;
    left: 15px; /* Adjust for RTL if needed, maybe right: 15px */
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

/* RTL Support */
body.rtl .artist-card-info {
    flex-direction: row; /* Keep standard flex direction but ensure text alignment */
}

.artist-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-name {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}
