/* Extracted from music/artist-list.php */

/* Layout */
body[data-page="artist-list"] .home-layout{
  display:block !important;
  width:100%;
}

body[data-page="artist-list"] .home-main{
  width:100%;
}

/* Titre + filtres */
body[data-page="artist-list"] .section-head.section-head--with-filter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

/* IMPORTANT :
   on ne redéfinit plus .albums-title ici
   pour garder exactement la même typo que sur index.php */

/* Barre de filtres */
body[data-page="artist-list"] .filter-bar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px;
  margin:0;
  background:transparent;
  border:none;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}

@media (max-width:900px){
  body[data-page="artist-list"] .section-head.section-head--with-filter{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  body[data-page="artist-list"] .filter-bar{
    width:100%;
    flex-wrap:wrap;
    row-gap:8px;
    column-gap:8px;
    overflow-x:visible;
  }
}

body[data-page="artist-list"] .filter-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

body[data-page="artist-list"] .chip-icon{
  font-size:1.1rem;
  opacity:.85;
  cursor:default;
  user-select:none;
}

body[data-page="artist-list"] .select-wrap{
  position:relative;
  display:inline-block;
}

body[data-page="artist-list"] .select-ghost{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background:#181820;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  border-radius:16px;
  height:34px;
  line-height:32px;
  padding:0 30px 0 10px;
  font-size:.93rem;
  outline:none;
  transition:border-color .2s ease, background .2s ease;
}

body[data-page="artist-list"] .select-ghost:hover{
  border-color:rgba(255,255,255,.2);
}

body[data-page="artist-list"] .select-ghost:focus{
  border-color:#8aa4ff;
  background:#1b1b25;
}

body[data-page="artist-list"] .select-ghost::-ms-expand{
  display:none;
}

body[data-page="artist-list"] .select-wrap::after{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:9px;
  height:5px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='5'><path fill='%23cbd5ff' d='M0 0l4.5 5L9 0z'/></svg>");
  background-repeat:no-repeat;
  background-size:9px 5px;
  opacity:.85;
}

/* Boutons */
body[data-page="artist-list"] .filter-btn{
  height:34px;
  padding:0 14px;
  border-radius:16px;
  background:rgba(138,164,255,.15);
  border:1px solid #8aa4ff;
  color:#eaeaea;
  font-weight:700;
  cursor:pointer;
  transition:filter .2s ease, transform .2s ease;
}

body[data-page="artist-list"] .filter-btn:hover{
  filter:brightness(1.07);
  transform:translateY(-1px);
}

body[data-page="artist-list"] .filter-reset{
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:16px;
  color:#cbd5ff;
  text-decoration:none;
  font-size:1.1rem;
  line-height:1;
  transition:background .2s ease, color .2s ease;
}

body[data-page="artist-list"] .filter-reset:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

/* Grille principale */
body[data-page="artist-list"] .grid-artists{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:18px;
  align-items:stretch;
}

/* Cartes */
body[data-page="artist-list"] .card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  overflow:hidden;
  text-align:center;
  transition:transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

body[data-page="artist-list"] .card:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 14px 40px rgba(0,0,0,.28);
}

body[data-page="artist-list"] .card .thumb{
  position:relative;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
}

body[data-page="artist-list"] .card .cover{
  width:100%;
  height:100%;
  object-fit:cover;
  background:#0b0b10;
  display:block;
}

body[data-page="artist-list"] .card .meta{
  padding:12px 10px 14px;
  text-align:center;
}

body[data-page="artist-list"] .card .meta .title{
  margin:0;
  color:#fff !important;
  font-weight:800;
  font-size:1.05rem;
  line-height:1.25;
}

body[data-page="artist-list"] .card .meta .sub{
  display:none;
}

/* Liens cartes */
body[data-page="artist-list"] .link{
  color:inherit;
  text-decoration:none;
  display:block;
}

/* Pagination */
body[data-page="artist-list"] .pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin-top:22px;
}

body[data-page="artist-list"] .pagination a,
body[data-page="artist-list"] .pagination span{
  min-width:36px;
  height:36px;
  padding:0 10px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
}

body[data-page="artist-list"] .pagination a:hover{
  background:rgba(255,255,255,.08);
}

body[data-page="artist-list"] .pagination .is-current{
  background:#fff;
  color:#111;
  border-color:#fff;
}

body[data-page="artist-list"] .pagination .is-disabled{
  opacity:.35;
  pointer-events:none;
}

@media (max-width:768px){
  body[data-page="artist-list"] .grid-artists{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
  }

  body[data-page="artist-list"] .card .meta .title{
    font-size:1rem;
  }
}