.science-video-section {
  background: var(--ivory);
}

/* Hair Science page hero refinement */
.page-hero {
  padding: 74px 0 70px;
}

.page-hero-grid {
  align-items: center;
}

.science-hero-card {
  width: min(100%, 460px);
  justify-self: end;
}

.science-hero-card .portrait-art {
  min-height: 260px;
}

.science-hero-photo {
  margin: 0;
  min-height: 260px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(38, 38, 38, .1);
  background: var(--warm);
}

.science-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.science-hero-card .designer-body {
  padding: 24px;
}

.science-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.science-video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(38, 38, 38, .11);
  border-radius: 10px;
  background: rgba(255, 250, 244, .88);
  box-shadow: var(--soft);
}

.science-video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #1f1f1f;
  overflow: hidden;
}

.science-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.science-video-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.science-video-copy span {
  display: block;
  margin-bottom: 8px;
  color: #936f38;
  font-size: .82rem;
  font-weight: 900;
}

.science-video-copy h3 {
  font-size: 1.08rem;
}

.science-video-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.science-video-copy .action-row {
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
}

.science-video-copy .button {
  width: 100%;
}

@media (max-width: 1080px) {
  .page-hero {
    padding: 62px 0;
  }

  .science-hero-card {
    justify-self: stretch;
  }

  .science-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-hero-grid {
    align-items: start;
  }

  .science-hero-card .portrait-art,
  .science-hero-photo {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .science-video-grid {
    grid-template-columns: 1fr;
  }

  .science-video-frame {
    aspect-ratio: 9 / 16;
  }
}
