.box {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.box .left {
  background-color: #fff;
  box-shadow: 0 0 10px #ccc;
  padding: 0.5rem;
  flex: 1;
}

.box .left .title {
  display: flex;
  /* align-items: center; */
  margin-bottom: 1rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.5rem;
  white-space: nowrap;
}

.box .left .title .text {
  font-size: 0.8rem;
  font-weight: bold;
  padding-left: 0.5rem;
  position: relative;
  line-height: 0.8rem;
}

.box .left .title .text::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 0.8rem;
  background: #ff9a00;
  -ms-border-radius: 50em;
  border-radius: 50em;
  left: 0;
  top: 0;
}

.box .left .title .labs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.6rem;
  color: #333;
  padding-left: 1rem;
}

.box .left .title .labs div {
  margin: 0 1rem 0.5rem; 
  background-color: transparent;
  border-radius: 10px;
  padding: 0.1rem 0.3rem;
}

.box .left .title .labs .active{
  color: #fff;
  background-color: #ff9a00;
}

.box .left .title .labs a{
  color: inherit;
}

.box .left .list {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}
.box .left .list .item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px dashed #e8e8e8;
}

.box .left .list .img {
  width: 6rem;
  height: 5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  flex-shrink: 0;
}

.box .left .list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box .left .list .content {
  display: flex;
  flex-direction: column;
}

.box .left .list .content h3 {
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: bold;
}
.box .left .list .content .time {
  font-weight: bold;
  font-size: 0.5rem;
  padding: 0.3rem 0;
  color: #888888;
}
.box .left .list .content p {
  cursor: pointer;
  font-size: 0.45rem;
  color: #888888;
  text-indent: 2em;
  /* 溢出打点 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box .left .list .content .tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.box .left .list .content .tag div {
  color: #fff;
  font-size: 0.4rem;
  padding: 0.1rem 0.2rem;
  border-radius: 0.1rem;
  background-color: #b935f7;
  margin-right: 0.2rem;
  margin-top: 0.3rem;
}

.box .left .list .content .tag div:nth-of-type(1) {
  background-color: #b935f7;
}
.box .left .list .content .tag div:nth-of-type(2) {
  background-color: #f57361;
}
.box .left .list .content .tag div:nth-of-type(3) {
  background-color: #ff9a00;
  margin-right: 0;
}
.box .left .list .content .tag div:nth-of-type(4) {
  background-color: #3aa3de;
}
.box .left .list .content .tag div:nth-of-type(5) {
  background-color: #3fa190;
}

.box .right {
  display: flex;
  flex-direction: column;
  width: 300px;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.box .right .teacher {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  background-color: #fff;
  box-shadow: 0 0 10px #ccc;
}

.box .right .teacher .title {
  font-size: 0.8rem;
  font-weight: bold;
  padding-left: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e8e8;
  line-height: 0.8rem;
}

.box .right .teacher .title::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 0.8rem;
  background: #ff9a00;
  -ms-border-radius: 50em;
  border-radius: 50em;
  left: 0;
  top: 0;
}

.box .right .teacher .list {
  display: flex;
  flex-direction: column;
}

.box .right .teacher .list .item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e8e8e8;
}

.box .right .teacher .list .item .img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.3rem;
  flex-shrink: 0;
}

.box .right .teacher .list .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box .right .teacher .list .item .text {
  /* display: flex; */
  flex-direction: column;
}

.box .right .teacher .list .item .text .name {
  font-size: 0.6rem;
  font-weight: bold;
  color: #ff9a00;
}

.box .right .teacher .list .item .text .detail {
  margin: 0.2rem 0;
  font-size: 0.4rem;
  color: #808080;
  /* 溢出打点 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box .right .teacher .list .item .text .btn {
  padding: 0.1rem 0.3rem;
  background-color: #ff9a00;
  color: #fff;
  font-size: 0.4rem;
  border-radius: 0.2rem;
  cursor: pointer;
}
.box .right .ad {
  margin: 0.5rem 0;
  width: 100%;
}

.box .right .ad img {
  width: 100%;
  height: 100%;
}
.box .right .hot {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  background: #fff;
  box-shadow: 0 0 10px #ccc;
}

.box .right .hot .title {
  font-size: 0.8rem;
  font-weight: bold;
  padding-left: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e8e8;
  line-height: 0.8rem;
}

.box .right .hot .title::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 0.8rem;
  background: #ff9a00;
  -ms-border-radius: 50em;
  border-radius: 50em;
  left: 0;
  top: 0;
}

.box .right .hot .list {
  display: flex;
  flex-direction: column;
}

.box .right .hot .list a {
  font-size: 0.5rem;
  padding: 0.3rem 0;
  color: #888888;
  border-bottom: 1px dashed #e8e8e8;
  /* 溢出打点 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.box .right .hot .list a:hover {
  color: #ff9a00;
}

/* 手机 */
@media (min-width: 0px) and (max-width: 767.98px) {
  .box {
    flex-direction: column;
    padding: 0.5rem !important;
  }
  .box .left {
    margin-bottom: 0.5rem;
  }

  .box .left .title {
    flex-direction: column;
  }
  .box .left .title .labs {
    padding: 1rem 0 0;
  }

  .box .left .title .labs div {
    margin: 0.3rem 0.2rem;
  }
  .box .right {
    width: 100%;
    margin: 0;
  }
}

/* 平板 */
@media (min-width: 768px) and (max-width: 1200px) {
  .box .left .title .labs div {
    margin: 0 0.2rem 0.5rem;
  }
}