/* ==========================================================================
   Destoon B2B 复刻版 - 默认皮肤样式
   ThinkPHP 8.1 | Destoon 10.0 风格
   ========================================================================== */

/* ========== 1. 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a { color: #2c6dad; text-decoration: none; transition: color 0.2s; }
a:hover { color: #e4393c; }
a:active { color: #c00; }

ul, ol { list-style: none; }

img { border: 0; vertical-align: middle; max-width: 100%; }

input, select, textarea, button { font-family: inherit; font-size: inherit; outline: none; }

table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

em, i { font-style: normal; }

.clearfix::after { content: ""; display: table; clear: both; }

.container { width: 1200px; margin: 0 auto; }

.text-red { color: #e4393c; }
.text-green { color: #52a532; }
.text-gray { color: #999; }
.text-blue { color: #2c6dad; }

.empty-tip { text-align: center; color: #999; padding: 20px 0; }
.empty-box { text-align: center; color: #999; padding: 40px 0; font-size: 14px; }
.empty-box em { color: #e4393c; font-style: normal; }
.empty-box a { color: #2c6dad; }

/* ========== 2. 布局 ========== */
#dt-wrapper { min-height: 100vh; }

.dt-main { padding: 15px 0; background: transparent; }
.dt-main-inner { display: flex; gap: 15px; }
.dt-content { flex: 1; min-width: 0; background: #fff; border-radius: 4px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.dt-sidebar { width: 280px; flex-shrink: 0; }

.dt-bread { padding: 10px 0; color: #999; font-size: 13px; }
.dt-bread a { color: #666; }
.dt-bread a:hover { color: #e4393c; }

/* ========== 3. 顶部栏 ========== */
.dt-topbar { background: #f0f0f0; border-bottom: 1px solid #e0e0e0; height: 32px; line-height: 32px; font-size: 12px; color: #666; }
.dt-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.dt-topbar a { color: #666; }
.dt-topbar a:hover { color: #e4393c; }
.dt-sep { color: #ccc; margin: 0 5px; }

/* ========== 4. 头部 ========== */
.dt-header { background: #fff; padding: 20px 0; border-bottom: 3px solid #2c6dad; }
.dt-header .container { display: flex; align-items: center; gap: 30px; }

.dt-logo { width: 240px; flex-shrink: 0; }
.dt-logo img { max-height: 60px; }
.dt-logo-text { font-size: 24px; font-weight: bold; color: #2c6dad; }

.dt-search { flex: 1; }
.dt-search-box { display: flex; align-items: center; border: 2px solid #2c6dad; border-radius: 4px; overflow: hidden; }
.dt-search-module { border: 0; border-right: 1px solid #e0e0e0; padding: 8px 10px; background: #f8f8f8; height: 38px; cursor: pointer; }
.dt-search-input { flex: 1; border: 0; padding: 8px 15px; height: 38px; font-size: 14px; }
.dt-search-btn { border: 0; background: #2c6dad; color: #fff; padding: 0 30px; height: 38px; cursor: pointer; font-size: 15px; font-weight: bold; }
.dt-search-btn:hover { background: #1a5a8a; }
.dt-hot-keywords { margin-top: 5px; font-size: 12px; color: #999; }
.dt-hot-keywords a { color: #999; margin-right: 8px; }
.dt-hot-keywords a:hover { color: #e4393c; }

.dt-header-right { display: flex; flex-direction: column; gap: 8px; }
.dt-btn-publish { background: #e4393c; color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: bold; text-align: center; }
.dt-btn-publish:hover { background: #d62e2e; color: #fff; }
.dt-btn-mcenter { background: #f0f0f0; color: #666; padding: 6px 20px; border-radius: 4px; text-align: center; border: 1px solid #e0e0e0; }
.dt-btn-mcenter:hover { background: #e8e8e8; color: #333; }

/* ========== 5. 导航栏 ========== */
.dt-navbar { background: #2c6dad; height: 44px; }
.dt-nav-toggle { display: none; }

.dt-nav-menu { display: flex; }
.dt-nav-menu li { position: relative; }
.dt-nav-menu li a { display: block; padding: 0 20px; line-height: 44px; color: #fff; font-size: 15px; }
.dt-nav-menu li a:hover { background: #1a5a8a; color: #fff; }
.dt-nav-menu li.active a, .dt-nav-menu li.cur a { background: #1a5a8a; }

/* ========== 6. 侧边栏 ========== */
.side-box { background: #fff; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.side-box-hd { padding: 10px 15px; border-bottom: 2px solid #2c6dad; }
.side-box-hd h3 { font-size: 15px; color: #333; font-weight: bold; }
.side-box-bd { padding: 12px 15px; }

.side-member-hello { margin-bottom: 10px; color: #666; }
.side-member-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.side-member-actions a { display: inline-block; padding: 5px 12px; border-radius: 3px; font-size: 13px; background: #f0f0f0; color: #666; }
.side-member-actions a:hover { background: #2c6dad; color: #fff; }
.side-member-actions .btn-login { background: #e4393c; color: #fff; }
.side-member-actions .btn-reg { background: #2c6dad; color: #fff; }
.side-member-tip { color: #999; margin-bottom: 10px; }

.side-menu li { border-bottom: 1px dashed #eee; }
.side-menu li:last-child { border-bottom: 0; }
.side-menu li a { display: block; padding: 8px 5px; color: #666; }
.side-menu li a:hover { color: #e4393c; padding-left: 10px; }
.side-menu li.cur a { color: #e4393c; font-weight: bold; }

/* ========== 7. 首页样式 ========== */
.home-banner { display: flex; gap: 15px; margin-bottom: 15px; }
.home-slider { flex: 1; height: 320px; overflow: hidden; border-radius: 4px; position: relative; background: #ddd; }
.home-slide { width: 100%; height: 100%; }
.home-slide img { width: 100%; height: 320px; object-fit: cover; }
.home-slide-ph { width: 100%; height: 320px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2c6dad, #1a5a8a); color: #fff; font-size: 20px; }

.home-quick { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 15px; }
.home-quick-tab, .home-quick-announce { background: #fff; border-radius: 4px; padding: 12px 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.home-quick-tab h3, .home-quick-announce h3 { font-size: 15px; font-weight: bold; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #eee; }
.home-quick-tab ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home-quick-tab li { width: auto; }
.home-quick-tab li a { display: flex; flex-direction: column; align-items: center; padding: 10px 5px; border-radius: 4px; background: #f8f8f8; font-size: 12px; color: #666; }
.home-quick-tab li a:hover { background: #2c6dad; color: #fff; }
.home-quick-tab .ico { width: 48px; height: 48px; display: block; background: #ddd; border-radius: 50%; margin-bottom: 8px; font-size: 24px; line-height: 48px; text-align: center; }

.home-quick-announce ul li { padding: 4px 0; font-size: 13px; }
.home-quick-announce ul li a { color: #666; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.home-section { background: #fff; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.home-section-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 2px solid #2c6dad; }
.home-section-hd h2 { font-size: 18px; font-weight: bold; color: #333; }
.home-section-hd .more a { font-size: 13px; color: #999; }
.home-section-bd { padding: 15px 20px; }

.home-row { display: flex; gap: 15px; margin-bottom: 15px; }
.home-col { flex: 1; }

/* 缩略图列表 */
.thumb-list { display: flex; flex-wrap: wrap; gap: 15px; }
.thumb-list li { background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.thumb-list li:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.1); transform: translateY(-2px); }
.thumb-list-4 li { width: calc(25% - 12px); }
.thumb-list-5 li { width: calc(20% - 12px); }
.thumb-list-6 li { width: calc(16.666% - 13px); }
.thumb-img { display: block; position: relative; overflow: hidden; }
.thumb-img img { width: 100%; height: 160px; object-fit: cover; transition: transform 0.3s; }
.thumb-list li:hover .thumb-img img { transform: scale(1.05); }
.thumb-title { display: block; padding: 8px 10px 4px; font-size: 13px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb-title:hover { color: #e4393c; }
.thumb-price { padding: 0 10px 8px; font-size: 14px; color: #e4393c; font-weight: bold; }
.thumb-meta { padding: 0 10px 8px; font-size: 12px; color: #999; }

.tag-elite { position: absolute; top: 5px; left: 5px; background: #e4393c; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; }

/* 文字列表 */
.text-list li { padding: 6px 0; border-bottom: 1px dashed #eee; overflow: hidden; }
.text-list li:last-child { border-bottom: 0; }
.text-list li a { color: #666; }
.text-list li a:hover { color: #e4393c; }
.text-list-price { float: right; color: #e4393c; margin-left: 10px; }
.text-list-area { float: right; color: #999; margin-left: 10px; font-size: 12px; }
.text-list-date { float: right; color: #bbb; margin-left: 10px; font-size: 12px; }

/* ========== 8. 模块页面 ========== */
.mod-head { display: flex; align-items: center; padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 15px; }
.mod-head h1 { font-size: 20px; font-weight: bold; color: #333; }
.mod-head-total { margin-left: 15px; color: #999; font-size: 13px; }
.mod-head-total em { color: #e4393c; font-style: normal; font-weight: bold; }
.mod-head .btn-post { margin-left: auto; background: #e4393c; color: #fff; padding: 6px 20px; border-radius: 4px; font-size: 13px; }
.mod-head .btn-post:hover { background: #d62e2e; color: #fff; }

.mod-block { margin-bottom: 20px; }
.mod-block-hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.mod-block-hd h2 { font-size: 16px; font-weight: bold; }
.mod-block-hd .more a { font-size: 13px; color: #999; }
.mod-block-bd { padding: 12px 0; }

/* 筛选 */
.filter-box { background: #f8f8f8; border-radius: 4px; padding: 10px 15px; margin-bottom: 15px; }
.filter-row { display: flex; align-items: flex-start; padding: 5px 0; border-bottom: 1px dashed #e8e8e8; }
.filter-row:last-child { border-bottom: 0; }
.filter-label { width: 60px; color: #999; font-size: 13px; flex-shrink: 0; line-height: 28px; }
.filter-items { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; }
.filter-items a { display: inline-block; padding: 3px 12px; border-radius: 3px; font-size: 13px; color: #666; }
.filter-items a:hover { color: #2c6dad; }
.filter-items a.cur { background: #2c6dad; color: #fff; }

/* 排序 */
.sort-bar { display: flex; align-items: center; padding: 8px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; }
.sort-label { color: #999; font-size: 13px; margin-right: 10px; }
.sort-bar a { padding: 4px 15px; font-size: 13px; color: #666; border-right: 1px solid #eee; }
.sort-bar a:last-child { border-right: 0; }
.sort-bar a.cur { color: #e4393c; font-weight: bold; }

/* 模块列表项 */
.mod-list { margin-bottom: 20px; }
.mod-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.mod-item-thumb { position: relative; width: 160px; height: 120px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.mod-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-item-info { flex: 1; min-width: 0; }
.mod-item-info h3 { font-size: 15px; margin-bottom: 8px; }
.mod-item-info h3 a { color: #333; }
.mod-item-info h3 a:hover { color: #e4393c; }
.mod-item-intro { color: #999; font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-item-meta { font-size: 12px; color: #999; }
.mod-item-meta span { margin-right: 15px; }
.mod-item-meta .price { color: #e4393c; font-size: 14px; font-weight: bold; }
.mod-item-action { display: flex; flex-direction: column; gap: 8px; justify-content: center; width: 100px; flex-shrink: 0; }
.mod-item-action a { display: block; text-align: center; padding: 6px 0; border-radius: 3px; font-size: 13px; }
.btn-view { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }
.btn-view:hover { background: #e8e8e8; }
.btn-inquiry { background: #e4393c; color: #fff; }
.btn-inquiry:hover { background: #d62e2e; color: #fff; }

/* ========== 9. 内容详情页 ========== */
.show-page { padding: 0; }
.show-head { padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 20px; }
.show-title { font-size: 22px; font-weight: bold; color: #333; margin-bottom: 10px; }
.show-meta { font-size: 13px; color: #999; }

.show-main { display: flex; gap: 30px; margin-bottom: 25px; }
.show-gallery { width: 400px; flex-shrink: 0; }
.show-pic-main { width: 100%; height: 400px; border: 1px solid #eee; overflow: hidden; margin-bottom: 10px; }
.show-pic-main img { width: 100%; height: 100%; object-fit: cover; }
.show-pic-thumbs { display: flex; gap: 8px; }
.show-pic-thumbs li { width: 70px; height: 70px; border: 1px solid #eee; cursor: pointer; overflow: hidden; }
.show-pic-thumbs li img { width: 100%; height: 100%; object-fit: cover; }

.show-attrs { flex: 1; }
.attr-list { margin-bottom: 20px; }
.attr-list li { padding: 8px 0; border-bottom: 1px dashed #eee; display: flex; }
.attr-name { width: 80px; color: #999; font-size: 13px; }
.attr-value { flex: 1; color: #333; }
.attr-value.price { color: #e4393c; font-size: 20px; font-weight: bold; }

.show-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.show-actions button, .show-actions a { display: inline-block; padding: 8px 25px; border-radius: 4px; font-size: 14px; cursor: pointer; border: 0; }
.btn-inquiry { background: #e4393c; color: #fff; }
.btn-price { background: #ff6700; color: #fff; }
.btn-favor { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }
.btn-report { background: #f0f0f0; color: #666; border: 1px solid #e0e0e0; }

.show-company-card { display: flex; align-items: center; gap: 12px; padding: 15px; background: #f8f8f8; border-radius: 4px; }
.sc-logo { width: 60px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.sc-logo img { width: 100%; height: 100%; object-fit: cover; }
.sc-info { flex: 1; }
.sc-name { font-size: 14px; font-weight: bold; color: #333; }
.sc-bus { font-size: 12px; color: #999; margin-top: 3px; }
.sc-area { font-size: 12px; color: #999; }
.sc-link { color: #2c6dad; font-size: 13px; }

.show-detail { margin-bottom: 25px; }
.show-detail-hd { padding: 10px 0; border-bottom: 2px solid #2c6dad; }
.show-detail-hd h3 { font-size: 16px; font-weight: bold; }
.show-detail-bd { padding: 15px 0; line-height: 2; }
.show-intro { color: #666; margin-bottom: 15px; padding: 10px; background: #f8f8f8; border-left: 3px solid #2c6dad; }

.show-contact { margin-bottom: 25px; }
.contact-list li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.contact-list span { color: #999; display: inline-block; width: 80px; }
.contact-tip { margin-top: 15px; padding: 10px; background: #fffbe6; border: 1px solid #ffe58f; border-radius: 4px; color: #d48806; font-size: 13px; }

.show-comment { margin-bottom: 25px; }
.comment-form textarea { width: 100%; height: 100px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; }
.comment-form-bar { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.comment-form-bar select { padding: 6px; border: 1px solid #ddd; border-radius: 4px; }
.btn-comment { margin-left: auto; background: #2c6dad; color: #fff; padding: 8px 25px; border-radius: 4px; border: 0; cursor: pointer; }

.show-pager { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.show-pager em { color: #999; font-style: normal; }
.show-pager a { color: #2c6dad; }

.show-related { margin-bottom: 25px; }

/* ========== 10. 搜索页 ========== */
.search-page .search-head { padding-bottom: 15px; border-bottom: 1px solid #eee; margin-bottom: 15px; }
.search-head h1 { font-size: 20px; font-weight: bold; }
.search-kw { color: #999; margin-top: 5px; }
.search-kw em { color: #e4393c; font-style: normal; }
.search-kw strong { color: #333; }

.search-form-box { margin-bottom: 15px; }
.search-form-box form { display: flex; gap: 10px; }
.search-input { flex: 1; height: 38px; border: 2px solid #2c6dad; border-radius: 4px; padding: 0 15px; }
.search-cat { height: 38px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; }
.search-btn { background: #2c6dad; color: #fff; border: 0; padding: 0 30px; height: 38px; border-radius: 4px; cursor: pointer; font-weight: bold; }

/* ========== 11. 发布/编辑页 ========== */
.post-page { }
.post-head { padding-bottom: 15px; border-bottom: 2px solid #2c6dad; margin-bottom: 20px; }
.post-head h1 { font-size: 20px; font-weight: bold; }
.post-tip { color: #999; font-size: 13px; margin-top: 5px; }
.post-tip em { color: #e4393c; font-style: normal; }

.post-form { }
.form-section { margin-bottom: 25px; }
.form-section-title { font-size: 15px; font-weight: bold; padding: 8px 15px; background: #f0f0f0; border-left: 3px solid #2c6dad; margin-bottom: 15px; }
.form-table th { width: 120px; text-align: right; padding: 8px 10px; color: #666; font-weight: normal; vertical-align: middle; }
.form-table th em { color: #e4393c; font-style: normal; margin-right: 3px; }
.form-table td { padding: 8px 10px; }

.form-input { height: 34px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; width: 300px; }
.form-input-lg { width: 500px; }
.form-input-sm { width: 120px; }
.form-input-captcha { width: 150px; }
.form-select { height: 34px; border: 1px solid #ddd; border-radius: 4px; padding: 0 10px; min-width: 150px; }
.form-select-sm { min-width: 100px; }
.form-textarea { width: 100%; min-height: 120px; border: 1px solid #ddd; border-radius: 4px; padding: 10px; }
.form-editor { width: 100%; min-height: 300px; border: 1px solid #ddd; border-radius: 4px; padding: 10px; font-family: inherit; }
.form-tip { color: #999; font-size: 12px; margin-left: 10px; }

.upload-box { display: flex; gap: 10px; align-items: center; }
.btn-upload { padding: 6px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer; }

.form-submit { padding: 20px 0; text-align: center; }
.btn-submit { background: #e4393c; color: #fff; padding: 10px 40px; border-radius: 4px; border: 0; font-size: 15px; cursor: pointer; }
.btn-submit:hover { background: #d62e2e; }
.btn-reset { background: #f0f0f0; color: #666; padding: 10px 30px; border-radius: 4px; border: 1px solid #ddd; cursor: pointer; margin: 0 10px; }
.btn-back { background: #f0f0f0; color: #666; padding: 10px 30px; border-radius: 4px; border: 1px solid #ddd; }

/* ========== 12. 会员中心 ========== */
.mcenter { }
.mcard { display: flex; align-items: center; gap: 20px; padding: 20px; background: linear-gradient(135deg, #2c6dad, #1a5a8a); border-radius: 4px; margin-bottom: 20px; }
.mcard-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.mcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mcard-info { flex: 1; color: #fff; }
.mcard-info h2 { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.mcard-info h2 em { font-size: 12px; margin-left: 10px; }
.mcard-meta { font-size: 13px; opacity: 0.9; margin-bottom: 5px; }
.mcard-stat span { margin-right: 20px; font-size: 13px; opacity: 0.9; }
.mcard-stat em { font-style: normal; font-weight: bold; color: #ffd; }

.mquick { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.mquick-item { display: flex; flex-direction: column; align-items: center; width: calc(12.5% - 14px); padding: 15px 5px; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.2s; }
.mquick-item:hover { transform: translateY(-3px); box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.mquick-ico { width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.mquick-text { font-size: 13px; color: #666; }
.mquick-text em { color: #e4393c; font-style: normal; }

.msection { background: #fff; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.msection-hd { padding: 10px 15px; border-bottom: 2px solid #2c6dad; }
.msection-hd h3 { font-size: 15px; font-weight: bold; }
.msection-bd { padding: 12px 15px; }

.mtable { background: #fff; }
.mtable th { background: #f5f5f5; padding: 10px 8px; text-align: left; font-weight: bold; color: #666; font-size: 13px; border-bottom: 1px solid #e0e0e0; }
.mtable td { padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; }
.mtable td.td-title a { color: #333; }
.mtable td.td-title a:hover { color: #e4393c; }
.mtable-my .list-thumb-sm { width: 40px; height: 30px; object-fit: cover; margin-right: 8px; vertical-align: middle; }

.tab-bar { display: flex; gap: 2px; margin-bottom: 15px; border-bottom: 2px solid #2c6dad; }
.tab-bar a { padding: 8px 20px; font-size: 14px; color: #666; }
.tab-bar a.cur { background: #2c6dad; color: #fff; border-radius: 4px 4px 0 0; }

.status-ok { color: #52a532; }
.status-wait { color: #f0a020; }
.status-no { color: #e4393c; }
.status-info { color: #2c6dad; }
.status-del { color: #999; }
.status-other { color: #999; }

.mbalance { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.mbalance-card { flex: 1; }
.mbalance-label { color: #999; font-size: 14px; margin-bottom: 5px; }
.mbalance-amount { font-size: 28px; font-weight: bold; color: #e4393c; }
.mbalance-unit { font-size: 14px; color: #999; }
.mbalance-sub { color: #999; font-size: 13px; margin-top: 5px; }
.mbalance-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-recharge { background: #e4393c; color: #fff; padding: 8px 25px; border-radius: 4px; text-align: center; }
.btn-recharge:hover { background: #d62e2e; color: #fff; }
.btn-withdraw { background: #f0f0f0; color: #666; padding: 8px 25px; border-radius: 4px; text-align: center; border: 1px solid #ddd; }

.recharge-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.recharge-item { display: flex; align-items: center; justify-content: center; width: 100px; height: 50px; border: 2px solid #eee; border-radius: 4px; font-size: 16px; color: #333; font-weight: bold; }
.recharge-item:hover { border-color: #e4393c; color: #e4393c; }
.recharge-custom { font-size: 13px; font-weight: normal; }

.gift-list { display: flex; flex-wrap: wrap; gap: 15px; }
.gift-item { width: calc(33.333% - 10px); display: flex; gap: 12px; padding: 12px; border: 1px solid #eee; border-radius: 4px; }
.gift-img { width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-info { flex: 1; }
.gift-info h4 { font-size: 14px; margin-bottom: 8px; }
.gift-price { font-size: 13px; color: #999; margin-bottom: 8px; }
.gift-price em { color: #e4393c; font-style: normal; font-weight: bold; }
.btn-exchange { display: inline-block; padding: 5px 15px; background: #e4393c; color: #fff; border-radius: 3px; font-size: 12px; }
.btn-exchange.disabled { background: #ccc; cursor: not-allowed; }

/* VIP */
.vip-list { display: flex; flex-wrap: wrap; gap: 20px; }
.vip-card { width: calc(33.333% - 14px); border: 2px solid #eee; border-radius: 8px; overflow: hidden; transition: border-color 0.2s; }
.vip-card:hover { border-color: #f0a020; }
.vip-card-head { background: linear-gradient(135deg, #f0a020, #e09010); padding: 15px; text-align: center; }
.vip-card-head h3 { color: #fff; font-size: 18px; font-weight: bold; }
.vip-card-price { padding: 20px; text-align: center; border-bottom: 1px solid #eee; }
.vip-price-symbol { font-size: 16px; color: #e4393c; }
.vip-price-num { font-size: 36px; font-weight: bold; color: #e4393c; }
.vip-price-unit { font-size: 14px; color: #999; }
.vip-card-features { padding: 15px; }
.vip-card-features p { padding: 4px 0; font-size: 13px; color: #666; }
.vip-card-action { padding: 15px; text-align: center; }
.btn-vip-buy { display: inline-block; padding: 8px 30px; background: #f0a020; color: #fff; border-radius: 4px; font-weight: bold; }
.btn-vip-buy:hover { background: #e09010; color: #fff; }

.vip-features { padding: 10px 0; }
.vip-features li { padding: 6px 0; font-size: 13px; color: #666; }
.vip-features strong { color: #333; }

/* 收藏列表 */
.favor-list { }
.favor-item { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #eee; }
.favor-thumb { width: 80px; height: 60px; flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.favor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.favor-info { flex: 1; }
.favor-info h3 { font-size: 14px; margin-bottom: 5px; }
.favor-meta { font-size: 12px; color: #999; }
.favor-action { display: flex; flex-direction: column; gap: 5px; }
.favor-action a { padding: 5px 15px; border-radius: 3px; font-size: 12px; text-align: center; }
.favor-action .btn-view { background: #f0f0f0; color: #666; border: 1px solid #ddd; }
.favor-action .btn-del { background: #fff; color: #e4393c; border: 1px solid #e4393c; }

/* 站内信 */
.msg-unread { color: #e4393c; }
.msg-read { color: #ccc; }

/* 地址管理 */
.avatar-box { display: flex; align-items: center; gap: 15px; }
.avatar-preview { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid #eee; }

/* ========== 13. 认证标识 ========== */
.vip-flag { background: linear-gradient(135deg, #f0a020, #e09010); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-left: 5px; }
.auth-flag { background: #52a532; color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 2px; margin-left: 5px; }

/* ========== 14. 企业列表 ========== */
.company-list { }
.company-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.company-logo { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; border-radius: 4px; border: 1px solid #eee; }
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-info { flex: 1; }
.company-info h3 { font-size: 15px; margin-bottom: 8px; }
.company-info h3 a { color: #333; }
.company-info h3 a:hover { color: #e4393c; }
.company-bus { color: #999; font-size: 13px; margin-bottom: 5px; }
.company-meta { font-size: 12px; color: #999; }
.company-meta span { margin-right: 15px; }
.company-action { display: flex; flex-direction: column; gap: 8px; width: 100px; }
.company-action a { text-align: center; padding: 6px 0; border-radius: 3px; font-size: 13px; }

/* ========== 15. 企业商铺 ========== */
.co-show { }
.co-banner { width: 100%; height: 200px; overflow: hidden; margin-bottom: 0; }
.co-banner img { width: 100%; height: 200px; object-fit: cover; }

.co-header { display: flex; align-items: center; gap: 20px; padding: 20px; background: #fff; border-bottom: 1px solid #eee; }
.co-logo { width: 100px; height: 100px; flex-shrink: 0; overflow: hidden; border-radius: 4px; border: 2px solid #eee; }
.co-logo img { width: 100%; height: 100%; object-fit: cover; }
.co-base { flex: 1; }
.co-base h1 { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.co-bus { color: #666; font-size: 14px; margin-bottom: 5px; }
.co-loc { color: #999; font-size: 13px; }
.co-actions { display: flex; flex-direction: column; gap: 10px; }
.co-actions a { padding: 8px 25px; border-radius: 4px; text-align: center; }
.co-actions .btn-contact { background: #2c6dad; color: #fff; }
.co-actions .btn-inquiry { background: #e4393c; color: #fff; }

.co-nav { background: #f5f5f5; border-bottom: 1px solid #e0e0e0; }
.co-nav ul { display: flex; }
.co-nav li a { display: block; padding: 10px 25px; color: #666; font-size: 14px; }
.co-nav li a:hover { color: #e4393c; }
.co-nav li.cur a { background: #fff; color: #2c6dad; font-weight: bold; border-top: 2px solid #2c6dad; }

.co-section { background: #fff; margin-bottom: 15px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.co-section-hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eee; }
.co-section-hd h3 { font-size: 16px; font-weight: bold; }
.co-section-hd .more a { font-size: 13px; color: #999; }
.co-section-bd { padding: 15px 20px; }

.co-intro { line-height: 2; color: #666; }
.co-intro a { color: #2c6dad; }
.co-contact-list li { padding: 8px 0; }
.co-contact-list span { color: #999; display: inline-block; width: 80px; }

/* ========== 16. 登录/注册页 ========== */
.member-auth { display: flex; justify-content: center; padding: 20px 0; }
.auth-box { width: 450px; background: #fff; border-radius: 4px; padding: 30px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.auth-head { text-align: center; margin-bottom: 25px; }
.auth-head h1 { font-size: 22px; font-weight: bold; margin-bottom: 8px; }
.auth-sub { font-size: 13px; color: #999; }

.auth-type { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; padding: 15px; background: #f8f8f8; border-radius: 4px; }
.auth-type-item { cursor: pointer; font-size: 14px; }

.auth-form { }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-label { display: block; margin-bottom: 6px; color: #666; font-size: 13px; }
.auth-form .form-label em { color: #e4393c; font-style: normal; }
.auth-form .form-input { width: 100%; height: 40px; border: 1px solid #ddd; border-radius: 4px; padding: 0 12px; }
.form-group-captcha { display: flex; align-items: flex-end; gap: 10px; }
.form-group-captcha .form-input { flex: 1; }
.captcha-img { height: 40px; cursor: pointer; border-radius: 4px; }
.form-group-agree { font-size: 13px; color: #999; }
.form-group-agree a { color: #2c6dad; }
.form-group-extra { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.form-group-extra .forget-link { color: #2c6dad; }

.auth-form .btn-submit { width: 100%; height: 42px; font-size: 15px; }

.auth-third { margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; }
.auth-third-title { text-align: center; color: #999; font-size: 13px; margin-bottom: 15px; }
.auth-third-list { display: flex; justify-content: center; gap: 20px; }
.auth-third-list a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 13px; }
.third-qq { background: #12b7f5; }
.third-wx { background: #09bb07; }
.third-alipay { background: #1678ff; }

/* ========== 17. 扩展页面 ========== */
.ext-page { }
.article-page { }
.article-head { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.article-title { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.article-meta { color: #999; font-size: 13px; }
.article-content { line-height: 2; padding: 10px 0 30px; min-height: 200px; }
.article-content img { max-width: 100%; height: auto; }
.article-footer { padding: 15px 0; border-top: 1px solid #eee; }

/* 留言板 */
.guestbook-list { }
.guestbook-item { padding: 15px 0; border-bottom: 1px solid #eee; }
.gb-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.gb-name { font-weight: bold; color: #333; }
.gb-date { color: #999; font-size: 12px; }
.gb-content { color: #666; }
.gb-title { font-weight: bold; margin-bottom: 5px; }
.gb-reply { margin-top: 10px; padding: 10px 15px; background: #f8f8f8; border-radius: 4px; border-left: 3px solid #2c6dad; }
.gb-reply-title { color: #2c6dad; font-weight: bold; margin-bottom: 5px; }

/* 投票 */
.vote-page { }
.vote-head { text-align: center; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.vote-head h2 { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.vote-meta { color: #999; font-size: 13px; }
.vote-options { }
.vote-option { padding: 12px 0; border-bottom: 1px solid #eee; }
.vote-option label { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 8px; }
.vote-opt-text { font-size: 14px; }
.vote-bar { position: relative; height: 24px; background: #f0f0f0; border-radius: 12px; overflow: hidden; }
.vote-bar-inner { height: 100%; background: linear-gradient(90deg, #2c6dad, #1a8acb); border-radius: 12px; transition: width 0.5s; }
.vote-bar-num { position: absolute; right: 10px; top: 0; line-height: 24px; font-size: 12px; color: #666; }
.vote-submit { display: flex; align-items: center; gap: 20px; padding: 20px 0; }
.vote-total { color: #999; font-size: 14px; }

/* 网站地图 */
.sitemap { }
.sitemap-section { margin-bottom: 20px; padding: 15px; background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.sitemap-section h3 { font-size: 16px; font-weight: bold; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.sitemap-section h3 a { color: #2c6dad; }
.sitemap-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.sitemap-cats li a { display: inline-block; padding: 4px 12px; background: #f5f5f5; border-radius: 3px; font-size: 13px; color: #666; }
.sitemap-cats li a:hover { background: #2c6dad; color: #fff; }

/* 友情链接 */
.link-list { display: flex; flex-wrap: wrap; gap: 15px; }
.link-item { display: flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid #eee; border-radius: 4px; color: #666; }
.link-item img { max-height: 40px; }
.link-item:hover { border-color: #2c6dad; color: #2c6dad; }

/* ========== 18. 分页 ========== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 20px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 13px; color: #666; background: #fff; }
.pagination a:hover { border-color: #2c6dad; color: #2c6dad; }
.pagination .pg-cur { background: #2c6dad; color: #fff; border-color: #2c6dad; font-weight: bold; }
.pagination .pg-disabled { color: #ccc; cursor: not-allowed; }
.pagination .pg-ellipsis { border: 0; background: transparent; }
.pagination .pg-info { border: 0; color: #999; background: transparent; margin-left: 10px; }

/* ========== 19. 页脚 ========== */
.dt-footer { background: #2a2a2a; color: #999; padding: 30px 0 0; margin-top: 20px; }
.dt-footer-link { display: flex; gap: 40px; padding-bottom: 25px; border-bottom: 1px solid #3a3a3a; }
.dt-fl-block { flex: 1; }
.dt-fl-block h4 { color: #ddd; font-size: 14px; margin-bottom: 12px; }
.dt-fl-block ul li { padding: 4px 0; }
.dt-fl-block a { color: #999; font-size: 12px; }
.dt-fl-block a:hover { color: #fff; }
.dt-contact li { color: #999; font-size: 12px; }

.dt-friendlink { padding: 15px 0; border-bottom: 1px solid #3a3a3a; font-size: 12px; }
.dt-fl-title { color: #666; }
.dt-friendlink a { color: #999; margin-right: 12px; }
.dt-friendlink a:hover { color: #fff; }

.dt-copyright { padding: 20px 0; text-align: center; font-size: 12px; color: #666; }
.dt-copyright p { margin-bottom: 5px; }
.dt-copyright a { color: #666; }
.dt-powered { color: #555 !important; }

/* ========== 20. 回到顶部 ========== */
#back-to-top { position: fixed; right: 30px; bottom: 50px; width: 44px; height: 44px; background: rgba(0,0,0,0.5); border-radius: 4px; cursor: pointer; display: none; z-index: 999; }
#back-to-top::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid #fff; margin-top: 4px; }
#back-to-top:hover { background: rgba(0,0,0,0.7); }

/* ========== 21. 标签模板样式 ========== */
.tag-list { }
.tag-list li { padding: 5px 0; border-bottom: 1px dashed #eee; overflow: hidden; }
.tag-list li a { color: #666; }
.tag-list li a:hover { color: #e4393c; }

.tag-thumb { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-thumb-item { width: calc(50% - 5px); display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #eee; }
.tag-thumb-item img { width: 60px; height: 45px; object-fit: cover; border-radius: 3px; }

.tag-table { width: 100%; }
.tag-table th { background: #f5f5f5; padding: 8px; font-size: 13px; }
.tag-table td { padding: 8px; border-bottom: 1px solid #eee; font-size: 13px; }

/* ========== 22. 响应式设计 ========== */
@media screen and (max-width: 1200px) {
    .container { width: 100%; padding: 0 15px; }
    .dt-main-inner { flex-direction: column; }
    .dt-sidebar { width: 100%; }
    .thumb-list-5 li { width: calc(25% - 12px); }
    .thumb-list-6 li { width: calc(25% - 12px); }
}

@media screen and (max-width: 768px) {
    body { font-size: 13px; }
    .dt-topbar { font-size: 11px; height: 28px; line-height: 28px; }
    .dt-topbar .container { flex-direction: column; align-items: flex-start; }

    .dt-header { padding: 12px 0; }
    .dt-header .container { flex-direction: column; gap: 12px; }
    .dt-logo { width: 100%; text-align: center; }
    .dt-logo img { max-height: 45px; }
    .dt-search { width: 100%; }
    .dt-header-right { flex-direction: row; width: 100%; justify-content: center; }

    .dt-navbar { height: auto; position: relative; background: #2c6dad; }
    .dt-nav-toggle {
        display: block;
        background: none;
        border: none;
        padding: 10px 15px;
        cursor: pointer;
        width: 100%;
        text-align: left;
    }
    .dt-nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }
    .dt-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .dt-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .dt-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .dt-nav-menu {
        display: none;
        flex-direction: column;
        background: #2c6dad;
        padding: 0;
        margin: 0;
    }
    .dt-nav-menu.active {
        display: flex;
    }
    .dt-nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .dt-nav-menu li:last-child {
        border-bottom: none;
    }
    .dt-nav-menu li a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        color: #fff;
    }
    .dt-nav-menu li a:hover {
        background: rgba(255,255,255,0.1);
    }
    .dt-nav-menu li.active a {
        background: rgba(255,255,255,0.15);
    }

    .dt-main { padding: 10px 0; }
    .dt-content { padding: 12px; }

    .home-banner { flex-direction: column; }
    .home-slider { height: 200px; }
    .home-slide img, .home-slide-ph { height: 200px; }
    .home-quick { width: 100%; }

    .home-row { flex-direction: column; }

    .thumb-list-4 li, .thumb-list-5 li, .thumb-list-6 li { width: calc(50% - 8px); }
    .thumb-img img { height: 120px; }

    .mod-head { flex-wrap: wrap; gap: 8px; }
    .mod-head h1 { font-size: 17px; }
    .mod-head .btn-post { margin-left: 0; }

    .filter-row { flex-direction: column; }
    .filter-label { width: auto; margin-bottom: 3px; }

    .mod-item { flex-direction: column; gap: 10px; }
    .mod-item-thumb { width: 100%; height: 180px; }
    .mod-item-action { flex-direction: row; width: 100%; }
    .mod-item-action a { flex: 1; }

    .show-main { flex-direction: column; }
    .show-gallery { width: 100%; }
    .show-pic-main { height: 300px; }
    .show-attrs { width: 100%; }

    .mcard { flex-direction: column; text-align: center; }
    .mquick { gap: 10px; }
    .mquick-item { width: calc(25% - 8px); padding: 10px 5px; }

    .auth-box { width: 100%; padding: 20px; }

    .form-table th { width: auto; text-align: left; display: block; padding-bottom: 2px; }
    .form-table td { display: block; }
    .form-input, .form-input-lg { width: 100%; }

    .vip-card { width: 100%; }
    .gift-item { width: 100%; }

    .company-item { flex-direction: column; text-align: center; }
    .company-action { flex-direction: row; width: 100%; }
    .company-action a { flex: 1; }

    .co-header { flex-direction: column; text-align: center; }

    .dt-footer-link { flex-direction: column; gap: 20px; }

    .show-actions { flex-wrap: wrap; }

    #back-to-top { right: 15px; bottom: 30px; width: 40px; height: 40px; }
}

@media screen and (max-width: 480px) {
    .thumb-list-4 li, .thumb-list-5 li, .thumb-list-6 li { width: 100%; }
    .mquick-item { width: calc(33.333% - 7px); }
    .recharge-quick { gap: 8px; }
    .recharge-item { width: calc(33.333% - 6px); }
}

/* ========== 22. 企业官网门户风格 ========== */
.portal-site { background: #f5f5f5; }

/* 顶部工具栏 */
.portal-toolbar { background: #1a2f4e; color: #b8c4d6; font-size: 12px; height: 36px; line-height: 36px; }
.portal-toolbar .container { display: flex; justify-content: space-between; align-items: center; }
.portal-toolbar a { color: #b8c4d6; margin-left: 15px; }
.portal-toolbar a:hover { color: #fff; }

/* 企业头部 */
.portal-header { background: #fff; padding: 25px 0; border-bottom: 3px solid #1a3a5c; }
.portal-header .container { display: flex; justify-content: space-between; align-items: center; }
.portal-brand { display: flex; align-items: center; gap: 18px; }
.portal-logo { width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; border-radius: 6px; border: 1px solid #e0e0e0; }
.portal-logo img { width: 100%; height: 100%; object-fit: cover; }
.portal-brand-text h1 { font-size: 26px; font-weight: bold; color: #1a3a5c; line-height: 1.3; }
.portal-slogan { font-size: 14px; color: #888; margin-top: 5px; }

.portal-header-contact { display: flex; align-items: center; }
.portal-phone { display: flex; align-items: center; gap: 12px; }
.portal-phone-icon { width: 46px; height: 46px; line-height: 46px; text-align: center; background: #e4393c; color: #fff; border-radius: 50%; font-size: 11px; font-weight: bold; }
.portal-phone-label { font-size: 12px; color: #999; }
.portal-phone-num { font-size: 22px; font-weight: bold; color: #e4393c; }

/* 企业导航 */
.portal-nav { background: #1a3a5c; }
.portal-nav-list { display: flex; }
.portal-nav-list li { position: relative; }
.portal-nav-list li a { display: block; padding: 14px 28px; color: #c8d4e6; font-size: 15px; font-weight: 500; transition: all 0.2s; }
.portal-nav-list li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.portal-nav-list li.cur a { color: #fff; background: #e4393c; }

/* Banner 区 */
.portal-banner { position: relative; height: 320px; overflow: hidden; }
.portal-banner-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8f 50%, #1a3a5c 100%); }
.portal-banner-bg::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.08)"/></svg>'); }
.portal-banner-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.portal-banner-info { color: #fff; max-width: 600px; }
.portal-banner-info h2 { font-size: 36px; font-weight: bold; margin-bottom: 12px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.portal-banner-bus { font-size: 18px; margin-bottom: 20px; opacity: 0.9; }
.portal-banner-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.portal-banner-tags span { display: inline-block; padding: 5px 16px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; font-size: 13px; }
.portal-banner-tags .portal-vip-tag { background: #e4393c; border-color: #e4393c; font-weight: bold; }
.portal-banner-actions { display: flex; gap: 15px; }
.portal-btn { display: inline-block; padding: 10px 30px; border-radius: 4px; font-size: 14px; font-weight: 500; text-align: center; transition: all 0.2s; cursor: pointer; }
.portal-btn-primary { background: #e4393c; color: #fff; }
.portal-btn-primary:hover { background: #d02020; color: #fff; }
.portal-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.portal-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.portal-btn-contact { display: block; width: 100%; margin-top: 15px; background: #1a3a5c; color: #fff; padding: 10px; border-radius: 4px; text-align: center; }
.portal-btn-contact:hover { background: #152d48; color: #fff; }

/* 主体布局 */
.portal-main { padding: 30px 0; }
.portal-layout { display: flex; gap: 25px; }
.portal-content { flex: 1; min-width: 0; }
.portal-sidebar { width: 300px; flex-shrink: 0; }

/* 通用区块 */
.portal-section { background: #fff; border-radius: 6px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.portal-section-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #f0f0f0; }
.portal-section-head h3 { font-size: 17px; font-weight: bold; color: #333; display: flex; align-items: center; gap: 10px; }
.portal-section-bar { display: inline-block; width: 4px; height: 18px; background: #e4393c; border-radius: 2px; }
.portal-more { font-size: 13px; color: #999; }
.portal-more:hover { color: #e4393c; }
.portal-section-body { padding: 20px 24px; }
.portal-empty { color: #ccc; text-align: center; padding: 30px 0; }
.portal-readmore { color: #e4393c; margin-left: 5px; }

/* 企业介绍 */
.portal-intro-text { line-height: 2; color: #666; font-size: 14px; }
.portal-intro-full { line-height: 2; color: #555; font-size: 14px; }
.portal-intro-full img { max-width: 100%; height: auto; }
.portal-intro-full p { margin-bottom: 15px; }

/* 产品网格 */
.portal-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.portal-product-card { border: 1px solid #f0f0f0; border-radius: 6px; overflow: hidden; transition: all 0.2s; }
.portal-product-card:hover { border-color: #e4393c; box-shadow: 0 3px 12px rgba(228,57,60,0.12); transform: translateY(-2px); }
.portal-product-img { display: block; width: 100%; height: 150px; overflow: hidden; background: #f5f5f5; }
.portal-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.portal-product-card:hover .portal-product-img img { transform: scale(1.05); }
.portal-product-info { padding: 10px 12px; }
.portal-product-title { display: block; font-size: 13px; color: #333; line-height: 1.4; height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.portal-product-title:hover { color: #e4393c; }
.portal-product-price { font-size: 14px; color: #e4393c; font-weight: bold; margin-top: 6px; }

/* 新闻列表 */
.portal-news-list { }
.portal-news-item { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px dashed #eee; }
.portal-news-item:last-child { border-bottom: none; }
.portal-news-date { width: 55px; flex-shrink: 0; text-align: center; background: #f5f5f5; border-radius: 4px; padding: 6px 0; }
.portal-news-day { display: block; font-size: 22px; font-weight: bold; color: #1a3a5c; line-height: 1; }
.portal-news-month { display: block; font-size: 11px; color: #999; margin-top: 2px; }
.portal-news-content { flex: 1; }
.portal-news-content a { font-size: 14px; color: #555; line-height: 1.5; }
.portal-news-content a:hover { color: #e4393c; }

/* 荣誉资质 */
.portal-honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.portal-honor-card { text-align: center; }
.portal-honor-img { display: block; width: 100%; height: 120px; overflow: hidden; border: 1px solid #eee; border-radius: 4px; margin-bottom: 8px; }
.portal-honor-img img { width: 100%; height: 100%; object-fit: cover; }
.portal-honor-title { font-size: 12px; color: #666; line-height: 1.4; height: 32px; overflow: hidden; }

/* 侧边栏卡片 */
.portal-card { background: #fff; border-radius: 6px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.portal-card-head { padding: 14px 18px; background: #f8f8f8; border-bottom: 1px solid #f0f0f0; }
.portal-card-head h4 { font-size: 15px; font-weight: bold; color: #333; }
.portal-card-body { padding: 18px; }

/* 企业名片 */
.portal-profile-name { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.portal-profile-name span { font-size: 16px; font-weight: bold; color: #1a3a5c; }
.portal-vip-badge { display: inline-block; padding: 2px 8px; background: #e4393c; color: #fff; border-radius: 3px; font-size: 11px; font-weight: bold; }
.portal-profile-list li { padding: 6px 0; font-size: 13px; color: #666; }
.portal-profile-list span { color: #999; }

/* 联系方式卡片 */
.portal-card-contact .portal-card-head { background: #1a3a5c; }
.portal-card-contact .portal-card-head h4 { color: #fff; }
.portal-contact-phone { text-align: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; margin-bottom: 15px; }
.portal-contact-label { font-size: 12px; color: #999; }
.portal-contact-num { font-size: 24px; font-weight: bold; color: #e4393c; }
.portal-contact-list li { padding: 6px 0; font-size: 13px; color: #666; }
.portal-contact-list span { color: #999; }

/* 联系方式详情页 */
.portal-contact-detail { padding: 10px 0; }
.portal-contact-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.portal-contact-row:last-child { border-bottom: none; }
.portal-contact-icon { width: 50px; height: 50px; line-height: 50px; text-align: center; border-radius: 50%; color: #fff; font-size: 12px; font-weight: bold; flex-shrink: 0; }
.portal-contact-icon-phone { background: #e4393c; }
.portal-contact-icon-mail { background: #1a3a5c; font-size: 20px; }
.portal-contact-icon-fax { background: #2c8f5f; }
.portal-contact-icon-addr { background: #d97706; font-size: 10px; }
.portal-contact-icon-qq { background: #12b7f5; }
.portal-contact-info { flex: 1; }
.portal-contact-value { font-size: 16px; color: #333; font-weight: 500; margin-top: 3px; }
.portal-contact-value a { color: #1a3a5c; }
.portal-contact-actions { text-align: center; padding: 25px 0 10px; }

/* 页脚 */
.portal-footer { background: #1a2a42; color: #889; }
.portal-footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 30px 0; border-bottom: 1px solid #2a3a52; }
.portal-footer-info h4 { font-size: 18px; color: #d0d8e8; margin-bottom: 8px; }
.portal-footer-info p { font-size: 13px; }
.portal-footer-contact p { font-size: 13px; padding: 3px 0; }
.portal-footer-contact span { color: #677; }
.portal-footer-bottom { padding: 18px 0; text-align: center; font-size: 12px; color: #556; }
.portal-footer-bottom a { color: #779; }
.portal-footer-bottom a:hover { color: #aab; }

/* ========== 移动端适配（核心！） ========== */
@media (max-width: 1024px) {
    .portal-product-grid { grid-template-columns: repeat(3, 1fr); }
    .portal-honor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* 容器调整 */
    .portal-toolbar { display: none; }
    .portal-header { padding: 15px 0; }
    .portal-header .container { flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 15px; }
    .portal-brand-text h1 { font-size: 20px; }
    .portal-slogan { font-size: 13px; }
    .portal-phone-num { font-size: 18px; }
    
    /* 导航横向滚动 */
    .portal-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .portal-nav::-webkit-scrollbar { display: none; }
    .portal-nav-list { flex-wrap: nowrap; padding: 0; }
    .portal-nav-list li a { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
    
    /* Banner适配 */
    .portal-banner { height: auto; min-height: 200px; padding: 30px 0; }
    .portal-banner-content { padding: 0 15px; }
    .portal-banner-info { width: 100%; }
    .portal-banner-info h2 { font-size: 22px; margin-bottom: 8px; }
    .portal-banner-bus { font-size: 14px; margin-bottom: 12px; }
    .portal-banner-tags { gap: 6px; margin-bottom: 15px; }
    .portal-banner-tags span { font-size: 11px; padding: 3px 10px; }
    .portal-banner-actions { flex-direction: column; gap: 8px; }
    .portal-btn { width: 100%; padding: 10px 15px; font-size: 14px; }
    
    /* 主内容单列布局 */
    .portal-layout { flex-direction: column; gap: 15px; }
    .portal-content { width: 100%; }
    .portal-sidebar { width: 100%; order: 2; }
    
    /* 区块调整 */
    .portal-section-head { padding: 12px 15px; }
    .portal-section-head h3 { font-size: 15px; }
    .portal-section-body { padding: 15px; }
    
    /* 产品网格 */
    .portal-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .portal-product-img { height: 120px; }
    .portal-product-title { font-size: 12px; height: 32px; }
    .portal-product-price { font-size: 13px; }
    
    /* 新闻列表 */
    .portal-news-item { gap: 12px; padding: 10px 0; }
    .portal-news-date { width: 45px; padding: 4px 0; }
    .portal-news-day { font-size: 18px; }
    .portal-news-content a { font-size: 13px; }
    
    /* 荣誉资质 */
    .portal-honor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .portal-honor-img { height: 100px; }
    
    /* 联系方式 */
    .portal-contact-row { gap: 12px; padding: 12px 0; }
    .portal-contact-icon { width: 40px; height: 40px; line-height: 40px; font-size: 10px; }
    .portal-contact-value { font-size: 14px; }
    
    /* 页脚 */
    .portal-footer-top { flex-direction: column; gap: 15px; padding: 20px 15px; }
    .portal-footer-bottom { padding: 12px 15px; font-size: 11px; }
}

@media (max-width: 480px) {
    .portal-brand-text h1 { font-size: 18px; }
    .portal-banner-info h2 { font-size: 18px; }
    .portal-product-grid { grid-template-columns: 1fr; }
    .portal-honor-grid { grid-template-columns: 1fr; }
    .portal-news-item { flex-direction: column; align-items: flex-start; gap: 6px; }
    .portal-news-date { width: auto; display: flex; gap: 6px; align-items: center; padding: 2px 8px; }
    .portal-contact-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}/* ===== article_list.html styles ===== */
.art-list-page{background:#fff;border-radius:4px;padding:0}
.art-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e8e8e8;background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%)}
.art-head h1{font-size:22px;font-weight:700;color:#1a1a1a;margin:0}
.art-post-btn{display:inline-block;padding:8px 20px;background:#1F4E79;color:#fff;border-radius:4px;font-size:14px;text-decoration:none}
.art-post-btn:hover{background:#153a5c}
.art-catnav{padding:16px 24px;border-bottom:1px solid #f0f0f0;background:#fafafa}
.art-catnav .catnav-row{display:flex;align-items:center;flex-wrap:wrap}
.art-catnav .catnav-label{font-size:14px;font-weight:600;color:#666;margin-right:12px;white-space:nowrap}
.art-catnav .catnav-items{display:flex;flex-wrap:wrap;gap:8px}
.art-catnav .catnav-items a{display:inline-block;padding:4px 12px;border-radius:3px;font-size:13px;color:#555;text-decoration:none;transition:all .2s}
.art-catnav .catnav-items a:hover{background:#e8f0fe;color:#1F4E79}
.art-catnav .catnav-items a.cur{background:#1F4E79;color:#fff}
.art-block{padding:20px 24px;border-bottom:1px solid #f0f0f0}
.art-block:last-child{border-bottom:none}
.art-block-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.art-block-hd h2{font-size:18px;font-weight:700;color:#1a1a1a;margin:0;padding-left:12px;border-left:4px solid #1F4E79}
.art-thumb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;list-style:none;margin:0;padding:0}
.art-thumb-list>li{display:flex;flex-direction:column;background:#fff;border:1px solid #eee;border-radius:6px;overflow:hidden;transition:box-shadow .2s}
.art-thumb-list>li:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}
.art-thumb-img{display:block;position:relative;width:100%;height:160px;overflow:hidden;background:#f5f5f5}
.art-thumb-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.art-thumb-list>li:hover .art-thumb-img img{transform:scale(1.05)}
.art-tag-elite{position:absolute;top:8px;right:8px;background:#ff6b35;color:#fff;font-size:12px;padding:2px 8px;border-radius:3px;font-weight:600}
.art-thumb-info{padding:14px 16px;flex:1;display:flex;flex-direction:column}
.art-thumb-title{font-size:15px;font-weight:600;color:#1a1a1a;text-decoration:none;line-height:1.5;margin-bottom:8px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.art-thumb-title:hover{color:#1F4E79}
.art-thumb-intro{font-size:13px;color:#666;line-height:1.6;margin:0 0 10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.art-thumb-meta{display:flex;gap:12px;font-size:12px;color:#999;margin-top:auto}
.art-text-list{list-style:none;margin:0;padding:0}
.art-text-list>li{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px dashed #eee}
.art-text-list>li:last-child{border-bottom:none}
.art-text-title{font-size:15px;color:#333;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;margin-right:12px}
.art-text-title:hover{color:#1F4E79}
.art-text-date{font-size:13px;color:#999;white-space:nowrap}
.art-more{text-align:right;padding:12px 0 0}
.art-more a{font-size:13px;color:#1F4E79;text-decoration:none}
.art-more a:hover{text-decoration:underline}

/* ===== 友情链接 ===== */
.friend-link-section{width:100%;background:#fff;border-top:1px solid #eee;padding:20px 0}
.friend-link-section .container{display:flex;align-items:center;gap:30px}
.friend-link-label{font-size:16px;color:#333;font-weight:600;white-space:nowrap;flex-shrink:0}
.friend-link-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;flex:1;align-items:start}
.friend-link-list a{font-size:14px;color:#888;text-decoration:none;transition:color .2s;padding:8px 12px;background:#fafafa;border-radius:4px;display:block}
.friend-link-list a:hover{color:#333;background:#f0f0f0}
