/* ==================== Sample 页面样式 ==================== */

/* 页面标题横幅 */
.sample-banner {
    width: 100%;
    text-align: center;
    padding: 130px 20px 40px 20px;
    box-sizing: border-box;
}

.sample-banner h1 {
    font-size: 42px;
    font-weight: bold;
    color: #182853;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    font-family: 'SF Pro Text';
}

.sample-banner p {
    font-size: 16px;
    color: #9E9E9E;
    margin: 0;
    letter-spacing: 1px;
}

/* 样品展示区域 */
.sample-section {
    width: 100%;
    padding: 20px 0 80px 0;
}

.sample-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
}

/* 单个样品卡片 */
.sample-item {
    width: 270px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sample-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

/* 样品图片 */
.sample-img {
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sample-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 样品信息 */
.sample-info {
    padding: 18px 16px 20px 16px;
    text-align: center;
}

.sample-info h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 6px 0;
    font-family: 'SF Pro Text';
    line-height: 1.4;
}

.sample-info p {
    font-size: 13px;
    color: #9E9E9E;
    margin: 0;
}
/* 样品规则文字 */
.sample-rules {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
}

.sample-rules .rules-title {
    font-size: 16px;
    font-weight: bold;
    color: #182853;
    margin-bottom: 10px;
}

.sample-rules ol {
    padding-left: 20px;
    margin: 0;
}

.sample-rules ol li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 4px;
}
/* 样品规则文字 - 左对齐 */
.sample-rules {
    width: 1200px;
    max-width: 100%;
    margin: 20px auto 0 auto;
    text-align: left;
    padding: 0 20px;
    box-sizing: border-box;
}

.sample-rules .rules-title {
    font-size: 16px;
    font-weight: bold;
    color: #182853;
    margin-bottom: 10px;
}

.sample-rules ol {
    padding-left: 20px;
    margin: 0;
}

.sample-rules ol li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* ==================== 移动端适配 ==================== */

@media screen and (max-width: 1240px) {
    .sample-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        gap: 30px 20px;
    }
    .sample-item {
        width: calc(25% - 20px);
        min-width: 220px;
    }
}

@media screen and (max-width: 960px) {
    .sample-banner {
        padding: 60px 15px 30px 15px;
    }
    .sample-banner h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    .sample-banner p {
        font-size: 14px;
    }
    .sample-container {
        gap: 20px 15px;
    }
    .sample-item {
        width: calc(50% - 10px);
        min-width: 0;
    }
    .sample-img {
        height: 180px;
    }
    .sample-info h3 {
        font-size: 14px;
    }
    .sample-info p {
        font-size: 12px;
    }
}


@media screen and (max-width: 480px) {
    .sample-item {
        width: 100%;
    }
    .sample-img {
        height: 240px;
    }
}