*{
    box-sizing: border-box;
  }
  .f-w{
      font-weight: bold;
  }
  .copy-link-btn{
    position:relative;
    display:inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
}
.wechat-share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    cursor: pointer;
  }
  
  /* 二维码弹窗主体 */
  .wechat-qrcode {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    padding: 35px 35px 13px;
    background: #ffffff;
    border-radius: 12px;
    z-index: 999;
    text-align: center;
  }
  
  /* 弹窗尖角：对准32px按钮中心 */
  .wechat-qrcode::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 30px;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    filter: drop-shadow(0 -2px 4px rgba(0, 61, 92, 0.06));
  }
  
  /* 二维码图片 */
  .wechat-qrcode img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 8px;
  }
  
  /* 弹窗文字 */
  .wechat-qrcode p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #003D5C;
  }
  
  /* 显示状态 + 淡入动画 */
  .wechat-qrcode.show {
    display: block;
    animation: fadeInUp 0.2s ease forwards;
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(-4px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
.copy-tip{
    display:none;
    position:absolute;
    top: calc(100% + 8px);
    /* 气泡左边缘与按钮左边缘对齐，尖角自然对准按钮中心下方 */
    left: 0;
    background: #ffffff;
    color: #003D5C;
    white-space: nowrap;
    padding: 10px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 4px 16px rgba(0, 61, 92, 0.08);
    z-index: 999;
}

/* 气泡尖角：精确匹配9.5px宽 × 10px高，位置对准按钮中心 */
.copy-tip::before{
    content: "";
    position: absolute;
    top: -8px;
    left: 20px;
    transform: translateX(-50%);
    border-width: 0 9px 10px 9px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    filter: drop-shadow(0 -2px 3px rgba(0, 61, 92, 0.04));
}

.copy-tip.show{
    display:block;
    animation: fadeTip 2s ease forwards;
}

@keyframes fadeTip{
    0%{
        opacity:0;
        /* 移除水平偏移，仅保留垂直位移动画 */
        transform: translateY(4px);
    }
    15%{
        opacity:1;
        transform: translateY(0);
    }
    85%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}
.banner-img-custom {
    height: 680px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('/assets/imgs/news-details/news-details-bg.png');
}
.bg-footer-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    display: flex;
    justify-content: center;
}
.bg-footer {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    width: 100%;
    max-width: var(--page-width);
    /* 左右自动继承页面容器的左右内边距，和全站版心完全对齐 */
    padding: 0 20px; /* 跟随你全局page容器的左右padding值 */
    display: flex;
    gap: 40px; /* 两个div间距40px */
}
/* svg与文字间距16px */
.bg-footer > div {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}
.media-tag {
    display: inline-block;
    color: #003D5C;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    border: 1px solid #003D5C;
    
  }
  .height-96{
    line-height: 96px;
  }
  .news-video video{
    width: 100%; /* 新增：小屏自动适配父容器 */
    max-width: 900px;
    border-radius: 24px;
    margin: 40px 0;
}
    .news-img{
        width: auto;
        border-radius: 24px;
        margin: 40px 0;
    }
  .details-tag{
      display: flex;
      gap: 24px;
      margin-bottom: 32px;
  }
  .details-body{
    background: #F3F3F5;
    padding-top: 60px;
  }
  .news-clip {
    display: grid;
    grid-template-columns: 1fr 392px; /* 左栏自适应，右栏固定宽度 */
    gap: clamp(80px, 10vw, 148px); /* 间距自适应：最小80px，最大148px */
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 24px; /* 容器统一左右边距，小屏不贴边 */
}
/* 左侧正文 */
    .news-main {
        color: #003D5C;

        padding: 0;
    }
.article-content p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 16px;
    font-weight: 400;
    font-family: 'Montserrat Regular';
}
.article-content h4 {
    font-size: 24px;
    color: #003D5C;
    margin: 56px 0 16px;
    font-weight: 700;
    line-height: 36px;
}
.article-content a{
    color: #027380;
    font-family: 'Montserrat bold';
}
/* 上下文章导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 80px;
    gap: 24px;
    padding-bottom: 80px;
}
.article-nav a {
    width: 48%;
    padding: 12px 24px 44px;
    border-radius: 12px;
    color: #003D5C;
    transition: 0.3s;
    background: #fff;
}
.article-nav a:hover {
    background-color: #003D5C;
    color: #fff;
}
.article-nav span {
    font-size: 18px;
    line-height: 28px;
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat Regular';
}

/* ========== 右侧固定侧边栏 核心sticky固定 ========== */
.news-sidebar {
    position: sticky;
    top: 30px; /* 距离顶部30px固定，可自行调整 */
    height: fit-content;
    /* padding-right: 24px; */
}
.share-box {
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.share-box h3 {
    font-size: 18px;
    color: #003D5C;
    line-height: 28px;
}
.share-icons {
    display: flex;
    gap: 10px;
}
.share-icons a {
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 推荐阅读模块 */
.recommend-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px 30px;
    margin-bottom: 120px;
}
.recommend-box h3 {
    font-size: 20px;
    color: #003D5C;
    margin-bottom: 20px;
    font-weight: 700;
}
.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.card-tag {
    font-size: 12px;
    color: #003D5C;
    border: 1px solid #003D5C;
    border-radius: 100px;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 12px;
}
.card-title {
    font-size: 24px;
    line-height: 36px;
    color: #003D5C;
    font-weight: 700;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* padding: 0 16px; */
}
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    line-height: 28px;
    color: #003D5C;
    font-family: 'Montserrat Regular';

}
.card-link {
    color: #003D5C;
    font-family: 'Montserrat bold';

}
.article-nav p{
    font-size: 18px;
    font-weight: bold;
}
.recommend-card img {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 24px;
}
.share-box-mob{
    display: none;
}
/* 笔记本中屏适配 */
@media (max-width: 1440px) {
    .news-clip {
        grid-template-columns: 1fr 320px; /* 侧边栏收窄到320px */
        gap: 80px; /* 间距缩小 */
    }
    .recommend-box {
        padding: 20px 24px;
    }
    .card-title {
        font-size: 20px;
        line-height: 30px;
    }
}
@media (max-width: 768px) {
    .header-desc{
        display: none;
    }
    .news-img{
        width: 327px;
      }
    .wechat-qrcode::before {
        left: 20px;
      }
      .wechat-qrcode {
        width: 260px;
        padding: 20px;
      }
      .wechat-qrcode img {
        width: 180px;
        height: 180px;
      }
      .wechat-qrcode p {
        font-size: 16px;
        line-height: 28px;
      }
    .copy-tip::before{
        left: 20px;
    }
    .news-video video{
        max-width: 327px;
        border-radius: 24px;
        margin: 40px 0;
    }
    .height-96{
         line-height:48px
    }
    .header-title br{
        display:none;
    }
    .banner-img-custom {
        height: 400px; /* 建议补充移动端高度，否则680px太高 */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: block;
        background-image: url('/assets/imgs/news-details/news-details-bg-mob.png');
    }
    .bg-footer{
        display: block;
        font-size: 14px;
        line-height: 22px;
    }
    .bg-footer > div{
        gap:  12px;
    }
    .bg-footer-wrapper{
        bottom: 28px;
    }
    .bg-footer svg {
        width: 24px ;
        height: 24px ;
    }
    .details-body{
        padding-top: 40px;
    }
    .media-tag {
        font-size: 10px;
        line-height: 16px;
        padding: 2px 10px;
        margin-bottom: 8px;
    }
    .news-clip {
        grid-template-columns: 1fr;
        /* 移动端gap用clamp自适应，小屏自动缩小间距 */
        gap: clamp(24px, 5vw, 40px);
        padding: 0;

    }

    .news-sidebar {
        position: static;
        padding: 40px 0 132px; /* 上下留空间，左右不要padding，让背景铺满 */
        background-image: url('/assets/imgs/news-details/recommended-bg.png');
        background-size: cover; /* 背景铺满容器 */
        background-position: center bottom; /* 对齐设计图渐变方向 */
        background-repeat: no-repeat;
    }
    .recommend-box{
        background: transparent; /* 关键：移除实色背景 */
        padding: 0 24px; /* 内边距移到这里，保证内容和版心对齐 */
        margin-bottom: 0;
    }
    
    .news-main {
        padding:0 24px;
    }
    .article-content p{
        font-size: 16px;
        line-height: 24px;
    }
    .article-content h4{
        margin: 40px 0 16px;
    }
    .article-nav {
        flex-direction: column;
        padding-top: 60px;
        padding-bottom:0;
        height: auto;
    }
    
    .article-nav a {
        width: auto;
        padding: 12px 16px 16px;
        background:#fff
    }
    .article-nav p{
        font-size: 16px;
    }

    .recommend-card{
        background:#fff;
        padding: 12px;
        display: flex;
        gap: 12px;
        border-radius: 12px;
    }
    .card-title{
        font-size: 14px;
        line-height: 22px;
        /* padding: 0; */
        margin-bottom: 8px;
    }
    .card-link{
        display: none;
    }
    .card-date{
        font-size:12px;
        line-height: 18px;
    }
    .recommend-card img {
        width: 100%;
        height: 78px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    .recommend-list{
        gap: 16px;
    }
    .details-tag{
        gap: 16px;
    }
    .share-box-mob{
        display: block;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 40px;
    }

    .share-box{
        display: none;
    }

    .share-box-mob h3 {
        margin-bottom: 16px;
    }
    .share-icons svg{
        width: 40px;
        height: 40px;
    }
    .share-icons{
        gap: 24px;
    }
}