/* 舜佳联系页地图：高德地图官方嵌入页，沿用原版 .e_bmap-92 容器尺寸 */
#c_static_695-1710214778767 .e_bmap-92 .ne-contact-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #eef3f8;
}

#c_static_695-1710214778767 .e_bmap-92 .ne-contact-map-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 地图加高，并让左卡片与右地图上下齐平（原版 310px） */
#c_static_695-1710214778767 .e_bmap-92 {
    height: 420px;
}

#c_static_695-1710214778767 .e_container-5 {
    height: 420px;
    min-height: 420px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    #c_static_695-1710214778767 .e_bmap-92 {
        height: 320px;
    }

    #c_static_695-1710214778767 .e_container-5 {
        height: auto;
        min-height: 260px;
    }
}

/* 留言区 banner：与「公司简介」页 szccm 的 .common-banner 同款风格
   （整幅大图 + 左下角大标题 + 栏目切换；尺寸按 /company 实测值对齐） */
.ne-common-banner {
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: #0b1a2b;
}

/* 底部渐变遮罩：会议室原图下部偏亮，压一层暗色保证白字与白色按钮清晰 */
.ne-common-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

.ne-common-banner .pic img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ne-common-banner .text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: max(20px, 3.65vw);
    z-index: 2;
    width: 86%;
    max-width: 1700px;
}

.ne-common-banner .text .text-title {
    font-weight: bold;
    font-size: clamp(23px, 2.1vw, 30px);
    color: #ffffff;
    line-height: 1.25;
}

/* 栏目切换（复刻 szccm common.css 的 .cate-list 规则，主题色用舜佳蓝） */
.ne-common-banner .text .cate-list {
    display: flex;
    justify-content: flex-start;
    margin-top: max(20px, 2.6vw);
    overflow-x: auto;
    padding-left: 7px;
}

.ne-common-banner .text .cate-list .cate-item {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-wrap: break-word;
    width: max(130px, 10.1vw);
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1;
    font-weight: bold;
    font-size: clamp(16px, 1.1vw, 20px);
    color: #000000;
    transition: 0.45s;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px 0px 20px 0px;
    flex-shrink: 0;
    transform: skew(-5deg);
}

.ne-common-banner .text .cate-list .cate-item:not(:last-child) {
    margin-right: 5px;
}

.ne-common-banner .text .cate-list .cate-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #135f9d;
    z-index: -1;
    transition: 0.45s;
}

.ne-common-banner .text .cate-list .cate-item.active,
.ne-common-banner .text .cate-list .cate-item:hover {
    color: #ffffff;
}

.ne-common-banner .text .cate-list .cate-item.active::after,
.ne-common-banner .text .cate-list .cate-item:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* 栏目锚点：跳转时避开固定头部 */
#ne-map,
#ne-message {
    scroll-margin-top: 90px;
}

/* 面包屑（复刻 szccm common.css 的 .common-bread 规则） */
.ne-common-bread {
    display: flex;
    align-items: center;
    width: 86%;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ne-common-bread .link {
    font-weight: 400;
    font-size: clamp(14px, 1.05vw, 16px);
    color: rgba(0, 0, 0, 0.6);
    transition: 0.45s;
    display: flex;
    align-items: center;
}

.ne-common-bread .link:not(:last-child)::after {
    content: ">";
    margin-left: 3px;
    margin-right: 3px;
    color: rgba(0, 0, 0, 0.6);
}

@media screen and (max-width: 768px) {
    .ne-common-banner .text {
        width: 92%;
    }

    .ne-common-bread {
        width: 92%;
    }
}

/* 在线留言表单：蜜罐字段 + 提交结果提示 */
.ne-form-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.e_form-1 .ne-msg-form {
    display: none;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.e_form-1 .ne-msg-form.ok {
    display: block;
    color: #1a8f4c;
}

.e_form-1 .ne-msg-form.err {
    display: block;
    color: #d0121b;
}

.e_form-1 .e_formBtn-6.ne-busy {
    opacity: 0.6;
    pointer-events: none;
}

/* 验证码行：沿用原版表单样式，输入框 + 验证码图片并排 */
.e_form-1 .ne-captcha-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.e_form-1 .ne-captcha-row .p_input {
    flex: 0 0 150px;
    width: 150px;
    height: 40px;
}

.e_form-1 .ne-captcha-row .invalid-feedback {
    flex: 1 1 auto;
}

.e_form-1 .ne-captcha-img {
    flex: 0 0 auto;
    display: block;
    width: 114px;
    height: 40px;
    border: 1px solid #e3e8ef;
    border-radius: 2px;
    cursor: pointer;
    background: #f4f7fb;
}

/* ================================================================
   移动端 banner：必须放在文件末尾（前面的 @media 会被后面的基础规则覆盖）
   banner 高度要容得下「标题 + 栏目按钮」两层浮层（约 105px），
   原来只有图片自适应高度 ~123px，标题被顶到 y=-2 看不见、栏目压在最上方。
   ================================================================ */
@media screen and (max-width: 768px) {
    .ne-common-banner {
        height: 220px;
    }

    .ne-common-banner .pic img {
        height: 220px !important;
        object-fit: cover;
        object-position: center 45%;
    }

    .ne-common-banner .text {
        bottom: 16px;
    }

    .ne-common-banner .text .text-title {
        font-size: 21px;
    }

    .ne-common-banner .text .cate-list {
        margin-top: 14px;
        padding-left: 2px;
    }

    .ne-common-banner .text .cate-list .cate-item {
        width: 128px;
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 15px;
    }
}
