.topic .header {
  border-bottom: 1px solid #eee;
}

.topic .topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.topic .topic-list .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 275px;
  height: 210px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  transition: all 0.2s linear;
}

.topic .topic-list .item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.topic .topic-list .item:hover .txt .title {
  color: #ff4500;
}

.topic .topic-list .item .img {
  width: 275px;
  height: 159px;
  object-fit: cover;
}

.topic .topic-list .item .txt {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  padding: 0 12px;
}

.topic .topic-list .item .txt .title {
  overflow: hidden;
  color: #666;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s linear;
}

.topic .topic-list .item .txt .state {
  width: 70px;
  height: 26px;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  border-radius: 13px;
  border-radius: 13px;
}

.topic .topic-list .item .txt .state.hot {
  background: #ff4500;
}

.topic .topic-list .item .txt .state.start {
  background: #1a4299;
}

.topic .topic-list .item .txt .state.end {
  background: #ddd;
}
