* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5 !important;
}

.container {
  padding: 10px 18px;
  background: #fff;
}
.article-title {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.article-title:after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 5px;
  width: 100%;
  height: 10px;
  z-index: -1;
  background: linear-gradient(90deg, rgb(247, 171, 0), rgb(255, 255, 255) 100%);
}

.sub-title {
  font-size: 26px;
}

.article-meta {
  color: #201a1c;
  font-size: 15px;
  margin-bottom: 6px;
}

.box {
  margin: 8px auto 0;
  width: 1200px;
  display: flex;
  align-items: flex-start;
}

.left-box {
  margin-right: 8px;
  flex: 0 0 788px;
}

.article-content {
  line-height: 1.8;
  color: #333;
  font-size: 17px;
  background: #fff;
  padding: 20px 18px;
}

.content-section {
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.machine-image {
  text-align: center;
  margin: 20px 0;
}

.machine-image img {
  max-width: 100%;
}

/* 优惠购机样式 */
.product-section {
  margin-top: 8px;
  background: #fff;
  padding: 25px 22px 9px;
  position: relative;
}

.product-nav {
  margin-bottom: 15px;
  position: absolute;
  right: 20px;
  top: 35px;
  font-size: 17px;
}

.product-nav a {
  display: inline-block;
  color: #000;
  text-decoration: none;
  margin-left: 15px;
}

.product-card {
  display: flex;
  gap: 20px;
}

.product-image img {
  width: 266px;
  height: 187px;
  object-fit: cover;
}

.product-info {
  flex: 1;
  height: 100%;
  padding: 16px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info-a {
  text-decoration: none;
}

.product-name {
  color: #201a1c;
  font-size: 20px;
  width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

.product-rating {
  display: flex;
  align-items: center;
  position: absolute;
  top: 18px;
  right: 0;
  color: #201a1c;
  font-size: 15px;
}

.rating-stars {
  color: #f60;
  display: flex;
  align-items: center;
  padding: 0 3px;
}

.star {
  width: 19px;
  height: 18px;
  margin: 0 2px;
}

.rating-score {
  color: #ff6802;
  font-size: 15px;
}

.product-actions {
  margin: 18px 0;
}

.product-actions .action-btn {
  padding: 3.5px 11px;
  margin-right: 5px;
  border: 1px solid #828ca0;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 17px;
  border-radius: 2px;
  color: #201a1c;
}

.action-btn.price-btn {
  background: #0067ce;
  color: #fff;
  border-color: #0067ce;
}

.product-specs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
}

.spec-item {
  font-size: 17px;
  color: #201a1c;
  flex: 0 50%;
  margin-bottom: 6px;
}

/* 相关机械知识样式 */
.related-section {
  margin: 8px 0 0;
  background: #fff;
  padding: 20px;
}

.related-list {
  padding-top: 8px;
}

.related-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  position: relative;
}

.related-item:not(:last-child):after {
  content: "";
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #dddddd;
  position: absolute;
}

.related-image {
  width: 169px;
  height: 118px;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content {
  flex: 1;
}

.related-title-a {
  text-decoration: none;
}

.related-title {
  font-size: 20px;
  color: #201a1c;
  font-weight: 400;
  margin-bottom: 8px;
  width: 560px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-desc-box {
  position: relative;
}

.related-desc {
  color: #828ca0;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制两行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em; /* 根据行高调整 */
}

.related-desc-after {
  text-decoration: none;
  position: absolute;
  font-size: 17px;
  line-height: 1.5;
  bottom: 0;
  right: 0;
  color: #0067ce;
  background: white;
  padding-left: 5px;
  cursor: pointer;
}

.publish-time {
  text-align: right;
  color: #828ca0;
  font-size: 17px;
}

.more-link {
  text-align: center;
  color: #0067ce;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.right-box {
  flex: 0 404px;
}

/* 主机图片样式 */
.main-product {
  background: #fff;
  padding: 15px;
  margin-bottom: 8px;
  padding: 25px 20px;
}

.main-product-a {
  text-decoration: none;
  color: #333;
}

.main-product img {
  width: 100%;
  margin-bottom: 10px;
}

.main-product h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
  width: 365px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.action-buttons .action-btn {
  flex: 1;
  padding: 5px 0;
  border: 1px solid #0067ce;
  border-radius: 2px;
  color: #0067ce;
  background: #fff;
  cursor: pointer;
  font-size: 17px;
  text-align: center;
}

.price-inquiry {
  width: 100%;
  padding: 6px 0;
  background: #0067ce;
  font-size: 17px;
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  display: block;
}

/* 相关资讯推荐样式 */
.related-news {
  background: #fff;
  padding: 25px 20px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 22px;
  line-height: 24px;
  font-weight: 400;
  color: #201a1c;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding: 0;
}

.news-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.news-item a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.news-item img {
  display: none;
  width: 110px;
  height: 66px;
  margin-right: 15px;
  object-fit: cover;
}

.news-title {
  color: #201a1c;
  font-size: 17px;
  line-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item a:hover img {
  display: block;
}

.news-item a:hover .news-title {
  -webkit-line-clamp: 2;
  font-size: 20px;
}

/* 挖掘机推荐样式 */
.excavator-recommend {
  background: #fff;
  padding: 25px 20px;
  margin-bottom: 8px;
}

.recommend-list {
  list-style: none;
  padding: 0;
}

.recommend-item a {
  display: flex;
  text-decoration: none;
  align-items: center;
  margin-bottom: 13px;
}

.recommend-item img {
  flex: 0 0 110px;
  height: 66px;
  object-fit: cover;
  margin-right: 15px;
}

.recommend-title {
  color: #201a1c;
  font-size: 17px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 机型对比样式 */
.model-compare {
  background: #fff;
  padding: 25px 20px;
}

.compare-list {
  list-style: none;
  padding: 0;
}

.compare-item {
  margin-bottom: 13px;
}

.compare-title {
  color: #201a1c;
  text-decoration: none;
  font-size: 17px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
