/* 保定自然博物馆 - 纯 CSS3 样式 */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #4a4a4a;
  background: #f0ede8;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #d46236;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

svg {
  display: block;
}

/* ========== 通用图标 ========== */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: #217959;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.section-icon-warn {
  background: #d46236;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 500;
  color: #333;
}

.section-head .more-link {
  margin-left: auto;
  font-size: 14px;
  color: #d46236;
}

.section-head .more-link:hover {
  text-decoration: underline;
}

.section-head-gap {
  margin-top: 36px;
}

.section-head-center {
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.collections-head {
  position: relative;
}

.section-sub {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #999;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -12px;
}

/* ========== 顶部导航 ========== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  position: relative;
}

.logo-box {
  flex-shrink: 0;
}

.logo-box img {
  width: 200px;
  height: auto;
}

/* 移动端汉堡菜单（checkbox 纯 CSS，无 JS） */
.nav-drawer {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.nav-checkbox {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: #f5f5f5;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #217959;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-checkbox:checked + .nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-checkbox:checked + .nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-checkbox:checked + .nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-bar {
  display: flex;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: #333;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: #e8f5ef;
  color: #217959;
}

.nav-menu > li > a.active .icon {
  stroke: #217959;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 100;
  overflow: hidden;
}

.nav-menu > li:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu li a {
  display: block;
  padding: 10px 18px;
  color: #555;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.nav-submenu li:last-child a {
  border-bottom: none;
}

.nav-submenu li a:hover {
  background: #f0f7f4;
  color: #217959;
}

/* ========== 轮播 ========== */
.banner {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 360px;
  max-height: 560px;
  overflow: hidden;
  background: #1a1a1a;
}

.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: bannerFade 20s infinite;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide:nth-child(1) { animation-delay: 0s; }
.banner-slide:nth-child(2) { animation-delay: 5s; }
.banner-slide:nth-child(3) { animation-delay: 10s; }
.banner-slide:nth-child(4) { animation-delay: 15s; }

@keyframes bannerFade {
  0%, 20% { opacity: 1; z-index: 1; }
  25%, 100% { opacity: 0; z-index: 0; }
}

.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.45));
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.banner-overlay h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.banner-overlay p {
  font-size: 16px;
  margin-top: 12px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots span {
  width: 10px;
  height: 10px;
  border: 1px solid #fff;
  border-radius: 50%;
  opacity: 0.5;
  background: transparent;
}

.banner-dots span:nth-child(1) { animation: dotActive 20s infinite 0s; }
.banner-dots span:nth-child(2) { animation: dotActive 20s infinite 5s; }
.banner-dots span:nth-child(3) { animation: dotActive 20s infinite 10s; }
.banner-dots span:nth-child(4) { animation: dotActive 20s infinite 15s; }

@keyframes dotActive {
  0%, 20% { background: #fff; opacity: 1; }
  25%, 100% { background: transparent; opacity: 0.5; }
}

/* ========== 快捷信息条 ========== */
.quick-info {
  background: #217959;
  padding: 0;
}

.quick-info-inner {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.info-card {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}

.info-card:last-child {
  border-right: none;
}

.info-card:hover {
  background: rgba(0, 0, 0, 0.1);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.info-card-text {
  min-width: 0;
}

.info-card-text h3 {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 2px;
}

.info-card-text p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.info-card-text small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.4;
  margin-top: 2px;
}

.info-card a {
  color: #fff;
}

.info-card a:hover {
  color: #ffe600;
}

/* ========== 主内容区 ========== */
.main-content {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0 30px;
}

.content-row {
  display: flex;
  gap: 40px;
}

.content-left {
  width: 42%;
  min-width: 300px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.content-right {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 资讯列表 */
.news-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px dashed #e8e8e8;
  transition: color 0.3s;
  cursor: pointer;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li:hover {
  color: #217959;
}

.news-dot {
  width: 6px;
  height: 6px;
  background: #217959;
  border-radius: 50%;
  flex-shrink: 0;
}

.news-list .item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list .item-date {
  font-size: 13px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 公告网格 */
.announcement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.announcement-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: #f8f6f3;
  transition: background 0.3s, transform 0.3s;
}

.announcement-item:hover {
  background: #e8f5ef;
  transform: translateY(-2px);
}

.announcement-item .date-block {
  text-align: center;
  flex-shrink: 0;
  background: #217959;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 64px;
}

.announcement-item .date-day {
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.announcement-item .date-year {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 4px;
}

.announcement-item .ann-title {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcement-item .ann-desc {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 藏品精粹 ========== */
.collections {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0 50px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.collection-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.collection-item:hover img {
  transform: scale(1.08);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 121, 89, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s;
  gap: 6px;
}

.collection-item:hover .collection-overlay {
  opacity: 1;
}

.overlay-icon {
  width: 36px;
  height: 36px;
  stroke: #fff;
  margin-bottom: 4px;
}

.collection-overlay span {
  font-size: 20px;
  font-weight: 500;
}

.collection-overlay small {
  font-size: 13px;
  opacity: 0.85;
}

/* ========== 关于我们 ========== */
.about-section {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.about-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-text {
  width: 50%;
  font-size: 16px;
  line-height: 2;
  text-indent: 2em;
  color: #555;
}

.about-text .about-para-gap {
  margin-top: 16px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #217959;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 24px;
  margin-left: 2em;
  transition: background 0.3s;
}

.about-more svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.about-more:hover {
  background: #1a6247;
  color: #fff;
}

.exhibit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-left: 2em;
}

.exhibit-tags span,
.exhibit-tags a {
  padding: 5px 16px;
  border: 1px solid #217959;
  color: #217959;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.3s;
}

.exhibit-tags span:hover,
.exhibit-tags a:hover {
  background: #217959;
  color: #fff;
}

.news-list a.item-title:hover {
  color: #217959;
}

.collections-more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.content-note {
  margin-top: 16px;
  font-size: 14px;
  color: #888;
}

.content-note-center {
  text-align: center;
}

.content-img {
  width: 100%;
  border-radius: 10px;
  margin-top: 16px;
  height: 280px;
  object-fit: cover;
}

.section-gap {
  margin-top: 36px;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a5240;
  color: #fff;
  padding: 48px 0 28px;
}

.footer-inner {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-col {
  width: 28%;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-title-icon {
  width: 18px;
  height: 18px;
  stroke: #ffe600;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.2;
}

.footer-col a:hover {
  color: #ffe600;
}

.footer-center {
  width: 44%;
  text-align: center;
}

.footer-logo-text {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  justify-content: center;
  margin: 8px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: #ffe600;
  flex-shrink: 0;
}

/* ========== 内页通用 ========== */
.page-hero {
  background: linear-gradient(135deg, #217959 0%, #1a5240 100%);
  color: #fff;
  padding: 48px 4% 40px;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 3px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.75;
}

.breadcrumb a:hover {
  color: #ffe600;
}

.breadcrumb-sep {
  opacity: 0.5;
}

.page-wrap {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 60px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.page-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  padding: 20px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 88px;
}

.page-sidebar h3 {
  font-size: 14px;
  color: #999;
  padding: 0 20px 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

.page-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  color: #555;
  transition: background 0.3s, color 0.3s;
}

.page-sidebar a:hover,
.page-sidebar a.active {
  background: #e8f5ef;
  color: #217959;
}

.page-sidebar a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.page-content {
  flex: 1;
  min-width: 0;
}

.content-block {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 28px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e8f5ef;
}

.content-block h2 svg {
  width: 24px;
  height: 24px;
  stroke: #217959;
  flex-shrink: 0;
}

.content-block p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 12px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 15px;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.info-table th {
  background: #f8f6f3;
  color: #217959;
  font-weight: 500;
  width: 30%;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.tip-list {
  margin-top: 16px;
}

.tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: #555;
  border-bottom: 1px dashed #eee;
}

.tip-list li:last-child {
  border-bottom: none;
}

.tip-list li svg {
  width: 18px;
  height: 18px;
  stroke: #217959;
  flex-shrink: 0;
  margin-top: 3px;
}

.traffic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.traffic-card {
  background: #f8f6f3;
  border-radius: 10px;
  padding: 20px;
}

.traffic-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #217959;
  margin-bottom: 10px;
}

.traffic-card h3 svg {
  width: 20px;
  height: 20px;
  stroke: #217959;
}

.traffic-card p {
  font-size: 14px;
  line-height: 1.7;
}

.exhibit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.exhibit-card {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f6f3;
}

.exhibit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.exhibit-card-body {
  padding: 18px;
}

.exhibit-card-body h3 {
  font-size: 17px;
  color: #333;
  margin-bottom: 8px;
}

.exhibit-card-body p {
  font-size: 14px;
  line-height: 1.7;
}

.collection-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.collection-detail-item {
  display: flex;
  gap: 16px;
  background: #f8f6f3;
  border-radius: 10px;
  overflow: hidden;
}

.collection-detail-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  flex-shrink: 0;
}

.collection-detail-text {
  padding: 16px 16px 16px 0;
}

.collection-detail-text h3 {
  font-size: 17px;
  color: #217959;
  margin-bottom: 8px;
}

.collection-detail-text p {
  font-size: 14px;
  line-height: 1.7;
}

.org-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.org-item {
  background: #f8f6f3;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.org-item svg {
  width: 32px;
  height: 32px;
  stroke: #217959;
  margin: 0 auto 10px;
}

.org-item h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}

.org-item p {
  font-size: 13px;
  color: #888;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.contact-card {
  background: #f8f6f3;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.contact-card svg {
  width: 36px;
  height: 36px;
  stroke: #217959;
  margin: 0 auto 12px;
}

.contact-card h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: #217959;
  font-weight: 500;
}

.article-full {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.article-full h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #eee;
}

.article-full p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 10px;
}

.virtual-banner {
  background: linear-gradient(135deg, #bd755a, #d46236);
  border-radius: 10px;
  padding: 32px;
  color: #fff;
  text-align: center;
  margin-top: 16px;
}

.virtual-banner h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.virtual-banner p {
  font-size: 14px;
  opacity: 0.9;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1100px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu > li > a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .nav-menu > li > a .icon {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  .content-row {
    flex-direction: column;
    gap: 24px;
  }

  .content-left {
    width: 100%;
    min-width: 0;
  }

  .about-body {
    flex-direction: column;
    gap: 24px;
  }

  .about-text {
    width: 100%;
  }

  .about-more {
    margin-left: 0;
  }

  .quick-info-inner {
    width: 96%;
    gap: 0;
  }

  .info-card {
    flex: 1 1 50%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 18px;
  }

  .info-card:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .info-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .main-content,
  .collections,
  .about-section {
    width: 94%;
  }

  .page-wrap {
    flex-direction: column;
    width: 94%;
  }

  .page-sidebar {
    width: 100%;
    position: static;
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    gap: 4px;
  }

  .page-sidebar h3 {
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .page-sidebar a {
    padding: 8px 14px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
  }

  .exhibit-cards,
  .collection-detail-grid,
  .traffic-grid {
    grid-template-columns: 1fr;
  }

  .org-list,
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* 平板竖屏 / 大手机 */
@media screen and (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .logo-box img {
    width: 150px;
  }

  .nav-drawer {
    position: static;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-bar {
    display: none;
  }

  .nav-checkbox:checked ~ .nav-bar {
    display: block;
  }

  .nav-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 4%;
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    min-height: 48px;
  }

  .nav-menu > li > a .icon {
    display: block;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: #f8f8f8;
    padding: 4px 0;
  }

  .nav-submenu li a {
    padding: 12px 16px 12px 40px;
    font-size: 15px;
    min-height: 44px;
  }

  .banner {
    height: 38vh;
    min-height: 220px;
    max-height: 360px;
  }

  .banner-overlay h1 {
    font-size: 22px;
    letter-spacing: 2px;
    padding: 0 16px;
  }

  .banner-overlay p {
    font-size: 13px;
    letter-spacing: 1px;
    padding: 0 20px;
  }

  .quick-info {
    padding: 14px 16px 16px;
  }

  .quick-info-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .info-card {
    flex: none;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    min-width: 0;
    padding: 14px 16px;
    border: none !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
  }

  .info-card:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  .info-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .info-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .info-card-text p {
    font-size: 15px;
  }

  .info-card-text small {
    font-size: 11px;
    word-break: break-word;
  }

  .main-content {
    padding: 28px 0 20px;
  }

  .content-left,
  .content-right {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .section-icon svg {
    width: 18px;
    height: 18px;
  }

  .section-head-gap {
    margin-top: 28px;
  }

  .news-list li {
    flex-wrap: wrap;
    gap: 4px 10px;
    padding: 14px 0;
  }

  .news-list .item-title {
    width: 100%;
    white-space: normal;
    line-height: 1.5;
  }

  .news-list .item-date {
    margin-left: 16px;
    font-size: 12px;
  }

  .announcement-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .announcement-item {
    padding: 14px;
  }

  .announcement-item .ann-title {
    white-space: normal;
  }

  .collections {
    padding: 16px 0 36px;
  }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .collection-item {
    border-radius: 8px;
    aspect-ratio: 4 / 5;
  }

  /* 触屏设备：藏品遮罩常显，无需 hover */
  .collection-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(33, 121, 89, 0.9) 0%, transparent 60%);
    justify-content: flex-end;
    padding-bottom: 16px;
  }

  .overlay-icon {
    display: none;
  }

  .collection-overlay span {
    font-size: 16px;
  }

  .collection-overlay small {
    font-size: 11px;
  }

  .about-section {
    padding: 16px 0 40px;
  }

  .about-body {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .about-text {
    font-size: 15px;
    line-height: 1.8;
    text-indent: 0;
  }

  .about-image img {
    height: 220px;
    border-radius: 8px;
  }

  .exhibit-tags {
    padding-left: 0;
    gap: 8px;
  }

  .exhibit-tags span {
    font-size: 12px;
    padding: 4px 12px;
  }

  .footer {
    padding: 36px 0 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0));
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
    align-items: center;
    text-align: center;
    width: 94%;
  }

  .footer-col,
  .footer-center {
    width: 100%;
  }

  .footer-col h3 {
    justify-content: center;
  }

  .footer-contact span {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    line-height: 1.6;
  }
}

/* 小屏手机 */
@media screen and (max-width: 480px) {
  .header-inner {
    height: 56px;
  }

  .logo-box img {
    width: 130px;
  }

  .banner {
    min-height: 200px;
  }

  .banner-overlay h1 {
    font-size: 18px;
  }

  .banner-overlay p {
    font-size: 12px;
    margin-top: 8px;
  }

  .quick-info {
    padding: 12px 12px 14px;
  }

  .info-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .info-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .info-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .info-card-text h3 {
    font-size: 12px;
  }

  .info-card-text p {
    font-size: 14px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .collection-item {
    aspect-ratio: 16 / 9;
  }

  .section-head-center {
    margin-bottom: 24px;
  }

  .about-image img {
    height: 180px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .content-block {
    padding: 20px 16px;
  }

  .collection-detail-item {
    flex-direction: column;
  }

  .collection-detail-item img {
    width: 100%;
    height: 160px;
  }

  .collection-detail-text {
    padding: 16px;
  }

  .org-list,
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* 桌面端：隐藏汉堡，导航常显 */
@media screen and (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-bar {
    display: flex !important;
    position: static !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    width: auto !important;
  }

  .nav-menu {
    flex-direction: row !important;
    align-items: center;
    width: auto;
  }

  .nav-menu > li > a {
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 8px;
    border-bottom: none;
    min-height: auto;
  }

  .nav-submenu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0;
  }

  .nav-menu > li:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
