.actor-card-media {
  aspect-ratio: 3 / 4;
}

.actor-card-media > a {
  width: 100%;
  height: 100%;
  display: block;
  color: inherit;
  text-decoration: none;
}

.actor-card-media > a img {
  object-fit: contain;
  object-position: center;
  background: var(--blue);
}

.actor-card-media > a:focus-visible {
  outline-offset: -5px !important;
}

.actor-biography-card {
  grid-column: 1 / -1;
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(207, 232, 239, .42));
}

.actor-biography-card h2,
.actor-biography {
  max-width: 850px;
}

.actor-biography {
  color: var(--ink) !important;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  line-height: 1.72;
  white-space: pre-line;
}

.actor-biography-attribution {
  margin-top: 22px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .82rem !important;
}

.actor-filmography {
  padding-top: 38px;
}

.actor-complete-filmography {
  padding-block: 38px 54px;
}

.actor-credit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.actor-credit-list a {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, .78);
  text-decoration: none;
}

.actor-credit-list a:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 28px rgba(22, 34, 45, .08);
}

.actor-credit-list strong {
  line-height: 1.3;
}

.actor-credit-list span {
  margin-top: auto;
  color: var(--muted);
  font-size: .82rem;
}

.actor-film-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-height: 220px;
}

.actor-film-poster {
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

.actor-film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.actor-film-card .venue-card-body {
  display: flex;
  flex-direction: column;
}

.actor-film-card .source-link {
  margin-top: auto;
}

.movie-showtime-picker {
  max-width: 920px;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(35, 79, 119, .18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 253, 248, .96), rgba(207, 232, 239, .42));
  box-shadow: 0 16px 42px rgba(22, 34, 45, .08);
}

.movie-showtime-picker .movie-showtime-picker-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 16px;
}

.movie-showtime-picker label {
  margin: 0;
}

.movie-showtime-picker select {
  margin-top: 9px;
  color: var(--ink);
  background-color: #fff;
}

.movie-showtime-picker .button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.movie-showtime-picker .button:disabled {
  cursor: wait;
  opacity: .64;
}

.movie-showtime-status {
  max-width: 920px;
  margin: 0 0 28px;
  padding: 14px 17px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  background: rgba(207, 232, 239, .3);
}

.movie-showtime-results[aria-busy="true"] {
  opacity: .55;
}

.movie-showtime-limit {
  margin: 22px 0 0;
  color: var(--muted);
}

@media (max-width: 620px) {
  .actor-credit-list {
    grid-template-columns: 1fr;
  }

  .actor-film-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .actor-film-poster {
    min-height: 190px;
  }

  .actor-biography-card {
    padding: 22px;
  }

  .movie-showtime-picker {
    padding: 20px;
  }

  .movie-showtime-picker .movie-showtime-picker-fields {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .actor-credit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
