/* ===================================================
   首页专用：品牌列表样式优化
   =================================================== */

.brand-list {
  border-top: 1px solid #f3eaea;
  padding: 4px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px;
  border-bottom: 1px solid #f3eaea;
  transition: background 0.2s;
}

.brand-row:last-child {
  border-bottom: none;
}

/* 斑马纹：奇偶行底色 */
.brand-row:nth-child(odd) { background: #fff; }
.brand-row:nth-child(even) { background: #fcf9f8; }
.brand-row:hover { background: #fdf5f4; }

/* 左侧信息区 */
.brand-left {
  flex: 1 1 auto;
  min-width: 0;
}

/* 企业简称 */
.brand-name {
  font-size: 16px;
  font-weight: 600;
  color: #1b2a4a;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 主营业务（单行截断，字体微调） */
.brand-main {
  font-size: 13px;
  color: #8a93a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右侧电话区（胶囊按钮） */
.brand-tel {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 20px; /* 胶囊圆角 */
  color: #d9382f;      /* 品牌红字 */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

/* 奇数行胶囊：极浅红底 */
.brand-row:nth-child(odd) .brand-tel {
  background: #fdf2f1; 
  border: 1px solid #fdeceb;
}

/* 偶数行胶囊：稍微深一点点，贴合行背景 */
.brand-row:nth-child(even) .brand-tel {
  background: #f5eae8; 
  border: 1px solid #ebdcd9;
}

/* 电话图标 */
.brand-tel::before {
  content: "📞";
  font-size: 13px;
  margin-right: 6px;
  opacity: 0.9;
}

/* 姓氏：纯文字，无底色无边框 */
.brand-tel .tel-xing {
  font-size: 14px;      /* 字体和电话号码一样大 */
  color: #d9382f;       /* 和电话号码同色 */
  margin-left: 6px;
  font-weight: 600;
}

/* 鼠标悬停/点击反馈 */
.brand-tel:hover {
  background: #d9382f !important;
  border-color: #d9382f !important;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 56, 47, 0.15);
}

.brand-tel:hover .tel-xing {
  color: #fff;          /* 悬停时姓氏也跟着变白 */
}

/* 手机端微调 */
@media (max-width: 480px) {
  .brand-row { padding: 12px 8px; gap: 10px; }
  .brand-name { font-size: 15px; margin-bottom: 4px; }
  .brand-main { font-size: 12px; }
  .brand-tel { padding: 6px 10px; font-size: 13px; }
  .brand-tel::before { display: none; } /* 手机上隐藏图标 */
  .brand-tel .tel-xing { font-size: 13px; margin-left: 4px; }
}