.detail .content {
  margin: 4rem auto;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.detail .container {
  flex: 1;
}
.detail .recommend-box {
  width: 32.2rem;
  margin-left: 10rem;
  /* position: sticky; */
  /* top: 0; */
}

.detail .content .box-title {
  position: relative;
  height: 8rem;
  text-align: left;
  line-height: 8rem;
  border-top: 0.4rem solid #e40b20;
  display: flex;
  justify-content: space-between;
}
.detail .content .box-title span {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333333;
}
.detail .content .box-title a {
  font-size: 1.4rem;
  font-weight: 400;
  color: #999999;
  text-decoration: none;
}
.detail .content .box-title.news {
  margin-top: 6rem;
}
.detail .content .news-list ul {
  padding-left: 2rem;
  margin: 0;
  color: #dedede;
}
.detail .content .news-list ul li {
  list-style: disc;
}
.detail .content .news-list a {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333333;
  line-height: 4rem;
  text-decoration: none;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
}
.detail .content .news-list a:hover {
  color: #e40b20;
}
.detail .content .title {
  line-height: 4.8rem;
  color: #333;
  font-weight: 700;
  font-size: 3.6rem;
  margin-bottom: 2rem;
  text-align: left;
}
.detail .content .title>h1 {
  font-size: 3.6rem;
}

.detail .recommend-box .item {
  border: 0.1rem solid #f4f4f4;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 2.4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.detail .recommend-box .item .img {
  overflow: hidden;
  margin: auto 0;
  max-height: 30rem;
  padding: 2rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.detail .recommend-box .item img {
  display: block;
  width: 100%;
  margin-top: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  max-height: 26rem;
  -o-object-fit: scale-down;
  object-fit: scale-down;
}

.detail .recommend-box .item .name {
  background: #f4f4f4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1.4rem;
  text-align: center;
  margin-top: auto;
}

.detail .recommend-box .item:hover {
  border: 0.1rem solid var(--color);
}

.detail .recommend-box .item:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.detail .recommend-box .item:hover .name {
  color: #fff;
  background: var(--color);
}

.detail .content .sub {
  line-height: 1.6rem;
  color: #999;
  font-size: 1.4rem;
  margin: 0 0 3rem;
  text-align: left;
}

.detail .content .con {
  padding-top: 2rem;
  border-top: 0.1rem solid #eee;
  text-indent: 2;
  color: #666;
  font-size: 1.6rem;
  line-height: 2.8rem;
  text-align: left;
}

.detail .content .con p {
  margin: 0;
}

.detail .content .month {
  background: var(--color);
  color: #fff;
  padding: 1.5rem 0;
  font-weight: 700;
  font-size: 2rem;
}

.detail .content .month div {
  display: inline-block;
  margin-right: 1.5rem;
  font-size: 2rem;
}

.detail .content .month div span {
  font-size: 3rem;
  font-weight: 700;
}
.detail .commonbottom {
  margin-top: 0;
}
.detail .footer-page {
  background: #f8f8f8;
}
.detail .footer-page .w1280 {
  display: flex;
  align-items: center;
  height: 9rem;
  justify-content: space-between;
}
.detail .footer-page .w1280 a:hover {
  color: #e40b20;
}
.detail .footer-page .w1280 .page {
  font-size: 1.6rem;
  width: calc(50% - 10rem);
  font-weight: 400;
  color: #333333;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.detail .footer-page .w1280 .page.next {
  text-align: right;
}
.detail .footer-page .w1280 .back {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333333;
}
.detail .footer-page .w1280 .back img {
  margin-right: 1.2rem;
}
@media screen and (max-width: 768px) {
  .detail .content {
    margin: 1.5rem 0;
    display: block;
  }
  .detail .footer-page .w1280 {
    display: block;
    height: auto;
    padding: 4rem 2rem;
  }
  .detail .footer-page .w1280 .page {
    width: 100%;
    font-size: 1.4rem;
  }
  .detail .footer-page .w1280 .back {
    margin: 2rem 0;
    font-size: 1.4rem;
  }
  .detail .recommend-box {
    margin-left: 0;
    width: auto;
  }
  .detail .recommend-box .box-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 2rem;
  }
  .detail .content .box-title span {
    font-size: 1.8rem;
  }
  .detail .content .box-title.news {
    margin-top: 3rem;
  }
  .detail .recommend-box .item {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .detail .box-title.news {
    margin-top: 3rem;
  }
  .detail .recommend-box .item .img {
    width: 100%;
  }
  .detail .footer-page .w1280 {
    text-align: left;
  }
  .detail .footer-page .w1280 .page.next {
    text-align: left;
  }
  .detail .recommend-box .item .name {
    font-size: 1.4rem;
    padding: 1rem;
    flex: 1;
    width: 0;
  }
  .detail .content .news-list a {
    font-size: 1.4rem;
  }
  .detail .content .title {
    line-height: 1.5;
    font-size: 2rem;
    color: var(--color);
  }

  .detail .content .sub {
    margin: 1rem 0 1.5rem;
  }

  .detail .content .con {
    padding: 1.5rem 0;
    line-height: 1.5;
    font-size: 1.4rem;
  }

  .detail .content .con * {
    font-size: 1.4rem;
  }

  .detail .content .month {
    padding: 1.5rem 0;
    font-size: 1.6rem;
  }

  .detail .content .month div {
    margin-right: 1.5rem;
    font-size: 1.6rem;
  }

  .detail .content .month div span {
    font-size: 2.2rem;
  }
}
