/* 江夏信息港 (www.jiangxia.cc) 响应式样式表 · 楚风朱砂红 × 汤逊湖青碧 · 全本地零外链 */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6B7280;
  --border: #E5E7EB;
  --red: #C8251D;
  --red-hover: #A51C15;
  --red-soft: #FEF2F2;
  --teal: #0F766E;
  --teal-hover: #0B5D56;
  --teal-soft: #ECFDF5;
  --amber: #B45309;
  --amber-soft: #FFFBEB;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-hover: 0 8px 22px rgba(17, 24, 39, 0.09);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--red);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-top-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, #E0483E 55%, var(--teal) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.brand-city-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid #BCE9D9;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  background: var(--red-soft);
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  background: #F9FAFB;
  padding: 2px 3px 2px 10px;
  width: 225px;
  flex-shrink: 0;
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}

.header-search button {
  border: none;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.header-search button:hover {
  background: var(--red-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 14px 0 18px;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.mobile-search button {
  border: none;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav a {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.mobile-nav a.active {
  background: var(--red-soft);
  color: var(--red);
}

/* ===== 首页顶部通栏公告（必留项） ===== */
.announce-bar {
  background: #FFF6F5;
  border-bottom: 1px solid #F7D5D2;
  padding: 10px 0;
}

.announce-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.announce-label {
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 5px;
  margin-top: 2px;
}

.announce-text {
  margin: 0;
  font-size: 13.8px;
  color: #6E1C17;
  line-height: 1.55;
}

/* ===== 按钮与徽章 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-red:hover {
  background: var(--red-hover);
  color: #fff;
}

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

.btn-teal:hover {
  background: var(--teal-hover);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: #CBD5E1;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 5px;
  line-height: 1.4;
}

.badge-red { background: var(--red-soft); color: var(--red); }
.badge-teal { background: var(--teal-soft); color: var(--teal); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-slate { background: #EEF2F7; color: #334155; }

/* ===== 门户首屏 ===== */
.portal-hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7FAF9 60%, #FFF8F7 100%);
  border-bottom: 1px solid var(--border);
  padding: 30px 0 36px;
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.headline-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.headline-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.kicker-pill {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}

.kicker-sub {
  font-size: 13px;
  color: var(--muted);
}

.lead-title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.35;
}

.lead-title a {
  color: var(--ink);
}

.lead-title a:hover {
  color: var(--red);
}

.lead-summary {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-2);
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.sub-headlines {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-headline-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 14.5px;
}

.sub-headline-item:hover .sh-title {
  color: var(--red);
}

.sh-tag {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 1px 7px;
  border-radius: 4px;
}

/* 右侧四大板块卡片 */
.district-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.district-panel h2 {
  margin: 0 0 12px;
  font-size: 17px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.district-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.district-item {
  display: block;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #FAFBFC;
  color: var(--ink);
}

.district-item:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.district-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.district-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.quick-utility-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quick-utility-bar a {
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  color: var(--red);
  font-size: 13.5px;
  font-weight: 600;
}

.quick-utility-bar a:hover {
  background: var(--red);
  color: #fff;
}

/* ===== 通用区块 ===== */
.section {
  padding: 36px 0;
}

.section-tinted {
  background: #ECEFF3;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.sub-heading {
  margin: 0 0 14px;
  font-size: 19px;
  padding-left: 10px;
  border-left: 4px solid var(--red);
}

/* ===== Tab 与筛选 ===== */
.tab-pills,
.filter-bar,
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tab-pill,
.filter-pill,
.area-pill,
.cat-mini-link {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.tab-pill.active,
.filter-pill.active,
.tab-pill:hover,
.filter-pill:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.area-pill.active,
.area-pill:hover,
.cat-mini-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ===== 分类信息卡片 ===== */
.cls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cls-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cls-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.cls-card.is-hidden {
  display: none;
}

.cls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.cls-area {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.cls-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.cls-highlight {
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.cls-summary {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.cls-contact {
  font-size: 12.5px;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 6px 9px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.cls-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== 资讯卡片 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 19px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
}

.art-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.art-cat {
  background: var(--red-soft);
  color: var(--red);
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 600;
}

.art-area {
  color: var(--teal);
  font-weight: 500;
}

.art-title {
  margin: 0 0 9px;
  font-size: 16.5px;
  line-height: 1.45;
}

.art-title a {
  color: var(--ink);
}

.art-title a:hover {
  color: var(--red);
}

.art-summary {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: var(--ink-2);
  line-height: 1.65;
}

.art-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.8px;
  color: var(--muted);
}

.art-foot a {
  font-weight: 600;
}

/* ===== 027 黄页卡片 ===== */
.yp-section {
  margin-bottom: 30px;
}

.yp-filter-box {
  max-width: 520px;
}

.yp-filter-box input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fff;
}

.yp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.yp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: var(--shadow);
}

.yp-card.is-hidden {
  display: none;
}

.yp-group {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 5px;
}

.yp-name {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink);
}

.yp-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
  word-break: break-word;
}

.yp-addr,
.yp-note {
  margin: 0 0 5px;
  font-size: 12.8px;
  color: var(--ink-2);
  line-height: 1.5;
}

.yp-note {
  color: var(--muted);
  margin-bottom: 0;
}

/* ===== 内页 Banner ===== */
.page-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #F3F8F7 100%);
  border-bottom: 1px solid var(--border);
  padding: 26px 0 28px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 9px;
}

.breadcrumb span {
  margin: 0 4px;
}

.page-banner h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.3;
}

.page-banner p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 820px;
}

.notice-strip {
  background: #FFF8EB;
  border: 1px solid #F5DDA9;
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 13.8px;
  color: #6B4109;
  margin-bottom: 20px;
}

/* ===== 详情页 ===== */
.article-header-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 26px 0 28px;
}

.article-title {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.35;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-summary {
  margin: 0;
  font-size: 15.2px;
  color: var(--ink-2);
  max-width: 860px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 26px;
  align-items: start;
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.highlights-box {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px;
  margin-bottom: 22px;
}

.highlights-box h2 {
  margin: 0 0 9px;
  font-size: 16px;
  color: var(--teal);
}

.highlights-box ul {
  margin: 0;
  padding-left: 18px;
}

.highlights-box li {
  margin-bottom: 6px;
  font-size: 14.5px;
  color: var(--ink);
}

.article-body h2 {
  margin: 24px 0 10px;
  font-size: 20px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  margin: 17px 0 8px;
  font-size: 16.5px;
}

.article-body p {
  margin: 0 0 13px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  margin: 0 0 15px;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.article-body li {
  margin-bottom: 7px;
  line-height: 1.75;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: #fff;
  font-size: 14px;
}

.article-body th {
  background: #F3F6F8;
  color: var(--ink);
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.article-body td {
  padding: 10px 13px;
  border-bottom: 1px solid #EEF2F5;
  color: var(--ink-2);
}

.tip-callout {
  background: #FFF5F5;
  border: 1px solid #F6D0CE;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin: 16px 0;
  font-size: 14.5px;
  color: #6B1E1A;
}

.article-cta-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #FFF5F5 0%, #EDF8F5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.article-cta-box h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.article-cta-box p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-2);
}

.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px;
  box-shadow: var(--shadow);
}

.side-card h3 {
  margin: 0 0 11px;
  font-size: 15.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.side-tool-list,
.side-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-tool-list li {
  margin-bottom: 8px;
}

.side-tool-list a {
  display: block;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.side-tool-list a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.side-link-list li {
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
}

.side-link-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-link-list a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

.side-link-list a:hover {
  color: var(--red);
}

.side-link-list span {
  font-size: 12px;
  color: var(--muted);
}

.side-cls-item {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.side-cls-item:last-child {
  border-bottom: none;
}

.side-cls-title {
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.side-cls-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.side-cls-price {
  color: var(--red);
}

.side-more-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== 便民工具箱 ===== */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tool-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  scroll-margin-top: 84px;
}

.tool-head h2 {
  margin: 8px 0 6px;
  font-size: 20px;
}

.tool-head p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.field-group {
  margin-bottom: 13px;
}

.field-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
}

.field-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-result-card {
  background: #FAFBFC;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.res-hero {
  background: linear-gradient(135deg, #FEF2F2 0%, #ECFDF5 100%);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.res-hero span {
  font-size: 13.5px;
  color: var(--ink-2);
}

.res-hero strong {
  font-size: 26px;
  color: var(--red);
}

.res-breakdown {
  margin: 0;
}

.res-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.res-breakdown dt {
  color: var(--muted);
}

.res-breakdown dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.text-teal {
  color: var(--teal) !important;
}

.res-tip {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
}

.prompt-output-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}

.btn-copy {
  border: none;
  background: var(--teal);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 12.5px;
  cursor: pointer;
}

.prompt-output-box textarea {
  width: 100%;
  border: none;
  padding: 13px;
  font-family: inherit;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--ink);
  resize: vertical;
}

/* ===== 搜索、关于与分页 ===== */
.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin-bottom: 12px;
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hot-keywords a {
  padding: 3px 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
}

.hot-keywords a:hover {
  border-color: var(--red);
  color: var(--red);
}

.search-summary {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.info-card p,
.info-card li {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

.info-card ul {
  margin: 0;
  padding-left: 20px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 46px 20px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
}

.page-btn.active,
.page-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #1B212C;
  color: #CBD5E1;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 26px;
  padding: 40px 18px 32px;
}

.footer-logo-box {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.footer-logo-box img {
  height: 40px;
  width: auto;
}

.footer-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #9CA3AF;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #fff;
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #B4BECB;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #F87171;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  font-size: 13px;
  color: #94A3B8;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
}

.footer-icp a {
  color: #CBD5E1;
}

.footer-icp a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== 响应式适配（保障 375px 无横向滚动） ===== */
@media (max-width: 1060px) {
  .header-search,
  .brand-city-tag {
    display: none;
  }
  .portal-hero-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cls-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .brand-logo img {
    height: 40px;
  }
  .header-inner {
    min-height: 58px;
  }
  .headline-box {
    padding: 18px 16px;
  }
  .lead-title {
    font-size: 21px;
  }
  .section {
    padding: 26px 0;
  }
  .section-head h2 {
    font-size: 19.5px;
  }
  .cls-grid,
  .articles-grid,
  .yp-grid,
  .tool-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-main {
    padding: 18px 15px;
  }
  .article-title,
  .page-banner h1 {
    font-size: 21.5px;
  }
  .tool-panel {
    padding: 18px 15px;
  }
  .field-row-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .search-page-form {
    flex-direction: column;
  }
  .res-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}
