.video-youtube-page {
  padding: 42px 0 72px;
  background: #fbfaff;
}

.video-youtube-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.video-youtube-head h2 {
  margin: 6px 0 0;
  color: #342641;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
}

.video-youtube-head p {
  margin: 7px 0 0;
  color: #8a8091;
  font-size: .78rem;
}

.video-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #e5dced;
  border-radius: 999px;
  color: #634b82;
  background: #fff;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

.video-channel-badge img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.video-youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px 20px;
}

.yt-video-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.yt-thumbnail {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #49336f, #a78ac2);
  background-position: center;
  background-size: cover;
  box-shadow: 0 8px 18px rgba(73,51,111,.09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.yt-thumbnail::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24,15,37,.36));
  content: "";
}

.yt-video-card:hover .yt-thumbnail {
  box-shadow: 0 14px 28px rgba(73,51,111,.16);
  transform: translateY(-3px);
}

.yt-play-button {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(121,99,167,.94);
  box-shadow: 0 8px 20px rgba(24,15,37,.24);
  font-size: 1.5rem;
  transition: transform .25s ease, background .25s ease;
}

.yt-video-card:hover .yt-play-button {
  background: #49336f;
  transform: scale(1.08);
}

.yt-video-info {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.yt-channel-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #7963a7;
}

.yt-channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.yt-video-info h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #342641;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yt-video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 5px;
  color: #8e829b;
  font-size: .68rem;
}

.video-youtube-empty {
  padding: 66px 20px;
  border: 1px dashed #d9cde4;
  border-radius: 14px;
  color: #8d8199;
  background: #fff;
  text-align: center;
}

@media (max-width: 900px) {
  .video-youtube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .video-youtube-page { padding: 34px 0 52px; }
  .video-youtube-head { display: block; }
  .video-channel-badge { margin-top: 15px; }
  .video-youtube-grid { grid-template-columns: 1fr; gap: 25px; }
}
