.movie-module-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 166/323;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.movie-module-thumb img.movie-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.movie-module-thumb img.movie-thumb:hover {
    transform: scale(1.05);
}

.movie-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.movie-info {
    margin-top: 8px;
    width: 100%;
}

.movie-info h2 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info h2 a {
    color: #333;
    text-decoration: none;
}

.movie-info h2 a:hover {
    color: #ff6b6b;
}

.movie-type {
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #999;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 确保列表使用正确的网格布局 */
.list-type.ls-movie-list .content-wrap ul.b2_gap {
    display: grid !important;
    grid-template-columns: repeat(var(--row-count, 6), 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 响应式设计，适配不同屏幕尺寸 */
@media (max-width: 1200px) {
    .list-type.ls-movie-list .content-wrap ul.b2_gap {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .list-type.ls-movie-list .content-wrap ul.b2_gap {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .list-type.ls-movie-list .content-wrap ul.b2_gap {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    /* 恢复B2主题原始滑块模块样式 */
}

@media (max-width: 576px) {
    .list-type.ls-movie-list .content-wrap ul.b2_gap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}