/* 自定义样式 - 替代内联样式 */

/* 效果展示部分 */
.effect-section {
    padding: 40px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    padding: 10px;
    font-size: 30px;
    color: #151515;
    font-weight: bold;
}

.section-desc {
    text-align: center;
    padding: 10px;
    font-size: 18px;
    color: #151515;
}

.effect-img {
    text-align: center;
    padding: 20px 0;
}

.effect-img img {
    max-width: 100%;
    height: auto;
}

/* FAQ 常见问题部分 */
.faq-section {
    background: #FFFFFF;
    padding: 30px 20px;
    margin-top: 30px;
    max-width: 1215px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    text-align: center;
    padding: 8px;
    font-size: 25px;
    color: #151515;
    font-weight: bold;
    margin-bottom: 20px;
}

.faq-list {
    margin: 0;
    padding: 0;
}

.faq-question {
    background: #BDBDBD;
    padding: 15px;
    font-size: 16px;
    color: #FAFAFA;
    margin-top: 17px;
    font-weight: bold;
}

.faq-answer {
    margin-left: 39px;
    padding: 15px 0;
    font-size: 14px;
    color: #6E6E6E;
    line-height: 1.8;
}

/* 快捷操作按钮 */
.wx_box {
    position: fixed;
    width: 150px;
    top: 470px;
    right: 0;
    z-index: 999999;
    transform: translateY(-150px);
}

.wx_box a {
    display: block;
    width: 150px;
    height: 65px;
    background-image: url(../images/button.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    line-height: 65px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: .5s;
    text-decoration: none;
}

.wx_box a:hover {
    color: #000;
    background-color: #fff;
}

/* 返回顶部 */
.go-top-wrapper {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
}

.go-top-wrapper .box {
    text-align: center;
    cursor: pointer;
}

.go-top-wrapper .box p {
    color: #fff;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.go-top-wrapper .box img {
    display: block;
    margin: 0 auto;
}

/* 修复核心功能文字错位问题 */
.hxgn .content .content-body .content-li {
    height: auto !important;
    min-height: 250px;
    padding-bottom: 30px;
}

.hxgn .content .content-body .content-li .after {
    height: 100%;
}

.hxgn .content .content-body .content-li .after p {
    min-height: 60px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    .faq-section {
        padding: 20px 15px;
        width: 100%;
    }
    
    .faq-title {
        font-size: 20px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 12px;
    }
    
    .faq-answer {
        margin-left: 20px;
        font-size: 13px;
    }
    
    .wx_box {
        width: 120px;
    }
    
    .wx_box a {
        width: 120px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
}

/* 主内容区域 */
.main {
    width: 75rem;
    margin: 0 auto;
    padding: 40px 0;
}

@media (max-width: 1200px) {
    .main {
        width: 100%;
        padding: 20px;
    }
}

/* 内容标题 */
.content_head {
    font-size: 28px;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
}

/* 友情链接优化 */
.foot_list {
    text-align: center;
    padding: 20px;
    line-height: 2;
}

.foot_list a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.foot_list a:hover {
    color: #ff6e29;
}

/* H1 logo 样式 - 移除内联样式 */
.logo h1, .logo-h1 {
    margin: 0 !important;
    padding: 0 !important;
}

/* 注册按钮样式 - 移除内联样式 */
.register-btn {
    color: red !important;
}

/* 修复安全保障区域的 subtitle 颜色问题 */
.advert-box .safe-box .subtitle,
.safe-box .subtitle {
    color: #7a869e !important;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 50px;
    font-size: 16px;
}

/* ===== 强制修复核心功能区域高度问题 ===== */
.main-function.hxgn .content .content-body .content-li,
.hxgn.container .content .content-body .content-li,
section.hxgn .content .content-body .content-li {
    height: auto !important;
    min-height: 250px !important;
    padding-bottom: 30px !important;
    vertical-align: top !important;
    overflow: visible !important;
}

.main-function.hxgn .content .content-body .content-li .after,
.hxgn.container .content .content-body .content-li .after,
section.hxgn .content .content-body .content-li .after {
    height: auto !important;
    overflow: visible !important;
}

.main-function.hxgn .content .content-body .content-li .after p,
.hxgn.container .content .content-body .content-li .after p,
section.hxgn .content .content-body .content-li .after p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.6em !important;
}

/* hover 状态也要修复 */
.main-function.hxgn .content .content-body .content-li:hover,
.hxgn.container .content .content-body .content-li:hover,
section.hxgn .content .content-body .content-li:hover {
    height: auto !important;
    min-height: 250px !important;
}
