/* ========== 赞助商标题 ========== */
.index_title {
  font-size: 22px;
  font-weight: bold;
  line-height: 28px;
  text-align: left; /* 改为左对齐 */
  padding-left: 15px; /* 和容器对齐 */
  color: #333;
}

.mb-24 {
  margin-bottom: 24px !important;
}

/* ========== 赞助商容器 ========== */
.index_new05 {
  background: #fff;
  padding: 20px 0; /* 减少上下内边距 */
  /* margin-bottom: 15px; */
  border: 1px solid #e5e7eb; /* 整体边框，和图片一致 */
  margin: 0 auto 15px;
  width: 1200px;
}

/* ========== 广告容器 ========== */
.index_new05a {
  display: grid; /* 改为网格布局，实现4行6列 */
  grid-template-columns: repeat(6, 1fr); /* 固定6列 */
  gap: 15px; /* 间距 */
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* 赞助商链接卡片 */
.index_new05a > a {
  width: 100%; /* 网格自动填充 */
  height: 60px; /* 固定高度，和图片一致 */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb; /* 细边框，替代圆角和阴影 */
  border-radius: 0; /* 去掉圆角，改为直角 */
  box-shadow: none; /* 去掉阴影 */
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

/* 悬停效果（保留轻微交互） */
.index_new05a > a:hover {
  transform: none; /* 取消上浮 */
  border-color: #d1d5db; /* 边框加深 */
  box-shadow: none;
}

/* 赞助商图片 */
.index_new05a > a img {
  max-width: 90%; /* 留出边距，和图片一致 */
  max-height: 90%;
  object-fit: contain;
  vertical-align: middle;
  border: 0;
}

/* 图片悬停效果（保留） */
.index_new05a > a:hover img {
  transform: scale(1.03);
}

/* ========== 响应式调整 ========== */
@media screen and (max-width: 1200px) {
  .index_new05a {
    grid-template-columns: repeat(4, 1fr); /* 4列 */
    gap: 12px;
  }
}

@media screen and (max-width: 768px) {
  .index_title {
    font-size: 20px;
    padding-left: 10px;
  }
  .index_new05a {
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 10px;
  }
  .index_new05a > a {
    height: 50px;
  }
}

@media screen and (max-width: 480px) {
  .index_new05a {
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 8px;
  }
  .index_new05a > a {
    height: 45px;
  }
}