/* --- Banner 主容器 --- */
.page-banner {

    /* 背景图设置 */
    /* 请将 url('...') 替换为您实际的图片路径 */
    background-image: url('/static/img/brand_icon_1.jpeg');
    background-size: cover; /* 保持比例覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat;

}


/*/////////////*/

/* 整体容器 */
.about-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #fff;
}

/* 上半部分布局 */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

/* 左侧面板 */
.left-panel {
    flex: 0 0 40%;
}

.main-title {
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 30px;
}

.yellow-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.yellow-btn:hover {
    background-color: #e6c200;
}

/* 右侧面板 */
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.text-para {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* ——— 中间分隔线 ——— */
.divider-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px 0;
}

/* ——— 下半部分：数据 + Logo ——— */
.stats-and-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 数据容器 */
.stats-container {
    display: flex;
    gap: clamp(24px, 4vw, 60px);
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

/* Logo 容器 */
.logo-container {
    flex: 0 1 300px; /* 小屏时可收缩，根据实际图片调整 */
    max-width: 300px;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.nedlx-logo {
    width: 100%;
    height: auto;
    display: block;
}


/* 整体容器 */
.honors-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    /*padding: 40px;*/
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-image: url('/static/img/brand_icon_3.png'); /* 替换为你的背景图路径 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 顶部文字说明 */
.honors-intro {
    text-align: left;
    margin-bottom: 40px;
    /*padding: 0 20px;*/
}

.honors-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

/* 证书网格布局 */
.certificates-grid {
    display: flex;
    /*grid-template-columns: repeat(4, 1fr); !* 第一行4列 *!*/
    /*gap: 30px;*/
    justify-items: center;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* 单个证书项 */
.certificate-item {
    flex: 0 1 203px;
    width: 203px;
    max-width: 100%;
    height: 304px;
    /*max-width: 260px; !* 控制单张证书最大宽度 *!*/
    /*aspect-ratio: 3 / 4; !* 保持证书比例，可根据实际调整 *!*/
    /*overflow: hidden;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
    /*background-color: #fff;*/
    /*transition: transform 0.3s, box-shadow 0.3s;*/
}

.certificate-item:hover {
    /*transform: translateY(-5px);*/
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);*/
}

.certificate-item img {
    width: 100%;
    height: 100%;
    /*object-fit: contain; !* 保持证书原比例，不裁剪 *!*/
    display: block;
}

.certificate-itema {
    flex: 0 1 343px;
    width: 343px;
    max-width: 100%;
    height: 304px;
}



.base-section {
    background: #ffffff;
    padding: 80px 0;
}

/* 说明文字 */
.base-desc {
    text-align: left;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* 图片列表 */
.base-list {
    display: flex;
    gap: 30px;
}

/* 卡片 */
.base-item {
    position: relative;
    flex: 1;
    overflow: hidden;
}

/* 图片 */
.base-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* 底部阴影 */
.base-mask {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 25px;
    color: #fff;

    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0)
    );
}

/* 城市名称 */
.base-title {
    font-size: 18px;
    font-weight: 500;
}

/* 底部线 */
.base-line {
    width: 40px;
    height: 2px;
    background: #fff;
    margin-top: 10px;
}

/* ==========================================================
   手机端（<=768px）
   ========================================================== */
@media (max-width: 768px) {
    .about-section {
        margin: 24px auto;
        padding: 0 16px;
    }

    /* 标题/按钮与正文改为上下排列，避免正文被挤成竖排 */
    .about-content {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 28px;
    }

    .left-panel,
    .right-panel {
        flex: none;
        width: 100%;
    }

    .main-title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 16px;
    }

    .yellow-btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    .right-panel {
        gap: 16px;
    }

    .text-para {
        font-size: 14px;
        line-height: 1.75;
        text-align: left;
    }

    .divider-line {
        margin: 24px 0;
    }

    .stats-and-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stats-container {
        gap: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .logo-container {
        flex: none;
        max-width: 180px;
        justify-content: flex-start;
    }

    /* 荣誉证书 */
    .honors-section {
        margin: 32px auto;
        padding: 0 16px;
    }

    .honors-intro {
        margin-bottom: 20px;
    }

    .honors-intro p {
        font-size: 13px;
        line-height: 1.7;
    }

    .certificates-grid {
        justify-content: flex-start;
        gap: 12px;
    }

    .certificate-item,
    .certificate-itema {
        flex: 1 1 calc(50% - 6px);
        width: calc(50% - 6px);
        height: auto;
    }

    .certificate-item img {
        height: auto;
        object-fit: contain;
    }

    /* 生产基地 */
    .base-section {
        padding: 40px 0;
    }

    .base-desc {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .base-list {
        flex-wrap: wrap;
        gap: 12px;
    }

    .base-item {
        flex: 1 1 calc(50% - 6px);
    }

    .base-item img {
        height: 200px;
    }

    .base-mask {
        padding: 14px;
    }

    .base-title {
        font-size: 14px;
    }
}
