/* =========================================
   适配 tpuer 原版结构 - CMS 美化版
========================================= */

/* ===== 1. 通用 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.6; background: #fff; color: #333; }
a { text-decoration: none; color: inherit; }

/* ===== 2. 顶部导航栏改造（tpure .header） ===== */
.header {
    background: #0A5BAC !important;
    min-width: 1200px;
}
.header .wrap {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.header .name a {
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
}
.header .menu ul {
    list-style: none;
    display: flex;
    gap: 5px;
}
.header .menu ul li a {
    color: #fff !important;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 3px;
    transition: background 0.2s;
}
.header .menu ul li a:hover {
    background: rgba(255,255,255,0.2) !important;
}
.header .schico a {
    color: #fff !important;
}
.header .schinput {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 6px 10px;
    border-radius: 3px;
}

/* ===== 3. 主内容区 ===== */
.main {
    min-width: 1200px;
}
.main .wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    gap: 30px;
}

/* ===== 4. 左侧内容区 ===== */
.content {
    width: 880px;
    background: #fff;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.block {
    width: 100%;
}

/* ===== 5. 专题标题 ===== */
.tit {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0A5BAC;
}
.tit .s {
    font-size: 22px;
    font-weight: 700;
    color: #0A5BAC;
}

/* ===== 6. 文章列表 ===== */
.list1 {
    list-style: none;
}
.list1 li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: background 0.2s;
}
.list1 li:last-child {
    border-bottom: none;
}
.list1 li:hover {
    background: #fafbfc;
}
.list1 li a {
    flex: 1;
    font-size: 16px;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 20px;
}
.list1 li a:hover {
    color: #0A5BAC;
    text-decoration: underline;
}
.list1 li span {
    flex-shrink: 0;
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

/* ===== 7. 右侧边栏 ===== */
.sidebar {
    width: 270px;
    flex-shrink: 0;
}
.sidebar .widget {
    background: #fff;
    padding: 20px 18px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.sidebar .widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
    color: #222;
}

/* ===== 8. 分页 ===== */
.pagebar {
    text-align: center;
    padding: 30px 0 10px;
}
.pagebar a,
.pagebar span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 4px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    transition: all 0.2s;
}
.pagebar a:hover {
    background: #0A5BAC;
    color: #fff;
    border-color: #0A5BAC;
}
.pagebar .now-page,
.pagebar .current {
    background: #0A5BAC;
    color: #fff;
    border-color: #0A5BAC;
}

/* ===== 9. 右侧悬浮按钮 ===== */
.r-x-box {
    position: fixed;
    bottom: 80px;
    margin-left: 615px;
    left: 50%;
    width: 50px;
    z-index: 9999;
}
.r-x1 {
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 2px;
}
.r-x-5 {
    background: #666 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>') center/60% no-repeat;
}
.r-x-5:hover { background-color: #0A5BAC; }
.r-x-7 {
    background: #555 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/></svg>') center/60% no-repeat;
}
.r-x-7:hover { background-color: #0A5BAC; }

/* ===== 10. 底部 ===== */
.footer {
    background: #f5f5f5;
    padding: 25px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
    border-top: 1px solid #e8e8e8;
}
.footer .wrap h3 { font-size: 14px; margin-bottom: 5px; }
.footer .wrap h4 { font-size: 13px; }

/* ===== 11. 手机端 ===== */
@media (max-width: 768px) {
    .header { min-width: 100%; }
    .header .wrap { width: 100%; flex-wrap: wrap; gap: 10px; }
    .header .menu ul { flex-wrap: wrap; gap: 2px; }
    .header .menu ul li a { font-size: 12px; padding: 4px 8px; }

    .main { min-width: 100%; }
    .main .wrap { width: 100%; flex-direction: column; padding: 10px; }
    .content { width: 100%; padding: 15px; }
    .sidebar { width: 100%; }

    .list1 li { flex-direction: column; gap: 5px; }
    .list1 li a { white-space: normal; font-size: 15px; }
    .r-x-box { display: none; }
}

/* 文章正文段落间距 */
.base-con-txt p {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.pagebar { display: none !important; }