/* ===== NEWS LAYOUT ===== */
.news-layout{display:grid;grid-template-columns:1fr 340px;gap:60px;align-items:start}

/* 分类筛选 */
.news-filter{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:40px}
.news-filter-btn{padding:8px 22px;border-radius:50px;font-size:14px;font-weight:500;cursor:pointer;transition:var(--tr);border:1.5px solid var(--border);background:#fff;color:var(--text-2)}
.news-filter-btn:hover{border-color:var(--blue);color:var(--blue)}
.news-filter-btn.active{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 6px 20px rgba(24,77,196,.28)}

/* 置顶大图新闻 */
.news-featured{border-radius:var(--r);overflow:hidden;box-shadow:var(--sh-m);margin-bottom:32px;cursor:pointer;display:grid;grid-template-columns:1fr 1fr;transition:var(--tr);color:inherit;text-decoration:none;    align-items: center;}
.news-featured:hover{box-shadow:var(--sh-l);transform:translateY(-4px)}
.news-featured-img{position:relative;height:280px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:0 18px;box-sizing:border-box}
.news-featured-img img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .6s ease;display:block;margin:0 auto}
.news-featured:hover .news-featured-img img{transform:scale(1.05)}
.news-featured-body{padding:36px 32px;background:#fff;display:flex;flex-direction:column;justify-content:center}
.news-hot-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:linear-gradient(135deg,#ff4d4d,#ff8c00);color:#fff;border-radius:50px;font-size:11px;font-weight:700;margin-bottom:14px;width:fit-content}
.news-featured-cat{display:inline-block;padding:3px 10px;background:var(--blue-bg);color:var(--blue);border-radius:50px;font-size:11px;font-weight:600;margin-bottom:12px}
.news-featured-title{font-size:22px;font-weight:800;color:var(--dark);line-height:1.45;margin-bottom:14px}
.news-featured-desc{font-size:14px;color:var(--text-2);line-height:1.9;margin-bottom:20px;flex:1}
.news-featured-meta{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--text-3)}
.news-featured-meta span{display:flex;align-items:center;gap:4px}

/* 新闻列表 */
.news-list{display:flex;flex-direction:column;gap:20px}
.news-item{display:grid;grid-template-columns:200px 1fr;gap:20px;border-radius:var(--r-s);overflow:hidden;background:#fff;box-shadow:var(--sh);border:1px solid var(--border);cursor:pointer;transition:var(--tr);color:inherit;text-decoration:none;    align-items: center;}
.news-item:hover{transform:translateY(-4px);box-shadow:var(--sh-m);border-color:transparent}
.news-item-img{height:130px;overflow:hidden;position:relative;margin:0}
.news-item-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;display:block}
.news-item:hover .news-item-img img{transform:scale(1.06)}
.news-item-body{padding:16px 18px 16px 0;display:flex;flex-direction:column;justify-content:space-between}
.news-item-cat{display:inline-block;padding:2px 9px;background:var(--blue-bg);color:var(--blue);border-radius:50px;font-size:11px;font-weight:600;margin-bottom:8px;width:fit-content}
.news-item-title{font-size:15px;font-weight:700;color:var(--dark);line-height:1.5;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-item-desc{font-size:13px;color:var(--text-2);line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px}
.news-item-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--text-3)}

/* PC：列表缩略图居中，两侧留白（手机端在下方 @media max-width:768 中通栏铺满） */
@media (min-width: 769px) {
  .news-layout .news-item-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    box-sizing: border-box;
  }
  .news-layout .news-item-img img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

/* 分页 */
.pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:48px}
.page-btn{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:500;cursor:pointer;transition:var(--tr);border:1.5px solid var(--border);background:#fff;color:var(--text-2)}
.page-btn:hover{border-color:var(--blue);color:var(--blue)}
.page-btn.active{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 4px 14px rgba(24,77,196,.3)}
.page-btn.dots{border:none;cursor:default;background:none}
.page-btn.dots:hover{color:var(--text-3);border:none}

/* 侧边栏 */
.sidebar{display:flex;flex-direction:column;gap:28px;position:sticky;top:90px}
.sidebar-box{background:#fff;border-radius:var(--r);box-shadow:var(--sh);border:1px solid var(--border);overflow:hidden}
.sidebar-box--search .sidebar-search-inner{padding:16px 20px}
.sidebar-search-form{display:flex;align-items:center;gap:8px;width:100%}
.sidebar-search-input{flex:1;min-width:0;padding:11px 14px;border:1.5px solid var(--border);border-radius:12px;font-size:13px;color:var(--text);background:#fff;transition:var(--tr)}
.sidebar-search-input:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(24,77,196,.1)}
.sidebar-search-btn{padding:11px 18px;background:var(--blue);color:#fff;border:none;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:var(--tr)}
.sidebar-search-btn:hover{background:#1240ad}
.sidebar-title{font-size:15px;font-weight:700;color:var(--dark);padding:18px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}
.sidebar-title::before{content:"";display:block;width:3px;height:16px;background:var(--blue);border-radius:2px}

/* 热门文章 */
.hot-list{padding:10px 0}
.hot-item{display:flex;align-items:flex-start;gap:12px;padding:12px 20px;cursor:pointer;transition:var(--tr)}
.hot-item:hover{background:var(--cream)}
.hot-rank{width:22px;height:22px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0;margin-top:1px}
.hot-rank.r1{background:#ff4d4d;color:#fff}
.hot-rank.r2{background:#ff8c00;color:#fff}
.hot-rank.r3{background:#f5c400;color:#fff}
.hot-rank.r4,.hot-rank.r5{background:var(--cream-d);color:var(--text-2)}
.hot-title{font-size:13px;color:var(--text);line-height:1.6;font-weight:500}
.hot-date{font-size:11px;color:var(--text-3);margin-top:3px}

/* 分类列表 */
.cat-list{padding:10px 0}
.cat-item{display:flex;align-items:center;justify-content:space-between;padding:11px 20px;cursor:pointer;transition:var(--tr);font-size:14px;color:var(--text-2)}
.cat-item:hover{background:var(--cream);color:var(--blue)}
.cat-count{font-size:11px;padding:2px 8px;background:var(--cream-d);border-radius:50px;font-weight:600;color:var(--text-3)}
.cat-item:hover .cat-count{background:var(--blue-bg);color:var(--blue)}

/* 关注我们 */
.follow-box{padding:22px}
.follow-qr{width:120px;height:120px;margin:0 auto 12px;border-radius:12px;box-shadow:var(--sh)}
.follow-desc{font-size:13px;color:var(--text-2);text-align:center;line-height:1.7;margin-bottom:16px}
.follow-tel{text-align:center;font-size:20px;font-weight:800;color:var(--blue);letter-spacing:1px}
.follow-tel-lbl{text-align:center;font-size:11px;color:var(--text-3);margin-bottom:6px}

/* ===== QUOTE / CTA ===== */
.quote-sec{background:linear-gradient(rgba(20,56,180,.88),rgba(14,40,136,.92)),url(./img/comp.png) center/cover no-repeat;padding:100px 0;position:relative;overflow:hidden}
.quote-sec::before{content:"";position:absolute;top:-180px;right:-180px;width:600px;height:600px;border-radius:50%;background:rgba(255,255,255,.07);filter:blur(80px);pointer-events:none}
.quote-sec::after{content:"";position:absolute;bottom:-120px;left:-60px;width:400px;height:400px;border-radius:50%;background:rgba(0,0,0,.12);filter:blur(70px);pointer-events:none}
.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;position:relative;z-index:1}
.q-left h2{font-size:38px;font-weight:900;color:#fff;line-height:1.25;margin-bottom:18px}
.q-left p{font-size:15px;color:rgba(255,255,255,.82);line-height:2;margin-bottom:28px}
.q-tel-lbl{font-size:11px;color:rgba(255,255,255,.5);letter-spacing:2px;margin-bottom:6px}
.q-tel{font-size:32px;font-weight:900;color:#fff;letter-spacing:2px}
.q-card{background:rgba(255,255,255,.97);border-radius:var(--r);padding:36px}
.q-card-h{font-size:17px;font-weight:700;color:var(--dark);margin-bottom:22px;line-height:1.4}
.q-checks{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.q-chk{display:inline-flex;align-items:center;gap:7px;padding:7px 16px;border:1.5px solid var(--border);border-radius:50px;font-size:13px;font-weight:500;color:var(--text-2);cursor:pointer;transition:var(--tr)}
.q-chk:hover{border-color:var(--blue);color:var(--blue)}
.q-chk input{accent-color:var(--blue)}
.q-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.q-field label{display:block;font-size:12px;font-weight:600;color:var(--text-2);margin-bottom:7px}
.q-input{width:100%;padding:12px 15px;border:1.5px solid var(--border);border-radius:10px;font-size:14px;color:var(--text);background:#fff;transition:var(--tr)}
.q-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,77,196,.1)}
.q-captcha-row{display:flex;gap:10px;margin-bottom:18px;align-items:flex-end}
.q-captcha-row .q-field{flex:1;margin:0}
.q-captcha-box{display:flex;gap:8px;align-items:center;flex-shrink:0}
.captcha-img{height:44px;border-radius:10px;overflow:hidden;border:1.5px solid var(--border);display:flex;align-items:center;cursor:pointer;background:linear-gradient(135deg,#e8effc,#c7d7fb);min-width:110px;user-select:none}
.captcha-img canvas{display:block}
.captcha-refresh{font-size:12px;color:rgba(255,255,255,.75);cursor:pointer;white-space:nowrap;font-weight:500;transition:color .2s}
.captcha-refresh:hover{color:#fff}
.q-submit{width:100%;padding:14px;background:var(--dark);color:#fff;border:none;border-radius:50px;font-size:15px;font-weight:700;letter-spacing:2px;cursor:pointer;transition:var(--tr)}
.q-submit:hover{background:#222;transform:translateY(-2px)}

/* ===== 新闻列表页 · 手机端 news-list（浅灰底 + 上图下文卡片）===== */
@media (max-width: 768px) {
  .sec.news-page {
    background: #f5f5f5;
  }
  .sec.news-page .news-layout {
    gap: 28px;
  }
  .news-layout .news-list {
    gap: 16px;
  }
  .news-layout .news-item {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  }
  .news-layout .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.06);
  }
  .news-layout .news-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 176px;
    border-radius: 0;
    overflow: hidden;
  }
  .news-layout .news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
  }
  .news-layout .news-item-body {
    padding: 14px 16px 16px;
    flex: 1;
    justify-content: flex-start;
    min-width: 0;
  }
  .news-layout .news-item-cat {
    margin-bottom: 10px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
  }
  .news-layout .news-item-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-layout .news-item-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-layout .news-item-meta {
    margin-top: 4px;
    padding-top: 2px;
    gap: 14px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
    align-items: center;
  }
  .news-layout .news-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .news-layout .pagination {
    margin-top: 28px;
  }
  .sec.news-page .news-filter {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  }
  .sec.news-page .news-featured {
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    margin-bottom: 16px;
    overflow: hidden;
  }
  .sec.news-page .news-featured-img {
    padding: 0;
    margin: 0;
  }
  .sec.news-page .news-featured-img img {
    border-radius: 14px 14px 0 0;
  }

  /* 侧栏：整块卡片 + 分区线 */
  .news-layout > .sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: static;
    top: auto;
    width: 100%;
    min-width: 0;
    padding: 16px 14px 18px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    box-sizing: border-box;
  }
  .news-layout > .sidebar > .sidebar-box {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .news-layout > .sidebar > .sidebar-box + .sidebar-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
  }
  .news-layout .sidebar-box--search .sidebar-search-inner {
    padding: 0 0 2px;
  }
  .news-layout .sidebar-title {
    padding: 0 0 12px;
    margin: 0;
    border-bottom: none;
    font-size: 15px;
    font-weight: 700;
  }
  .news-layout .sidebar-title::before {
    width: 4px;
    height: 15px;
    border-radius: 2px;
  }
  .news-layout .hot-list,
  .news-layout .cat-list {
    padding: 0;
    margin: 0;
  }
  .news-layout .hot-item {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    align-items: flex-start;
    border-radius: 0;
  }
  .news-layout .hot-item:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .news-layout .hot-item > div {
    min-width: 0;
    flex: 1;
  }
  .news-layout .hot-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .news-layout .hot-date {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 4px;
  }
  .news-layout .hot-rank {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 11px;
    margin-top: 2px;
  }
  .news-layout .cat-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    border-radius: 0;
  }
  .news-layout .cat-item:last-child {
    border-bottom: none;
  }
  .news-layout .cat-item > span:first-child {
    min-width: 0;
    padding-right: 10px;
  }
  .news-layout .cat-count {
    flex-shrink: 0;
    font-size: 11px;
    padding: 3px 9px;
    background: #f0f0f0;
    color: var(--text-3);
  }
  .news-layout .follow-box {
    padding: 4px 0 0;
  }
  .news-layout .follow-qr {
    width: 120px;
    height: 120px;
  }
  .news-layout .follow-tel {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .news-layout > .sidebar {
    padding: 14px 12px 16px;
    border-radius: 16px;
  }
  .news-layout .hot-title {
    font-size: 13px;
  }
  .news-layout .sidebar-search-btn {
    padding: 11px 14px;
  }
}