.qiongpai-news-read {
  padding: 70px 0 100px;
}

.qiongpai-divider {
  background: #D9D9D9;
  height: 1px;
  width: 100%;
}

.qiongpai-news-read__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.qiongpai-news-read__main {
  flex: 1;
}

.qiongpai-news-read__sidebar {
  width: 27.5%;
  min-width: 360px;
  flex-shrink: 0;
}

.qiongpai-news-read__main h1 {
  color: #333;
  font-size: 30px;
  font-weight: 700;
  line-height: 46px;
  text-transform: capitalize;
}

.qiongpai-news-read__date {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qiongpai-news-read__date svg {
  width: 24px;
  height: 24px;
}

.qiongpai-news-read__date span {
  color: #666;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-transform: capitalize;
}

.qiongpai-news-read__main .qiongpai-divider {
  margin: 30px 0;
}

.qiongpai-news-read__content h2, .qiongpai-news-read__content h3, .qiongpai-news-read__content h4 {
  color: #000;
}

.qiongpai-news-read__content p {
  color: #666;
  font-size: 16px;
  font-weight: 400;
  line-height: var(--line-height);
  text-transform: capitalize;
  min-height: 1em;
}

.markdown-new-styling>*:not(:last-child), .qiongpai-news-read__content>*:not(:last-child) {
  margin-bottom: 10px;
}
@media screen and (max-width: 1280px) {
  .qiongpai-news-read {
    padding: 60px 0 80px;
  }

  .qiongpai-news-read__wrapper {
    gap: 40px;
  }
}

@media screen and (max-width: 991px) {
  .qiongpai-news-read {
    padding: 50px 0 60px;
  }

  .qiongpai-news-read__wrapper {
    flex-direction: column;
  }

  .qiongpai-news-read__main,
  .qiongpai-news-read__sidebar {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .qiongpai-news-read {
    padding: 40px 0 50px;
  }

  .qiongpai-news-read__wrapper {
    gap: 30px;
  }

  .qiongpai-news-read__main h1 {
    font-size: 24px;
    line-height: 36px;
  }

  .qiongpai-news-read__date {
    margin-top: 20px;
  }

  .qiongpai-news-read__main .qiongpai-divider {
    margin: 20px 0;
  }
}

@media screen and (max-width: 479px) {
  .qiongpai-news-read {
    padding: 30px 0 40px;
  }
}

/* ----------------- Sidebar ----------------- */
.qiongpai-news-read__sidebar .sidebar-header h3 {
  color: #333;
  font-size: 30px;
  font-weight: 700;
  line-height: 46px;
  text-transform: capitalize;
}

.qiongpai-news-read__sidebar .sidebar-header .qiongpai-divider {
  margin: 14px 0 10px;
}

.qiongpai-news-read__sidebar .news-item {
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.qiongpai-news-read__sidebar .news-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ECECEC;
}

.qiongpai-news-read__sidebar .news-item a {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: capitalize;
  font-family: var(--font-title-family);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  height: 3em;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: all 0.3s ease;
}

.qiongpai-news-read__sidebar .products {
  margin-top: 80px;
}

.qiongpai-news-read__sidebar .product-item {
  padding: 14px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.qiongpai-news-read__sidebar .product-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ECECEC;
}

.qiongpai-news-read__sidebar .product-item a {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qiongpai-news-read__sidebar .product-item a .left {
  width: 100px;
  height: 100px;
  border: 1px solid #D9D9D9;
  flex-shrink: 0;
}

.qiongpai-news-read__sidebar .product-item a .left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qiongpai-news-read__sidebar .product-item a .right {
  flex: 1;
}

.qiongpai-news-read__sidebar .product-item a .right h4 {
  color: #333;
  font-family: var(--font-title-family);
  font-size: 22px;
  line-height: 32px;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 32px;
  transition: all 0.3s ease;
}

.qiongpai-news-read__sidebar .product-item a .right p {
  color: #666;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-transform: capitalize;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 44px;
  transition: all 0.3s ease;
}

.qiongpai-news-read__sidebar .news-item:hover {
  background: var(--color-primary);
}

.qiongpai-news-read__sidebar .news-item:hover a,
.qiongpai-news-read__sidebar .news-item a:hover {
  color: #fff !important;
}

.qiongpai-news-read__sidebar .product-item:hover {
  background: var(--color-primary);
}

.qiongpai-news-read__sidebar .product-item:hover a .left {
  border-color: #fff;
  background: #fff;
}

.qiongpai-news-read__sidebar .product-item:hover a .right h4,
.qiongpai-news-read__sidebar .product-item:hover a .right p {
  color: #fff;
}

@media screen and (max-width: 1280px) {
  .qiongpai-news-read__sidebar .products {
    margin-top: 60px;
  }
}
@media screen and (max-width: 991px) {
  .qiongpai-news-read__sidebar .products {
    margin-top: 40px;
  }
  .qiongpai-news-read__sidebar .sidebar-header h3 {
    font-size: 24px;
    line-height: 36px;
  }
}
@media screen and (max-width: 767px) {
  .qiongpai-news-read__sidebar .products {
    margin-top: 30px;
  }
}
@media screen and (max-width: 479px) {
  .qiongpai-news-read__sidebar .products {
    margin-top: 20px;
  }
}