@CHARSET "UTF-8";
/* ========== 客服中心页面 - 全新样式 ========== */
/* 主题色: #173396 (深蓝) #FFE617 (亮黄) */

/* ========== 面包屑导航 ========== */
.bc-nav {
    width: 100%;
    height: 45px;
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    line-height: 45px;
}

.bc-nav > p {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bc-nav > p > a {
    color: #718096;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.bc-nav > p > a:hover {
    color: #173396;
}

/* ========== 页面主容器 ========== */
.help-box {
    width: 1200px;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    gap: 25px;
    padding: 30px 0;
}

/* ========== 左侧分类导航 ========== */
.help-left {
    width: 280px;
    min-width: 280px;
    float: none;
    margin: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(23,51,150,0.08);
    overflow: hidden;
    border: 1px solid rgba(23,51,150,0.06);
}

.h-title {
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #173396 0%, #1e3faa 100%);
    letter-spacing: 2px;
    position: relative;
}

.h-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FFE617;
    border-radius: 2px;
}

/* 分类列表 */
#parent > li {
    line-height: auto;
    display: block;
    border-bottom: 1px solid #f0f2f5;
}

#parent > li:last-child {
    border-bottom: none;
}

#parent > li > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #fafbfc;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}

#parent > li > span:hover {
    background: rgba(23,51,150,0.05);
    color: #173396;
}

/* 折叠箭头 */
.h-hide p,
.h-show p {
    margin: 0;
    float: none;
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #a0aec0;
    transition: transform 0.3s ease;
}

.h-show p {
    border-bottom: none;
    border-top: 6px solid #173396;
    transform: rotate(0deg);
}

/* 子列表 */
.h-list {
    border: none;
    padding: 8px 0;
    background: #fff;
}

.h-list li {
    width: auto;
    line-height: 20px;
    margin: 2px 10px;
    padding: 10px 15px;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #4a5568;
    position: relative;
}

.h-list li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c5cee0;
    transition: all 0.3s;
}

.h-list a:hover li {
    color: #173396;
    font-weight: 600;
    background: rgba(23,51,150,0.05);
}

.h-list a:hover li::before {
    background: #173396;
    width: 6px;
    height: 6px;
}

.h-curr {
    background: linear-gradient(90deg, rgba(23,51,150,0.1) 0%, rgba(255,230,23,0.05) 100%) !important;
    border: none !important;
    border-image: none !important;
    color: #173396 !important;
    font-weight: 700 !important;
}

.h-curr::before {
    background: #FFE617 !important;
    width: 6px !important;
    height: 6px !important;
    box-shadow: 0 0 6px rgba(255,230,23,0.4);
}

.h-hide ul {
    display: none;
}

.h-show ul {
    display: block;
}

/* ========== 右侧内容区域 ========== */
.help-right {
    flex: 1;
    overflow-x: hidden;
    min-height: 500px;
    background: #fff;
    float: none;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(23,51,150,0.08);
    border: 1px solid rgba(23,51,150,0.06);
    padding: 30px;
}

.b {
    border: none;
}

/* 文章标题 */
.h-right-title {
    width: 100%;
    margin: 0 0 25px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.h-right-title > h4 {
    float: none;
    font-size: 22px;
    color: #173396;
    font-weight: 700;
    margin: 0;
}

#square {
    margin: 0;
    width: 6px;
    height: 28px;
    background: linear-gradient(180deg, #173396, #FFE617);
    border-radius: 3px;
    float: none;
}

/* 文章内容 */
.h-content {
    padding: 20px 10px;
    width: auto;
    min-height: 300px;
    text-indent: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #4a5568;
}

.h-content img {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}

.h-content .head {
    padding-bottom: 26px;
}

.h-content .head p {
    float: left;
    min-width: 230px;
    font-size: 16px;
    height: 36px;
    line-height: 36px;
    border-bottom: 2px solid #173396;
}

.h-content .head p span {
    font-size: 28px;
    color: #173396;
}

.h-content h1 {
    text-align: center;
    color: #173396;
}

.h-content .cat-time {
    text-align: center;
    padding: 10px 0;
    color: #a0aec0;
    font-size: 13px;
}

/* ========== 解决评价区域 ========== */
.h-record {
    padding: 25px 0;
    width: 100%;
    margin-top: 30px;
    border-top: 2px solid #f0f2f5;
    text-align: center;
}

.h-record > p {
    padding: 10px;
    font-size: 16px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 15px;
}

.h-button {
    width: auto;
    min-width: 140px;
    height: 42px;
    color: #fff;
    margin: 5px;
    padding: 0 25px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.h-button:first-of-type {
    background: linear-gradient(135deg, #173396 0%, #1e3faa 100%);
    box-shadow: 0 4px 15px rgba(23,51,150,0.3);
}

.h-button:first-of-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23,51,150,0.4);
}

.h-button:last-of-type {
    background: linear-gradient(135deg, #FFE617 0%, #ffd700 100%);
    color: #173396;
    box-shadow: 0 4px 15px rgba(255,230,23,0.3);
}

.h-button:last-of-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,230,23,0.4);
}

/* ========== 清除浮动 ========== */
.c {
    clear: both;
}

/* ========== 旧样式覆盖 ========== */
.b-99 {
    background: linear-gradient(135deg, #173396 0%, #1e3faa 100%);
}

.b-lg {
    background: linear-gradient(135deg, #173396 0%, #1e3faa 100%);
}

/* ========== 新闻列表 ========== */
.news-list a,
.list-time {
    font-size: 13px;
    letter-spacing: 1px;
    color: #4a5568;
    text-decoration: none;
}

.news-list li {
    padding: 12px 8px;
    border-bottom: 1px dashed #e8ecf1;
    transition: all 0.3s;
}

.news-list li:hover {
    background: rgba(23,51,150,0.02);
}

.news-list a:hover {
    color: #173396;
}

.list-time {
    display: block;
    float: right;
    color: #a0aec0;
}

#g-square {
    margin: 8px 0;
    width: 4px;
    height: 4px;
    background: #173396;
    border-radius: 50%;
    float: left;
}

/* ========== 文章内容页 ========== */
.n-content {
    width: 100%;
    min-height: 300px;
    overflow: hidden;
}

.n-content img {
    width: 100%;
    border-radius: 12px;
}

/* ========== 分页 ========== */
.h-page {
    position: relative;
    width: 100%;
    height: 80px;
    padding: 20px 0;
}

.h-page .pagination .active {
    background: linear-gradient(135deg, #173396 0%, #1e3faa 100%);
    color: #fff;
    border-color: #173396;
    border-radius: 8px;
}

.h-page .pagination .disabled span,
.h-page .pagination .active span {
    left: 0;
    line-height: 32px;
    padding-left: 0;
}

.h-page .pagination {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.h-page .pagination li {
    margin: 0;
    width: auto;
    height: auto;
    border: 1px solid #e8ecf1;
    float: none;
    margin-left: 0;
    border-radius: 8px;
    transition: all 0.3s;
}

.h-page .pagination li:hover {
    border-color: #173396;
}

.h-page .pagination li a {
    display: block;
    padding: 8px 14px;
    line-height: 1;
    text-align: center;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .help-box {
        flex-direction: column;
        padding: 15px;
    }
    .help-left {
        width: 100%;
        min-width: auto;
    }
    .help-right {
        width: 100%;
    }
    .bc-nav > p {
        width: 100%;
        padding: 0 15px;
    }
}
