/* Custom styles for MAC events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.event-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-card a {
    text-decoration: none;
    color: inherit;
}

.event-card-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-content {
    padding: 20px;
}

.event-card h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.event-date {
    color: #666;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.event-excerpt {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

/* Archive page heading */
.post-type-archive-mac_event .page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.post-type-archive-mac_event .page-title {
    font-size: 24px;
    margin: 0;
}

/* Responsive adjustments for archive */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Ajouter à la fin de custom.css */

/* Archive des artistes */
.post-type-archive-mac_artist .page-header {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.post-type-archive-mac_artist .page-title {
    font-size: 28px;
    margin: 0;
}

/* Grille des artistes */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.artist-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.artist-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.artist-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-card-placeholder {
    aspect-ratio: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

.artist-card-content {
    padding: 20px;
    min-height: 100px;
}

.artist-card h2 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.artist-card .artist-stage-name {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 0 0 8px 0;
}

.artist-card .artist-medium,
.artist-card .artist-taxonomy-medium {
    color: #888;
    font-size: 13px;
    margin: 0;
}

/* Compteur d'artistes */
.artists-count {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

.artists-count p {
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .artist-card-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Supprimer la pagination */
.post-type-archive-mac_artist .posts-navigation,
.post-type-archive-mac_artist .pagination {
    display: none !important;
}