.youtube-video-list-section{
  padding:80px 0;
  background:#f5f5f5;
  overflow:hidden;
}

.youtube-video-list-header{
  margin:0 0 32px;
}

.youtube-video-list-heading{
  margin:0;
  font-size:clamp(30px,3vw,44px);
  line-height:1.15;
  font-weight:700;
  color:#000;
}

.youtube-video-list-wrapper{
  position:relative;
}

.youtube-video-list-nav{
  position:absolute;
  top:50%;
  left:-30px;
  right:-30px;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  pointer-events:none;
  z-index:20;
}

.youtube-video-list-prev,
.youtube-video-list-next{
  pointer-events:auto;
  width:60px;
  height:60px;
  padding:0;
  border:none;
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:32px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.2);
  transition:transform .3s ease;
}

.youtube-video-list-prev:hover,
.youtube-video-list-next:hover{
  transform:scale(1.08);
}

.youtube-video-list-prev span,
.youtube-video-list-next span{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.youtube-video-list-slider{
  display:flex;
  gap:24px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.youtube-video-list-slider::-webkit-scrollbar{
  display:none;
}

.youtube-video-list-card{
  flex:0 0 calc(25% - 18px);
  min-width:calc(25% - 18px);
  background:#151515;
  border-radius:18px;
  overflow:hidden;
  transition:transform .3s ease;
}

.youtube-video-list-card:hover{
  transform:translateY(-6px);
}

.youtube-video-list-link{
  display:block;
  height:100%;
  color:#fff;
  text-decoration:none;
}

.youtube-video-list-thumb{
  position:relative;
  overflow:hidden;
}

.youtube-video-list-thumb img{
  width:100%;
  display:block;
  aspect-ratio:16/9;
  object-fit:cover;
}

.youtube-video-list-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:52px;
  height:52px;
  border-radius:50%;
  background:#ff0000;
  display:flex;
  align-items:center;
  justify-content:center;
}

.youtube-video-list-play-icon{
  width:0;
  height:0;
  border-top:8px solid transparent;
  border-bottom:8px solid transparent;
  border-left:14px solid #fff;
  margin-left:3px;
}

.youtube-video-list-info{
  padding:20px;
  min-height:80px;
  box-sizing:border-box;
  font-size:18px;
  font-weight:600;
  line-height:1.5;
  display:flex;
  align-items:center;
  color:#fff;
}

@media screen and (max-width:990px){

  .youtube-video-list-card{
    flex:0 0 calc(50% - 12px);
    min-width:calc(50% - 12px);
  }

}

@media screen and (max-width:749px){

  .youtube-video-list-section{
    padding:56px 0;
  }

  .youtube-video-list-header{
    margin-bottom:24px;
  }

  .youtube-video-list-heading{
    font-size:30px;
  }

  .youtube-video-list-nav{
    display:none;
  }

  .youtube-video-list-slider{
    gap:12px;
    padding-left:16px;
    padding-right:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
  }

  .youtube-video-list-card{
    flex:0 0 78%;
    min-width:78%;
    border-radius:20px;
    scroll-snap-align:start;
  }

  .youtube-video-list-info{
    padding:16px;
    min-height:auto;
    font-size:15px;
    line-height:1.4;
  }

  .youtube-video-list-play{
    width:44px;
    height:44px;
  }

  .youtube-video-list-play-icon{
    border-top:7px solid transparent;
    border-bottom:7px solid transparent;
    border-left:12px solid #fff;
  }

}