/* ===== 通用样式 ===== */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.title {
    text-align: center;
    margin-bottom: 30px;
}
.title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}
.title p {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}
.breadcrumbs {
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.breadcrumbs .container {
    display: flex;
    font-size: 14px;
    color: #666;
}
.breadcrumbs a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}
.breadcrumbs a:hover {
    color: #0066cc;
}

/* ===== Banner修复 ===== */
#mslider {
    display: block !important;
    width: 100% !important;
    height: 600px !important;
    overflow: hidden;
}
.swiper-container {
    width: 100%;
    height: 600px;
}

/* ===== more按钮 ===== */
.more {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #188cc3;
    color: #188cc3;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
    margin-top: 15px;
}
.more:hover {
    background: #188cc3;
    color: #fff;
}
.more i {
    margin-left: 5px;
}

/* ===== 公司环境卡片 ===== */
.serviceitem {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.serviceitem:hover {
    transform: translateY(-3px);
}
.serviceitem .details {
    display: inline-block;
    padding: 5px 15px;
    color: #188cc3;
    text-decoration: none;
    font-size: 13px;
}
.serviceitem .details:hover {
    text-decoration: underline;
}

/* ===== 产品卡片样式 ===== */
.projectitem {
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.projectitem:hover {
    transform: translateY(-5px);
}
.projectitem .project_img img {
    width: 100%;
    height: auto;
    display: block;
}
.projectitem .project_info {
    padding: 15px;
}
.projectitem .project_info .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.projectitem .details {
    display: inline-block;
    padding: 5px 15px;
    margin: 10px 15px 15px;
    border: 1px solid #ccc;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}
.projectitem .details:hover {
    background: #188cc3;
    color: #fff;
    border-color: #188cc3;
}

/* ===== 新闻模块样式 ===== */
.news_page {
    padding: 30px 0;
    background: #f9f9f9;
}
.news_intro,
.news_content {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.news_intro p {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}
.news_content ul {
    padding-left: 0;
    list-style: none;
}
.news_content li {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    overflow: hidden;
}
.news_content li:last-child {
    border-bottom: none;
}
.news_content .date {
    float: left;
    width: 120px;
    color: #999;
    font-size: 14px;
    line-height: 24px;
}
.news_content a {
    display: block;
    margin-left: 130px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    text-decoration: none;
    transition: color 0.3s;
}
.news_content a:hover {
    color: #0066cc;
}
.news_content p {
    margin-left: 130px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== 首页新闻卡片修复 ===== */
.newstitem {
    background: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    padding: 0;
}
.newstitem .date {
    position: relative;
    z-index: 2;
    background: #fff;
    display: inline-block;
    padding-right: 10px;
    margin-bottom: 0;
}
.newstitem .date .md {
    font-size: 14px;
    color: #999;
}
.newstitem .date .year {
    font-size: 14px;
    color: #999;
    margin-left: 2px;
}
.newstitem .separator {
    margin-top: 5px;
    margin-bottom: 10px;
    height: 1px;
    background: #e0e0e0;
    width: 100%;
}
.newstitem .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.newstitem .newscontent {
    display: block;
    padding: 20px;
    text-decoration: none;
}
.newstitem .details {
    display: inline-block;
    margin: 0 20px 15px;
    color: #188cc3;
    text-decoration: none;
    font-size: 13px;
}
.newstitem .details:hover {
    text-decoration: underline;
}

/* ===== 生产设备页面样式 ===== */
.device_page {
    padding: 30px 0;
    background: #f9f9f9;
}
.device_intro {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.device_intro p {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}
.device_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.device_item {
    width: 31%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-radius: 5px;
}
.device_img {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}
.device_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
}
.device_item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}
.device_item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* ===== 联系我们页面样式 ===== */
.contact_page {
    padding: 30px 0;
    background: #f9f9f9;
}
.contact_intro {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.contact_intro p {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}
.contact_content {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    gap: 30px;
}
.contact_info {
    width: 35%;
}
.contact_info h3,
.contact_map h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.contact_info p {
    line-height: 2;
    font-size: 15px;
    color: #666;
}
.contact_info strong {
    color: #333;
}
.contact_map {
    width: 60%;
}
#map p {
    color: #666;
    font-size: 15px;
    text-align: center;
}

/* ===== 联系我们模块减少上方空白 ===== */
#mcontact {
    padding-top: 10px !important;
    margin-top: 0 !important;
}

/* ===== 设备轮播区域背景 ===== */
#mteam.bgShow {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== 悬浮电话 ===== */
.float_tel {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    width: 60px;
    height: 60px;
}
.float_tel img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    cursor: pointer;
}
.float_tel img:hover {
    transform: scale(1.1);
}

/* ===== Swiper按钮样式 ===== */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* ===== 底部页脚 ===== */
#footer {
    background: #1a1a1a;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ===== 隐藏空分页 ===== */
.pages-div {
    display: none;
}
/* ===== 修复新闻模块长横线 ===== */
#indexPage #newslist .newstitem .newsbody .date::before {
    display: none !important;
}
#indexPage #newslist .newsbody .separator {
    display: none !important;
}

/* ===== 修复产品与服务 more 按钮（黑框改白底蓝字） ===== */
.projectitem .details {
    display: inline-block !important;
    padding: 8px 20px !important;
    border: 1px solid #188cc3 !important;
    color: #188cc3 !important;
    background: #fff !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    margin: 10px auto !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    transition: all 0.3s !important;
}
.projectitem .details:hover {
    background: #188cc3 !important;
    color: #fff !important;
}
.projectitem .details i {
    margin-left: 5px;
}

/* 产品卡片居中 */
.projectitem {
    text-align: center;
}

/* ===== 修复关于我们模块 ===== */
#mpage .content p.description {
    position: relative !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    width: 80% !important;
    max-width: 900px !important;
    margin: 180px auto 20px !important;
    padding: 30px 40px !important;
    height: auto !important;
    min-height: 120px !important;
    line-height: 32px !important;
    font-size: 15px !important;
    color: #555 !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 5px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    z-index: 2 !important;
}
#mpage .des-wrap {
    position: relative;
    z-index: 2;
}
#indexPage #mpage .wrapper li .fimg {
    width: 50% !important;
    height: 600px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1 !important;
}
#indexPage #mpage a.more {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 15px auto 40px !important;
    display: inline-block !important;
    z-index: 2 !important;
}

/* ===== 设备模块 more 按钮 ===== */
#mteam a.more {
    display: inline-block !important;
    padding: 8px 20px !important;
    border: 1px solid #188cc3 !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    margin: 20px auto !important;
}
#mteam a.more:hover {
    background: rgba(255,255,255,0.2) !important;
}

/* ===== 新闻 more 按钮 ===== */
#mnews a.more {
    display: inline-block !important;
    padding: 8px 20px !important;
    border: 1px solid #188cc3 !important;
    color: #188cc3 !important;
    background: #fff !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    margin: 20px auto !important;
}
#mnews a.more:hover {
    background: #188cc3 !important;
    color: #fff !important;
}
/* 新闻卡片悬停效果 */
.newstitem {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.newstitem:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}
/* 设备卡片悬停效果 */
#mteam img[style*="border-radius: 50%"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#mteam a:hover img[style*="border-radius: 50%"] {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
/* 产品与服务底部 MORE 按钮 */
#mproject a.more-btn {
    display: inline-block !important;
    padding: 8px 25px !important;
    border: 1px solid #188cc3 !important;
    color: #188cc3 !important;
    background: #fff !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    margin: 20px auto 0 !important;
    transition: all 0.3s !important;
}
#mproject a.more-btn:hover {
    background: #188cc3 !important;
    color: #fff !important;
}
/* 强制清理下拉菜单里残留的模板样式 */
#header ul li.navitem ul.subnav li a {
    text-indent: 0 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 14px 0 !important;
    background: none !important;
    color: #666 !important;
}
#header ul li.navitem ul.subnav li a:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
}
/* ===== 修复产品列表页布局 ===== */
.npagePage #projectlist .projectitem a .project_info div {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: 50px !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
}
.npagePage #projectlist .projectitem a .project_info p {
    position: relative !important;
    padding: 10px 15px !important;
}
.npagePage #projectlist .projectitem a .project_info .title {
    font-size: 15px !important;
    color: #333 !important;
    font-weight: bold !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}
.npagePage #projectlist .projectitem a .project_info .subtitle {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    overflow: visible !important;
}
.npagePage #projectlist .projectitem {
    margin-bottom: 25px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s !important;
}
.npagePage #projectlist .projectitem:hover {
    transform: translateY(-5px) !important;
}
/* ===== 修复产品列表图片显示 ===== */
.npagePage #projectlist .project_img {
    height: auto !important;
    overflow: visible !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.npagePage #projectlist .project_img img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
.npagePage #projectlist .projectitem {
    padding-top: 15px !important;
}
/* ===== 产品列表图片垂直居中 ===== */
.npagePage #projectlist .project_img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 260px !important;
    overflow: hidden !important;
    background: #fafafa !important;
}
.npagePage #projectlist .project_img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}