
/* Banner 区域 */
.al-banner {
    width: 100%;
    height: 50vh;
    background-image: url('https://www.jmruixiang.com/wp-content/themes/twentyseventeen/rx/images/case-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 5rem;
    position: relative;
    overflow: hidden;
}

.al-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.al-banner-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    margin: 0 auto;
}
.al-banner .p2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: justify;
}
/* 纯蓝黑·白风格容器 */
.cases-container {
    /* overflow: hidden; */
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 28px 90px;
}

/* 头部区域 */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .badge {
    color: #2563EB;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
}
.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #000000;
    margin-top: 8px;
}
.section-header p {
    max-width: 640px;
    margin: 16px auto 0;
    color: #4B5563;
    font-size: 1rem;
}

/* 案例卡片网格 */
.case-grid {
    width: 80%;
    margin-left: 10%;
    /* background-color: red; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
    /* height: 150px; */
}

/* 卡片样式 */
.case-card {
    height: auto;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    cursor: pointer;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 32px -16px rgba(0, 0, 0, 0.15);
    border-color: #3B82F6;
}

/* 案例图片区域 */
.case-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}
.case-card:hover .case-img {
    transform: scale(1.02);
}
/* 图片上的遮罩层效果（可选） */
.case-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

/* 案例信息 */
.case-info {
    padding: 24px;
}
.case-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}
.case-info p {
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.7rem;
}

/* 按钮样式 - 蓝黑风格 */
.btn-outline-dark {
    border: 1px solid #1E3A8A;
    background: transparent;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.7rem;
    color: #1E3A8A;
    transition: 0.25s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-outline-dark:hover {
    background: #1E3A8A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30,58,138,0.2);
}

/* 底部按钮 */
.bottom-btn {
    text-align: center;
    margin-top: 20px;
}
.btn-primary {
    background: #1E3A8A;
    color: white;
    padding: 12px 32px;
    border-radius: 48px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37,99,235,0.25);
}

/* 响应式 */
@media (max-width: 768px) {
    .cases-container {
        padding: 40px 20px 70px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .case-grid {
        gap: 24px;
    }
    .case-img {
        height: 200px;
    }
}