/* ============================================================
   深圳市华腾安防技术有限公司 企业官网
   全站共用样式 - 宝蓝主色系列 / 大留白 / 清晰层级
   主色: #14387f  强调蓝: #2f6fed  浅底: #f5f7fb
   ============================================================ */

:root {
  --blue-900: #0f2a63;
  --blue-800: #123370;
  --blue-700: #14387f;   /* 主色 */
  --blue-600: #1c4fa0;
  --blue-500: #2f6fed;   /* 强调蓝 */
  --blue-300: #8fb4f3;
  --blue-100: #e8f0fe;
  --blue-50:  #f3f7ff;
  --bg:       #f5f7fb;
  --white:    #ffffff;
  --ink:      #1f2733;
  --muted:    #5b6675;
  --line:     #e3e8f0;
  --shadow:   0 10px 30px rgba(20, 56, 127, 0.08);
  --shadow-lg:0 18px 50px rgba(20, 56, 127, 0.14);
  --radius:   14px;
  --maxw:     1200px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand .brand-name { font-weight: 700; font-size: 17px; color: var(--blue-700); }
.brand .brand-sub { font-size: 12px; color: var(--muted); letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; font-size: 15px; color: var(--ink);
  border-radius: 8px; transition: all .2s ease; position: relative; font-weight: 500;
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a.active { color: var(--blue-700); font-weight: 700; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 3px; border-radius: 3px; background: var(--blue-500);
}

.nav a.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-700); color: #fff; padding: 10px 18px;
  border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid var(--blue-700);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a.nav-cta:hover {
  background: #fff; color: var(--blue-700); border-color: var(--blue-300);
  transform: translateY(-1px);
}
.nav-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-700); margin: 5px 0; border-radius: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: all .2s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-300); }
.btn-outline:hover { border-color: var(--blue-700); background: var(--blue-50); }
.btn-phone { background: #fff; color: var(--blue-700); }
.btn-phone:hover { background: var(--blue-50); }

/* ---------- 首屏 HERO（图片滑动） ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, rgba(15,42,99,.92) 0%, rgba(20,56,127,.78) 45%, rgba(20,56,127,.45) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 1px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.25; font-weight: 800; margin-bottom: 18px; max-width: 880px; }
.hero .hero-sub { font-size: clamp(15px, 1.6vw, 19px); color: #dce7fb; max-width: 720px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 46px; }
.hero-phone { font-size: 22px; font-weight: 800; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.hero-phone .ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; }

/* 首屏三大核心优势 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 920px; }
.adv-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 20px 22px; backdrop-filter: blur(4px); }
.adv-card .num { font-size: 13px; color: #9fc0ff; font-weight: 700; letter-spacing: 1px; }
.adv-card h3 { font-size: 18px; margin: 6px 0 8px; color: #fff; }
.adv-card p { font-size: 14px; color: #d4e2fb; margin: 0; line-height: 1.7; }

.hero-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dots button.active { background: #fff; width: 26px; border-radius: 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 86px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section-head .label { display: inline-block; color: var(--blue-700); font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--blue-900); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* 卡片栅格 */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--blue-50); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 22px; }
.card .body h3 { font-size: 19px; color: var(--blue-800); margin-bottom: 10px; }
.card .body p { color: var(--muted); font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--blue-600); font-weight: 700; font-size: 14px; }
.card .more:hover { color: var(--blue-500); }

/* 数据条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--blue-700); color: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.stat .n { font-size: 34px; font-weight: 800; }
.stat .n .unit { font-size: 15px; font-weight: 700; margin-left: 0; }
.stat .t { font-size: 14px; color: #cfe0ff; margin-top: 6px; }

/* 步骤/技术主线 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.flow .step .idx { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); font-weight: 800; display: grid; place-items: center; font-size: 18px; margin-bottom: 14px; }
.flow .step h3 { font-size: 18px; color: var(--blue-800); margin-bottom: 8px; }
.flow .step p { color: var(--muted); font-size: 14.5px; }

/* 列表型区块（应用场景/服务） */
.tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 24px; font-weight: 600; color: var(--blue-700); box-shadow: var(--shadow); }

/* 区块内的图文 */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.feature.rev .media { order: -1; }
.feature .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--blue-900); margin-bottom: 16px; }
.feature p { color: var(--muted); margin-bottom: 14px; }
.feature ul { list-style: none; }
.feature ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink); }
.feature ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 4px; background: var(--blue-500); }

/* CTA 条 */
.cta-band { background: linear-gradient(110deg, var(--blue-800), var(--blue-600)); color: #fff; border-radius: 20px; padding: 50px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: #d4e2fb; }

/* ---------- 面包屑 / 二级页头 ---------- */
.page-hero { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; padding: 64px 0 54px; }
.page-hero .eyebrow { color: #9fc0ff; font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 10px 0 12px; font-weight: 800; }
.page-hero p { color: #d4e2fb; max-width: 760px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* 正文排版 */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 26px; color: var(--blue-900); margin: 38px 0 14px; }
.prose h3 { font-size: 20px; color: var(--blue-800); margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: #38424f; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: #38424f; }
.prose li { margin-bottom: 8px; }
.prose .lead { font-size: 18px; color: var(--muted); }
.callout { background: var(--blue-50); border-left: 4px solid var(--blue-500); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--blue-800); }

/* 侧栏导航（二级页） */
.subnav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 92px; }
.subnav h4 { font-size: 14px; color: var(--muted); letter-spacing: 1px; margin-bottom: 12px; }
.subnav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.subnav a:hover { background: var(--blue-50); color: var(--blue-700); }
.subnav a.active { background: var(--blue-700); color: #fff; }

.layout-2col { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl th { background: var(--blue-700); color: #fff; font-weight: 700; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--blue-50); }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.field textarea { resize: vertical; min-height: 120px; }

.contact-info { background: var(--blue-800); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info h3 { font-size: 20px; margin-bottom: 18px; }
.contact-info .row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-info .row .k { color: #9fc0ff; min-width: 64px; font-weight: 600; }
.contact-info .row .v { color: #eaf1ff; }

/* 新闻列表 */
.news-list { display: grid; gap: 22px; }
.news-item { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-item .thumb { overflow: hidden; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .body { padding: 22px 24px 22px 0; }
.news-item .date { color: var(--blue-600); font-size: 13px; font-weight: 700; }
.news-item h3 { font-size: 20px; color: var(--blue-900); margin: 8px 0 10px; }
.news-item p { color: var(--muted); font-size: 14.5px; }
.news-item .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--blue-600); font-weight: 700; font-size: 14px; }

/* 内部图片滑动（产品/案例页） */
.gallery { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--blue-50); }
.gallery .g-track { display: flex; transition: transform .5s ease; }
.gallery .g-slide { min-width: 100%; }
.gallery .g-slide img { width: 100%; height: 460px; object-fit: cover; }
.gallery .g-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--blue-700); font-size: 22px; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery .g-btn.prev { left: 16px; }
.gallery .g-btn.next { right: 16px; }
.gallery .g-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.gallery .g-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.gallery .g-dots button.active { background: #fff; width: 24px; border-radius: 6px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--blue-900); color: #cdd9f2; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-grid a { color: #cdd9f2; display: block; padding: 5px 0; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; font-size: 18px; font-weight: 800; }
.footer-brand p { color: #a9bbe0; font-size: 14px; margin-top: 10px; }
.footer-contact .row { margin-bottom: 8px; font-size: 14.5px; }
.footer-contact .row b { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color: #9fb1d8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #9fb1d8; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-4, .flow, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.rev .media { grid-template-columns: 1fr; }
  .feature.rev .media { order: 0; }
  .layout-2col { grid-template-columns: 1fr; }
  .subnav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .thumb img { height: 220px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 14px; }
  .nav-cta { margin: 6px 14px 0; justify-content: center; }
  .nav-toggle { display: block; }
  .adv-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .stats, .flow { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .section { padding: 56px 0; }
  .hero { min-height: 560px; }
}

/* ================= 悬停抬升：技术主线 / 应用场景椭圆 ================= */
.flow a.step {
  display: block; color: inherit; text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}
.flow a.step:hover,
.flow a.step:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #c4d8ff;
}
.flow a.step:hover .idx, .flow a.step:focus-visible .idx { background: var(--blue-700); color: #fff; }
.flow a.step:hover h3, .flow a.step:focus-visible h3 { color: var(--blue-500); }
.flow a.step .idx { transition: background .28s ease, color .28s ease; }

a.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
  will-change: transform;
}
a.tag-pill::after {
  content: "→"; font-size: 14px; font-weight: 700;
  color: var(--blue-500); opacity: .45; transition: opacity .28s ease, transform .28s ease;
}
a.tag-pill:hover,
a.tag-pill:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #c4d8ff;
  background: var(--blue-50);
}
a.tag-pill:hover::after, a.tag-pill:focus-visible::after { opacity: 1; transform: translateX(2px); }

/* ================= 右下角悬浮按钮（微信 / 在线留言） ================= */
.float-dock {
  position: fixed; right: 22px; bottom: 30px; z-index: 200;
  display: flex; flex-direction: column; gap: 14px;
}
.float-item { position: relative; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-700); color: #fff;
  border: 0; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 56, 127, .28);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.float-btn:hover, .float-btn:focus-visible {
  background: var(--blue-500); color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(47, 111, 237, .34);
}
.float-btn svg { width: 26px; height: 26px; display: block; }
.float-msg { background: var(--blue-500); }
.float-msg:hover, .float-msg:focus-visible { background: var(--blue-700); }

.float-pop {
  position: absolute; right: 68px; bottom: -4px;
  width: 236px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 42, 99, .18);
  opacity: 0; visibility: hidden; transform: translateX(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.float-pop::after {
  content: ""; position: absolute; right: -6px; bottom: 18px;
  width: 12px; height: 12px; background: #fff;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.float-wechat:hover .float-pop,
.float-wechat:focus-within .float-pop { opacity: 1; visibility: visible; transform: translateX(0); }
.float-pop .t { font-size: 15px; font-weight: 800; color: var(--blue-800); margin-bottom: 8px; }
.float-pop .n { font-size: 17px; font-weight: 800; color: var(--blue-600); letter-spacing: .5px; margin-bottom: 6px; }
.float-pop p { font-size: 12.5px; color: var(--muted); line-height: 1.65; margin: 0; }

#message { scroll-margin-top: calc(var(--header-h) + 20px); }

@media (max-width: 720px) {
  .float-dock { right: 14px; bottom: 18px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .float-btn svg { width: 22px; height: 22px; }
  .float-pop { width: 200px; right: 58px; padding: 15px 16px; }
}

/* ================= 正文配图（图文并茂） ================= */
.prose figure {
  margin: 28px 0 32px;
}
.prose figure .fig-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.prose figure .fig-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.prose figure figcaption {
  margin-top: 13px;
  padding-left: 12px;
  border-left: 3px solid var(--blue-300);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}
.prose figure figcaption b {
  color: var(--blue-700);
  font-weight: 700;
}
.prose figure.fig-sm { max-width: 640px; margin-left: auto; margin-right: auto; }
.prose .fig-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px;
}
.prose .fig-pair figure { margin: 0; }

@media (max-width: 720px) {
  .prose .fig-pair { grid-template-columns: 1fr; gap: 14px; }
}
