.yt-gallery .social-media-optin {
  margin: 0 0 30px;
}
.yt-gallery .youtube-wrap iframe {
  aspect-ratio: 16/9;
  height: auto;
  border-radius: 25px;
  margin: 0 !important;
}
.yt-gallery .yt-gallery-playhover {
  top: 0;
}
.yt-gallery .yt-gallery-title {
  text-align: left;
  font-size: 18px;
  padding: 5px 0;
}
.yt-gallery .yt-gallery-img {
  border-radius: 10px;
}
.yt-gallery .yt-gallery-thumb {
  padding: 0 8px 16px 8px;
}
.yt-gallery-allthumbs {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: 20px;
  column-gap: 20px;
  row-gap: 20px;
  grid-template-rows: auto;
}
@media only screen and (max-width: 992px) {
  .yt-gallery-allthumbs {
    grid-template-columns: repeat(6, 1fr);
    -moz-column-gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
  }
}
.yt-gallery-allthumbs.yt-cols-2 .yt-gallery-thumb {
  grid-column: span 6;
}
@media only screen and (max-width: 992px) {
  .yt-gallery-allthumbs.yt-cols-2 .yt-gallery-thumb {
    grid-column: span 3;
  }
}
@media only screen and (max-width: 576px) {
  .yt-gallery-allthumbs.yt-cols-2 .yt-gallery-thumb {
    grid-column: span 6;
  }
}
.yt-gallery-allthumbs.yt-cols-3 .yt-gallery-thumb {
  grid-column: span 4;
}
@media only screen and (max-width: 992px) {
  .yt-gallery-allthumbs.yt-cols-3 .yt-gallery-thumb {
    grid-column: span 3;
  }
}
@media only screen and (max-width: 576px) {
  .yt-gallery-allthumbs.yt-cols-3 .yt-gallery-thumb {
    grid-column: span 6;
  }
}
.yt-gallery-allthumbs.yt-cols-4 .yt-gallery-thumb {
  grid-column: span 3;
}
@media only screen and (max-width: 1200px) {
  .yt-gallery-allthumbs.yt-cols-4 .yt-gallery-thumb {
    grid-column: span 4;
  }
}
@media only screen and (max-width: 992px) {
  .yt-gallery-allthumbs.yt-cols-4 .yt-gallery-thumb {
    grid-column: span 3;
  }
}
@media only screen and (max-width: 576px) {
  .yt-gallery-allthumbs.yt-cols-4 .yt-gallery-thumb {
    grid-column: span 6;
  }
}
.yt-gallery-allthumbs .yt-gallery-thumb {
  padding: 0;
  grid-column: span 3;
}
.yt-gallery-allthumbs .yt-gallery-img-box .yt-gallery-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center center;
}

.yt-pagination {
  text-align: center;
  margin: 20px 0;
}
.yt-pagination .button {
  padding: 12px;
  margin: 0 12px;
}
.yt-pagination .button i {
  margin: 0;
}
.yt-pagination .yt-current,
.yt-pagination .yt-pageseparator,
.yt-pagination .yt-totalpages {
  display: inline-block;
}