/* 博客风格模板 CSS - 玻璃拟态冷色调版 */
:root {
    --primary: #2b6cb0;
    --accent: #319795;
    --secondary: #805ad5;
    --bg: #f5f5f5;
    --card: #ffffff;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Microsoft YaHei', sans-serif; line-height: 1.8; color: var(--text); background: var(--bg); }
a { color: var(--primary); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* 容器 */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 顶部 */
.top { background: var(--card); margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.page-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }.page-header .logo { display: flex; align-items: center; gap: 15px; }.page-header .logo img { height: 100px; width: 100px; object-fit: cover; border-radius: 10px; }.site-name { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; }.header-info { font-size: 14px; color: var(--text-light); }
.navbar-header { display: flex; align-items: center; }
.navbar-toggle { color: var(--text); padding: 10px; cursor: pointer; font-size: 20px; background: none; border: none; }
.navbar-collapse { flex: 1; }
.navbar-collapse ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.navbar-collapse li { line-height: 50px; }
.navbar-collapse a { color: var(--text); padding: 0 20px; display: block; }
.navbar-collapse a:hover { background: rgba(0,0,0,0.05); color: var(--primary); }

/* Banner */
.home-banner { background: var(--card); padding: 20px 0; margin-bottom: 20px; }
.banner-slides { max-width: 1200px; margin: 0 auto; display: flex; gap: 15px; }
.slide-item { flex: 1; position: relative; border-radius: 8px; overflow: hidden; min-height: 300px; }
.slide-item img { width: 100%; height: 300px; object-fit: cover; }
.slide-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px; color: #fff; }
.slide-content h3 { font-size: 18px; margin-bottom: 8px; }
.slide-content p { font-size: 14px; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 服务优势 */
.section-features { background: var(--card); padding: 30px 0; margin-bottom: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { text-align: center; padding: 25px 15px; border-radius: 8px; background: var(--bg); transition: all 0.3s ease; }
.feature-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(43, 108, 176, 0.15); }
.feature-item i { font-size: 36px; color: var(--primary); margin-bottom: 15px; }
.feature-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.feature-item p { font-size: 13px; color: var(--text-light); }

/* 主内容区 */
.main { display: flex; gap: 20px; margin: 20px 0; }
.pb-content { flex: 1; min-width: 0; }
.sider { width: 300px; flex-shrink: 0; }

/* 内容块 */
.content-block { background: var(--card); padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.block-header h2 { font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.block-header h2 i { color: var(--primary); }
.block-header .more { font-size: 13px; color: var(--text-light); }
.block-header .more:hover { color: var(--primary); }

/* 列表项 */
.block-list { }
.list-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px dashed var(--border); }
.list-item:last-child { border-bottom: none; }
.item-img { flex: 0 0 180px; height: 120px; border-radius: 6px; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.list-item:hover .item-img img { transform: scale(1.05); }
.item-info { flex: 1; display: flex; flex-direction: column; }
.item-info h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.item-info h3 a { color: var(--text); }
.item-info h3 a:hover { color: var(--primary); }
.item-desc { flex: 1; font-size: 14px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.item-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 15px; }
.item-meta i { margin-right: 3px; }

/* 侧边栏 */
.right { }
.subblock { background: var(--card); padding: 15px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.right h3 { font-size: 16px; border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 15px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.right h3 i { color: var(--primary); }
.right li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.right li:last-child { border-bottom: none; }
.sideshow { display: flex; gap: 10px; align-items: center; }
.sideshow img { width: 70px; height: 55px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sideshow .info { flex: 1; min-width: 0; }
.sideshow a:not(.sideshow img) { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text); }
.sideshow a:hover { color: var(--primary); }
.datetime { font-size: 12px; color: var(--text-light); margin-top: 5px; display: block; }

/* 关于我们块 */
.about-block .about-content p { font-size: 14px; color: var(--text-light); margin-bottom: 15px; line-height: 1.7; }
.about-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.about-list li { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.about-list li i { color: var(--accent); font-size: 12px; }

/* 标签云 */
.tag_cloud a { display: inline-block; padding: 4px 12px; background: var(--bg); margin: 3px; border-radius: 4px; font-size: 13px; color: var(--text); transition: all 0.3s ease; }
.tag_cloud a:hover { background: var(--primary); color: #fff; }

/* 联系方式 */
.contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); padding: 8px 0; }
.contact-list li i { color: var(--primary); width: 20px; text-align: center; }

/* 服务流程 */
.section-process { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 40px 0; margin: 20px 0; }
.section-process .section-title { text-align: center; color: #fff; font-size: 22px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.process-steps { display: flex; justify-content: center; gap: 30px; }
.step-item { text-align: center; color: #fff; }
.step-num { width: 60px; height: 60px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; margin: 0 auto 15px; }
.step-content h3 { font-size: 16px; margin-bottom: 5px; }
.step-content p { font-size: 13px; opacity: 0.8; }

/* 底部 */
.footer { background: #2d3748; color: #a0aec0; padding: 30px 0; }
.copy { text-align: center; padding: 20px 0; font-size: 14px; }
.copy a { color: #a0aec0; }
.copy a:hover { color: #fff; }

/* 页面标题栏 */
.page-title-bar { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 30px 0; margin-bottom: 20px; }
.page-title-bar h1 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.page-title-bar .breadcrumb { color: rgba(255,255,255,0.8); font-size: 14px; }
.page-title-bar .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-title-bar .breadcrumb a:hover { color: #fff; }

/* 分类统计 */
.count { background: var(--bg); padding: 2px 8px; border-radius: 10px; font-size: 12px; margin-left: 5px; }

/* 分页 */
.pagebar { text-align: center; padding: 20px 0; }
.pagebar a, .pagebar span { display: inline-block; padding: 8px 14px; background: var(--card); margin: 0 3px; border-radius: 4px; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.1); font-size: 14px; }
.pagebar a:hover { background: var(--primary); color: #fff; }
.pagebar .pagenum { background: var(--primary); color: #fff; }

/* 内容容器 */
.content-wrapper { max-width: 800px; margin: 0 auto; }

/* 文章详情 */
.article-detail { background: var(--card); padding: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.detail-header { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.detail-title { font-size: 26px; color: var(--text); margin-bottom: 15px; line-height: 1.4; }
.detail-meta { display: flex; gap: 20px; font-size: 14px; color: var(--text-light); }
.detail-meta span { display: flex; align-items: center; gap: 5px; }
.detail-content { font-size: 15px; line-height: 1.9; color: var(--text); margin: 20px 0; }
.detail-content p { margin-bottom: 18px; }
.detail-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }
.detail-content h2, .detail-content h3, .detail-content h4 { margin: 25px 0 15px; color: var(--text); }
.detail-tags { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.detail-tags span { font-weight: 600; color: var(--text); }
.detail-tags a { padding: 4px 12px; background: var(--bg); color: var(--text-light); border-radius: 4px; font-size: 13px; }
.detail-tags a:hover { background: var(--primary); color: #fff; }

/* 相关推荐 - 正文下方 */
.related-section { margin-top: 30px; }
.related-title { font-size: 18px; color: var(--text); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--primary); }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-item { background: var(--bg); border-radius: 6px; overflow: hidden; transition: all 0.3s ease; }
.related-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.related-item img { width: 100%; height: 120px; object-fit: cover; }
.related-item h4 { padding: 12px; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-item h4 a { color: var(--text); }
.related-item h4 a:hover { color: var(--primary); }

/* 响应式 */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-slides { flex-direction: column; }
    .main { flex-direction: column; }
    .sider { width: 100%; }
    .process-steps { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .page-header { flex-direction: column; gap: 10px; }
    .navbar-collapse { display: none; }
    .navbar-collapse.active { display: flex; flex-direction: column; }
    .navbar-collapse a { padding: 0 15px; font-size: 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; }
    .item-img { flex: none; width: 100%; height: 180px; }
    .about-list { grid-template-columns: 1fr; }
    .step-item { flex: 0 0 calc(50% - 15px); }
}