/* ==========================================================================
   漫行业网 (gaca.cc) - Editorial Industry Portal Stylesheet
   Zero External Dependencies | 375px Mobile Safe | High-Contrast Brand System
   ========================================================================== */

:root {
  --brand-blue: #1684c6;
  --brand-blue-dark: #0f5c91;
  --brand-navy: #0e243d;
  --brand-orange: #ea730f;
  --brand-orange-dark: #c85c04;
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --bg-soft: #eef3f9;
  --text-main: #141d29;
  --text-body: #364354;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 36, 61, 0.07);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1200px;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--brand-blue);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-main);
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0;
  padding: 0;
}

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
}

.site-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

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

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

.main-nav a:hover {
  color: var(--brand-blue);
  background: var(--bg-soft);
}

.main-nav a.active {
  color: var(--brand-blue);
  background: rgba(22, 132, 198, 0.1);
}

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

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 3px 6px 3px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search:focus-within {
  border-color: var(--brand-blue);
  background: #ffffff;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  width: 150px;
  color: var(--text-main);
  font-family: inherit;
}

.header-search button {
  border: 0;
  background: var(--brand-blue);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.header-search button:hover {
  background: var(--brand-blue-dark);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px 18px;
}

.mobile-nav-drawer.open {
  display: block;
}

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

.mobile-nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-page);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
}

.mobile-nav-links a.active {
  background: var(--brand-blue);
  color: #ffffff;
}

.mobile-search-form {
  display: flex;
  gap: 8px;
}

.mobile-search-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.mobile-search-form button {
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Homepage Required Announcement Bar */
.announce-bar {
  background: linear-gradient(90deg, #fff8ee 0%, #fff4e5 100%);
  border-bottom: 1px solid #fbdcb6;
  padding: 10px 0;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: #7c3b07;
  line-height: 1.55;
}

.announce-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--brand-orange);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.announce-text {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.announce-more {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-orange-dark);
  white-space: nowrap;
}

.announce-more:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-indigo { background: #e0e7ff; color: #3730a3; }
.badge-teal { background: #ccfbf1; color: #0f766e; }
.badge-amber { background: #fef3c7; color: #b45309; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-cyan { background: #cffafe; color: #0e7490; }
.badge-slate { background: #e2e8f0; color: #475569; }

/* Sections & Headings */
.section {
  padding: 34px 0;
}

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

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

.section-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.section-title {
  font-size: 22px;
  letter-spacing: -0.2px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  color: var(--brand-orange);
}

/* Editorial Hero Bento */
.hero-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.hero-lead-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lead-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.lead-cover {
  position: relative;
  background: var(--brand-navy);
  min-height: 250px;
}

.lead-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.lead-title {
  font-size: 21px;
  line-height: 1.4;
  margin-top: 10px;
}

.lead-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

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

.mini-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.mini-feature-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.mini-feature-card h3 {
  font-size: 16px;
  line-height: 1.45;
}

.mini-feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Right Expo Schedule Sidebar Panel */
.expo-sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.expo-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.expo-box-head h2 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-accent {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-orange);
  display: inline-block;
}

.expo-mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.expo-mini-item a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--bg-page);
  border: 1px solid transparent;
}

.expo-mini-item a:hover {
  background: #ffffff;
  border-color: var(--brand-blue);
}

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

.expo-city {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
}

.expo-mini-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.4;
}

.expo-mini-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* KPI Strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.kpi-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
}

.kpi-num span {
  color: var(--brand-orange);
}

.kpi-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Article Cards Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.article-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--brand-navy);
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .card-thumb img {
  transform: scale(1.03);
}

.card-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.card-title {
  font-size: 15.5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* Dark Architectural AI-Comic Showcase */
.aigc-showcase {
  background: linear-gradient(135deg, #0b192c 0%, #112a46 60%, #153c61 100%);
  color: #e2e8f0;
  padding: 44px 0;
  margin: 12px 0;
}

.aigc-showcase .section-kicker {
  color: #7dd3fc;
}

.aigc-showcase .section-title {
  color: #ffffff;
}

.aigc-showcase .section-link {
  color: #fbbf24;
}

.aigc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 24px;
}

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

.aigc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.aigc-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 211, 252, 0.5);
}

.aigc-card h3 {
  color: #ffffff;
  font-size: 15.5px;
  line-height: 1.45;
}

.aigc-card p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

.aigc-card .meta {
  font-size: 12px;
  color: #94a3b8;
}

.aigc-tools-box {
  background: rgba(10, 20, 36, 0.6);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.aigc-tools-box h3 {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 6px;
}

.aigc-tools-box .sub {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.tool-matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-matrix-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-matrix-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.tool-matrix-desc {
  font-size: 12.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

.tool-stage-tag {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(234, 115, 15, 0.22);
  color: #fdba74;
  border: 1px solid rgba(234, 115, 15, 0.38);
}

/* Association & Tools Two-Column Band */
.dual-band {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 24px;
}

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

.assoc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.assoc-region {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.assoc-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.assoc-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

.utility-promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.utility-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.utility-list li {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-page);
  border-left: 3px solid var(--brand-blue);
}

.utility-list strong {
  display: block;
  font-size: 14.5px;
  color: var(--text-main);
  margin-bottom: 3px;
}

.utility-list span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

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

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

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

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

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
}

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

/* Sub-page Header Banner */
.page-banner {
  background: linear-gradient(120deg, #0e243d 0%, #154d7e 100%);
  color: #ffffff;
  padding: 34px 0;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 8px;
}

.page-banner p {
  color: #cbd5e1;
  font-size: 15px;
  margin: 0;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.page-banner .breadcrumb {
  color: #93c5fd;
  margin-bottom: 10px;
}

.page-banner .breadcrumb a:hover {
  color: #ffffff;
}

/* Filter Bar */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg-page);
  color: var(--text-body);
  border: 1px solid transparent;
}

.filter-pill:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.filter-pill.active {
  background: var(--brand-blue);
  color: #ffffff;
}

/* Content + Sidebar Two-Column Layout */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.sidebar-card h3 {
  font-size: 16px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

/* Article Detail Typography */
.article-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
  font-size: 27px;
  line-height: 1.38;
  margin: 12px 0 14px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.article-hero-img img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.article-summary-box {
  background: #f0f7fd;
  border-left: 4px solid var(--brand-blue);
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
  font-size: 14.5px;
  color: #1e3a5f;
}

.article-prose {
  font-size: 16px;
  line-height: 1.85;
  color: #243040;
}

.article-prose h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-orange);
}

.article-prose h3 {
  font-size: 17px;
  margin: 20px 0 10px;
}

.article-prose p {
  margin-bottom: 16px;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 18px 22px;
}

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

.article-prose blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--bg-page);
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 8px 8px 0;
  color: var(--text-body);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.tag-chip {
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-page);
  color: var(--text-body);
  border: 1px solid var(--border-color);
}

.tag-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.article-notice-box {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

/* Expo Cards Directory */
.expo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.expo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

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

.expo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.expo-card h3 {
  font-size: 17px;
  line-height: 1.4;
}

.expo-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-page);
  padding: 12px;
  border-radius: 8px;
}

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

.expo-info-item {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
}

.expo-info-item .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.expo-info-item .val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* Interactive Tools Styles */
.tool-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.tool-panel h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.tool-panel .tool-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group select,
.form-group input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  color: var(--text-main);
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: #f0f7fd;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 18px;
}

.calc-stat .k {
  font-size: 12.5px;
  color: #0369a1;
  font-weight: 600;
}

.calc-stat .v {
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-top: 4px;
}

.calc-tip {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.65;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-page);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.tab-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

.checklist-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  font-size: 13.5px;
}

.checklist-items li.checked {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  text-decoration: line-through;
}

.checklist-items input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--brand-blue);
}

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

.page-item {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
}

.page-item.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

/* Footer */
.site-footer {
  background: #0e1a2b;
  color: #94a3b8;
  padding: 42px 0 26px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

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

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

.beian-link {
  color: #cbd5e1;
  font-weight: 600;
}

.beian-link:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* Responsive Breakpoints (Tablet & 375px Mobile Safe) */
@media (max-width: 1024px) {
  .hero-bento,
  .aigc-layout,
  .dual-band,
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid-3,
  .expo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .main-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-inner {
    min-height: 60px;
  }

  .site-logo img {
    height: 38px;
  }

  .announce-inner {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
  }

  .lead-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-cover {
    min-height: 190px;
  }

  .lead-body {
    padding: 18px;
  }

  .lead-title {
    font-size: 18px;
  }

  .sub-featured-grid,
  .article-grid,
  .article-grid-3,
  .aigc-article-list,
  .assoc-grid,
  .expo-grid,
  .expo-info-grid,
  .form-grid,
  .calc-result-grid,
  .checklist-items,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .kpi-card {
    padding: 14px;
  }

  .kpi-num {
    font-size: 20px;
  }

  .article-main-card {
    padding: 20px 16px;
  }

  .article-header h1 {
    font-size: 21px;
  }

  .page-banner {
    padding: 24px 0;
  }

  .page-banner h1 {
    font-size: 22px;
  }

  .section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 19px;
  }
}
