﻿@charset "utf-8";

/* ===================== 动画样式 ===================== */
@keyframes caseFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== 企业案例列表新设计样式 ===================== */
.case-page-header {
    color: white;
    padding: 50px 0 10px 0;
    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: #ff0000;
    line-height: 1.3;
    position: relative;
    text-align: center;
}

.case-page-header p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    position: relative;
    color: #333333;
    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: #333333;
}

.case-stat-label {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 5px;
}

.category-navigation {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 2px;
    margin: 0 auto 12px;
    width: 1300px;
    box-sizing: border-box;
}

.category-navigation .category-section {
    margin-bottom: 15px;
    overflow: hidden;
}

.category-navigation .category-section:last-child {
    margin-bottom: 0;
}

.category-navigation .category-title {
    float: left;
    width: 100px;
    margin: 0 5px 0 0;
    font: bold 0.95rem/2.2 sans-serif;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.category-navigation .category-title a {
    color: inherit;
    text-decoration: none;
}

.category-navigation .category-title:hover {
    background: rgba(255, 0, 0, 0.8);
}

.category-navigation .category-links {
    overflow: hidden;
    margin-left: 0;
    line-height: 1.8;
}

.category-navigation .category-links a {
    background-color: rgba(0, 0, 0, 0.2);
    color: #000;
    text-decoration: none;
    margin-right: 6px;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: inline-block;
    margin-bottom: 2px;
    white-space: nowrap;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}


.category-navigation .category-links a:hover {
    font-weight: bold;
    background-color: #007FFF !important; /* 替换原红色，统一为天蓝色 */
    color: #ffffff !important; /* 文字改为白色，提升对比度 */
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6); /* 保留原有阴影效果 */
    transition: all 0.2s ease;
}


.category-navigation .category-links a.on {
    font-weight: bold;
    background-color: #007FFF !important; /* 激活态背景色 */
    color: #ffffff !important; /* 激活态文字色 */
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6); /* 激活态阴影 */
}

/* 案例网格容器 */
.case-grid-container {
    width: 1300px;
    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;
    animation: caseFadeIn 0.5s ease forwards;
}

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

.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 0px;
    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: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: 1300px;
    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: 1300px;
    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);
}

.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;
}

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

/* 确保原有布局不受影响 */
#hot_all,
#neirong-yezp,
#zxnr-ye {
    width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;
}