/* ============ 归一化（必须最先） ============ */
[hidden] { display: none !important; }
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

:root {
  --brand: #1c4a7a;
  --brand-2: #2f6fb0;
  --brand-deep: #143755;
  --brand-line: #dbe5ef;
  --brand-soft: #eef4fa;
  --accent: #bd9134;
  --accent-soft: #f7f1e2;
  --ink: #1d2b3a;
  --ink-2: #3c4c5e;
  --muted: #6b7a8d;
  --line: #e4eaf1;
  --bg: #f4f7fb;
  --white: #ffffff;
  --ok: #2f7d54;
  --warn: #a8761c;
  --danger: #b2352f;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(28, 74, 122, .06), 0 8px 24px rgba(28, 74, 122, .06);
  --shadow-lg: 0 6px 16px rgba(20, 55, 85, .10), 0 18px 44px rgba(20, 55, 85, .10);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; color: var(--brand-deep); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ============ 页头 ============ */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--brand-line);
}
.site-head__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; flex-basis: 42px; display: block; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 1.5px; color: var(--brand-deep); line-height: 1.15; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 1px; color: var(--muted); line-height: 1.1; white-space: nowrap; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .55; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 9px; color: var(--ink-2);
  font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.head-account { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav-toggle {
  display: none; margin-left: auto;
  background: var(--white); border: 1px solid var(--brand-line);
  width: 42px; height: 40px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--brand);
}
.site-head .nav-toggle { display: none; }
.only-mobile { display: none; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-family: inherit; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  background: var(--white); color: var(--ink-2); border-color: var(--brand-line);
}
.btn:hover { border-color: var(--brand-2); color: var(--brand); }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: #a67d27; color: #fff; }
.btn--ghost { background: transparent; }
.btn--sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============ 首页 Hero ============ */
.hero { background: linear-gradient(160deg, #16395a 0%, #1c4a7a 46%, #28618f 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px;
  background: radial-gradient(circle at center, rgba(189, 145, 52, .22), transparent 62%); pointer-events: none;
}
.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 22px 60px; position: relative; z-index: 1; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 2px; color: #cfe0f1; border: 1px solid rgba(255,255,255,.28); padding: 5px 13px; border-radius: 999px; margin-bottom: 18px; }
.hero__title { color: #fff; font-size: 34px; letter-spacing: 1px; margin-bottom: 14px; }
.hero__sub { color: #d7e5f3; font-size: 15.5px; max-width: 640px; margin-bottom: 26px; }
.searchbar { display: flex; gap: 10px; background: #fff; padding: 10px; border-radius: 14px; max-width: 640px; box-shadow: var(--shadow-lg); }
.searchbar input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; font-family: inherit; font-size: 15px; padding: 9px 12px; color: var(--ink); background: transparent; }
.searchbar input::placeholder { color: #9aa8b8; }
.hero__stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.hero__stat b { font-size: 26px; color: #fff; display: block; letter-spacing: .5px; }
.hero__stat span { font-size: 12.5px; color: #b9cee2; letter-spacing: 1px; }

/* ============ 通用区块 ============ */
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section__title { font-size: 23px; letter-spacing: .5px; margin: 0; display: flex; align-items: center; gap: 10px; }
.section__title .bar { width: 4px; height: 20px; background: var(--accent); border-radius: 2px; display: inline-block; }
.section__desc { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* 类目 chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--brand-line); color: var(--ink-2); font-size: 14px; cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand-2); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chip svg.i { width: 16px; height: 16px; }

/* ============ 卡片网格 ============ */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s, border-color .18s;
}
.lcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--brand-line); }
.lcard__cover { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--brand-soft); }
.lcard__cover img { width: 100%; height: 100%; object-fit: cover; }
.lcard__badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(20, 55, 85, .82); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; letter-spacing: .5px;
}
.lcard__body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.lcard__cat { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-2); font-size: 12.5px; margin-bottom: 8px; letter-spacing: .3px; }
.lcard__title { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.lcard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12.5px; }
.lcard__foot .pub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ============ 详情页 ============ */
.crumb { color: var(--muted); font-size: 13px; padding: 16px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.detail__main { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail__cover { aspect-ratio: 2 / 1; overflow: hidden; background: var(--brand-soft); }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.detail__body { padding: 24px 26px 28px; }
.detail__cat { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-2); font-size: 13px; margin-bottom: 10px; }
.detail__title { font-size: 25px; line-height: 1.4; margin: 0 0 14px; }
.detail__metas { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.detail__metas span { display: inline-flex; align-items: center; gap: 5px; }
.detail__lead { background: var(--brand-soft); border-left: 3px solid var(--brand-2); padding: 13px 16px; border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 14.5px; margin-bottom: 20px; }
.detail__content p { margin: 0 0 15px; color: var(--ink-2); font-size: 15px; line-height: 1.95; text-indent: 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tag { font-size: 12.5px; color: var(--brand); background: var(--brand-soft); padding: 4px 11px; border-radius: 999px; }

/* 侧栏 */
.aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 82px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; }
.panel__title { font-size: 15px; font-weight: 700; color: var(--brand-deep); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.panel__title .bar { width: 3px; height: 15px; background: var(--accent); border-radius: 2px; }
.contact-box { background: var(--brand-soft); border-radius: 10px; padding: 14px; text-align: center; }
.contact-phone { font-size: 20px; font-weight: 700; color: var(--brand-deep); letter-spacing: 1px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0; }
.contact-note { font-size: 12.5px; color: var(--muted); }
.kv { display: flex; flex-direction: column; gap: 0; }
.kv__row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.kv__row:last-child { border-bottom: 0; }
.kv__k { color: var(--muted); flex: 0 0 74px; }
.kv__v { color: var(--ink-2); flex: 1; word-break: break-all; }
.notice-list { margin: 0; padding: 0; list-style: none; }
.notice-list li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.6; }
.notice-list li:last-child { margin-bottom: 0; }
.notice-list svg.i { color: var(--brand-2); margin-top: 3px; }

/* 状态条 */
.statusbar { display: flex; gap: 9px; align-items: flex-start; padding: 12px 15px; border-radius: 10px; font-size: 13.5px; margin-bottom: 18px; }
.statusbar--pending { background: #fdf6e6; color: var(--warn); border: 1px solid #f2e2bd; }
.statusbar--rejected { background: #fceceb; color: var(--danger); border: 1px solid #f3d3d0; }

/* ============ 表单 ============ */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px 32px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.form-card--wide { max-width: 860px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; font-weight: 600; }
.field .req { color: var(--danger); }
.field input[type=text], .field input[type=password], .field input[type=tel],
.field input[type=search], .field select, .field textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--brand-line); border-radius: 9px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fdfefe; outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 111, 176, .12); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; cursor: pointer; }
.checkline input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--brand); }
.form-msg { padding: 10px 14px; border-radius: 9px; font-size: 13.5px; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: #fceceb; color: var(--danger); border: 1px solid #f3d3d0; }
.form-msg.ok { background: #eaf6ee; color: var(--ok); border: 1px solid #c9e6d3; }
.form-foot { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 18px; }

/* ============ 页脚 ============ */
.site-foot { background: #16324c; color: #b9c9d8; margin-top: 50px; }
.site-foot__inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: #93a9bd; }
.foot-p { color: #a8bccd; font-size: 13px; line-height: 1.9; }
.foot-title { color: #fff; font-size: 14.5px; font-weight: 700; margin: 0 0 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { font-size: 13px; color: #a8bccd; margin-bottom: 9px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.7; }
.foot-list a { color: #cfe0f1; }
.foot-list svg.i { margin-top: 3px; opacity: .8; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #8ba2b7; }
.foot-bottom a { color: #a8bccd; }
.foot-bottom a:hover { color: #fff; }

/* ============ 列表页工具栏 ============ */
.toolbar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.toolbar .field { margin: 0; }
.toolbar__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.toolbar__search { display: flex; gap: 8px; flex: 1 1 320px; }
.toolbar__search input { flex: 1 1 auto; min-width: 0; }
.toolbar__count { color: var(--muted); font-size: 13px; margin-left: auto; }

/* ============ 帖子/内容块 ============ */
.prose { color: var(--ink-2); }
.prose h3 { font-size: 17px; margin-top: 22px; }
.prose p { line-height: 1.95; margin-bottom: 15px; }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.empty svg.i { width: 34px; height: 34px; color: #c3d2e0; display: block; margin: 0 auto 12px; }

/* ============ 我的发布 / 后台 ============ */
.adm { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 22px; align-items: start; }
.adm > * { min-width: 0; }
.adm-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 82px; }
.adm-side__title { font-size: 12px; letter-spacing: 1px; color: var(--muted); padding: 6px 10px; }
.adm-side a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px; color: var(--ink-2); font-size: 14px; margin-bottom: 2px; cursor: pointer; }
.adm-side a:hover { background: var(--brand-soft); color: var(--brand); }
.adm-side a.active { background: var(--brand); color: #fff; font-weight: 600; }
.adm-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 22px; }
.statcard { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.statcard b { display: block; font-size: 26px; color: var(--brand-deep); }
.statcard span { font-size: 12.5px; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13.5px; }
table.data th, table.data td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { color: var(--muted); font-weight: 600; white-space: nowrap; background: #fafcfe; }
table.data th:first-child { min-width: 190px; }
table.data tr:hover td { background: #fafcfe; }
table.data .t-title { font-weight: 600; color: var(--ink); }
table.data .t-sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
.row-actions { display: flex; gap: 7px; flex-wrap: nowrap; }
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge--pending { background: #fdf6e6; color: var(--warn); }
.badge--approved { background: #eaf6ee; color: var(--ok); }
.badge--rejected { background: #fceceb; color: var(--danger); }
.badge--src { background: var(--brand-soft); color: var(--brand); }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { padding: 8px 15px; border-radius: 9px; border: 1px solid var(--brand-line); background: var(--white); color: var(--ink-2); font-size: 13.5px; cursor: pointer; }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* 抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(16, 36, 56, .42); z-index: 90; display: flex; justify-content: flex-end; }
.drawer { background: #fff; width: min(640px, 92vw); height: 100%; overflow-y: auto; padding: 24px 26px; box-shadow: var(--shadow-lg); }
.drawer h3 { margin-top: 0; }
.drawer__close { float: right; cursor: pointer; color: var(--muted); border: 0; background: none; font-size: 22px; line-height: 1; }

/* ============ 关于页 ============ */
.about-hero { background: linear-gradient(160deg, #16395a, #22527f); color: #fff; border-radius: var(--radius); padding: 40px 38px; margin-bottom: 26px; }
.about-hero h1 { color: #fff; font-size: 27px; margin-bottom: 12px; }
.about-hero p { color: #d3e2f1; margin: 0; max-width: 780px; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.abcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.abcard__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.abcard__ico svg.i { width: 24px; height: 24px; }
.abcard h3 { font-size: 16.5px; margin-bottom: 8px; }
.abcard p { color: var(--muted); font-size: 14px; margin: 0; }
.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin-top: 22px; }
.info-block h3 { font-size: 18px; margin-bottom: 14px; }
.legal-list { list-style: none; margin: 0; padding: 0; }
.legal-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.legal-list li:last-child { border-bottom: 0; }
.legal-list .k { flex: 0 0 96px; color: var(--muted); }
.legal-list .v { flex: 1; color: var(--ink-2); }

/* 政策正文 */
.policy { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.policy h2 { font-size: 21px; }
.policy h3 { font-size: 16.5px; margin-top: 24px; }
.policy p, .policy li { color: var(--ink-2); font-size: 14.5px; line-height: 1.95; }
.policy__meta { color: var(--muted); font-size: 13px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

/* ============ 分页 ============ */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.pager button { min-width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--brand-line); background: #fff; color: var(--ink-2); cursor: pointer; font-family: inherit; }
.pager button.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .site-head .nav-toggle { display: inline-flex; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 1px; gap: 5px; }
  .brand-sub::before { flex-basis: 10px; width: 10px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--brand-line); flex-direction: column;
    align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; }
  .head-account { display: none; }
  .only-mobile { display: flex; }
  .site-head__inner { position: relative; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; display: flex; gap: 6px; flex-wrap: wrap; }
  .adm-side__title { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 15px; }
  .hero__inner { padding: 40px 15px 44px; }
  .hero__title { font-size: 25px; }
  .grid, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; min-width: 0; }
  .searchbar .btn { flex: 1 1 100%; }
  .toolbar__search { flex-wrap: wrap; }
  .toolbar__search input { flex: 1 1 100%; }
  .toolbar__search .btn { flex: 1 1 auto; }
  .form-card { padding: 20px 16px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .detail__body { padding: 18px 16px 22px; }
  .detail__title { font-size: 20px; }
  .policy { padding: 22px 18px; }
  .legal-list .k { flex-basis: 78px; }
}
