.movie-content {
  padding: clamp(1.5rem, 5vh, 3.5rem) 0;
}

.movie-intro,
.movie-status,
.movie-entry,
.movie-trailer-card,
.movie-credits {
  border: 1px solid rgba(80, 93, 123, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(28, 38, 63, 0.2);
}

.movie-intro {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
}

.movie-intro h1 {
  margin: 0.15rem 0 0.45rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.movie-kicker {
  margin: 0;
  color: #536aa5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.movie-status {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  color: #495057;
  text-align: center;
}

.movie-status.is-error {
  border-color: rgba(176, 55, 55, 0.28);
  color: #8b2525;
}

.movie-entry {
  display: grid;
  overflow: hidden;
  max-width: 68rem;
  margin: 0 auto 1.5rem;
}

.movie-entry[hidden],
.movie-trailer-card[hidden] {
  display: none;
}

.movie-poster-shell {
  display: grid;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  background: #101726;
}

.movie-poster {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 46rem;
  object-fit: contain;
}

.movie-details {
  align-self: center;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.movie-details h2 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
}

.movie-tagline {
  margin: 0 0 1rem;
  color: #65718a;
  font-size: 1.05rem;
  font-style: italic;
}

.movie-facts {
  display: flex;
  margin: 0 0 0.65rem;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.movie-facts span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #e9eef9;
  color: #26385f;
  font-size: 0.82rem;
  font-weight: 700;
}

.movie-facts span:empty {
  display: none;
}

.movie-genres {
  margin: 0 0 1rem;
  color: #536aa5;
  font-size: 0.9rem;
  font-weight: 700;
}

.movie-overview {
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.72;
}

.movie-people {
  margin: 0 0 1.2rem;
}

.movie-people div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
}

.movie-people div + div {
  margin-top: 0.4rem;
}

.movie-people dt,
.movie-people dd {
  margin: 0;
}

.movie-people dt {
  color: #536aa5;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.movie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.movie-action {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  border: 1px solid #273b70;
  border-radius: 999px;
  background: #273b70;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.movie-action:hover,
.movie-action:focus {
  background: #3d5389;
  color: #fff;
  text-decoration: none;
}

.movie-action-secondary {
  background: #fff;
  color: #273b70;
}

.movie-action-secondary:hover,
.movie-action-secondary:focus {
  background: #edf1fb;
  color: #273b70;
}

.movie-trailer-card {
  max-width: 68rem;
  margin: 0 auto 1.5rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.movie-section-heading {
  margin-bottom: 1rem;
}

.movie-section-heading h2 {
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
}

.movie-video {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 14px;
  background: #101726;
}

.movie-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.movie-credits {
  display: flex;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 1.5rem);
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.movie-credits h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.2rem;
}

.movie-credits p:not(.movie-kicker) {
  max-width: 34rem;
  margin: 0;
  color: #5f6878;
  font-size: 0.86rem;
}

.movie-credits img {
  display: block;
  width: 4rem;
  height: auto;
}

@media (min-width: 800px) {
  .movie-entry {
    grid-template-columns: minmax(17rem, 0.75fr) minmax(22rem, 1.25fr);
  }
}

@media (max-width: 575.98px) {
  .movie-credits {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-credits img {
    width: 3.25rem;
  }
}
