.mh-media-kit .mh-media-kit-hero {
  display: block;
}

/* Desktop hero: creator profile on the left, platform card on the right. */
.mh-media-kit .mh-media-kit-hero__grid {
  display: flex !important;
  flex-direction: row !important;
  gap: clamp(1.4rem, 2.6vw, 2.4rem);
  align-items: center;
  width: 100%;
}

.mh-media-kit .mh-media-kit-hero__intro {
  display: flex;
  flex: 2 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mh-media-kit-hero__profile {
  display: grid;
  grid-template-columns: clamp(160px, 15vw, 210px) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.4vw, 2rem);
  align-items: center;
}

.mh-media-kit-hero__profile picture {
  display: block;
  width: 100%;
  max-width: 210px;
}

.mh-media-kit-hero__copy {
  min-width: 0;
}

.mh-media-kit-hero__copy > :first-child {
  margin-top: 0;
}

.mh-profile-photo {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(76, 49, 29, 0.35);
  border-radius: var(--mh-radius-lg, 1rem);
  box-shadow: 0 8px 22px rgba(23, 35, 38, 0.14);
}

.mh-profile-photo--hero {
  max-width: 210px;
}

.mh-media-kit .mh-media-kit-social {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 300px;
  max-width: 36%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(76, 49, 29, 0.35);
  border-radius: var(--mh-radius-lg, 1rem);
  background: rgba(39, 26, 18, 0.13);
}

.mh-media-kit-social > :first-child {
  margin-top: 0;
}

/* Strong contrast is required here because the card sits on a light sandstone hero. */
.mh-media-kit-social > .mh-card__eyebrow {
  margin-bottom: 0.25rem;
  color: #4b2f1e;
}

.mh-media-kit-social > .mh-card__title {
  margin-bottom: 0.35rem;
}

.mh-media-kit-social__links {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.15rem;
}

.mh-media-kit-social__link {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(76, 49, 29, 0.18);
  border-radius: 0.62rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 120ms ease, background-color 120ms ease;
}

.mh-media-kit-social__link:hover,
.mh-media-kit-social__link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.mh-media-kit-social__link img {
  width: 20px;
  height: 20px;
}

.mh-media-kit-social__link span,
.mh-media-kit-social__link small {
  display: block;
}

.mh-media-kit-social__link strong {
  line-height: 1.15;
}

.mh-media-kit-social__link small {
  margin-top: 0;
  opacity: 0.82;
  font-size: 0.76em;
  line-height: 1.25;
}

.mh-media-kit-social__note {
  display: block;
  margin-top: 0.45rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(76, 49, 29, 0.18);
  font-size: 0.7em;
  line-height: 1.3;
  opacity: 0.78;
}

/* Once the portrait lives in the hero, this introduction becomes full-width. */
.mh-profile-intro {
  display: block;
}

.mh-profile-intro__copy {
  width: 100%;
}

.mh-profile-intro__copy > :first-child {
  margin-top: 0;
}

.mh-profile-intro .mh-actions {
  justify-content: center;
}

.mh-media-facts .mh-card {
  height: 100%;
}

@media (min-width: 901px) {
  .mh-media-kit > .mh-main-column {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    row-gap: 0;
  }

  .mh-media-kit > .mh-main-column > * {
    grid-column: 1 / -1;
  }

  .mh-media-kit > .mh-main-column > [aria-labelledby="create-title"] {
    grid-column: 1;
  }

  .mh-media-kit > .mh-main-column > [aria-labelledby="haven-title"] {
    grid-column: 2;
    margin-top: clamp(3.25rem, 4.2vw, 4rem);
  }

  .mh-media-kit > .mh-main-column > [aria-labelledby="haven-title"] .mh-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mh-media-kit > .mh-main-column > [aria-labelledby="haven-title"] .mh-button {
    justify-content: center;
    text-align: center;
  }
}

.mh-media-kit__closing {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .mh-media-kit .mh-media-kit-hero__grid {
    flex-direction: column !important;
    align-items: stretch;
  }

  .mh-media-kit .mh-media-kit-social {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .mh-media-kit-hero__profile {
    grid-template-columns: 1fr;
  }

  .mh-media-kit-hero__profile picture,
  .mh-profile-photo--hero {
    width: min(100%, 210px);
    margin-inline: auto;
  }
}
