﻿.dynamic-tabs {
  margin: 60px auto 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}

.dynamic-tabs .item {
  width: 300px;
  height: 58px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  gap: 20px;
  font-size: 20px;
  line-height: 28px;
  color: #333333;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.dynamic-tabs .item:hover {
  background-color: #3A4B99;
  color: #fff;
}

.dynamic-tabs .active {
  background-color: #3A4B99;
  color: #fff;
}

.popsci-list {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  gap: 4px;
  color: #3A4B99;
  flex-wrap: wrap;
  margin: 0 -15px;
  padding-top: 5px;
}

.popsci-list .item {
  width: calc((100% - 8px - 90px) / 3);
  margin-top: 20px;
  padding: 15px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.popsci-list a {
  display: block;
}

.popsci-list .img {
  width: 100%;
  height: 234px;
  overflow: hidden;
}

.popsci-list .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.popsci-list .info {
  margin-top: 30px;
}

.popsci-list .date {
  font-size: 16px;
  line-height: 18px;
}

.popsci-list .title {
  margin-top: 8px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}

.popsci-list .desc {
  margin-top: 20px;
  font-size: 14px;
  line-height: 26px;
  height: 52px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.popsci-list .item:hover {
  box-shadow: 0 4px 20px rgba(0, 13, 78, 0.1);
}

.popsci-list .item:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.popsci-detail {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  padding: 40px 60px;
  background-color: #fff;
  margin-top: 20px;
}

.popsci-detail .main {
  width: 740px;
}

.popsci-detail .main .main-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 50px;
}

.popsci-detail .main .html-box {
  padding-top: 27px;
}

.popsci-detail .other {
  width: 300px;
}

.popsci-detail .other .title {
  font-size: 24px;
  line-height: 34px;
  padding-bottom: 20px;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
}

.popsci-detail .other .list {
  margin-top: 20px;
}

.popsci-detail .other .item {
  width: 100%;
}

.popsci-detail .other .item ~ .item {
  margin-top: 32px;
}

.popsci-detail .other a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  max-height: 40px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.popsci-detail .other a:hover {
  color: #3A4B99;
  padding-left: 5px;
  -webkit-transform: translate(5px, 0);
          transform: translate(5px, 0);
}