/* People (artist) profile page */

/* ---- Banner ---- */
.artist-banner-container {
  max-width: 1280px;
  padding-top: 18px;
  padding-bottom: 18px;
  --artist-section-title-size: clamp(24px, 2.2vw, 32px);
  --artist-section-gap: 48px;
}

.artist-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 34px;
  padding: 26px 34px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: #111 url("../../img/people/people-banner-bg.jpg") center 48% / cover no-repeat;
  font-family: Inter, Arial, sans-serif;
}

.artist-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 7, 9, 0.62) 0%, rgba(9, 9, 11, 0.45) 45%, rgba(9, 9, 11, 0.22) 100%);
}

.artist-banner__portrait {
  display: block;
  width: 218px;
  height: 218px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 35%;
}

.artist-banner__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 218px;
}
.artist-banner__content {
  min-width: 0;
  max-width: 510px;
}
.artist-banner__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 9px;
  min-width: 0;
}
.artist-banner__category {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}
.artist-banner h1 {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.15;
}
.artist-banner__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
  margin: 0;
}
.artist-banner__stat {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}
.artist-banner__stat svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.artist-banner__stat span {
  display: flex;
  flex-direction: column;
}
.artist-banner__stat strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}
.artist-banner__stat small {
  color: #d4d4d4;
  font-size: 9px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .artist-banner-container {
    padding-top: 14px;
  }
  .artist-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .artist-banner__portrait {
    justify-self: center;
    width: 180px;
    height: 180px;
  }
  .artist-banner__details { min-height: 0; gap: 24px; }
  .artist-banner__content { max-width: none; }
  .artist-banner h1 {
    font-size: 25px;
  }
}
@media (max-width: 820px) {
  .artist-banner__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .artist-banner-container { --artist-section-gap: 32px; }
  .artist-banner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    background-position: 62% center;
  }
  .artist-banner__portrait {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 1;
    object-position: center 32%;
  }
  .artist-banner__details { min-height: 0; gap: 24px; }
  .artist-banner__content {
    width: 100%;
    max-width: none;
  }
  .artist-banner__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .artist-banner__bottom { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Section header ---- */
.artist-section-header {
  margin-bottom: 20px;
  font-family: Inter, Arial, sans-serif;
}

.artist-section-header h2 {
  margin: 0 0 5px;
  color: #171c21;
  font-size: var(--artist-section-title-size, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.artist-section-header p {
  margin: 0;
  color: #6b7076;
  font-size: 13px;
}

/* ---- Events ---- */
.artist-events {
  box-sizing: border-box;
  width: 100%;
  padding-top: var(--artist-section-gap, 48px);
  padding-bottom: 0;
  font-family: Inter, Arial, sans-serif;
}

/* Kart ve grid: ana sayfadaki .hpv2-events__grid / .hpv2-event-card (hpv2-homepage.css) kullanılır. */

/* ---- About ---- */
.artist-about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  align-items: stretch;
  gap: 28px;
  padding: var(--artist-section-gap, 48px) 0 0;
  font-family: Inter, Arial, sans-serif;
}
.artist-about__copy {
  box-sizing: border-box;
  display: flex;
  min-height: 352px;
  flex-direction: column;
  min-width: 0;
  padding: 28px 30px;
  border: 1px solid #e7e9eb;
  border-radius: 16px;
  background: #fff;
}
.artist-about__eyebrow {
  color: #858a8f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.artist-about__copy h2 {
  margin: 9px 0 18px;
  color: #171c21;
  font-size: var(--artist-section-title-size, 32px);
  font-weight: 700;
  line-height: 1.2;
}
.artist-about__bio {
  position: relative;
  color: #555d64;
  font-size: 14px;
  line-height: 1.75;
}
/* Kısaltma yalnızca JS taşma tespit ederse uygulanır (bkz. people-profile.js). */
.artist-about__bio.is-collapsible {
  max-height: 175px;
  overflow: hidden;
}
.artist-about__bio.is-collapsible:not(.is-expanded)::after {
  position: absolute;
  inset: auto 0 0;
  height: 55px;
  content: '';
  pointer-events: none;
  background: linear-gradient(transparent, #fff);
}
.artist-about__bio.is-expanded { max-height: none; }
.artist-about__copy p {
  max-width: 680px;
  margin: 0 0 13px;
  color: #555d64;
  font-size: 14px;
  line-height: 1.75;
}
.artist-about__copy p:last-child { margin-bottom: 0; }
.artist-about__toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  padding: 17px 0 0;
  border: 0;
  color: #171c21;
  background: none;
  font: 700 13px Inter, Arial, sans-serif;
  cursor: pointer;
}
.artist-about__toggle[hidden] { display: none; }
.artist-about__toggle:hover { text-decoration: underline; }
.artist-about__toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}
.artist-about__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.artist-about__spotify {
  display: flex;
  min-width: 0;
  width: 100%;
}
.artist-about__spotify iframe {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 352px;
  border: 0;
  border-radius: 12px;
}

.artist-about__copy:only-child {
  grid-column: 1 / -1;
}

.artist-about--no-spotify {
  grid-template-columns: minmax(0, 1fr);
}

.artist-about--no-spotify .artist-about__copy {
  min-height: 0;
}

.artist-about--no-spotify .artist-about__copy p {
  max-width: none;
}

@media (max-width: 800px) {
  .artist-about { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .artist-about__copy { padding: 20px; }
}
