:root {
  --sung-video-list-text-size: 18px;
  --sung-video-list-text-leading: 1.4;
  --sung-video-list-margin: 100px 0;
}

.sung-video-list {
  margin: var(--sung-video-list-margin);
}

/* ========================== 布局：左侧分类 + 右侧视频 ========================== */
.video-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.video-sidebar {
  width: 260px;
  flex-shrink: 0;
}
.video-content {
  flex: 1;
  min-width: 0;
}

/* ========================== 左侧分类样式 ========================== */
.sidebar-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  margin-bottom: 12px;
}
.category-list li a {
  display: block;
  padding: 10px 15px;
  background: #f6f6f6;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
  transition: all 0.2s;
}
.category-list li a:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}
.category-list li.active a {
  background: var(--color-primary);
  color: #fff;
}

/* ========================== 原有视频列表样式 ========================== */
.sung-video-list .video-list ul {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.sung-video-list .video-list ul li {
  padding: 0 15px 30px 15px;
  box-sizing: border-box;
}
.sung-video-list .video-list ul li .box {
  background: #f6f6f6;
  overflow: hidden;
}
.sung-video-list .video-list ul li .box > a {
  display: block;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}
.sung-video-list .video-list ul li .box > a img {
  transition: all 0.3s ease 0s;
  aspect-ratio: 1.6;
  object-fit: cover;
  width: 100%;
}
.sung-video-list .video-list ul li .box:hover > a img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}
.sung-video-list .video-list ul li .box > a i {
  color: white;
  position: absolute;
  font-size: 56px;
  top: 50%;
  left: 50%;
  margin: -28px 0 0 -28px;
}
.sung-video-list .video-list ul li h5 {
  height: 70px;
  padding: 0 15px;
  overflow: hidden;
  display: -webkit-flex;
  display: flex;
  text-align: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  color: var(--title-text-color);
  margin: 0;
}
.sung-video-list .video-list ul li h5 a {
  font-family: var(--font-family);
  font-size: var(--sung-video-list-text-size);
  line-height: var(--sung-video-list-text-leading);
}
.sung-video-list .video-list ul li:hover h5 a {
  color: var(--color-primary);
}

/* ========================== 响应式 ========================== */
@media screen and (max-width: 991px) {
  .video-wrapper {
    flex-direction: column;
  }
  .video-sidebar {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --sung-video-list-text-leading: 1.3;
    --sung-video-list-text-size: 14px;
  }
  .sung-video-list .video-list ul li h5 {
    height: auto;
    padding: 15px 15px 0 15px;
  }
}