/**
 * 视频分类页样式
 * 独立的视频分类页CSS - 美观大气设计
 *
 * @package GoodBase
 * @since 1.0.0
 */

/* ============================================
   视频分类页卡片样式 - 全新设计
   ============================================ */

/* 卡片容器 - 极简现代风格 */
.waterfall-category.category-type-video .waterfall-item,
.home-category-posts.category-type-video .waterfall-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    padding: 0.001rem !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* 悬停效果 */
.waterfall-category.category-type-video .waterfall-item:hover,
.home-category-posts.category-type-video .waterfall-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
    border-color: #d1d5db !important;
}

/* 缩略图链接容器 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail-link,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

/* 缩略图区域 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail.video-thumbnail,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail.video-thumbnail {
    height: 200px !important;
    background: #f3f4f6 !important;
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
   标签徽章 - 显示在视频分类卡片缩略图左上角
   ============================================ */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail.video-thumbnail .post-tag-badge,
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .post-tag-badge,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail.video-thumbnail .post-tag-badge,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .post-tag-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 10 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

/* 热门标签样式 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-hot,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
}

/* 独家标签样式 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-exclusive,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-exclusive {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%) !important;
}

/* 推荐标签样式 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-recommended,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-recommended {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%) !important;
}

/* 精品标签样式 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-premium,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .post-tag-badge.post-tag-premium {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%) !important;
}

/* 缩略图图片容器 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .thumbnail-image,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .thumbnail-image {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    overflow: hidden !important;
    display: block !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 延迟加载图片样式 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img.lazy-load-image,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img.lazy-load-image {
    opacity: 0 !important;
    transition: opacity 0.3s ease-in !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img.lazy-load-image.loaded,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img.lazy-load-image.loaded {
    opacity: 1 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .thumbnail-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s ease !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    vertical-align: top !important;
    max-width: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.waterfall-category.category-type-video .waterfall-item:hover .post-thumbnail .thumbnail-image img,
.home-category-posts.category-type-video .waterfall-item:hover .post-thumbnail .thumbnail-image img {
    transform: scale(1.05) !important;
}

/* 播放按钮覆盖层 - 已隐藏 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .play-button-overlay,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .play-button-overlay {
    display: none !important;
}

/* 播放图标 - 已隐藏 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .play-icon,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .play-icon {
    display: none !important;
}

/* 预览提示文字 - 优化设计 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .preview-hint,
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .view-hint,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .preview-hint,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .view-hint {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 0.3px !important;
    padding: 5px 14px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
}

.waterfall-category.category-type-video .waterfall-item:hover .preview-hint,
.waterfall-category.category-type-video .waterfall-item:hover .view-hint,
.home-category-posts.category-type-video .waterfall-item:hover .preview-hint,
.home-category-posts.category-type-video .waterfall-item:hover .view-hint {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .view-link,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .view-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* 视频预览层 - 默认隐藏，只有在显示时才显示 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10 !important;
    background: #000000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important; /* 允许点击跳转 */
    cursor: pointer !important;
}

/* 预览层显示时（通过JavaScript的show()方法） */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-layer[style*="display: block"],
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-layer[style*="display: flex"] {
    display: flex !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-player,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .video-preview-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
    pointer-events: none !important; /* 禁用视频元素的点击，让覆盖层处理点击 */
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-overlay,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .video-preview-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 16px !important;
    pointer-events: auto !important; /* 允许点击跳转 */
    cursor: pointer !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .video-preview-overlay > *,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .video-preview-overlay > * {
    pointer-events: auto !important;
}

/* 预览计时器 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .preview-timer,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .preview-timer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    backdrop-filter: blur(8px) !important;
    margin: 0 auto !important;
    width: auto !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .preview-timer .timer-text,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .preview-timer .timer-text {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .preview-timer .timer-countdown,
.home-category-posts.category-type-video .waterfall-item .post-thumbnail .preview-timer .timer-countdown {
    color: #fbbf24 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    min-width: 20px !important;
    text-align: center !important;
}

/* 预览完成按钮 */
.waterfall-category.category-type-video .waterfall-item .post-thumbnail .preview-complete {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 20 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .view-full-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    min-width: 140px !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .view-full-btn:hover {
    background: #f9fafb !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

.waterfall-category.category-type-video .waterfall-item .post-thumbnail .view-full-btn i {
    font-size: 18px !important;
}

/* 内容区域 */
.waterfall-category.category-type-video .waterfall-item .post-content,
.home-category-posts.category-type-video .waterfall-item .post-content {
    padding: 6px 6px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    height: 88px !important;
    overflow: hidden !important;
}

/* 内容行 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-row {
    display: flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
}

/* 第一行：标题 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-title,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-title {
    flex: 0 0 auto !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .entry-title,
.home-category-posts.category-type-video .waterfall-item .post-content .entry-title {
    margin: 0 !important;
    line-height: 1.4 !important;
    width: 95% !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .entry-title a,
.home-category-posts.category-type-video .waterfall-item .post-content .entry-title a {
    color: #111827 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
    width: 100% !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

.waterfall-category.category-type-video .waterfall-item:hover .entry-title a,
.home-category-posts.category-type-video .waterfall-item:hover .entry-title a {
    color: #ff6600 !important;
}

/* 第二行：标签/分类 | 价格 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-meta,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-meta {
    flex: 0 0 auto !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    position: relative !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-row-meta .row-left,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-meta .row-left {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    padding-right: 8px !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-row-meta .row-right,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-meta .row-right {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-width: 0 !important;
}

/* 内容标签容器 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-tags-wrapper,
.home-category-posts.category-type-video .waterfall-item .post-content .content-tags-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-tags-wrapper i,
.home-category-posts.category-type-video .waterfall-item .post-content .content-tags-wrapper i {
    font-size: 11px !important;
    color: #f97316 !important;
    flex-shrink: 0 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-tags-wrapper .tags-list,
.home-category-posts.category-type-video .waterfall-item .post-content .content-tags-wrapper .tags-list {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

/* 单个标签项 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-tag-item,
.home-category-posts.category-type-video .waterfall-item .post-content .content-tag-item {
    display: inline-block !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* 分类链接 */
.waterfall-category.category-type-video .waterfall-item .post-content .cat-links,
.home-category-posts.category-type-video .waterfall-item .post-content .cat-links {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
    font-size: 12px !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .cat-links i,
.home-category-posts.category-type-video .waterfall-item .post-content .cat-links i {
    font-size: 11px !important;
    color: #f97316 !important;
    flex-shrink: 0 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .cat-links .cat-text,
.home-category-posts.category-type-video .waterfall-item .post-content .cat-links .cat-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
}

/* 价格 */
.waterfall-category.category-type-video .waterfall-item .post-content .post-price,
.home-category-posts.category-type-video .waterfall-item .post-content .post-price {
    color: #f59e0b !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-price i,
.home-category-posts.category-type-video .waterfall-item .post-content .post-price i {
    font-size: 11px !important;
}

/* 免费价格 */
.waterfall-category.category-type-video .waterfall-item .post-content .post-price-free,
.home-category-posts.category-type-video .waterfall-item .post-content .post-price-free {
    color: #10b981 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-price-free i,
.home-category-posts.category-type-video .waterfall-item .post-content .post-price-free i {
    color: #10b981 !important;
}

/* 分割线：第二行和第三行之间 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-divider,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 0.01px 0;
    flex: 0 0 auto;
}

/* 第三行：作者 | 权限 | 浏览量 */
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info {
    flex: 0 0 auto !important;
    justify-content: space-between !important;
    font-size: 11px !important;
    color: #6b7280 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info .row-left,
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info .row-center,
.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info .row-right,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info .row-left,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info .row-center,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info .row-right {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info .row-center,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info .row-center {
    justify-content: center !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .content-row-info .row-right,
.home-category-posts.category-type-video .waterfall-item .post-content .content-row-info .row-right {
    justify-content: flex-end !important;
}

/* 作者 */
.waterfall-category.category-type-video .waterfall-item .post-content .post-author,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
    font-size: 11px !important;
    position: relative !important;
    cursor: pointer !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-author img,
.waterfall-category.category-type-video .waterfall-item .post-content .post-author .avatar,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author img,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author .avatar {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-author .author-name,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author .author-name {
    max-width: 60px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* 作者悬浮提示框 */
.waterfall-category.category-type-video .waterfall-item .post-content .post-author .author-tooltip,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author .author-tooltip {
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    transform: translateY(-8px) !important;
    background: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
    transition-delay: 0s !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(8px) !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-author .author-tooltip::after,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author .author-tooltip::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 12px !important;
    transform: translateX(0) !important;
    border: 5px solid transparent !important;
    border-top-color: rgba(0, 0, 0, 0.85) !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-author:hover .author-tooltip,
.home-category-posts.category-type-video .waterfall-item .post-content .post-author:hover .author-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-12px) !important;
    transition-delay: 0.3s !important;
}

/* VIP权限 - 与meta-permission样式一致 */
.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #f59e0b !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission i {
    color: #f59e0b !important;
    font-size: 11px !important;
}

/* VIP级别颜色 - 与plans-grid卡片颜色一致，与meta-permission样式一致 */
.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-trial,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-trial {
    color: #10b981 !important;
    background: transparent !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-trial i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-trial i {
    color: #10b981 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-month,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-month {
    color: #f97316 !important;
    background: transparent !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-month i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-month i {
    color: #f97316 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-quarter,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-quarter {
    color: #8b5cf6 !important;
    background: transparent !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-quarter i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-quarter i {
    color: #8b5cf6 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-year,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-year {
    color: #3b82f6 !important;
    background: transparent !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-year i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-year i {
    color: #3b82f6 !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-lifetime,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-lifetime {
    color: #ef4444 !important;
    background: transparent !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .vip-permission.vip-lifetime i,
.home-category-posts.category-type-video .waterfall-item .post-content .vip-permission.vip-lifetime i {
    color: #ef4444 !important;
}

/* 浏览量 - 参照图片分类页样式 */
.waterfall-category.category-type-video .waterfall-item .post-content .post-views-count,
.home-category-posts.category-type-video .waterfall-item .post-content .post-views-count {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: #64748b !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

.waterfall-category.category-type-video .waterfall-item .post-content .post-views-count i,
.home-category-posts.category-type-video .waterfall-item .post-content .post-views-count i {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.waterfall-category.category-type-video .waterfall-item .entry-meta .posted-on,
.waterfall-category.category-type-video .waterfall-item .entry-meta .cat-links,
.waterfall-category.category-type-video .waterfall-item .entry-meta .post-views-count {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #6b7280 !important;
}

.waterfall-category.category-type-video .waterfall-item .entry-meta .posted-on i,
.waterfall-category.category-type-video .waterfall-item .entry-meta .cat-links i,
.waterfall-category.category-type-video .waterfall-item .entry-meta .post-views-count i {
    font-size: 11px !important;
    opacity: 0.8 !important;
}

/* 统一浏览量样式 - 参照图片分类页 */
.waterfall-category.category-type-video .waterfall-item .entry-meta .post-views-count {
    font-size: 12px !important;
    color: #64748b !important;
}

.waterfall-category.category-type-video .waterfall-item .entry-meta .post-views-count i {
    font-size: 11px !important;
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.waterfall-category.category-type-video .waterfall-item .entry-meta .cat-links a {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.waterfall-category.category-type-video .waterfall-item .entry-meta .cat-links a:hover {
    color: #2563eb !important;
}

/* 摘要 - 已移除 */
.waterfall-category.category-type-video .waterfall-item .entry-excerpt {
    display: none !important;
}

/* 底部区域 - 已移除 */
.waterfall-category.category-type-video .waterfall-item .entry-footer {
    display: none !important;
}

/* 查看详情按钮 */
.waterfall-category.category-type-video .waterfall-item .read-more {
    color: #2563eb !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.waterfall-category.category-type-video .waterfall-item .read-more i {
    transition: transform 0.2s ease !important;
    font-size: 11px !important;
}

.waterfall-category.category-type-video .waterfall-item:hover .read-more {
    color: #1d4ed8 !important;
}

.waterfall-category.category-type-video .waterfall-item:hover .read-more i {
    transform: translateX(2px) !important;
}

/* VIP标识 - 精致徽章 */
.waterfall-category.category-type-video .waterfall-item .vip-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}



/* ============================================
   视频分类页布局 - 根据侧边栏状态调整列数
   ============================================ */

/* 瀑布流容器基础样式 */
.waterfall-category.category-type-video .waterfall-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    margin-bottom: 2rem !important;
}

/* 有侧边栏时：3列 */
.waterfall-category.category-type-video .category-content-wrapper.has-sidebar .waterfall-container,
.waterfall-category.category-type-video .category-content-wrapper:has(.content-sidebar:not(.sidebar-hidden)) .waterfall-container {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* 无侧边栏时：4列 */
.waterfall-category.category-type-video .category-content-wrapper.no-sidebar .waterfall-container,
.waterfall-category.category-type-video .category-content-wrapper.sidebar-hidden .waterfall-container,
.waterfall-category.category-type-video .category-content-wrapper:not(:has(.content-sidebar)) .waterfall-container {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    /* 中等屏幕：有侧边栏时2列，无侧边栏时3列 */
    .waterfall-category.category-type-video .category-content-wrapper.has-sidebar .waterfall-container,
    .waterfall-category.category-type-video .category-content-wrapper:has(.content-sidebar:not(.sidebar-hidden)) .waterfall-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .waterfall-category.category-type-video .category-content-wrapper.no-sidebar .waterfall-container,
    .waterfall-category.category-type-video .category-content-wrapper.sidebar-hidden .waterfall-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* 平板：统一2列 */
    .waterfall-category.category-type-video .waterfall-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    /* 手机：统一1列 */
    .waterfall-category.category-type-video .waterfall-container {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .waterfall-category.category-type-video .waterfall-item .post-thumbnail {
        height: 180px !important;
    }
    
    .waterfall-category.category-type-video .waterfall-item .post-content {
        padding: 12px !important;
    }
    
    .waterfall-category.category-type-video .waterfall-item .entry-title a {
        font-size: 14px !important;
    }
}

