/* 县域招考聚合 — 简洁苹果风 */
:root {
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 980px;
  --max-wide: 1280px;
  --nav-h: 52px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.site-logo-img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.is-active {
  color: var(--text);
  font-weight: 500;
}

/* —— 主区域 —— */
main {
  min-height: calc(100vh - var(--nav-h) - 120px);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 12px;
}

.wrap-wide {
  max-width: var(--max-wide);
}

.site-header-inner-wide {
  max-width: var(--max-wide);
}

.site-nav-compact {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* —— Hero —— */
.hero {
  padding: 48px 0 40px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 0 auto 28px;
  max-width: 560px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.region-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.region-switch select {
  font: inherit;
  color: var(--text);
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* —— 搜索大框 —— */
.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto 48px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 17px;
  font-family: inherit;
  outline: none;
  background: transparent;
}

.search-bar button {
  padding: 0 22px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.search-bar button:hover {
  background: var(--accent-hover);
}

/* —— 区块标题 —— */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head a {
  font-size: 14px;
}

/* —— 快捷入口 —— */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quick-card {
  display: block;
  padding: 20px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.quick-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f5f5f7 0%, #e8e8ed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.quick-card-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.quick-card-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* —— 报名进行中 —— */
.urgent-strip {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 48px;
}

.urgent-strip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.urgent-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.urgent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.urgent-item:first-child {
  border-top: none;
  padding-top: 0;
}

.urgent-item:hover .urgent-item-title {
  color: var(--accent);
}

.urgent-item-main {
  min-width: 0;
}

.urgent-item-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.urgent-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.urgent-item-badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #bf4803;
  background: rgba(191, 72, 3, 0.1);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* —— 列表 —— */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.job-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.job-row:hover .job-row-title {
  color: var(--accent);
}

.job-row-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.job-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
}

.tag-hot {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
}

.job-row-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.job-row-side {
  text-align: right;
  flex-shrink: 0;
}

.job-row-date {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* —— 页脚 —— */
.site-footer {
  margin-top: 80px;
  padding: 32px 22px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.6;
}

.site-footer p {
  margin: 0 0 8px;
}

/* —— 栏目页 —— */
.page-hero {
  padding: 36px 0 8px;
}

.page-hero-title {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.page-hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 640px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.filter-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
}

.filter-chip:hover,
.filter-chip.is-on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
}

.sort-line {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 16px 0 8px;
}

/* —— 详情页 —— */
.article-hero {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--border);
}

.article-hero-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 720px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-card {
  margin: 28px 0;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.summary-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.summary-table th,
.summary-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.summary-table th {
  width: 120px;
  color: var(--text-secondary);
  font-weight: 500;
}

.summary-table tr:last-child th,
.summary-table tr:last-child td {
  border-bottom: none;
}

.prose {
  font-size: 17px;
  color: var(--text);
  max-width: 680px;
}

.prose p {
  margin: 0 0 1em;
}

.prose h4 {
  font-size: 19px;
  font-weight: 600;
  margin: 1.4em 0 0.6em;
  letter-spacing: -0.02em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.35);
}

.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.06);
  text-decoration: none;
}

.related {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

/* —— 搜索页 —— */
.search-page-hero {
  padding: 28px 0 20px;
}

.search-page-hero h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.search-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .search-layout {
    grid-template-columns: 1fr;
  }
}

.search-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  font-size: 14px;
}

.search-sidebar h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.search-sidebar .filter-group {
  margin-bottom: 20px;
}

.search-sidebar label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text);
  cursor: pointer;
}

.search-sidebar input[type="checkbox"] {
  accent-color: var(--accent);
}

.search-result-count {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* 搜索页：与列表页同一套 article-related-list，主栏内增加摘要行 */
.page-search .search-result-count {
  margin: 0 0 14px;
  color: #666;
}

.page-search .article-related-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-search .article-related-list-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #888;
}

/* 搜索结果区：至少保留约 10 条（含摘要行）列表高度；分页贴在区块底部 */
.page-search #sec-search-results {
  --search-result-row-est: 3.875rem;
  min-height: calc(10 * var(--search-result-row-est) + 5.5rem);
  display: flex;
  flex-direction: column;
}

.page-search #sec-search-results .list-pagination {
  margin-top: auto;
}

mark.hl {
  background: rgba(255, 204, 0, 0.35);
  padding: 0 2px;
  border-radius: 2px;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-secondary);
}

.empty-state p {
  margin: 0 0 8px;
}

.empty-state a {
  font-weight: 500;
}

.trending {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.trending h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.trending ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending li {
  margin-bottom: 8px;
}

.trending a {
  font-size: 14px;
}

/* —— 首页 · 地区工具栏 —— */
.region-toolbar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.region-toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.region-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.region-toolbar-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.region-current-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 420px);
  padding: 10px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
}

.region-current-btn:hover {
  border-color: rgba(0, 113, 227, 0.35);
}

.region-current-btn-chevron {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-tertiary);
  flex-shrink: 0;
}

.region-toolbar-hint {
  margin: 0;
  font-size: 12px;
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.35);
}

.btn-ghost:hover {
  background: rgba(0, 113, 227, 0.06);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 999px;
}

/* —— 首页 · 次级导航 —— */
.subnav-strip {
  padding: 10px 0 6px;
}

.subnav-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
}

.subnav-strip a {
  color: var(--text-secondary);
  text-decoration: none;
}

.subnav-strip a:hover {
  color: var(--accent);
}

/* —— 首页 · Hero 紧凑 —— */
.hero-compact {
  padding: 28px 0 24px;
}

.hero-title-home {
  font-size: clamp(28px, 4vw, 36px);
  max-width: 900px;
}

.hero-desc-home {
  font-size: 17px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.search-bar-wide {
  max-width: 720px;
}

/* —— 首页 · 招聘矩阵 —— */
.quick-grid-8 {
  grid-template-columns: repeat(8, 1fr);
  margin-bottom: 12px;
}

.quick-grid-second {
  margin-bottom: 40px;
}

@media (max-width: 1100px) {
  .quick-grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .quick-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-head-tight {
  margin-bottom: 12px;
}

.section-head-meta {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* —— 首页 · 省份条 —— */
.mega-block {
  margin-bottom: 40px;
}

.wrap-inner {
  padding: 0;
}

.province-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.province-strip-lead {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
}

.province-province-strip-row > a {
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  text-decoration: none;
}

.province-province-strip-row > a:hover {  
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  text-decoration: none;
}

/* —— 首页 · 日报板 —— */
.daily-board {
  margin-bottom: 40px;
  padding: 22px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.daily-board-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.daily-board-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.daily-board-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.daily-board-lead {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.daily-board-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-board-list li {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.daily-board-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.daily-board-where {
  color: var(--text-secondary);
  font-size: 13px;
}

.daily-board-list a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.daily-board-list a:hover {
  color: var(--accent);
}

.daily-board-window {
  font-size: 12px;
  color: #bf4803;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .daily-board-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .daily-board-window {
    white-space: normal;
  }
}

/* —— 首页 · 双栏 —— */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}

@media (max-width: 960px) {
  .home-layout {
    grid-template-columns: 1fr;
  }
}

.aside-card {
  padding: 18px 18px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.aside-card-muted {
  background: var(--bg);
  box-shadow: none;
}

.aside-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.aside-card-text {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.aside-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.aside-tags a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  text-decoration: none;
}

.aside-tags a:hover {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
}

.aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-links li {
  margin-bottom: 10px;
}

.aside-links a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}

.aside-links a:hover {
  color: var(--accent);
}

/* —— 地区弹层 —— */
.region-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 640px) {
  .region-modal {
    align-items: center;
  }
}

.region-modal[hidden] {
  display: none;
}

.region-modal-panel {
  width: min(720px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* 顶栏：与首页区块头一致 — 浅底 + 品牌红底边（配色随门户 V3，不单抄参考图颜色） */
.region-modal-hero {
  padding: 16px 18px 18px;
  background: var(--qx-bg-subtle, #f5f5f5);
  color: var(--qx-text, #333);
  border-radius: 12px 12px 0 0;
  border-bottom: 2px solid var(--qx-red, #cb2026);
}

.region-modal-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.region-modal-hero-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--qx-text, #333);
}

.region-modal-x {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--qx-text, #333);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
}

.region-modal-x:hover {
  border-color: var(--qx-link, #015293);
  color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.06);
}

.region-modal-cascade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .region-modal-cascade {
    grid-template-columns: 1fr;
  }
}

.region-field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-secondary, #666);
}

.region-select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 32px 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--qx-text, #333);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23015293' d='M6 8L1 3h10z'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.region-select:focus {
  outline: none;
  border-color: var(--qx-link, #015293);
  box-shadow: 0 0 0 2px rgba(1, 82, 147, 0.15);
}

.region-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background-color: #f0f0f0;
}

.region-modal-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.region-search-label {
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  color: var(--text-secondary, #666);
}

.region-search-wrap {
  position: relative;
  flex: 1;
  min-width: 160px;
}

.region-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 36px 9px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--qx-text, #333);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.region-search-input:focus {
  outline: none;
  border-color: var(--qx-link, #015293);
  box-shadow: 0 0 0 2px rgba(1, 82, 147, 0.12);
}

.region-search-input::placeholder {
  color: #9ca3af;
}

.region-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  cursor: pointer;
  opacity: 0.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23015293'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C8.01 14 6 11.99 6 9.5S8.01 5 10.5 5 15 7.01 15 9.5 12.99 14 10.5 14z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.region-search-icon:hover {
  opacity: 0.7;
}

.region-search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.region-search-dropdown-list {
  padding: 4px 0;
}

.region-search-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-search-dropdown-item:hover,
.region-search-dropdown-item.is-selected {
  background-color: #f5f5f7;
}

.region-search-no-results {
  padding: 12px;
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
}

.region-modal-body {
  padding: 16px 18px 20px;
  background: #fff;
  border-radius: 0 0 12px 12px;
}

.region-modal-tip-body {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.5;
}

.region-hot-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}

.region-hot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.region-hot-chip {
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--qx-text, #333);
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  cursor: pointer;
}

.region-hot-chip:hover {
  border-color: var(--qx-link, #015293);
  color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.06);
}

.region-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.region-btn-confirm {
  min-width: 120px;
  padding: 10px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--qx-link, #015293);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(1, 82, 147, 0.28);
}

.region-btn-confirm:hover {
  background: var(--qx-link-hover, #013d62);
}

.region-btn-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}

/* [hidden] 须真正隐藏 */
.region-modal [hidden] {
  display: none !important;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}

.province-cell {
  padding: 12px 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.province-cell:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 113, 227, 0.06);
}

/* —— 门户首页 · 58 顶栏 + 事编网内容骨架 —— */
.page-portal {
  --portal-orange: #ff552e;
  --portal-orange-hover: #e64d29;
  --top-bar-bg: #f7f7f7;
}

.site-top-cluster {
  position: sticky;
  top: 0;
  z-index: 150;
  width: 100%;
  background: var(--bg-elevated);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.top-bar {
  width: 100%;
  background: var(--top-bar-bg);
  border-bottom: 1px solid #ebebeb;
  font-size: 12px;
  line-height: 1.4;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.top-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.top-bar-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-pin-wrap {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}

.top-bar-pin {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.top-bar-welcome {
  color: #666;
}

.top-bar-sep {
  color: #ddd;
  user-select: none;
}

.top-bar-switch {
  font: inherit;
  font-size: 12px;
  padding: 0;
  border: none;
  background: none;
  color: var(--portal-orange);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.top-bar-switch:hover {
  color: var(--portal-orange-hover);
}

.top-bar-city {
  font-weight: 600;
  color: #333;
  min-width: 0;
  max-width: min(58vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar-gps {
  margin-left: 6px;
  font: inherit;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 3px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
}

.top-bar-gps:hover {
  border-color: var(--portal-orange);
  color: var(--portal-orange);
}

.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}

.top-bar-link {
  color: #666;
  text-decoration: none;
  padding: 0 6px;
}

.top-bar-link:hover {
  color: var(--portal-orange);
  text-decoration: underline;
}

/* 主头区 */
.masthead {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 880px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .masthead-aside {
    justify-self: start;
  }
}

.masthead-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 0;
  color: var(--portal-orange);
  text-decoration: none;
  white-space: nowrap;
}

.masthead-logo-img {
  display: block;
  width: 120px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
}

.masthead-logo:hover {
  text-decoration: none;
}

.masthead-logo:hover .masthead-logo-img {
  opacity: 0.92;
}

.masthead-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  border: 2px solid var(--portal-orange);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.masthead-search input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.masthead-search button {
  padding: 0 22px;
  border: none;
  background: var(--portal-orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.masthead-search button:hover {
  background: var(--portal-orange-hover);
}

.masthead-aside {
  text-align: right;
  min-width: 100px;
}

.masthead-post {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--portal-orange);
  border-radius: 4px;
  text-decoration: none;
}

.masthead-post:hover {
  background: var(--portal-orange-hover);
  text-decoration: none;
  color: #fff;
}

.masthead-sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #999;
}

/* 主导航（事编网风格橙色底边 + 当前项反色） */
.main-nav {
  background: #fff;
  border-bottom: 2px solid var(--portal-orange);
}

.main-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  padding-top: 4px;
  padding-bottom: 0;
}

.main-nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-radius: 4px 4px 0 0;
}

.main-nav-link:hover {
  color: var(--portal-orange);
  text-decoration: none;
}

.main-nav-link.is-active {
  background: var(--portal-orange);
  color: #fff;
  font-weight: 600;
}

.locate-toast {
  margin: 0 auto;
  padding: 6px 22px;
  font-size: 12px;
  color: #0a7;
  background: rgba(10, 160, 90, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.locate-toast[hidden] {
  display: none !important;
}

/* 事编网 · 省份区 */
.sy-heading-muted {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.sy-regions {
  padding-top: 20px;
  padding-bottom: 8px;
}

.province-strip-full {
  padding: 14px 16px;
}

/* 题库焦点 */
.sy-promo {
  padding-bottom: 28px;
}

.sy-promo-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #222;
}

.sy-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .sy-promo-grid {
    grid-template-columns: 1fr;
  }
}

.sy-promo-card {
  display: block;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.45;
}

.sy-promo-card:hover {
  border-color: rgba(255, 85, 46, 0.35);
  color: var(--portal-orange);
  text-decoration: none;
}

.sy-promo-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--portal-orange);
  border-radius: 3px;
  vertical-align: middle;
}

/* 日报列表（地区 + 说明） */
.daily-board-syb {
  margin-bottom: 28px;
}

.daily-board-more {
  font-size: 14px;
  font-weight: 500;
}

.daily-board-subhead {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #333;
}

.sy-region-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sy-region-bullets > li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.sy-region-bullets > li:first-child {
  border-top: none;
  padding-top: 0;
}

.sy-region-bullets-where {
  font-size: 14px;
  font-weight: 700;
  color: var(--portal-orange);
}

.sy-region-bullets-body a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.sy-region-bullets-body a:hover {
  color: var(--portal-orange);
}

.sy-region-bullets-body p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 520px) {
  .sy-region-bullets > li {
    grid-template-columns: 1fr;
  }

  .sy-region-bullets-where {
    margin-bottom: -4px;
  }
}

/* 滚动公告行 */
.sy-feed-block {
  padding-bottom: 28px;
}

.sy-feed-block-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}

.sy-feed-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.sy-feed-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e8e8e8;
}

.sy-feed-lines a {
  flex: 1;
  color: #333;
  text-decoration: none;
}

.sy-feed-lines a:hover {
  color: var(--portal-orange);
}

.sy-feed-lines-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  font-size: 12px;
  color: #666;
  background: #f3f3f3;
  border-radius: 2px;
}

.sy-feed-lines time {
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
}

/* 底部题库大块 */
.sy-mega {
  margin-top: 28px;
  padding: 20px 18px 22px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
}

.sy-mega-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #222;
}

.sy-mega-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sy-mega-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .sy-mega-cols,
  .sy-mega-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .sy-mega-cols,
  .sy-mega-cols-4 {
    grid-template-columns: 1fr;
  }
}

.sy-mega-col h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--portal-orange);
}

.sy-mega-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sy-mega-col li {
  margin-bottom: 6px;
}

.sy-mega-col a {
  font-size: 13px;
  color: #444;
  text-decoration: none;
}

.sy-mega-col a:hover {
  color: var(--portal-orange);
  text-decoration: underline;
}

.sy-mega-interview {
  margin-bottom: 40px;
}

.site-footer-portal .site-footer-inner {
  max-width: var(--max-wide);
}

.site-footer-portal a {
  color: var(--text-secondary);
}

/* —— 规划图 V3 配色 + 双栏 + 底栏四列 —— */
.page-portal-v3 {
  --qx-red: #cb2026;
  --qx-red-hover: #a81922;
  --qx-link: #015293;
  --qx-link-hover: #013d62;
  --qx-text: #333333;
  --qx-bg-subtle: #f5f5f5;
  --portal-orange: var(--qx-red);
  --portal-orange-hover: var(--qx-red-hover);
  --top-bar-bg: var(--qx-bg-subtle);
  color: var(--qx-text);
}

.page-portal-v3 .top-bar-switch {
  color: var(--qx-link);
  text-decoration: none;
}

.page-portal-v3 .top-bar-switch:hover {
  color: var(--qx-link-hover);
  text-decoration: underline;
}

.page-portal-v3 .top-bar-link:hover {
  color: var(--qx-link);
}

.page-portal-v3 .top-bar-gps:hover {
  border-color: var(--qx-link);
  color: var(--qx-link);
}

.page-portal-v3 .masthead-search {
  border-color: var(--qx-link);
}

.page-portal-v3 .masthead-search button {
  background: var(--qx-link);
}

.page-portal-v3 .masthead-search button:hover {
  background: var(--qx-link-hover);
}

.page-portal-v3 .masthead-logo {
  color: var(--qx-red);
}

.page-portal-v3 .masthead-logo:hover {
  color: var(--qx-red-hover);
}


.page-portal-v3 .masthead-post {
  background: var(--qx-red);
}

.page-portal-v3 .masthead-post:hover {
  background: var(--qx-red-hover);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 主头：Logo + 地区 + 主导航 左区；搜索 + 登录/注册 右区 */
.masthead-wire .masthead-inner {
  padding-top: 14px;
  padding-bottom: 14px;
}

.masthead-inner.masthead-inner-fullnav {
  display: flex;
  grid-template-columns: unset;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.masthead-search-align-end {
  flex: 1 1 300px;
  max-width: min(440px, 100%);
  margin-left: 0;
  margin-right: 0;
}

.masthead-inner-fullnav .masthead-search {
  margin-left: 0;
  margin-right: 0;
}

.masthead-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  min-width: 0;
}

.masthead-region .top-bar-switch {
  font-size: 13px;
}

.masthead-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 18px;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}

.masthead-account {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.35;
  display: none; /*暂时不用*/
}

.masthead-account-link {
  color: #666;
  text-decoration: none;
  padding: 4px 8px;
}

.masthead-account-link:hover {
  color: var(--portal-orange);
  text-decoration: underline;
}

.masthead-account-sep {
  color: #ddd;
  user-select: none;
}

.page-portal-v3 .masthead-account-link:hover {
  color: var(--qx-link);
  text-decoration: underline;
}

.page-portal-v3 .masthead-region .top-bar-city {
  max-width: min(38vw, 440px);
}

.masthead-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
}

.masthead-nav > a {
  padding: 6px 12px 6px;
  font-size: 16px;
  color: var(--qx-text, #333);
  text-decoration: none;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
}

.masthead-nav > a:hover {
  color: var(--qx-link, #015293);
  text-decoration: none;
  background: rgba(1, 82, 147, 0.06);
}

.masthead-nav > a.is-active {
  color: var(--qx-link, #015293);
  background: transparent;
  font-weight: 600;
  border-bottom-color: var(--qx-link, #015293);
  border-radius: 6px 6px 0 0;
}

.masthead-ghost {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-right: 4px;
}

.masthead-ghost:hover {
  color: var(--qx-link, #015293);
}

.masthead-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* 地区三栏带 */
.main-wire {
  background: #fff;
}

.region-band {
  background: var(--qx-bg-subtle, #f5f5f5);
  border-bottom: 1px solid #e8e8e8;
  padding: 18px 0 22px;
}

.region-band-inner {
  display: block;
}

.region-band-center-full {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.province-strip-full-cn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.province-strip-tier {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 8px;
  align-items: start;
  width: 100%;
}

/** 门户首页省份条：左侧留白、标签列等宽使两行链接左缘对齐 */
.page-portal-v3 .province-strip.province-strip-full-cn {
  padding-left: 12px;
  box-sizing: border-box;
}

.page-portal-v3 .province-strip-full-cn .province-strip-tier {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
}

.page-portal-v3 .province-strip-full-cn .province-strip-tier-label {
  width: 64px;
  max-width: 64px;
  padding-right: 4px;
  box-sizing: border-box;
}

.province-strip-tier-label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  line-height: 1.45;
  padding-top: 4px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.province-strip-toggle {
  display: none;
}

.province-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  justify-content: flex-start;
}

/** 省级区域两行网格：首行约 16 项（全国 + 省区市），参考常用招考站点排版 */
.province-strip-row-province-cn-grid {
  /*
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: center;
  justify-items: start;
  */
}

.page-portal-v3 .province-strip-row-province-cn-grid {
  gap: 8px 8px;
}

@media (max-width: 1200px) {
  .province-strip-row-province-cn-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .province-strip-row-province-cn-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px 10px;
  }

  .page-portal-v3 .province-strip-row-province-cn-grid {
    gap: 3px 8px;
  }
}

.region-band-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.region-band-mark-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--qx-red, #cb2026);
  letter-spacing: 0.04em;
}

.province-strip-wire {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* 与 full-cn 同时存在时：必须纵向堆叠两行，整体左对齐（避免被上面 flex-wrap 打成一整行） */
.province-strip-wire.province-strip-full-cn {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
}

.province-strip-full-cn .province-strip-row,
.province-strip-tier .province-strip-row {
  width: 100%;
  justify-content: flex-start;
  align-content: flex-start;
}
.province-strip-tier .privince-nav {
  display: none;
}

@media (max-width: 640px) {
  .province-strip-tier {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .province-strip-tier-header {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4px;
  }

  .province-strip-tier-label {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .page-portal-v3 .province-strip-full-cn .province-strip-tier {
    grid-template-columns: 1fr;
  }

  .page-portal-v3 .province-strip-full-cn .province-strip-tier-label {
    width: auto;
    max-width: none;
    padding-right: 0;
  }

  .page-portal-v3 .province-strip.province-strip-full-cn {
    padding-left: 8px;
  }
}

.province-strip-row > a {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--qx-link, #015293);
  text-decoration: none;
  padding: 4px 2px;
  background: none;
  border-radius: 0;
  line-height: 1.45;
}

.province-strip-row > a:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

.province-strip-row > a.is-active {
  color: #fff;
  background: var(--qx-link, #015293);
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
}

.province-strip-row > a.is-active:hover {
  color: #fff;
  background: var(--qx-red, #cb2026);
  text-decoration: none;
}

@media (max-width: 720px) {
  .province-strip-row {
    gap: 6px 14px;
  }

  .province-strip-row > a {
    font-size: 13px;
    letter-spacing: 0.02em;
    padding: 3px 0;
  }
}

.region-band-aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
  padding-top: 2px;
  border-left: 1px solid #e0e0e0;
  padding-left: 16px;
}

@media (max-width: 900px) {
  .region-band-aside {
    border-left: none;
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.region-band-aside-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--qx-link, #015293);
  text-decoration: none;
}

.region-band-aside-link:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

/* 主区 60% + 侧栏 40% — 用统一垂直节奏对齐，不加外框 */
.wire-split {
  --wire-line: 1.4286;
  --wire-step: 12px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 28px 36px;
  padding-top: 22px;
  padding-bottom: 30px;
  align-items: start;
}

@media (max-width: 1000px) {
  .wire-split {
    grid-template-columns: 1fr;
  }
}

.wire-split-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.wire-split-aside.wire-split-col {
  gap: var(--wire-step);
}

.wire-split-aside .wire-icon-grid {
  margin-bottom: 0;
}

.wire-recruit-list {
  display: flex;
  flex-direction: column;
  gap: var(--wire-step);
}

.wire-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cb2026;
}

.wire-section-head-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--qx-text, #333);
}

.wire-section-head-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--qx-link, #015293);
  text-decoration: none;
}

.wire-section-head-more:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: none;
}

.wire-lead {
  margin: 0 0 var(--wire-step);
  font-size: 13px;
  line-height: 1.5;
  color: var(--qx-text, #333);
}

.wire-feed {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wire-feed li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: calc(var(--wire-step) * 0.92) 0;
  min-height: calc(14px * var(--wire-line) + var(--wire-step));
  box-sizing: border-box;
  border-bottom: 1px dashed #e0e0e0;
}

.wire-feed-line {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 6px;
  font-size: 14px;
  line-height: var(--wire-line);
}

.wire-feed-tag-link,
.wire-feed-title-link {
  text-decoration: none;
}

.wire-feed-tag-link {
  flex-shrink: 0;
  color: inherit;
}

.wire-feed-tag-link:hover {
  text-decoration: none;
}

.wire-feed-title-link {
  flex: 1;
  min-width: 0;
  color: var(--qx-link, #015293);
}

.wire-feed-title-link:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: none;
}

.wire-feed-tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--qx-text, #333);
  background: #ececec;
  border-radius: 3px;
}

/* 标题可收缩，过长单行省略，与标签、日期同排 */
.wire-feed-text {
  display: block;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wire-feed-tag-link:hover .wire-feed-tag {
  background: #e0e0e0;
}

.wire-feed-date {
  flex-shrink: 0;
  font-size: 13px;
  line-height: var(--wire-line);
  color: var(--qx-text, #333);
}

/* 窄屏仍保持同一行：略缩字号与间距，标题继续省略号 */
@media (max-width: 560px) {
  .wire-feed li {
    gap: 6px;
    padding: 8px 0;
  }

  .wire-feed-line {
    font-size: 13px;
    gap: 5px;
  }

  .wire-feed-tag {
    padding: 2px 6px;
    font-size: 11px;
  }

  .wire-feed-date {
    font-size: 12px;
  }
}

/* 侧栏图标 2×5 */
.wire-icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 8px;
  padding: 19px 12px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 0;
}

@media (max-width: 360px) {
  .wire-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wire-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

/* 备考入口：圆 44×44 + 渐变；单字用 .wire-icon-item-tone-1 … tone-10 区分颜色 */
.wire-icon-item-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(1, 82, 147, 0.12);
  border: 1px solid rgba(1, 82, 147, 0.12);
  background: linear-gradient(160deg, #eef4fb 0%, #dce8f4 100%);
}

.wire-icon-item-char {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: var(--qx-link, #015293);
  letter-spacing: 0;
  user-select: none;
}

.wire-icon-item-tone-1 {
  background: linear-gradient(145deg, #e8f1fb 0%, #c9dcf0 100%);
  border-color: rgba(1, 82, 147, 0.18);
}

.wire-icon-item-tone-1 .wire-icon-item-char {
  color: #0d47a1;
}

.wire-icon-item-tone-2 {
  background: linear-gradient(145deg, #fff5f4 0%, #ffd9d5 100%);
  border-color: rgba(203, 32, 38, 0.22);
}

.wire-icon-item-tone-2 .wire-icon-item-char {
  color: #b71c1c;
}

.wire-icon-item-tone-3 {
  background: linear-gradient(145deg, #015293 0%, #023d63 100%);
  border-color: #012a45;
  box-shadow: 0 2px 8px rgba(1, 82, 147, 0.28);
}

.wire-icon-item-tone-3 .wire-icon-item-char {
  color: #fff;
}

.wire-icon-item-tone-4 {
  background: linear-gradient(145deg, #e0f7f4 0%, #b2dfdb 100%);
  border-color: rgba(0, 121, 107, 0.25);
}

.wire-icon-item-tone-4 .wire-icon-item-char {
  color: #00695c;
}

.wire-icon-item-tone-5 {
  background: linear-gradient(145deg, #fff8e6 0%, #ffe0b2 100%);
  border-color: rgba(245, 124, 0, 0.28);
}

.wire-icon-item-tone-5 .wire-icon-item-char {
  color: #e65100;
}

.wire-icon-item-tone-6 {
  background: linear-gradient(145deg, #f3e5f5 0%, #e1bee7 100%);
  border-color: rgba(106, 27, 154, 0.22);
}

.wire-icon-item-tone-6 .wire-icon-item-char {
  color: #6a1b9a;
}

.wire-icon-item-tone-7 {
  background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 100%);
  border-color: rgba(46, 125, 50, 0.28);
}

.wire-icon-item-tone-7 .wire-icon-item-char {
  color: #2e7d32;
}

.wire-icon-item-tone-8 {
  background: linear-gradient(145deg, #cb2026 0%, #8b1519 100%);
  border-color: #6d1014;
  box-shadow: 0 2px 8px rgba(203, 32, 38, 0.28);
}

.wire-icon-item-tone-8 .wire-icon-item-char {
  color: #fff;
}

.wire-icon-item-tone-9 {
  background: linear-gradient(145deg, #283593 0%, #1a237e 100%);
  border-color: #0d1642;
  box-shadow: 0 2px 8px rgba(26, 35, 126, 0.28);
}

.wire-icon-item-tone-9 .wire-icon-item-char {
  color: #fff;
}

.wire-icon-item-tone-10 {
  background: linear-gradient(145deg, #455a64 0%, #37474f 100%);
  border-color: #263238;
  box-shadow: 0 2px 8px rgba(38, 50, 56, 0.28);
}

.wire-icon-item-tone-10 .wire-icon-item-char {
  color: #eceff1;
}

.wire-icon-item-label {
  font-size: 12px;
  color: var(--qx-text, #333);
  text-align: center;
  line-height: 1.25;
}

.wire-icon-item:hover .wire-icon-item-label {
  color: var(--qx-red, #cb2026);
}

a.wire-icon-item,
a.wire-icon-item:hover {
  text-decoration: none;
}

/* 报名进行中卡片 */
.wire-recruit-title {
  margin: 24px 0 26px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--qx-text, #333);
  padding-bottom: 8px;
  border-bottom: 2px solid #015293;
}

.wire-card {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-sizing: border-box;
  width: 100%;
}

/* 整卡一条链接进详情 */
a.wire-card-link {
  display: flex;
  align-items: stretch;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: calc(14px * var(--wire-line) * 2 + var(--wire-step) * 2 + 1px);
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  outline-offset: 2px;
}

a.wire-card-link:focus-visible {
  outline: 2px solid var(--qx-link, #015293);
}

a.wire-card-link:hover .wire-card-flag {
  background: #dbe8f3;
}

/* 地区标签：仅展示，随整卡一起点击 */
.wire-card-flag {
  flex-shrink: 0;
  align-self: center;
  box-sizing: border-box;
  min-width: 52px;
  max-width: 88px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #015293;
  background: #e8f1f8;
  border: none;
  white-space: normal;
  word-break: keep-all;
}

.wire-card-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.wire-card-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}

/* 标题单行，过长省略，避免把徽章挤换行 */
.wire-card-title {
  flex: 1 1 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: var(--wire-line);
  color: var(--qx-link, #015293);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.wire-card-link:hover .wire-card-title {
  color: var(--qx-red, #cb2026);
  text-decoration: none;
}

.wire-card-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--qx-red, #cb2026);
  border-radius: 4px;
}

.wire-card-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--qx-text, #333);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .wire-card-meta {
    white-space: normal;
  }
}

/* 热门备考：3 列 × 4 行（12 格），每格封面 + 长列表 */
.wire-hot {
  background: #fff;
  border-top: none;
  padding: 28px 0 52px;
}

.wire-hot-heading {
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: 700;
  color: var(--qx-text, #333);
}

.wire-hot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 28px;
  padding-bottom: 16px;
}

@media (max-width: 1100px) {
  .wire-hot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
}

@media (max-width: 560px) {
  .wire-hot-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
}

.wire-hot-col {
  min-width: 0;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.wire-hot-col-cover {
  position: relative;
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.wire-hot-col-cover-inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  flex-wrap: nowrap;
}

.wire-hot-col-cover-inline .wire-hot-col-btn {
  margin-top: 0;
  flex-shrink: 0;
  align-self: auto;
}

.wire-hot-col-cover-inline > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wire-hot-col-cover-a {
  background: linear-gradient(135deg, #015293 0%, #013d62 100%);
}

.wire-hot-col-cover-b {
  background: linear-gradient(135deg, #cb2026 0%, #a81922 100%);
}

.wire-hot-col-cover-c {
  background: linear-gradient(135deg, #5a6d82 0%, #3d4f63 100%);
}

.wire-hot-col-btn {
  align-self: flex-start;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--qx-link, #015293);
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
}

.wire-hot-col-cover-b .wire-hot-col-btn {
  color: var(--qx-red, #cb2026);
}

.wire-hot-col-btn:hover {
  opacity: 0.95;
  text-decoration: none;
}

.wire-hot-col-list {
  margin: 0;
  padding: 14px 14px 16px;
  list-style: none;
}

.wire-hot-col-list li {
  margin-bottom: 10px;
}

.wire-hot-col-list li:last-child {
  margin-bottom: 0;
}

.wire-hot-col-list a {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--qx-link, #015293);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .wire-hot-col-list a {
    font-size: 14px;
  }
}

.wire-hot-col-list a:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: none;
}

/* V3 首页：与顶栏同底色的页脚，取消全局 footer 大外边距以贴紧热门备考 */
.site-footer.site-footer-portal.site-footer-v3 {
  margin-top: 0;
  padding: 18px 22px 20px;
  border-top: 1px solid #ebebeb;
  background: var(--top-bar-bg, var(--qx-bg-subtle, #f5f5f5));
}

.site-footer-v3 p {
  color: #666;
}

.site-footer.site-footer-portal.site-footer-v3 p:last-child {
  margin-bottom: 0;
}

.page-portal-v3 .locate-toast {
  color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.08);
}

.page-portal-v3 .province-cell:hover {
  border-color: var(--qx-link, #015293);
  color: var(--qx-link, #015293);
}

/* —— 公告详情页（左正文 + 右目录 / 同地区热门，配色对齐首页 V3） —— */
.page-article main.main-wire {
  background: #fff;
}

.article-page {
  padding-bottom: 48px;
}

.article-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px 32px;
  align-items: start;
  padding-top: 20px;
}

/* Grid 子项默认可 shrink，避免长正文/链接把布局撑出视口导致一侧被裁切 */
.article-page-main,
.article-page-aside {
  min-width: 0;
}

@media (max-width: 991px) {
  .article-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 桌面端：侧栏目录；移动端：隐藏侧栏目录，改在概述下方展示 article-widget-toc-mobile */
.article-widget-toc-mobile {
  display: none;
  margin: 0 0 22px;
}

@media (max-width: 991px) {
  .article-widget-toc-sidebar {
    display: none !important;
  }

  /* 正文内「内容目录」：去掉 .article-widget 默认描边/阴影（仅侧栏曾用选择器覆盖到） */
  .page-portal-v3 .article-widget-toc-mobile {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
    padding: 0 0 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  /*「地区热门」与上方「相关岗位」同可用宽度：侧栏卡片左右 padding 会缩窄列表，与主栏列表对齐 */
  .page-portal-v3 .article-page-aside {
    width: 100%;
    max-width: none;
  }

  .page-portal-v3 .article-page-aside .article-widget-hot {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    padding: 0 0 16px;
    background: transparent;
    border-radius: 0;
  }
}

.article-breadcrumb {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 18px;
}

.article-breadcrumb a {
  color: var(--qx-link, #015293);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

.article-breadcrumb-sep {
  margin: 0 6px;
  color: #bbb;
}

.article-breadcrumb-current {
  color: #333;
}

.article-doc-header {
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ebebeb;
}

.page-portal-v3 .article-doc-header {
  border-bottom-color: #ba2811;
}

.article-doc-source a {
  color: var(--qx-link, #015293);
  text-decoration: none;
}

.article-doc-source a:hover {
  text-decoration: underline;
}

.article-doc-lead {
  margin: 0 0 22px;
  padding: 14px 16px 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
}

.article-doc-lead-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-doc-lead-icon {
  display: inline-block;
  width: 3px;
  height: 16px;
  flex-shrink: 0;
  background: #ba2811;
  border-radius: 2px;
}

.article-doc-lead-label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.article-doc-lead-text {
  margin: 10px 0 0;
  padding-left: 11px;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
}

.article-doc-article-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ebebeb;
}

.article-doc-meta-lines {
  margin: 0 0 14px;
}

.article-doc-meta-line {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #888;
}

.article-doc-meta-line:last-child {
  margin-bottom: 0;
}

.article-doc-meta-line a {
  color: var(--qx-link, #015293);
  text-decoration: none;
  word-break: break-all;
}

.article-doc-meta-line a:hover {
  text-decoration: underline;
}

.article-doc-special-tip {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #999;
}

.article-doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose-article > .article-doc-tags {
  margin-top: 18px;
}

a.article-doc-tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: #5f6471;
  background: #f0f2f5;
  border-radius: 3px;
  text-decoration: none;
}

a.article-doc-tag:hover {
  color: var(--qx-link, #015293);
  background: #e8eaee;
}

.page-portal-v3 .article-doc-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #ba2811;
  text-align: center;
}

@media (max-width: 768px) {
  .page-portal-v3 .article-doc-title {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .page-portal-v3 .article-doc-title {
    font-size: 18px;
    line-height: 1.42;
  }
}

.page-portal-v3 .article-doc {
  min-width: 0;
}

.article-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: #666;
}

.page-portal-v3 .article-doc-header .article-doc-meta {
  justify-content: center;
  width: 100%;
  text-align: center;
}

.article-doc-time {
  color: #888;
}

.article-doc-section {
  scroll-margin-top: 96px;
}

.article-doc-section h1{
  font-size: 18px;
  font-weight: 700;
}
.article-doc-section h2{
  font-size: 18px;
  font-weight: 700;
}
.article-doc-section h3{
  font-size: 16px;
  font-weight: 600;
}
.article-doc-section h4{
  font-size: 14px;
  font-weight: 600;
}

/* 外链警示弹窗样式 */
.external-link-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fffbeb;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
}

.external-link-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.external-link-tip {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #78350f;
}

.external-link-title {
  margin-bottom: 14px;
}

.external-link-title-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary, #666);
}

.external-link-title-value {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--qx-text, #333);
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  word-break: break-all;
  line-height: 1.5;
}

.external-link-url {
  margin-bottom: 20px;
}

.external-link-url-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary, #666);
}

.external-link-url-row {
  display: flex;
  gap: 10px;
}

.external-link-url-input {
  flex: 1;
  box-sizing: border-box;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-family: monospace;
  color: var(--qx-text, #333);
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-link-btn-copy {
  padding: 10px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.08);
  border: 1px solid rgba(1, 82, 147, 0.2);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.external-link-btn-copy:hover {
  background: rgba(1, 82, 147, 0.12);
  border-color: rgba(1, 82, 147, 0.3);
}

.external-link-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.external-link-btn-cancel {
  padding: 10px 20px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #666);
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
}

.external-link-btn-cancel:hover {
  background: #e5e7eb;
}

.external-link-btn-confirm {
  padding: 10px 24px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--qx-red, #cb2026);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.external-link-btn-confirm:hover {
  background: #b91c1c;
}

/* 详情页：锚点跳转时预留顶部固定主头（主导航 + 地区 + 搜索）高度，避免标题被挡住 */
html:has(body.page-article.page-portal-v3) {
  scroll-padding-top: 110px;
}

.article-doc-h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--qx-text, #333);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--qx-red, #cb2026);
}

.article-doc-h2-related {
  margin-top: 8px;
}

.page-portal-v3 .article-doc .summary-card {
  margin-top: 20px;
  margin-bottom: 24px;
  background: #fafafa;
  border: 1px solid #eaeaea;
  box-shadow: none;
}

.page-portal-v3 .article-doc .summary-table th {
  color: #555;
}

.page-portal-v3 .article-doc .summary-table td {
  color: #333;
}

.article-doc-tip {
  margin: -8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #888;
}

.prose-article {
  max-width: none;
  font-size: 16px;
  line-height: 1.82;
  color: #333;
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .page-portal-v3 .prose-article {
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .page-portal-v3 .prose-article {
    font-size: 14px;
    line-height: 1.78;
  }
}

.prose-article p {
  margin: 0 0 1.1em;
}

.page-portal-v3 .prose-article p[id^="yanbian-sec-"] {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  scroll-margin-top: 110px;
}

.page-portal-v3 .prose-article p[id^="yanbian-sec-"] strong {
  font-size: 1.06em;
  font-weight: 700;
  color: #1a1a1a;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0 28px;
  padding: 16px 0;
}

@media (max-width: 560px) {
  .article-pager {
    grid-template-columns: 1fr;
  }
}

.article-pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--qx-link, #015293);
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
}

.article-pager-link:hover {
  border-color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.06);
}

.article-pager-dir {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.article-pager-title {
  font-weight: 500;
  color: var(--qx-link, #015293);
  line-height: 1.45;
}

.article-related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related-list li {
  border-bottom: 1px dashed #e8e8e8;
}

.article-related-list li:last-child {
  border-bottom: none;
}

.article-related-list-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.45;
}

.article-related-list-tag-link {
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.article-related-list-tag-link:hover {
  text-decoration: none;
}

.article-related-list-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  background: #ececec;
  border-radius: 3px;
}

.article-related-list-tag-link:hover .article-related-list-tag {
  background: #e0e0e0;
}

.article-related-list-text-link {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--qx-link, #015293);
}

.article-related-list-text {
  display: block;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-related-list-text-link:hover .article-related-list-text {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

.article-related-list-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #888;
}

/* 列表页（list.html）底部分页 */
.article-list-main .list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dashed #e8e8e8;
}

.list-pagination-pages {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.list-pagination-item,
.list-pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: var(--qx-text, #333);
}

a.list-pagination-item,
a.list-pagination-num {
  text-decoration: none;
}

.list-pagination-num:hover {
  border-color: var(--qx-link, #015293);
  color: var(--qx-link, #015293);
}

.list-pagination-num.is-current {
  background: var(--qx-link, #015293);
  border-color: var(--qx-link, #015293);
  color: #fff;
}

.list-pagination-num.is-current:hover {
  color: #fff;
}

.list-pagination-item.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  border-color: #eee;
  color: #999;
}

a.list-pagination-next:hover {
  border-color: var(--qx-link, #015293);
  color: var(--qx-link, #015293);
}

.list-pagination-ellipsis {
  padding: 0 6px;
  font-size: 14px;
  color: #999;
  border: none;
  background: transparent;
  min-width: auto;
}

.article-page-aside {
  position: sticky;
  top: 88px;
}

@media (max-width: 991px) {
  .article-page-aside {
    position: static;
  }
}

.article-widget {
  padding: 16px 18px 18px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* 详情页侧栏：无投影、无边框 */
.page-portal-v3 .article-page-aside .article-widget {
  box-shadow: none;
  border: none;
}

.article-widget-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--qx-text, #333);
  border-bottom: 2px solid var(--qx-link, #015293);
}

.page-portal-v3 .article-widget-title {
  border-bottom-color: #ba2811;
}

.article-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc-list li {
  margin-bottom: 8px;
}

.article-toc-list li:last-child {
  margin-bottom: 0;
}

.article-toc-list a {
  font-size: 14px;
  color: var(--qx-link, #015293);
  text-decoration: none;
  line-height: 1.45;
}

.article-toc-list a:hover {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

/* 公告详情页：目录链接与正文同色 */
.page-portal-v3 .article-toc-list a {
  color: #333;
}

.page-portal-v3 .article-toc-list a:hover {
  color: #333;
  text-decoration: underline;
}

/* 桌面侧栏「内容目录」字号 */
.page-portal-v3 .article-page-aside .article-toc-list a {
  font-size: 15px;
}

@media (max-width: 991px) {
  .article-toc-list a {
    font-size: 13px;
    word-break: break-word;
  }

  .article-toc-list li {
    margin-bottom: 6px;
  }
}

.article-hot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-hot-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.article-hot-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.article-hot-list-link {
  display: block;
  text-decoration: none;
}

.article-hot-list-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--qx-link, #015293);
  background: rgba(1, 82, 147, 0.08);
  border-radius: 4px;
}

.article-hot-list-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.page-portal-v3 .article-page-aside .article-hot-list-link,
.page-portal-v3 .article-page-aside .article-hot-list-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 侧栏「地区热门」与正文「相关岗位」同款链接色 */
.page-portal-v3 .article-page-aside .article-hot-list-text {
  color: var(--qx-link, #015293);
}

.page-portal-v3 .article-page-aside .article-hot-list-link:hover .article-hot-list-text {
  color: var(--qx-red, #cb2026);
  text-decoration: underline;
}

.article-hot-list-link:hover .article-hot-list-text {
  color: var(--qx-link, #015293);
}

@media (min-width: 960px) {
  .masthead-brand {
    flex-direction: row;
    align-items: center;
    gap: 16px 22px;
    flex-wrap: wrap;
  }
}

/* 手机端：Logo + 站名水平居中（避免子项 stretch 拉满整行导致看似左对齐） */
@media (max-width: 960px) {
  .masthead-search-align-end {
    flex: 1 1 100%;
    max-width: none;
    margin-left: 0;
  }

  .masthead-tools {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .masthead-inner.masthead-inner-fullnav {
    justify-content: center;
  }

  .masthead-brand {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .masthead-brand .masthead-logo {
    align-self: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .masthead-region {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding-inline: 8px;
    box-sizing: border-box;
  }

  .masthead-nav {
    justify-content: center;
    width: 100%;
    gap: 4px 6px;
	display:none!important;
  }

  /*不显示主导航*/
  .masthead-nav > a {
    font-size: 13px;
    padding: 4px 8px;
  }

  /*不显示登陆*/
  .masthead-account {
	display:none!important;
  }
	/*禁止浮动*/
  .site-top-cluster {
    position: unset;
    top: unset;
    z-index: unset;
  }

  /* 移动端优化：region-band 默认只显示前4个 */
  .region-band {
    padding: 10px 0;
  }

  .province-strip-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .province-strip-tier {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
  }

  .province-strip-toggle {
    display: inline-block !important;
    font-size: 12px;
    color: #666;
    padding: 2px 6px;
    cursor: pointer;
    white-space: nowrap;
  }

  .toggle-more::after,
  .toggle-less::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
  }

  .toggle-more::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
  }

  .toggle-less::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #666;
  }

  .toggle-less {
    display: none;
  }

  /*伸缩限高、展开*/
  /*
  .region-band .province-strip-row > a:nth-child(n+10) {
    display: none;
  }

  .province-strip-tier.expanded .province-strip-row > a:nth-child(n+10) {
    display: inline-block;
  }


  .province-strip-tier.expanded .toggle-more {
    display: none;
  }

  .province-strip-tier.expanded .toggle-less {
    display: inline;
  }

  .province-strip-tier .province-strip-row-province-cn-grid {
    height: 32px;
    overflow: hidden;
  }
  .province-strip-tier.expanded .province-strip-row-province-cn-grid {
    height: auto;
    overflow: auto;
  }
  */
  /*移动版热门城市显示9*/
  #hot_cities > a:nth-child(n+10) {
    display: none;
  }
  .province-strip-tier .privince-nav {
    display: inline;
  }
}

.article-source {
    font-size: 12px;
    color: #999;
}
.empty-tips {
    font-size: 14px;
    color: #999;
}
.ql-align-right {
  text-align: right;
}

.ql-align-center {
  text-align: center;
}

.ql-align-center img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}