:root {
    --primary-color: #C41E3A;
    --primary-dark: #A01830;
    --text-primary: #222;
    --text-secondary: #666;
    --bg-light: #f5f5f5;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Microsoft YaHei',"微软雅黑",Arial, Helvetica, sans-serif,"宋体";
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: #fff;
    background-image: url("bg.png");
    background-position: top center;
    background-repeat: repeat-x;
}

.ytxw {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}


.yt_banner1 {
    text-align: center;
    background: transparent;
    padding: 10px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.yt_banner1 img {
    max-width: 100%;
    height: auto;
}


.yt_ad1 {
    background: #f5f5f5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 0;
}

.yt_ad1 .ytxw {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    padding: 0;
}

.yt_ad1 .ytxw a {
    width: calc((1400px - 60px) / 2);
}

.yt_ad1 .ytxw a img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}


.yt_ad2 {
    background: #f5f5f5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px 10px 20px;
}

.yt_ad2 .ytxw {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    padding: 0;
}

.yt_ad2 .ytxw a {
    width: calc((1400px - 40px) / 3);
}

.yt_ad2 .ytxw a img {
    width: 100%;
    height: 50px;
    object-fit: cover;
}


.yt_nav {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.yt_nav .ytxw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
	margin: 0 0 0 10px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 18px 0;
    transition: color 0.3s;
    position: relative;
}

.nav-list a:hover {
    color: #ffd700;
}

.nav-list a.active {
    color: #ffd700;
}

.nav-list a.active::after {
    width: 100%;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.lxwm {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
	margin: 0 10px 0 0;
}

.lxwm .xwrx,
.lxwm .gghz {
    white-space: nowrap;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}


.yt_tt {
    background: #fff;
    padding: 25px 0;
    border-bottom: 2px solid var(--primary-color);
    max-width: 1400px;
    margin: 0 auto;
}

.yt_tt .ytxw {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.yt_tt a {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    flex: 1;
    line-height: 1.6;
    text-align: center;
}


.yt_screen1 {
    padding: 20px 0 0;
    margin-bottom: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.yt_screen1 .ytxw {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 25px;
}

.yt_tj {
    order: -1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.yt_scroll {
    position: relative;
    height: 100%;
    min-height: 475px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.indicators {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 12px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 130px 15px 25px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.yt_banner2 {
    max-width: 1400px;
    margin: 0 auto;
}

.yt_banner2 .ytxw {
    padding: 0;
    margin-bottom: 0;
}

.yt_banner2 img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* 栏目内容区 */
.yt_screen2 {
    padding: 0;
    overflow: hidden;
}

.yt_screen2 .ytxw {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* 第一行 */
.yt_xwzb {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    margin-bottom: 30px;
}

.yt_xwzb .yt_news:first-child {
    width: calc(66.666% - 10px);
    flex-shrink: 0;
}

.yt_xwzb .yt_news:last-child {
    width: calc(33.333% - 10px);
    flex-shrink: 0;
}

/* 第二行 */
.yt_screen3 {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.yt_screen3 .yt_news {
    width: calc(33.333% - 13.333px);
    flex-shrink: 0;
}

.yt_news {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yt_news h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

.yt_news h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: var(--underline-width, 120px);
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.yt_news h3 span {
    color: var(--primary-color);
    font-size: 19px;
    margin-left: 8px;
}

.yt_news h3 span a {
    color: var(--primary-color);
    text-decoration: none;
}

.yt_news h3 i.iconfont {
    font-size: 29px;
    color: var(--primary-color);
    font-weight: normal;
}

.yt_news .more {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: normal;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s;
    margin-left: auto;
}

.yt_news .more:hover {
    color: var(--primary-color);
    background: rgba(196, 30, 58, 0.08);
}

.yt_news ul {
    list-style: none;
}

.yt_news li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
    line-height: 1.8;
}

.yt_news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.yt_news li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.3s;
}

.yt_news li a:hover {
    color: var(--primary-color);
}

.special-img {
    margin-top: 15px;
}

.special-img img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
}

.yt_tuwen {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.yt_twys {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.yt_gngj {
    grid-template-columns: repeat(3, 1fr);
}

/* 统一带图片新闻的图片大小 */
.yt_tuwen .img-box {
    flex-shrink: 0;
    width: 140px;
    height: 95px;
}

.yt_tuwen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.yt_tuwen h5 {
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

/* 统一带图片新闻的标题字体大小 */
.yt_tuwen h5 a {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.yt_tuwen h5 a:hover {
    color: var(--primary-color);
}

.yt_txt {
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 15px;
}

.yt_txt li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
    overflow: hidden;
    box-sizing: border-box;
    line-height: 1.8;
}

.yt_txt li:last-of-type {
    margin-bottom: 0;
}

.yt_txt li a {
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.3s;
}

/* 图说新闻 */
.yt_screen4 {
    background: #f5f5f5;
    padding: 25px 20px;
    margin-bottom: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.yt_screen4 h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

.yt_screen4 h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: var(--underline-width, 120px);
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.yt_screen4 h3 span {
    color: var(--primary-color);
    font-size: 19px;
    margin-left: 8px;
}

.yt_screen4 h3 span a {
    color: var(--primary-color);
    text-decoration: none;
}

.yt_screen4 h3 i.iconfont {
    font-size: 29px;
    color: var(--primary-color);
    font-weight: normal;
}

.yt_screen4 .more {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: normal;
    padding: 3px 8px;
    border-radius: 3px;
    transition: all 0.3s;
    margin-left: auto;
}

.yt_screen4 .more:hover {
    color: var(--primary-color);
    background: rgba(196, 30, 58, 0.08);
}

.yt_yidong {
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: flex;
    gap: 20px;
    animation: scroll 50s linear infinite;
    width: max-content;
}

.scroll-content:hover {
    animation-play-state: paused;
}

.photo-item {
    flex-shrink: 0;
    width: 280px;
}

/* 真正的无缝滚动：6个item为一份 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    /* 1800px = 6 * (280px + 20px gap) - 最后一个gap不计入 = 1780px，但为了精确用1800 */
    100% {
        transform: translateX(-1800px);
    }
}

.photo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.photo-item p {
    margin: 0;
    text-align: center;
}

.photo-item p a {
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.3s;
}

.photo-item p a:hover {
    color: var(--primary-color);
}

/* 国内国际 */
.yt_screen5 {
    margin-bottom: 30px;
}

.yt_screen5 .yt_news ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.yt_screen5 .yt_news li {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt_screen5 .yt_news li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 页脚 */
.footer {
    background: #222;
    padding: 30px 0;
    margin-top: 20px;
}

.yt_links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    justify-content: center;
}

.yt_links a {
    color: #999;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.yt_links a:hover {
    color: #fff;
}

.yt_bq {
    color: #666;
    font-size: 14px;
    line-height: 2;
    text-align: center;
}
.yt_bq a{
    color: #666;
    font-size: 14px;
	text-decoration: none;
}

.yt_bq p {
    margin-bottom: 8px;
}

.yt_bq p:last-child {
    margin-bottom: 0;
}

.yt_bq span {
    display: inline-block;
    margin-right: 12px;
}

.yt_bq span:last-child {
    margin-right: 0;
}



/* 面包屑导航 */
.breadcrumb {
    background: #f8f8f8;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb .ytxw {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--text-primary);
    font-size: 15px;
}

/* 列表页 */
.yt_lie {
    padding: 25px 0;
}

.yt_lie .ytxw {
    width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: grid !important;
    grid-template-columns: calc(100% - 455px) 430px !important;
    gap: 25px;
}

.yt_lie .yt_lmxx {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yt_lie .yt_bian {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.list_wz {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 25px;
}

.yt_lmmc {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.yt_lmmc a {
    color: #333;
    text-decoration: none;
}

.yt_wz1 {display: none;}
.yt_wz {
    font-size: 14px;
    color: var(--text-secondary);
}

.yt_wz a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.yt_wz a:hover {
    color: var(--primary-color);
}

.news-list {
    padding: 0;
}

.news-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 10px 0;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.news-list li:not(:last-child) {
    border-bottom: 1px dashed #eee;
}

.news-list .cut-off {
    height: 1px;
    background: #ddd;
    margin: 15px 0;
    border-bottom: 1px dashed #ddd;
}

.news-list li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    flex: 1;
    position: relative;
    padding-left: 12px;
}

.news-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.news-list li a:hover {
    color: var(--primary-color);
}

.news-list li span {
    color: var(--text-secondary);
    font-size: 15px;
    flex-shrink: 0;
    margin-left: 20px;
}


.yt_page {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 15px 0;
}


#yt_cont video {
    width: auto;
    max-width: 750px;
    height: auto;
    max-height: 450px;
    text-align: center;
    margin: 0 auto;
    display: block;
}

#yt_cont img { max-width:750px; height:auto;margin:0 auto;display: block;} 

.webstv {
    outline: none;
    object-fit: fill;
    display: block;
    clear: both;
    padding:0 0 20px 0;
}

.yt_page a,
.yt_page span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.yt_page a.a1 {
    background: #f5f5f5;
    color: var(--text-secondary);
    border: 1px solid #ddd;
}

.yt_page a.a1:hover {
    background: #eee;
    color: var(--text-primary);
}

.yt_page a.a2 {
    background: #fff;
    color: var(--text-primary);
    border: 1px solid #ddd;
}

.yt_page a.a2:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.yt_page span {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

/* 侧边栏 */
.yt_bian {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.yt_bian-block,
.list-yt_news {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.list-yt_news h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 0;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
}

.list-yt_news h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: var(--underline-width, 120px);
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.list-yt_news h3 span {
    color: var(--primary-color);
    font-size: 19px;
    margin-left: 8px;
}

.list-yt_news h3 span a {
    color: var(--primary-color);
    text-decoration: none;
}

.list-yt_news h3 i.iconfont {
    font-size: 29px;
    color: var(--primary-color);
    font-weight: normal;
}

.list-yt_news .more {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: normal;
    padding: 3px 8px;
    margin-left: auto;
}

.list-yt_news .more:hover {
    color: var(--primary-color);
}

.list-yt_news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-yt_news li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.list-yt_news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.list-yt_news li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-all;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-yt_news .photo-info a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
}

.list-yt_news li a:hover {
    color: var(--primary-color);
}

.list-yt_news .special-img {
    margin-top: 18px;
}

.list-yt_news .special-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.list-yt_news .photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.list-yt_news .photo-card {
    width: 100%;
}

.list-yt_news .photo-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.list-yt_news .photo-card p {
    margin: 8px 0 0 0;
    padding: 0;
}

.list-yt_news .photo-card p a {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.list-yt_news .photo-card p a:hover {
    color: var(--primary-color);
}

.list-yt_news .double-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.list-yt_news .double-images .img-item {
    display: flex;
    flex-direction: column;
}

.list-yt_news .double-images .img-item a:first-child {
    display: block;
}

.list-yt_news .double-images img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.list-yt_news .double-images .img-item p {
    margin: 6px 0 0 0;
    padding: 0;
    overflow: hidden;
}

.list-yt_news .double-images .img-item p a {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    word-break: break-word;
    max-height: 45px;
}

.list-yt_news .double-images .img-item p a:hover {
    color: var(--primary-color);
}

.yt_bian-title,
.yt_bian-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.yt_bian-title::before,
.yt_bian-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
}

.yt_bian-title .more,
.yt_bian-block h3 .more {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: normal;
    padding: 3px 8px;
    border-radius: 3px;
}

.yt_bian-title .more:hover,
.yt_bian-block h3 .more:hover {
    color: var(--primary-color);
    background: rgba(196, 30, 58, 0.08);
}

.yt_bian-block ul {
    list-style: none;
    padding: 15px;
    margin: 0;
}

.yt_bian-block li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
    position: relative;
}

.yt_bian-block li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.yt_bian-block li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: color 0.3s;
}

.yt_bian-block li a:hover {
    color: var(--primary-color);
}

/* 侧边栏排行榜 */
.yt_bian-block li .rank {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background: #eee;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.yt_bian-block li:first-child .rank {
    background: var(--primary-color);
    color: #fff;
}

.yt_bian-block li:nth-child(2) .rank {
    background: #e74c3c;
    color: #fff;
}

.yt_bian-block li:nth-child(3) .rank {
    background: #f39c12;
    color: #fff;
}

/* 内容页 */
.content-page {
    padding: 25px 0;
}

.content-page .ytxw {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.yt_title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.yt_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
}

.yt_meta span {
    color: var(--text-secondary);
    font-size: 15px;
    white-space: nowrap;
}

.yt_meta i.iconfont {
    font-size: 24px;
    margin-right: 2px;
}

.yt_meta a {
    color: var(--text-secondary);
    text-decoration: none;
}

.yt_meta a:hover {
    color: var(--primary-color);
}

.yt_nr {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yt_nr p {
    font-size: 17px;
    line-height: 2;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-indent: 2em;
}

/* p标签内含有img时，不缩进 */
.yt_nr p:has(> img) {
    text-indent: 0 !important;
}

.yt_nr p:last-child {
    margin-bottom: 0;
}

.yt_sx {
    margin-top: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yt_lmxx .yt_news {
    margin-top: 25px;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yt_prev, .yt_next {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.yt_prev:last-child, .yt_next:last-child {
    margin-bottom: 0;
}

.yt_prev span, .yt_next span {
    color: var(--text-secondary);
    font-size: 15px;
}

.yt_prev span i, .yt_next span i {
    font-size: 25px;
    margin-right: 2px;
    vertical-align: middle;
}

.yt_prev a, .yt_next a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    transition: color 0.3s;
}

.yt_prev a:hover, .yt_next a:hover {
    color: var(--primary-color);
}

/* 阅读进度条 */
.yt_reading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    z-index: 1000;
}

.yt_reading-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
    transition: width 0.1s ease;
}

/* 文章分享浮窗 */
.yt_share {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 8px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.yt_share.show {
    opacity: 1;
    visibility: visible;
}

.yt_share .share-title {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.yt_share .share-btn {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin: 10px auto;
    transition: all 0.3s;
    text-decoration: none;
}

.yt_share .share-btn i {
    font-size: 26px;
}

.yt_share .share-btn.weixin {
    background: #07c160;
    color: #fff;
}

.yt_share .share-btn.weibo {
    background: #e6162d;
    color: #fff;
}

.yt_share .share-btn.qq {
    background: #1296db;
    color: #fff;
}

.yt_share .share-btn.copy {
    background: #ff9800;
    color: #fff;
}

.yt_share .share-btn:hover {
    transform: scale(1.1);
}

/* 回到顶部按钮 */
.yt_top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 998;
    display: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.yt_top i {
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.yt_top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* 阅读统计 */
.yt_stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.yt_stats span {
    font-size: 14px;
    color: #999;
    display: flex;
    align-items: center;
}

.yt_stats i.iconfont {
    font-size: 22px;
    color: #ccc;
    margin-right: 2px;
}

/* 版权说明链接 */
.yt_stats .copyright-link {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.yt_stats .copyright-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.yt_stats .copyright-link a:hover {
    text-decoration: underline;
}

/* 打印按钮 */
.yt_stats .print-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.yt_stats .print-btn:hover {
    color: var(--primary-color);
}

.yt_stats .print-btn i {
    font-size: 22px;
    margin-right: 2px;
}

/* 夜间模式按钮 - 文章统计区域 */
.yt_stats .night-mode-btn {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    box-shadow: none;
    font-size: inherit;
    margin-left: 10px;
    border-radius: 4px;
}

.yt_stats .night-mode-btn:hover {
    color: var(--primary-color);
    transform: none !important;
    box-shadow: none !important;
    background: none !important;
}

.yt_stats .night-mode-btn.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    border: none;
    box-shadow: none;
}

.yt_stats .night-mode-btn i {
    font-size: 22px;
    margin-right: 2px;
}

/* 文章信息 */
.yt_actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.collect-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 35px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
}

.collect-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.collect-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.collect-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.collect-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* 统一按钮高度 */
.yt_actions {
    align-items: stretch;
    position: relative;
}

.collect-btn.collected {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.collect-btn.collected i {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.bookmark-tip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 100;
    animation: fadeInDown 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
    text-align: justify;
    text-align-last: center;
    min-width: 150px;
    line-height: 1.4;
}

.bookmark-tip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #764ba2;
}

.bookmark-tip.show {
    display: block;
}

.bookmark-tip p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.bookmark-tip kbd {
    display: inline-block;
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 0 3px;
    font-family: monospace;
    font-size: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 功能按钮基础样式 */
.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 35px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.5);
}

.action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.action-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.action-btn:hover i {
    transform: scale(1.2) rotate(-10deg);
}

.night-mode-btn.active {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 夜间模式样式 */
body.night-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.night-mode .yt_lmxx,
body.night-mode .yt_nr,
body.night-mode .yt_sx,
body.night-mode .yt_news {
    background: #16213e;
}

body.night-mode .yt_title {
    color: #fff;
}

body.night-mode .yt_meta span,
body.night-mode .yt_meta a {
    color: #aaa;
}

body.night-mode .yt_nr p {
    color: #d0d0d0;
}

body.night-mode .yt_nr h2,
body.night-mode .yt_nr h3 {
    color: #fff;
}

body.night-mode .yt_actions {
    border-top-color: #333;
}

body.night-mode .action-btn {
    background: #2d3a5a;
    border-color: #445;
    color: #ccc;
}

body.night-mode .collect-btn {
    background: linear-gradient(135deg, #5a4a3a, #4a3a2a);
}

body.night-mode .collect-btn.collected {
    background: linear-gradient(135deg, #6a5a1a, #5a4a0a);
}

body.night-mode .yt_sx a {
    color: #ccc;
}

body.night-mode .yt_stats span {
    color: #aaa;
}

body.night-mode .yt_news h3 {
    color: #fff;
    border-bottom-color: #333;
}

body.night-mode .yt_news h3::after {
    background: #fff;
}

body.night-mode .yt_news h3 span {
    color: #fff;
}

body.night-mode .yt_news h3 span a {
    color: #fff;
}

body.night-mode .yt_news h3 i.iconfont {
    color: #fff;
}

body.night-mode .yt_news .more {
    color: #aaa;
}

body.night-mode .yt_news .more:hover {
    color: #fff;
}

body.night-mode .yt_txt a {
    color: #ccc;
}

body.night-mode .yt_tuwen h5 a {
    color: #fff;
}

/* 广告行夜间模式 */
body.night-mode .yt_ad1,
body.night-mode .yt_ad2 {
    background: #16213e;
}

/* 图说新闻夜间模式 */
body.night-mode .yt_screen4 {
    background: #16213e;
}

body.night-mode .yt_screen4 h3 {
    color: #fff;
    border-bottom-color: #333;
}

body.night-mode .yt_screen4 h3::after {
    background: #fff;
}

body.night-mode .yt_screen4 h3 span,
body.night-mode .yt_screen4 h3 span a {
    color: #fff;
}

body.night-mode .yt_screen4 h3 i.iconfont {
    color: #fff;
}

body.night-mode .yt_screen4 .more {
    color: #aaa;
}

body.night-mode .yt_screen4 .more:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* 国内国际夜间模式 */
body.night-mode .yt_screen5 {
    background: #16213e;
}

body.night-mode .yt_screen5 h3 {
    color: #fff;
    border-bottom-color: #333;
}

body.night-mode .yt_screen5 h3::after {
    background: #fff;
}

body.night-mode .yt_screen5 h3 span,
body.night-mode .yt_screen5 h3 span a {
    color: #fff;
}

body.night-mode .yt_screen5 h3 i.iconfont {
    color: #fff;
}

body.night-mode .yt_screen5 .more {
    color: #aaa;
}

body.night-mode .yt_screen5 .more:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.night-mode .yt_tuwen-item {
    background: #1a2744;
}

body.night-mode .yt_tuwen-item h4 a {
    color: #e0e0e0;
}

body.night-mode .yt_tuwen-item h4 a:hover {
    color: #fff;
}

body.night-mode .yt_screen5 .yt_news ul {
    background: #16213e;
}

body.night-mode .yt_screen5 .yt_news li a {
    color: #ccc;
}

body.night-mode .yt_screen5 .yt_news li a:hover {
    color: #fff;
}

/* 侧边栏新闻区块夜间模式 (content.html) */
body.night-mode .list-yt_news {
    background: #16213e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.night-mode .list-yt_news h3 {
    color: #fff;
    border-bottom-color: #333;
}

body.night-mode .list-yt_news h3::after {
    background: #fff;
}

body.night-mode .list-yt_news h3 span,
body.night-mode .list-yt_news h3 span a {
    color: #fff;
}

body.night-mode .list-yt_news h3 i.iconfont {
    color: #fff;
}

body.night-mode .list-yt_news .more {
    color: #aaa;
}

body.night-mode .list-yt_news .more:hover {
    color: #fff;
}

body.night-mode .list-yt_news li {
    border-bottom-color: #333;
}

body.night-mode .list-yt_news li a {
    color: #ccc;
}

body.night-mode .list-yt_news li a:hover {
    color: #fff;
}

body.night-mode .list-yt_news .photo-card p a {
    color: #ccc;
}

body.night-mode .list-yt_news .photo-card p a:hover {
    color: #fff;
}

/* 标题区域和面包屑导航夜间模式 */
body.night-mode .list_wz {
    border-bottom-color: #333;
}

body.night-mode .yt_lmmc {
    color: #fff;
}

body.night-mode .yt_lmmc a {
    color: #fff;
}

body.night-mode .yt_wz {
    color: #aaa;
}

body.night-mode .yt_wz a {
    color: #aaa;
}

body.night-mode .yt_wz a:hover {
    color: #fff;
}

body.night-mode .yt_wz1 a {
    color: #aaa;
}

body.night-mode .yt_wz1 a:hover {
    color: #fff;
}

/* 页脚信息夜间模式 - 与 yt_links 颜色保持一致 */
body.night-mode .yt_bq {
    color: #999;
}

body.night-mode .yt_bq span {
    color: #999;
}

body.night-mode .yt_top {
    background: #4a5568;
}

.collect-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #eee;
    background: #fff;
}

.collect-btn i {
    font-size: 20px;
    color: #ff9800;
}

.collect-btn span {
    font-size: 14px;
    color: #666;
}

.collect-btn.collected {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
}

/* 打印样式 */
@media print {
    .yt_banner1,
    .yt_ad1,
    .yt_ad2,
    .yt_nav,
    .yt_bian,
    .footer,
    .yt_share,
    .yt_top,
    .yt_reading,
    .yt_actions,
    .yt_sx,
    #fontSizeControl,
    .yt_stats,
    .yt_news.ytwap {
        display: none !important;
    }

    body {
        background: #fff !important;
        font-size: 16px;
        line-height: 1.8;
    }

    .yt_lie {
        padding: 10px 0;
    }

    .yt_lie .ytxw {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    .yt_lie .yt_lmxx {
        width: 100% !important;
        max-width: 100% !important;
        background: #fff !important;
        border-radius: 0 !important;
        padding: 10px 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    .yt_nr {
        background: #fff !important;
        box-shadow: none;
        padding: 10px 0;
    }

    .yt_title {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #333;
    }

    .yt_meta {
        gap: 10px 20px;
        flex-wrap: wrap;
    }

    .yt_meta span {
        font-size: 14px;
    }

    .yt_stats {
        border: none;
        padding: 10px 0;
    }

    .yt_stats span {
        font-size: 13px;
    }

    .print-btn {
        display: none !important;
    }

    #yt_cont {
        width: 100% !important;
    }

    #yt_cont p {
        font-size: 15px !important;
        line-height: 1.9;
        text-indent: 2em;
        margin-bottom: 12px;
    }

    a {
        color: #333;
        text-decoration: none;
    }

    .yt_nr img {
        max-width: 100%;
        height: auto;
    }

    @page {
        size: A4;
        margin: 15mm;
    }
}