.container {
  background-color: #f5f5f5;
}

.news-detail {
  margin: 0 auto;
  width: 1200px;
}

.news-detail .navbar {
  padding-top: 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
}

.news-detail .navbar .back a {
  width: fit-content;
  padding-bottom: 5px;
  font-size: 16px;
  color: #3e3e3e;
  line-height: 30px;
  border-bottom: 2px solid #d3d3d3;
}

.news-detail .navbar .search {
  width: 180px;
  display: flex;
  align-items: center;
  background-color: #e5e5e5;
  border-radius: 30px;
}

.news-detail .navbar .search input {
  width: 100%;
  height: 45px;
  padding: 0 1em;
  border: none;
  outline: none;
  background-color: transparent;
  font-family: Source Han Sans SC;
  font-size: 16px;
}

.news-detail .navbar .search .btn-search {
  margin-right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.news-detail .breadcrumb {
  padding: 15px 0;
}

.news-detail .breadcrumb ul {
  display: flex;
  align-items: center;
}

.news-detail .breadcrumb ul li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #3e3e3e;
}

.news-detail .breadcrumb ul li:first-child::before {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url(/img/icon-location.png);
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 5px;
}

.news-detail .breadcrumb ul li:nth-child(n + 2)::before {
  content: ">";
  margin: 0 10px;
}

.news-detail .breadcrumb ul li a {
  font-size: 16px;
  color: #3e3e3e;
}

.news-detail .main {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 30px;
}

.news-detail .main .detail {
  flex: 1;
  padding: 60px 30px;
  background-color: #fff;
}

.news-detail .main .detail .title {
  font-size: 36px;
  color: #000000;
}

.news-detail .main .detail .pubdate {
  margin-top: 10px;
  font-size: 16px;
  color: #8d8c8c;
}

.news-detail .main .detail .content {
  margin-top: 15px;
  padding-top: 20px;
  font-size: 18px;
  color: #000000;
  line-height: 30px;
  border-top: 1px solid #d2d2d2;
}

.news-detail .main .detail .content img {
  max-width: 100%;
}

.news-detail .main .related {
  width: 300px;
  padding: 15px;
  background-color: #fff;
}

.news-detail .main .related .related-title {
  padding: 30px 0;
  font-size: 18px;
  color: #000000;
  position: relative;
}

.news-detail .main .related .related-title::after {
  content: "";
  width: 39px;
  height: 3px;
  position: absolute;
  left: 0;
  bottom: 15px;
  background-color: #ffab27;
}

.news-detail .main .related .list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-detail .main .related .list .item .img {
  overflow: hidden;
}

.news-detail .main .related .list .item .img img {
  width: 100%;
  aspect-ratio: 263 / 184;
  transition: all 0.5s;
}

.news-detail .main .related .list .item:hover .img img {
  transform: scale(1.2);
}

.news-detail .main .related .list .item .name {
  padding: 15px 0 10px;
  font-size: 16px;
  color: #515050;
  line-height: 30px;
}
