.topic-banner {
  position: relative;
  width: 100%;
}

.topic-banner img {
  width: 100%;
  display: block;
}

.topic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.summary-text {
  font-family: PingFangSC, 'PingFang SC';
  font-weight: 400;
  font-size: 18px;
  color: rgb(47, 46, 46);
  line-height: 35px;
  text-align: center;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-line-clamp: 1;
}

.topic-breadcrumb {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.breadcrumb-item {
  font-size: 16px;
  color: #333;
}

.breadcrumb-item.active {
  color: #bc1906;
}

.breadcrumb-separator {
  margin: 0 8px;
}

.breadcrumb-separator img {
  width: 16px;
  height: 16px;
}

.topic-search {
  margin: 30px 0 60px 0px;
  display: flex;
  justify-content: center;
}

.search-box {
  display: flex;
  max-width: 760px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  min-width: 760px;
}

.search-box input {
  border: none;
  outline: none;
  height: 55px;
  font-size: 20px;
  flex: 1;
  text-indent: 10px;
}

.search-box button {
  background: #bc1906;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
}
.search-box i {
  font-size: 20px;
}
.topic-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  padding-bottom: 30px;
}

.topic-item {
  width: 22%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.topic-item-inner {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
}

.topic-item-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.topic-image {
  height: 150px;
  overflow: hidden;
}

.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.topic-item-inner:hover .topic-image img {
  transform: scale(1.05);
}

.topic-content {
  padding: 15px 30px;
  background: #fff;
}

.topic-title {
  padding: 13px 9px 0;
  font-size: 20px;
  color: #333;
  line-height: 35px;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  /* height: 85px; */
  margin: 0;
}

.topic-source {
  padding: 0 9px 12px;
  font-size: 16px;
  color: #918f8f;
  line-height: 35px;
  text-align: center;
}

.topic-abstract {
  padding: 0 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-line-clamp: 1;
}

.abstract-label {
  color: #bc1906;
  font-weight: bold;
}

.abstract-text {
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #7f8c8d;
  font-size: 1.2rem;
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

@media screen and (max-width: 1000px) {
  .search-box {
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .topic-item {
    width: 33.33%;
  }
}

@media screen and (max-width: 992px) {
  .topic-item {
    width: 50%;
  }
}

@media screen and (max-width: 576px) {
  .topic-item {
    width: 100%;
  }
}
