.community-hero--profile .community-hero__body {
  display: grid;
  justify-content: stretch;
  position: relative;
  padding: 0 24px 24px;
  min-height: 144px;
}

.profile-hero-shell,
.profile-pattern-hero {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.community-hero--profile .community-hero__media {
  height: 360px;
  min-height: 0;
  aspect-ratio: auto;
}

.community-hero--profile .community-hero__media img,
.community-hero--profile .community-hero__media-fallback {
  height: 100%;
  object-fit: cover;
}

.profile-hero-shell .community-hero__overlay,
.profile-pattern-hero .community-hero__overlay {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.03) 46%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.64) 0%, rgba(17, 17, 17, 0.22) 42%, rgba(17, 17, 17, 0) 78%);
  z-index: 1;
}

.profile-hero__banner-copy {
  position: absolute;
  right: 42px;
  bottom: 18px;
  left: auto;
  z-index: 2;
  display: grid;
  justify-items: end;
  gap: 8px;
  width: min(48%, 680px);
  color: #fff;
  text-align: right;
  text-shadow: 0 2px 12px rgba(17, 17, 17, 0.34);
}

.profile-hero__banner-copy h1 {
  margin: 0;
  font-size: 46px;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.profile-hero__banner-copy .community-hero__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 900;
}

.profile-hero__topbar {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  max-width: min(70%, 720px);
}

.profile-hero__media-kicker {
  position: absolute;
  top: 18px;
  right: auto;
  left: 18px;
  z-index: 3;
  background: rgba(17, 17, 17, 0.58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.2);
}

.profile-hero__media-kicker + .community-hero__overlay + .profile-hero__topbar {
  top: 18px;
}

.profile-hero__actions {
  justify-content: flex-end;
  padding-top: 0;
}

.profile-hero__actions > * {
  flex: 0 0 auto;
}

.profile-hero__topbar .community-hero__action-pill {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
}

.community-hero--profile .community-hero__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
  max-width: 100%;
  margin-top: -54px;
}

.profile-hero__slogan-card {
  position: absolute;
  top: 20px;
  right: 24px;
  left: 172px;
  z-index: 2;
  display: grid;
  min-height: 48px;
  align-items: center;
  padding: 0;
}

.profile-hero__white-tags {
  position: absolute;
  top: -19px;
  right: 24px;
  left: clamp(172px, 18vw, 260px);
  z-index: 4;
  justify-content: flex-end;
  max-width: none;
}

.profile-pattern-hero .profile-hero__white-tags:empty {
  display: none;
}

.profile-pattern-hero .deck-hero__content:has(.profile-hero__white-tags:not(:empty)) .deck-hero__meta {
  padding-top: 48px;
}

.profile-hero__avatar-stack {
  display: grid;
  justify-items: center;
  gap: 8px;
  position: relative;
  z-index: 3;
}

.community-hero--profile .community-hero__avatar {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  border: 4px solid #fff;
  box-shadow: none;
}

.profile-hero__since {
  margin: 0;
  color: #5f514d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.community-hero--profile .community-hero__copy {
  padding-top: 0;
  gap: 10px;
}

.profile-hero__white-copy {
  display: grid;
  min-width: 0;
  padding-top: 18px;
}

.profile-hero__slogan {
  display: -webkit-box;
  max-width: 760px;
  margin: 0;
  overflow: hidden;
  color: #57433c;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.profile-page-tabs {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: -34px;
  overflow: visible;
  padding: 0 0 0 28px;
  position: relative;
  z-index: 4;
}

.profile-page-tabs__primary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.profile-page-tabs__primary a {
  flex: 0 0 auto;
}

.profile-page-tabs__more {
  position: relative;
  flex: 0 0 auto;
}

.profile-page-tabs__more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f7efec;
  color: #7a4332;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.profile-page-tabs__more summary::-webkit-details-marker {
  display: none;
}

.profile-page-tabs__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 10px;
  border: 1px solid #efdcd4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
}

.profile-page-tabs__menu a {
  justify-content: flex-start;
  width: 100%;
}

.profile-pattern-hero .business-hero__media,
.profile-pattern-hero .deck-hero__media,
.profile-pattern-hero .manager-hero__media {
  position: relative;
  background: #161616;
}

.profile-pattern-hero .business-hero__media img,
.profile-pattern-hero .business-hero__fallback,
.profile-pattern-hero .deck-hero__media img,
.profile-pattern-hero .deck-hero__fallback,
.profile-pattern-hero .manager-hero__media img,
.profile-pattern-hero .manager-hero__fallback {
  height: 360px;
  aspect-ratio: auto;
  object-fit: cover;
}

.profile-pattern-hero .deck-hero__fallback {
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(218, 74, 40, 0.22), transparent 28%),
    linear-gradient(135deg, #171717 0%, #2a302f 48%, #151515 100%);
}

.profile-pattern-hero .business-hero__floating-label--context,
.profile-pattern-hero__media-kicker {
  position: absolute;
  top: 18px;
  right: auto;
  left: 18px;
  z-index: 3;
  background: rgba(17, 17, 17, 0.58);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.2);
}

.profile-pattern-hero .business-hero__topbar,
.profile-pattern-hero .deck-hero__topbar,
.profile-pattern-hero .manager-hero__topbar {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: min(70%, 720px);
}

.profile-pattern-hero .business-hero__floating-label--panel,
.profile-pattern-hero .business-hero__panel-actions {
  position: static;
}

.profile-pattern-hero .business-hero__panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-pattern-hero .business-hero__topbar .business-hero__floating-label,
.profile-pattern-hero .business-hero__topbar .business-hero__floating-label--panel,
.profile-pattern-hero .deck-hero__topbar .business-hero__floating-label,
.profile-pattern-hero .deck-hero__topbar .business-hero__floating-label--panel,
.profile-pattern-hero .manager-hero__topbar .business-hero__floating-label,
.profile-pattern-hero .manager-hero__topbar .business-hero__floating-label--panel,
.profile-pattern-hero--premium-deck .premium-space-hero__actions a {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
}

.profile-pattern-hero--event .business-hero__topbar .business-hero__floating-label,
.profile-pattern-hero--event .business-hero__topbar .business-hero__floating-label--panel,
.profile-pattern-hero--deck .deck-hero__topbar .business-hero__floating-label,
.profile-pattern-hero--deck .deck-hero__topbar .business-hero__floating-label--panel,
.profile-pattern-hero--premium-deck .deck-hero__topbar .business-hero__floating-label,
.profile-pattern-hero--premium-deck .deck-hero__topbar .business-hero__floating-label--panel {
  background: #da4a28;
  border: 0;
  color: #fff;
}

.profile-pattern-hero .business-hero__content,
.profile-pattern-hero .deck-hero__content,
.profile-pattern-hero .manager-hero__body {
  position: relative;
  min-height: 144px;
  padding: 0 24px 24px;
}

.profile-pattern-hero .business-hero__identity--overlap,
.profile-pattern-hero .deck-hero__copy {
  margin-top: -54px;
}

.profile-pattern-hero .business-hero__identity--overlap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  position: relative;
  z-index: 3;
}

.profile-pattern-hero .business-hero__avatar-column,
.profile-pattern-hero .deck-hero__copy {
  position: relative;
  z-index: 3;
}

.profile-pattern-hero .business-logo,
.profile-pattern-hero .deck-hero__avatar {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  border: 4px solid #fff;
  box-shadow: none;
}

.profile-pattern-hero .deck-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-pattern-hero .deck-hero__topbar .business-hero__floating-label--panel {
  position: static;
}

.profile-pattern-hero .deck-hero__avatar--fallback {
  align-items: center;
  justify-content: center;
  background: #da4a28;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
}

.profile-pattern-hero--premium-deck .premium-space-hero__actions a {
  background: #fff;
  color: #9b442f;
}

.profile-pattern-hero--premium-deck .premium-space-hero__actions {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.profile-pattern-hero .business-hero__activity,
.profile-pattern-hero .deck-hero__created {
  margin: 0;
  color: #5f514d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.event-hero__details-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #f0ded6;
  border-radius: 18px;
  background: #fff8f5;
}

.profile-pattern-hero .deck-hero__content > .event-hero__details-bar {
  grid-column: 1 / -1;
  margin-top: 18px;
}

.profile-pattern-hero--premium-deck .deck-hero__content > .event-hero__details-bar {
  align-self: end;
  margin-top: 58px;
}

.event-hero__detail {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #f0ded6;
}

.event-hero__detail:last-child {
  border-right: 0;
}

.event-hero__detail span {
  color: #9b442f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-hero__detail strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #3f332f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.profile-pattern-hero .deck-hero__content {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.profile-pattern-hero .manager-hero__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.profile-pattern-hero .deck-hero__copy {
  min-width: 0;
}

.profile-pattern-hero .manager-hero__identity {
  display: grid;
  align-items: start;
  gap: 0;
  margin-top: -54px;
}

.profile-pattern-hero .deck-hero__identity {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.profile-pattern-hero .deck-hero__meta,
.profile-pattern-hero .manager-hero__meta {
  padding-top: 18px;
}

.manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #f0ded6;
  border-radius: 18px;
  background: #fff8f5;
}

.manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span {
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border-right: 1px solid #f0ded6;
  border-radius: 0;
  background: transparent;
  color: #9b442f;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}

.manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span:last-child {
  border-right: 0;
}

.profile-hero__banner-copy a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.58);
}

.profile-bio-section,
.profile-cards-section {
  display: grid;
  gap: 18px;
}

.profile-bio-section__subheader {
  padding-top: 6px;
}

.profile-cards-section__subheader {
  padding: 4px 0 0;
}

.profile-cards-section .community-cloud {
  display: grid;
  justify-items: center;
}

.profile-cards-section .explore-stage__cloud {
  justify-content: center;
  text-align: center;
}

@media (max-width: 720px) {
  .community-hero--profile .community-hero__body {
    padding: 0 16px 20px;
    min-height: 152px;
  }

  .community-hero--profile .community-hero__media {
    height: 300px;
    min-height: 0;
  }

  .profile-hero__topbar {
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
  }

  .profile-hero__media-kicker {
    top: 14px;
    right: auto;
    left: 14px;
  }

  .profile-hero__media-kicker + .community-hero__overlay + .profile-hero__topbar {
    top: 14px;
  }

  .profile-hero__banner-copy {
    right: 16px;
    bottom: 14px;
    left: 112px;
    width: auto;
    text-align: left;
    justify-items: start;
  }

  .profile-hero__banner-copy h1 {
    font-size: 32px;
  }

  .community-hero--profile .community-hero__identity {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    margin-top: -44px;
  }

  .community-hero--profile .community-hero__avatar {
    width: 88px;
    height: 88px;
    border-radius: 21px;
  }

  .profile-hero__white-copy {
    padding-top: 14px;
  }

  .profile-hero__slogan-card {
    top: 18px;
    right: 16px;
    left: 124px;
    min-height: 44px;
    padding: 9px 12px;
  }

  .profile-hero__white-tags {
    top: -18px;
    right: 16px;
    left: 124px;
    max-width: none;
    gap: 8px;
  }

  .profile-hero__banner-copy .community-hero__meta {
    font-size: 13px;
  }

  .profile-hero__slogan {
    font-size: 13px;
  }

  .profile-page-tabs {
    gap: 8px;
  }

  .profile-pattern-hero .business-hero__media img,
  .profile-pattern-hero .business-hero__fallback,
  .profile-pattern-hero .deck-hero__media img,
  .profile-pattern-hero .deck-hero__fallback,
  .profile-pattern-hero .manager-hero__media img,
  .profile-pattern-hero .manager-hero__fallback {
    height: 300px;
  }

  .profile-pattern-hero .business-hero__topbar,
  .profile-pattern-hero .deck-hero__topbar,
  .profile-pattern-hero .manager-hero__topbar {
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
  }

  .profile-pattern-hero .business-hero__floating-label--context,
  .profile-pattern-hero__media-kicker {
    top: 14px;
    left: 14px;
  }

  .profile-pattern-hero .business-hero__content,
  .profile-pattern-hero .deck-hero__content,
  .profile-pattern-hero .manager-hero__body {
    min-height: 152px;
    padding: 0 16px 20px;
  }

  .profile-pattern-hero .business-hero__identity--overlap,
  .profile-pattern-hero .deck-hero__copy,
  .profile-pattern-hero .manager-hero__identity {
    margin-top: -44px;
  }

  .profile-pattern-hero .deck-hero__content,
  .profile-pattern-hero .manager-hero__body {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-pattern-hero--premium-deck .deck-hero__content > .event-hero__details-bar {
    margin-top: 44px;
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span:nth-child(2n) {
    border-right: 0;
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span:nth-child(-n + 4) {
    border-bottom: 1px solid #f0ded6;
  }

  .profile-pattern-hero .deck-hero__avatar {
    width: 88px;
    height: 88px;
    border-radius: 21px;
  }

  .event-hero__details-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-hero__detail:nth-child(2) {
    border-right: 0;
  }

  .event-hero__detail:nth-child(-n + 2) {
    border-bottom: 1px solid #f0ded6;
  }
}

@media (max-width: 460px) {
  .community-hero--profile .community-hero__identity {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .profile-hero__white-copy {
    padding-top: 0;
  }

  .profile-hero__banner-copy {
    right: 16px;
    left: 16px;
  }

  .profile-hero__slogan-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-top: 10px;
  }

  .profile-hero__white-tags {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    justify-content: flex-start;
    max-width: 100%;
    margin-top: -18px;
    margin-bottom: 12px;
  }

  .profile-pattern-hero .business-hero__identity--overlap,
  .profile-pattern-hero .deck-hero__content,
  .profile-pattern-hero .manager-hero__body {
    grid-template-columns: 1fr;
  }

  .profile-pattern-hero--premium-deck .deck-hero__content > .event-hero__details-bar {
    margin-top: 18px;
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta {
    grid-template-columns: 1fr;
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span,
  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid #f0ded6;
  }

  .manager-hero--profile-pattern.profile-pattern-hero--premium-deck .manager-hero__meta span:last-child {
    border-bottom: 0;
  }

  .event-hero__details-bar {
    grid-template-columns: 1fr;
  }

  .event-hero__detail,
  .event-hero__detail:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #f0ded6;
  }

  .event-hero__detail:last-child {
    border-bottom: 0;
  }
}
