﻿/* ===================== 全局基础样式（复用index.css核心初始化） ===================== */
@charset "utf-8";
/* 全局初始化 */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,p,blockquote,th,td{margin: 0;padding: 0;}
h1,h2,h3,h4,h5,h6{font-size: 100%;font-weight: bold;}
ol, ul {list-style: none;}
table {border-collapse: collapse;border-spacing: 0;}
th{text-align: left;}
td,th,div{word-break:break-all;word-wrap:break-word}
form{display:inline;}
*{outline:none}
*{font-family:微软雅黑 !important} 

/* 全局样式 */
body {
    width:auto; 
    height:auto; 
    font-family :Verdana, Geneva, sans-serif; 
    margin : 0; 
    padding : 0; 
    background :#053452;
    font-size : 12px; 
    font : "微软雅黑"; 
} 

.clear { 
    clear : both; 
    padding : 0; 
    margin : 0; 
}

/* ===================== 头部（Header）样式（来自index.css） ===================== */
#hd{
    background :  url(images/header.png) repeat-x 0% 0%; 
    margin:0 auto; 
    height:121px;
    display: block; 
    width:100%; 
    z-index : 888; 
    overflow: hidden;
    position: relative;
}

#header { 
    margin : 0 auto; 
    height : 121px; 
    position : relative; 
    z-index : 99; 
    width : 1200px; 
} 

.logo a{ 	
    position : absolute; 
    height : 60px; 
    width : 300px; 
    display: block; 
    background:#A00000 url(images/logot.png);
} 
.logo{ 
    position : absolute; 
    top : 15px; 
    height : 60px; 
    width : 300px; 
    display: block; 
} 
.logo a:hover{ 
    background:#A00000 url(images/logo.png);
} 

#nav_all { 
    position : absolute; 
    left : 0; 
    top : 79px; 
    height : 42px; 
    width : 1200px; 
} 

#nav-weixin { 
    font-family : Verdana, Geneva, sans-serif; 
    font-size : 14px; 
    margin : 0; 
    padding : 0; 
    list-style : none; 
    text-align : center; 
} 
#nav-weixin li { 
    text-align : center; 
} 

#nav-onhoo { 
    font-family : Verdana, Geneva, sans-serif; 
    font-size : 14px; 
    margin : 0; 
    padding : 0; 
    list-style : none; 
} 
#nav-onhoo li { 
    float : left; 
    margin : 0; 
    padding : 0; 
} 
.bi { 
    position : relative; 
    z-index : 0; 
} 
.bi:hover { 
    z-index : 99; 
} 
.bi:hover span { 
    visibility : visible; 
    top : 0; 
    left : 0; 
    cursor : pointer; 
} 
.bi span { 
    position : absolute; 
    left : -999em; 
    visibility : hidden; 
} 
#nav-onhoo li a, .bi:hover span { 
    line-height : 39px; 
    text-decoration : none; 
    color : #fff; 
    display : block; 
    width : 80px; 
    text-align : center; 
} 
#nav-onhoo li a:hover, .bi:hover span { 
    color : #ffffff; 
    background:#000 url(images/nav-bg.gif)
} 
.bi:hover span { 
    padding-top : 2px; 
} 
#navbar { 
    background : #dc4e1b; 
    height : 8px; 
    overflow : hidden; 
    clear : both; 
}

.text { 
    position : absolute; 
    right : 0; 
    top : 18px; 
    width : 500px; 
    font-size : 12px; 
    z-index : 99; 
    color : #a1917b; 
    padding-bottom : 5px; 
    float : left; 
    text-align:right;
    height : 25px; 
} 
.text a { 
    color : #fff; 
    text-decoration : none; 
    line-height : 25px;
} 
.text a:hover { 
    color : #ffc; 
} 
.textwz a{ 
    float: right; 
    height:25px; 
    line-height:25px; 
    padding-right:20px;
}
.textwz a:link{ 
    float: right; 
    color : #ffff00;
    height:25px; 
    line-height:25px; 
    padding-right:20px;
}
.texttu a{ 
    float: right; 
    height:25px; 
    line-height:25px;
    width:99px;
    display:block;
    background:url(images/qq.jpg);
}
.texttu a:hover{
    background:url(images/qqs.jpg);
}

.search { 
    height : 28px; 
    width : 160px; 
    border : 1px solid #000; 
    background : #fafafa; 
    position : absolute; 
    right : 0; 
    bottom : 17px; 
    padding : 0; 
    margin : 0; 
    line-height : 28px; 
} 
.search input { 
    padding : 0; 
    margin : 0; 
    height : 26px; 
    border : 0; 
    line-height : 26px; 
    padding-left : 10px; 
    background : #fafafa; 
} 
INPUT#submit:hover {
    background-image: url(images/sot.png);
    background-repeat: no-repeat;
    width:35px;
    height:28px;
    text-align: left;
    background-position: right;	
}
INPUT#submit {
    width:35px;
    background-repeat: no-repeat;
    width:35px;
    height:28px;
    text-align: left;
    background-image: url(images/so.png);
    background-position: right;	
}
INPUT#field a{width:0px;}

#content_bg{	
    width : 100%; 
    text-align : center; 
    height: auto; 
    padding : 0; 
    margin : 0; 
    background :url(images/content.jpg) no-repeat center 0px; 
}

.rss a { 
    height : 30px; 
    width : 31px; 
    position : absolute; 
    bottom : 17px; 
    right : 223px; 
    z-index : 99; 
    font-size : 12px; 
    background-image : url(images/rss.png); 
} 
.rss a:hover { 
    background-image : url(images/rss_sb.png); 
}

/* 核心布局样式 - 调整为1200px */
#hotall { 
    margin : 0 auto; 
    width : 1200px; /* 原980px，调整为1200px */
    margin-top: 0;
    height : auto; 
    position: relative; 
    z-index: 1;
}

/* ===================== 页脚（Footer）样式（来自index.css） ===================== */
#foot { 
    background : #000000; 
    width : 100%; 
    margin-top : 20px; 
} 
#foot_980 { 
    margin : 0 auto; 
    width : 1200px; /* 同步调整为1200px，保持布局统一 */
    height : 350px; 
    clear : inherit; 
    padding-top:7px;
} 
.link_logo { 
    line-height : 40px; 
    width : 202px; 
    float : left; 
    text-align : left; 
} 
.link_onhoo { 
    line-height : 30px; 
    width : 755px; 
    float: left; 
    text-align :left; 
    font-size : 14px; 
    color : #82664c; 
} 
.link_onhoo a { 
    color : #82664c; 
} 
.foot_ba { 
    float : left; 
    height : 25px; 
    width : 1200px; /* 同步调整为1200px */
    line-height : 25px; 
    font-size : 12px; 
    color : #ccc; 
    margin-top:15px;
} 
.foot_ba a { 
    color : #a79687; 
    text-decoration : none; 
} 
.foot_ba a:hover { 
    color : #ff0; 
}


/* 底部图片展示 */
.box1 {
    width: 1200px; 
    margin: 0 auto; 
    box-sizing: border-box;
}

.thumbnailwrapper2 ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.thumbnailwrapper2 li {
    flex: 1;
    transition: transform 0.3s ease; /* 仅保留transform过渡 */
}

.thumbnailwrapper2 img {
    width: 100%;
    height: auto;
}

/* 图片hover上移核心效果 */
.thumbnailwrapper2 li:hover {
    transform: translateY(-5px);
}




/* ===================== 案例列表核心样式（调整为1200px宽度） ===================== */
/* 全局背景修正 */
body {
    background-color: #053452 !important;
}

/* 头部区域样式 */
.case-page-header {
    color: white;
    padding: 50px 0 40px 0;  /* 关键：底部padding从30px缩至10px，减少底部空白 */
    margin: 0 auto !important; 
    width: 100vw !important; 
    max-width: 100% !important; 
    box-sizing: border-box; 
    position: relative; 
    left: 0 !important; 
}

.case-page-header .case-main-title {
    font-size: 38px;  
    font-weight: 800;
    margin-bottom: 20px;  
    color: #ffff00; 
    line-height: 1.3;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.case-page-header p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    position: relative;
    opacity: 0.9;
    line-height: 1.6;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    position: relative;
    flex-wrap: wrap;
}

.case-stat-item {
    text-align: center;
}

.case-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4fc3f7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.case-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 5px;
}

/* 容器样式 - 透明背景 */
.category-navigation {
    background: transparent !important;
    padding: 20px 15px;
    border-radius: 8px;
    margin: 0 auto 5px;
    width: 1200px;
    box-sizing: border-box;
    text-align: center;
    overflow: visible;
}
.category-navigation .all-categories {
    display: inline-block;
    text-align: center;
    width: auto;
}

/* 单个标签项 - 基础布局 */
.category-navigation .category-item {
    display: inline-block;
    vertical-align: top;
    margin: 0 8px;
    white-space: normal;
    cursor: pointer;
}

/* 核心：标签色块 - 调整垂直居中逻辑，解决文字偏上 */
.category-navigation .category-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 32px !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500 !important;
    border-radius: 3px;
    transition: all .2s ease;
    background: rgba(0, 25, 53, 0.5) !important;
    min-width: 140px;
    text-decoration: none !important;
    border: none !important;
    height: auto !important;
    min-height: auto !important;
    /* 新增：给色块加最小高度，保证居中空间 + 行高优化 */
    min-height: 70px;
    line-height: 1.4; /* 优化文字行高，避免拥挤 */
}


/* 🔥 仅.on类名触发蓝色（强制生效） */
.category-navigation .category-item.on .category-block {
    color: #ffff00 !important;

    font-weight: 800 !important;
}

/* 子分类容器 - 移除顶部margin，改为上下间距均衡 */
.category-navigation .subcategory-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    /* 把 margin-top: 8px 改成 padding-top: 4px + padding-bottom: 2px，均衡上下 */
    padding-top: 4px;
    padding-bottom: 2px;
    margin: 0; /* 清空原有margin */
    width: 100%;
}
.category-navigation .subcategory-links a {
    color: #e2e8f0 !important;
    text-decoration: none !important;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    white-space: nowrap;
    background: transparent !important;
}
.category-navigation .category-item.on .subcategory-links a {
    color: #ffffff !important;
}
.category-navigation .subcategory-links a.current {
    background: #0088cc !important;
    color: #ffffff !important;
}

/* 案例网格容器 */
.case-grid-container {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.cases-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.case-card-enhanced {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.case-img-enhanced {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.case-img-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card-enhanced:hover .case-img-enhanced img {
    transform: scale(1.05);
}

.case-tag-enhanced {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #3a4aac;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-content-enhanced {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-content-enhanced h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
    line-height: 1.4;
}

.case-content-enhanced p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.5;
}

.case-meta-enhanced {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 15px;
}

.case-industry-enhanced {
    
    color: #007FFF;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* 案例详情链接 */
.case-link-enhanced {
    display: inline-block;
    background-color: #007FFF;
    color: white !important;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
}

.case-link-enhanced:visited {
    color: white !important;
}

.case-link-enhanced:hover {
    background-color: #2a3a8c;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 加载更多按钮 */
.case-load-more {
    text-align: center;
    margin: 40px auto 60px;
    padding: 10px 0;
    width: 1200px;
    box-sizing: border-box;
    border-radius: 4px;
}

.case-load-more button {
    padding: 15px 114px;
    background-color: #007FFF;
    color: white;
    border: 1px solid #007FFF;
    border-radius: 4px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    text-align: center;
    font-family: inherit;
    line-height: 1.5;
    height: auto;
}

.case-load-more button:hover {
    background-color: white;
    color: #007FFF;
    transform: translateY(-2px);
}

.case-load-more button i {
    margin-right: 12px;
    font-size: 1.3rem;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    line-height: 1;
    vertical-align: middle;
}

/* 相关推荐区域 */
.case-recommendations {
    background-color: white;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.case-recommendations h2 {
    text-align: center;
    margin-bottom: 35px;
    color: #222;
    font-size: 1.8rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.case-recommendations h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #3a4aac;
}

.case-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.case-service-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-service-card:hover {
    background-color: #f0f7ff;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.case-service-card i {
    font-size: 2.5rem !important;
    color: #3a4aac !important;
    margin-bottom: 15px;
    display: block;
    height: 50px;
    line-height: 50px;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}

.case-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.case-service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    color: #3a4aac;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.service-link:hover {
    color: #2a3a8c;
    text-decoration: underline;
}


/* 响应式适配 */
@media (max-width: 1220px) {
    .case-page-header,
    .category-navigation,
    .case-grid-container,
    .case-recommendations,
    .case-load-more,
    #hotall,
    #foot_980,
    .foot_ba,
    .box1 {
        width: 95%;
    }
    
    .cases-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .case-load-more button {
        min-width: 280px;
        padding: 16px 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .case-page-header .case-main-title {
        font-size: 2rem;
    }
    
    .cases-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .case-load-more button {
        width: 386px;
        padding: 14px 30px;
        font-size: 1.1rem;
        min-width: auto;
    }
    
    /* 移动端分类导航自适应 */
    .category-navigation .all-categories {
        flex-wrap: wrap;
    }
    
    .category-navigation .category-item {
        display: block;
        width: 100%;
        margin: 0 0 10px 0;
    }
}

/* 动画效果 */
@keyframes caseFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.case-card-enhanced {
    animation: caseFadeIn 0.5s ease forwards;
}

/* 备用图标方案 */
.fa-angle-double-down:before {
    content: "▼";
    font-family: Arial, sans-serif;
}

/* 核心布局适配 */
#hot_all {
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

#neirong-yezp, #zxnr-ye {
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}