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

body {
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 15px;
}

.dh{width: 100%;height: 40px;background:#e74c3c;}
.dh .nav{max-width:100%;line-height:40px;background: #e74c3c;position: relative;margin: 0 auto;}
.dh .nav li{background:#e74c3c;float: inherit; line-height: 35px; display: inline-block;}
.dh .nav li a{display:block;padding:0 10px;color:#fff;text-decoration: none;}
.dh .nav span.nav-on{width:20px;position: absolute;top:10px;right:20px;cursor: pointer;}
.dh .nav ul {width: 100%; height: 55px;overflow: hidden; overflow-x: scroll; }
.dh .nav-on i{display:block;width:100%;height:5px;background:#fff;margin-bottom:5px;}

.clear {
    clear: both;
}

.logo {
    text-align: center;
    padding: 10px 0;
}

.logo img {
    height: 40px;
    display: inline-block;
    vertical-align: middle;
}

.webname {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

/* 搜索框样式 */
.search {
    width: 100%;
    margin: 20px auto;
    position: relative;
}

.input_text {
    width: 100%;
    padding: 10px 50px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.input_text:focus {
    border-color: #e74c3c;
}

.search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    border: none;
    width: 35px;
    height: 30px;
    border-radius: 3px;
    cursor: pointer;
    color: white;
    font-size: 12px;
}

.search button::before {
    content: "搜索";
}

/* 首页内容样式 */
.wrap {
    background: #fff;
    margin: 20px 0;
}

.title {
    background: #f8f9fa;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
}

.title b {
    color: #333;
}

/* 首页列表样式 */
.list ul {
    list-style: none;
    padding: 0;
}

.list li {
    border-bottom: 1px solid #f0f0f0;
}

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

.list a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.list a:hover {
    color: #e74c3c;
    background: #f8f9fa;
}

/* ===== 列表页专用样式 ===== */

/* 列表页导航标签样式 */
.aw-nav-tabs {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.aw-nav-tabs h2 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.aw-nav-tabs .icon {
    color: #e74c3c;
    margin-right: 8px;
}

/* 列表内容区域样式 */
.aw-mod.aw-explore-list {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.aw-mod.aw-explore-list .mod-body {
    padding: 0;
}

/* 列表项样式 */
.aw-common-list {
    padding: 0;
}

.aw-item {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.aw-item:last-child {
    border-bottom: none;
}

.aw-question-content {
    padding: 0;
}

.aw-question-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aw-question-content li {
    border-bottom: 1px solid #f8f9fa;
    padding: 0;
    margin: 0;
}

.aw-question-content li:last-child {
    border-bottom: none;
}

.aw-question-content li a {
    display: block;
    padding: 15px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
}

.aw-question-content li a:hover {
    color: #e74c3c;
    background: #f8f9fa;
    padding-left: 25px;
}

.aw-question-content li a::before {
    content: "•";
    color: #e74c3c;
    margin-right: 8px;
    font-weight: bold;
}

/* 内页布局 */
.aw-content-wrap {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.aw-main-content {
    flex: 1;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aw-side-bar {
    width: 250px;
    flex-shrink: 0;
}

/* 侧边栏在列表页的特定样式 */
.aw-side-bar .aw-mod {
    margin-bottom: 20px;
}

.aw-side-bar .mod-body.font-size-12 {
    font-size: 12px;
}

.aw-side-bar .mod-body.font-size-12 ul {
    padding: 0;
}

.aw-side-bar .mod-body.font-size-12 li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f0f0f0;
}

.aw-side-bar .mod-body.font-size-12 li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.aw-side-bar .mod-body.font-size-12 a {
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.aw-side-bar .mod-body.font-size-12 a:hover {
    color: #e74c3c;
}

/* 内页文章样式 */
.aw-question-detail {
    padding: 20px;
}

.mod-head h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

#time {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
}

.content p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
    font-size: 14px;
    color: #555;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: block;
}

/* 相关资讯样式 - 与最近更新保持一致 */
.aw-question-comment {
    margin-top: 20px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aw-question-comment .mod-head {
    background: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.aw-question-comment h2 {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.aw-feed-list {
    padding: 0;
}

.aw-feed-list .aw-item {
    padding: 5px 5px;
}

.aw-feed-list .aw-item:last-child {
    border-bottom: none;
}

.aw-feed-list .title a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    font-weight: normal;
}

.aw-feed-list .title a:hover {
    color: #e74c3c;
}

/* 侧边栏通用样式 */
.aw-side-bar .aw-mod {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aw-side-bar .mod-head {
    background: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.aw-side-bar .mod-head h3 {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.aw-side-bar .mod-body {
    padding: 10px 15px;
}

.aw-side-bar ul {
    list-style: none;
    padding: 0;
}

.aw-side-bar li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.aw-side-bar li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.aw-side-bar a {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}

.aw-side-bar a:hover {
    color: #e74c3c;
}

/* 分页样式 */
.pagination, .aw-pagination {
    text-align: center;
    padding: 20px;
}

.pagination ul, .aw-pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.pagination li, .aw-pagination li {
    margin: 0;
}

.pagination a, .pagination span, .aw-pagination a, .aw-pagination span {
    display: block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #555;
    font-size: 12px;
}

.pagination a:hover, .aw-pagination a:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .active span, .aw-pagination .active span {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .page_disabled span, .aw-pagination .page_disabled span {
    color: #ccc;
    background: #f8f9fa;
    cursor: not-allowed;
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 12px;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.footer a {
    color: #e74c3c;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }
    .dh .nav ul{width: 100%; height: 35px;overflow: hidden; overflow-x: scroll; white-space: nowrap; float: none;}
    
    .aw-content-wrap {
        flex-direction: column;
        gap: 15px;
    }
    
    .aw-side-bar {
        width: 100%;
    }
    
    .aw-question-detail {
        padding: 15px;
    }
    
    .mod-head h1 {
        font-size: 18px;
    }
    
    .search {
        margin: 15px 0;
    }
    
    /* 列表页响应式 */
    .aw-nav-tabs {
        padding: 12px 15px;
    }
    
    .aw-nav-tabs h2 {
        font-size: 16px;
    }
    
    .aw-question-content li a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .aw-question-content li a:hover {
        padding-left: 18px;
    }
    
    .aw-side-bar .mod-body.font-size-12 {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }
    
    .webname {
        font-size: 20px;
    }
    
    .input_text {
        padding: 8px 45px 8px 12px;
        font-size: 13px;
    }
    
    .search button {
        width: 32px;
        height: 28px;
        font-size: 11px;
    }
    
    .title {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .list a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* 列表页响应式 */
    .aw-nav-tabs {
        padding: 10px 12px;
    }
    
    .aw-nav-tabs h2 {
        font-size: 15px;
    }
    
    .aw-nav-tabs .icon {
        margin-right: 5px;
    }
    
    .aw-question-content li a {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .aw-question-content li a::before {
        margin-right: 5px;
    }
}