body {
    font-family: "Microsoft YaHei", 微软雅黑, 微软雅黑, 宋体, sans-serif;
    background: rgb(255, 255, 255);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

div {
    display: block;
}

/* 头部css */
.index_head .hd {
    height: 48px;
}

.ns_area {
    width: 1200px;
    margin: 0px auto;
}

.index_head .hd h1 {
    float: left;
}

h1 {
    display: block;
    font-size: 2em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.channel2019_logo {
    background: url(http://cms-bucket.ws.126.net/2022/0401/50eee44fp00r9nl6s003mc0008m028kc.png) no-repeat !important;
    width: 152px !important;
    height: 37px !important;
    display: block;
    float: left;
    justify-content: flex-start;
    /* 水平左对齐（可省略，因为是默认值） */
    align-items: flex-start;
}

.index_head .bd .ns_area li.last {
    padding-right: 0;
    background: none;
}

.index_head .bd .ns_area li.first {
    padding-left: 0;
}

.index_head .bd .ns_area li {
    float: left;
    font-size: 16px;
    padding: 0px 26px 0px 21px;
    background: url(http://static.ws.126.net/f2e/news/index2016/images/sprite_icon0813_v1.png) no-repeat 100% -53px;
}

.index_head .bd {
    border-top: 2px #f34540 solid;
    border-bottom: 1px #eeeeee solid;
}

.index_head .bd .ns_area {
    overflow: hidden;
    height: 47px;
    line-height: 47px;
}

.index_head .bd .ns_area a {
    color: #000000;
}

.index_head .bd .ns_area a:hover {
    color: red;
}

/* 左侧css */
.main_origina_column {
    float: left;
    display: inline;
    margin-right: 50px;
    width: 200px;
    min-height: 100px;
}

.origina_column_warp h2 {
    font-size: 16px;
    color: #404040;
    line-height: 16px;
    padding-bottom: 10px;
    border-bottom: 1px #eeeeee solid;
}

.origina_column_warp h2 span {
    border-left: 3px #f34540 solid;
    padding-left: 10px;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.origina_column_warp .cell {
    border-bottom: 1px #eeeeee solid;
    padding-top: 10px;
    padding-bottom: 10px;
}

li {
    list-style: none;
    display: list-item;
    text-align: -webkit-match-parent;
}

.origina_column_warp .cell .tag_line {
    text-align: center;
    font-size: 23px;
    font-weight: bold;

}

.origina_column_warp .cell .tags {
    color: #000;
}

.origina_column_warp .cell h3 {
    font-size: 16px;
    margin: 10px 0px 5px 0px;
}

a {
    color: #404040;
    text-decoration: none;
}

.origina_column_warp .cell ul a {
    color: #888888;
    font-size: 12px;
}

.origina_column_warp .cell ul li {
    font-family: "\5B8B\4F53", "宋体", Arial, sans-serif;
    position: relative;
    padding-left: 10px;
    line-height: 23px;
    height: 23px;
    overflow: hidden;
}

/* 中间样式 */
.main_center_news {
    float: left;
    display: inline;
    width: 600px;
    display: flex;
    flex-direction: column;
    /* 垂直排列 */
    align-items: flex-start;
    font-size: 24px;
    font-weight: bold;
    font-family: "微软雅黑";
}

.main_center_news a:hover {
    color: red;
}

/* 右侧样式 */

.main_right_channel {
    float: right;
    display: inline;
    width: 300px;
    overflow: hidden;
}

.idx_cm_title {
    border-top: 1px #dddddd solid;
    height: 41px;
}

.idx_cm_title .title {
    border-top: 1px #f34540 solid;
    font-size: 16px;
    font-weight: bold;
    float: left;
    position: relative;
    margin-top: -1px;
    padding: 6px 0px 10px 0px;
}

.h5_border {
    border: 1px #eeeeee solid;
    padding: 9px;
    width: 280px;
    height: 436px;
    background-color: #ffffff;
    border-radius: 4px;
    position: relative;
}

.ma12,
.mt12 {
    margin-top: -45px;
}

.mod_news_special .bd h3 {
    height: 40px;
    overflow: hidden;
    position: relative;
    bottom: 6px;
}

.mod_news_special .bd h3 span {
    float: left;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background: #f34540;
    line-height: 40px;
    width: 55px;
    height: 40px;
    display: inline-block;
    overflow: hidden;
}

.mod_news_special .bd h3 strong {
    width: 244px;
    height: 39px;
    display: inline-block;
    overflow: hidden;
    float: left;
    line-height: 39px;
    font-size: 16px;
    text-indent: 10px;
    color: #f34540;
    border-right: 1px #f6f6f6 solid;
    border-bottom: 1px #f6f6f6 solid;
}

.idx_cm_list a {
    color: #666666;
    text-decoration: none;
    list-style-type: disc;
}

.idx_cm_list a:hover {
    color: red;
}

.mt35 {
    margin-top: 35px;
}

.mod_hot_rank .top em {
    color: #f34540;
    font-size: 26px;
    margin-top: -1px;
}

.mod_hot_rank li em {
    font-family: "Georgia";
    font-size: 16px;
    color: #888888;
    font-style: italic;
    width: 27px;
    float: left;
    text-indent: 2px;
}

.mod_hot_rank li a {
    float: left;
    font-size: 14px;
    width: 200px;
    font-family: "\5B8B\4F53", "宋体", Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.mod_hot_rank li a:hover {
    color: red;
}

.idx_cm_title {
    border-top: 1px #dddddd solid;
    height: 41px;
}

.mod_hot_rank li {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    margin: 0px 5px 3px 5px;
    position: relative;
    padding-right: 10px;
    /* 添加过渡效果 */
    transition: all 1s ease;
    /* 初始状态设置透明边框，防止布局跳动 */
    border-right: 2px solid transparent;
}

.mod_hot_rank li:hover {

    border-right-color: red;
    /* 可以添加其他效果，如轻微向左移动 */
    transform: translateX(-2px);
}

.mod_hot_rank ul {
    float: left;
    margin-top: -8px;
    width: 100%;
}

.idx_cm_title .title {
    border-top: 1px #f34540 solid;
    font-size: 16px;
    font-weight: bold;
    float: left;
    position: relative;
    margin-top: -1px;
    padding: 6px 0px 10px 0px;
}

.mod_hot_rank li span {
    font-family: Arial;
    font-size: 14px;
    float: right;
    color: #f34540;
}

.idx_cm_list li {
    position: relative;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    /* padding-left: 15px; */
    color: #dddddd;
    font-family: '宋体';
}

.idx_cm_img .bg {
    background-image: linear-gradient(transparent, black);
    height: 40px;
    position: relative;
    bottom: 45px;
}

.idx_cm_img .bg a {
    height: 0;
}

.idx_cm_img h3 {
    font-size: 16px;
    color: #fff;
    text-indent: 39px;
    height: 40px;
    line-height: 40px;
    width: 300px;
    overflow: hidden;
    background: url(http://static.ws.126.net/f2e/news/index2016/images/sprite_icon0813_v1.png) no-repeat 12px -125px;
    overflow: hidden;
}

/* 内容页 */
.main {
    width: 1200px;
    /* 实现元素居中 */
    margin: 0 auto;
    /* 清除浮动 */
    overflow: hidden;
}

.main h2 {
    /* 设置标题样式：字体大小24px加粗 */
    font-size: 38px;
    font-weight: bold;
    /* 标题居中显示 */
    text-align: center;
    /* 设置标题的上下边距 */
    margin: 20px 0;
    line-height: 38px;

}

.main .text {
    width: 840px;
    font-size: 24px;
    line-height: 24px;
    font-family: "微软雅黑";
    margin: 0 auto;

}

/* 文章容器样式 */
.article-container {
    max-width: 1140px;
    margin: 0 auto;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 文章标题样式 */
.article-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.4;
}

/* 文章元信息样式 */
.article-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-meta span {
    margin-right: 20px;
}

/* 文章内容样式 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 二级分类下拉菜单样式 */
.index_head .bd .ns_area li.dropdown {
    position: relative;
}

.index_head .bd .ns_area li.dropdown .arr {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #000;
}

.index_head .bd .ns_area li.dropdown:hover .dropdown-box {
    display: block;
}

.index_head .bd .ns_area li.dropdown .dropdown-box {
    display: none;
    position: absolute;
    top: 47px;
    left: 0;
    min-width: 150px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.index_head .bd .ns_area li.dropdown .dropdown-box p {
    margin: 0;
    padding: 0;
}

.index_head .bd .ns_area li.dropdown .dropdown-box a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.index_head .bd .ns_area li.dropdown .dropdown-box a:hover {
    background-color: #f5f5f5;
    color: #f34540;
}

/* 导航栏样式 */
.weizhi {
    margin: 0 auto;
    width: 1200px;
    background-color: #fff;
    padding: 15px 0;
}


.weizhi a {
    text-decoration: none;
    color: #000;
    /* 红色文字 */
    /* font-size: 18px; */
    /* margin-left: 10px; */
    border-radius: 4px;
    transition: all 0.3s ease;
    /* 平滑过渡效果 */
}

/* 悬浮效果 */
.weizhi a:hover {
    color: red;
    /* 白色文字 */
    transform: translateY(-2px);
    /* 轻微上移效果 */
}

/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
}

#pagi a,
#pagi b {
    border-radius: 10px;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
}

#pagi a:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 上一章文章下一章文章导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    /* margin: 40px 0; */
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    color: #1890ff;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item.prev {
    text-align: left;
}

.nav-item.next {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-icon {
    font-size: 24px;
    margin: 0 15px;
    color: #999;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: translateX(-5px);
}

.nav-item.next:hover .nav-icon {
    transform: translateX(5px);
}

.nav-content {
    flex: 1;
}

.nav-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item.next {
        flex-direction: row;
    }

    .nav-icon {
        margin: 0 10px;
    }
}

/* 添加一些动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-nav {
    animation: slideIn 0.5s ease;
}

/* 相关推荐 */
.recommendations {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #4CAF50;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.recommendation-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card-tag {
    display: inline-block;
    padding: 4px 8px;
    background-color: #e8f5e9;
    color: #4CAF50;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 13px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    /* max-width: 1200px; */
    margin: 50px auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 250px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航按钮样式 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .carousel-slide {
        height: 250px;
    }

    .carousel-nav {
        padding: 12px;
        font-size: 14px;
    }
}

.container {
    max-width: 1200px;
    /* margin: 0 auto; */
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.list-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.list-item {
    background: white;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* display: flex; */
    align-items: center;
}

.list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.list-item img {
    width: 220px;
    height: 100px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.item-content {
    padding: 20px;
}

.item-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.item-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.item-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 12px;
}

@media (max-width: 768px) {
    .list-container {
        grid-template-columns: 1fr;
    }
}

.nav-container {
    width: 560px;
    /* margin: 0 auto; */
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.nav-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.category-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
    position: relative;
}

.category-count {
    font-size: 14px;
    color: #666;
    position: relative;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 20px;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .category-item {
        padding: 15px;
    }
}

/* 添加一些动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item {
    animation: fadeIn 0.5s ease forwards;
}

.category-item:nth-child(1) {
    animation-delay: 0.1s;
}

.category-item:nth-child(2) {
    animation-delay: 0.2s;
}

.category-item:nth-child(3) {
    animation-delay: 0.3s;
}

.category-item:nth-child(4) {
    animation-delay: 0.4s;
}

.category-item:nth-child(5) {
    animation-delay: 0.5s;
}

.category-item:nth-child(6) {
    animation-delay: 0.6s;
}