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

body {
    margin: 0 auto;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    background: #f6f6f6;
    font-family: '微软雅黑';
    color: #333;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

h1, h2, p, font, dl {
    margin: 0;
}

a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

a:hover {
    color: #000;
}

ul, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    color: #999999;
}

/* 基础布局样式 */
.content-wrapper {
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

.main-content {
    float: left;
    width: 700px;
    margin-right: 10px;
}

.sidebar {
    float: left;
    width: 250px;
}

/* 顶部样式 */
.home,
.top {
    width: 960px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    float: left;
    width: 190px;
    height: 70px;
    margin-right: 10px;
    background: url(../images/logo.gif);
    text-indent: -999em;
}

.hf {
    float: left;
    width: 600px;
    height: 70px;
    margin-right: 10px;
}

.sc {
    float: left;
    width: 150px;
    height: 70px;
}

.sc li {
    font-size: 12px;
    color: #666;
    line-height: 24px;
}

.sc li a {
    color: #000;
}

.sc li a:hover {
    color: #990000;
}

/* 导航样式 */
.dh {
    float: left;
    width: 960px;
    height: 40px;
    background: #000;
    margin-top: 10px;
}

.dh li {
    float: left;
    width: 96px;
    font-size: 12px;
    color: #fff;
    line-height: 40px;
    text-align: center;
}

.dh li a {
    display: block;
    width: 96px;
    height: 40px;
    color: #fff;
}

.dh li a:hover {
    background: #ffcc00;
    font-size: 14px;
    color: #000;
}

/* 搜索栏样式 */
.fdh {
    float: left;
    width: 960px;
    height: 38px;
    background: #e6e6e6;
}

.rmc {
    float: left;
    width: 660px;
    height: 38px;
}

.rmc span {
    color: #000;
}

.rmc p {
    float: left;
    font-size: 12px;
    line-height: 38px;
    color: #666;
    text-indent: 1em;
}

.rmc p a {
    color: #666;
    padding-left: 15px;
}

.rmc p a:hover {
    color: #333;
}

.ss {
    float: left;
    width: 300px;
    height: 38px;
}

.sou {
    float: right;
    width: 260px;
    height: 22px;
    color: #333;
    margin-top: 7px;
}

#kuang {
    float: left;
    width: 200px;
    height: 22px;
    border: 1px solid #d8d8d8;
    color: #333;
    font-size: 16px;
    margin-top: 0;
    margin-right: 5px;
    line-height: 20px;
}

/* 当前位置 */
.dangq {
    float: left;
    width: 960px;
    height: 30px;
    margin-top: 5px;
}

.dangq li {
    font-size: 12px;
    line-height: 30px;
}

.dangq li a {
    color: #666;
    padding-left: 5px;
    padding-right: 5px;
}

/* 文章内容样式 */
.artz,
.artz2 {
    float: left;
    width: 698px;
    margin-top: 10px;
    border: 1px solid #e2e2e2;
    margin-right: 10px;
    font-size: 12px;
}

.artt {
    float: left;
    width: 91px;
    height: 90px;
}

.artt p {
    width: 71px;
    height: 70px;
    margin-left: 10px;
    border-right: 1px solid #e2e2e2;
    margin-top: 10px;
}

.artt img {
    width: 60px;
    height: 60px;
}

.arzbt {
    float: left;
    width: 607px;
    height: 70px;
}

.arzbt h2 {
    font-size: 16px;
    color: #990000;
    margin-top: 10px;
}

.arzbt li a {
    color: #990000;
    font-family: '宋体';
}

.arzbt p {
    font-size: 12px;
    color: #999;
    line-height: 30px;
}

.arznn {
    float: left;
    padding: 20px 30px;
    width: 638px;
    border-top: 1px solid #e2e2e2;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    line-height: 30px;
    font-family: '宋体';
}

.arznn a {
    color: #5f7d00;
}

.arznn img {
    max-width: 600px;
    width: expression(this.width > 600 ? "600px" : this.width);
    overflow: hidden;
}

/* 分页样式 */
.arfy {
    float: left;
    width: 698px;
    margin-top: 10px;
}

.jogger2 {
    width: 698px;
    margin-top: 10px;
    height: 30px;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 10px;
}

.jogger2 li {
    display: inline;
    line-height: 22px;
    text-decoration: none;
    font-size: 12px;
}

.jogger2 a {
    padding-right: 0.64em;
    padding-left: 0.64em;
    padding-bottom: 0.43em;
    margin: 2px;
    color: #ffffff;
    padding-top: 0.5em;
    background-color: #000;
    text-decoration: none;
}

.jogger2 a:hover {
    padding-right: 0.64em;
    padding-left: 0.64em;
    padding-bottom: 0.43em;
    margin: 2px;
    color: #fff;
    padding-top: 0.5em;
    background-color: #666;
}

/* 分享区域 */
.arfx {
    float: left;
    width: 698px;
    background: #f5f5f5;
    height: 30px;
    margin-top: 10px;
    text-align: center;
}

/* 相关内容 */
.arxg {
    float: left;
    padding: 10px;
}

.arxg p {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    color: #990000;
    font-weight: bold;
}

.arxg li {
    width: 335px;
    float: left;
    font-size: 12px;
    line-height: 30px;
}

.arxg li a {
    padding-left: 15px;
    background: url(../images/xd.gif) 0 -11px no-repeat;
}

.arxg li a:hover {
    color: #000;
    background: url(../images/xd.gif) 0 3px no-repeat;
}

/* 上下篇导航 */
.dingc {
    margin: 20px;
}

.ding_bfb {
    float: left;
    width: 70px;
    height: 50px;
}

.ding_bfb p {
    font-size: 30px;
    color: #000;
    font-family: '黑体';
}

.ding_bfb span {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.sxiap {
    float: left;
    margin-left: 20px;
    height: 50px;
    margin-top: 5px;
}

.sxiap p {
    font-size: 12px;
    color: #666;
    line-height: 25px;
}

.sxiap p a {
    color: #990000;
}

/* 随机阅读和热门排行 */
.tjnr {
    float: left;
    width: 250px;
    margin-top: 10px;
    font-size: 12px;
}

.tjnr p {
    width: 70px;
    height: 24px;
    background: #000;
    line-height: 24px;
    color: #fff;
    text-align: center;
}

.tjnr li {
    font-size: 12px;
    color: #333;
    line-height: 25px;
}

.tjnr li a {
    color: #666;
    padding-left: 15px;
    background: url(../images/xd.gif) 0 -8px no-repeat;
}

.tjnr li a:hover {
    color: #000;
    background: url(../images/xd.gif) 0 5px no-repeat;
}

.nrmk3 {
    float: left;
    width: 250px;
    margin-bottom: 10px;
    background: url(../images/ph.gif) no-repeat;
}

/* 热门排行样式优化 - 统一桌面端和移动端 */

/* 桌面端样式 */
.nrbt {
    display: block;
    width: 250px; /* 与容器宽度一致 */
    height: 35px;
    background: #ff6600;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    line-height: 35px;
    padding: 0 15px;
    margin: 0 0 0 0; /* 移除底部间距 */
    text-align: center;
    border-radius: 4px 4px 0 0; /* 上圆角 */
    box-sizing: border-box;
}

.nrmk3 {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-top: none; /* 移除顶部边框，与标题连接 */
    border-radius: 0 0 4px 4px; /* 下圆角 */
    padding: 10px 15px;
    margin: 0 0 10px 0;
    width: 250px;
    box-sizing: border-box;
}

.nrmk3 ul {
    margin: 0;
    padding: 0;
}

.nrmk3 li {
    line-height: 28px;
    height: 28px;
    padding-left: 20px;
    border-bottom: 1px dashed #e8e8e8;
    overflow: hidden;
    position: relative;
}

.nrmk3 li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    color: #ff6600;
    font-size: 16px;
}

.nrmk3 li:last-child {
    border-bottom: none;
}

.nrmk3 li a {
    font-size: 12px;
    color: #666;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nrmk3 li a:hover {
    color: #000;
}

/* 移动端响应式样式 - 热门排行优化 */
@media screen and (max-width: 640px) {
    .nrbt {
        width: 100%;
        height: auto;
        font-size: 16px;
        padding: 10px 15px;
        line-height: 1.4;
        margin-bottom: 0;
        border-radius: 6px 6px 0 0;
    }
    
    .nrmk3 {
        width: 100%;
        border: 1px solid #e9e9e9;
        border-top: none;
        border-radius: 0 0 6px 6px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        margin-bottom: 20px;
    }
    
    .nrmk3 li {
        line-height: 40px;
        padding-left: 25px;
        height: auto;
        overflow: visible;
        white-space: normal;
        border-bottom: 1px dashed #f0f0f0;
    }
    
    .nrmk3 li::before {
        left: 8px;
        top: 12px;
        width: 8px;
        height: 8px;
        background: #ff6600;
        border-radius: 50%;
        content: '';
    }
    
    .nrmk3 li a {
        font-size: 15px;
        color: #555;
        line-height: 20px;
        padding: 10px 0;
        min-height: 40px;
        display: flex;
        align-items: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}
.listy {
    float: right;
    width: 249px;
}

/* 页脚样式 */
.foot {
    float: left;
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid #e2e2e2;
    background: #000;
    margin-bottom: 0;
}

.foot ul {
    width: 960px;
    margin: 10px auto 0;
}

.foot li {
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}

.foot li a {
    color: #bbb;
}

.foot li a:hover {
    color: #ffcc00;
}

/* 移动端响应式样式 - 整合所有移动端优化 */
@media screen and (max-width: 640px) {
    /* 基础布局调整 */
    .content-wrapper {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .main-content {
        float: none;
        width: 100%;
        margin-right: 0;
    }
    
    .sidebar {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    
    /* 顶部样式优化 */
    .home, .top {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .logo {
        float: none;
        width: 100%;
        margin: 0 auto 10px;
        background-position: center;
        text-align: center;
    }
    
    .dh {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .fdh {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .rmc {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .ss {
        width: 100%;
        margin-top: 10px;
    }
    
    .sou {
        width: 100%;
    }
    
    #kuang {
        width: 70%;
        font-size: 14px;
    }
    
    /* 文章头部布局优化 */
    .artt {
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .artt p {
        width: auto;
        height: auto;
        margin: 0;
        border-right: none;
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 10px;
    }
    
    .artt img {
        max-width: 80px;
        height: auto;
        margin: 0 auto;
    }
    
    .arzbt {
        float: none;
        width: 100%;
        height: auto;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .arzbt h2 {
        font-size: 18px;
        line-height: 1.4;
        margin-top: 15px;
        padding: 0;
    }
    
    .arzbt p {
        font-size: 14px;
        line-height: 24px;
        margin: 10px 0;
    }
    
    /* 内容区域优化 */
    .artz, .artz2 {
        width: 100%;
        margin-right: 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .arznn {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 分页区域优化 */
    .arfy {
        float: none;
        width: 100%;
        margin-top: 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .jogger2 {
        width: 100%;
        height: auto;
        padding: 10px 0;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .jogger2 li {
        display: inline-block;
        margin: 2px;
    }
    
    /* 分享区域优化 */
    .arfx {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
        float: none;
        height: auto;
        margin-bottom: 20px;
    }
    
    /* 相关内容区域优化 */
    .arxg {
        float: none;
        width: 100%;
        clear: both;
        background: #fff;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        padding: 15px;
        margin-top: 25px;
        box-sizing: border-box;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .arxg p {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #ffcc00;
    }
    
    .arxg li {
        width: 100%;
        float: none;
        line-height: 40px;
        border-bottom: 1px dashed #f0f0f0;
        padding-left: 0;
    }
    
    .arxg li:last-child {
        border-bottom: none;
    }
    
    .arxg li a {
        display: block;
        font-size: 15px;
        color: #555;
        padding-left: 20px;
        background: url(../images/xd.gif) 0 15px no-repeat;
        transition: all 0.3s ease;
    }
    
    /* 上下篇导航优化 */
    .sxiap {
        padding: 0 10px;
        margin-left: 0;
    }
    
    .sxiap p {
        font-size: 14px;
        line-height: 26px;
    }
    
    /* 随机阅读区域优化 */
    .tjnr {
        width: 100%;
        background: #fff;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .tjnr p {
        width: auto;
        height: auto;
        background: #ffcc00;
        color: #333;
        font-weight: bold;
        font-size: 16px;
        padding: 8px 15px;
        border-radius: 4px;
        margin: 0 0 15px 0;
        text-align: center;
    }
    
    .tjnr li {
        line-height: 40px;
        padding-left: 0;
        border-bottom: 1px dashed #f0f0f0;
    }
    
    .tjnr li:last-child {
        border-bottom: none;
    }
    
    .tjnr li a {
        display: block;
        font-size: 15px;
        color: #555;
        padding-left: 25px;
        background: url(../images/xd.gif) 0 15px no-repeat;
        transition: all 0.3s ease;
    }
    
    /* 热门排行区域优化 */
    .nrbt {
        width: auto;
        height: auto;
        background: #ff6600;
        color: #fff;
        font-weight: bold;
        font-size: 16px;
        padding: 8px 15px;
        border-radius: 4px;
        margin: 0 0 15px 0;
        text-align: center;
    }
    
    .nrmk3 {
        background: #fff;
        border: 1px solid #e9e9e9;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .nrmk3 li {
        line-height: 40px;
        padding-left: 30px;
        border-bottom: 1px dashed #f0f0f0;
        position: relative;
        height: auto;
        overflow: visible;
        white-space: normal;
    }
    
    .nrmk3 li:last-child {
        border-bottom: none;
    }
    
    .nrmk3 li::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 15px;
        width: 8px;
        height: 8px;
        background: #ff6600;
        border-radius: 50%;
    }
    
    .nrmk3 li a {
        display: block;
        font-size: 15px;
        color: #555;
        transition: all 0.3s ease;
    }
    
    /* 列表容器优化 */
    .listy {
        width: 100%;
        padding: 0;
    }
    
    /* 当前位置优化 */
    .dangq {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* 页脚优化 */
    .foot ul {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* 确保所有链接有足够的触摸区域 */
    a, button, input {
        min-height: 44px;
        min-width: 44px;
        display: inline-block;
    }
}

/* 栏目列表页样式 */
.xlist {
    float: left;
    width: 698px;
    margin-top: 10px;
}

.xnlist {
    float: left;
    width: 100%;
    min-height: 120px;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e2e2e2;
}

.picxn {
    float: left;
    width: 150px;
    height: 100px;
    margin-right: 15px;
    overflow: hidden;
}

.picxn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.zwlist {
    float: left;
    width: 520px;
}

.zwlist ul {
    margin: 0;
    padding: 0;
}

.zwlist li {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
}

.zwlist li span {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
}

.zwlist li a {
    color: #333;
    font-weight: bold;
}

.zwlist li a:hover {
    color: #ff6600;
}

.zwlist p {
    font-size: 12px;
    line-height: 20px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}