/* Job videos block (index.html, gallery.html). Client footage, Nov 2026. */
.job-videos {
  background-color: var(--gradient-black);
  padding: 88px 0 0;
}
.job-videos--page {
  padding-top: 24px;
}
.job-videos__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.job-videos__lede {
  color: #ffffffcc;
  font-size: 18px;
  margin: 14px 0 0;
}
.job-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 840px;
  margin: 0 auto;
}
.job-videos__item {
  margin: 0;
}
.job-videos__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid var(--color--primary);
  background: #000;
}
.job-videos__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.job-videos__caption {
  color: #ffffffcc;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  margin-top: 10px;
}
.job-videos__cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
@media screen and (max-width: 767px) {
  .job-videos { padding-top: 64px; }
  .job-videos--page { padding-top: 16px; }
  .job-videos__lede { font-size: 16px; }
}
@media screen and (max-width: 478px) {
  .job-videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  /* Odd last clip on phones: centered under the pair, same width. */
  .job-videos__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 12px) / 2);
  }
  .job-videos__caption { font-size: 13px; }
}
