/* ==================== 新闻资讯 ==================== */
.news-section {
    padding: 100px 0;
    background: var(--primary-light);
    position: relative;
    z-index: 1;
  }
  
  /* 标题与 Tabs */
  .news-head {
    text-align: center;
    margin-bottom: 50px;
  }
  .news-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 30px;
    letter-spacing: 1px;
  }
  .news-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .news-tabs a {
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.22,.61,.36,1);
    padding-bottom: 6px;
    position: relative;
  }
  .news-tabs a:hover,
  .news-tabs a.active {
    color: var(--primary-dark);
  }
  .news-tabs a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: all 0.3s cubic-bezier(.22,.61,.36,1);
    transform: translateX(-50%);
  }
  .news-tabs a:hover::after,
  .news-tabs a.active::after {
    width: 100%;
  }
  
  /* 主体布局 */
  .news-body {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  /* 左侧：竖排列表 */
  .news-sidebar {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .news-item {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
    background: #fff;
    /* border-radius: var(--radius); */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.22,.61,.36,1);
    color: var(--muted);
    height: 31%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  }
  .news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
  .news-item.active {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-lg);
  }
  .news-date-sm {
    display: flex;
    flex-direction: column;
    min-width: 44px;
  }
  .news-date-sm .d {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #b3b3b3;
    transition: color 0.3s;
  }
  .news-item.active .news-date-sm .d { color: #dddddf; }
  .news-date-sm .m {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 600;
  }
  .news-item.active .news-date-sm .m { color: #DDDDDF; }
  .news-item-txt {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* 列表内的最新标签 (黑底白字) */
  .news-item-txt .badge-new {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
    transform: translateY(-1px); 
  }
  .news-item.active .news-item-txt .badge-new {
    background: #fff;
    color: var(--primary-dark);
  }
  
  /* 右侧：详情区 */
  .news-main {
    width: 75%;
    background: #fff;
    display: flex;
    padding: 40px;
    gap: 30px;
    /* border-radius: var(--radius); */
    box-shadow: var(--shadow);
    height: 540px;
  }
  
  .news-main-left { 
    width: 26%; 
    display: flex; 
    flex-direction: column; 
  }
  .news-main-img { 
    width: 55%; 
    aspect-ratio: 16/10; 
    overflow: hidden; 
    border-radius: calc(var(--radius) - 4px);
  }
  .news-main-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
  }
  .news-main:hover .news-main-img img {
    transform: scale(1.03);
  }
  .news-main-right { 
    width: 26%; 
    /* border-left: 1px solid var(--border); */
    padding-left: 10px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
  }
  
  .news-date { 
    display: flex; 
    align-items: baseline; 
    gap: 10px; 
    margin-bottom: 20px; 
  }
  .news-date .d { 
    font-size: 42px; 
    font-weight: 800; 
    color: var(--primary-dark); 
    line-height: 1; 
  }
  .news-date .m { 
    font-size: 14px; 
    color: var(--muted); 
    font-weight: 600;
  }
  .news-tag { 
    display: inline-block; 
    background: var(--primary-dark); 
    color: #fff; 
    font-size: 12px; 
    font-weight: 600;
    padding: 4px 12px; 
    border-radius: 3px; 
    margin-bottom: 20px; 
    align-self: flex-start; 
  }
  .news-main-h3 { 
    font-size: 18px; 
    font-weight: 800; 
    color: var(--primary-dark); 
    line-height: 1.5; 
    margin-bottom: 16px; 
  }
  .news-main-desc { 
    font-size: 14px; 
    color: var(--muted); 
    line-height: 1.8; 
    margin-bottom: 30px; 
    flex: 1; 
  }
  .news-main-right p { 
    font-size: 14px; 
    color: var(--muted); 
    line-height: 2; 
    margin: 0; 
    text-align: justify;
    overflow: scroll;
  }
  .news-main-right p::-webkit-scrollbar {
  display: none; /* 隐藏滚动条 */
  width: 0;
  height: 0;
}
  
  /* 响应式 */
  @media (max-width: 1024px) {
    .news-body { flex-direction: column; }
    .news-sidebar { 
      width: 100%; 
      flex-direction: row; 
      overflow-x: auto; 
      padding-bottom: 10px;
      gap: 16px;
    }
    .news-sidebar::-webkit-scrollbar { display: none; }
    
    .news-item { 
      flex: 0 0 260px; 
      height: auto;
    }
    
    .news-main { 
      width: 100%; 
      flex-direction: column; 
      padding: 30px; 
      height: auto;
    }
    .news-main-left, .news-main-img, .news-main-right { width: 100%; }
    .news-main-img { aspect-ratio: 16/9; margin: 20px 0; }
    .news-main-right { 
      border-left: none; 
      border-top: 1px solid var(--border); 
      padding-left: 0; 
      padding-top: 24px; 
    }
  }
  @media (max-width: 768px) {
    .news-tabs { gap: 20px; }
    .news-item { flex: 0 0 220px; padding: 16px; }
    .news-main { padding: 20px; }
  }