/*
 * artist.css - Pages artistes /italo-disco/[slug]/
 * Depend de italopower.css pour les variables et composants de base
 */

/* Breadcrumb */
.artist-breadcrumb {
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
.artist-breadcrumb__inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}
.artist-breadcrumb a { color: var(--text-dim); transition: color .2s; }
.artist-breadcrumb a:hover { color: var(--accent); }

/* Hero artiste */
.artist-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--line-strong);
}
.artist-hero__inner {
  max-width: 1240px; margin: 0 auto; padding: 32px 24px 0;
  display: flex; gap: 36px; align-items: flex-start;
}
.artist-hero__img-wrap {
  flex-shrink: 0;
  width: 300px; height: 300px; border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(248,34,73,.2);
  border: 2px solid var(--line-strong);
}
.artist-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.artist-hero__info { flex: 1; min-width: 0; padding-top: 4px; display: flex; flex-direction: column; }
.artist-hero__name {
  font-family: var(--display); font-size: clamp(42px, 6vw, 80px);
  line-height: .92; letter-spacing: .02em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.artist-hero__meta {
  display: flex; gap: 0; flex-wrap: wrap;
  font-size: 14px; color: var(--text-dim); margin-bottom: 24px;
}
.artist-hero__meta span { padding-right: 16px; }
.artist-hero__meta span + span {
  padding-left: 16px; border-left: 1px solid var(--line);
}

.artist-hero__links { display: flex; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.artist-hero__links a {
  font-size: 13px; color: var(--text-dim); border-bottom: 1px solid var(--line);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.artist-hero__links a:hover { color: var(--accent); border-color: var(--accent); }

/* Divider + bio dans hero */
.artist-hero__divider {
  width: 40px; height: 2px; background: var(--accent);
  margin-bottom: 16px;
}
.artist-hero__bio {
  font-size: 15px; line-height: 1.75; color: var(--text-dim);
  flex: 1;
}
.artist-hero__bio br { display: block; margin-bottom: 6px; }

/* Main */
.artist-main {
  max-width: 1240px; margin: 0 auto; padding: 0 24px 80px;
  display: flex; flex-direction: column; gap: 0;
}

/* Section */
.artist-section { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 0 !important; }
.artist-section .rule { margin-bottom: 4px; margin-top: 0; }
.artist-section-title {
  font-family: var(--display); font-size: clamp(32px, 4vw, 52px);
  letter-spacing: .02em; text-transform: uppercase; color: var(--text);
}

/* Bio */
.artist-bio {
  font-size: 16px; line-height: 1.75; color: var(--text-dim);
  max-width: 720px;
}
.artist-bio br { display: block; margin-bottom: 8px; }

/* On Air card */
.artist-onair {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-surface); border: 1px solid var(--accent);
  border-radius: 10px; padding: 16px 20px;
  max-width: 500px;
}
.artist-onair img {
  width: 60px; height: 60px; border-radius: 4px; object-fit: cover; flex-shrink: 0;
}
.artist-onair-info {}
.artist-onair-label {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.artist-onair-label::before {
  content: ''; width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; animation: pulse 2.2s ease-in-out infinite;
}
.artist-onair-name {
  font-weight: 600; font-size: 15px; color: var(--text);
}
.artist-onair-year { font-size: 13px; color: var(--text-muted); }

/* Discographie */
.artist-releases {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.artist-release {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px;
  transition: border-color .2s;
}
.artist-release:hover { border-color: rgba(248,34,73,.3); }
.artist-release-thumb {
  width: 54px; height: 54px; border-radius: 4px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
}
.artist-release-title {
  font-weight: 600; font-size: 14px; color: var(--text);
  white-space: normal; word-break: break-word; line-height: 1.4; flex: 1;
}
.artist-release-title a {
  color: var(--text); text-decoration: none;
  transition: color .2s;
}
.artist-release-title a:hover { color: var(--accent); }
.artist-release-year {
  font-family: var(--display); font-size: 15px; letter-spacing: .1em;
  color: var(--text-dim); flex-shrink: 0; white-space: nowrap; padding-left: 10px;
}
.artist-release-meta { display: none; }

/* Back link */
.artist-back { padding-top: 20px; border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 768px) {
  .artist-hero__inner { flex-direction: column; gap: 24px; padding: 32px 20px; }
  .artist-hero__img-wrap { width: 140px; height: 140px; flex-shrink: 0; }
  .artist-releases { grid-template-columns: 1fr; }
  .artist-hero__meta { flex-direction: column; gap: 4px; }
  .artist-hero__meta span + span { border-left: none; padding-left: 0; }
}
