:root {
  --blue-900: #0d3b66;
  --blue-700: #155e9e;
  --blue-500: #2888c9;
  --blue-100: #e8f3fc;
  --orange-600: #d95b04;
  --orange-500: #ea6a0a;
  --orange-100: #fff3e8;
  --teal-700: #0f766e;
  --teal-100: #e6f7f5;
  --indigo-700: #3730a3;
  --indigo-100: #eef2ff;
  --ink-900: #162231;
  --ink-700: #334457;
  --ink-500: #5d6f84;
  --border: #e1e8f0;
  --surface: #ffffff;
  --bg: #f5f7fb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(13, 59, 102, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 59, 102, 0.09);
  --max-w: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--orange-500);
}

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

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

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(13, 59, 102, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 8px 0;
}

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

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.brand-tag {
  font-size: 12px;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

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

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

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-700);
  background: var(--blue-100);
}

.main-nav a.nav-highlight {
  color: var(--orange-600);
}

.main-nav a.nav-highlight.active,
.main-nav a.nav-highlight:hover {
  background: var(--orange-100);
  color: var(--orange-600);
}

.menu-toggle {
  display: none;
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid #cce0f5;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Mandatory Top Announcement Bar */
.announce-bar {
  background: linear-gradient(90deg, #0f4c81 0%, #155e9e 55%, #1d75b8 100%);
  color: #ffffff;
  font-size: 14px;
  border-bottom: 2px solid var(--orange-500);
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.announce-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.announce-badge {
  background: var(--orange-500);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.announce-text {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.announce-meta {
  font-size: 12.5px;
  color: #dbeeff;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0d3b66 0%, #155e9e 62%, #1f7bc0 100%);
  color: #ffffff;
  padding: 36px 0 42px;
  position: relative;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.hero-desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: #e2effb;
  max-width: 640px;
}

.search-box {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(7, 29, 53, 0.22);
  max-width: 660px;
}

.search-box select {
  border: none;
  background: var(--bg);
  color: var(--ink-900);
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.search-box input[type="search"],
.search-box input[type="text"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ink-900);
  background: transparent;
}

.search-box button {
  background: var(--orange-500);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.search-box button:hover {
  background: var(--orange-600);
}

.hot-keywords {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #d6eafb;
}

.hot-keywords a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
}

.hot-keywords a:hover {
  background: var(--orange-500);
  color: #ffffff;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(6px);
}

.hero-panel-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.district-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.district-chip {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
}

.district-chip:hover {
  background: var(--orange-500);
  color: #ffffff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ffd08a;
}

.hero-stat span {
  font-size: 12px;
  color: #dcebfa;
}

/* Main Sections */
.section {
  padding: 30px 0;
}

.section-tight {
  padding: 18px 0;
}

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

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue-700), var(--orange-500));
  display: inline-block;
}

.section-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-500);
}

.more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}

/* Quick Entry Grid */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: -22px;
  position: relative;
  z-index: 10;
}

.entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.entry-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.icon-blue { background: linear-gradient(135deg, #155e9e, #2888c9); }
.icon-orange { background: linear-gradient(135deg, #d95b04, #f58c2c); }
.icon-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.icon-indigo { background: linear-gradient(135deg, #3730a3, #6366f1); }
.icon-red { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.icon-slate { background: linear-gradient(135deg, #334155, #64748b); }

.entry-card strong {
  font-size: 15px;
  color: var(--ink-900);
}

.entry-card span {
  font-size: 12px;
  color: var(--ink-500);
}

/* Cinema Spotlight Banner (SEO Core: 铜川高景, 上美影城) */
.spotlight-box {
  background: linear-gradient(135deg, #ffffff 0%, #f1f7fd 100%);
  border: 1px solid #cfe1f4;
  border-left: 5px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

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

.spotlight-kicker {
  display: inline-block;
  background: var(--orange-100);
  color: var(--orange-600);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.spotlight-box h2 {
  margin: 0 0 8px;
  font-size: 21px;
  color: var(--blue-900);
}

.spotlight-box p {
  margin: 0 0 12px;
  color: var(--ink-700);
  font-size: 14.5px;
}

.spotlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mini-venue {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.mini-venue strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.mini-venue span {
  font-size: 13px;
  color: var(--ink-500);
  display: block;
}

/* Cards & Grids */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card:hover {
  border-color: #bfd6ec;
  box-shadow: var(--shadow-md);
}

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

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.badge-blue { background: var(--blue-100); color: var(--blue-700); }
.badge-orange { background: var(--orange-100); color: var(--orange-600); }
.badge-teal { background: var(--teal-100); color: var(--teal-700); }
.badge-indigo { background: var(--indigo-100); color: var(--indigo-700); }
.badge-gray { background: #edf1f6; color: var(--ink-700); }

.price-tag {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-600);
  white-space: nowrap;
}

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

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

.card-title a:hover {
  color: var(--blue-700);
}

.card-summary {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink-500);
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-pill {
  font-size: 12px;
  color: var(--ink-700);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-500);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}

/* Tabbed Classifieds Columns */
.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.list-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--bg);
}

.list-panel-head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--blue-900);
}

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

.compact-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

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

.compact-list .item-main {
  min-width: 0;
  flex: 1;
}

.compact-list .item-main a {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 14.5px;
  display: block;
}

.compact-list .item-main a:hover {
  color: var(--blue-700);
}

.compact-list .item-sub {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 2px;
}

.compact-list .item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-600);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Articles Grid */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #bfd6ec;
}

.cover-art {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 340;
}

.article-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-500);
  margin-bottom: 8px;
}

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

.article-body h3 a {
  color: var(--ink-900);
}

.article-body h3 a:hover {
  color: var(--blue-700);
}

.article-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-500);
  flex: 1;
}

/* Interactive Local Utility (Mortgage + AI Prompts) */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.tool-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--blue-900);
}

.tool-card > p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-500);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 4px;
}

.field input,
.field select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd7e5;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-900);
  background: #ffffff;
}

.calc-result {
  background: var(--blue-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.calc-result strong {
  display: block;
  font-size: 18px;
  color: var(--blue-900);
}

.calc-result span {
  font-size: 12px;
  color: var(--ink-700);
}

.prompt-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  background: var(--bg);
}

.prompt-item:last-child {
  margin-bottom: 0;
}

.prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.prompt-head strong {
  font-size: 14px;
  color: var(--ink-900);
}

.copy-btn {
  background: var(--blue-700);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--orange-500);
}

.prompt-text {
  font-size: 13px;
  color: var(--ink-700);
  margin: 0;
}

/* Yellow Pages Table/Cards */
.yp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.yp-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.yp-phone {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-600);
  margin: 4px 0;
}

.yp-meta {
  font-size: 12.5px;
  color: var(--ink-500);
}

/* Filter Bar & Breadcrumb */
.page-banner {
  background: linear-gradient(135deg, #0f4473 0%, #1968ad 100%);
  color: #ffffff;
  padding: 26px 0;
}

.breadcrumb {
  font-size: 13px;
  color: #cfe6fa;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: #ffffff;
}

.page-banner h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
}

.page-banner p {
  margin: 0;
  color: #dceefb;
  font-size: 14.5px;
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  min-width: 58px;
}

.filter-pill {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--ink-700);
  background: var(--bg);
  border: 1px solid var(--border);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--blue-700);
  color: #ffffff;
  border-color: var(--blue-700);
}

/* Detail & Article Layout */
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
}

.spec-item {
  font-size: 13.5px;
}

.spec-item span {
  color: var(--ink-500);
  margin-right: 6px;
}

.spec-item strong {
  color: var(--ink-900);
}

.safety-alert {
  background: #fff8eb;
  border: 1px solid #f6d59b;
  border-left: 4px solid var(--orange-500);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 20px;
  font-size: 13.5px;
  color: #6b3f07;
}

.prose {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-900);
}

.prose h2 {
  font-size: 20px;
  color: var(--blue-900);
  margin: 24px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--blue-100);
}

.prose h3 {
  font-size: 17px;
  color: var(--ink-900);
  margin: 18px 0 8px;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul, .prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.sidebar-widget h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--blue-900);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Buttons & Pagination */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue-700);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--blue-900);
  color: #ffffff;
}

.btn-orange {
  background: var(--orange-500);
  color: #ffffff;
}

.btn-orange:hover {
  background: var(--orange-600);
  color: #ffffff;
}

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

.pagination a,
.pagination span {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}

.pagination span.current {
  background: var(--blue-700);
  color: #ffffff;
  border-color: var(--blue-700);
}

/* Footer */
.site-footer {
  background: #0e2439;
  color: #cbd9e6;
  margin-top: 40px;
  padding: 36px 0 24px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

.footer-links li {
  margin-bottom: 7px;
}

.footer-links a {
  color: #bdd1e3;
}

.footer-links a:hover {
  color: #ffb36b;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #9cb4ca;
}

.footer-bottom a {
  color: #dcebf8;
}

.footer-bottom a:hover {
  color: #ffb36b;
}

/* Responsive Breakpoints (Clean down to 375px) */
@media (max-width: 1024px) {
  .hero-grid,
  .spotlight-grid,
  .layout-sidebar {
    grid-template-columns: 1fr;
  }
  .entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
  }
  .card-grid-3 {
    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: 768px) {
  .header-inner {
    min-height: 60px;
  }
  .brand-logo {
    height: 40px;
    max-width: 140px;
  }
  .brand-tag {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .hero {
    padding: 24px 0 28px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .search-box {
    flex-direction: column;
    padding: 8px;
  }
  .search-box select,
  .search-box input,
  .search-box button {
    width: 100%;
  }
  .dual-grid,
  .tool-grid,
  .card-grid-3,
  .card-grid-2,
  .spec-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-result {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yp-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .detail-box {
    padding: 16px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }
  .district-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-stats strong {
    font-size: 17px;
  }
}
