/* ============================================================
   style-news.css — 资讯中心（独立布局：资讯圆环 + 瀑布卡片）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：资讯圆环 ---------- */
.nw-hero { position: relative; background: var(--white); padding: 178px 0 72px; overflow: hidden; }
.nw-hero::before { content: ""; position: absolute; right: -240px; top: -240px; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%); pointer-events: none; }
.nw-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.nw-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 24px; }
.nw-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.nw-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.nw-hero-desc { margin: 22px 0 0; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.nw-orb { position: relative; justify-self: center; width: min(380px, 38vw); height: min(380px, 38vw); }
.nw-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gray-300); animation: nwSpin 46s linear infinite; }
.nw-orb-ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.nw-orb-ring.outer { inset: -9%; border-style: dashed; animation-direction: reverse; }
@keyframes nwSpin { to { transform: rotate(360deg); } }
.nw-orb-disc { position: absolute; inset: 20%; border-radius: 50%; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.nw-orb-disc img { width: 100%; height: 100%; object-fit: cover; }
.nw-orb-disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 50px rgba(27,27,27,.18); }
.nw-orb-tag { position: absolute; background: #fff; border: 1px solid var(--gray-300); border-radius: 999px; padding: 8px 16px; font-size: 12.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.nw-orb-tag.t1 { left: -14px; top: 20%; }
.nw-orb-tag.t2 { right: -12px; top: 46%; }
.nw-orb-tag.t3 { left: 4%; bottom: 14%; }

/* ---------- 分类入口 ---------- */
.nw-cat { background: var(--gray-50); overflow: hidden; position: relative; }
.nw-cat::before { content: ""; position: absolute; left: -160px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%); pointer-events: none; }
.nw-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.nw-cat-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; transition: all var(--transition); }
.nw-cat-card:nth-child(2), .nw-cat-card:nth-child(4) { transform: translateY(20px); }
.nw-cat-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.nw-cat-card:nth-child(2):hover, .nw-cat-card:nth-child(4):hover { transform: translateY(-4px); }
.nw-cat-card.active { border-color: var(--ink); background: var(--ink); }
.nw-cat-card.active h3, .nw-cat-card.active p { color: #fff; }
.nw-cat-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.nw-cat-card p { font-size: 12.5px; color: var(--ink-mute); line-height: 1.7; }

/* ---------- 文章瀑布 ---------- */
.nw-list { background: var(--white); position: relative; overflow: hidden; }
.nw-list::after { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.nw-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.nw-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-50); transition: all var(--transition); }
.nw-card:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.nw-card-media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.nw-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.nw-card:hover .nw-card-media img { transform: scale(1.06); }
.nw-card-body { padding: 22px 24px 26px; }
.nw-card-body h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.nw-card-body p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; margin-bottom: 14px; }
.nw-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--gray-600); }
.nw-card-meta a { font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gray-400); }

/* ---------- CTA ---------- */
.nw-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.nw-sec-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%); width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.nw-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.nw-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.nw-sec-cta .cta-contact a { color: #fff; }
.nw-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nw-hero { padding-top: 148px; }
  .nw-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .nw-orb { width: min(320px, 70vw); height: min(320px, 70vw); }
  .nw-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nw-cat-card:nth-child(2), .nw-cat-card:nth-child(4) { transform: none; }
  .nw-list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nw-hero { padding: 132px 0 48px; }
  .nw-cat-grid { grid-template-columns: 1fr; }
  .nw-list-grid { grid-template-columns: 1fr; }
}
