/* Source: app/templates/pages/creator.html — Figma "Perfil de creador" (exacte) */

  .creator-main {
    width: 1246px;
    margin: 0 auto;
    padding-bottom: 165px;
  }

  /* ===== Hero: avatar | nom+stats+seguir | bio+email ===== */
  .creator-hero {
    display: grid;
    grid-template-columns: 182px 500px 1fr;
    column-gap: 31px;
    align-items: start;
    margin-top: 93px;
    padding-bottom: 20px;
  }

.creator-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 182px;
}

.creator-message-btn {
  margin-top: 8px;
  white-space: nowrap;
}

  .creator-avatar {
    width: 182px;
    height: 182px;
    border-radius: 50%;
    overflow: hidden;
    background: #efecff;
    display: block;
  }
  .creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .creator-id { display: flex; flex-direction: column; align-items: flex-start; }
  .creator-name {
    margin: 12px 0 0;
    color: #111;
    font-size: 32px;
    line-height: 45px;
    font-weight: 300;
    letter-spacing: -0.64px;
  }
  .creator-role {
    margin-top: 2px;
    color: #111;
    font-size: 15px;
    line-height: 19px;
    font-weight: 200;
  }

  .creator-stats {
    display: flex;
    gap: 30px;
    margin-top: 22px;
  }
  .creator-stats a {
    display: flex;
    flex-direction: column;
    width: 76px;
    color: #111;
    text-decoration: none;
  }
  .creator-stat-num {
    color: #111;
    font-size: 32px;
    line-height: 40px;
    font-weight: 200;
    letter-spacing: -1.6px;
  }
  .creator-stat-label {
    margin-top: 2px;
    color: #111;
    font-size: 12px;
    line-height: 18px;
    font-weight: 200;
  }

  .creator-avatar-col .follow-btn {
    margin-top: 31px;
    min-width: 105px;
    height: 30px;
    padding: 0 24px;
    border: 1px solid #d1d1d1;
    border-radius: 100px;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .creator-avatar-col .follow-btn.btn-dark {
    background: #111;
    color: #fff;
    border-color: #111;
  }

  .creator-bio { padding-top: 26px; }
  .creator-bio p {
    margin: 0;
    max-width: 502px;
    color: #111;
    font-size: 12px;
    line-height: 18px;
    font-weight: 200;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 11;
    line-clamp: 11;
    overflow: hidden;
  }
  /* ===== Seccions de projectes (carrusel de 3) ===== */
  .creator-section { margin-top: 40px; }
  .creator-section ~ .creator-section { margin-top: 92px; }
  .creator-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 49px;
  }
  .creator-section-title {
    margin: 0;
    color: #111;
    font-size: 20px;
    line-height: 25px;
    font-weight: 400;
    text-transform: uppercase;
  }
  .creator-carousel-nav { display: flex; gap: 12px; }
  .creator-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #d1d1d1;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .creator-arrow svg { width: 22px; height: 22px; }
  .creator-arrow:hover { border-color: #111; }

  .creator-row {
    display: flex;
    gap: 31px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .creator-row::-webkit-scrollbar { display: none; }

  /* ===== Targeta de projecte (Figma: 395x344) ===== */
  .creator-card {
    flex: 0 0 395px;
    width: 395px;
    display: flex;
    flex-direction: column;
    color: #111;
    text-decoration: none;
  }
  .creator-card-media {
    position: relative;
    display: block;
    width: 395px;
    height: 222px;
    overflow: hidden;
  }
  .creator-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .creator-card-status,
  .creator-card-cat {
    position: absolute;
    bottom: 14px;
    height: 22px;
    padding: 0 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    line-height: 13px;
    font-weight: 300;
    letter-spacing: .2px;
    text-transform: uppercase;
  }
  .creator-card-status {
    left: 12px;
    background: #fff;
    color: #513bfe;
  }
  .creator-card-cat {
    right: 16px;
    background: #f5f4af;
    color: #111;
  }
  .creator-card-title {
    margin-top: 20px;
    color: #111;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
  }
  .creator-card-copy {
    margin-top: 12px;
    color: #111;
    font-size: 14px;
    line-height: 20px;
    font-weight: 200;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .creator-card-metric {
    margin-top: 12px;
    color: #111;
    font-size: 14px;
    line-height: 20px;
    font-weight: 200;
  }
  .creator-card-progress {
    margin-top: 8px;
    width: 100%;
    height: 10px;
    border: 0;
    border-radius: 100px;
    overflow: hidden;
    background: #edebfd;
    -webkit-appearance: none;
    appearance: none;
    display: block;
  }
  .creator-card-progress::-webkit-progress-bar { background: #edebfd; border-radius: 100px; }
  .creator-card-progress::-webkit-progress-value { background: #513bfe; border-radius: 100px; }
  .creator-card-progress::-moz-progress-bar { background: #513bfe; border-radius: 100px; }
