/* Creator pages (/creators/<slug>): the profile styles of style.css, plus what a page of its own needs.
   Bump CREATOR_ASSET_VERSION in scripts/generate-seo-pages.mjs when this file changes: it is cached for a day. */

.profile-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* One, two or three figures (posts, exclusive posts, price): the row is filled with what the creator has. */
.creator-page .profile-stats-row {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

.creator-page .profile-bio {
  margin-bottom: 12px;
}

.profile-summary {
  margin-bottom: 32px;
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.7;
}

.locked-section__note {
  margin: 0 0 2px;
  color: var(--text-3);
  font-size: 14px;
}

.profile-more {
  margin-top: clamp(56px, 8vw, 96px);
}

.profile-more__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 280px));
  justify-content: center;
}

.profile-more__link {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Accounts the creator gave us, under her name. */
.creator-page .profile-socials {
  margin-top: 2px;
}

.profile-social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* The cover is the picture of the page: shown sharp (it used to be blurred and dimmed to 35%), only darkened
   toward the bottom so the name stays readable on a bright photo, and fading into the page below. */
.creator-page .profile-hero {
  min-height: clamp(520px, 34vw, 720px);
}

/* On a wide screen the cover is a framed picture in the middle (960 px at most) instead of being stretched across;
   on a phone, or any screen narrower than that, it goes edge to edge. */
.creator-page .profile-hero__bg {
  inset: 0;
  max-width: 960px;
  margin: 0 auto;
  background-repeat: no-repeat;
  filter: none;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

.creator-page .profile-hero__overlay {
  background: linear-gradient(180deg, rgba(6, 4, 7, 0.45) 0%, rgba(6, 4, 7, 0.05) 22%, rgba(6, 4, 7, 0.25) 52%, rgba(6, 4, 7, 0.9) 100%);
  -webkit-mask-image: none;
  mask-image: none;
}

.creator-page .profile-name,
.creator-page .profile-kicker {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.6);
}
