/* Generated artwork for the public profile, joining, team and help surfaces. */
.imagery-portfolio-cover > img,
.imagery-offer-cover > img,
.imagery-team-cover > img,
.imagery-team-banner > img,
.imagery-team-create > img,
.imagery-auth-art > img,
.imagery-support-art > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover.imagery-portfolio-cover {
  height: auto;
  aspect-ratio: 16 / 9;
  background: #f5f2eb;
}

.cover.imagery-portfolio-cover::before,
.cover.imagery-portfolio-cover::after,
.cx-art.imagery-offer-cover::before,
.cx-art.imagery-offer-cover::after,
.cx-team-cover.imagery-team-cover::before,
.cx-team-cover.imagery-team-cover::after {
  content: none;
}

.cx-art.imagery-offer-cover {
  height: auto;
  aspect-ratio: 16 / 9;
}

.cx-team-cover.imagery-team-cover {
  height: 176px;
}

.imagery-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: 1100px;
  margin: 40px auto 60px;
}

.imagery-auth-layout > .auth-wrap {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
}

.imagery-auth-art {
  margin: 0;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: #f5f2eb;
}

.cx-team-masthead.imagery-team-masthead {
  --imagery-masthead-padding: 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: var(--imagery-masthead-padding);
  gap: 24px;
}

.imagery-team-masthead > div:nth-child(2) {
  min-width: 0;
}

.imagery-team-banner {
  grid-column: 1 / -1;
  grid-row: 1;
  height: 190px;
  margin: calc(-1 * var(--imagery-masthead-padding)) calc(-1 * var(--imagery-masthead-padding)) 0;
  overflow: hidden;
}

.imagery-team-banner > img {
  object-position: center 48%;
}

.imagery-team-create {
  margin: -10px -10px 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.sp-guide-illustration.imagery-support-art {
  display: block;
  align-self: center;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .imagery-auth-layout {
    gap: 24px;
  }

  .imagery-auth-layout > .auth-wrap {
    padding: 24px;
  }

  .imagery-auth-art {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
  }

  .cx-team-masthead.imagery-team-masthead {
    --imagery-masthead-padding: 24px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
  }

  .imagery-team-masthead > .cx-chip {
    grid-column: 1 / -1;
    justify-self: start;
    margin-inline-start: 0;
  }
}

@media (max-width: 640px) {
  .imagery-auth-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    gap: 20px;
    margin: 24px auto 36px;
  }

  .imagery-auth-art {
    order: -1;
    aspect-ratio: 16 / 7;
    border-radius: 16px;
  }

  .cx-team-masthead.imagery-team-masthead {
    --imagery-masthead-padding: 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .imagery-team-masthead > .cx-team-monogram {
    display: none;
  }

  .imagery-team-banner {
    height: 150px;
  }

  .imagery-team-create {
    float: left;
    width: 34%;
    max-width: 150px;
    margin: 0 16px 12px 0;
    aspect-ratio: 1;
  }

  .cx-team-create-note:has(.imagery-team-create)::after {
    content: '';
    display: block;
    clear: both;
  }

  .sp-guide-illustration.imagery-support-art {
    width: 100%;
    max-width: 320px;
    margin: 12px auto 0;
    aspect-ratio: 4 / 3;
  }
}
