/* ========================================
   Discuz! X3.5 川渝好门户响应式模板
   网站：scitw.cn - 川渝地区地方门户
   版本：1.0
   ======================================== */

/* ========== 基础重置 ========== */
* { word-wrap: break-word; box-sizing: border-box; }
body { 
    min-width: 320px; 
    font: 14px "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "STHeiti", sans-serif; 
    color: #333; 
    background: #f5f7fa;
}
body, ul, ol, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin: 0; padding: 0; }
table { empty-cells: show; border-collapse: collapse; }
ul li, .xl li { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; font-weight: normal; }
em, cite, i { font-style: normal; }
a { color: #333; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #e53935; }
a img { border: none; }
.cl:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.cl { zoom: 1; }

/* ========== 页面容器 ========== */
.wp { margin: 0 auto; width: 95%; max-width: 1200px; }
#ct { min-height: 400px; }
#hd { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
#hd .wp { padding: 10px 0; }

/* ========== 导航栏 ========== */
.logoarea .logo { float: left; }
.logoarea .logo a { font-size: 24px; font-weight: bold; color: #e53935; }
.logoarea .slogan { font-size: 12px; color: #666; margin-top: 5px; }
.scbar { float: left; margin-left: 30px; }
.navmenu { float: right; }
#nv { overflow: hidden; height: 45px; background: linear-gradient(135deg, #e53935, #d32f2f); }
#nv li { float: left; padding-right: 1px; height: 45px; line-height: 45px; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1' height='45'%3e%3cpath fill='%23fff' fill-opacity='0.2' d='M0 7h1v31H0z'/%3e%3c/svg%3e") no-repeat 100% 0; font-weight: bold; font-size: 15px; }
#nv li a { float: left; padding: 0 18px; height: 45px; color: #fff; }
#nv li.a { margin-left: -1px; background: rgba(255,255,255,0.2); }
#nv li.a a { color: #fff; }
#nv li a:hover { background: rgba(255,255,255,0.3); }

/* ========== Banner 轮播区 ========== */
.banner-area { margin: 20px 0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.banner-area .swiper-container { height: 400px; }
.banner-area .swiper-slide a { position: relative; display: block; width: 100%; height: 100%; }
.banner-area .swiper-slide a img { width: 100%; height: 100%; object-fit: cover; }
.banner-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); color: #fff; }
.banner-caption h3 { font-size: 24px; margin: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.swiper-pagination { bottom: 10px; }

/* ========== 快捷导航区 ========== */
.shortcut-area { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.klp_cyt01ico ul { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; }
.klp_cyt01ico li { flex: 1; min-width: 100px; text-align: center; padding: 15px 10px; background: #f8f9fa; border-radius: 6px; transition: all 0.3s ease; cursor: pointer; }
.klp_cyt01ico li:hover { background: #ffebee; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(229,57,53,0.2); }
.klp_cyt01ico span { display: block; width: 40px; height: 40px; margin: 0 auto 8px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.klp_cyt01ico p { font-size: 13px; color: #333; }
.publish-btn { float: right; margin-top: 10px; }
.btn-publish { display: inline-block; padding: 10px 20px; background: linear-gradient(135deg, #e53935, #d32f2f); color: #fff; border-radius: 6px; font-size: 14px; }
.btn-publish:hover { background: linear-gradient(135deg, #d32f2f, #c62828); transform: scale(1.05); }

/* ========== 登录注册区 ========== */
.login-area { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.login-box { float: left; }
.login-form h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.form-group { margin-bottom: 12px; }
.form-group input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.form-group input:focus { border-color: #e53935; outline: none; box-shadow: 0 0 5px rgba(229,57,53,0.3); }
.form-actions { display: flex; gap: 10px; }
.btn-primary, .btn-secondary { padding: 10px 20px; border-radius: 4px; font-size: 14px; cursor: pointer; }
.btn-primary { background: #e53935; color: #fff; border: none; }
.btn-primary:hover { background: #d32f2f; }
.btn-secondary { background: #f5f5f5; color: #333; border: 1px solid #ddd; }
.social-login { margin-top: 15px; text-align: center; }
.social-login p { font-size: 12px; color: #999; margin-bottom: 8px; }
.btn-qq, .btn-wechat { display: inline-block; padding: 8px 15px; margin: 0 5px; background: #f5f5f5; border-radius: 4px; font-size: 13px; }
.btn-qq { background: #2ba8ee; color: #fff; }
.btn-wechat { background: #07c160; color: #fff; }
.welcome-msg { float: right; }
.username { color: #e53935; font-weight: bold; }
.btn-small { display: inline-block; padding: 6px 12px; margin-left: 10px; background: #f5f5f5; border-radius: 4px; font-size: 13px; }

/* ========== 导读精选区 ========== */
.guide-section { margin: 20px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 8px; overflow: hidden; color: #fff; }
.section-header { padding: 20px; background: rgba(255,255,255,0.1); }
.section-header h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.section-header .section-desc { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 5px; }
.section-content { padding: 20px; display: flex; gap: 20px; }
.featured-article { flex: 1; }
.article-card { display: flex; gap: 15px; background: rgba(255,255,255,0.95); border-radius: 6px; overflow: hidden; }
.article-thumb { width: 180px; height: 120px; flex-shrink: 0; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.article-info { flex: 1; padding: 12px; }
.article-title { font-size: 16px; margin: 0 0 8px; color: #333; line-height: 1.4; }
.article-summary { font-size: 13px; color: #666; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { font-size: 12px; color: #999; display: flex; gap: 15px; }
.hot-list { width: 300px; }
.hot-list h4 { font-size: 16px; margin-bottom: 12px; color: #fff; border-left: 3px solid #fff; padding-left: 10px; }
.hot-list ul { background: rgba(255,255,255,0.95); border-radius: 6px; padding: 12px; }
.hot-list li { padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,0.1); font-size: 13px; }
.hot-list li:last-child { border-bottom: none; }
.hot-list .num { display: inline-block; width: 20px; height: 20px; background: #e53935; color: #fff; text-align: center; line-height: 20px; border-radius: 4px; margin-right: 8px; font-size: 12px; }

/* ========== 热点新闻区 ========== */
.news-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; color: #333; }
.more-link { color: #666; font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card { background: #f8f9fa; border-radius: 6px; overflow: hidden; transition: all 0.3s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.card-link { display: block; }
.news-thumb { height: 140px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-card:hover .news-thumb img { transform: scale(1.1); }
.news-content { padding: 12px; }
.news-title { font-size: 14px; margin: 0 0 8px; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: #999; display: flex; gap: 10px; flex-wrap: wrap; }

/* ========== 频道通用样式 ========== */
.channel-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.channel-nav { display: flex; gap: 15px; flex-wrap: wrap; font-size: 13px; }
.channel-nav a { color: #666; }
.channel-nav a:hover { color: #e53935; }

/* 频道标题图标 */
.section-header h2 i {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    background: linear-gradient(135deg, #e53935, #d32f2f);
    color: #fff;
    border-radius: 6px;
    margin-right: 8px;
    font-size: 16px;
}

/* 频道卡片通用样式 */
.channel-section .swiper-slide {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}
.channel-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.channel-section .swiper-slide:hover img {
    transform: scale(1.05);
}
.channel-section .swiper-slide .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}
.channel-section .swiper-slide .caption h4 {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* 频道列表通用样式 */
.channel-section .list-box {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}
.channel-section .list-box h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
    border-left: 3px solid #e53935;
    padding-left: 10px;
}
.channel-section .list-box ul {
    max-height: 260px;
    overflow-y: auto;
}
.channel-section .list-box li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
}
.channel-section .list-box li:last-child {
    border-bottom: none;
}
.channel-section .list-box li a {
    color: #333;
    transition: color 0.3s ease;
}
.channel-section .list-box li a:hover {
    color: #e53935;
}

/* 频道推荐卡片通用样式 */
.channel-section .recommend-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.channel-section .recommend-list li {
    text-align: center;
}
.channel-section .recommend-list a {
    display: block;
}
.channel-section .recommend-list img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}
.channel-section .recommend-list img:hover {
    transform: scale(1.1);
}
.channel-section .recommend-list span {
    font-size: 13px;
    color: #333;
    display: block;
}

/* ========== 美食频道 ========== */
.food-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.food-carousel { height: 300px; }
.food-carousel .swiper-container { height: 100%; }
.food-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); color: #fff; }
.food-caption h4 { font-size: 14px; margin: 0; }
.food-list, .food-recommend { padding: 15px; background: #f8f9fa; border-radius: 6px; }
.food-list h4, .food-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #333; border-left: 3px solid #e53935; padding-left: 10px; }
.food-list ul, .food-recommend ul { max-height: 260px; overflow-y: auto; }
.food-list li, .food-recommend li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 13px; }
.food-list li:last-child, .food-recommend li:last-child { border-bottom: none; }
.merchant-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.merchant-list li { text-align: center; }
.merchant-list a { display: block; }
.merchant-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.merchant-list span { font-size: 13px; color: #333; }

/* ========== 房产频道 ========== */
.property-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.loupan-filter-section { margin-top: 20px; padding: 20px; background: #f8f9fa; border-radius: 6px; }
.loupan-filter-section h3 { font-size: 18px; margin-bottom: 15px; color: #333; }
.loupan-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.loupan-tabs a { padding: 6px 15px; background: #fff; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.loupan-tabs a.active, .loupan-tabs a:hover { background: #e53935; color: #fff; border-color: #e53935; }
.loupan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.loupan-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.loupan-card a { display: block; }
.loupan-card img { width: 100%; height: 120px; object-fit: cover; }
.loupan-info { padding: 12px; }
.loupan-info h4 { font-size: 14px; margin: 0 0 8px; color: #333; }
.loupan-info .price { font-size: 16px; color: #e53935; font-weight: bold; margin-bottom: 5px; }
.loupan-info .address { font-size: 12px; color: #999; }

/* ========== 汽车频道 ========== */
.auto-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.auto-list, .auto-recommend { padding: 15px; background: #f8f9fa; border-radius: 6px; }
.car-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 15px; }
.car-list li { text-align: center; }
.car-list img { width: 80px; height: 60px; object-fit: cover; margin-bottom: 8px; }
.dealer-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dealer-card { background: #fff; padding: 12px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.dealer-card a { display: block; }
.dealer-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.dealer-card h5 { font-size: 13px; margin: 0 0 5px; color: #333; }
.dealer-card .tel, .dealer-card .price { font-size: 12px; color: #666; margin: 3px 0; }

/* ========== 亲子频道 ========== */
.baby-section {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}
.baby-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.baby-carousel { height: 300px; }
.baby-carousel .swiper-container { height: 100%; border-radius: 6px; overflow: hidden; }
.baby-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(229,57,53,0.8), transparent); color: #fff; }
.baby-caption h4 { font-size: 14px; margin: 0; }
.baby-list, .baby-recommend { padding: 15px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(229,57,53,0.1); }
.baby-list h4, .baby-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #e53935; border-left: 3px solid #e53935; padding-left: 10px; }
.baby-list ul, .baby-recommend ul { max-height: 260px; overflow-y: auto; }
.baby-list li, .baby-recommend li { padding: 8px 0; border-bottom: 1px dashed #ffe0e0; font-size: 13px; }
.baby-list li:last-child, .baby-recommend li:last-child { border-bottom: none; }
.baby-merchant-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.baby-merchant-list li { text-align: center; }
.baby-merchant-list a { display: block; }
.baby-merchant-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 3px solid #ffe0e0; }
.baby-merchant-list span { font-size: 13px; color: #333; }

/* ========== 旅游频道 ========== */
.travel-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}
.travel-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.travel-carousel { height: 300px; }
.travel-carousel .swiper-container { height: 100%; border-radius: 6px; overflow: hidden; }
.travel-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(25,118,210,0.8), transparent); color: #fff; }
.travel-caption h4 { font-size: 14px; margin: 0; }
.travel-list, .travel-recommend { padding: 15px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(25,118,210,0.1); }
.travel-list h4, .travel-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #1976d2; border-left: 3px solid #1976d2; padding-left: 10px; }
.travel-list ul, .travel-recommend ul { max-height: 260px; overflow-y: auto; }
.travel-list li, .travel-recommend li { padding: 8px 0; border-bottom: 1px dashed #bbdefb; font-size: 13px; }
.travel-list li:last-child, .travel-recommend li:last-child { border-bottom: none; }
.scenic-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scenic-list li { text-align: center; }
.scenic-list a { display: block; }
.scenic-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 3px solid #bbdefb; }
.scenic-list span { font-size: 13px; color: #333; }

/* ========== 同城交友频道 ========== */
.social-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
}
.social-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.social-carousel { height: 300px; }
.social-carousel .swiper-container { height: 100%; border-radius: 6px; overflow: hidden; }
.social-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(233,30,99,0.8), transparent); color: #fff; }
.social-caption h4 { font-size: 14px; margin: 0; }
.social-list, .social-recommend { padding: 15px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(233,30,99,0.1); }
.social-list h4, .social-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #e91e63; border-left: 3px solid #e91e63; padding-left: 10px; }
.social-list ul, .social-recommend ul { max-height: 260px; overflow-y: auto; }
.social-list li, .social-recommend li { padding: 8px 0; border-bottom: 1px dashed #f8bbd0; font-size: 13px; }
.social-list li:last-child, .social-recommend li:last-child { border-bottom: none; }
.activity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.activity-list li { text-align: center; }
.activity-list a { display: block; }
.activity-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 3px solid #f8bbd0; }
.activity-list span { font-size: 13px; color: #333; }

/* ========== 企业招聘频道 ========== */
.job-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}
.job-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.job-carousel { height: 300px; }
.job-carousel .swiper-container { height: 100%; border-radius: 6px; overflow: hidden; }
.job-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(56,142,60,0.8), transparent); color: #fff; }
.job-caption h4 { font-size: 14px; margin: 0; }
.job-list, .job-recommend { padding: 15px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(56,142,60,0.1); }
.job-list h4, .job-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #388e3c; border-left: 3px solid #388e3c; padding-left: 10px; }
.job-list ul, .job-recommend ul { max-height: 260px; overflow-y: auto; }
.job-list li, .job-recommend li { padding: 8px 0; border-bottom: 1px dashed #c8e6c9; font-size: 13px; }
.job-list li:last-child, .job-recommend li:last-child { border-bottom: none; }
.position-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.position-list li { text-align: center; }
.position-list a { display: block; }
.position-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 3px solid #c8e6c9; }
.position-list span { font-size: 13px; color: #333; }

/* ========== 二手交易频道 ========== */
.market-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}
.market-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.market-carousel { height: 300px; }
.market-carousel .swiper-container { height: 100%; border-radius: 6px; overflow: hidden; }
.market-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(245,124,0,0.8), transparent); color: #fff; }
.market-caption h4 { font-size: 14px; margin: 0; }
.market-list, .market-recommend { padding: 15px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(245,124,0,0.1); }
.market-list h4, .market-recommend h4 { font-size: 16px; margin-bottom: 12px; color: #f57c00; border-left: 3px solid #f57c00; padding-left: 10px; }
.market-list ul, .market-recommend ul { max-height: 260px; overflow-y: auto; }
.market-list li, .market-recommend li { padding: 8px 0; border-bottom: 1px dashed #ffe0b2; font-size: 13px; }
.market-list li:last-child, .market-recommend li:last-child { border-bottom: none; }
.goods-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goods-list li { text-align: center; }
.goods-list a { display: block; }
.goods-list img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; border: 3px solid #ffe0b2; }
.goods-list span { font-size: 13px; color: #333; }

/* ========== 生活服务区 ========== */
.service-blocks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.service-block { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.block-header { padding: 12px; background: linear-gradient(135deg, #e53935, #d32f2f); color: #fff; }
.block-header h4 { font-size: 15px; margin: 0; }
.block-content { padding: 12px; }
.block-pics ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.block-pics li { height: 60px; }
.block-pics img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.block-list .headline { font-size: 13px; color: #e53935; margin-bottom: 8px; font-weight: bold; }
.block-list ul li { padding: 5px 0; font-size: 12px; border-bottom: 1px dashed #eee; }
.block-list ul li:last-child { border-bottom: none; }
.block-topimg ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.block-topimg li { height: 70px; }
.block-botlist ul li { padding: 5px 0; font-size: 12px; border-bottom: 1px dashed #eee; }
.block-botlist ul li:last-child { border-bottom: none; }
.baby-block .block-list ul li { display: flex; gap: 8px; }
.baby-block .date { color: #999; font-size: 12px; white-space: nowrap; }
.block-merchants ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.block-merchants li { text-align: center; }
.block-merchants img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-bottom: 5px; }
.block-merchants p { font-size: 12px; color: #333; }
.info-block .tabs { grid-column: span 4; }
.info-block .tab-nav { display: flex; gap: 10px; border-bottom: 2px solid #e53935; margin-bottom: 12px; }
.info-block .tab-nav a { padding: 8px 15px; color: #666; border-bottom: 2px solid transparent; }
.info-block .tab-nav a.active { color: #e53935; border-bottom-color: #e53935; }
.info-block .tab-panel { display: none; }
.info-block .tab-panel.active { display: block; }
.info-block .tab-panel ul li { padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #eee; }
.info-block .sidebar { grid-column: span 1; background: #f8f9fa; padding: 12px; border-radius: 6px; }
.info-block .sidebar h5 { font-size: 14px; margin-bottom: 10px; color: #333; border-left: 3px solid #e53935; padding-left: 8px; }
.info-block .sidebar ul li { padding: 6px 0; font-size: 13px; border-bottom: 1px dashed #ddd; }

/* ========== 分类信息区 ========== */
.classified-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.classified-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.classified-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f8f9fa; border-radius: 6px; }
.classified-item .date { font-size: 12px; color: #999; white-space: nowrap; }
.classified-item .category { font-size: 12px; color: #e53935; background: #ffebee; padding: 2px 8px; border-radius: 4px; }
.classified-item a { flex: 1; font-size: 14px; color: #333; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* ========== 图说城市区 ========== */
.photo-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.photo-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.photo-carousel { height: 400px; }
.photo-carousel .swiper-container { height: 100%; }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); color: #fff; }
.photo-caption h4 { font-size: 16px; margin: 0 0 5px; }
.photo-caption p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }
.photo-prev, .photo-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(0,0,0,0.5); color: #fff; text-align: center; line-height: 40px; cursor: pointer; z-index: 10; }
.photo-prev { left: 10px; }
.photo-next { right: 10px; }
.photo-grid ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo-grid li { position: relative; overflow: hidden; border-radius: 6px; }
.photo-grid li.wide { grid-column: span 2; }
.photo-grid li img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.photo-grid li:hover img { transform: scale(1.05); }
.photo-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); color: #fff; }
.photo-overlay h5 { font-size: 14px; margin: 0; }

/* ========== 便民服务入口 ========== */
.convenience-section { margin: 20px 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 8px; padding: 20px; }
.convenience-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.convenience-item { text-align: center; padding: 15px 10px; background: rgba(255,255,255,0.1); border-radius: 6px; color: #fff; }
.convenience-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.convenience-item span { display: block; width: 40px; height: 40px; margin: 0 auto 8px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.convenience-item p { font-size: 12px; margin: 0; }

/* ========== 热门话题区 ========== */
.hot-topics-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.topics-cloud { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 0; }
.topic-tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: linear-gradient(135deg, #f5f5f5, #e0e0e0); border-radius: 20px; color: #333; font-size: 14px; transition: all 0.3s ease; }
.topic-tag:hover { background: linear-gradient(135deg, #e53935, #d32f2f); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(229,57,53,0.3); }
.topic-count { font-size: 11px; color: #999; background: rgba(0,0,0,0.05); padding: 2px 6px; border-radius: 10px; }
.topic-tag:hover .topic-count { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== 活动公告区 ========== */
.activity-notice-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.notice-list { display: flex; flex-direction: column; gap: 12px; }
.notice-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; background: #f8f9fa; border-radius: 6px; transition: all 0.3s ease; }
.notice-item:hover { background: #ffebee; transform: translateX(5px); }
.notice-type { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; white-space: nowrap; }
.notice-type.top { background: #e53935; color: #fff; }
.notice-type.hot { background: #ff9800; color: #fff; }
.notice-type.normal { background: #2196f3; color: #fff; }
.notice-title { flex: 1; font-size: 14px; color: #333; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.notice-time { font-size: 12px; color: #999; white-space: nowrap; }

/* ========== 本地商家推荐区 ========== */
.local-merchant-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.merchant-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.merchant-card { position: relative; background: #f8f9fa; border-radius: 8px; overflow: hidden; transition: all 0.3s ease; }
.merchant-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.merchant-card a { display: block; padding: 15px; }
.merchant-logo { width: 80px; height: 80px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.merchant-logo img { width: 100%; height: 100%; object-fit: cover; }
.merchant-info { text-align: center; }
.merchant-info h4 { font-size: 16px; margin: 0 0 8px; color: #333; }
.merchant-rating { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 8px; }
.merchant-rating .stars { color: #ffc107; font-size: 14px; }
.merchant-rating .score { font-size: 13px; color: #e53935; font-weight: bold; }
.merchant-address, .merchant-tel { font-size: 12px; color: #666; margin: 5px 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.merchant-badge { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 4px; font-size: 11px; background: #e0e0e0; color: #666; }
.merchant-badge.verified { background: #4caf50; color: #fff; }

/* ========== 友情链接区 ========== */
.friend-links-section { margin: 20px 0; background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.links-grid { display: flex; flex-wrap: wrap; gap: 15px; padding: 10px 0; }
.friend-link { display: inline-block; padding: 8px 16px; background: #f5f5f5; border-radius: 6px; color: #333; font-size: 13px; transition: all 0.3s ease; }
.friend-link:hover { background: #e53935; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(229,57,53,0.2); }
.friend-link img { height: 30px; vertical-align: middle; }
.link-text { display: inline-block; }

/* ========== 底部区域 ========== */
#ft { margin-top: 30px; padding: 30px 0; background: #2d3436; color: #b2bec3; }
#ft .wp { text-align: center; }
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #dfe6e9; margin: 0 10px; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 13px; line-height: 1.8; }

/* ========== 悬浮工具栏 ========== */
#tool-bar { position: fixed; right: 20px; bottom: 80px; z-index: 999; }
.back-to-top, #tool-bar a { display: block; width: 44px; height: 44px; background: #e53935; color: #fff; text-align: center; line-height: 44px; border-radius: 50%; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.back-to-top:hover, #tool-bar a:hover { background: #d32f2f; transform: translateY(-3px); }

/* ========== 图标字体（简化版） ========== */
.icon-star::before { content: "★"; }
.icon-fire::before { content: "🔥"; }
.icon-hotpot::before { content: "🍲"; }
.icon-building::before { content: "🏢"; }
.icon-car::before { content: "🚗"; }
.icon-service::before { content: "⚙️"; }
.icon-classified::before { content: "📋"; }
.icon-camera::before { content: "📷"; }
.icon-convenience::before { content: "🛠️"; }
.icon-up::before { content: "↑"; }
.icon-wechat::before { content: "💬"; }
.icon-app::before { content: "📱"; }

/* ========== 图片懒加载 ========== */
img[data-lazy-src] {
    background: #f0f0f0;
    min-height: 100px;
}
img[data-lazy-src].loaded {
    background: none;
}

/* ========== 性能优化 - 减少重绘 ========== */
.news-card, .loupan-card, .dealer-card, .article-card {
    will-change: transform;
}
.news-card:hover, .loupan-card:hover, .dealer-card:hover, .article-card:hover {
    transform: translateY(-5px);
}

/* ========== 触摸设备优化 ========== */
@media (hover: none) and (pointer: coarse) {
    /* 增大点击区域 */
    #nv li a, .klp_cyt01ico li, .convenience-item {
        padding: 12px 16px;
        min-height: 44px;
    }
    
    /* 禁用悬停效果，改为点击反馈 */
    .news-card:hover, .channel-section:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    /* 增强点击反馈 */
    a:active, button:active, .btn-publish:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ========== 滚动优化 ========== */
.klp_cyt01ico ul, #dhnavs {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* ========== 防止双击缩放 ========== */
meta[name="viewport"] {
    /* 由 HTML meta 标签控制 */
}

body {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ========== 平板端适配 (769px-1024px) ========== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .wp { width: 95%; max-width: 900px; }
    .banner-area .swiper-container { height: 300px; }
    .banner-caption h3 { font-size: 20px; }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .food-grid, .property-grid, .auto-grid { grid-template-columns: 2fr 1fr; }
    .food-carousel, .property-carousel, .auto-carousel { height: 280px; }
    .service-blocks { grid-template-columns: repeat(3, 1fr); }
    .info-block .tabs { grid-column: span 2; }
    .info-block .sidebar { grid-column: span 1; }
    .classified-list { grid-template-columns: repeat(3, 1fr); }
    .photo-layout { grid-template-columns: 1fr; }
    .convenience-grid { grid-template-columns: repeat(4, 1fr); }
    
    /* 导航菜单优化 */
    #nv li a { padding: 0 14px; font-size: 14px; }
    .shortcut-area .klp_cyt01ico li { min-width: calc(33.333% - 10px); }
}

/* ========== 移动端适配 (max-width: 768px) ========== */
@media screen and (max-width: 768px) {
    .wp { width: 100%; padding: 0 12px; }
    
    /* 导航栏 - 优化触摸体验 */
    #hd .wp { padding: 12px; }
    .logoarea .logo a { font-size: 20px; }
    .logoarea .slogan { display: none; }
    .scbar { display: none; }
    #nv { 
        height: auto; 
        max-height: 40px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    #nv li { 
        font-size: 13px; 
        padding: 0 8px;
        height: 40px;
        line-height: 40px;
    }
    #nv li a { 
        padding: 0 12px; 
        font-weight: 500;
    }
    
    /* Banner */
    .banner-area .swiper-container { height: 220px; }
    .banner-caption { padding: 20px; }
    .banner-caption h3 { font-size: 18px; }
    
    /* 快捷导航 */
    .shortcut-area { padding: 15px; }
    .klp_cyt01ico ul { gap: 12px; }
    .klp_cyt01ico li { 
        min-width: calc(50% - 6px); 
        padding: 12px 8px;
        font-size: 13px;
    }
    .klp_cyt01ico span { width: 36px; height: 36px; }
    .klp_cyt01ico p { font-size: 12px; }
    .publish-btn { float: none; text-align: center; margin-top: 15px; }
    .btn-publish { padding: 10px 24px; font-size: 14px; }
    
    /* 登录区 */
    .login-area { padding: 15px; }
    .login-box { float: none; width: 100%; }
    .welcome-msg { float: none; text-align: center; }
    .form-actions { flex-direction: column; gap: 10px; }
    .form-group input { padding: 12px 14px; font-size: 15px; }
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 15px; }
    
    /* 导读区 */
    .section-content { flex-direction: column; gap: 15px; }
    .featured-article .article-card { flex-direction: column; }
    .article-thumb { width: 100%; height: 160px; }
    .hot-list { width: 100%; }
    .hot-list h4 { font-size: 15px; }
    
    /* 新闻网格 */
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .news-thumb { height: 130px; }
    .news-title { font-size: 14px; }
    .news-meta { font-size: 11px; }
    
    /* 频道布局 */
    .food-grid, .property-grid, .auto-grid, .baby-grid, .travel-grid, .social-grid, .job-grid, .market-grid { grid-template-columns: 1fr; gap: 15px; }
    .food-carousel, .property-carousel, .auto-carousel, .baby-carousel, .travel-carousel, .social-carousel, .job-carousel, .market-carousel { height: 260px; }
    .food-list, .food-recommend, .auto-list, .auto-recommend, .baby-list, .baby-recommend, .travel-list, .travel-recommend, .social-list, .social-recommend, .job-list, .job-recommend, .market-list, .market-recommend { padding: 12px; }
    .merchant-list, .car-list, .dealer-cards, .baby-merchant-list, .scenic-list, .activity-list, .position-list, .goods-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .merchant-list img, .car-list img, .baby-merchant-list img, .scenic-list img, .activity-list img, .position-list img, .goods-list img { width: 70px; height: 70px; }
    
    /* 生活服务 */
    .service-blocks { grid-template-columns: 1fr; gap: 12px; }
    .info-block .tabs { grid-column: span 1; }
    .info-block .sidebar { grid-column: span 1; margin-top: 15px; }
    .block-header h4 { font-size: 14px; }
    .block-content { padding: 10px; }
    
    /* 分类信息 */
    .classified-list { grid-template-columns: 1fr; }
    .classified-item { flex-direction: column; align-items: flex-start; padding: 12px; }
    .classified-item a { font-size: 14px; }
    
    /* 图说城市 */
    .photo-layout { grid-template-columns: 1fr; }
    .photo-carousel { height: 260px; }
    .photo-prev, .photo-next { width: 35px; height: 35px; line-height: 35px; }
    .photo-grid ul { grid-template-columns: 1fr; gap: 10px; }
    .photo-overlay h5 { font-size: 13px; }
    
    /* 便民服务 */
    .convenience-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .convenience-item { padding: 12px 8px; }
    .convenience-item p { font-size: 11px; }
    
    /* 热门话题 */
    .topics-cloud { gap: 8px; }
    .topic-tag { padding: 6px 12px; font-size: 13px; }
    .topic-count { font-size: 10px; }
    
    /* 活动公告 */
    .notice-item { flex-direction: column; align-items: flex-start; padding: 10px 12px; }
    .notice-type { margin-bottom: 5px; }
    .notice-title { font-size: 13px; }
    .notice-time { font-size: 11px; margin-top: 5px; }
    
    /* 本地商家 */
    .merchant-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .merchant-logo { width: 60px; height: 60px; }
    .merchant-info h4 { font-size: 14px; }
    .merchant-rating .stars { font-size: 12px; }
    .merchant-address, .merchant-tel { font-size: 11px; }
    
    /* 友情链接 */
    .links-grid { gap: 10px; }
    .friend-link { padding: 6px 12px; font-size: 12px; }
    
    /* 悬浮工具栏 */
    #tool-bar { right: 12px; bottom: 75px; }
    .back-to-top, #tool-bar a { width: 42px; height: 42px; line-height: 42px; font-size: 18px; }
    
    /* 底部 */
    #ft { padding: 25px 12px; }
    .footer-links a { display: block; margin: 6px 0; font-size: 13px; }
    .copyright { font-size: 12px; }
}

/* ========== 小屏手机 (max-width: 480px) ========== */
@media screen and (max-width: 480px) {
    .wp { padding: 0 8px; }
    
    /* Banner */
    .banner-area .swiper-container { height: 180px; }
    .banner-caption { padding: 15px; }
    .banner-caption h3 { font-size: 16px; }
    
    /* 新闻网格 */
    .news-grid { grid-template-columns: 1fr; }
    .news-thumb { height: 180px; }
    
    /* 快捷导航 */
    .klp_cyt01ico li { min-width: calc(50% - 6px); }
    
    /* 列表项 */
    .merchant-list, .car-list, .dealer-cards { grid-template-columns: 1fr; }
    .merchant-list img, .car-list img { width: 90px; height: 90px; }
    
    /* 便民服务 */
    .convenience-grid { grid-template-columns: repeat(2, 1fr); }
    .convenience-item { padding: 15px 10px; }
    
    /* 楼盘列表 */
    .loupan-grid { grid-template-columns: 1fr; }
    .loupan-card img { height: 140px; }
    
    /* 浮动按钮 */
    #tool-bar { right: 10px; bottom: 70px; }
    .back-to-top, #tool-bar a { width: 40px; height: 40px; line-height: 40px; }
}

/* ========== 暗黑模式支持 ========== */
@media (prefers-color-scheme: dark) {
    body { 
        background: #1a1a1a; 
        color: #e0e0e0;
    }
    .wp { background: #1a1a1a; }
    #hd { 
        background: #2d2d2d; 
        box-shadow: none;
    }
    .shortcut-area, .login-area, .guide-section, .news-section, .channel-section, .classified-section, .photo-section { 
        background: #2d2d2d; 
    }
    .section-header h2 { color: #e0e0e0; }
    .news-card, .loupan-card, .dealer-card { background: #3d3d3d; }
    .food-list, .food-recommend, .auto-list, .auto-recommend { background: #3d3d3d; }
    .hot-list ul, .info-block .sidebar { background: #3d3d3d; }
    .classified-item { background: #3d3d3d; }
    .block-header { background: linear-gradient(135deg, #ef5350, #e53935); }
    .convenience-section { background: linear-gradient(135deg, #42a5f5, #1e88e5); }
    #ft { background: #121212; }
    .back-to-top, #tool-bar a { background: #ef5350; }
    
    /* 表单输入框 */
    .form-group input { 
        background: #3d3d3d; 
        border-color: #555; 
        color: #e0e0e0;
    }
}

/* ========== 手动暗黑模式类 ========== */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}
body.dark-mode .wp { background: #1a1a1a; }
body.dark-mode #hd { background: #2d2d2d; }
body.dark-mode .shortcut-area, body.dark-mode .login-area, body.dark-mode .news-section, body.dark-mode .channel-section, body.dark-mode .classified-section, body.dark-mode .photo-section { background: #2d2d2d; }
body.dark-mode .section-header h2 { color: #e0e0e0; }
body.dark-mode .news-card, body.dark-mode .loupan-card, body.dark-mode .dealer-card { background: #3d3d3d; }
body.dark-mode .food-list, body.dark-mode .food-recommend, body.dark-mode .auto-list, body.dark-mode .auto-recommend { background: #3d3d3d; }
body.dark-mode .hot-list ul, body.dark-mode .info-block .sidebar { background: #3d3d3d; }
body.dark-mode .classified-item { background: #3d3d3d; }
body.dark-mode .block-header { background: linear-gradient(135deg, #ef5350, #e53935); }
body.dark-mode .convenience-section { background: linear-gradient(135deg, #42a5f5, #1e88e5); }
body.dark-mode #ft { background: #121212; }
body.dark-mode .back-to-top, body.dark-mode #tool-bar a { background: #ef5350; }
