/* DQHrhx2026 · 全站布局锁定 v4（2026-10-19）
   要点：
   1) 顶栏与内容区铺满宽度（不再留大白边），只控制内距与最大宽 1720；
   2) 导航 9 项常显，字号/内距固定，不随分辨率隐藏；
   3) 恢复右上「登录 / 快捷工具」按钮；
   4) 保留模板旧导航层隐藏（香港用，避免重叠）。 */

:root {
  --DQHrhx2026-gutter: 32px;
  --DQHrhx2026-max: 100%;
}

/* ① 顶栏：铺满宽度，最大 1720 居中，左右固定内距 */
header.zlh-brand {
  width: 100% !important;
  max-width: var(--DQHrhx2026-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 var(--DQHrhx2026-gutter) !important;
  flex-wrap: nowrap !important;
  column-gap: 12px !important;
  box-sizing: border-box !important;
}

/* ② 隐藏与 logo 重复的副标题/城市，以及专题促销位（导航里已有入口，避免顶栏超宽） */
header.zlh-brand .zlh-tagline,
header.zlh-brand .zlh-city,
header.zlh-brand .zlh-topic { display: none !important; }

/* ③ 搜索框固定宽度 */
header.zlh-brand form.zlh-search {
  width: 310px !important;
  min-width: 240px !important;
  flex: 0 0 310px !important;
}

/* ④ 导航：9 项常显、固定字号与内距 */
header.zlh-brand .zlh-homenav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  margin-left: auto !important;
  width: auto !important;
  min-width: max-content !important;
  overflow: visible !important;
}
header.zlh-brand .zlh-homenav > a,
header.zlh-brand .zlh-homenav a[href="/type/7.html"],
header.zlh-brand .zlh-homenav a[href="/type/8.html"],
header.zlh-brand .zlh-homenav a[href="/type/9.html"],
header.zlh-brand .zlh-homenav a[href="/type/3.html"] {
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  padding: 6px 6px !important;
  white-space: nowrap !important;
}

/* ⑤ 右上工具区与登录按钮恢复 */
header.zlh-brand .zlh-brand__tools {
  display: flex !important;
  flex: 0 0 auto !important;
  margin-left: 10px !important;
  align-items: center !important;
  column-gap: 6px !important;
}
header.zlh-brand .zlh-brand__more { display: inline-flex !important; }

/* ⑥ 内容区铺满，最大 1720 居中 */
.zlh-column-list__container,
.zlh-cms__container,
main > .zlh-container,
.zlh-home__wrap,
.zlh-wrap,
.container.zlh-container {
  max-width: var(--DQHrhx2026-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ⑦ 香港：隐藏模板旧导航层（它自带登录按钮会与新顶栏重叠） */
.website-nav-n1 { display: none !important; }

/* 香港：顶栏与内容区铺满，不留白边 */
header.zlh-brand { max-width: 100% !important; }
