:root {
  --navy: #123a6b;
  --navy2: #1d5aa8;
  --orange: #e8622d;
  --ink: #2b2f36;
  --gray: #6b7280;
  --line: #e3e8ef;
  --bg: #f5f7fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 22px; }
img { max-width: 100%; }

/* ===== 顶栏 ===== */
.topbar {
  background: #0d2c50;
  color: #c7d5e8;
  font-size: 13px;
}
.topbar .inner {
  max-width: 1180px; margin: 0 auto; padding: 7px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar strong { color: #fff; font-size: 15px; letter-spacing: 1px; }

/* ===== 导航 ===== */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 1px 8px rgba(18, 58, 107, .12);
}
.nav {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { flex: none; }
.brand .t1 { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 2px; line-height: 1.2; }
.brand .t2 { font-size: 11px; color: var(--gray); letter-spacing: .5px; }
nav.menu { display: flex; gap: 6px; }
nav.menu a {
  padding: 8px 18px; font-size: 15px; color: var(--ink); border-radius: 4px;
  transition: .2s;
}
nav.menu a:hover, nav.menu a.on { color: var(--navy2); font-weight: 600; }
nav.menu a.on { background: #eef4fc; }
.nav-toggle, #navck { display: none; }

/* ===== Hero 左右分栏 ===== */
.hero {
  color: #fff; position: relative; overflow: hidden; min-height: 560px;
  display: flex; align-items: stretch;
}
/* 右半实景 */
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: 0;
  background: url('images/hero-factory.jpg') center 45% / cover no-repeat;
  filter: saturate(.95);
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,44,80,.35) 0%, transparent 30%);
}
/* 左半深蓝面板 */
.hero-panel {
  position: relative; z-index: 1; width: 60%; min-height: 560px;
  display: flex; align-items: center;
  background: linear-gradient(115deg, #0b2749 0%, #123a6b 62%, #16457d 100%);
  clip-path: polygon(0 0, 93% 0, 84% 100%, 0 100%);
}
.hero-panel::before {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
  background: radial-gradient(circle at 70% 30%, rgba(232,170,70,.12), transparent 60%);
  pointer-events: none;
}
.hero .inner { max-width: 1180px; width: 100%; margin: 0 auto; padding: 80px 20px 80px clamp(20px, 6vw, 96px); position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 24px;
  border: 1px solid rgba(240,196,120,.5); border-radius: 30px;
  background: linear-gradient(90deg, rgba(232,170,70,.18), rgba(232,170,70,.04));
  color: #f6d9a0; font-size: 13px; letter-spacing: 1.5px;
}
.hero-badge span { color: #ffc766; font-size: 14px; }
.hero h1 {
  font-size: 48px; line-height: 1.25; letter-spacing: 4px; margin-bottom: 18px; font-weight: 700;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.hero p.slogan { font-size: 16px; color: #cfe0f4; margin-bottom: 20px; letter-spacing: 1px; }
.hero-line { width: 52px; height: 3px; background: var(--orange); margin-bottom: 18px; }
.hero-kv { font-size: 13.5px; color: #a9c2de; letter-spacing: .5px; margin-bottom: 32px; }
.hero-kv span { color: #f5c87e; font-size: 16px; font-weight: 600; }
.hero .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 3px;
  font-size: 15px; letter-spacing: 1.5px; transition: .25s;
}
.btn-a {
  background: linear-gradient(135deg, #f0783c, #e05a22); color: #fff;
  box-shadow: 0 6px 18px rgba(224,90,34,.32);
}
.btn-a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224,90,34,.45); }
.btn-b { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-b:hover { background: rgba(255,255,255,.15); border-color: #fff; transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 20px; left: 6vw; z-index: 3;
  color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: 3px;
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll span {
  display: block; width: 34px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.7));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ===== 数据条 ===== */
.stats {
  background: linear-gradient(180deg, #0d2c50 0%, #123a6b 100%);
  color: #fff; position: relative;
}
.stats .inner {
  max-width: 1180px; margin: 0 auto; padding: 34px 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.stats .inner > div { position: relative; }
.stats .inner > div:not(:last-child)::after {
  content: ""; position: absolute; right: -8px; top: 12%; height: 76%;
  width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.22), transparent);
}
.stats .ic { font-size: 20px; color: #f0b96a; margin-bottom: 4px; line-height: 1; }
.stats .num {
  font-size: 38px; font-weight: 700; color: #f5c87e; font-family: Georgia, serif;
  line-height: 1.15;
}
.stats .num span { font-size: 15px; font-weight: 400; margin-left: 3px; color: #f6d9a0; }
.stats .lab { font-size: 12.5px; color: #b9cee6; margin-top: 4px; letter-spacing: .5px; }

/* ===== 荣誉横幅 ===== */
.honor-strip {
  background: linear-gradient(100deg, #1a3d62 0%, #244f7d 55%, #1a3d62 100%);
  color: #fff; position: relative; overflow: hidden;
  border-top: 1px solid rgba(240,196,120,.25); border-bottom: 1px solid rgba(240,196,120,.25);
}
.honor-strip::before {
  content: ""; position: absolute; left: -60px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,196,120,.16), transparent 68%);
}
.honor-strip .inner {
  max-width: 1180px; margin: 0 auto; padding: 20px;
  display: flex; align-items: center; gap: 20px; position: relative; z-index: 1;
}
.honor-strip .medal { font-size: 40px; line-height: 1; flex: none; }
.honor-strip .txt { flex: 1; }
.honor-strip .txt strong { display: block; font-size: 19px; letter-spacing: 2px; color: #f6d9a0; }
.honor-strip .txt span { display: block; font-size: 13px; color: #c5d6ea; margin-top: 3px; letter-spacing: .5px; }
.honor-strip .more {
  flex: none; font-size: 13px; color: #f6d9a0; padding: 8px 18px;
  border: 1px solid rgba(240,196,120,.5); border-radius: 3px; transition: .2s;
}
.honor-strip .more:hover { background: rgba(240,196,120,.15); }

/* ===== 内页横幅 ===== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #0b2749 0%, #123a6b 58%, #16457d 100%);
}
.ph-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('images/hero-factory.jpg') center 45% / cover no-repeat;
  opacity: .16; filter: saturate(.55);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,196,120,.14), transparent 65%);
  pointer-events: none;
}
.page-hero .inner {
  max-width: 1180px; margin: 0 auto; padding: 44px 20px 40px; position: relative; z-index: 1;
}
.ph-crumb { font-size: 12.5px; color: #9db8d6; letter-spacing: 1px; margin-bottom: 12px; }
.ph-crumb::before { content: "⌂ "; color: #f0c47a; }
.page-hero h1 { font-size: 34px; letter-spacing: 5px; font-weight: 700; }
.ph-en { font-size: 12px; color: #f0c47a; letter-spacing: 5px; margin-top: 6px; }
.ph-bar { width: 50px; height: 3px; background: var(--orange); margin-top: 16px; border-radius: 2px; }

/* ===== 通用 section ===== */
section.blk { padding: 62px 0; }
section.blk.alt { background: var(--bg); }
.blk .inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* 深蓝行情板块 */
section.blk.blk-price { background: linear-gradient(160deg, #0d2c50 0%, #153a68 60%, #102f57 100%); }
section.blk.blk-price .h-center h2 { color: #fff; }
section.blk.blk-price .h-center .en { color: #7f9dc0; }
.h-center { text-align: center; margin-bottom: 36px; }
.h-center h2 { font-size: 26px; color: var(--navy); letter-spacing: 2px; }
.h-center h2 em { font-style: normal; color: var(--orange); }
.h-center .en { font-size: 12px; color: #9aa4b0; letter-spacing: 4px; text-transform: uppercase; margin-top: 4px; }
.h-center .bar { width: 46px; height: 3px; background: var(--orange); margin: 12px auto 0; }

/* ===== 首页简介 ===== */
.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.intro-grid p { font-size: 15px; color: #3d434c; text-align: justify; margin-bottom: 12px; }
.side-cards .sc {
  background: #f2f6fb; border-left: 3px solid var(--navy2);
  padding: 14px 18px; margin-bottom: 14px; border-radius: 0 6px 6px 0;
}
.side-cards .sc b { color: var(--navy); font-size: 15px; }
.side-cards .sc p { font-size: 13px; color: var(--gray); margin: 2px 0 0; text-align: left; }

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 22px; transition: .25s;
}
.adv:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(18,58,107,.12); border-color: #c6d8ee; }
.adv .ico { font-size: 30px; margin-bottom: 10px; }
.adv h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 6px; }
.adv p { font-size: 13.5px; color: var(--gray); }

/* ===== 产品分类 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 20px 10px; text-align: center; transition: .2s;
}
.cat:hover { border-color: var(--navy2); background: #f4f8fd; }
.cat .ico { height: 92px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--navy2); }
.cat .pic { height: 92px; border-radius: 6px; overflow: hidden; background: #eef2f6; margin-bottom: 6px; }
.cat .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cat:hover .pic img { transform: scale(1.05); }
.cat b { display: block; font-size: 15px; color: var(--navy); margin-top: 8px; letter-spacing: 2px; }

/* ===== 公司实景画廊 ===== */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px); gap: 14px;
}
.g-item {
  position: relative; margin: 0; border-radius: 8px; overflow: hidden;
  background: #eef2f6; cursor: zoom-in; border: 1px solid var(--line);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-main { grid-row: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px; font-size: 13px; color: #fff;
  background: linear-gradient(transparent, rgba(6,26,49,.78));
}
/* 灯箱 */
.lb {
  position: fixed; inset: 0; z-index: 999; display: none;
  background: rgba(4,18,34,.9); align-items: center; justify-content: center; padding: 40px 20px;
}
.lb.show { display: flex; }
.lb img { max-width: 100%; max-height: 88vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close {
  position: absolute; top: 20px; right: 28px; font-size: 40px; line-height: 1;
  color: #fff; cursor: pointer; background: none; border: 0;
}
.lb-cap { position: absolute; bottom: 22px; color: #cbd8e8; font-size: 14px; }

/* ===== 集团架构 ===== */
.sub-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sub-list .s {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; font-size: 14px; color: #3d434c; text-align: center;
}
.sub-list .s::before { content: "◆ "; color: var(--orange); }

/* ===== 新闻资讯 ===== */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 22px; margin-bottom: 14px; transition: .2s;
}
.news-item:hover { border-color: var(--navy2); box-shadow: 0 8px 20px rgba(18,58,107,.1); transform: translateY(-2px); }
.news-item .ndate {
  flex: none; background: #eef4fc; color: var(--navy2);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 3px;
  white-space: nowrap; margin-top: 2px;
}
.news-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.news-item p { font-size: 13.5px; color: var(--gray); }

/* ===== 荣誉 ===== */
.honor-list { max-width: 760px; margin: 0 auto; }
.honor {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 26px; margin-bottom: 16px;
}
.honor .medal { font-size: 32px; line-height: 1; }
.honor h3 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.honor p { font-size: 13.5px; color: var(--gray); }

/* ===== 产品页表格 ===== */
.prod-sec { margin-bottom: 44px; }
.prod-sec h3 {
  font-size: 17px; color: var(--navy); padding-left: 12px;
  border-left: 4px solid var(--orange); margin-bottom: 12px;
}
.tbl-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; }
table.spec th, table.spec td {
  border: 1px solid var(--line); padding: 8px 12px; text-align: center; white-space: nowrap;
}
table.spec th { background: #eef3f9; color: var(--navy); font-weight: 600; }
table.spec tr:nth-child(even) td { background: #fafbfd; }
.note { font-size: 12.5px; color: var(--gray); margin-top: 6px; }

/* ===== 各地现货库存（标签页） ===== */
.stock-tabs { margin: 6px 0 46px; }
.stock-tabs > input { display: none; }
.stock-tabbar { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--line); }
.stock-tabbar label {
  display: inline-block; padding: 11px 22px; cursor: pointer; user-select: none;
  font-size: 15px; color: var(--gray); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: .18s;
}
.stock-tabbar label:hover { color: var(--navy2); background: #f7f9fc; }
#st-sx:checked ~ .stock-tabbar label[for="st-sx"],
#st-bj:checked ~ .stock-tabbar label[for="st-bj"],
#st-cd:checked ~ .stock-tabbar label[for="st-cd"],
#st-cq:checked ~ .stock-tabbar label[for="st-cq"] {
  color: var(--orange); font-weight: 700; border-bottom-color: var(--orange);
}
.stock-panel { display: none; padding-top: 18px; }
#st-sx:checked ~ .stock-panel-sx,
#st-bj:checked ~ .stock-panel-bj,
#st-cd:checked ~ .stock-panel-cd,
#st-cq:checked ~ .stock-panel-cq { display: block; }
.stock-meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  background: #f2f6fb; border: 1px solid var(--line); border-left: 4px solid var(--navy2);
  border-radius: 0 8px 8px 0; padding: 13px 18px; margin-bottom: 14px;
  font-size: 13.5px; color: #3d434c;
}
.stock-meta b { color: var(--navy); }
.stock-meta .hot { color: var(--orange); font-weight: 700; }
table.spec.stock-tb { table-layout: fixed; min-width: 640px; }
table.spec.stock-tb th, table.spec.stock-tb td {
  white-space: normal; word-break: break-word; padding: 7px 9px; line-height: 1.65; vertical-align: middle;
}
table.spec.stock-tb td.specs { text-align: left; }
table.spec.stock-tb td.name { color: var(--navy); font-weight: 600; }
table.spec.stock-tb td.wh { text-align: center; color: var(--navy2); font-weight: 600; background: #f2f6fb; }
.tag-transit {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: 11px; line-height: 1; padding: 2px 5px; border-radius: 3px; margin-left: 4px; white-space: nowrap;
}
.stock-note { font-size: 12.5px; color: var(--gray); margin-top: 8px; }

/* ===== 每日行情 ===== */
.price-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 30px; }
.price-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.price-head .pt { font-size: 16px; color: var(--navy); font-weight: 600; }
.price-date { font-size: 13px; color: var(--gray); }
.price-date b { color: var(--navy2); }
table.price-tb { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; }
table.price-tb th, table.price-tb td { border: 1px solid var(--line); padding: 13px 8px; }
table.price-tb thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
table.price-tb tbody th { background: #f2f6fb; color: var(--navy); font-weight: 600; font-size: 14px; text-align: left; padding-left: 16px; }
table.price-tb td { font-size: 17px; font-weight: 600; color: var(--navy); font-family: Georgia, serif; }
table.price-tb td.pending { color: #b8c0cc; font-weight: 400; }
table.price-tb tbody tr:nth-child(even) td { background: #fafbfd; }
.price-unit { font-size: 12px; color: var(--gray); margin-top: 11px; }
.price-links { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price-links .ttl { font-size: 13px; color: var(--navy); font-weight: 600; margin-bottom: 10px; }
.price-links .row { display: flex; flex-wrap: wrap; gap: 10px; }
.price-links a {
  display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line);
  border-radius: 6px; color: var(--navy2); font-size: 13.5px; background: #f7f9fc; text-decoration: none;
}
.price-links a:hover { border-color: var(--navy2); background: #eef4fc; }
.price-links .disc { margin-top: 10px; font-size: 12px; color: #9aa4b0; line-height: 1.6; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ccard {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 24px 26px; border-top: 3px solid var(--navy2);
}
.ccard h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.ccard p { font-size: 14px; color: #3d434c; margin: 4px 0; }
.ccard b.tel { color: var(--orange); font-size: 16px; }

/* ===== 页脚 ===== */
footer.site { background: #0d2c50; color: #b9c7db; margin-top: 0; }
footer.site .inner {
  max-width: 1180px; margin: 0 auto; padding: 40px 20px 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; font-size: 13.5px;
}
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 10px; letter-spacing: 1px; }
footer.site a:hover { color: #fff; }
.copy { background: #09213d; color: #7f93ad; text-align: center; font-size: 12.5px; padding: 14px 20px; }
.copy a { color: #9db2cc; text-decoration: none; }
.copy a:hover { color: #fff; text-decoration: underline; }

/* ===== 滚动渐入 ===== */
.js-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .stats .inner { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .sub-list { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 170px); }
  .g-main { grid-row: span 2; }
  .intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-item { gap: 12px; }
  footer.site .inner { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: 500px; display: block; }
  .hero-photo {
    width: 100%; height: 100%;
    clip-path: none;
    background-position: center 40%;
    opacity: .32;
  }
  .hero-photo::after { background: linear-gradient(180deg, rgba(9,34,64,.35), rgba(11,39,73,.9)); }
  .hero-panel {
    width: 100%; min-height: 500px; clip-path: none;
    background: linear-gradient(115deg, rgba(11,39,73,.9), rgba(18,58,107,.92));
  }
  .hero h1 { font-size: 31px; letter-spacing: 2px; }
  .hero p.slogan { font-size: 15px; }
  .hero-kv { font-size: 12.5px; }
  .hero .inner { padding: 66px 22px 56px; }
  .hero-scroll { display: none; }
  .honor-strip .medal { font-size: 32px; }
  .honor-strip .txt strong { font-size: 16px; letter-spacing: 1px; }
  .honor-strip .inner { gap: 14px; }
  .honor-strip .more { display: none; }
  .page-hero .inner { padding: 32px 20px 30px; }
  .page-hero h1 { font-size: 26px; letter-spacing: 3px; }
  section.blk { padding: 44px 0; }
  /* 移动端导航 */
  .nav-toggle {
    display: block; width: 40px; height: 40px; cursor: pointer;
    position: relative; z-index: 60;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 8px; width: 24px; height: 2px;
    background: var(--navy); transition: .25s;
  }
  .nav-toggle span { top: 19px; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  #navck:checked ~ .nav-toggle span { background: transparent; }
  nav.menu {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 8px 14px 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
  }
  #navck:checked ~ nav.menu { display: flex; }
  #navck:checked ~ .nav-toggle span::before { transform: rotate(45deg) translate(5px, 5px); }
  #navck:checked ~ .nav-toggle span::after { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid, .sub-list { grid-template-columns: 1fr; }
  .stats .inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .topbar .inner { justify-content: center; }
  .topbar .hide-m { display: none; }
  .news-item { flex-direction: column; gap: 8px; }
  .news-item .ndate { align-self: flex-start; }
}
