/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    color: #333;
    background-color: #f5f5f5;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #20a0d1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.top-nav {
    background-color: #0066cc;
    color: white;
    padding: 6px 0;
    box-shadow: none;
    position: relative;
    z-index: 100;
    background: url(../images/top.png) no-repeat bottom center;
    background-size: cover;
}

.top-nav .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* 确保元素排列顺序正确 */
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    /* 确保导航链接和搜索栏在同一行 */
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
}

.logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: auto;
    min-width: auto;
    flex-shrink: 0;
}

.logo img {
    height: 80px;

    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    font-family: 'Microsoft YaHei', sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: visible;
}

.nav-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    margin: 0 20px;
    padding: 0;
    /* 确保导航项不换行 */
    white-space: nowrap;
    -webkit-box-pack: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-links li {
    position: relative;
    margin-right: 10px;
}

/* 最后一个导航项没有右边距 */
.nav-links li:last-child {
    margin-right: 0;
}

.nav-link {
    color: white;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    /* 简化transform，确保兼容性 */
}

/* 简化动画，移除可能导致卡顿的波纹效果 */
.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #ff6600;
}

/* 搜索区域 */
.search-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    -webkit-backdrop-filter: none;
    -moz-backdrop-filter: none;
    -o-backdrop-filter: none;
    backdrop-filter: none;
    transition: all 0.3s ease;
    width: auto;
    min-width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    height: 36px;
    overflow: visible;
}

.search-bar:hover {
    background-color: transparent;
    box-shadow: none;
}

.search-input {
    padding: 8px 12px;
    border: none;
    border-radius: 0;
    outline: none;
    width: 200px;
    background-color: white;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    height: 36px;
    box-sizing: border-box;
    margin: 0;
}

.search-input:focus {
    width: 200px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-btn {
    padding: 0 12px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: none;
    -webkit-transform: none;
    height: 36px;
    box-sizing: border-box;
    width: auto;
    min-width: 40px;
    margin: 0;
    overflow: visible;
}

.search-btn svg {
    display: block;
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin: 0;
    padding: 0;
}

.search-btn:hover {
    background-color: #ff7711;
    transform: none;
    box-shadow: none;
}

.search-btn:hover svg {
    stroke: white;
    transform: none;
}

/* 移动端搜索相关样式 */
/* 默认隐藏移动端搜索按钮 */
.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

.mobile-search-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 移动端后退按钮 */
.mobile-back-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 快速导航按钮 */
.mobile-nav-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 移动端快速导航菜单 */
.mobile-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.mobile-nav-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* 移动端快速导航链接 */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links li {
    margin: 0;
    background-color: #0066cc;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* 为每个菜单项添加延迟动画 */
.mobile-nav-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.4s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(9) { transition-delay: 0.45s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(10) { transition-delay: 0.5s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(11) { transition-delay: 0.55s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(12) { transition-delay: 0.6s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(13) { transition-delay: 0.65s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(14) { transition-delay: 0.7s; }
.mobile-nav-menu.active .mobile-nav-links li:nth-child(15) { transition-delay: 0.75s; }

.mobile-nav-link {
    display: block;
    padding: 15px 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 为链接添加悬停效果 */
.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 搜索弹窗样式 */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.search-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.search-modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.search-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

.close-btn:hover {
    background-color: #f5f5f5;
    color: #333;
}

.search-modal-body {
    padding: 20px;
}

.search-bar.full-width {
    background-color: #f5f5f5;
    width: 100%;
}

.search-bar.full-width .search-input {
    width: calc(100% - 60px);
}

/* 动画效果 */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes slideIn {
    from { 
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* 频道导航 */
.channel-nav {
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.channel-nav .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 40px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.channel-nav a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.channel-nav a:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.channel-nav a.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.15);
    font-weight: bold;
}

.channel-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #0066cc;
    border-radius: 3px;
}

/* 直播区域 */
.live-section {
    background-color: #000;
    color: white;
    padding: 20px 0;
}

.live-banner {
    position: relative;
    height: 600px;
    background: url('../images/tatv1.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 直播信息容器 */
.live-info-container {
    width: 100%;
    max-width: 800px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* TATV-1 综合频道 */
.live-info {
    text-align: center;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    /* 确保内容居中 */
    padding: 0 20px;
}

/* 确保直播信息内容始终居中，无论是否包含播放器 */
.live-info-content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    /* 使用flex布局确保内容居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 100%; */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.live-info.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.live-info h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.live-info p {
    font-size: 18px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.live-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8c33 100%);
    color: white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.live-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 频道列表 */
.channel-list {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* 频道项 */
.channel-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    margin: 5px 10px;
    border-radius: 25px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    border: 2px solid transparent;
}

.channel-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* 激活状态频道项 */
.channel-item.active {
    background-color: #0066cc;
    border-color: #0099ff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.5);
    transform: translateY(-1px);
}

/* 内容区域 */
.content-section {
    padding: 20px 0;
    background-color: #f5f9ff;
}

.section-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
    
}

.section-title h2 {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    margin: 0;
}

.section-title a {
    color: #0066cc;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.section-title a:hover {
    color: #0099ff;
    text-decoration: underline;
}

/* 最新视频板块 */
.latest-videos {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

/* 视频网格 */
.video-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}

.video-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.12); */
    transition: all 0.3s ease-in-out;
    /* border: 1px solid #e8f4fc; */
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.16);
    border-color: #20a0d1;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    background-color: #f5f9fc;
    padding-bottom: 75%;
    height: 0;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

/* 健康大讲堂封面图片比例为16:9 */
.health-section .video-thumb {
    padding-bottom: 56.25%;
}

/* 融媒作品封面图片比例为9:16 */
.cooperation-section .cooperation-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
}

/* 链接样式 */
.video-link,
.news-link,
.cooperation-link,
.special-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.special-link{ margin: 0 10px;}
.video-link:hover,
.news-link:hover,
.cooperation-link:hover,
.special-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 确保视频链接和新闻链接内部元素样式正确 */
.video-link .video-item,
.news-link .news-item,
.cooperation-link .cooperation-item {
    margin: 0;
    padding: 0;
}

/* 确保新闻链接内部采用flex布局 */
.news-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 移除新闻标题链接的默认样式 */
.news-link .news-title {
    color: #333;
    text-decoration: none;
}

.news-link:hover .news-title {
    color: #0066cc;
    text-decoration: underline;
}

.video-item:hover .video-thumb img {
    transform: scale(1.08);
    opacity: 0.8;
}

/* 播放图标 */
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20a0d1 0%, #0099ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    box-shadow: 0 4px 12px rgba(32, 160, 209, 0.4);
    z-index: 2;
}

.video-item:hover .video-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* 播放图标内部三角形 */
.video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

/* 遮罩层 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 12px;

    z-index: 3;
}

/* 图片新闻样式 */
.photo-list {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
}
.photo-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;

}

.photo-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.12); */
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    /* border: 1px solid #e8f4fc; */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.photo-item:hover {
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-box-shadow: 0 6px 16px rgba(0,0,0,0.16);
    box-shadow: 0 6px 16px rgba(0,0,0,0.16);
    border-color: #20a0d1;
}

.photo-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.photo-thumb {
    position: relative;
    overflow: hidden;
    background-color: #f5f9fc;
    padding-bottom: 75%;
    height: 0;
}

.photo-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: -webkit-transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.photo-item:hover .photo-thumb img {
    -webkit-transform: scale(1.08);
    -ms-transform: scale(1.08);
    transform: scale(1.08);
    opacity: 0.8;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

/* 播放图标 */
.photo-play {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: -webkit-gradient(linear, left top, right top, from(#20a0d1), to(#0099ff));
    background: -o-linear-gradient(left, #20a0d1, #0099ff);
    background: linear-gradient(90deg, #20a0d1 0%, #0099ff 100%);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    -webkit-box-shadow: 0 4px 12px rgba(32, 160, 209, 0.4);
    box-shadow: 0 4px 12px rgba(32, 160, 209, 0.4);
    z-index: 2;
}

.photo-item:hover .photo-play {
    -webkit-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* 播放图标内部三角形 */
.photo-play::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
    margin-left: 3px;
}

/* 时长显示 */
.photo-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 12px;
    z-index: 3;
}

/* 图片信息区，与视频信息区保持一致 */
.photo-info {
    padding: 12px;
    background-color: white;
}

.photo-title {
    font-size: 14px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    color: #333;
    padding: 0;
    position: relative;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    background: none;
}

.photo-meta {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    padding: 0;
    background-color: transparent;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    display: block;
    border-top: none;
}

/* 分页导航样式 */
.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;

}

.pagination span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px;
    margin: 5px;
    background-color: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pagination span:hover {
    background-color: #e9ecef;
    color: #0066cc;
    border-color: #0066cc;
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}
.pagination .page-item a{
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
    font-weight: 600;
    padding: 0 5px;
}
.pagination .page-item a.page-active {
   background-color:#f8f9fa;
   color: #666;
   border:none;
   font-weight: 500;
}

.pagination .page-item:first-child,
.pagination .page-item:last-child {
    width: auto;
 
}



/* 图片新闻响应式设计，与视频样式保持一致 */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .photo-title {
        font-size: 14px;
    }
    
    .photo-meta {
        font-size: 11px;
    }
    
    /* 移动端分页导航样式调整 */
    .pagination {
        gap: 6px;
        padding: 10px;
        margin-top: 20px;
    }
    
    .pagination .page-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .photo-title {
        font-size: 13px;
    }
    
    /* 小屏手机分页导航样式调整 */
    .pagination {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    

}

.video-info {
    padding: 12px;
    background-color: white;
}

.video-title {
    font-size: 14px;

    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    color: #333;
}

.video-meta {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* 专题活动 */
.special-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
    overflow: hidden;
}

/* 滚动容器 */
.special-scroll-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.special-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation: scroll-left 25s linear infinite;
    animation: scroll-left 25s linear infinite;
    width: max-content;
    gap: 30px;
}

.special-item {
    text-align: center;
    min-width: 150px;
    max-width: 300px;
    box-sizing: border-box;
}

.special-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.special-item p {
    font-size: 14px;
    color: #0066cc;
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.special-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* 滚动动画 */
@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

/* 鼠标悬停暂停动画 */
.special-scroll-container:hover .special-grid {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

/* 双列布局 */
.two-column {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 2fr 20px 1fr;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* 健康大讲堂 */
.health-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.health-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* 战略合作 */
.cooperation-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cooperation-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
}

.cooperation-item {
    text-align: center;
}

.cooperation-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out;
}

.cooperation-item img:hover {
    transform: scale(1.05);
}

/* 合作单位名称 */
.cooperation-item p {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 新闻区域 */
.news-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 新闻网格布局 - 左边大图，右边列表 */
.news-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

/* 新闻网格垂直布局 - 上方横图，下方列表 */
.news-grid.vertical-layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}

/* 横图样式 */
.horizontal-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* 直播播放器样式 - 电脑端 */
@media (min-width: 769px) {
    /* 隐藏党建新闻与天天说事板块的大图 */
    .party-news .news-big,
    .daily-news .news-big {
        display: none;
    }
    
    /* 电脑端直播播放器样式 - 视频频道 */
    #channel-1 .live-player,
    #channel-2 .live-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none !important;
        margin-bottom: 0 !important;
        z-index: 3;
        background-color: #000;
        /* 使用object-fit: contain确保视频画面完整显示 */
        object-fit: contain;
    }
    
    /* 电脑端直播播放器样式 - 广播频道 */
    #channel-3 .live-player,
    #channel-4 .live-player {
        max-width: 600px !important;
        margin: 0 auto 15px auto !important;
        z-index: 3;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 245, 255, 0.95) 100%) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
        /* 广播频道居中显示，隐藏视频画面 */
        display: block;
        height: 60px !important;
        overflow: hidden !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(0, 102, 204, 0.2) !important;
    }
    
    /* 广播播放器悬停效果 */
    #channel-3 .live-player:hover,
    #channel-4 .live-player:hover {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
        transform: translateY(-2px) !important;
    }
    
    /* 自定义视频控件样式 */
    #channel-3 .live-player::-webkit-media-controls-panel,
    #channel-4 .live-player::-webkit-media-controls-panel {
        background-color: rgba(255, 255, 255, 0.95) !important;
        border-radius: 12px !important;
        height: 60px !important;
        padding: 0 16px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    /* 播放按钮样式 */
    #channel-3 .live-player::-webkit-media-controls-play-button,
    #channel-4 .live-player::-webkit-media-controls-play-button {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background-color: #0066cc !important;
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3) !important;
        transition: all 0.2s ease !important;
    }
    
    #channel-3 .live-player::-webkit-media-controls-play-button:hover,
    #channel-4 .live-player::-webkit-media-controls-play-button:hover {
        background-color: #0088ff !important;
        transform: scale(1.1) !important;
        box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4) !important;
    }
    
    /* 进度条样式 */
    #channel-3 .live-player::-webkit-media-controls-timeline,
    #channel-4 .live-player::-webkit-media-controls-timeline {
        background-color: #e0e0e0 !important;
        border-radius: 8px !important;
        height: 8px !important;
        margin: 0 12px !important;
    }
    
    /* 进度条滑块样式 */
    #channel-3 .live-player::-webkit-media-controls-timeline::-webkit-slider-thumb,
    #channel-4 .live-player::-webkit-media-controls-timeline::-webkit-slider-thumb {
        width: 20px !important;
        height: 20px !important;
        border-radius: 50% !important;
        background-color: #0066cc !important;
        box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4) !important;
        transition: all 0.2s ease !important;
    }
    
    #channel-3 .live-player::-webkit-media-controls-timeline::-webkit-slider-thumb:hover,
    #channel-4 .live-player::-webkit-media-controls-timeline::-webkit-slider-thumb:hover {
        transform: scale(1.2) !important;
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.6) !important;
    }
    
    /* 音量控制样式 */
    #channel-3 .live-player::-webkit-media-controls-mute-button,
    #channel-4 .live-player::-webkit-media-controls-mute-button {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
    }
    
    #channel-3 .live-player::-webkit-media-controls-mute-button:hover,
    #channel-4 .live-player::-webkit-media-controls-mute-button:hover {
        background-color: rgba(0, 102, 204, 0.1) !important;
    }
    
    /* 音量滑块样式 */
    #channel-3 .live-player::-webkit-media-controls-volume-slider,
    #channel-4 .live-player::-webkit-media-controls-volume-slider {
        background-color: #e0e0e0 !important;
        border-radius: 8px !important;
        height: 8px !important;
        margin: 0 8px !important;
    }
    
    #channel-3 .live-player::-webkit-media-controls-volume-slider::-webkit-slider-thumb,
    #channel-4 .live-player::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        background-color: #0066cc !important;
        box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3) !important;
    }
    
    /* 时间显示样式 */
    #channel-3 .live-player::-webkit-media-controls-current-time-display,
    #channel-4 .live-player::-webkit-media-controls-current-time-display,
    #channel-3 .live-player::-webkit-media-controls-time-remaining-display,
    #channel-4 .live-player::-webkit-media-controls-time-remaining-display {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #333 !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }
    
    /* 全屏按钮样式 */
    #channel-3 .live-player::-webkit-media-controls-fullscreen-button,
    #channel-4 .live-player::-webkit-media-controls-fullscreen-button {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        transition: all 0.2s ease !important;
    }
    
    #channel-3 .live-player::-webkit-media-controls-fullscreen-button:hover,
    #channel-4 .live-player::-webkit-media-controls-fullscreen-button:hover {
        background-color: rgba(0, 102, 204, 0.1) !important;
    }
    
    /* 确保直播信息容器占据整个直播横幅区域 */
    .live-info {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }
    
    /* 直播信息内容居中显示 - 电脑端额外优化 */
    .live-info-content {
        /* 确保电脑端居中显示 */
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* 广播频道的信息容器样式 - 不覆盖背景图 */
    #channel-3 .live-info-content,
    #channel-4 .live-info-content {
        background-color: transparent;
    }
}

/* 左边大图区域 */
.news-big {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.news-big .news-thumb {
    width: 94%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.news-big:hover .news-thumb {
    transform: scale(1.02);
}

.news-big .news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 右边文章列表 */
.news-list {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* 列表项样式 */
.news-list .news-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e8f4fc;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-list .news-item:hover {
    transform: translateX(5px);
}

.news-list .news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-list .news-title {
    font-size: 15px;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
    line-height: 1.8;
    flex: 1;
    margin-right: 15px;
}

/* 新闻元信息 */
.news-meta {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 底部区域 */
.footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: block;
    width: 100%;
}

/* 第一行：链接 */
.footer-content > .footer-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 第二行：左侧logo和信息，右侧二维码 */
.footer-content::after {
    content: "";
    display: table;
    clear: both;
}

.footer-content > .footer-left,
.footer-content > .footer-qrcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    float: left;
}

.footer-content > .footer-left {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 70%;
}

.footer-content > .footer-qrcode {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 30%;
}

.footer-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    gap: 15px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.footer-logo img {
    width: 260px;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 8px;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.footer-left .footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    margin-top: 15px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.footer-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 25px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-family: 'Microsoft YaHei', sans-serif;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #20a0d1, #0099ff);
    -webkit-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.footer-links a:hover {
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(32, 160, 209, 0.3);
}

.footer-links a:hover::after {
    width: 100%;
}

/* 为链接添加微动画 */
.footer-links a {
    overflow: hidden;
}

.footer-links a span {
    display: inline-block;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover span {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.footer-qrcode {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.qrcode-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #555;
    background-color: #fff;

    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.qrcode-item:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    border-color: #666;
}

.qrcode-item p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
    text-align: center;
}

/* 社交媒体图标调整为合适大小 */
.footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #444;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #555;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.footer-social img {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 0;
    border: none;
    background: none;
    padding: 0;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    margin-top: 20px;
    color: #ccc;
    font-size: 12px;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 调整基础字体大小，使整个页面字体放大 */
    html {
        font-size: 18px;
    }
    /* 在移动端隐藏完整搜索框和导航链接，显示后退按钮和导航按钮 */
    .search-bar {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-search-btn {
        display: none;
    }
    
    /* 显示移动端后退按钮 */
    .mobile-back-btn {
        display: flex;
    }
    
    /* 显示快速导航按钮 */
    .mobile-nav-btn {
        display: flex;
    }
    
    /* 完全隐藏搜索功能 */
    .search-modal {
        display: none !important;
    }
    
    /* 移动端导航布局：左-后退按钮，中-logo，右-导航按钮 */
    .top-nav .container {
        justify-content: space-between;
        align-items: center;
    }
    
    /* 移动端logo调整大小 */
    .logo img {
        height: 60px;
    }
    
    /* 移动端顶部导航背景渐变 */
    .top-nav {
        background: linear-gradient(136deg, #286aff, #4e6ef2, #7274f9, #9f66ff);
        background-size: cover;
        background-position: bottom center;
        background-repeat: no-repeat;
    }
    
    /* 移动端页脚响应式设计 */
    .footer-content > .footer-left,
    .footer-content > .footer-qrcode {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-content > .footer-left {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .footer-content > .footer-qrcode {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .footer-qrcode {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 15px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .footer-left .footer-social {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .qrcode-item {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    
    .qrcode-item img {
        width: 80px;
        height: 80px;
    }
    
    .qrcode-item p {
        font-size: 12px;
        margin-top: 5px;
    }
    
    /* 频道导航 */
    .channel-nav {
        padding: 8px 0;
    }
    
    .channel-nav .container {
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    /* 隐藏滚动条 */
    .channel-nav .container::-webkit-scrollbar {
        display: none;
    }
    
    .channel-nav a {
        font-size: 14px;
        padding: 6px 12px;
        white-space: nowrap;
    }
    
    /* 专题活动移动端适配 */
    .special-section {
        padding: 15px;
    }
    
    .special-grid {
        gap: 20px;
        -webkit-animation-duration: 20s;
        animation-duration: 20s;
    }
    
    .special-item {
        min-width: 120px;
        max-width: 200px;
    }
    
    .special-item img {
        height: 120px;
    }
    
    .special-item p {
        font-size: 12px;
    }
    
    /* 直播区域 */
    .live-banner {
        height: 180px;
    }
    
    .live-info h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .live-info p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .live-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .channel-list {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .channel-item {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    /* 内容区域 */
    .content-section {
        padding: 15px 0;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    /* 双列布局 */
    .two-column {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 视频网格 */
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    

    
    .video-title {
        font-size: 16px;
    }
    
    .video-meta {
        font-size: 11px;
    }
    
    /* 专题活动 */
    .special-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .special-item img {
        height: auto;
    }
    
    .special-item p {
        font-size: 13px;
    }
    
    /* 健康大讲堂 */
    .health-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    /* 战略合作 */
    .cooperation-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    /* 新闻区域 */
    .news-section {
        padding: 15px;
    }
    
    .news-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-big .news-thumb {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .news-big .news-title {
        font-size: 16px;
    }
    
    .news-list .news-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .news-list .news-title {
        font-size: 14px;
        line-height: 1.4;
        flex: 1;
        margin-right: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .news-meta {
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 底部区域 - 只显示版权信息 */
    .footer {
        padding: 15px 0;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* 隐藏其他底部内容，只显示版权信息 */
    .footer-info,
    .qrcode {
        display: none;
    }
    
    .copyright {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        text-align: center;
    }
    
    .copyright p {
        font-size: 0.7rem;
        line-height: 1.6;
        color: #999;
        margin: 0;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    /* 进一步调整基础字体大小，适应小屏手机 */
    html {
        font-size: 20px;
    }
    .logo h1 {
        font-size: 1rem;
    }
    
    .search-bar input {
        width: 150px;
    }
    
    .live-banner {
        height: 280px;
    }
    
    .live-info h2 {
        font-size: 16px;
    }
    
    .live-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    

    
    .special-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .special-item img {
        height: auto;
    }
    
    .news-big .news-thumb {
        height: 200px;
        object-fit: cover;
    }
    
    .news-big .news-title {
        font-size: 15px;
    }
    
    /* 小屏手机新闻列表优化 */
    .news-list .news-title {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .news-meta {
        font-size: 12px;
    }
}

/* 内容详情页样式 */
.article-detail {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* 文章标题 */
.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

/* 文章元信息 */
.article-meta {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
    font-size: 14px;
}

.article-meta span {
    margin: 0 10px;
}

/* 文章正文 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 文章图片 */
.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
}

.image-caption {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* 文章中的标题 */
.article-content h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

/* 相关推荐 */
.related-articles {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.related-articles:hover {
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.related-articles h3 {
    font-size: 20px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid linear-gradient(90deg, #0066cc, #0099ff);
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.related-articles h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    border-radius: 3px;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-list li {
    margin: 0;
    padding: 15px;
    background-color: rgba(249, 252, 255, 0.8);
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.related-list li:hover::before {
    transform: translateX(100%);
}

.related-list li:hover {
    border-left-color: #0066cc;
    background-color: rgba(240, 247, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.related-list li::marker {
    content: none;
}

.related-list a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
    padding-left: 25px;
}

.related-list a::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    color: #0066cc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.related-list a:hover {
    color: #0066cc;
    text-decoration: none;
    transform: translateX(5px);
}

.related-list a:hover::before {
    transform: translateY(-50%) scale(1);
    color: #0099ff;
    left: 3px;
}

/* 视频播放器容器样式 */
.video-player-container {
    margin: 20px auto;
    max-width: 100%;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    background-color: #000;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-player-container:hover {
    box-shadow: 0 12px 36px rgba(0, 102, 204, 0.25);
    transform: translateY(-2px);
}

/* 自定义播放器皮肤样式 */
.prism-player {
    border-radius: 12px;
    overflow: hidden;
}

/* 阿里播放器控件栏样式调整 */
.alipayer-controlbar {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent) !important;
}

.alipayer-progress-bar {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.alipayer-progress-loaded {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.alipayer-progress-played {
    background: linear-gradient(90deg, #0066cc, #0099ff) !important;
}

.alipayer-progress-btn {
    background-color: #0066cc !important;
    border-color: #0099ff !important;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5) !important;
}

.alipayer-button {
    color: white !important;
}

.alipayer-button:hover {
    color: #0099ff !important;
}

/* 视频播放器响应式调整 */
@media (max-width: 960px) {
    .video-player-container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .video-player-container {
        max-width: 100%;
        border-radius: 0;
        margin: 15px auto;
    }
}

/* 文章上下篇导航样式 */
.article-navigation {
    margin:0;

}



.nav-prev, .nav-next {
    margin-bottom: 15px;
    padding: 12px 15px;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
    border-left-color: #0066cc;
    background-color: rgba(240, 247, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.nav-next {
    margin-bottom: 0;
}

.nav-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-navigation a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    padding-left: 20px;
    position: relative;
}

.article-navigation a::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    color: #0066cc;
    font-size: 12px;
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: #0066cc;
    text-decoration: none;
    transform: translateX(5px);
}

.article-navigation a:hover::before {
    transform: translateY(-50%) scale(1);
    color: #0099ff;
    left: 3px;
}

/* 当没有上下篇时的样式 */
.article-navigation .no-more {
    color: #999;
    font-style: italic;
    padding-left: 20px;
    position: relative;
}

.article-navigation .no-more::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    color: #999;
    font-size: 12px;
}

/* 上下篇导航响应式设计 */
@media (max-width: 768px) {
    .article-navigation {
        padding: 15px;
        margin: 20px 0;
    }
    
    .nav-prev, .nav-next {
        padding: 10px 12px;
    }
    
    .nav-label {
        font-size: 13px;
    }
    
    .article-navigation a {
        font-size: 14px;
    }
}

/* 内容页响应式设计 */
@media (max-width: 768px) {
    .article-detail {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        font-size: 13px;
    }
    
    .article-meta span {
        margin: 0 5px;
    }
    
    .article-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .article-content p {
        text-indent: 1em;
    }
    
    .article-content h2 {
        font-size: 20px;
    }
    
    .related-articles {
        padding: 15px;
    }
    
    .related-articles h3 {
        font-size: 16px;
    }
    
    .related-list a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .article-detail {
        padding: 15px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-meta {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .article-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .article-content p {
        margin-bottom: 15px;
        text-indent: 0;
    }
    
    .article-content h2 {
        font-size: 18px;
    }
    
    .article-image img {
        border-radius: 4px;
    }
    

    /* 小屏手机广播播放器优化 */
    #channel-3 .live-player,
    #channel-4 .live-player {
        max-width: 100% !important;
        height: 50px !important;
        border-radius: 10px !important;
    }
    
    /* 移动端简化的控件样式 */
    #channel-3 .live-player::-webkit-media-controls-panel,
    #channel-4 .live-player::-webkit-media-controls-panel {
        height: 50px !important;
        padding: 0 8px !important;
    }
    
    /* 简化移动端进度条 */
    #channel-3 .live-player::-webkit-media-controls-timeline,
    #channel-4 .live-player::-webkit-media-controls-timeline {
        margin: 0 8px !important;
    }
    
    /* 简化移动端时间显示 */
    #channel-3 .live-player::-webkit-media-controls-current-time-display,
    #channel-4 .live-player::-webkit-media-controls-current-time-display,
    #channel-3 .live-player::-webkit-media-controls-time-remaining-display,
    #channel-4 .live-player::-webkit-media-controls-time-remaining-display {
        font-size: 12px !important;
    }
}