* { box-sizing: border-box; margin: 0; padding: 0; font-weight: normal; }
body { background-color: #f8f9fa; color: #333; font-family: "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.5; }
ul, li { list-style: none; }
a { text-decoration: none; color: #555; transition: color 0.2s, background-color 0.2s; }
a:hover { color: #007fff; }
img { border: none; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.text-overflow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; display: block;}

/* 头部导航区域 */
.site-header { background: #ffffff; border-bottom: 1px solid #eaeaea; position: relative; z-index: 999; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02);}
.header-inner { display: flex; align-items: center; height: 60px; justify-content: space-between; }
.logo h1 a { font-size: 22px; color: #333; font-weight: bold; display: block; }
.nav-container { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.main-nav ul { display: flex; align-items: center; } 
.main-nav li { margin: 0 15px; }
.main-nav li a { font-size: 16px; color: #555; white-space: nowrap; }
.main-nav li a:hover, .main-nav li.active a { color: #007fff; font-weight: bold; }
.search-form { margin-left: 20px; }
.search-form form { display: flex; width: 100%; }
.search-form input { height: 32px; padding: 0 10px; border: 1px solid #ddd; border-right: none; border-radius: 2px 0 0 2px; outline: none; width: 160px; font-size: 13px; background: #fafafa; color: #333;}
.search-form input:focus { background: #fff; border-color: #007fff; }
.search-form button { height: 32px; padding: 0 15px; border: none; background-color: #007fff; color: #fff; border-radius: 0 2px 2px 0; cursor: pointer; white-space: nowrap;}
#menu-toggle { display: none; }
.menu-icon { display: none; width: 30px; height: 20px; position: relative; cursor: pointer; }
.menu-icon span { display: block; width: 100%; height: 3px; background: #333; position: absolute; transition: 0.3s; border-radius: 2px;}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 8px; }
.menu-icon span:nth-child(3) { top: 16px; }

/* 视频列表板块 */
.category-section { margin-bottom: 30px; }
.section-hd { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 10px; border-bottom: 1px solid #eaeaea; margin-bottom: 15px; }
.section-hd h2 { font-size: 18px; color: #333; font-weight: bold; }
.section-hd h2 a { color: #333; }
.section-hd h2 a:hover { color: #007fff; }
.section-hd .meta, .section-hd .more { font-size: 13px; color: #888; }
.section-hd .more:hover { color: #007fff; }
.vod-list { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.vod-list > li { width: 25%; padding: 10px; } 
.vod-card { display: block; border-radius: 6px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; background-color: #ffffff; border: 1px solid #f0f0f0; }
.vod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.08); }
.vod-thumb { position: relative; display: block; width: 100%; padding-top: 70%; background-color: #f5f5f5; background-size: cover; background-position: center; }
.vod-tag { position: absolute; bottom: 0; left: 0; width: 100%; padding: 5px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 12px; text-align: right; box-sizing: border-box; }
.vod-detail { padding: 12px 15px; text-align: center; }
.vod-detail h3 { font-size: 14px; margin: 0; }
.vod-detail h3 a { color: #333; display: block;} 
.vod-detail h3 a:hover { color: #007fff; }

/* 分页 */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; margin: 30px 0; gap: 8px; }
.pagination li a, .pagination li span { display: block; padding: 8px 15px; background: #ffffff; color: #555; border: 1px solid #eaeaea; border-radius: 4px; font-size: 14px; }
.pagination li a:hover, .pagination li.active a { background: #007fff; color: #fff; border-color: #007fff; }

/* 播放器区域 */
.player-box { background: #ffffff; padding: 20px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #eaeaea; box-shadow: 0 2px 15px rgba(0,0,0,0.03); }
.player-wrapper { position: relative; width: 100%; padding-top: 56.25%; background-color: #000; border-radius: 4px; overflow: hidden; }
.player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-info { margin-top: 20px; }
.video-info h1 { font-size: 22px; color: #333; margin-bottom: 10px; font-weight: bold; }
.video-info .meta { color: #888; font-size: 13px; }

/* SEO与底部 */
.seo-links { background-color: #ffffff; padding: 20px; border-radius: 8px; margin: 20px 0 40px; border: 1px solid #eaeaea; }
.seo-links-list { display: flex; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.seo-links-list li { margin-right: 15px; margin-bottom: 8px; }
.seo-links-list li h1 { font-size: 16px; color: #333; margin: 0; font-weight: bold; }
.seo-links-list li span { color: #888; }
.seo-links-list li a { color: #666; font-size: 13px; }
.seo-links h2 { font-size: 16px; color: #333; margin-bottom: 10px; font-weight: bold; }
.seo-links p { font-size: 13px; color: #888; }
.seo-links p a { margin-right: 10px; color: #666; }
.site-footer { border-top: 1px solid #eaeaea; padding: 30px 0; text-align: center; color: #999; font-size: 14px; background: #fff; }
.site-footer p { margin-bottom: 5px; }

/* 其他样式与兼容模块 */
.stui-vodlist__box { display: block; border-radius: 6px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; background-color: #ffffff; border: 1px solid #f0f0f0; }
.stui-vodlist__box:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.08); }
.stui-vodlist__thumb { position: relative; display: block; width: 100%; padding-top: 70%; background-color: #f5f5f5; background-size: cover; background-position: center; }
.stui-vodlist__thumb .pic-text { position: absolute; bottom: 0; left: 0; width: 100%; padding: 5px 10px; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: #fff; font-size: 12px; text-align: right; box-sizing: border-box; }
.stui-vodlist__thumb .play { display: none; }
.stui-vodlist__detail { padding: 12px 15px; text-align: center; }
.stui-vodlist__detail .title { font-size: 14px; margin: 0; }
.stui-vodlist__detail .title a { color: #333; display: block; font-weight: normal;}
.stui-vodlist__detail .title a:hover { color: #007fff; }
.mbads, .mbads1 { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; background-color: transparent !important; }
.mbads img, .mbads1 img { max-width: 100% !important; height: 70px !important; object-fit: cover !important; }
.logo h1 a img { max-height: 45px; width: auto; vertical-align: middle; display: block; }

/* 响应式媒体查询 */
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 992px) {
    .main-nav li { margin: 0 10px; }
}
@media (max-width: 768px) {
    .logo h1 a img { max-height: 35px; }
    .menu-icon { display: block; } 
    .nav-container { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: #ffffff; flex-direction: column; padding: 0 0 20px 0; border-top: 1px solid #eaeaea; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .main-nav ul { flex-direction: column; width: 100%; } 
    .main-nav li { margin: 0; text-align: center; width: 100%; border-bottom: 1px solid #f5f5f5; }
    .main-nav li a { display: block; padding: 14px 0; font-size: 15px; color: #555;}
    .main-nav li a:hover { background-color: #fafafa; color: #007fff; }
    .main-nav li.active a { background-color: #f8f9fa; color: #007fff; font-weight: bold; }
    .search-form { margin: 20px auto 0; width: 90%; max-width: 400px; }
    .search-form form { display: flex; width: 100%; }
    .search-form input { flex: 1; height: 38px; width: 100%; padding: 0 15px; border: 1px solid #ddd; border-right: none; border-radius: 4px 0 0 4px; font-size: 14px; background: #fff; }
    .search-form button { height: 38px; padding: 0 20px; border-radius: 0 4px 4px 0; font-size: 14px; }
    
    #menu-toggle:checked ~ .header-inner .nav-container { display: flex; animation: slideDown 0.3s ease; }
    #menu-toggle:checked ~ .header-inner .menu-icon span:nth-child(1) { transform: rotate(45deg); top: 8px; }
    #menu-toggle:checked ~ .header-inner .menu-icon span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .header-inner .menu-icon span:nth-child(3) { transform: rotate(-45deg); top: 8px; }
    
    .vod-list > li { width: 50%; padding: 5px; } 
    .vod-detail { padding: 8px; }
    .vod-detail h3 { font-size: 13px; }
    .logo h1 a { font-size: 18px; }
    .seo-links-list li h1 { font-size: 14px; }
    .pagination li.hidden-xs { display: none; }
    .player-box { padding: 15px; }
    .video-info h1 { font-size: 18px; }
}