.my_container {
  width: calc(100% - 25px);
  height: auto;
  padding: 50px;
  box-sizing: border-box;
  color: black;
}

.pro-ch-list {
  width: 100%;
  height: 110px;
}

.pro-ch-list ul {
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 100px;
  /* 每个item间隔 */
}

.pro-ch-list-item {
  font-size: 20px;
  width: 200px;
  height: 50px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-ch-list-item a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.pro-ch-list-item:hover,
.pro-ch-list-item:active,
.pro-ch-list-item.selected {
  background-color: #cc0000;
  /* 高亮背景色 */
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
  transform: scale(1.1);
}

.pro-ch-list-item:hover a,
.pro-ch-list-item:active a,
.pro-ch-list-item.selected a {
  color: white;
}


.grid-container {
  width: calc(100% - 80px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding: 10px 40px 40px 40px;
}

.grid-item {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  /* 0：水平偏移（不偏移）4px：垂直偏移（向下 4px）20px：模糊半径（越大越模糊、扩散越明显）5px：扩散半径（四周均匀扩展） */
  box-shadow: 0 0 20px 10px rgba(60, 60, 60, 0.1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  aspect-ratio: 1/1.3;
  transition: transform 0.2s;
}

.grid-item:hover {
  transform: scale(1.05);
}

.grid-item img {
  width: 100%;
  flex-grow: 1;
  /* ✅ 占据剩余高度 */
  object-fit: cover;
  display: block;
}

.grid-item .content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0px;
}

.grid-item .title {
  flex-grow: 1;
  font-size: clamp(12px, 2.5vw, 16px);
  /* ✅ 自动缩放 */
  font-weight: bold;
  line-height: 1.2em;
  height: 2.4em;
  /* ✅ 固定2行高度 */
  overflow: hidden;
  -webkit-line-clamp: 2;
  /* ✅ 最多两行 */
  -webkit-box-orient: vertical;
  align-items: center;
  /* 垂直居中 */
  color: black;
}

.grid-item .description {
  font-size: 14px;
  color: #555;
  flex-grow: 1;
  height: 0px;
  /* ✅ 固定描述高度 */
  overflow: hidden;
}