/* 基础重置 - 仅针对footer，不影响全局，重点清ul默认缩进 */
.webfoot, .webfoot * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none; /* 清列表圆点 */
    text-decoration: none;
}
.clear {clear: both;}
/* 1440px公共容器 - 所有内容必包在里面，防溢出 */
.clear:after{display:block;overflow:hidden;clear:both;height:0;visibility:hidden;content:"."}
.w1440 {
    width: 1440px;
    margin: 0 auto;
    position: relative;
}

/* 外层容器 - 紧凑高度，原图背景色 */
.webfoot {
    background: #474747;
    color: #ccc;
    padding: 20px 0 0;
    overflow: hidden;
}

/* 第一组：Logo + 搜索框 - 独立布局，和原图一致 */
.webfoot_top {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.webfoot_logo img {
    display: block!important; /* 清图片默认空隙 */
}
.webfoot_logo a{display:table-cell;vertical-align:middle;width:100%;height:60px;overflow:hidden}
.webfoot_logo a img{max-width:100%;height:auto;max-height:100%}
/* 搜索框 - 紧凑尺寸，右对齐 */
.webfoot_search {
    display: flex;
    align-items: center;
}
.webfoot_search input {
    height: 32px;
    padding: 0 10px;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 14px;
    border-radius: 4px 0 0 4px; /* 左上、左下圆角 */
    border-right: none; /* 隐藏输入框右侧边框，和按钮无缝衔接 */
}
.webfoot_search button {
    height: 32px;
    width: 32px;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0; /* 右上、右下圆角 */
    border-left: none; /* 隐藏按钮左侧边框，和输入框无缝衔接 */
}
.webfoot_search button img {
    width: 16px;
    height: 16px;
}

/* 中间分割线 - 严格在1440容器内，无偏移 */
.webfoot_line {
    height: 1px;
    background: #f5f5f5; /* 原图深灰线 */
    margin-bottom: 20px;
}

/* 第二组：导航+热线+二维码 - 核心修正：清缩进、准宽度、不溢出 */
.webfoot_main {
    margin-bottom: 20px;
    overflow: visible; /* 强制隐藏意外溢出，双重保险 */
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:35px 0;
}
/* 左侧导航 - 左浮动，宽度精准适配，无额外缩进 */
.webfoot_nav {
    width: auto!important; /* 精准调窄，避免溢出，5列均分 */
    float: none;
    flex:1;
    margin-right: 40px; /* 清容器默认内边距 */
    padding-right:40px!important;
}
.webfoot_nav ul {
    display: flex;
    justify-content: flex-start; /* 左对齐，和logo基准一致 */
    flex-wrap: nowrap;
    gap: 40px; /* 5列之间的间距，精准控制，不推右 */
    padding: 0 !important; /* 彻底清ul默认左内边距，核心修正点！ */
    margin: 0;
}
.webfoot_nav li {
    width: 100%!important; /* 取消固定宽度，按内容自适应，不挤 */
    padding:0 15px!important;
}
.webfoot_nav .nav_title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}
.webfoot_nav a {
    color: #ccc;
    font-size: 14px;
    display: block;
    margin: 6px 0;
    line-height: 1.2;
}
.webfoot_nav ul li a{display:block;height:40px;overflow:hidden;line-height:40px;color:#fff;font-size:18px;font-weight:300;white-space:nowrap;text-overflow:ellipsis;position:relative}
.webfoot_nav a:hover {
    color: #366092!important;
    cursor: pointer;
}

/* 中间热线 - 左浮动，宽度适配，不偏移 */
.webfoot_hotline {
    width: 20%; /* 精准宽度 */
    float: none;
    text-align: right;
    padding-top: 8px; /* 轻微上移，和原图视觉对齐 */
    margin-right: 250px;
}
.webfoot_hotline .hotline_title {
    background: #fff;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 18px;
}
.webfoot_hotline .hotline_time {
    font-size: 16px;
    margin-bottom: 18px;
}
.webfoot_hotline .hotline_num {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}

/* 新增：热线与二维码之间的竖分割线 */
.webfoot_divider {
    width: 1px;
    background: #f5f5f5; /* 和截图一致的灰色分割线 */
    margin: 0 20px; /* 分割线左右留间距，和截图一致 */
    align-self: stretch; /* 让分割线高度和热线+二维码的高度一致 */
    height: 170px;
    position: absolute;
    right: 170px; /* 二维码宽度130px + 10px间距 */
}
/* 右侧二维码 - 右浮动，严格贴容器右边界，不溢出 */
.webfoot_ewm {
    width: 10%!important; /* 精准宽度 */
    float: none;
    text-align: center;
    padding: 0; /* 清默认内边距 */
    align-self: flex-start;
    position: absolute;
    right: -10px;
}
.webfoot_ewm p{width:100%;height:auto;overflow:hidden;margin-bottom:12px;padding:7px;background:url(../images/ewmline.png) center top no-repeat;background-size:100% 100%}
.webfoot_ewm p img{display:block;width:100%;height:auto;margin:0 auto}
.webfoot_ewm span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #ccc;
    width: 100%;
    line-height: 24px;
    text-align: center;
}

/* 第三组：黑色版权栏 - 紧凑，内容不偏移 */
.webfoot_bottom {
    background: #222;
    padding: 12px 0;
    color: #999;
    font-size: 12px;
    overflow: hidden; /* 防版权内容溢出 */
}
.webfoot_bottom .copyright_left {
    float: left;
}
.copyright_left a {
    color:#999
}
.copyright_left a:hover {
    color:#fff
}
.webfoot_bottom .copyright_right {
    float: right;
}
.webfoot_bottom .copyright_right a {
    color: #999;
    margin-left: 15px;
}
.webfoot_bottom .copyright_right a:hover {
    color: #fff;
}
/* 原有搜索框样式（无需修改，保留即可） */
.webfoot_search {
    display: flex;
    align-items: center;
}
.webfoot_search input.search_input {
    height: 32px;
    padding: 0 10px;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 14px;
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.webfoot_search input.search_btn {
    height: 32px;
    width: 32px;
    border: none;
    background: #fff;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    border-left: none;
    /* 新增：隐藏提交按钮的默认文字 */
    color: transparent;
    position: relative;
}
/* 放大镜图片：绝对定位居中，和原有样式一致 */
.webfoot_search img {
    position: absolute;
    top: 50%;
    left: 98.9%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* 自适应 */
/* 大桌面 (1440px-1660px) - 保持原布局，但容器宽度自适应 */
@media screen and (min-width: 1441px) and (max-width: 1660px) {
    .w1440 {
        width: 100%;
        max-width: 1440px;
    }
}

/* 中桌面 (1200px-1439px) */
@media screen and (max-width: 1440px) {
    .w1440 {
        width: 100%;
        max-width: 1130px;
        padding: 0;
    }
    
    .webfoot_nav ul {
        gap: 30px;
    }
    
    .webfoot_nav li {
        padding: 0 10px !important;
    }
    
    .webfoot_hotline {
        margin-right: 200px;
    }
    
    .webfoot_divider {
        right: 130px;
    }
    
    .webfoot_ewm{
        right:0;
    }
    
    .webfoot_ewm p {
        width: 120px;
        height: 120px;
    }
}
    
/* 小桌面 (1024px-1199px) */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
    .w1440 {
        width: 100%;
        max-width: 960px;
        padding: 0 0 25px 0;
        margin: auto;
        position:relative;
    }
    
    .webfoot_nav ul {
        gap: 20px;
    }
    
    .webfoot_nav li {
        padding: 0 8px !important;
    }
    
    .webfoot_nav .nav_title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .webfoot_nav a {
        font-size: 13px;
    }
    
    .webfoot_hotline {
        margin-right: 200px;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 18px;
        padding: 8px 15px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 10px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 20px;
    }
    
    .webfoot_divider {
        right: 130px;
        height: 150px;
    }
    
    .webfoot_ewm {
        right: 0;
    }
    
    .webfoot_ewm p {
        width: 110px;
        height: 110px;
    }
    .webfoot_search img {
    top: 36%;
    left: 98.6%;
    }
}

/* 平板横屏 (768px-1023px) */
@media screen and (max-width: 1024px) {
    .w1440 {
        width: 100%;
        max-width: 720px;
        padding: 0;
    }
    
    .webfoot_main {
        flex-wrap: wrap;
        padding: 25px 0;
    }
    
    .webfoot_nav {
        display: flex!important;
        flex: 1;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .webfoot_nav ul {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .webfoot_nav li {
        flex: 0 0 calc(20% - 12px);
        padding: 0 5px !important;
    }
    
    .webfoot_nav .nav_title {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .webfoot_nav a {
        font-size: 12px;
        margin: 4px 0;
    }
    
    .webfoot_nav ul li a {
        font-size: 14px;
        height: 35px;
        line-height: 35px;
    }
    
    .webfoot_hotline {
        flex: 1;
        margin-right: 0;
        text-align: right;
        padding-top: 0;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 18px;
    }
    
    .webfoot_divider {
        display: block;
        position: static;
        width: 1px;
        height: 150px;
        margin: 0 20px;
        align-self: self-start;
    }
    
    .webfoot_ewm {
        position: static;
        flex: 0 0 auto;
        width: auto !important;
    }
    
    .webfoot_ewm p {
        width: 100px;
        height: 100px;
    }
    
    .copyright_left, 
    .copyright_right {
        float: none;
        width: 100%;
        text-align: center;
    }
    
    .copyright_left {
        margin-bottom: 10px;
    }
    
    .copyright_right a {
        display: inline-block;
        margin: 0 10px 5px;
    }
    
    .webfoot_logo a img {
        max-width:80%
    }
    
    .webfoot_search img{
        left:98%;
    }
}

/* 平板竖屏  */
@media screen and (max-width: 768px) {
    .w1440 {
        padding: 0 15px;
        width:100%;
        max-width:576px;
    }
    
    .webfoot_top {
        flex-wrap: wrap;
        flex-direction:column;
    }
    
    .webfoot_logo {
        flex: 0 0 100%;
        margin-bottom: 0;
        padding:0 0 0 9%;
        text-align: center;
    }
    
    .webfoot_logo a {
        display: inline-block;
    }
    
    .webfoot_search {
        flex: 0 0 100%;
        justify-content: center;
    }
    
    .webfoot_search form {
        width: 100%;
        max-width: 400px;
    }
    
    .webfoot_search img {
        top:87%;
        left:67%;
    }
    
    .webfoot_main {
        flex-wrap: wrap;
        padding: 20px 0;
    }
    
    .webfoot_nav {
        display:none!important;
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 25px;
    }
    
    .webfoot_nav ul {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    
    .webfoot_nav li {
        flex: 0 0 calc(33.333% - 10px);
        padding: 0 5px !important;
    }
    
    .webfoot_nav .nav_title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .webfoot_nav a {
        font-size: 12px;
        margin: 3px 0;
    }
    
    .webfoot_nav ul li a {
        font-size: 14px;
        height: 30px;
        line-height: 30px;
    }
    
    .webfoot_hotline {
        flex: 0 0 100%;
        margin-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 15px;
        padding: 5px 10px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 18px;
    }
    
    .webfoot_divider {
        display: none;
    }
    
    .webfoot_ewm {
        position: static;
        flex: 0 0 100%;
        width: 100% !important;
    }
    
    .webfoot_ewm p {
        width: 100px;
        height: 100px;
        margin: 0 auto 8px;
    }
    
    .copyright_right a {
        margin: 0 8px 5px;
    }
}

/* 手机横屏 (480px-575px) */
@media screen and (min-width: 480px) and (max-width: 575px) {
    .w1440 {
        padding: 0 12px;
        width:100%;
        max-width:480px;
    }
    
    .webfoot_top {
    flex-direction:column;
    }
    
    .webfoot_search {
    display: none;
    }
    
    .webfoot_nav li {
        flex: 0 0 calc(50% - 10px);
        margin-bottom: 15px;
    }
    
    .webfoot_nav .nav_title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .webfoot_nav a {
        font-size: 11px;
    }
    
    .webfoot_nav ul li a {
        font-size: 13px;
        height: 28px;
        line-height: 28px;
    }
    
    .webfoot_divider {
    display:none;
    }
    
    .webfoot_hotline {
    display:flex;
    flex: 0 0 100%;
    flex-direction:column;
    align-items:center;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 14px;
        padding: 4px 8px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 12px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 16px;
    }
    
    .webfoot_ewm p {
        width: 90px;
        height: 90px;
    }
}

/* 手机竖屏 (320px-479px) */
@media screen and (min-width: 320px) and (max-width: 479px) {
    .w1440 {
        padding: 0 10px;
        width:100%;
        max-width:320px;
        justify-content:center;
    }
    
    .webfoot_logo a {
        height: 50px;
    }
    
    .webfoot_search {
    display:none;
    }
    
    .webfoot_search input {
        height: 28px;
        font-size: 12px;
    }
    
    .webfoot_search button {
        height: 28px;
        width: 28px;
    }
    
    .webfoot_search img {
        width: 14px;
        height: 14px;
    }
    
    .webfoot_nav li {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .webfoot_nav .nav_title {
        font-size: 13px;
    }
    
    .webfoot_nav a {
        font-size: 10px;
    }
    
    .webfoot_nav ul li a {
        font-size: 12px;
        height: 25px;
        line-height: 25px;
    }
    
    .webfoot_divider {
    display:none;
    }
    
    .webfoot_hotline {
    display:flex;
    flex: 0 0 100%;
    flex-direction:column;
    align-items:center;
    margin:0;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 13px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 11px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 15px;
    }
    
    .webfoot_ewm p {
        width: 80px;
        height: 80px;
    }
    
    .webfoot_ewm span {
        font-size: 12px;
    }
    
    .webfoot_bottom {
        font-size: 11px;
    }
    
    .copyright_right a {
        font-size: 11px;
        margin: 0 5px 3px;
    }
}

/* 超小手机 (小于320px) */
@media screen and (max-width: 319px) {
    .w1440 {
        padding: 0 8px;
        width:100%;
        max-width:319px;
        justify-content:center;
    }
    
    .webfoot_logo a {
        height: 45px;
    }
    
    .webfoot_search {
    display:none;
    }
    
    .webfoot_search input {
        height: 26px;
        font-size: 11px;
        padding: 0 8px;
    }
    
    .webfoot_search button {
        height: 26px;
        width: 26px;
    }
    
    .webfoot_search img {
        width: 12px;
        height: 12px;
    }
    
    .webfoot_nav .nav_title {
        font-size: 12px;
    }
    
    .webfoot_nav a {
        font-size: 9px;
    }
    
    .webfoot_nav ul li a {
        font-size: 11px;
        height: 22px;
        line-height: 22px;
    }
    
    .webfoot_divider {
    display:none;
    }
    
    .webfoot_hotline {
    display:flex;
    flex: 0 0 100%;
    flex-direction:column;
    align-items:center;
    margin:0;
    }
    
    .webfoot_hotline .hotline_title {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .webfoot_hotline .hotline_time {
        font-size: 10px;
    }
    
    .webfoot_hotline .hotline_num {
        font-size: 14px;
    }
    
    .webfoot_ewm p {
        width: 70px;
        height: 70px;
    }
    
    .webfoot_ewm span {
        font-size: 11px;
    }
    
    .webfoot_bottom {
        font-size: 10px;
    }
    
    .copyright_right a {
        font-size: 10px;
        margin: 0 4px 2px;
    }
}