
/* 基础卡片样式 */
.material-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box; /* 确保内边距不影响宽度计算 */
}
.material-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
/* 品牌Logo容器 */
.brand-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
}
/* 品牌名称 */
.brand-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}
/* 描述文本 */
.card-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
/* 参数列表 */
.params-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.params-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.params-list li:last-child {
    border-bottom: none;
}
.param-label {
    color: #666;
}
.param-value {
    color: #2563eb;
    font-weight: 500;
}
/* 响应式适配 - 始终保持一行三列 */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
/* 所有屏幕尺寸都保持1/3宽度 */
.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}
/* 仅调整移动端的内边距和字体大小，不改变列数 */
@media (max-width: 767px) {
    .material-card {
        padding: 12px; /* 移动端减小内边距，适配小屏幕 */
    }
    .brand-name {
        font-size: 14px;
    }
    .card-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .params-list li {
        font-size: 12px;
        padding: 4px 0;
    }
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }
}
