
/* 整体容器样式 */
.certification-section {
    background-color: #f5f5f5; /* 背景颜色 */
    padding: 50px 0; /* 上下内边距 */
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; 
    text-align: center;
}

/* 标题部分样式 */
.header-content {
    margin-bottom: 40px;
}

.main-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

/* Logo/认证卡片容器网格样式 */
.logos-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 每行4列 */
    gap: 0px; /* 网格间距 */
    padding: 0 5px;
}

/* 单个 Logo/认证项的整体卡片容器 */
.certification-card {
    display: flex;
    flex-direction: column; /* 垂直排列内容（Logo和名称） */
    align-items: center; /* 水平居中 Logo 和文本 */
    text-align: center;
    padding: 5px 10px; /* 增加卡片内部填充 */
}

/* Logo 区域的容器样式 (现在没有白色背景) */
.logo-item {
    width: 100%;
    height: 100px; /* 设定一个合适的高度来承载 Logo */
    position: relative;
    margin-bottom: 0px; /* Logo与名称之间的间距 */
    box-sizing: border-box;
    
    /* 使用 Flexbox 确保图片居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo 图片样式 */
.logo-item img {
    max-width: 100%; /* 限制图片最大宽度 */
    max-height: 100%; /* 限制图片最大高度 */
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
}

/* 认证名称文本样式 */
.certification-name {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    padding: 5px 0 0 0;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo-item {
        height: 80px;
    }
    .main-title {
        font-size: 24px;
    }
}
