/* ==========================================================
   中国艺术品交易中心 · 前台全局样式
   风格：中国红 × 鎏金 × 米白 中式典雅风
   ========================================================== */

:root {
  --red: #9e2b25;
  --red-dark: #7a1f1b;
  --red-light: #b8453a;
  --gold: #c9a063;
  --gold-light: #e3cd9f;
  --gold-dark: #a97f3d;
  --cream: #f7f4ee;
  --cream-deep: #efe8da;
  --ink: #2f2a26;
  --ink-soft: #55504a;
  --gray: #7d776e;
  --line: #e0d6c2;
  --line-dark: #cdbfa3;
  --white: #fffdf9;
  --shadow: 0 6px 24px rgba(94, 66, 28, .10);
  --shadow-sm: 0 2px 10px rgba(94, 66, 28, .08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "SimSun", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; } /* 兜底：任何子像素舍入误差都不再产生页面级横向滚动条（clip 不破坏 sticky） */
body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: color .25s, background .25s, box-shadow .25s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }

/* ---------- 滚动条 · 与整体风格统一 ---------- */
html { scrollbar-width: thin; scrollbar-color: var(--gold) var(--cream-deep); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--cream-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; border: 2px solid var(--cream-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
::-webkit-scrollbar-corner { background: var(--cream-deep); }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--ink); color: #cfc8ba; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #cfc8ba; padding: 0 4px; }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-right a + a { margin-left: 14px; }
.topbar .tb-sep { color: #57504a; }

/* ---------- 页头：Logo + 搜索 ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 18px 16px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo {
  width: 64px; height: 64px; flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(122, 31, 27, .35);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-logo svg { width: 40px; height: 40px; }
.brand-text { line-height: 1.35; }
.brand-text h1 {
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  letter-spacing: 4px; color: var(--red); white-space: nowrap;
}
.brand-en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px; letter-spacing: 3px; color: var(--gold-dark);
  margin-top: 2px;
}
.search-box {
  display: flex; align-items: center;
  border: 2px solid var(--gold); border-radius: 30px; overflow: hidden;
  background: var(--white); flex: 0 1 420px; max-width: 420px;
}
.search-box input {
  border: none; outline: none; padding: 8px 4px 8px 16px;
  width: 100%; min-width: 0; font-size: 13px; color: var(--ink);
  background: transparent; font-family: var(--sans);
}
.search-box button {
  border: none; background: var(--red); color: #fff;
  padding: 8px 18px; cursor: pointer; font-size: 13px; font-family: var(--sans);
  transition: background .25s; flex: 0 0 auto;
}
.search-box button:hover { background: var(--red-dark); }

/* ---------- 主导航 ---------- */
.main-nav {
  background: linear-gradient(90deg, var(--red-dark), var(--red) 40%, var(--red) 60%, var(--red-dark));
  box-shadow: 0 3px 10px rgba(122, 31, 27, .25);
  position: relative; z-index: 60;
}
.main-nav .container { display: flex; }
.main-nav ul { display: flex; flex-wrap: wrap; }
.main-nav > .container > ul > li { position: relative; }
.main-nav > .container > ul > li > a {
  display: block; color: #f5ede0;
  font-family: var(--serif); font-size: 16px; letter-spacing: 2px;
  padding: 14px 26px; position: relative;
}
.main-nav > .container > ul > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 8px;
  width: 0; height: 2px; background: var(--gold-light);
  transform: translateX(-50%); transition: width .3s;
}
.main-nav > .container > ul > li:hover > a,
.main-nav > .container > ul > li.active > a { background: rgba(0,0,0,.18); color: #fff; }
.main-nav > .container > ul > li:hover > a::after,
.main-nav > .container > ul > li.active > a::after { width: 46%; }
.dropdown {
  position: absolute; left: 0; top: 100%; min-width: 200px;
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s; z-index: 70;
}
.main-nav > .container > ul > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 18px; color: var(--ink-soft); font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--cream); color: var(--red); padding-left: 24px; }
/* 导航栏横向裁切：悬停下拉在窄屏越出视口时不再撑出页面横向滚动条 */
.main-nav { overflow-x: clip; }
.nav-toggle { display: none; }

/* ---------- 通用板块标题 ---------- */
.section { padding: 40px 0 10px; }
.section.bg-deep { background: var(--cream-deep); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px; border-bottom: 2px solid var(--red);
  padding-bottom: 10px; position: relative;
}
.section-head::before {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 56px; height: 6px; background: var(--gold);
}
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title .cn {
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  color: var(--red); letter-spacing: 3px;
}
.section-title .en {
  font-family: Georgia, serif; font-size: 11px; letter-spacing: 2px;
  color: var(--gold-dark); text-transform: uppercase; margin-top: 4px;
}
.section-more { font-size: 13px; color: var(--gray); padding-bottom: 2px; }
.section-more:hover { color: var(--red); }
.section-more::after { content: " ›"; }

/* ---------- Banner 轮播（背景图式） ---------- */
.banner { position: relative; overflow: hidden; min-height: 420px; background: var(--red-dark); }
.banner-slide {
  position: absolute; inset: 0; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.banner-slide.on { opacity: 1; visibility: visible; position: relative; }
.banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,18,12,.72) 0%, rgba(40,18,12,.45) 45%, rgba(40,18,12,.15) 100%);
}
.banner-content {
  position: relative; z-index: 2;
  min-height: 420px; display: flex; flex-direction: column; justify-content: center;
  color: #fff; padding: 60px 40px;
}
.banner-content h2 {
  font-family: var(--serif); font-size: 42px; letter-spacing: 5px;
  line-height: 1.3; text-shadow: 0 3px 16px rgba(0,0,0,.45);
  margin-bottom: 14px; max-width: 780px;
}
.banner-btn {
  display: inline-block; margin-top: 26px; align-self: flex-start;
  background: var(--red); color: #fff !important;
  font-family: var(--serif); font-size: 15px; letter-spacing: 3px;
  padding: 10px 34px; border: 1px solid rgba(255,255,255,.35);
  transition: background .3s;
}
.banner-btn:hover { background: var(--red-dark); }
.banner-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.banner-dots span {
  width: 34px; height: 4px; background: rgba(255,255,255,.4);
  cursor: pointer; transition: background .3s;
}
.banner-dots span.on { background: var(--gold-light); }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.22);
  color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; transition: background .3s;
}
.banner-arrow:hover { background: var(--red); }
.banner-arrow.prev { left: 26px; }
.banner-arrow.next { right: 26px; }

/* ---------- 快捷服务入口 ---------- */
.quick-nav { margin-top: -30px; position: relative; z-index: 10; }
.quick-nav .container {
  background: var(--white); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(6, 1fr); padding: 0;
}
.quick-item { text-align: center; padding: 22px 8px 18px; border-right: 1px dashed var(--line); transition: background .3s; }
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: var(--cream); }
.quick-item .q-icon {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(160deg, #fff, var(--cream-deep));
  border: 1px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); box-shadow: var(--shadow-sm);
  transition: transform .3s, background .3s; font-size: 22px;
}
.quick-item:hover .q-icon { transform: translateY(-4px); background: linear-gradient(160deg, var(--red), var(--red-dark)); color: #fff; }
.quick-item .q-name { font-family: var(--serif); font-size: 15px; color: var(--ink); letter-spacing: 1px; }
.quick-item .q-desc { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ---------- 双栏新闻区 ---------- */
.dual-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.panel { background: var(--white); border: 1px solid var(--line); padding: 22px 24px; min-width: 0; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px;
}
.panel-head .t {
  font-family: var(--serif); font-size: 19px; color: var(--red);
  letter-spacing: 2px; font-weight: 700;
}
.panel-head .t::before { content: "◆"; color: var(--gold); font-size: 12px; margin-right: 8px; vertical-align: 1px; }
.panel-head .more { font-size: 12px; color: var(--gray); }
.panel-head .more:hover { color: var(--red); }
.news-list {
  overflow: hidden;
}
.news-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  min-width: 0; overflow: hidden;
}
.news-list li:last-child { border-bottom: none; }
.news-list li a {
  flex: 1; min-width: 0; display: block;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink-soft); padding-right: 14px;
}
.news-list li a::before { content: "▪"; color: var(--gold-dark); font-size: 10px; margin-right: 8px; }
.news-list li a:hover { color: var(--red); }
.news-list .date { color: var(--gray); font-size: 12px; font-family: Georgia, serif; flex: 0 0 auto; }
.news-top-item {
  display: flex; gap: 16px; margin-bottom: 16px;
  background: var(--cream); border: 1px solid var(--line); padding: 10px;
}
.news-top-item .img {
  width: 220px; height: 128px; flex: 0 0 auto; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #fdf8ee, var(--cream-deep));
  border: 1px solid var(--line);
}
.news-top-item .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-top-item h3 {
  font-family: var(--serif); font-size: 17px; color: var(--ink);
  line-height: 1.5; margin-bottom: 8px;
}
.news-top-item h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all;
}
.news-top-item h3 a:hover { color: var(--red); }
.news-top-item p { font-size: 13px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 交易大厅（分类标签） ---------- */
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--red); }
.tab-nav .tab-btn {
  padding: 8px 22px; font-family: var(--serif); font-size: 15px; letter-spacing: 2px;
  color: var(--ink-soft); background: transparent; border: 1px solid transparent;
  border-bottom: none; cursor: pointer; border-radius: 4px 4px 0 0;
  transition: all .25s;
}
.tab-nav .tab-btn:hover { color: var(--red); background: #fbf6ea; }
.tab-nav .tab-btn.on { background: var(--red); color: #fff; }
/* 注意：面板同时带 .art-grid，其 display:grid（同级特异性、定义更靠后）会覆盖本隐藏规则；
   故用 .tab-panel:not(.on) 提升特异性，确保未选中面板一定隐藏；
   选中面板保持 display:grid（沿用 .art-grid 的 4 列布局），仅覆盖其隐藏状态 */
.tab-panel:not(.on) { display: none; }
.tab-panel.on { display: grid; animation: fadeIn .4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.art-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.art-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.art-card .art-img {
  height: 200px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fdf9f0, var(--cream-deep));
  border-bottom: 1px solid var(--line);
}
.art-card .art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-card .art-body { padding: 12px 14px 14px; }
.art-card .art-body h3 {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
}
.art-card .art-body h3 a:hover { color: var(--red); }
.art-card .art-artist { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.art-card .art-price { color: var(--red); font-family: Georgia, serif; font-size: 17px; font-weight: 700; }

/* 标签 */
.tag {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: #fff; font-size: 11px;
  padding: 2px 10px; letter-spacing: 1px; box-shadow: var(--shadow-sm);
}
.tag.sold { background: var(--gold-dark); }

/* ---------- 展览拍卖 ---------- */
.exh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.exh-card { min-width: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.exh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.exh-card .exh-img { height: 190px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #fdf9f0, var(--cream-deep)); }
.exh-card .exh-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exh-card .exh-body { padding: 14px 16px 16px; }
.exh-card .exh-body h3 { font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }
.exh-card .exh-body h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all;
}
.exh-card .exh-body h3 a:hover { color: var(--red); }
.exh-card .exh-meta { font-size: 12px; color: var(--gray); line-height: 2; }
.exh-card .exh-meta i { font-style: normal; color: var(--gold-dark); margin-right: 6px; }

/* ---------- 艺术名家 ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.artist-card {
  background: var(--white); border: 1px solid var(--line);
  text-align: center; padding: 20px 12px 16px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: block; text-decoration: none; color: inherit;
}
.artist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.artist-card .avatar {
  width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fdf8ee, var(--cream-deep));
}
.artist-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.artist-card h4 { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.artist-card p { font-size: 12px; color: var(--gold-dark); margin: 4px 0 0; letter-spacing: 1px; }

/* ---------- 鉴定评估 + 收藏讲堂（首页） ---------- */
.appraisal-wrap {
  background: linear-gradient(135deg, #fdf8ee, var(--cream-deep));
  border: 1px solid var(--line); padding: 26px 30px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px;
}
.appraisal-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.appraisal-card p { font-size: 13px; color: var(--ink-soft); margin: 14px 0; line-height: 2; }
.appraisal-card .btn { align-self: flex-start; }
.check-list { margin: 0 0 18px; }
.check-list li { position: relative; padding: 5px 0 5px 22px; font-size: 13px; color: var(--ink-soft); }
.check-list li::before { content: "✔"; position: absolute; left: 0; top: 5px; color: var(--gold-dark); font-size: 12px; }
.lecture-panel { background: var(--white); border: 1px solid var(--line); padding: 22px 24px; }
.lecture-main { display: flex; gap: 16px; background: var(--cream); border: 1px solid var(--line); padding: 10px; margin-bottom: 6px; }
.lecture-main .lecture-img { width: 200px; height: 120px; flex: 0 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #fdf9f0, var(--cream-deep)); border: 1px solid var(--line); }
.lecture-main .lecture-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lecture-main h3 { font-family: var(--serif); font-size: 16px; margin-bottom: 8px; }
.lecture-main > div { min-width: 0; }
.lecture-main h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all; max-width: 100%;
}
.lecture-main h3 a:hover { color: var(--red); }
.lecture-main p { font-size: 13px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 会员专区 ---------- */
.member-banner {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #b8453a);
  color: #fff; padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.member-banner h3 { font-family: var(--serif); font-size: 22px; letter-spacing: 3px; margin-bottom: 6px; }
.member-banner p { font-size: 13px; color: #eccfb7; }
.member-banner .btns { display: flex; gap: 12px; flex: 0 0 auto; }

/* 通用按钮 */
.btn {
  display: inline-block; border: 1px solid var(--line-dark);
  color: var(--ink-soft); padding: 9px 26px;
  font-family: var(--serif); font-size: 14px; letter-spacing: 2px;
  transition: all .3s; background: var(--white); cursor: pointer; text-align: center;
}
.btn:hover { border-color: var(--red); color: var(--red); }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.solid:hover { background: var(--red-dark); color: #fff; }
.member-banner .btn { border-color: var(--gold-light); color: var(--gold-light); background: rgba(0,0,0,.12); }
.member-banner .btn.solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.member-banner .btn:hover { background: var(--gold-light); color: var(--red-dark); }

/* ---------- 友情链接 ---------- */
.links-bar-wrap { background: var(--cream); }
.links-bar {
  background: var(--white); border: 1px solid var(--line);
  padding: 16px 22px; margin-top: 30px;
}
.links-bar .lb-title { font-family: var(--serif); font-size: 14px; color: var(--red); letter-spacing: 2px; margin-bottom: 8px; }
.links-bar .lb-title::before { content: "◆"; color: var(--gold); font-size: 10px; margin-right: 8px; }
.links-bar .lb-items { display: flex; flex-wrap: wrap; gap: 4px 0; }
.links-bar .lb-items a { font-size: 12px; color: var(--gray); padding: 0 12px; border-right: 1px solid var(--line); }
.links-bar .lb-items a:last-child { border-right: none; }
.links-bar .lb-items a:hover { color: var(--red); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #b7ae9e; margin-top: 50px; }
.footer-main { padding: 42px 0 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-col h4 {
  font-family: var(--serif); font-size: 17px; color: var(--gold-light);
  letter-spacing: 3px; margin-bottom: 16px; position: relative; padding-bottom: 8px;
}
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-dark); }
.footer-col ul li { padding: 5px 0; font-size: 13px; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-about p { font-size: 13px; line-height: 2; }
.footer-about .logo-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-about .logo-line .f-logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); flex: 0 0 auto; overflow: hidden;
}
.footer-about .logo-line .f-logo img { width: 100%; height: 100%; object-fit: cover; }
.footer-about .logo-line .f-logo svg { width: 28px; height: 28px; }
.footer-about .logo-line .f-name { font-family: var(--serif); font-size: 18px; color: #f0e8d8; letter-spacing: 3px; }
.footer-contact li { padding: 5px 0; font-size: 13px; }
.footer-contact li i { font-style: normal; color: var(--gold-dark); margin-right: 8px; }
.footer-bottom { border-top: 1px solid #4a443a; padding: 16px 0; font-size: 12px; color: #8d8474; text-align: center; }
.footer-bottom a { color: #8d8474; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .beian { margin-top: 4px; }

/* ---------- 子页面通用 ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 50%, #9e2b25);
  color: #fff; padding: 44px 0 38px; text-align: center;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.06) 0, transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(255,255,255,.05) 0, transparent 42%);
}
.page-banner h2 { position: relative; font-family: var(--serif); font-size: 34px; letter-spacing: 8px; text-shadow: 0 3px 12px rgba(0,0,0,.3); }
.page-banner .crumb { position: relative; margin-top: 10px; font-size: 13px; color: #e8c9ae; }
.page-banner .crumb a { color: #f0dcbe; }
.page-banner .crumb a:hover { text-decoration: underline; }
.page-banner .crumb span { margin: 0 6px; color: #c99a72; }

.page-body { padding: 34px 0 10px; }
.page-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }

/* 侧边栏 */
.sidebar { position: sticky; top: 16px; }
.side-panel { background: var(--white); border: 1px solid var(--line); margin-bottom: 20px; }
.side-panel .side-title {
  background: var(--red); color: #fff;
  font-family: var(--serif); font-size: 16px; letter-spacing: 3px;
  padding: 12px 18px; text-align: center;
}
.side-panel .side-title.gold { background: var(--ink); color: var(--gold-light); }
.side-panel ul li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 20px; border-bottom: 1px dashed var(--line);
  color: var(--ink-soft); font-size: 14px; transition: all .25s;
}
.side-panel ul li:last-child a { border-bottom: none; }
.side-panel ul li a:hover, .side-panel ul li a.on { color: var(--red); background: var(--cream); padding-left: 26px; }
.side-panel ul li a::after { content: "›"; color: var(--line-dark); }
.side-contact { padding: 16px 18px; font-size: 13px; color: var(--ink-soft); line-height: 2.1; }
.side-contact i { font-style: normal; color: var(--gold-dark); margin-right: 6px; }

/* 内容区 */
.content-box { background: var(--white); border: 1px solid var(--line); padding: 28px 32px; min-height: 480px; }
.content-box h2.page-h2 { font-family: var(--serif); font-size: 22px; color: var(--red); letter-spacing: 3px; margin-bottom: 6px; }
.content-box .page-sub { font-size: 12px; color: var(--gray); border-bottom: 2px solid var(--red); padding-bottom: 14px; margin-bottom: 22px; }

/* 列表行（新闻/展览） */
.news-row, .exh-row {
  display: flex; gap: 18px; padding: 16px 0;
  border-bottom: 1px dashed var(--line); align-items: flex-start;
}
.news-row:last-child, .exh-row:last-child { border-bottom: none; }
.nr-img, .er-img {
  width: 220px; height: 130px; flex: 0 0 auto; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #fdf8ee, var(--cream-deep));
  border: 1px solid var(--line);
}
.nr-img img, .er-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-body, .er-body { flex: 1; min-width: 0; }
.nr-body h3, .er-body h3 { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.nr-body h3 a, .er-body h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all;
}
.nr-body h3 a:hover, .er-body h3 a:hover { color: var(--red); }
.nr-cat {
  display: inline-block; margin-left: 10px; font-family: var(--sans);
  font-size: 11px; color: var(--gold-dark); border: 1px solid var(--gold-light);
  padding: 0 8px; vertical-align: 2px; letter-spacing: 1px;
}
.nr-body p, .er-body p { font-size: 13px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr-meta { margin-top: 10px; font-size: 12px; color: var(--gray); display: flex; gap: 18px; }
.nr-meta span i { font-style: normal; color: var(--gold-dark); margin-right: 4px; }

/* 展览列表 */
.exh-list { display: flex; flex-direction: column; }

/* 知识卡片 */
.lecture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lecture-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.lecture-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lecture-card .lc-img { height: 170px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #fdf9f0, var(--cream-deep)); }
.lecture-card .lc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lecture-card .lc-body { padding: 14px 16px 16px; }
.lecture-card .lc-body h3 { font-family: var(--serif); font-size: 15px; margin-bottom: 6px; }
.lecture-card .lc-body h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all;
}
.lecture-card .lc-body h3 a:hover { color: var(--red); }
.lecture-card .lc-body p { font-size: 12.5px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 藏品详情 ---------- */
.art-detail { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; }
.art-detail .ad-img {
  border: 1px solid var(--line); background: linear-gradient(160deg, #fdf9f0, var(--cream-deep));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.art-detail .ad-img img { width: 100%; height: auto; display: block; }
.art-detail .ad-info h1 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 14px; letter-spacing: 1px; }
.ad-list { border: 1px solid var(--line); }
.ad-list li { display: flex; padding: 11px 14px; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-soft); }
.ad-list li:last-child { border-bottom: none; }
.ad-list li span { width: 90px; color: var(--gray); }
.ad-list .ad-price { color: var(--red); font-family: Georgia, serif; font-size: 18px; }
.ad-btns { margin-top: 18px; display: flex; gap: 12px; }

/* ---------- 详情文章 ---------- */
.article h1.article-title {
  font-family: var(--serif); font-size: 23px; color: var(--ink);
  text-align: center; letter-spacing: 2px; margin-bottom: 10px; line-height: 1.5;
}
.article .article-meta {
  text-align: center; font-size: 12px; color: var(--gray);
  border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 20px;
}
.article .article-meta span { margin: 0 10px; }
.article .article-img { margin: 0 auto 18px; max-width: 640px; border: 1px solid var(--line); }
.article .article-img img { width: 100%; height: auto; }
.article-content { font-size: 14.5px; color: var(--ink-soft); line-height: 2; overflow-wrap: break-word; }
.article-content p { text-indent: 2em; margin-bottom: 14px; }
.article-content img { max-width: 100%; margin: 12px auto; }
.article-nav { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--gray); }
.article-nav p { padding: 4px 0; }
.article-nav a { color: var(--red); }
.article-nav a:hover { text-decoration: underline; }

/* ---------- 表单 ---------- */
.form-table { width: 100%; border-collapse: collapse; }
.form-table td { padding: 10px 8px; vertical-align: top; }
.form-table .label { width: 110px; text-align: right; color: var(--ink-soft); font-size: 13.5px; }
.form-table .label i { color: var(--red); font-style: normal; margin-left: 2px; }
.form-table input, .form-table select, .form-table textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line-dark);
  background: var(--white); font-size: 13.5px; font-family: var(--sans);
  color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s;
}
.form-table input:focus, .form-table select:focus, .form-table textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(158, 43, 37, .08);
}
.form-table textarea { resize: vertical; min-height: 90px; }
.form-btn-row { text-align: center; padding: 14px 0 4px; }
.form-btn {
  background: var(--red); color: #fff; border: none;
  font-family: var(--serif); font-size: 15px; letter-spacing: 4px;
  padding: 10px 44px; cursor: pointer; margin: 0 8px; transition: background .3s;
}
.form-btn:hover { background: var(--red-dark); }
.form-btn.ghost { background: transparent; border: 1px solid var(--line-dark); color: var(--ink-soft); letter-spacing: 2px; }
.form-btn.ghost:hover { border-color: var(--red); color: var(--red); }
.form-msg { padding: 12px 16px; margin-bottom: 16px; font-size: 13px; border-radius: 3px; }
.form-msg.ok { background: #eef7ee; border: 1px solid #bcdcbc; color: #2e6b2e; }
.form-msg.err { background: #fdf0ef; border: 1px solid #e8bcb8; color: #9e2b25; }

/* ---------- 筛选条 ---------- */
.filter-bar {
  background: var(--cream); border: 1px solid var(--line);
  padding: 14px 18px; margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 6px 2px; align-items: center;
}
.filter-bar a { font-size: 13px; color: var(--ink-soft); padding: 4px 14px; border: 1px solid transparent; }
.filter-bar a:hover { color: var(--red); }
.filter-bar a.on { background: var(--red); color: #fff; border-radius: 2px; }
.filter-search { display: flex; margin-left: auto; border: 1px solid var(--line-dark); background: var(--white); }
.filter-search input { border: none; outline: none; padding: 5px 10px; width: 160px; font-size: 12.5px; background: transparent; font-family: var(--sans); }
.filter-search button { border: none; background: var(--red); color: #fff; padding: 5px 14px; cursor: pointer; font-size: 12.5px; }

/* ---------- 信息块 ---------- */
.info-tip { background: #fbf4e3; border: 1px solid var(--gold-light); border-left: 4px solid var(--gold); padding: 12px 16px; font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.empty-tip { text-align: center; padding: 50px 0; color: var(--gray); font-size: 14px; background: var(--white); border: 1px dashed var(--line-dark); }

/* ---------- 会员查询 ---------- */
.member-search-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.member-search-form select {
  border: 1px solid var(--line-dark); background: var(--white);
  padding: 8px 12px; font-size: 13.5px; font-family: var(--sans);
  color: var(--ink); outline: none; border-radius: 3px; cursor: pointer;
}
.member-search-form .filter-search { margin-left: 0; flex: 1; min-width: 220px; }
.member-search-form .filter-search input { width: auto; flex: 1; min-width: 0; }
.member-result-info { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.member-result-info b { color: var(--red); }
.member-list { display: flex; flex-direction: column; gap: 12px; }
.member-card { background: var(--cream); border: 1px solid var(--line); padding: 14px 16px; min-width: 0; }
.member-card .mc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.member-card .mc-name { font-family: var(--serif); font-size: 16px; color: var(--ink); letter-spacing: 1px; }
.member-card .mc-type {
  display: inline-block; font-size: 12px; line-height: 1.6; padding: 0 10px; border-radius: 10px;
  background: var(--red); color: #fff; letter-spacing: 1px;
}
.member-card .mc-type.t2 { background: var(--gold); }
.member-card .mc-type.t3 { background: #2c3e50; }
.member-card .mc-date { margin-left: auto; font-size: 12px; color: var(--gray); white-space: nowrap; }
.member-card .mc-addr, .member-card .mc-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.7; overflow-wrap: break-word; }
.member-card .mc-addr i { font-style: normal; color: var(--gray); margin-right: 6px; }
.member-card .mc-desc { color: var(--gray); margin-top: 2px; }

/* 名人列表（现任领导） */
.celebrity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.celebrity-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line);
  padding: 18px 14px; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.celebrity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.celebrity-card .avatar {
  width: 76px; height: 76px; border-radius: 50%;
  margin: 0 auto 10px; overflow: hidden;
  border: 3px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fdf8ee, var(--cream-deep));
}
.celebrity-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.celebrity-card h4 { font-family: var(--serif); font-size: 15px; }
.celebrity-card .role { font-size: 12px; color: var(--gold-dark); margin-top: 2px; }

/* 简易数据表格 */
.data-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; }
.data-table th {
  background: var(--red); color: #fff;
  font-family: var(--serif); font-weight: 400; letter-spacing: 2px;
  padding: 10px 12px; font-size: 14px;
}
.data-table td { border: 1px solid var(--line); padding: 9px 12px; font-size: 13.5px; color: var(--ink-soft); }
.data-table tr:nth-child(even) td { background: #fbf8f1; }
.data-table td.c { text-align: center; }

/* 名家列表简介 */
.artist-card .bio { font-size: 12px; color: var(--gray); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 搜索大输入框 */
.search-box.big { margin-bottom: 20px; }
.search-box.big input { width: 100%; padding: 12px 6px 12px 20px; font-size: 14px; }
.search-box.big button { padding: 12px 30px; font-size: 14px; }

/* 机构组织卡片 */
.org-card { background: var(--white); border: 1px solid var(--line); padding: 20px; margin-bottom: 18px; }
.org-card h3 {
  font-family: var(--serif); font-size: 17px; color: var(--red);
  border-left: 4px solid var(--gold); padding-left: 12px; margin-bottom: 14px; letter-spacing: 2px;
}
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.org-grid .org-item { text-align: center; padding: 12px 6px; background: var(--cream); border: 1px solid var(--line); }
.org-grid .org-item .nm { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.org-grid .org-item .en { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* 中心大楼照片画廊 */
.building-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.b-photo {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 8px; transition: box-shadow .25s, transform .25s;
}
.b-photo:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.b-photo a { display: block; overflow: hidden; border-radius: 2px; }
.b-photo img { width: 100%; height: auto; transition: transform .45s ease; }
.b-photo:hover img { transform: scale(1.05); }
.b-photo figcaption {
  font-family: var(--serif); font-size: 13px; color: var(--ink);
  text-align: center; letter-spacing: 1px; padding: 8px 4px 4px;
}
.b-photo figcaption small {
  display: block; font-family: var(--sans); font-size: 11px;
  color: var(--gray); margin-top: 2px; font-weight: normal;
}

/* 大楼照片灯箱 */
.lb {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(22, 18, 13, .93);
  display: none; align-items: center; justify-content: center; flex-direction: column;
}
.lb.open { display: flex; }
.lb img {
  max-width: 86vw; max-height: 76vh; background: var(--white);
  border: 6px solid var(--white); border-radius: 3px; box-shadow: var(--shadow);
}
.lb-caption { color: #e9e2d2; margin-top: 14px; font-size: 14px; font-family: var(--serif); letter-spacing: 1px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #b8ad97; font-size: 12px; letter-spacing: 2px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  background: none; border: 1px solid rgba(233, 226, 210, .45);
  color: #e9e2d2; font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 24px; right: 28px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .building-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .building-gallery { grid-template-columns: 1fr; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

/* 鉴定流程 */
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step .n {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%;
  background: var(--red); color: #fff; font-family: Georgia, serif; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step .t { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.step .d { font-size: 12px; color: var(--gray); }

/* 联系页位置示意 */
.loc-map { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #f2ecdf; box-shadow: var(--shadow-sm); }
.loc-map svg { width: 100%; height: auto; display: block; }
.loc-note { font-size: 12.5px; color: var(--gray); margin-top: 10px; padding: 10px 14px; background: var(--cream-deep); border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 26px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 34px; height: 34px; line-height: 32px; text-align: center;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink-soft); font-size: 13px; padding: 0 10px; display: inline-block;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .on, .pagination .cur { background: var(--red); color: #fff !important; border-color: var(--red); }
.pagination .disabled { color: #c8c1b4; background: #f6f2ea; }

/* ---------- 中心数据统计条 ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--red-dark), var(--red) 55%, #a8372f);
  color: #f5efe2; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
}
.stats-strip .container {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  padding-top: 26px; padding-bottom: 26px;
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%;
  border-left: 1px solid rgba(227, 205, 159, .35);
}
.stat-item .num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--gold-light); line-height: 1.2; letter-spacing: 1px; }
.stat-item .lbl { font-size: 13px; color: #eadfca; letter-spacing: 2px; margin-top: 4px; }

/* ---------- 返回顶部 ---------- */
#toTop {
  position: fixed; right: 24px; bottom: 28px;
  width: 44px; height: 44px; background: var(--red); color: #fff;
  border: none; border-radius: 4px; cursor: pointer; font-size: 18px;
  opacity: 0; visibility: hidden; transition: all .3s;
  box-shadow: var(--shadow); z-index: 90;
}
#toTop.show { opacity: 1; visibility: visible; }
#toTop:hover { background: var(--red-dark); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .quick-nav .container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-item { border-bottom: 1px dashed var(--line); }
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .banner-content h2 { font-size: 32px; }
  .stats-strip .container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px; }
  .stat-item:nth-child(4)::before, .stat-item:nth-child(1)::before { content: none; }
  .lecture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .topbar .tb-left { display: none; }
  .brand-text h1 { font-size: 22px; letter-spacing: 2px; }
  .brand-en { font-size: 9px; letter-spacing: 1px; }
  .search-box { display: none; }
  .main-nav .container { flex-direction: column; }
  .main-nav ul { flex-direction: column; display: none; width: 100%; }
  .main-nav ul.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; }
  .main-nav ul li.open .dropdown { display: block; }
  .nav-toggle { display: block; color: #fff; font-size: 22px; padding: 10px 18px; cursor: pointer; font-family: var(--serif); }
  .dual-section { grid-template-columns: minmax(0, 1fr); }
  .art-grid, .art-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exh-grid, .lecture-grid, .appraisal-wrap { grid-template-columns: minmax(0, 1fr); }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-banner { flex-direction: column; text-align: center; }
  .banner-slide, .banner-content { min-height: 300px; }
  .banner-content h2 { font-size: 24px; letter-spacing: 2px; }
  .banner-arrow { display: none; }
  .section-head { flex-wrap: wrap; }
  .tab-nav { flex-wrap: wrap; }
  .footer-main { grid-template-columns: 1fr; }
  .content-box { padding: 20px 16px; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item::before { content: none; }
  .news-row, .exh-row { flex-direction: column; }
  .nr-img, .er-img { width: 100%; height: 170px; }
  .art-detail { grid-template-columns: 1fr; }
  .filter-search { margin-left: 0; width: 100%; }
  .filter-search input { flex: 1; min-width: 0; }
}

@media (max-width: 420px) {
  .topbar .container { height: auto; padding: 4px 0; flex-wrap: wrap; }
  .topbar .tb-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; line-height: 1.8; }
  .topbar .tb-right a + a { margin-left: 8px; }
  .brand { gap: 10px; }
  .brand-text h1 { font-size: 18px; letter-spacing: 1px; white-space: normal; }
  .brand-en { font-size: 8px; letter-spacing: 1px; }
  .news-top-item { gap: 10px; }
  .news-top-item > div { min-width: 0; }
  .news-top-item .img { width: 140px; height: 92px; }
  .lecture-main { flex-wrap: wrap; }
  .lecture-main .lecture-img { width: 100%; height: 150px; }
  .lecture-main h3 a { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .form-table, .form-table tbody, .form-table tr, .form-table td { display: block; width: 100%; }
  .form-table td { padding: 6px 0; }
  .form-table .label { width: auto; text-align: left; }
  .captcha-box { flex-wrap: wrap; }
  .pagination { flex-wrap: wrap; }
}

/* ---------- 组织架构 · 引导按钮 ---------- */
.btn-inline {
  display: inline-block; padding: 7px 18px; font-size: 13px;
  border: 1px solid var(--red); color: var(--red); border-radius: 3px;
  background: transparent; font-family: var(--serif); letter-spacing: 1px;
}
.btn-inline:hover { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- 组织架构 · 领导分组 ---------- */
.leader-group h3 small { font-size: 11px; color: var(--gray); font-weight: normal; letter-spacing: 1px; margin-left: 8px; }
.celebrity-card .bio {
  margin-top: 8px; font-size: 12px; color: var(--ink-soft); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.celebrity-card .avatar .av-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-deep), var(--gold-light));
  color: var(--red); font-family: var(--serif); font-size: 34px;
}

/* ---------- 组织架构 · 架构图 ---------- */
.org-chart { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 22px 16px; overflow-x: auto; }
.chart-col { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; max-width: 640px; margin: 0 auto; }
.chart-node {
  padding: 10px 22px; text-align: center; border-radius: 6px; font-family: var(--serif);
  font-size: 15px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-dark); line-height: 1.5; box-shadow: var(--shadow-sm);
}
.chart-node em { font-style: normal; display: block; font-size: 11px; color: var(--gray); font-family: var(--sans); }
.chart-node.top { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; border: none; }
.chart-node.top em { color: #f3d9a8; }
.chart-node.mid { border-color: var(--gold); background: linear-gradient(135deg, #fff, var(--cream-deep)); }
.chart-node.leaf { font-size: 13px; padding: 8px 12px; background: var(--white); }
.chart-node.leaf em { font-size: 10px; }
.chart-vline { width: 2px; height: 22px; background: var(--line-dark); }
.chart-hline { width: 2px; height: 18px; background: var(--line-dark); position: relative; }
.chart-hline::after {
  content: ''; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 80%; height: 2px; background: var(--line-dark);
}
.chart-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; }
.chart-row .chart-node { box-shadow: none; }

/* ---------- 中心章程 ---------- */
.charter-box { max-width: 880px; margin: 0 auto; }
.charter-head { text-align: center; padding: 30px 20px 22px; border-bottom: 3px double var(--line-dark); }
.ch-logo {
  width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--red-light), var(--red) 55%, var(--red-dark));
  color: var(--gold-light); font-family: var(--serif); font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(122, 31, 27, .35);
}
.charter-head h3 { font-family: var(--serif); font-size: 26px; letter-spacing: 6px; color: var(--ink); }
.charter-head p { font-size: 12px; color: var(--gray); letter-spacing: 2px; margin-top: 6px; }
.charter-head .ch-ver { font-size: 12.5px; color: var(--gold-dark); margin-top: 10px; letter-spacing: 1px; }
.ch-toc {
  margin: 22px 0 26px; padding: 18px 24px; background: var(--cream);
  border: 1px solid var(--line); border-radius: 8px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 18px;
}
.ch-toc-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 16px; color: var(--red); letter-spacing: 8px; text-align: center; padding-bottom: 6px; border-bottom: 1px dashed var(--line-dark); }
.ch-toc a { font-size: 13px; color: var(--ink-soft); padding: 4px 6px; border-radius: 4px; }
.ch-toc a:hover { color: var(--red); background: var(--cream-deep); }
.ch-toc .toc-no { color: var(--gold-dark); margin-right: 6px; font-family: var(--serif); }
.ch-section { margin-bottom: 20px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; }
.ch-section h4 { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 19px; color: var(--red); padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.ch-section .ch-no { font-size: 14px; color: var(--gold-dark); letter-spacing: 1px; }
.ch-content p { text-indent: 2em; color: var(--ink-soft); line-height: 2; margin-bottom: 8px; font-size: 14px; }
.charter-foot { text-align: center; color: var(--gray); font-size: 13px; padding: 18px 0 6px; line-height: 2; }

@media (max-width: 768px) {
  .chart-row { grid-template-columns: repeat(2, 1fr); }
  .chart-col { min-width: 0; }
  .ch-toc { grid-template-columns: repeat(2, 1fr); }
  .charter-head h3 { font-size: 20px; letter-spacing: 3px; }
  .celebrity-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 验证码 ---------- */
.captcha-box { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.captcha-box input[type="text"] { width: 96px; padding: 7px 10px; border: 1px solid var(--line-dark); border-radius: 4px; font-size: 15px; letter-spacing: 3px; text-transform: uppercase; background: var(--white); }
.captcha-img { width: 120px; height: 42px; border: 1px solid var(--line-dark); border-radius: 4px; cursor: pointer; }
.captcha-refresh { font-size: 12.5px; color: var(--red); white-space: nowrap; }
.captcha-refresh:hover { text-decoration: underline; }

/* ---------- 上传提示与预览 ---------- */
.upload-hint { font-size: 12px; color: var(--gray); margin-top: 6px; line-height: 1.7; }
input[type="file"] { font-size: 13px; color: var(--ink-soft); }
.upload-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.upload-previews .upv-item { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }
.upload-previews .upv-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 艺术名家详情页 ---------- */
.artist-detail { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.ad-head { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.ad-avatar {
  width: 150px; height: 150px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fdf8ee, var(--cream-deep));
}
.ad-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-info { flex: 1; min-width: 0; }
.ad-name { font-family: var(--serif); font-size: 26px; color: var(--ink); margin: 0 0 6px; }
.ad-title { color: var(--gold-dark); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.ad-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ad-tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12px; letter-spacing: 2px;
}
.ad-view { font-size: 12px; color: var(--gray); }
.ad-bio { font-size: 13px; line-height: 1.9; color: var(--ink-soft); margin: 0; }
.ad-section { margin-top: 26px; }
.ad-sec-title {
  font-family: var(--serif); font-size: 18px; color: var(--ink);
  padding-left: 12px; border-left: 4px solid var(--red); margin: 0 0 14px; line-height: 1.4;
}
.ad-detail { font-size: 14px; line-height: 2.05; color: var(--ink-soft); text-align: justify; }
.ad-detail p { margin: 0 0 10px; }

/* 作品画廊 */
.aw-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aw-item { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--cream); transition: box-shadow .3s, transform .3s; }
.aw-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.aw-item .aw-link { display: block; cursor: zoom-in; }
.aw-item img { width: 100%; height: 190px; object-fit: cover; display: block; }
.aw-item figcaption { text-align: center; font-size: 12px; color: var(--gold-dark); padding: 8px 0; letter-spacing: 2px; }

/* 鉴定案例卡片（详情页） */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-card { margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--cream); transition: box-shadow .3s, transform .3s; display: flex; flex-direction: column; min-width: 0; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case-card .aw-link { display: block; cursor: zoom-in; }
.case-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.case-card figcaption { padding: 14px 16px 16px; }
.case-card .case-title { font-family: var(--serif); font-size: 15.5px; color: var(--ink); letter-spacing: 1px; margin-bottom: 8px; }
.case-card .case-desc { font-size: 13px; line-height: 1.85; color: var(--ink-soft); text-align: justify; overflow-wrap: break-word; }
.case-card:has(.aw-link) .case-title { margin-top: 4px; }

/* 相关名家 */
.rel-section { margin-top: 28px; }
.rel-section .artist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.back-bar { margin-top: 26px; }

/* 作品放大灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lb-mask { position: absolute; inset: 0; background: rgba(20, 14, 8, 0.86); }
.lb-body { position: relative; max-width: 88vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 86vw; max-height: 76vh; border: 6px solid #f5efe2; border-radius: 4px; background: #f5efe2; box-shadow: 0 18px 60px rgba(0,0,0,0.5); }
.lb-cap { margin-top: 12px; color: #f0e6ce; font-size: 14px; letter-spacing: 2px; }
.lb-close {
  position: absolute; top: -18px; right: -18px; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--red); color: #fff; font-size: 20px; line-height: 1; cursor: pointer;
}
.lb-close:hover { background: #7d1f1a; }

@media (max-width: 900px) {
  .ad-head { flex-direction: column; align-items: center; text-align: center; }
  .ad-tags { justify-content: center; }
  .aw-gallery { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-section .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 证书展示 */
.cert-showcase { margin-top: 22px; }
.cert-showcase .cert-title {
  font-family: var(--serif); font-size: 17px; color: var(--ink);
  letter-spacing: 2px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.cert-showcase .cert-title::before {
  content: ''; display: inline-block; width: 4px; height: 18px;
  background: var(--red); border-radius: 2px;
}
.cert-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.cert-grid figure { margin: 0; }
.cert-grid a {
  display: block; border: 1px solid #e8e0d0; border-radius: 4px;
  overflow: hidden; background: var(--white);
  box-shadow: 0 2px 8px rgba(60,40,20,.06); transition: box-shadow .25s, transform .25s;
}
.cert-grid a:hover { box-shadow: 0 6px 20px rgba(60,40,20,.12); transform: translateY(-2px); }
.cert-grid img {
  display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain;
  background: #faf7f0; padding: 6px;
}
.cert-grid figcaption {
  text-align: center; font-size: 13px; color: var(--gray);
  padding: 8px 6px 10px; letter-spacing: 1px;
}
@media (max-width: 560px) {
  .aw-gallery { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .cert-grid { grid-template-columns: minmax(0, 1fr); }
}
