* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "SimSun", sans-serif;
  font-size: 14px;
  color: #333;
  background: #f5e9c8;
}
a { text-decoration: none; color: #333; }
a:hover { color: #a01c14; }
ul { list-style: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 12px; }
img { max-width: 100%; }

/* ========== 顶部金色装饰条 ========== */
.gold-bar {
  height: 14px;
  background: linear-gradient(180deg,#8a6a1f 0%, #d9b64c 30%, #f3df9a 50%, #d9b64c 70%, #8a6a1f 100%);
}
.gold-bar.thin { height: 6px; }

/* ========== 头部 ========== */
header {
  background:
    radial-gradient(ellipse at 20% 120%, rgba(120,10,8,.9) 0%, transparent 55%),
    radial-gradient(ellipse at 80% -20%, rgba(150,20,12,.8) 0%, transparent 50%),
    linear-gradient(180deg, #6e0d0a 0%, #8f1512 45%, #a01c14 100%);
  position: relative;
  overflow: hidden;
}
header::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 30%, rgba(255,215,120,.12) 0, transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(255,215,120,.10) 0, transparent 28%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(255,220,140,.05) 46px 48px);
  pointer-events: none;
}
.header-top { display: flex; align-items: center; padding: 18px 0 12px; position: relative; }
.logo { display: flex; align-items: center; }
.logo-icon {
  width: 58px; height: 58px;
  border: 2px solid #f0d78a;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #f0d78a; font-weight: bold;
  font-family: "STKaiti","KaiTi",serif;
  margin-right: 12px;
  background: rgba(0,0,0,.15);
}
.logo-text h1 {
  font-family: "STXingkai","STKaiti","KaiTi",serif;
  color: #f6df92;
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: normal;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.logo-text p {
  font-family: Georgia, serif;
  color: #e8c66a; font-size: 13px; letter-spacing: 2px; margin-top: 2px;
}
.top-right { margin-left: auto; text-align: right; }
.top-notice {
  color: #f3dd9a; font-size: 12px; margin-bottom: 8px; letter-spacing: 1px;
}
.top-notice a { color: #f3dd9a; margin: 0 4px; }
.search-box { display: flex; }
.search-box input {
  width: 180px; height: 28px; border: none; padding: 0 8px;
  font-size: 12px; outline: none;
}
.search-box button {
  height: 28px; padding: 0 18px; border: none; cursor: pointer;
  background: linear-gradient(180deg,#f5e3a4,#d9b64c);
  color: #6e0d0a; font-size: 13px; font-weight: bold;
  font-family: "KaiTi","STKaiti",serif;
}

/* ========== 导航 ========== */
nav {
  background: linear-gradient(180deg,#5c0a08,#7d100d);
  border-top: 1px solid rgba(240,215,138,.35);
  position: relative;
}
nav ul { display: flex; }
nav li a {
  display: block; padding: 13px 34px;
  color: #f3dd9a; font-size: 16px;
  font-family: "KaiTi","STKaiti",serif;
  letter-spacing: 2px;
  border-right: 1px solid rgba(240,215,138,.18);
}
nav li a.active, nav li a:hover {
  background: linear-gradient(180deg,#a01c14,#8f1512);
  color: #fff;
}

/* ========== 轮播 ========== */
.banner {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,190,120,.25) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 80%, rgba(200,40,20,.5) 0%, transparent 45%),
    linear-gradient(115deg, #7a0e0b 0%, #a51a12 35%, #c22c14 55%, #8f1210 80%, #6e0d0a 100%);
  position: relative; overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 400px 200px at 30% 30%, rgba(255,160,90,.18), transparent 60%),
    radial-gradient(ellipse 500px 260px at 70% 70%, rgba(255,120,60,.15), transparent 60%);
  filter: blur(2px);
}
.banner-title {
  text-align: center; color: #f6df92; font-family: "STXingkai","KaiTi",serif;
  font-size: 26px; letter-spacing: 8px; padding: 22px 0 6px; position: relative;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.banner-title span { color: #ffd86a; }
.slide {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 8px 0 30px; position: relative;
}
.portrait {
  width: 210px; height: 150px; flex-shrink: 0;
  border: 4px solid #e8cf8e;
  box-shadow: 0 4px 14px rgba(0,0,0,.55), inset 0 0 0 1px #9c7b2e;
  background: #3a2415; position: relative; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait img[src*="plaque-wuben"], .portrait img[src*="agarwood-guardian"] { object-fit: contain; background: #f7f0dc; border: 2px solid #c9b06a; }
.portrait .p-name {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(0deg, rgba(90,10,8,.88), transparent);
  color: #f6df92; font-family: "KaiTi",serif; font-size: 16px;
  text-align: center; padding: 16px 0 5px; letter-spacing: 3px;
}
.portrait.small { width: 180px; height: 132px; opacity: .9; }
.portrait-placeholder { background: linear-gradient(135deg, #68402d, #9d7440 52%, #4c3025); }
.banner-dots { text-align: center; padding-bottom: 14px; position: relative; }
.banner-dots span {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,235,180,.45); margin: 0 4px; cursor: pointer;
}
.banner-dots span.on { background: #ffe9ad; }

/* ========== 主体区域 ========== */
.page-body {
  background:
    radial-gradient(ellipse 600px 400px at 8% 60%, rgba(200,150,40,.25), transparent 60%),
    radial-gradient(ellipse 600px 400px at 92% 40%, rgba(200,150,40,.22), transparent 60%),
    linear-gradient(180deg, #fdf6e0 0%, #f3e3b3 30%, #ecd88f 100%);
  padding: 18px 0 30px;
}
.main-cols { display: flex; gap: 14px; }
.col-left { width: 62%; }
.col-right { width: 38%; }
.col-full { width: 100%; }

@media (min-width: 769px) and (max-width: 960px) {
  .main-cols { flex-direction: column; }
  .col-left, .col-right { width: 100%; }
}

.sec-head {
  display: flex; align-items: center; margin-bottom: 8px;
  border-bottom: 2px solid #a01c14; padding-bottom: 4px;
}
.sec-head .tabs { display: flex; }
.sec-head .tab {
  padding: 5px 16px; font-size: 13px; cursor: pointer;
  background: #d9c07a; color: #6e4a12; margin-right: 4px;
  border-radius: 2px 2px 0 0; font-family: "KaiTi",serif; letter-spacing: 1px;
}
.sec-head .tab.on { background: #a01c14; color: #fff; }
.sec-head h3 {
  font-size: 15px; color: #a01c14; font-family: "KaiTi",serif;
  letter-spacing: 2px; padding: 4px 0 4px 10px; font-weight: bold;
}
.sec-head .more { margin-left: auto; color: #a01c14; font-size: 12px; }

.news-focus { display: flex; gap: 12px; margin-bottom: 10px; }
.news-focus .pic {
  width: 200px; height: 124px; flex-shrink: 0;
  border: 1px solid #c9b06a; background: #7a5c28; overflow: hidden;
}
.news-focus .pic img { width: 100%; height: 100%; object-fit: cover; }
.news-focus h4 { font-size: 14px; color: #8f1512; line-height: 1.5; margin-bottom: 6px; }
.news-focus p { color: #666; font-size: 14px; line-height: 1.8; text-align: justify; }
.news-focus > div { min-width: 0; }
.news-focus p img { display: none; }

.news-list li {
  display: flex; align-items: center; padding: 7px 2px;
  border-bottom: 1px dotted #c9b06a;
}
.news-list li::before {
  content: "▪"; color: #a01c14; margin-right: 8px; font-size: 12px;
}
.news-list li a { font-size: 14px; color: #444; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-list li a:hover { color: #a01c14; }
.news-list li .date { color: #999; font-size: 13px; margin-left: 10px; }

.shop-links { margin-top: 16px; }
.shop-links .inner { display: flex; gap: 12px; }
.shop-links .pic {
  width: 200px; height: 100px; flex-shrink: 0;
  border: 1px solid #c9b06a; overflow: hidden; background: #7a5c28;
}
.shop-links .pic img { width: 100%; height: 100%; object-fit: cover; }
.shop-links ul { padding-top: 4px; }
.shop-links li { padding: 5px 0; }
.shop-links li a { font-size: 14px; color: #555; }
.shop-links li a::before { content: "· "; color: #a01c14; font-weight: bold; }

.intro-box { background: #fffdf4; border: 1px solid #d8c184; padding: 10px 12px; }
.intro-box .top { display: flex; gap: 10px; margin-bottom: 8px; }
.intro-box .pic { width: 150px; height: 108px; flex-shrink: 0; border: 1px solid #c9b06a; overflow: hidden; }
.intro-box .pic img { width: 100%; height: 100%; object-fit: cover; }
.intro-box p { color: #666; font-size: 14px; line-height: 1.9; text-align: justify; }
.intro-box .more-link { text-align: right; margin-top: 4px; }
.intro-box .more-link a { color: #a01c14; }

.video-box { margin-top: 14px; }
.video-main { display: flex; gap: 10px; }
.video-cover {
  width: 250px; height: 158px; flex-shrink: 0; position: relative;
  border: 1px solid #c9b06a; overflow: hidden;
  background: linear-gradient(135deg,#4a3316,#7a5c28 60%,#4a3316);
}
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-cover .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(160,28,20,.85); border: 2px solid #f3dd9a;
}
.video-cover .play::after {
  content: ""; position: absolute; left: 18px; top: 13px;
  border-left: 14px solid #f3dd9a;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.video-cover .v-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff; padding: 16px 8px 6px; font-size: 12px;
}
.video-list { flex: 1; }
.video-list li { display: flex; gap: 8px; padding: 4px 0; align-items: center; }
.video-list .thumb {
  width: 84px; height: 50px; flex-shrink: 0; position: relative;
  background: linear-gradient(135deg,#6e5426,#9c7b3a);
  border: 1px solid #c9b06a;
}
.video-list .thumb::after {
  content: "▶"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); color: rgba(255,255,255,.85); font-size: 12px;
}
.video-list li a { font-size: 13px; color: #555; line-height: 1.5; }
.video-list li a:hover { color: #a01c14; }

.ad-banner {
  margin-top: 14px; height: 92px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,220,120,.35), transparent 50%),
    linear-gradient(100deg, #0e3f66 0%, #14507e 45%, #1c6aa0 100%);
  display: flex; align-items: center; padding: 0 20px;
}
.ad-banner .b1 { color: #ffe9ad; font-size: 17px; font-family: "KaiTi",serif; letter-spacing: 2px; }
.ad-banner .b1 span { color: #ffe082; font-size: 24px; font-family: "STXingkai","KaiTi",serif; }
.ad-banner .b2 { color: #cfe6ff; font-size: 13px; margin-left: 16px; line-height: 1.8; }

/* ========== 内页通用 ========== */
.crumb { color: #8f1512; font-size: 13px; padding: 6px 0 10px; letter-spacing: 1px; }
.crumb a { color: #8f1512; }
.article { background: #fffdf4; border: 1px solid #d8c184; padding: 16px 18px; line-height: 2; }
.article h2 { font-size: 20px; color: #8f1512; text-align: center; font-family: "KaiTi",serif; margin-bottom: 6px; }
.article .meta { text-align: center; color: #999; font-size: 12px; margin-bottom: 14px; border-bottom: 1px dotted #c9b06a; padding-bottom: 10px; }
.article p { color: #555; text-align: justify; margin-bottom: 12px; }
.article img.full { display: block; margin: 10px auto; max-width: 100%; border: 1px solid #c9b06a; }
.article .article-body { color: #555; text-align: justify; }
.article .article-body img { display: block; margin: 10px auto; max-width: 100%; height: auto; border: 1px solid #c9b06a; }
.article .article-body section { display: block; margin-bottom: 10px; line-height: 2; text-align: justify; }
.wx-article { font-size: 14px; }
.sub-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sub-nav a {
  padding: 6px 16px; background: #d9c07a; color: #6e4a12;
  border-radius: 2px; font-family: "KaiTi",serif; font-size: 14px; letter-spacing: 1px;
}
.sub-nav a.on, .sub-nav a:hover { background: #a01c14; color: #fff; }

.card-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.card {
  width: calc(50% - 7px); background: #fffdf4; border: 1px solid #d8c184;
  padding: 12px; display: flex; gap: 12px;
}
.card .pic { width: 140px; height: 100px; flex-shrink: 0; border: 1px solid #c9b06a; overflow: hidden; background:#7a5c28; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .pic img[src*="plaque-wuben"], .card .pic img[src*="agarwood-guardian"], .card .pic img[src*="herbal-books"] { object-fit: contain; background: #f7f0dc; border: 1px solid #c9b06a; }
.card h4 { font-size: 15px; color: #8f1512; margin-bottom: 6px; font-family: "KaiTi",serif; }
.card p { color: #666; line-height: 1.8; }

.contact-box { display: flex; gap: 18px; }
.contact-info { width: 50%; background: #fffdf4; border: 1px solid #d8c184; padding: 16px 18px; line-height: 2.2; }
.contact-info h4 { color: #8f1512; font-size: 15px; margin-bottom: 8px; font-family: "KaiTi",serif; }
.contact-form { width: 50%; background: #fffdf4; border: 1px solid #d8c184; padding: 16px 18px; }
.contact-form label { display: block; margin: 8px 0 4px; color: #6e4a12; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 7px 8px; border: 1px solid #d8c184; font-size: 13px; font-family: inherit; outline: none;
}
.contact-form button {
  margin-top: 12px; padding: 8px 24px; border: none; cursor: pointer;
  background: linear-gradient(180deg,#a01c14,#8f1512); color: #f3dd9a; font-size: 14px; font-family: "KaiTi",serif;
}

.relics-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.relic {
  width: calc(33.33% - 8px); height: 200px; position: relative; overflow: hidden;
  border: 1px solid #c9b06a; background: #6e5426;
}
.relic.wide { width: calc(66.66% - 4px); height: 200px; }
.relic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.relic img[src*="plaque-wuben"], .relic img[src*="agarwood-guardian"], .relic img[src*="herbal-books"] { object-fit: contain; background: #f7f0dc; padding: 4px; }
.relic-placeholder { background: linear-gradient(135deg, #68402d, #9d7440 52%, #4c3025); }
.image-pending { background: linear-gradient(135deg, #68402d, #9d7440 52%, #4c3025); }
.relic .cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(0deg, rgba(80,12,8,.82), transparent);
  color: #f6df92; text-align: center; padding: 22px 0 6px;
  font-family: "KaiTi",serif; font-size: 16px; letter-spacing: 2px;
}
.relic .cap small { display: block; font-size: 12px; color: #f0d78a; margin-top: 2px; letter-spacing: 0; }

/* ========== 页脚 ========== */
footer { position: relative; margin-top: 0; }
.foot-deco { height: 34px; background: linear-gradient(180deg,#8a6a1f,#d9b64c 50%,#8a6a1f); }
.foot-main { background: linear-gradient(180deg,#fdf3d3,#f3e3b3); padding: 20px 0 16px; }
.foot-cols { display: flex; }
.foot-col { width: 17%; padding-right: 10px; }
.foot-col h5 { font-size: 14px; color: #8f1512; font-family: "KaiTi",serif; letter-spacing: 2px; margin-bottom: 8px; font-weight: bold; }
.foot-col li { padding: 3px 0; }
.foot-col li a { color: #777; font-size: 12px; }
.foot-col li a:hover { color: #a01c14; }
.foot-qr { width: 15%; text-align: center; }
.qr {
  width: 86px; height: 86px; margin: 0 auto 6px;
  background: conic-gradient(#a01c14 0 25%, #fff 0 50%, #a01c14 0 75%, #fff 0) 0 0/28.6px 28.6px, #fff;
  border: 4px solid #fff; outline: 1px solid #c9b06a; position: relative;
}
.qr::after {
  content: "开元博物馆"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: #fff; color: #a01c14; font-size: 9px; padding: 2px 3px;
  font-family: "KaiTi",serif; border: 1px solid #a01c14;
}
.share-icons { margin-top: 6px; }
.share-icons span { display: inline-block; width: 16px; height: 16px; border-radius: 2px; margin: 0 2px; vertical-align: middle; }
.foot-bottom { background: #8f1512; color: #e8c66a; text-align: center; padding: 10px 0; font-size: 12px; line-height: 1.9; }
.foot-bottom a { color: #e8c66a; }
.foot-bottom .admin-link { color: #ffd86a; border: 1px solid #e8c66a; padding: 1px 8px; border-radius: 2px; margin-left: 6px; }

.back-top {
  position: fixed; right: 20px; bottom: 60px; width: 40px; height: 40px;
  background: #a01c14; color: #f3dd9a; text-align: center; line-height: 40px;
  cursor: pointer; border: 1px solid #f3dd9a; display: none; z-index: 99;
}

/* ========== 管理后台 ========== */
.admin-wrap { background: #f3e3b3; min-height: 100vh; padding: 20px 0 40px; }
.admin-panel { width: 920px; margin: 0 auto; background: #fffdf4; border: 1px solid #d8c184; padding: 20px; }
.admin-title { font-size: 22px; color: #8f1512; font-family: "KaiTi",serif; letter-spacing: 2px; border-bottom: 2px solid #a01c14; padding-bottom: 8px; margin-bottom: 14px; }
.admin-login { width: 360px; margin: 80px auto; background: #fffdf4; border: 1px solid #d8c184; padding: 26px; }
.admin-login h2 { color: #8f1512; font-family: "KaiTi",serif; text-align: center; margin-bottom: 18px; }
.admin-login label { display: block; margin: 10px 0 4px; color: #6e4a12; }
.admin-login input { width: 100%; padding: 8px; border: 1px solid #d8c184; font-size: 14px; }
.admin-login button { width: 100%; margin-top: 16px; padding: 9px; border: none; cursor: pointer; background: linear-gradient(180deg,#a01c14,#8f1512); color: #f3dd9a; font-size: 15px; font-family: "KaiTi",serif; }
.admin-tabs { display: flex; gap: 8px; border-bottom: 2px solid #a01c14; margin-bottom: 16px; }
.admin-tabs button {
  padding: 8px 22px; border: none; cursor: pointer; background: #d9c07a; color: #6e4a12;
  font-family: "KaiTi",serif; font-size: 15px; letter-spacing: 1px;
}
.admin-tabs button.on { background: #a01c14; color: #fff; }
.admin-form { background: #fdf6e0; border: 1px solid #e0cf9a; padding: 16px; margin-bottom: 18px; }
.admin-form .row { display: flex; gap: 16px; }
.admin-form .row > div { flex: 1; }
.admin-form label { display: block; margin: 8px 0 4px; color: #6e4a12; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 8px; border: 1px solid #d8c184; font-size: 13px; font-family: inherit; outline: none;
}
.admin-form textarea { min-height: 120px; resize: vertical; }
.admin-form .actions { margin-top: 12px; }
.admin-form .btn {
  padding: 8px 22px; border: none; cursor: pointer; font-size: 14px; font-family: "KaiTi",serif;
  background: linear-gradient(180deg,#a01c14,#8f1512); color: #f3dd9a; margin-right: 8px;
}
.admin-form .btn.gray { background: #c9b06a; color: #6e4a12; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { border: 1px solid #e0cf9a; padding: 8px 10px; text-align: left; font-size: 13px; }
.admin-table th { background: #f0e0aa; color: #6e4a12; }
.admin-table td a { color: #a01c14; }
.admin-table .mini { padding: 3px 10px; font-size: 12px; border: none; cursor: pointer; border-radius: 2px; }
.admin-table .mini.edit { background: #e0cf9a; color: #6e4a12; }
.admin-table .mini.del { background: #a01c14; color: #f3dd9a; }
.admin-img-prev { max-width: 160px; max-height: 100px; border: 1px solid #c9b06a; margin-top: 6px; display: block; }
.wx-import-title { font-size: 15px; font-weight: bold; color: #8f1512; margin-bottom: 6px; }
.wx-import .admin-hint { margin-top: 10px; }
.admin-hint { color: #999; font-size: 12px; margin-top: 6px; }
.admin-actions-bar { margin-top: 14px; }
.admin-actions-bar a { color: #a01c14; border: 1px solid #a01c14; padding: 5px 14px; margin-right: 10px; display: inline-block; }

/* ========== 搜索页 ========== */
.search-bar { display: flex; gap: 8px; margin-bottom: 14px; }
.search-bar input { flex: 1; height: 34px; border: 1px solid #d8c184; padding: 0 10px; font-size: 14px; outline: none; }
.search-bar button { padding: 0 22px; border: none; cursor: pointer; background: linear-gradient(180deg,#a01c14,#8f1512); color: #f3dd9a; font-family: "KaiTi",serif; font-size: 15px; }
.search-meta { color: #8f1512; margin: 6px 0 12px; font-size: 13px; }

/* ========== 移动端适配 ========== */
.nav-toggle { display: none; }
@media (max-width: 768px) {
  .wrap { padding: 0 10px; }

  /* 头部 */
  .header-top { flex-wrap: wrap; align-items: center; }
  .nav-toggle {
    display: block; order: -1; margin-right: 10px;
    background: transparent; border: 1px solid #f3dd9a; color: #f3dd9a;
    font-size: 22px; line-height: 1; padding: 4px 9px; cursor: pointer; border-radius: 3px;
  }
  .logo { flex: 1; }
  .logo-icon { width: 46px; height: 46px; font-size: 26px; }
  .logo-text h1 { font-size: 24px; letter-spacing: 2px; }
  .top-right { width: 100%; margin-left: 0; margin-top: 8px; }
  .top-notice { margin-bottom: 6px; }
  .search-box { width: 100%; display: flex; }
  .search-box input { width: 100%; flex: 1; }

  /* 导航折叠为下拉菜单 */
  nav ul { display: none; flex-direction: column; }
  nav ul.open { display: flex; }
  nav li { width: 100%; }
  nav li a { padding: 12px 16px; border-right: none; border-bottom: 1px solid rgba(240,215,138,.18); }

  /* 主布局转单列 */
  .main-cols { flex-direction: column; }
  .col-left, .col-right { width: 100%; }
  .news-focus { flex-direction: column; }
  .news-focus .pic { width: 100%; height: 180px; }
  .intro-box .top, .video-main, .contact-box, .shop-links .inner { flex-direction: column; }
  .intro-box .pic, .video-cover, .shop-links .pic { width: 100%; height: auto; }
  .video-cover { height: 180px; }

  /* 卡片 / 文物网格转单列 */
  .card-grid { flex-direction: column; }
  .card { width: 100% !important; }
  .relics-grid { flex-direction: column; }
  .relic, .relic.wide { width: 100% !important; height: 200px; }

  /* 页脚 */
  .foot-cols { flex-wrap: wrap; }
  .foot-col { width: 50% !important; }
  .foot-qr { width: 100% !important; margin-top: 10px; }

  /* banner 缩放 */
  .banner-title { font-size: 18px; letter-spacing: 3px; padding: 16px 0 4px; }
  .slide { gap: 10px; flex-wrap: wrap; padding-bottom: 18px; }
  .portrait { width: 140px; height: 100px; }
  .portrait.small { width: 120px; height: 88px; }

  /* 联系表单 */
  .contact-info, .contact-form { width: 100%; }
  .contact-box { flex-direction: column; }
}
@media (max-width: 480px) {
  .foot-col { width: 100% !important; }
  .logo-text h1 { font-size: 20px; }
  .portrait { width: 44%; height: 92px; }
  .portrait.small { width: 40%; height: 80px; }
}
