/* ==========================================================================
   ZAN8艺术网 - 美术馆策展级视觉样式表（纯本地静态资源，零外部依赖）
   ========================================================================== */

:root {
  --bg-canvas: #f8f6f1;
  --bg-tinted: #f1ede4;
  --bg-surface: #ffffff;
  --bg-dark: #16181d;
  --ink-primary: #18181b;
  --ink-secondary: #4a4a52;
  --ink-muted: #71717a;
  --border-hairline: #e4ded3;
  --border-strong: #cfc7b8;
  --brand-blue: #1b6bb0;
  --brand-blue-dark: #134e83;
  --seal-red: #b83b2b;
  --brass-gold: #9a7438;
  --emerald-ok: #1f6b54;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(24, 24, 27, 0.04);
  --shadow-md: 0 10px 30px rgba(24, 24, 27, 0.07);
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-w: 1220px;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background: var(--bg-canvas);
  line-height: 1.7;
  overflow-x: hidden;
  word-wrap: break-word;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  line-height: 1.32;
  margin: 0 0 0.65em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  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-hairline);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

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

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-primary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-blue);
  background: rgba(27, 107, 176, 0.08);
}

.nav-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-canvas);
  overflow: hidden;
  flex-shrink: 0;
}

.nav-search input {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.85rem;
  width: 155px;
  color: var(--ink-primary);
  outline: none;
}

.nav-search button {
  border: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 7px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

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

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Announcement Banner (首页导航下方通栏横幅) ---------- */
.announce-bar {
  background: linear-gradient(90deg, #162231 0%, #1b3a5c 55%, #162231 100%);
  color: #f6f4ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.announce-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: var(--seal-red);
  color: #fff;
  padding: 2px 9px;
  border-radius: 3px;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.announce-meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: rgba(246, 244, 239, 0.78);
}

/* ---------- Buttons & Pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

.btn-ghost {
  background: rgba(184, 59, 43, 0.09);
  color: var(--seal-red);
  border-color: rgba(184, 59, 43, 0.25);
}

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

.full-btn {
  width: 100%;
  margin-top: 12px;
}

.medium-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.86rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink-secondary);
}

.pill:hover,
.pill.is-active {
  background: var(--ink-primary);
  color: #fff;
  border-color: var(--ink-primary);
}

/* ---------- Hero Section ---------- */
.hero-section {
  padding: 46px 0 42px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-canvas) 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
}

.hero-metrics dt {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.hero-metrics dd {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.hero-visual {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  border-top: 1px solid var(--border-hairline);
}

.cap-tag {
  font-weight: 700;
  color: var(--brand-blue);
}

/* ---------- Common Sections ---------- */
.section {
  padding: 52px 0;
}

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

.section-tools-strip {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-hairline);
}

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

.section-head h2 {
  font-size: clamp(1.38rem, 2.2vw, 1.82rem);
  margin: 0;
}

.more-link {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Tools Cards ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.tool-card.tall {
  background: #fff;
}

.tool-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brass-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.tool-card h2,
.tool-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.tool-card h2 a,
.tool-card h3 a {
  color: var(--ink-primary);
}

.tool-card h2 a:hover,
.tool-card h3 a:hover {
  color: var(--brand-blue);
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  flex: 1;
}

.card-cta {
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 8px;
}

.tool-bullets {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.tool-bullets li {
  margin-bottom: 6px;
}

/* ---------- Artworks Grid ---------- */
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.artwork-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.artwork-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ebe6dc;
}

.artwork-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.artwork-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(24, 24, 27, 0.84);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 3px;
}

.artwork-badge.inline {
  position: static;
}

.artwork-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.artwork-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 0.76rem;
}

.verify-dot {
  color: var(--emerald-ok);
  font-weight: 600;
}

.verify-dot::before {
  content: "● ";
}

.artwork-code {
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.artwork-body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.artwork-body h3 a {
  color: var(--ink-primary);
}

.artwork-body h3 a:hover {
  color: var(--brand-blue);
}

.artwork-artist {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-bottom: 4px;
}

.artwork-spec {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.artwork-note {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  margin-bottom: 12px;
}

.artwork-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-range {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--seal-red);
  font-size: 0.96rem;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- 6 Channels Matrix ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.channel-box {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.channel-box-head {
  padding: 20px 20px 14px;
  border-top: 4px solid var(--brand-blue);
  border-bottom: 1px solid var(--border-hairline);
}

.channel-en {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.channel-box-head h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.channel-box-head h3 a {
  color: var(--ink-primary);
}

.channel-box-head p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  margin: 0;
}

.channel-article-list {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
  flex: 1;
}

.channel-article-list li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-hairline);
}

.channel-article-list li:last-child {
  border-bottom: 0;
}

.channel-article-list a {
  display: block;
  color: var(--ink-primary);
  font-size: 0.91rem;
  font-weight: 500;
  line-height: 1.48;
  margin-bottom: 4px;
}

.channel-article-list a:hover {
  color: var(--brand-blue);
}

.channel-article-list time {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.channel-more {
  display: block;
  padding: 12px 20px;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-hairline);
  font-size: 0.85rem;
  font-weight: 600;
}

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

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

.artist-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.artist-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.artist-tier {
  display: inline-block;
  font-size: 0.73rem;
  color: var(--brass-gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.artist-body h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.artist-body h3 a {
  color: var(--ink-primary);
}

.artist-spec {
  font-size: 0.83rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.artist-affil {
  font-size: 0.79rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.artist-bio {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  flex: 1;
}

.artist-foot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ---------- Exhibitions & Charter ---------- */
.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.exhibition-stack {
  display: grid;
  gap: 20px;
}

.exhibition-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ex-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.ex-status {
  background: rgba(31, 107, 84, 0.12);
  color: var(--emerald-ok);
  padding: 2px 9px;
  border-radius: 3px;
  font-weight: 700;
}

.ex-type {
  background: var(--bg-tinted);
  color: var(--ink-secondary);
  padding: 2px 9px;
  border-radius: 3px;
}

.ex-city {
  color: var(--ink-muted);
}

.ex-date {
  font-size: 0.86rem;
  color: var(--brand-blue);
  font-weight: 500;
}

.ex-summary {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.charter-box {
  background: #162231;
  color: #f4f1ea;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.charter-box h2 {
  color: #fff;
  font-size: 1.65rem;
}

.charter-box p {
  color: rgba(244, 241, 234, 0.82);
}

.charter-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.charter-steps li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
}

.charter-steps strong {
  display: block;
  color: #e6c68a;
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.charter-steps span {
  font-size: 0.84rem;
  color: rgba(244, 241, 234, 0.84);
}

/* ---------- Inner Banners & Breadcrumbs ---------- */
.page-banner {
  background: #fff;
  border-bottom: 1px solid var(--border-hairline);
  padding: 28px 0 32px;
}

.page-banner.compact {
  padding: 14px 0;
}

.page-banner h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  margin-bottom: 10px;
}

.banner-desc {
  max-width: 780px;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.page-banner.compact .breadcrumbs ol {
  margin-bottom: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border-strong);
}

/* ---------- Detail & Article Layouts ---------- */
.artwork-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: start;
}

.stage-frame {
  margin: 0;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.stage-frame img {
  width: 100%;
  border-radius: 3px;
}

.verify-strip {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(31, 107, 84, 0.08);
  border: 1px solid rgba(31, 107, 84, 0.22);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--emerald-ok);
}

.detail-artist {
  font-size: 1rem;
  color: var(--ink-secondary);
}

.price-panel {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--seal-red);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.price-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--seal-red);
  margin: 2px 0;
}

.price-hint {
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.spec-table {
  margin: 0 0 22px;
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-hairline);
  gap: 12px;
  font-size: 0.89rem;
}

.spec-table > div:last-child {
  border-bottom: 0;
}

.spec-table dt {
  color: var(--ink-muted);
  font-weight: 600;
}

.spec-table dd {
  margin: 0;
  color: var(--ink-primary);
}

.detail-block {
  margin-bottom: 22px;
}

.detail-block h2 {
  font-size: 1.15rem;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 8px;
}

.provenance-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-secondary);
  font-size: 0.92rem;
}

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

.detail-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Article & Channel Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}

.article-list-stack {
  display: grid;
  gap: 20px;
}

.article-row-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  box-shadow: var(--shadow-sm);
}

.article-row-card.compact {
  grid-template-columns: 1fr;
}

.article-row-img img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.article-row-body {
  padding: 20px;
}

.article-row-body h2,
.article-row-body h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.article-row-body h2 a,
.article-row-body h3 a {
  color: var(--ink-primary);
}

.article-row-body h2 a:hover,
.article-row-body h3 a:hover {
  color: var(--brand-blue);
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-chip {
  display: inline-block;
  font-size: 0.78rem;
  padding: 3px 10px;
  background: var(--bg-tinted);
  color: var(--ink-secondary);
  border-radius: 3px;
}

.prose-shell {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.prose-shell.narrow {
  max-width: 860px;
}

.channel-pill {
  display: inline-block;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.channel-pill:hover {
  color: #fff;
  opacity: 0.9;
}

.prose-header h1 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.prose-lead {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  background: var(--bg-canvas);
  padding: 14px 18px;
  border-left: 3px solid var(--brass-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose-cover {
  margin: 22px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.prose-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.takeaways-box {
  background: #f4f7fb;
  border: 1px solid #d7e3f0;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 22px 0 26px;
}

.takeaways-box h2 {
  font-size: 1.05rem;
  color: var(--brand-blue-dark);
  margin-bottom: 10px;
}

.takeaways-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.takeaways-box li {
  margin-bottom: 6px;
}

.prose-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-primary);
}

.prose-body h2 {
  font-size: 1.32rem;
  margin-top: 1.8em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-hairline);
}

.prose-body ul,
.prose-body ol {
  padding-left: 22px;
  margin-bottom: 1.2em;
}

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

.prose-body table,
.reference-tables table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.88rem;
  display: block;
  overflow-x: auto;
}

.prose-body th,
.prose-body td,
.reference-tables th,
.reference-tables td {
  border: 1px solid var(--border-hairline);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose-body th,
.reference-tables th {
  background: var(--bg-tinted);
  font-weight: 700;
  white-space: nowrap;
}

.prose-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}

.editorial-notice {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.article-sidebar {
  display: grid;
  gap: 20px;
}

.side-box {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
}

.side-box h3 {
  font-size: 1.04rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-hairline);
}

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

.side-links li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-hairline);
  font-size: 0.88rem;
}

.side-links li:last-child {
  border-bottom: 0;
}

.side-note {
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.content-card {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
}

.sub-heading {
  font-size: 1.35rem;
  margin: 28px 0 18px;
}

/* ---------- Interactive Tools Workspaces ---------- */
.tool-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.calc-card,
.result-card,
.checklist-panel,
.score-panel {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

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

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-primary);
  background: var(--bg-canvas);
}

.preset-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.chip-btn {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  cursor: pointer;
}

.chip-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

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

.kpi-item {
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.kpi-item.highlight {
  background: #fdf6f5;
  border-color: #ecc9c4;
}

.kpi-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.kpi-item strong {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--ink-primary);
}

.kpi-item.highlight strong {
  color: var(--seal-red);
}

.reverse-tip {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f2f7fc;
  border: 1px solid #cde0f2;
  border-radius: var(--radius-sm);
  font-size: 0.89rem;
}

.reverse-tip p {
  margin: 4px 0 0;
}

.reference-tables {
  margin-top: 42px;
}

.two-col-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.table-wrap {
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* Authenticity Checklist */
.auth-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.panel-top h2 {
  margin: 0;
  font-size: 1.2rem;
}

.panel-actions {
  display: flex;
  gap: 8px;
}

.checklist-items {
  display: grid;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  cursor: pointer;
}

.check-row:hover {
  border-color: var(--brand-blue);
}

.check-row input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
  flex-shrink: 0;
}

.check-content small {
  display: block;
  font-size: 0.76rem;
  color: var(--brass-gold);
  margin-bottom: 2px;
}

.check-content strong {
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.score-panel {
  text-align: center;
  position: sticky;
  top: 94px;
}

.score-circle {
  width: 136px;
  height: 136px;
  margin: 12px auto 16px;
  border-radius: 50%;
  border: 6px solid var(--brand-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-canvas);
}

.score-circle strong {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
}

.score-circle span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.score-legend {
  text-align: left;
  margin: 18px 0;
  border-top: 1px solid var(--border-hairline);
  padding-top: 14px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.score-legend > div {
  margin-bottom: 8px;
}

.score-legend strong {
  display: block;
  color: var(--ink-primary);
}

/* Search & 404 */
.search-hero-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin-top: 14px;
}

.search-hero-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  min-width: 0;
}

.empty-state,
.search-count {
  font-size: 0.98rem;
  color: var(--ink-secondary);
}

.not-found-box {
  text-align: center;
  max-width: 620px;
  background: #fff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 52px 28px;
}

.nf-code {
  display: block;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--brass-gold);
  line-height: 1;
  margin-bottom: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #c7c7ce;
  padding: 52px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 1.05fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: #a9abb5;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-badges span {
  font-size: 0.74rem;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #e6c68a;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

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

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.footer-col a {
  color: #b7b9c2;
}

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

.footer-compliance {
  margin-top: 14px;
  font-size: 0.79rem;
  color: #8f929d;
  line-height: 1.65;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
  color: #9497a3;
}

.footer-bottom p {
  margin: 0;
}

.footer-beian a {
  color: #e6c68a;
}

.footer-beian a:hover {
  text-decoration: underline;
}

/* ---------- Responsive (Tablet & Mobile 375px 无横向滚动) ---------- */
@media (max-width: 1080px) {
  .nav-search {
    display: none;
  }
  .hero-grid,
  .artwork-detail-grid,
  .tool-workspace,
  .charter-box,
  .two-col-tables {
    grid-template-columns: 1fr;
  }
  .channel-grid,
  .tools-grid,
  .artwork-grid,
  .artist-grid,
  .artist-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout,
  .auth-workspace {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }
  .header-bar {
    min-height: 64px;
  }
  .brand-logo {
    height: 38px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-strong);
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    display: block;
    padding: 10px 12px;
  }
  .nav-search {
    display: flex;
    margin-top: 10px;
  }
  .nav-search input {
    flex: 1;
    width: auto;
  }
  .announce-meta {
    margin-left: 0;
    width: 100%;
    font-size: 0.76rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .channel-grid,
  .tools-grid,
  .artwork-grid,
  .artwork-grid-2,
  .artist-grid,
  .artist-grid-3,
  .exhibition-grid,
  .charter-steps,
  .form-grid,
  .kpi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-row-card {
    grid-template-columns: 1fr;
  }
  .prose-shell {
    padding: 20px 16px;
  }
  .charter-box {
    padding: 24px 18px;
  }
  .spec-table > div {
    grid-template-columns: 92px 1fr;
    padding: 10px 12px;
  }
  .search-hero-form {
    flex-direction: column;
  }
  .score-panel {
    position: static;
  }
}

@media print {
  .site-header,
  .announce-bar,
  .site-footer,
  .panel-actions,
  .btn {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .auth-workspace {
    grid-template-columns: 1fr;
  }
}
