/* Path: /assets/css/style-related-videos.css */
.nf-related-videos {
	padding: 0 1.5rem;
}
.nf-related-videos__inner {
	max-width: 1440px;
}
.nf-related-videos__grid {
  display: grid;
  gap: 1.875rem;
  grid-template-columns: 1fr;
  max-width: calc((480px * 3) + (1.5rem * 2));
  margin: 0 auto 4rem;
  justify-items: center;
}
/* 2 columns (<=483 is 1 col, so flip to min-width 484) */
@media (min-width: 568px) {
  .nf-related-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 480px));
    max-width: calc((480px * 2) + (1.5rem * 1));
    justify-content: center;
  }
}
/* 3 columns */
@media (min-width: 868px) {
  .nf-related-videos__grid {
    grid-template-columns: repeat(3, minmax(0, 480px));
    max-width: calc((480px * 3) + (1.5rem * 2));
    justify-content: center;
  }
}
.nf-related-videos__video {
	border-radius: 0.5rem;
	width: 100%;
}
.nf-related-videos__tile {
  width: 100%;
  max-width: 480px;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
}
.nf-related-videos__media {
  position: relative;
}
.nf-related-videos__img {
  display: block;
  width: 100%;
  height: auto;
}
/* In case a post has no thumbnail */
.nf-related-videos__img--placeholder {
  width: 100%;
  aspect-ratio: 480 / 270;
}
/* Caption bottom-left overlay */
.nf-related-videos__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(37, 37, 37, 0.00) 0%, var(--Primary-Director-Black, #252525) 100%);
}
/* Hooks for your typography system */
.nf-related-videos__caption-title {
  color: var(--Primary-Open-Frame, #FFF);
  text-align: center;
  font-feature-settings: 'liga'off;
  /* Mobile/Project Client */
  font: var(--Mobile-Project-Client);
}
.nf-related-videos__caption-tagline {
  color: var(--Primary-Open-Frame, #FFF);
  text-align: center;
  font-feature-settings: 'liga'off;
  /* Mobile/Project Title */
  font: var(--Mobile-Project-Title);
  color: var(--Primary-Open-Frame, #FFF);
}
@media (min-width: 768px) {
  .nf-related-videos__caption-title {
  	/* Desktop/Project Client */
  	font: var(--Desktop-Project-Client);
  }
  .nf-related-videos__caption-tagline {
  	/* Desktop/Project Title */
  	font: var(--Desktop-Project-Title);
  }
}