@charset "utf-8";
/**
 * qing主题 - 移动端样式表
 * 适配移动端的响应式样式
 */

/* ========== 基础样式 ========== */
body {
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ========== 顶部导航栏 ========== */
.ui-topbar-blue {
    background: #0081ff;
}
.ui-topbar-show {
    background: #0081ff;
}
.ui-topbar-show .ui-topbar-left a {
    background: none;
    color: #fff;
}
.ui-topbar-show .ui-topbar-right a {
    background: none;
    color: #fff;
}
.ui-topbar-show .ui-topbar-title ul li a {
    color: #fff;
}
.ui-topbar-show .ui-topbar-title ul li.active a {
    color: #fff;
    border-bottom-color: #fff;
}
.ui-topbar-logo img {
    max-height: 35px;
}

/* ========== Banner轮播图 ========== */
.banner .ui-carousel-page {
    bottom: 15px;
}
.banner .ui-carousel-page li {
    height: 10px;
    width: 10px;
    border-radius: 100%;
    background: rgba(255,255,255,0.5);
}
.banner .ui-carousel-page li.active {
    background: #fff;
}

/* ========== 底部导航 ========== */
.ui-footnav {
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.ui-footnav a {
    color: #666;
}
.ui-footnav a.active {
    color: #0081ff;
}
.ui-footnav a.active i {
    color: #0081ff;
}

/* ========== 首页标题样式 ========== */
.home-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.home-title .home-title-name {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    padding-bottom: 10px;
}
.home-title .home-title-name:after {
    display: block;
    content: "";
    border-bottom: 2px solid #0081ff;
    width: 50px;
    padding-top: 10px;
}
.home-title .home-title-name span {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    font-weight: normal;
}
.home-title .home-title-more a {
    display: inline-block;
    border: 1px solid #eee;
    padding: 6px 12px;
    line-height: 1;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}
.home-title .home-title-more a:hover,
.home-title .home-title-more a.active {
    background: #0081ff;
    border-color: #0081ff;
    color: #fff;
}

/* ========== 内容卡片 ========== */
.ui-box {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 8px;
}

/* ========== 新闻列表样式 ========== */
.home_news {
    margin-top: 10px;
}
.home_news .home_news_item {
    margin-bottom: 12px;
}
.home_news_body {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.home_news_body .date {
    width: 60px;
    text-align: center;
    padding-right: 10px;
    margin-right: 12px;
    border-right: 1px solid #eee;
}
.home_news_body .date h4 {
    font-size: 22px;
    font-family: "Impact", sans-serif;
    color: #0081ff;
    margin: 0;
    line-height: 1.2;
}
.home_news_body .date p {
    color: #999;
    font-size: 11px;
    margin: 0;
}
.home_news_body .body {
    flex: 1;
    overflow: hidden;
}
.home_news_body .body h4 {
    font-size: 15px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: normal;
}
.home_news_body .body h4 a {
    color: #333;
}
.home_news_body .body p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

/* ========== 图片列表 ========== */
.ui-piclist-item {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.ui-piclist-body {
    padding: 8px;
}
.ui-piclist-title {
    font-size: 13px;
    color: #333;
}
.ui-piclist-title a {
    color: #333;
}

/* ========== 链接样式 ========== */
.link {
    margin-top: 10px;
}
.link a {
    display: inline-block;
    margin-right: 8px;
    border: 1px solid #eaeaea;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #fff;
    font-size: 13px;
    color: #666;
}
.link a:hover {
    border-color: #0081ff;
    color: #0081ff;
}

/* ========== 版权信息 ========== */
.copyright {
    padding: 20px 15px 80px;
    text-align: center;
    color: #999;
    font-size: 13px;
}
.copyright .links {
    line-height: 35px;
    margin-bottom: 5px;
}
.copyright .links a {
    display: inline-block;
    padding: 0 10px;
    color: #999;
}

/* ========== 侧边导航 ========== */
#ui-offside-nav {
    width: 280px;
    padding: 20px;
    background: #fff;
}
#ui-offside-nav .ui-collapse-menu-title {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}
#ui-offside-nav .ui-collapse-menu-title a {
    color: #333;
    font-size: 15px;
}
#ui-offside-nav .ui-collapse-menu-title.active a {
    color: #0081ff;
}
#ui-offside-nav .ui-collapse-menu-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#ui-offside-nav .ui-collapse-menu-body ul li {
    padding: 10px 0 10px 15px;
}
#ui-offside-nav .ui-collapse-menu-body ul li a {
    color: #666;
    font-size: 14px;
}
#ui-offside-nav .ui-collapse-menu-body ul li.active a {
    color: #0081ff;
}

/* ========== 文章详情页 ========== */
.artshow {
    padding: 15px;
    background: #fff;
}
.artshow h1 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.5;
    color: #333;
}
.artshow .info {
    line-height: 40px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
    color: #999;
    font-size: 13px;
}
.artshow .info i {
    color: #ccc;
    margin-right: 5px;
}
.artshow .content {
    line-height: 1.8;
    color: #333;
    word-break: break-all;
}
.artshow .content p {
    margin-bottom: 15px;
}
.artshow .content img {
    max-width: 100%;
    height: auto;
}
.artshow .content a {
    color: #0081ff;
}
.artshow .tags {
    color: #999;
    margin: 20px 0;
    font-size: 13px;
}
.artshow .tags a {
    display: inline-block;
    margin: 3px;
    padding: 3px 8px;
    background: #f5f5f5;
    border-radius: 3px;
    color: #666;
    font-size: 12px;
}

/* ========== 文章列表页 ========== */
.newslist {
    padding: 10px;
}
.newslist-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.newslist-item .pic {
    width: 100px;
    height: 75px;
    margin-right: 12px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.newslist-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.newslist-item .info {
    flex: 1;
    overflow: hidden;
}
.newslist-item .info h4 {
    font-size: 15px;
    font-weight: normal;
    margin: 0 0 8px 0;
    color: #333;
    line-height: 1.4;
}
.newslist-item .info h4 a {
    color: #333;
}
.newslist-item .info p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}
.newslist-item .info .date {
    font-size: 12px;
    color: #ccc;
    margin-top: 8px;
}
.newslist-item .info .date i {
    margin-right: 5px;
}

/* ========== 单页样式 ========== */
.page_content {
    padding: 15px;
    background: #fff;
    line-height: 1.8;
    color: #333;
}
.page_content p {
    margin-bottom: 15px;
}
.page_content img {
    max-width: 100%;
    height: auto;
}
.page_content a {
    color: #0081ff;
}

/* ========== 搜索页样式 ========== */
.search-box {
    padding: 15px;
    background: #fff;
    margin-bottom: 10px;
}
.search-box .ui-input-group {
    display: flex;
}
.search-box .ui-input-group input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    padding: 10px 12px;
    font-size: 14px;
}
.search-box .ui-input-group button {
    background: #0081ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
}

/* ========== 分页样式 ========== */
.ui-page {
    text-align: center;
    padding: 15px;
}
.ui-page a,
.ui-page span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 13px;
}
.ui-page a:hover,
.ui-page span.current {
    background: #0081ff;
    border-color: #0081ff;
    color: #fff;
}

/* ========== 会员中心 ========== */
.user-header {
    background: linear-gradient(135deg, #0081ff 0%, #00a5ff 100%);
    padding: 30px 15px;
    text-align: center;
    color: #fff;
}
.user-header .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.3);
}
.user-header .avatar img {
    width: 100%;
    height: 100%;
}
.user-header .name {
    font-size: 16px;
    margin-bottom: 5px;
}
.user-menu {
    background: #fff;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.user-menu a {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.user-menu a:last-child {
    border-bottom: none;
}
.user-menu a i {
    font-size: 20px;
    color: #0081ff;
    margin-right: 12px;
}
.user-menu a span {
    flex: 1;
}
.user-menu a .arrow {
    color: #ccc;
}

/* ========== 留言本 ========== */
.book-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.book-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}
.book-name {
    font-weight: bold;
    color: #333;
    font-size: 15px;
}
.book-time {
    color: #aaa;
    font-size: 12px;
}
.book-content {
    padding: 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-all;
    border-bottom: 1px solid #f5f5f5;
}
.book-reply {
    padding: 12px 15px;
    background: #fafafa;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.book-reply strong {
    color: #0081ff;
    font-weight: normal;
    margin-right: 5px;
}

.book-form {
    padding: 15px;
    background: #fff;
}
.book-form .ui-form-group {
    margin-bottom: 15px;
}
.book-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}
.book-form input,
.book-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}
.book-form textarea {
    min-height: 120px;
    resize: vertical;
}
.book-form .ui-btn {
    width: 100%;
    padding: 12px;
    background: #0081ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

/* ========== 响应式适配 ========== */
@media (max-width: 576px) {
    .home_news_body .date {
        width: 50px;
        padding-right: 8px;
        margin-right: 10px;
    }
    .home_news_body .date h4 {
        font-size: 20px;
    }
    .newslist-item .pic {
        width: 90px;
        height: 68px;
    }
    #ui-offside-nav {
        width: 260px;
    }
}

