.youtube-home {
  padding: clamp(46px, 6vw, 86px) 0;
}

.youtube-home__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.youtube-home__tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #0a0a0a;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

.youtube-home__tile iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-home__preview {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  background: #0a0a0a;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.youtube-home__preview img { width: 100%; height: 100%; object-fit: cover; }
.youtube-home__caption {
  position: absolute;
  inset: 0 0 auto;
  padding: 16px 18px 30px;
  background: linear-gradient(rgba(0,0,0,.8), transparent);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.youtube-home__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 48px;
  padding-left: 3px;
  border-radius: 14px;
  background: #ed1c24;
  font-size: 24px;
  box-shadow: 0 2px 16px rgb(0 0 0 / 25%);
}
.youtube-home__preview:hover .youtube-home__play { background: #c91018; }
.youtube-home__preview:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

@media (max-width: 820px) {
  .youtube-home__grid {
    grid-template-columns: 1fr;
  }
}
