/* Wrapper principal */
.artistes-profiles-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Filtres */
.artistes-filters {
    margin-bottom: 40px;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.artistes-search-input,
.artistes-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    height: 44px; /* Hauteur fixe pour uniformité */
    box-sizing: border-box;
}

.artistes-search-input:focus,
.artistes-select:focus {
    outline: none;
    border-color: #2ea3f2;
    box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.1);
}

.reset-button {
    padding: 12px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    height: 44px; /* Même hauteur que les autres filtres */
    box-sizing: border-box;
}

.reset-button:hover {
    background: #555;
}

/* Loader */
.artistes-loader {
    text-align: center;
    padding: 40px;
}

.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2ea3f2;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Grille des profils */
.artistes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Carte artiste */
.artiste-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.artiste-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Lien image */
.artiste-image-link {
    display: block;
    text-decoration: none;
}

/* Image */
.artiste-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 75%; /* Ratio 4:3 */
}

.artiste-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.artiste-card:hover .artiste-image img {
    transform: scale(1.05);
}

/* Contenu */
.artiste-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Lien titre */
.artiste-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.artiste-title-link:hover {
    color: #2ea3f2;
}

.artiste-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.artiste-title-link:hover .artiste-title {
    color: #2ea3f2;
}

/* Meta informations */
.artiste-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Bouton Découvrir */
.artiste-content .et_pb_button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Message aucun résultat */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 30px;
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Responsive - Tablette */
@media (max-width: 992px) {
    .artistes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .artistes-profiles-wrapper {
        padding: 15px;
    }
    
    .artistes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .artistes-filters {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .filter-row {
        gap: 12px;
    }
    
    .artiste-title {
        font-size: 18px;
    }
    
    .meta-item {
        font-size: 13px;
    }
}

/* Responsive - Très petit mobile */
@media (max-width: 480px) {
    .artistes-profiles-wrapper {
        padding: 10px;
    }
    
    .artiste-content {
        padding: 15px;
    }
    
    .artistes-filters {
        padding: 15px;
    }
}

.artistes-search-input {
    color: #333 !important;
}

.artistes-search-input::placeholder {
    color: #999;
    font-style: italic;
    opacity: 1;
}

