/* 品牌板块整体 */
.about-brands-section-v1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px  20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* 顶部标题 */
.brands-header {
    text-align: center;
    margin-bottom: 40px;
}
.brands-header h2 {
    font-size: 29px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.5;
}
.brands-header p {
    font-size: 17px;
    color: #333;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 20px;
}

/* 网格布局：4列 → 2列 → 1列 */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 18px;
}
@media (max-width: 991px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-img {
        max-width: 100%;
        height: auto;
    }
}
@media (max-width: 575px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    .brand-img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }
    .brand-img-wrap {
        height: auto;
        aspect-ratio: 274 / 200;
    }
}

/* 卡片样式 */
.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%; /* 关键：所有卡片等高 */
}

/* 图片容器 */
.brand-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 懒加载图片强制样式 */
.brand-img {
    width: 274px;
    height: 200px;
    object-fit: cover ;
    word-break: break-word;
    text-align: justify;
    display: block ;
    border: none ;
    margin: 0 auto; /* 图片居中 */
    border-radius: 2px;
}

/* 内容区 */
.brand-content {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 15px;
    line-height: 1.5;
}
.brand-subtitle {
    font-size: 17px;
    color: #666;
    text-align: center;
    margin: 0 0 10px;
    line-height: 1.5;
}
.brand-desc {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 15px;
    flex: 1;
}

/* 底部链接 */
.brand-link {
    display: block;
    padding: 16px 20px;
    text-align: center;
    background: #f7f7f7;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-top: 1px solid #eee;
}
.link-icon {
    margin-right: 6px;
}
