.actor-profile-header {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: start;
}

.actor-profile-portrait {
  grid-row: 1 / 3;
}

.actor-profile-name {
  margin: 0;
  overflow-wrap: anywhere;
}

.actor-profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .625rem 1.5rem;
  margin: 0;
  align-content: start;
}

.actor-fact {
  display: grid;
  grid-template-columns: minmax(5rem, .35fr) minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  overflow-wrap: anywhere;
}

.actor-fact dt,
.actor-fact dd {
  margin: 0;
}

.actor-fact-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(5rem, .15fr) minmax(0, 1fr);
}

.actor-biography {
  border-top: 1px solid var(--border-color, #dee2e6);
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.actor-biography-content {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.actor-biography-content > :last-child {
  margin-bottom: 0;
}

.actor-biography-content.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.actor-biography-toggle {
  padding: .5rem 0 0;
  color: var(--link-color, #0d6efd);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.actor-biography-toggle[hidden] {
  display: none;
}

.actor-profile-links a {
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .actor-profile-header {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 1rem;
  }

  .actor-profile-portrait {
    grid-row: auto;
  }

  .actor-profile-name {
    align-self: center;
  }

  .actor-profile-facts {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }

  .actor-fact,
  .actor-fact-wide {
    grid-template-columns: minmax(6rem, .3fr) minmax(0, 1fr);
  }
}
