/* 新闻详情页样式 */

/* 分享图标样式 */
.share-icon {
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* 微信分享弹窗样式 */
.wechat-share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.wechat-share-modal.show {
  display: flex;
}

.wechat-share-content {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.3rem;
  max-width: 4rem;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wechat-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
  font-weight: bold;
  font-size: 0.18rem;
  color: #333;
}

.wechat-share-close {
  cursor: pointer;
  font-size: 0.3rem;
  color: #999;
  line-height: 1;
  transition: color 0.3s;
}

.wechat-share-close:hover {
  color: #333;
}

.wechat-share-body {
  text-align: center;
}

.wechat-qrcode2 {
  margin: 0 auto 0.2rem;
  padding: 0.2rem;
  background: #fff;
  display: inline-block;
}

.wechat-qrcode2 img {
  display: block;
  width: 2rem;
  height: 2rem;
}

.wechat-share-tip {
  font-size: 0.14rem;
  color: #666;
  margin: 0;
}

.more-date {
  font-weight: 400;
  font-size: 0.14rem;
  color: #d12f2d;
}

.more-title {
  font-weight: 500;
  font-size: 0.14rem;
  color: #333333;
}

.more-left a {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.14rem;
  color: #8c8c8c;
  line-height: 0.14rem;
  cursor: pointer;
}

.item-date {
  font-weight: 400;
  font-size: 0.14rem;
  color: #d12f2d;
}

.item-title {
  font-weight: 400;
  font-size: 0.14rem;
  color: #333333;
}

.item-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-detail-right-contact-item {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.news-detail-right-contact-item img {
  width: 1.12rem;
  height: 0.63rem;
}

.list-title {
  font-weight: bold;
  font-size: 0.18rem;
  color: #333333;
}

.news-detail-right-contact-list {
  padding: 0.2rem;
  background-color: #f3f4f7;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.news-detail-right-contact-top-line {
  height: 0.06rem;
  background: #d12f2d;
  width: 100%;
}

.related-news-line-box {
  padding: 0 0.2rem;
}

.related-news-item-left {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.14rem;
  color: #8c8c8c;
  justify-content: space-between;
}

.news-detail-main {
  margin-top: 0.3rem;
}

.more-news-con {
  background: #f3f4f7;
  padding: 0.28rem 0.2rem;
  width: 100%;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 联系我们区域 */
.news-detail-right-contact {
  margin-top: 0.3rem;
}

.news-detail-right-contact-title {
  font-weight: bold;
  font-size: 0.32rem;
  color: #333333;
}

.news-detail-contact-button {
  background: #d12f2d;
  padding: 0.19rem 0.68rem;
  font-weight: 500;
  font-size: 0.16rem;
  color: #ffffff;
  line-height: 0.1rem;
  margin-top: 0.34rem;
  width: fit-content;
  cursor: pointer;
  transition: all 0.3s ease;
}

.news-detail-contact-button:hover {
  background: #b02725;
}

.news-detail-contact-phone {
  display: flex;
  align-items: center;
  margin-top: 0.34rem;
  gap: 0.08rem;
}

.contact-phone-label {
  font-weight: 500;
  font-size: 0.14rem;
  color: #333333;
}

.contact-phone-number {
  font-weight: 500;
  font-size: 0.14rem;
  color: #d12f2d;
}

/* 相关新闻区域 */
.related-news-line {
  height: 0.01rem;
  background: #e5e5e5;
  margin: 0;
}

.related-news-item {
  padding: 0.25rem 0.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.related-news-item:hover {
  background-color: #f9f9f9;
}

.related-news-item-title {
  font-weight: 500;
  font-size: 0.14rem;
  color: #333333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
}

.related-news-item-date {
  color: #d12f2d;
}

.related-news-list {
  display: flex;
  flex-direction: column;
  background-color: white;
}

.related-news-box {
  background: #f3f4f7;
  padding: 0.1rem;
  margin-top: 0.21rem;
}

.news-detail-right-title {
  font-weight: bold;
  font-size: 0.32rem;
  color: #333333;
}

.news-detail-right-line {
  height: 0.03rem;
  width: 100%;
  background: #d12f2d;
  margin-top: 0.29rem;
}

.news-detail-right {
  min-width: 3.4rem;
  max-width: 3.4rem;
  padding-top: 1.22rem;
}

/* 新闻正文区域 */
.news-detail-section {
  margin-bottom: 0.4rem;
}

.news-detail-section-icon {
  width: 0.06rem;
  height: 0.06rem;
  background: #d12f2d;
  border-radius: 100%;
}

.news-detail-section-title {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  font-weight: 500;
  font-size: 0.18rem;
  color: #333333;
  margin-bottom: 0.15rem;
}

.news-detail-section-content {
  font-weight: 400;
  font-size: 0.14rem;
  color: #666666;
  line-height: 0.24rem;
  margin-left: 0.12rem;
  word-break: break-word;
}

.news-detail-section-content p {
  margin-bottom: 0.15rem;
}

.news-detail-text {
  margin-top: 0.42rem;
}

/* 新闻封面图 */
.news-detail-image {
  width: 100%;
  border-bottom: 0.01rem solid #e5e5e5;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-left {
  flex: 1;
}

.news-detail-container {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.6rem;
}

/* 新闻元信息 */
.news-detail-meta {
  display: flex;
  align-items: center;
  margin-top: 0.3rem;
  padding-bottom: 0.39rem;
  justify-content: space-between;
}

.news-detail-date {
  font-weight: 400;
  font-size: 0.16rem;
  color: #d12f2d;
}

.news-detail-category {
  font-weight: 400;
  font-size: 0.14rem;
  color: #8c8c8c;
}

.news-detail-author {
  font-weight: 400;
  font-size: 0.14rem;
  color: #8c8c8c;
}

.news-detail-meta-right {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.news-detail-meta-right img {
  width: 0.4rem;
  height: 0.4rem;
}

.news-detail-meta-right span {
  font-weight: 400;
  font-size: 0.14rem;
  color: #8c8c8c;
  margin-right: 0.3rem;
}

.news-detail-meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 新闻标题 */
.news-detail-title {
  font-weight: bold;
  font-size: 0.34rem;
  color: #333333;
  line-height: 0.45rem;
  margin-top: 0.56rem;
}

/* 面包屑导航 */
.breadcrumb {
  padding-top: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb-back {
  width: 1.25rem;
  height: 0.4rem;
  border: 0.01rem solid #d12f2d;
  font-weight: 500;
  font-size: 0.14rem;
  color: #d12f2d;
  line-height: 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.breadcrumb-back:hover {
  background-color: #d12f2d;
  color: #fff;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.08rem;
}

.breadcrumb-icon {
  width: 0.2rem;
}

.breadcrumb-right {
  width: 0.05rem;
}

.breadcrumb a {
  color: #8c8c8c;
  text-decoration: none;
  font-size: 0.16rem;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #d12f2d;
}

.breadcrumb-current {
  color: #333333;
  font-size: 0.16rem;
}

/* 新闻详情内容区域 */
.news-detail-content {
  max-width: 83.3%;
  margin: 0 auto;
  background-color: #fff;
  margin-top: 70px;
  padding-bottom: 0.8rem;
  font-size: 0.18rem;
  line-height: 0.4rem;
  text-align: justify;
}

/* 添加渐入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0.3rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-detail-container {
  animation: fadeInUp 0.8s ease;
}

/* 相关新闻项动画增强 */
.news-detail-right-contact-item {
  transition: all 0.3s ease;
}

.news-detail-right-contact-item:hover {
  transform: translateX(0.05rem);
  background-color: #fff;
  padding: 0.1rem;
  border-radius: 0.05rem;
}

.news-detail-right-contact-item img {
  transition: transform 0.3s ease;
}

.news-detail-right-contact-item:hover img {
  transform: scale(1.05);
}

/* 下一篇上一篇动画 */
.more-left {
  transition: all 0.3s ease;
}

.more-left:hover {
  color: #d12f2d;
  transform: translateX(0.1rem);
}

.more-left:first-child:hover {
  transform: translateX(-0.1rem);
}

/* 面包屑增强 */
.breadcrumb-list a {
  transition: all 0.3s ease;
}

.breadcrumb-list a:hover {
  transform: translateY(-0.02rem);
}

/* 新闻正文图片动画 */
.news-detail-text img {
  transition: transform 0.3s ease;
}

.news-detail-text img:hover {
  transform: scale(1.02);
}
