/* ==================== 合作案例页面 ==================== */

/* ==================== Banner区域 ==================== */
.case-banner {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.case-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-banner-content {
    text-align: center;
    z-index: 1;
}

.case-banner-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .case-banner {
        height: 150px;
    }
    
    .case-banner-title {
        font-size: 28px;
    }
}

/* 小屏移动端适配 */
@media (max-width: 480px) {
    .case-banner {
        height: 150px;
    }
}

/* 平板端适配 */
@media (max-width: 991px) {
    .case-banner {
        height: 200px;
    }
}

/* 面包屑导航 */
.case-breadcrumb {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.case-breadcrumb-content {
    font-size: 14px;
    color: #6c757d;
}

.case-breadcrumb-content a {
    color: #6c757d;
    text-decoration: none;
}

.case-breadcrumb-content a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.case-breadcrumb-current {
    font-weight: 500;
    color: #343a40;
}

/* 案例标题区域 */
.case-header {
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
}

.case-header-title {
    font-size: 32px;
    font-weight: bold;
    color: #D81916;
    margin-bottom: 10px;
}

.case-header-subtitle {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.case-header-underline {
    width: 100%;
    max-width: 900px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 15px;
    position: relative;
}

.case-header-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 8px;
    background-color: #D81916;
}

.case-header-desc {
    font-size: 24px;
    color: #333;
}

/* 案例列表 */
.case-list {
    padding: 0 0 60px;
}

.case-list .container {
    max-width: 1200px;
}

.case-list-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.case-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    padding: 30px;
    flex: 0 0 calc(33.333333% - 30px);
    margin: 0 15px 30px;
}

.case-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.case-item-image {
    width: 100%;
    height: 200px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.case-item-logo {
    text-align: center;
    margin-bottom: 20px;
}

.case-item-logo img {
    max-width: 80px;
    height: auto;
}

.case-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 15px;
    text-align: center;
}

.case-item-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left;
    text-indent: 2em;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .case-header {
        padding: 40px 0;
    }
    
    .case-header-title {
        font-size: 28px;
    }
    
    .case-header-subtitle {
        font-size: 16px;
    }
    
    .case-list {
        padding: 40px 0;
    }
    
    .case-item {
        flex: 0 0 calc(100% - 30px);
        padding: 20px;
    }
    
    .case-item-image {
        height: 150px;
    }
    
    .case-item-title {
        font-size: 18px;
    }
}

/* 平板端适配 */
@media (min-width: 768px) and (max-width: 991px) {
    .case-header {
        padding: 50px 0;
    }
    
    .case-header-title {
        font-size: 32px;
    }
    
    .case-list {
        padding: 50px 0;
    }
    
    .case-item {
        flex: 0 0 calc(50% - 30px);
    }
}

/* 平板端适配 */
@media (max-width: 991px) {
    .case-header {
        padding: 50px 0;
        margin-bottom: 0;
    }
    
    .case-header-title {
        font-size: 28px;
    }
    
    .case-header-subtitle {
        font-size: 18px;
    }
    
    .case-header-desc {
        font-size: 20px;
    }
    
    .case-list {
        padding: 0 0 50px;
    }
    
    .case-item {
        flex: 0 0 calc(50% - 30px);
    }
}

/* 移动端适配 */
@media (max-width: 767px) {
    .case-header {
        padding: 40px 0;
        margin-bottom: 0;
    }
    
    .case-header-title {
        font-size: 24px;
    }
    
    .case-header-subtitle {
        font-size: 16px;
    }
    
    .case-header-desc {
        font-size: 14px;
    }
    
    .case-list {
        padding: 0 0 40px;
    }
    
    .case-item {
        flex: 0 0 calc(100% - 30px);
        padding: 20px;
    }
    
    .case-item-image {
        height: 150px;
    }
    
    .case-item-title {
        font-size: 18px;
    }
}

/* 大屏PC适配 */
@media (min-width: 1200px) {
    .case-header {
        padding: 70px 0;
    }
    
    .case-list {
        padding: 70px 0;
    }
}