/* ============================================================
   txxdh.com 资讯列表页样式 news.css
   ============================================================ */

/* 资讯页头 */
.news-head { position: relative; padding: 72px 0 76px; background: linear-gradient(180deg, #f3edff 0%, #f8f6fd 100%); overflow: hidden; }
.news-head::before { content: ""; position: absolute; top: -120px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(192,132,252,.22), transparent 65%); }
.news-head-in { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.news-head h1 em { font-style: normal; color: var(--purple-5); }
.news-head p { color: var(--ink-2); margin-top: 10px; max-width: 560px; }
.news-head .nh-tel { background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 14px 24px; display: flex; align-items: center; gap: 14px; }
.news-head .nh-tel svg { width: 22px; height: 22px; color: var(--purple-5); }
.news-head .nh-tel .lb { font-size: 12.5px; color: var(--ink-3); }
.news-head .nh-tel .num { font-size: 22px; font-weight: 800; color: var(--purple-6); letter-spacing: 1px; }

/* 分类胶囊 */
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-chips a { padding: 9px 20px; border-radius: var(--r-full); background: var(--card); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .3s ease; box-shadow: var(--shadow-sm); }
.cat-chips a:hover, .cat-chips a.active { border-color: var(--purple-5); background: var(--purple-5); color: #fff; }

/* 文章列表（横向卡片行） */
.news-list { display: grid; gap: 22px; }
.news-list .nl-item { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s ease; }
.news-list .nl-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-list .nl-media { position: relative; overflow: hidden; }
.news-list .nl-media img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; transition: transform .6s ease; }
.news-list .nl-item:hover .nl-media img { transform: scale(1.06); }
.news-list .nl-date { position: absolute; left: 14px; top: 14px; background: rgba(43,27,90,.78); backdrop-filter: blur(6px); color: #fff; border-radius: 10px; text-align: center; padding: 8px 12px; line-height: 1.1; }
.news-list .nl-date b { display: block; font-size: 19px; }
.news-list .nl-date span { font-size: 11px; color: #e4d9ff; }
.news-list .nl-body { padding: 26px 30px; display: flex; flex-direction: column; }
.news-list .nl-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.news-list h2 { font-size: 19px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.news-list h2 a:hover { color: var(--purple-6); }
.news-list p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.news-list .nl-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.news-list .nl-more { font-size: 13.5px; font-weight: 700; color: var(--purple-6); display: inline-flex; align-items: center; gap: 6px; }
.news-list .nl-more svg { width: 14px; height: 14px; }

/* 侧栏 */
.side-hot li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-hot li:last-child { border-bottom: none; }
.side-hot .sh-num { width: 26px; height: 26px; border-radius: 8px; background: var(--gray-1); color: var(--ink-3); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.side-hot li:nth-child(-n+3) .sh-num { background: var(--purple-5); color: #fff; }
.side-hot a { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-hot a:hover { color: var(--purple-6); }
.side-hot .sh-time { display: block; font-size: 12px; color: var(--gray-4); margin-top: 3px; }

.side-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tag-cloud a { font-size: 12.5px; padding: 6px 13px; border-radius: var(--r-full); background: var(--gray-1); color: var(--ink-2); border: 1px solid var(--gray-2); transition: all .3s ease; }
.side-tag-cloud a:hover { background: var(--purple-1); color: var(--purple-6); border-color: var(--purple-3); }

.side-contact-card { background: linear-gradient(160deg, var(--purple-5), var(--purple-7)); color: #fff; border-radius: var(--r-lg); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-md); }
.side-contact-card h4 { font-size: 17px; margin-bottom: 8px; }
.side-contact-card p { font-size: 13px; color: rgba(255,255,255,.82); margin-bottom: 18px; }
.side-contact-card .sc-num { font-size: 26px; font-weight: 800; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.side-contact-card .btn-light { margin-top: 12px; }

/* 资讯列表循环区块（无分页，标签直出） */
.loop-zone { margin-top: 8px; }

@media (max-width: 900px) {
  .news-list .nl-item { grid-template-columns: 1fr; }
  .news-list .nl-media img { min-height: 200px; }
}
