:root {
  --golden-color: #8d8556;
  --block-color: #000;
  --max-width: 1100px;
  --border-radius: 12px;
  --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
    "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
    "Fira Mono", "Droid Sans Mono", "Courier New", monospace;

  /* 背景渐变 */
  /*  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 214, 219, 220;
  --background-end-rgb: 255, 255, 255; */

  /*  创建一个由渐变组成的图像 */
  /*  --primary-glow: conic-gradient(
    from 180deg at 50% 50%,
    #16abff33 0deg,
    #0885ff33 55deg,
    #54d6ff33 120deg,
    #0071ff33 160deg,
    transparent 360deg
  );
  --secondary-glow: radial-gradient(
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  ); */

  --tile-start-rgb: 239, 245, 249;
  --tile-end-rgb: 228, 232, 233;
  --tile-border: conic-gradient(
    #00000080,
    #00000040,
    #00000030,
    #00000020,
    #00000010,
    #00000010,
    #00000080
  );

  --callout-rgb: 238, 240, 241;
  --callout-border-rgb: 172, 175, 176;
  --card-rgb: 180, 185, 188;
  --card-border-rgb: 131, 134, 135;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --foreground-rgb: 255, 255, 255;
    --background-start-rgb: 0, 0, 0;
    --background-end-rgb: 0, 0, 0;

    --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
    --secondary-glow: linear-gradient(
      to bottom right,
      rgba(1, 65, 255, 0),
      rgba(1, 65, 255, 0),
      rgba(1, 65, 255, 0.3)
    );

    --tile-start-rgb: 2, 13, 46;
    --tile-end-rgb: 2, 5, 19;
    --tile-border: conic-gradient(
      #ffffff80,
      #ffffff40,
      #ffffff30,
      #ffffff20,
      #ffffff10,
      #ffffff10,
      #ffffff80
    );

    --callout-rgb: 20, 20, 20;
    --callout-border-rgb: 108, 108, 108;
    --card-rgb: 100, 100, 100;
    --card-border-rgb: 200, 200, 200;
  }
} */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  font-size: 18px;
  min-width: 1200px;
  /* overflow-x: auto; */
}
@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

/* Web端缩放模式下，允许 body 收缩 */
html.web-scaled,
html.web-scaled body {
  overflow-x: hidden;
}

/* body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
} */

a {
  color: inherit;
  text-decoration: none;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #f5f605;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #694440;
}
li {
  list-style: none;
}

/* 边距 */
.p1 {
  padding: 1rem;
}
.p2 {
  padding: 2rem;
}
.m1 {
  margin: 1rem;
}
.m2 {
  margin: 2rem;
}

/* 颜色 */
.goldenColor {
  color: var(--golden-color);
}
.blockColor {
  color: #000;
}

/* 标题 */
.h2-title {
  text-align: center;
  transition: transform 0.3s ease;
}
.h2-title:hover {
  transform: scale(1.2, 2);
}

.h2-title > h2 {
  font-size: 1.8rem;
  font-family: "楷体";
  font-weight: 600;
  line-height: 98px;
}

.h2-title > h2::before,
.h2-title > h2::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 48px;
  line-height: 98px;
  margin: 0 0.5rem;
  position: relative;
  top: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.h2-title > h2.golden {
  color: var(--golden-color);
}
.h2-title > h2.golden::before,
.h2-title > h2.golden::after {
  background-image: url("/icon-title-golden-1.png");
}
.h2-title > h2.white {
  color: #fff;
}
.h2-title > h2.white::before,
.h2-title > h2.white::after {
  background-image: url("/icon-title-white-1.png");
}
.h2-title > h2.black {
  color: #000;
}
.h2-title > h2.black::before,
.h2-title > h2.black::after {
  background-image: url("/icon-title-black-1.png");
}

main {
  min-height: calc(100vh - 286px);
  margin-top: 90px;
}

.bg1 {
  background-image: url("/bg-1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1.5rem 0;
}
.bg2 {
  background-image: url("/bg-2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1.5rem 0;
}
.bg2.treasureBoxH2Title {
  padding: 0;
}
.bg3 {
  background-image: url("/bg-3.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1.5rem 0;
}
.bg4 {
  background-image: url("/bg-4.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1.5rem 0;
}
.bg5 {
  background-image: url("/bg-5.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1.5rem 0;
}

.centerContainer {
  width: 100%;
  min-height: calc(100vh - 286px);
  padding: 0 8vw 2%;
}

/* 全局动画 */
/* 定义一个从下移入的动画 */
@keyframes fadeIn {
  0% {
    transform: translateY(100px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 应用动画到需要淡入的元素 */
.fade-in {
  animation: fadeIn 0.6s linear forwards;
}

/* swiper */
.custom-swiper.swiper-pagination-bullet {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  /* width: 3.6rem !important;
  height: 3.6rem !important;
  border-radius: unset !important;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain; */
}
.custom-swiper.swiper-pagination-bullet {
  /* background-image: url("/logo-icon-white.png"); */
  background-color: #fff;
}
.custom-swiper-active.swiper-pagination-bullet-active {
  /* background-image: url("/logo-icon-golden.png"); */
  background-color: #8d8556;
}

/* 富文本 */
.rich {
  width: inherit;
  max-width: 100%;
  height: auto;
  /* background-color: #fff; */
  padding: 0;
}
.rich img {
  max-width: 100% !important;
}
.rich,
.rich .sun-editor {
  background: transparent;
}
.rich .sun-editor-editable {
  background: transparent;
}
.rich .se-wrapper-inner {
  padding: unset;
  height: 100% !important;
}
.rich .se-wrapper .se-wrapper-inner > p {
  margin: 0;
  background: transparent;
  text-indent: 2rem;
}
.rich .se-navigation,
.rich .sun-editor .se-resizing-bar {
  display: none;
}
.rich > .sun-editor .sun-editor-editable .se-component {
  margin: unset;
}
.rich > .sun-editor,
.rich > .sun-editor div,
.sun-editor input,
.sun-editor select,
.sun-editor textarea {
  border: unset;
}
.rich .sun-editor .se-resizing-bar {
  border-top: unset;
  background-color: transparent;
}

.rich .sun-editor-editable a {
  font-size: 1.4rem;
  color: #000000;
  line-height: 2rem;
}
.rich.hallBlockRich .se-wrapper-inner {
  text-align: center;
}
.rich.hallBlockRich .se-wrapper-inner p:nth-child(1) {
  text-align: left;
}
.rich .se-wrapper-inner .se-image-container {
  text-align: center;
  display: inline-block;
}
.openTimeRich .se-wrapper-inner {
  text-align: center;
}
.reservationServiceRich  p {
  text-indent: 2rem;
  line-height: 1.8rem;
  font-size: 1.2rem;
  font-family: cursive;
}
.reservationServiceRich  p img {
  margin-top: .5rem;
}

.ql-align-center {
  text-align: center;
}

#imgPrviewModal {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.65);
  display: none;
}
.imgPrviewModal {
  position: relative;
  margin: 90px auto;
  width: 60%;
  height: 80%;
  z-index: 1;
}

.imgPrviewModal img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  animation-name: zoom;
  transform: scale(2.5);
  animation-duration: 0.6s;
  display: block;
  padding: 10px;
  margin: 200px auto;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 2px 6px rgb(0, 0, 0, 0.2), 0 10px 20px rgb(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid white;
}

@keyframes zoom {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(2.5);
  }
}

.text-center {
  width: 100%;
  text-align: center;
}

/* 其他 */
.moreLink {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
  line-height: 2.4rem;
  height: 2.4rem;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: 600;
  color: #000000;
}
.moreLink::after {
  display: inline-block;
  transform: scale(0.5);
  content: url("/more-icon.png");
  /* margin-left: 4px; */
  position: relative;
  top: 0.2rem;
}
/* 导航 */
.nav-tabs {
  width: 100%;
  height: 3.5rem;
  background: #d9d9d9;
  display: flex;
  flex-wrap: nowrap;
}
.nav-tabs > .item {
  flex: 1 1;
  font-size: 1.2rem;
  font-family: "微软雅黑";
  text-align: center;
  color: #876e57;
  line-height: 3.5rem;
  cursor: pointer;
}
.nav-tabs > .item.acctive {
  color: #fff;
  background-color: #876e57;
}

/* 分页器 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.pagination .page {
  background-color: #fff;
  padding: 0.5rem 1rem;
  border: 1px solid #979797;
  border-radius: 5px;
  cursor: pointer;
  color: var(--block-color);
  margin: 0 8px;
}

.pagination .page.active {
  border: 2px solid #6c3530;
  border-radius: 5px;
  color: #6c3530;
}

/* 列表卡片 */
.list-card {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: spaceBetween;
  flex-wrap: wrap;
}
.list-card > .left.img {
  width: 48%;
  max-width: 400px;
  max-height: 260px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  transition: background-size 0.5s;
}
.list-card > .left.img:hover {
  background-size: 130%;
}
.list-card > .right {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
  width: 48%;
}
.list-card > .right > .view-detail-link {
  position: absolute;
  right: 0;
  top: 1.5rem;
  line-height: 2rem;
  font-size: 1rem;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: 600;
  text-align: justify;
  color: #000000;
  cursor: pointer;
}
.list-card > .right > .view-detail-link::after {
  content: ">";
  margin-left: 0.5rem;
}
.list-card > .right > p {
  margin: 1rem 0;
}
/* 省略号 */
.ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .hiddenInMobile {
    display: none !important;
  }
}

.listWrap {
  font-size: 1rem;
}

/* H5 移动端 CSS 自定义属性 */
:root {
  --h5-primary: #6c3530;
  --h5-primary-light: #8b4239;
  --h5-golden: #8d8556;
  --h5-bg: #f5f0eb;
  --h5-white: #ffffff;
  --h5-text: #333333;
  --h5-text-secondary: #999999;
  --h5-header-height: 48px;
  --h5-bottom-nav-height: 56px;
  --h5-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --h5-content-padding: 16px;
  --h5-card-radius: 8px;
  --h5-font-size-base: 14px;
  --h5-font-size-sm: 12px;
  --h5-font-size-lg: 16px;
  --h5-font-size-title: 15px;
}

/* H5 移动端全局样式 */
/* 覆盖桌面端 min-width:1200px 约束 */
html.h5-page,
html.h5-page body {
  min-width: 100% !important;
  max-width: 100%;
  overflow-x: hidden;
  font-size: var(--h5-font-size-base, 14px);
  -webkit-text-size-adjust: 100%;
  background: var(--h5-bg, #f5f0eb);
}

html.h5-page * {
  box-sizing: border-box;
}

html.h5-page img {
  max-width: 100%;
  height: auto;
}

html.h5-page a {
  color: inherit;
  text-decoration: none;
}

/* H5 富文本内容适配 */
html.h5-page .h5-rich-content {
  padding: var(--h5-content-padding, 16px);
  font-size: var(--h5-font-size-base, 14px);
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
}

html.h5-page .h5-rich-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}

html.h5-page .h5-rich-content p {
  margin-bottom: 12px;
}

/* 加载状态 */
html.h5-page .h5-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  color: var(--h5-text-secondary, #999);
  font-size: var(--h5-font-size-sm, 12px);
}

/* 空状态 */
html.h5-page .h5-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  color: var(--h5-text-secondary, #999);
  font-size: var(--h5-font-size-base, 14px);
}

/* H5 页面公共样式 */

/* ========== 顶部标题栏 ========== */
.pageHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 44px;
  background: var(--h5-primary, #6c3530);
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
}

.pageHeaderBack {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
}

.pageHeaderBack:active {
  background: rgba(255, 255, 255, 0.15);
}

.pageHeaderTitle {
  flex: 1 1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pageHeaderPlaceholder {
  width: 36px;
}

/* ========== 通用列表 ========== */
.cardList {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
}

.cardList li {
  margin-bottom: 12px;
}

/* ========== 上下布局卡片（封面图在上，文字在下） ========== */
.verticalCard {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.verticalCard:active {
  opacity: 0.85;
}

.verticalCardImg {
  width: 100%;
  overflow: hidden;
}

.verticalCardImg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.verticalCardBody {
  padding: 10px 12px 12px;
}

.verticalCardTitle {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.verticalCardMeta {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verticalCardDesc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== VR展厅列表（独占一行，上下布局，名称居中） ========== */
.gridList {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
}

.gridList li {
  margin-bottom: 12px;
}

.gridCard {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.gridCard:active {
  opacity: 0.85;
}

.gridCardImg {
  width: 100%;
  overflow: hidden;
}

.gridCardImg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.gridCardBody {
  padding: 8px 10px 10px;
  text-align: center;
}

.gridCardTitle {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 左右布局列表（镇馆之宝 — 封面在左，文字在右） ========== */
.hList {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
}

.hList li {
  margin-bottom: 12px;
}

.hCard {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hCard:active {
  opacity: 0.85;
}

.hCardImg {
  flex-shrink: 0;
  width: 120px;
  overflow: hidden;
}

.hCardImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hCardBody {
  flex: 1 1;
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.hCardTitle {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hCardDesc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hCardFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}

.hCardTime {
  font-size: 11px;
  color: #bbb;
}

.hCardLink {
  font-size: 12px;
  color: var(--h5-primary, #6c3530);
  font-weight: 500;
}

/* ========== 瀑布流布局（文创商品） ========== */
.waterfallList {
  list-style: none;
  padding: 12px 16px;
  margin: 0;
  column-count: 2;
  column-gap: 12px;
}

.waterfallList li {
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 12px;
}

.waterfallCard {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.waterfallCard:active {
  opacity: 0.85;
}

.waterfallCardImg {
  width: 100%;
  overflow: hidden;
}

.waterfallCardImg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.waterfallCardBody {
  padding: 8px 10px 10px;
}

.waterfallCardTitle {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 加载与空状态 ========== */
.h5Loading {
  text-align: center;
  padding: 40px 0;
  color: #999;
  font-size: 13px;
}

.h5Empty {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 14px;
}

/* ========== 加载更多按钮 ========== */
.loadMoreWrap {
  display: flex;
  justify-content: center;
  padding: 12px 0 24px;
}

.loadMoreBtn {
  padding: 8px 36px;
  border: 1px solid var(--h5-primary, #6c3530);
  background: #fff;
  color: var(--h5-primary, #6c3530);
  font-size: 13px;
  border-radius: 18px;
  cursor: pointer;
}

.loadMoreBtn:active {
  background: var(--h5-primary, #6c3530);
  color: #fff;
}

/* ========== 详情页样式 ========== */
.detailContainer {
  background: #fff;
  margin: 12px 16px;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.detailTitle {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin-bottom: 8px;
}

.detailMeta {
  font-size: 12px;
  color: #999;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.detailSection {
  margin-bottom: 16px;
}

.detailSectionTitle {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  padding-left: 10px;
  border-left: 3px solid var(--h5-primary, #6c3530);
  margin-bottom: 10px;
}

.detailSectionText {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  text-indent: 2em;
}

.detailRichContent {
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
}

.detailRichContent img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}

.detailRichContent p {
  margin-bottom: 12px;
}

/* ========== 图片画廊 ========== */
.imgGallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  gap: 8px;
  padding: 0 16px 16px;
}

.imgGalleryThumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.imgGalleryThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.imgOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.imgOverlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

