.case1 {
    background: url(../images_pc/case1bg.jpg) center no-repeat;
    background-size: cover
}

.case1 .wrap {
    padding-top: 170px;
    padding-bottom: 170px
}

.case1 .title {
    background: url(../images_pc/about1_titlezs.png) left center no-repeat;
    background-size: 38px;
    font-size: 48px;
    color: #ffffff;
    font-family: 'pingfang_h'
}

.case1 .text {
    width: 600px;
    margin-top: 18px;
    font-size: 18px;
    color: #dedede;
    line-height: 1.77778;
    font-family: 'pingfang_m'
}

.case1 .title,
.case1 .text {
    padding-left: 68px
}

/* 列表页全局样式 */
.cases-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

/* 1. 顶部 Header / Banner */
.cases-header {
    text-align: center;
    margin-bottom: 40px;
}

.cases-header h1 {
    font-size: 32px;
    color: #0F2C59;
    font-weight: 700;
    margin-bottom: 12px;
}

.cases-header p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'pingfang_m';
}

/* 2. 分类筛选 Categorization Filter */
.cases-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    background-color: #fff;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #0F2C59;
    color: #fff;
    border-color: #0F2C59;
}

/* 3. 网格卡片 Grid Layout */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #EAEAEA;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* 卡片图片区域 & 国旗/地区标签 */
.case-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

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

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

.case-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 44, 89, 0.85);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* 卡片内容区域 */
.case-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 参数规格 Mini specs */
.case-specs {
    background: #F8F9FA;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #444;
}

.case-spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.case-spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    font-weight: 600;
    color: #777;
}

.spec-val {
    font-weight: 700;
    color: #0F2C59;
}

/* 链接按钮 */
.case-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: transparent;
    color: #0F2C59;
    border: 1px solid #0F2C59;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.case-btn:hover {
    background-color: #0F2C59;
    color: #ffffff;
}

.page {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
}

.page ul {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
}

.page ul li {
    display: inline-flex;
    margin-right: 10px;
}

.page ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    background: transparent;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.page ul li a:hover {
    background-color: #0F2C59;
    color: #ffffff;
}

.page ul li.active a {
    background-color: #0F2C59;
    color: #ffffff;
}

@media (min-width: 768px){
    .cases-header h1{
        font-size:38px ;
        padding:40px 0 20px;
    }
    .cases-header p{
        line-height: 25px;
    }
}
/* 移动端适配 */
@media (max-width: 768px) {
    
    .cases-container{
        max-width: 100%;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
}