/* 清除浮动通用类 */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.clearfix {
    zoom: 1;
}

/* 外层容器 */
.consult-wrap {
    width: 100%;
    background: #ffffff;
    padding: 10px 0;
}
.consult-container {
    width: 100%;
}
.consult-content-box {
    width: 100%;
}
.consult-news-block {
    width: 100%;
}

/* 表单盒子主体 */
.consult-form-box {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 0 40px 40px;
}

/* 表单整体 */
.consult-form {
    width: 100%;
}
.consult-form-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.consult-form-list dl {
    margin: 0;
}
.consult-form-list dt {
    width: 140px;
    float: left;
    line-height: 48px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}
.consult-form-list dd {
    margin-left: 140px;
    margin-bottom: 20px;
    line-height: 48px;
}

/* 必填星号 */
.consult-star {
    color: #e53935;
    margin-left: 8px;
}

/* 输入框通用 */
.consult-input {
    width: 320px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    transition: border 0.2s;
}
.consult-input:focus {
    outline: none;
    border-color: #0058a8;
}

/* 文本域 */
.consult-textarea {
    width: 320px;
    height: 120px;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    resize: none;
    line-height: 1.6;
    transition: border 0.2s;
}
.consult-textarea:focus {
    outline: none;
    border-color: #0058a8;
}

/* 验证码行 */
.consult-code-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.consult-code-input {
    width: 120px;
}
.consult-code-img {
    height: 46px;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 4px;
}

/* 提交按钮区域 */
.consult-btn-wrap {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 0;
}
.consult-submit-btn {
    width: 220px;
    height: 48px;
    background: #0058a8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.consult-submit-btn:hover {
    background: #004587;
}

/* 移动端适配 768px以下 */
@media (max-width: 768px) {
    .consult-form-box {
        width: 94% !important;
        padding: 0 20px 30px;
    }
    .consult-form-list dt {
        width: 100%;
        float: none;
        line-height: 36px;
    }
    .consult-form-list dd {
        margin-left: 0;
    }
    .consult-input, .consult-textarea {
        width: 100%;
    }
    .consult-code-row {
        flex-wrap: wrap;
    }
}


