/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}
a:hover {
    color: #00a8e2;
}
ul, li {
    list-style: none;
}
img {
    max-width: 100%;
    vertical-align: middle;
    border: none;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}

/* 头部 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}
.logo img {
    height: 60px;
}
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 50px;
    overflow: hidden;
    width: 380px;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 15px;
    height: 42px;
    font-size: 14px;
}
.search-btn {
    width: 50px;
    height: 42px;
    background: #00a8e2;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-btn img {
    width: 18px;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.consult {
    display: flex;
    align-items: center;
    gap: 8px;
}
.consult img {
    width: 24px;
}
.consult-tel {
    font-size: 18px;
    font-weight: bold;
    color: #00a8e2;
}

/* 导航 */
.nav-list {
    display: flex;
    align-items: center;
}
.nav-link {
    display: block;
    color: #fff;
    padding: 15px 25px;
    font-size: 16px;
}
.nav-link:hover, .nav-link.active {
    background: #008ec2;
}

/* 面包屑 */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: #666;
}
.breadcrumb span {
    color: #999;
    margin: 0 5px;
}
.breadcrumb .current {
    color: #00a8e2;
    font-weight: 500;
}

/* 快速咨询 */
.quick-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.quick-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.quick-item {
    flex: 1;
    min-width: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.quick-item:hover {
    background: #e6f7ff;
    color: #00a8e2;
}
.quick-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}
.quick-item p {
    font-size: 13px;
    color: #666;
}

/* 内容布局 */
.content-wrap {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}
.main-content {
    flex: 1;
}
.sidebar {
    width: 320px;
}

/* 问答分类 */
.ask-tab {
    background: #fff;
    border-radius: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    height: 50px;
    align-items: center;
}
.ask-tab a {
    font-size: 15px;
    color: #666;
    padding: 5px 10px;
    border-radius: 4px;
}
.ask-tab a:hover, .ask-tab a.active {
    background: #00a8e2;
    color: #fff;
}

/* 问答列表 */
.ask-list {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.ask-item {
    padding: 20px;
    border-bottom: 1px solid #f5f7fa;
    transition: 0.3s;
}
.ask-item:last-child {
    border-bottom: none;
}
.ask-item:hover {
    background: #fafbfc;
}
.question {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.question::before {
    content: "Q";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #00a8e2;
    color: #fff;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
}
.answer {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    padding-left: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}
.ask-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 20px;
    padding-left: 30px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}
.page-item a {
    display: block;
    padding: 8px 14px;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}
.page-item a.active, .page-item a:hover {
    background: #00a8e2;
    color: #fff;
    border-color: #00a8e2;
}

/* 侧边栏 */
.widget {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.widget-title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 2px solid #00a8e2;
    margin-bottom: 15px;
    position: relative;
}
.widget-title::after {
    content: "";
    width: 60px;
    height: 2px;
    background: #00a8e2;
    position: absolute;
    bottom: -2px;
    left: 0;
}
.hot-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.hot-list li:last-child {
    border-bottom: none;
}
.hot-list a {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hot-list a:hover {
    color: #00a8e2;
}

/* 标签云 */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tags a {
    padding: 5px 10px;
    background: #f5f7fa;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}
.tags a:hover {
    background: #00a8e2;
    color: #fff;
}

/* 底部 */
.footer {
    background: #2a3340;
    padding: 40px 0 20px;
    color: #ccc;
    margin-top: 50px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #3a4452;
}
.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}
.footer-link {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 14px;
}
.footer-link:hover {
    color: #00a8e2;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #999;
}
.footer-bottom p {
    margin-bottom: 8px;
}




/* 全局重置 */

/* 面包屑 */
.breadcrumb {background:#fff;padding:15px 0;border-bottom:1px solid #eee;margin-bottom:20px;font-size:14px;color:#666;}
.breadcrumb a {color:#666;}
.breadcrumb span {margin:0 5px;color:#999;}
.breadcrumb .current {color:#00a8e2;font-weight:500;}

/* 布局 */
.content-wrap {display:flex;justify-content:space-between;gap:25px;}
.main {flex:1;}
.sidebar {width:320px;}

/* 问答卡片 */
.ask-card {background:#fff;border-radius:12px;padding:35px;box-shadow:0 2px 12px rgba(0,0,0,0.04);margin-bottom:25px;}
.ask-title {font-size:22px;font-weight:bold;margin-bottom:12px;display:flex;align-items:center;gap:10px;}
.ask-title i {background:#00a8e2;color:#fff;font-style:normal;padding:2px 10px;border-radius:4px;font-size:14px;}
.ask-desc {font-size:16px;color:#555;margin-bottom:20px;background:#f8f9fa;padding:15px;border-radius:8px;}
.ask-meta {font-size:14px;color:#999;display:flex;gap:20px;flex-wrap:wrap;}

/* 回答 */
.answer-card {background:#fff;border-radius:12px;padding:35px;box-shadow:0 2px 12px rgba(0,0,0,0.04);margin-bottom:25px;}
.answer-hd {font-size:16px;font-weight:bold;margin-bottom:20px;color:#333;padding-left:10px;border-left:4px solid #00a8e2;display:flex;align-items:center;gap:8px;}
.answer-hd img {width:20px;}
.answer-content {font-size:16px;line-height:1.9;color:#444;}
.answer-content p {margin-bottom:15px;}
.answer-tip {background:#fff0f0;border-left:4px solid #ff6666;padding:15px;margin:20px 0;border-radius:0 8px 8px 0;font-size:15px;}
.answer-tip a {color:#ff6666;font-weight:bold;}

/* 相关问答 */
.relate-box {background:#fff;border-radius:12px;padding:25px;}
.relate-title {font-size:16px;font-weight:bold;margin-bottom:15px;color:#333;padding-left:10px;border-left:4px solid #00a8e2;}
.relate-list {display:flex;flex-wrap:wrap;gap:10px;}
.relate-list li {width:calc(50% - 5px);}
.relate-list a {font-size:15px;display:block;padding:8px 12px;background:#f8f9fa;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.relate-list a:hover {background:#e6f7ff;color:#00a8e2;}

/* 侧边栏 */
.widget {background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;}
.widget-title {font-size:16px;font-weight:bold;padding-bottom:12px;border-bottom:2px solid #00a8e2;margin-bottom:15px;}
.hot-list li {padding:10px 0;border-bottom:1px dashed #eee;}
.hot-list li:last-child {border-bottom:none;}
.hot-list a {font-size:14px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}

/* 底部 */
.footer {background:#2a3340;padding:40px 0 20px;color:#ccc;margin-top:50px;}
.footer-top {display:flex;justify-content:space-between;flex-wrap:wrap;gap:30px;padding-bottom:30px;border-bottom:1px solid #3a4452;}
.footer-col h3 {color:#fff;font-size:16px;margin-bottom:15px;}
.footer-link {display:block;color:#ccc;margin-bottom:8px;font-size:14px;}
.footer-link:hover {color:#00a8e2;}
.footer-bottom {text-align:center;padding-top:20px;font-size:13px;color:#999;}
.footer-bottom p {margin-bottom:8px;}