
:root {
  --font: tahoma, arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-serif: "Times New Roman", Georgia, "SimSun", serif;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --bg: #fff;
  --bg-light: #f5f5f5;
  --footer-bg: #1a1a1a;
  --footer-text: #aaa;
  --max-w: 1200px;
  --header-h: 90px;
  --accent: #c9a86c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 12px; color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-inner { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 50px; width: auto; }
.main-nav { display: flex; }
.nav-list { display: flex; gap: 40px; }
.nav-list a { font-size: 13px; color: var(--text); letter-spacing: 1px; padding: 8px 18px; position: relative; transition: all .3s; }
.nav-list a::after { content:''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--text); transition: width .3s; }
.nav-list a:hover::after { width: 100%; }
.nav-list a.active { color: #fff; background: #5d767e; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* 首页：白底导航条（90px）正常占文档流，轮播首图在其正下方，尺寸 1700×729 */
.page-index .site-header {
  position: relative;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.page-index .hero-banner {
  max-width: 1700px;
  height: 729px;
  margin: 0 auto;
}

.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 199; }
.mobile-nav { position: fixed; top: 0; right: -260px; width: 260px; height: 100%; background: #fff; padding: 80px 30px; transition: right .3s; z-index: 200; }
.mobile-overlay.open { display: block; }
.mobile-overlay.open .mobile-nav { right: 0; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; font-size: 14px; }

/* Hero banner — full-bleed carousel */
.hero-banner { position: relative; width: 100%; max-width: 1700px; height: 729px; margin: 0 auto; overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; opacity: 0; transition: opacity .6s ease; }
.hero-bg-img.loaded { opacity: 1; }
.hero-banner::after { display: none; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background .3s, transform .3s; }
.hero-dots span:hover { background: rgba(255,255,255,0.85); }
.hero-dots span.active { background: #fff; transform: scale(1.25); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border: none; background: rgba(0,0,0,0.25); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s; user-select: none; }
.hero-arrow:hover { background: rgba(0,0,0,0.5); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.page-banner { position: relative; width: 100%; max-width: 1200px; height: 401px; margin: 0 auto; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; opacity: 0; transition: opacity .6s ease; }
.page-banner-img.loaded { opacity: 1; }
.page-banner::after { content:''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1; }
.page-banner .hero-content { position: relative; z-index: 2; }
.page-banner .hero-content .en { font-size: 36px; }
.page-banner .hero-content .cn { font-size: 24px; }

/* Section base */
.section { padding: 90px 0; }
/* zthl 页面底色浅灰，让白色卡片"浮"起来 */
body.page-zthl { background: #f5f5f5; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .en { font-family: var(--font-serif); font-size: 30px; letter-spacing: 2px; color: #000; text-transform: uppercase; line-height: 1.2; }
.section-head .cn { font-size: 18px; color: var(--text-light); letter-spacing: 4px; margin-top: 8px; }
.section-head .sub { font-size: 11px; color: var(--text-lighter); letter-spacing: 1px; margin-top: 12px; }

/* Homepage themes */
.themes-head { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; margin-bottom: 55px; }
.themes-head .head-left { display: flex; flex-direction: column; gap: 10px; }
.themes-head .brand { font-size: 11px; letter-spacing: 2px; color: var(--text-lighter); text-transform: uppercase; }
.themes-head .title-main { display: flex; align-items: baseline; gap: 12px; margin: 0; font-weight: 400; line-height: 1; }
.themes-head .title-en { font-family: var(--font-serif); font-size: 46px; color: #000; text-transform: uppercase; letter-spacing: 2px; }
.themes-head .title-divider { font-family: var(--font-serif); font-size: 36px; color: #000; font-weight: 300; }
.themes-head .title-cn { font-size: 22px; color: var(--text); letter-spacing: 4px; }
.themes-head .head-right { text-align: right; }
.themes-head .dots { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 10px; }
.themes-head .dots span { width: 6px; height: 6px; border-radius: 50%; background: #ddd; }
.themes-head .dots span:nth-child(1) { background: #5d767e; }
.themes-head .dots span:nth-child(2) { background: #c9a86c; }
.themes-head .dots span:nth-child(3) { background: #999; }
.themes-head .sub { font-size: 10px; letter-spacing: 1px; color: var(--text-lighter); margin: 0; }

.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme-card { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #f0f0f0; }
.theme-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.theme-card:hover img { transform: scale(1.05); }
.theme-card .label { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px; background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 14px; letter-spacing: 2px; }
.btn-wrap { text-align: center; margin-top: 45px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn-outline { display: inline-block; padding: 13px 48px; border: 1px solid var(--text); color: var(--text); font-size: 12px; letter-spacing: 2px; transition: all .3s; }
.btn-outline:hover { background: var(--text); color: #fff; }
.view-more { font-size: 10px; letter-spacing: 3px; color: var(--text-lighter); text-transform: uppercase; }
/* 主题婚礼下方 3 图轮播（尺寸 1080×394） */
.feature-carousel { margin-top: 55px; position: relative; overflow: hidden; width: 100%; max-width: 1080px; height: 394px; margin-left: auto; margin-right: auto; background: #f0f0f0; }
.feature-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 0; }
.feature-slide.active { opacity: 1; z-index: 1; }
.feature-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.feature-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.feature-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background .3s, transform .3s; }
.feature-dots span:hover { background: rgba(255,255,255,0.85); }
.feature-dots span.active { background: #fff; transform: scale(1.25); }
.feature-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 40px; height: 40px; border: none; background: rgba(0,0,0,0.25); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .3s; user-select: none; }
.feature-arrow:hover { background: rgba(0,0,0,0.5); }
.feature-prev { left: 16px; }
.feature-next { right: 16px; }

/* About section */
.about-section { background: var(--bg-light); }
.about-head { margin-bottom: 40px; }
.about-content { max-width: 780px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--text-light); line-height: 2.2; font-size: 13px; letter-spacing: 1px; }

/* Store showcase */
.store-section { padding: 0; }
.store-img { width: 100%; max-width: 900px; height: 400px; margin: 0 auto; position: relative; overflow: hidden; background: #f0f0f0; }
.store-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Cases carousel
   中间 550×445（接近正方形稍竖）；两侧为中间的 38% 宽 = 209×169。
   两侧向中间靠拢，各自被中间图盖住自身宽度的 15%（209 × 15% = 31.35px）。
   两侧透明度 60%，中间 100%。
   定位方式：绝对定位 + transform 平移（--tx 由 JS 设置）。
   不用 flex order —— order 是离散整数无法过渡，切换时图片会硬跳，与宽度/透明度渐变不同步，看起来生硬。
   响应式只需改 --case-active-w 与 --case-active-h。 */
.cases-section { padding-bottom: 100px; }
.case-carousel {
  --case-active-w: 550px;                                 /* 中间图宽 550 → 高 445 */
  --case-side-w: calc(var(--case-active-w) * 0.38);       /* 两侧 = 中间的 38% = 209px */
  --case-overlap: calc(var(--case-side-w) * 0.15);       /* 两侧各被遮挡 15% = 31.35px */
  --case-active-h: 480px;                                 /* active 总高（445 图 + 35 标题） */
  --case-side-h: 204px;                                   /* 两侧总高（169 图 + 35 标题） */
  position: relative;                                      /* 子项绝对定位的参照 */
  height: var(--case-active-h);                            /* 容器高度锁定，切换时不抖动 */
  width: 100%; margin: 0 auto;
}
.case-item {
  position: absolute; left: 50%; top: 50%;
  --tx: 0px;                                               /* 由 JS 按与 active 的距离设置 */
  transform: translate(-50%, -50%) translateX(var(--tx));
  display: flex; flex-direction: column;
  width: var(--case-side-w); height: var(--case-side-h);
  opacity: 0.6; z-index: 1;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1),
              width .6s cubic-bezier(.4, 0, .2, 1),
              height .6s cubic-bezier(.4, 0, .2, 1),
              opacity .45s ease;
  will-change: transform, width, height;
}
.case-item.active {
  width: var(--case-active-w); height: var(--case-active-h);
  opacity: 1; z-index: 3;
}
/* 既不是 prev / active / next 的项：淡出并禁用点击，不突然消失 */
.case-item:not(.prev):not(.active):not(.next) { opacity: 0; pointer-events: none; }
/* 首屏直接就位，不播放入场动画（JS 渲染完后移除 no-anim） */
.case-carousel.no-anim .case-item { transition: none; }
.case-item .case-img { position: relative; overflow: hidden; flex: 1 1 auto; min-height: 0; background: #f0f0f0; }
.case-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.case-item:hover img { transform: scale(1.04); }
.case-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
/* 默认浅灰；active（当前显示的图片对应）= 深黑色；其余浅灰 */
.case-dots span { width: 7px; height: 7px; border-radius: 50%; background: #ddd; cursor: pointer; transition: background .3s, transform .3s; }
.case-dots span.active { background: #2c2c2a; transform: scale(1.25); }
.case-dots span:hover { opacity: 0.8; }

/* Theme list (zthl) — 卡片缩 15%（1200→1020，530→450），整体白色，页面底色浅灰 */
.theme-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.theme-row {
  display: grid;
  grid-template-columns: 33.333% 66.667%;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  min-height: 450px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .4s, transform .4s;
}
.theme-row:hover { box-shadow: 0 6px 32px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }

.theme-row.reverse { grid-template-columns: 66.667% 33.333%; }
.theme-row.reverse .text { order: 2; }
.theme-row.reverse .pic { order: 1; }

/* 左：白色文字块（与卡片同色，靠 padding 划分）
   padding 用 CSS 变量从 content.json 注入（数据驱动） */
.theme-row .text {
  background: #fff;
  color: #333;
  padding: var(--text-text-padding-v, 50px) var(--text-text-padding-h, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* 字号/字体/颜色都用 CSS 变量从 content.json 的 textStyle 注入，未配置时 fallback 到 CSS 默认 */
.theme-row .text h3 {
  font-family: var(--text-title-font, var(--font-serif));
  font-size: var(--text-title-size, 32px);
  color: var(--text-title-color, #111);
  margin-bottom: var(--text-title-margin-bottom, 6px);
  letter-spacing: var(--text-title-letter-spacing, 4px);
  font-weight: var(--text-title-weight, 500);
}
.theme-row .text h3 span {
  display: block;
  font-family: var(--font);
  font-size: var(--text-subtitle-size, 10px);
  color: var(--text-subtitle-color, #b5b5b5);
  letter-spacing: var(--text-subtitle-letter-spacing, 3px);
  margin-top: var(--text-subtitle-margin-top, 10px);
  font-weight: 400;
}
.theme-row .text p {
  color: var(--text-desc-color, #666);
  font-size: var(--text-desc-size, 14px);
  line-height: var(--text-desc-line-height, 2);
  margin-top: var(--text-desc-margin-top, 36px);
  margin-bottom: 0;
}
.theme-row .text .more {
  color: var(--text-more-color, #999);
  font-size: var(--text-more-size, 10px);
  letter-spacing: var(--text-more-letter-spacing, 4px);
  margin-top: var(--text-more-margin-top, 40px);
  align-self: flex-start;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.theme-row .text .more:hover { color: #5d767e; border-color: #5d767e; }
/* 窄屏（container 不足 1200 时）取消负 margin，避免卡片溢出 */
@media (max-width: 1239px) {
  .theme-list { margin-left: 0; margin-right: 0; width: 100%; }
}
/* 右：大图 800×450（16:9） */
.theme-row .pic {
  position: relative;
  overflow: hidden;
  aspect-ratio: 800/450;      /* 精确 16:9 → 800 宽时高 450 */
  width: 100%;
  align-self: center;          /* 居中，保持 800×450 不被拉伸到 530 */
  min-height: 0;
}
.theme-row .pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.theme-row:hover .pic img { transform: scale(1.04); }
.teaser-box { margin-top: 80px; padding: 60px 0; text-align: center; border-top: 1px solid #eee; }
.teaser-box .en { font-family: var(--font-serif); font-size: 28px; }
.teaser-box .cn { font-size: 14px; color: var(--text-light); margin-top: 8px; }

/* Alternating sections (yzshl) —— 旧版左右图文块，2026-09-02 起被 yz-* 全页重排版替代，保留兼容以防被其他页面误引 */
.alt-section { padding: 60px 0; }
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.alt-row.reverse .text { order: 2; }
.alt-row.reverse .pic { order: 1; }
.alt-row .text h3 { font-family: var(--font-serif); font-size: 26px; margin-bottom: 10px; }
.alt-row .text h3 small { display: block; font-family: var(--font); font-size: 14px; color: var(--text-light); letter-spacing: 3px; margin-top: 6px; }
.alt-row .text p { color: var(--text-light); line-height: 2; }
.alt-row .pic img { width: 100%; height: auto; }
.alt-section:nth-child(even) { background: var(--bg-light); }

/* ====== 一站式婚礼（yzshl）全页重排版（参考 3-一站式婚礼.jpg） ======
   8 节模块：Hero / BRIDAL ARRIVAL / BANQUET HALL / CEREMONY /
   MAKEUP ROOM LOUNGE / FOOD RESTAURANT（暗色）/ GUEST ROOM LOUNGE /
   EVENT WEDDING ASSISTANT。所有模块均可视化编辑（图片点替换、文字点编辑）。 */
body.page-yzshl { background: var(--bg-light); }

/* 顶部 Hero —— 全宽绿色调婚礼景，左侧大字英文 + 中文副标
   图片按"画框 1200×420"裁切，不随原图自由撑大 */
.yz-hero {
  position: relative; width: 100%; max-width: 1700px;
  height: 420px; margin: 0 auto;
  overflow: hidden; background: #2c4a3a;
}
.yz-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  opacity: 0; transition: opacity .6s ease;
}
.yz-hero-img.loaded { opacity: 1; }
.yz-hero::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.05) 100%);
  z-index: 1;
}
.yz-hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w); height: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; justify-content: center;
}
.yz-hero-en { font-family: var(--font-serif); font-size: 56px; color: #fff; letter-spacing: 4px; text-transform: uppercase; line-height: 1.05; font-weight: 300; }
.yz-hero-cn { margin-top: 22px; font-size: 20px; color: rgba(255,255,255,.85); letter-spacing: 8px; }

/* Section 通用间距 */
.yz-block { padding: 100px 0; }

/* Image slot —— 全站 yz-* 图统一规则：按指定画框裁切，禁止随原图高度撑开 */
.yz-pic,
.yz-overlay,
.yz-hero,
.yz-grid-4 > div,
.yz-grid-3 .yz-card,
.yz-grid-strip > * {
  overflow: hidden;
}
.yz-pic { position: relative; width: 100%; aspect-ratio: 4 / 3; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.yz-pic img,
.yz-card-pic,
.yz-grid-4 img,
.yz-grid-strip img,
.yz-overlay-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* Feature —— 左右图文块：图片固定 4:3 画框；文字侧右/左对齐 */
.yz-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.yz-feature.reverse .yz-text-side { order: 2; }
.yz-feature.reverse .yz-pic-side { order: 1; }
.yz-feature .yz-text-side { padding: 0 10px; }
.yz-feature .yz-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; border: 1px solid var(--accent);
  border-radius: 50%; font-family: var(--font-serif);
  font-size: 26px; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 28px;
}
.yz-feature .yz-en-title {
  font-family: var(--font-serif); font-size: 38px; color: #111;
  letter-spacing: 3px; text-transform: uppercase;
  line-height: 1.1; font-weight: 400;
}
.yz-feature .yz-en-sub {
  font-family: var(--font-serif); font-size: 18px; color: var(--accent);
  letter-spacing: 4px; margin-top: 10px;
}
.yz-feature .yz-cn-sub {
  font-size: 16px; color: var(--text); letter-spacing: 4px;
  margin-top: 14px; font-weight: 600;
}
.yz-feature .yz-text {
  margin-top: 24px; font-size: 14px; color: var(--text-light); line-height: 2;
}

/* Overlay —— 单张大图，固定 1160×420 画框；标题压顶 + 段落压底 */
.yz-overlay { position: relative; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; height: 420px; }
.yz-overlay-img { z-index: 0; opacity: 0; transition: opacity .6s ease; }
.yz-overlay-img.loaded { opacity: 1; }
.yz-overlay::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.yz-overlay-content {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: #fff;
  width: 92%; max-width: 800px;
}
.yz-overlay-content .yz-en-title { color: rgba(255,255,255,.92); font-size: 50px; }
.yz-overlay-content .yz-en-sub { color: rgba(255,255,255,.65); }
.yz-overlay-content .yz-cn-sub { color: rgba(255,255,255,.85); }
.yz-overlay .yz-text-foot {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); max-width: 800px; width: 92%;
  text-align: center; font-size: 14px; line-height: 1.9; z-index: 2;
}

/* Makeup —— 标题独立段 + 单大图，固定 16:9 画框 */
.yz-makeup .yz-head { text-align: left; margin-bottom: 36px; max-width: 720px; }
.yz-makeup .yz-pic { max-width: 1100px; margin: 0 auto; aspect-ratio: 16 / 9; box-shadow: 0 12px 40px rgba(0,0,0,.12); }

/* Dark —— 餐饮食材块（黑底 + 4 张菜品网格） */
.yz-dark {
  background-color: #0d0d0d; color: #fff; padding: 100px 0;
  position: relative;
  background-size: cover; background-position: center;
}
.yz-dark::after {
  content:''; position: absolute; inset: 0;
  background: rgba(0,0,0,.72); z-index: 0;
}
.yz-dark .container { position: relative; z-index: 1; }
.yz-dark .yz-head { text-align: center; margin-bottom: 50px; }
.yz-dark .yz-num { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.85); margin: 0 auto 28px; }
.yz-dark .yz-en-title { color: #fff; }
.yz-dark .yz-en-sub { color: rgba(255,255,255,.6); }
.yz-dark .yz-cn-sub { color: rgba(255,255,255,.85); }
.yz-dark .yz-text { color: rgba(255,255,255,.7); margin-top: 18px; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* 菜品 4 图网格 —— 每格固定 1:1 正方形 */
.yz-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.yz-grid-4 > div { position: relative; aspect-ratio: 1 / 1; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .4s; }
.yz-grid-4 > div:hover { transform: scale(1.03); }
.yz-grid-4 img { transition: transform .4s; }
.yz-grid-4 > div:hover img { transform: scale(1.03); }

/* 3 列图文卡片（GUEST ROOM LOUNGE）—— 卡片图固定 3:2 */
.yz-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.yz-grid-3 .yz-card { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.yz-grid-3 .yz-card-pic { position: relative; aspect-ratio: 3 / 2; }
.yz-grid-3 .yz-card-body { padding: 28px; flex: 1; }
.yz-grid-3 .yz-card-body h4 { font-family: var(--font-serif); font-size: 18px; color: #111; letter-spacing: 2px; margin-bottom: 10px; font-weight: 400; }
.yz-grid-3 .yz-card-body p { font-size: 13px; color: var(--text-light); line-height: 1.9; }

/* 3 张小图横排 + 多段文字（EVENT WEDDING ASSISTANT）—— 每图固定 3:2 */
.yz-grid-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.yz-grid-strip > * { position: relative; aspect-ratio: 3 / 2; box-shadow: 0 6px 18px rgba(0,0,0,.1); display: block; }
.yz-assistant-text { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.yz-assistant-text p { font-size: 13px; color: var(--text-light); line-height: 2; }

/* ===== yzshl 响应式 ===== */
@media (max-width: 900px) {
  .yz-hero { height: 380px; }
  .yz-hero-en { font-size: 32px; letter-spacing: 2px; }
  .yz-hero-cn { font-size: 14px; letter-spacing: 4px; }
  .yz-feature { grid-template-columns: 1fr; gap: 36px; }
  .yz-feature.reverse .yz-text-side, .yz-feature.reverse .yz-pic-side { order: unset; }
  .yz-feature .yz-en-title { font-size: 26px; }
  .yz-grid-4 { grid-template-columns: 1fr 1fr; }
  .yz-grid-3 { grid-template-columns: 1fr; }
  .yz-grid-strip { grid-template-columns: 1fr; }
  .yz-assistant-text { grid-template-columns: 1fr; }
  .yz-overlay { height: 380px; }
  .yz-overlay-content { top: 24px; }
  .yz-overlay-content .yz-en-title { font-size: 28px; }
  .yz-overlay-content .yz-en-sub { font-size: 13px; }
}

/* Venue gallery (yhcg) */
.venue-section { padding: 60px 0; border-bottom: 1px solid #eee; }
.venue-section:last-child { border-bottom: none; }
.venue-section h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 24px; }
.venue-section h3 small { display: block; font-size: 12px; color: var(--text-lighter); letter-spacing: 2px; margin-top: 4px; }
.venue-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.venue-gallery img { width: 100%; height: 260px; object-fit: cover; }
.venue-gallery.two { grid-template-columns: repeat(2, 1fr); }

/* About page stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; margin: 60px 0; }
.stat-item .num { font-family: var(--font-serif); font-size: 42px; color: #000; }
.stat-item .label { font-size: 12px; color: var(--text-light); margin-top: 8px; }
.spirit-section { position: relative; color: #fff; text-align: center; padding: 120px 0; background-size: cover; background-position: center; }
.spirit-section::after { content:''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.spirit-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.spirit-content h3 { font-family: var(--font-serif); font-size: 28px; margin-bottom: 16px; }
.spirit-content p { line-height: 2; }

/* Online form */
.form-section { padding: 60px 0 100px; }
.form-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid #eee; padding: 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.form-group label .req { color: #c00; }
.form-group input, .form-group textarea { border: 1px solid #e5e5e5; padding: 12px; font-family: var(--font); font-size: 12px; background: #fafafa; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-actions { text-align: center; margin-top: 30px; }
.form-actions button { padding: 12px 60px; border: 1px solid var(--text); background: #fff; cursor: pointer; font-size: 12px; letter-spacing: 2px; transition: all .3s; }
.form-actions button:hover { background: var(--text); color: #fff; }

/* Footer
   黑色底 + 背景图叠加 80% 黑色蒙版 → 图片只露 20% 亮度（参考运营参考图）。
   背景图通过 content-loader 的 data-bg-src 从 content.json 的 global.footer.bgImg 字段注入 */
.site-footer {
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--footer-text);
  padding: 70px 0 30px;
  position: relative;
}
.site-footer::after {
  content:'';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.8);         /* 80% 黑色蒙版 → 图片露 20% */
  z-index: 1;
}
.footer-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* 顶部：标题块在左 + 链接横排在右（参考设计稿） */
.footer-nav { display: flex; align-items: center; gap: 60px; padding-bottom: 40px; }
.footer-nav-title { flex: 0 0 auto; }
.footer-nav-title h5 { color: #fff; font-size: 14px; letter-spacing: 2px; }
.footer-nav-title .en { display: block; font-size: 11px; color: var(--text-lighter); letter-spacing: 3px; margin-top: 4px; font-weight: 400; }
.footer-nav ul { display: flex; flex: 1; justify-content: space-around; gap: 20px; max-width: 900px; }
.footer-nav a { color: var(--footer-text); font-size: 13px; letter-spacing: 1px; transition: color .3s; }
.footer-nav a:hover { color: #fff; }

/* 底部：联系信息 + 二维码 两列 */
.footer-info { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-contact h5 { color: #fff; font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; }
.footer-contact h5 .en { display: block; font-size: 11px; color: var(--text-lighter); letter-spacing: 3px; margin-top: 4px; font-weight: 400; }
.footer-contact .line { font-size: 12px; margin-bottom: 10px; line-height: 1.8; }
.footer-contact .line .k { color: var(--text-lighter); margin-right: 4px; }

.footer-qr { display: flex; gap: 24px; }
.qr-item { text-align: center; }
.qr-item .qr-img { width: 90px; height: 90px; background-size: cover; background-position: center; margin-bottom: 8px; background-color: #fff; }
.qr-item span { font-size: 11px; color: var(--footer-text); }

.footer-bottom { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 20px 20px 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 11px; color: var(--text-lighter); }

/* Detail pages */
.detail-main { padding: 60px 0; }
.detail-head { text-align: center; margin-bottom: 40px; }
.detail-head .brand { font-size: 11px; letter-spacing: 3px; color: var(--text-lighter); margin-bottom: 10px; }
.detail-head .en { font-family: var(--font-serif); font-size: 32px; color: #000; }
.detail-head .cn { font-size: 18px; letter-spacing: 4px; margin-top: 10px; }
.detail-gallery { display: flex; flex-direction: column; gap: 20px; }
.detail-gallery img { width: 100%; height: auto; }
.detail-gallery .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-text { max-width: 800px; margin: 60px auto; text-align: center; }
.detail-text h4 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 16px; }
.detail-text p { color: var(--text-light); line-height: 2; }

/* Responsive */
@media (max-width: 1100px) {
  .feature-carousel { height: auto; aspect-ratio: 1080 / 394; }
}
@media (max-width: 1024px) {
  .nav-list { gap: 8px; }
  .hero-banner { max-width: 100%; height: auto; aspect-ratio: 1700 / 729; }
  .hero-dots { bottom: 22px; }
  .themes-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .themes-head .head-right { text-align: left; }
  .themes-head .dots { justify-content: flex-start; }
  .theme-grid, .venue-gallery { grid-template-columns: repeat(2, 1fr); }
  .about-content, .theme-row, .alt-row { grid-template-columns: 1fr; gap: 30px; }
  .theme-row.reverse .text, .theme-row.reverse .pic, .alt-row.reverse .text, .alt-row.reverse .pic { order: unset; }
  .case-carousel { --case-active-w: 420px; --case-active-h: 368px; --case-side-h: 156px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-banner { width: 100%; height: auto; aspect-ratio: 4 / 3; max-width: 100%; }
  .hero-arrow { width: 38px; height: 38px; font-size: 22px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .hero-dots { bottom: 18px; }
  .page-banner { height: 300px; }
  .themes-head .title-en { font-size: 32px; }
  .themes-head .title-divider { font-size: 26px; }
  .themes-head .title-cn { font-size: 16px; }
  .theme-grid, .venue-gallery, .venue-gallery.two { grid-template-columns: 1fr; }
  /* 移动端只显示中间一张：两侧宽度归零并隐藏，容器高度跟着缩 */
  .case-carousel { --case-active-w: min(340px, 78vw); --case-active-h: 300px; --case-side-w: 0px; --case-side-h: 0px; --case-overlap: 0px; }
  .case-item.prev, .case-item.next { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-info { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-qr { justify-content: center; }
  .footer-nav ul { flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px; }
  .detail-gallery .row { grid-template-columns: 1fr; }
  .store-img { height: auto; aspect-ratio: 900 / 400; }
}

/* 由 JSON 驱动的动态图片：加载完成前透明，加载后淡入（消除刷新闪烁） */
img.cl-img{opacity:0;transition:opacity .4s ease;}
img.cl-img.loaded{opacity:1;}

/* ============================================================
   yzshl 一站式婚礼 —— 婚纱礼服板块（按参考图重做，2026-09-02）
   ----------------------------------------------------------
   顶层 .dress；内部按内容自适应，单卡高度由「1200 宽图片」+ 80 底部行 + 60 间距
   拼装：背景白色无依赖主体颜色，避免与下方 yz-dark 黑底冲撞
   ============================================================ */
body.page-yzshl { background: var(--bg-light); }

/* 板块整体 —— 三段堆叠：top / head / list */
.dress {
  background: #ffffff;
  padding: 30px 0 80px;
  position: relative;
  overflow: hidden;
}

/* 顶部一行（右对齐；左右贴 20 内边距） */
.dress-top { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; justify-content: flex-end; }
.dress-top-tag { text-align: right; line-height: 1.4; }
.dress-top-en { font-family: var(--font-serif); font-size: 13px; color: var(--text-light); letter-spacing: 4px; text-transform: uppercase; }
.dress-top-cn { font-family: var(--font); font-size: 13px; color: #333; letter-spacing: 2px; margin-top: 4px; }

/* 标题区 —— 左主标题 + 右上小广告 + ··· 按钮 */
.dress-head {
  max-width: var(--max-w);
  margin: 24px auto 50px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  position: relative;
}

/* 左主标题区域 */
.dress-head-left { padding-right: 0; }
.dress-title-en {
  font-family: var(--font-serif);
  font-size: 92px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
}
.dress-title-cn {
  margin-top: 6px;
  font-family: var(--font);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 8px;
  color: #111;
  line-height: 1;
}
.dress-title-sub-en {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--text-light);
  text-transform: uppercase;
}

/* 右上小广告区（垂直对齐底部） */
.dress-head-right { position: relative; padding-top: 30px; }
.dress-head-line {
  font-family: var(--font);
  font-size: 15px;
  color: #222;
  letter-spacing: 2px;
  font-weight: 600;
}
.dress-head-desc {
  margin-top: 12px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ··· 三点按钮：绝对定位在卡片右上角 */
.dress-more {
  position: absolute;
  top: 0;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 4px;
  color: #111;
  padding: 4px 8px;
  font-family: var(--font);
}
.dress-more:hover { color: var(--accent); }

/* ============================================================
   3 个系列卡片 —— 高定系列 / 设计师系列 / 轻奢系列
   所有卡片共享样式：图 3:1 严格画框 + 80px 底部描述行
   ============================================================ */
.dress-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.dress-card {
  display: block;
  width: 100%;
}
.dress-card-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;     /* 严格按 3:1 横长画框，禁止随图自由撑高 */
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.dress-card-pic img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

/* 卡片底部统一标签行 —— 80 高，左英右中 */
.dress-card-foot {
  margin-top: 16px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dress-card-icon {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 4px;
  color: #111;
  font-weight: 700;
  text-transform: uppercase;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dress-card-arrow {
  font-size: 14px;
  color: #111;
  letter-spacing: 0;
}
.dress-card-desc {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 1px;
  text-align: right;
  flex: 1 1 auto;
  line-height: 1.4;
}

/* ============================================================
 * ③ .custom —— CUSTOM MADE / 定制场布（婚纱礼服板块后）
 * 顶部小字引用行 + 上下分割线 + 居中大标题 + 单大图
 * ============================================================ */
.custom {
  padding: 80px 0 72px;
  background: #fff;
}
.custom-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #999;
  letter-spacing: 2px;
  padding: 0 0 8px;
  text-transform: uppercase;
}
.custom-top-mid {
  flex: 1;
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 12px;
}
.custom-line {
  border: 0;
  border-top: 1px solid #e8e8e8;
  margin: 8px 0 40px;
}
.custom-head {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 980px;
}
.custom-title-en {
  font-family: var(--font-serif);
  font-size: 76px;
  letter-spacing: 4px;
  color: #111;
  line-height: 1;
}
.custom-title-cn {
  font-size: 30px;
  font-weight: 700;
  margin-top: 14px;
  color: #111;
}
.custom-subtitle {
  font-size: 14px;
  color: #444;
  margin-top: 18px;
  letter-spacing: 1px;
  line-height: 1.6;
}
.custom-subtitle-2 {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  letter-spacing: 1px;
}
.custom-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  max-width: 720px;
  margin: 28px auto 0;
}
.custom-pic {
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #f5f5f5;
}
.custom-pic img,
.custom-pic > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.custom-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #777;
  letter-spacing: 2px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================================
 * ④ .makeup —— MAKEUP ROOM LOUNGE / 化妆间休息室
 * 顶部小字 + 标题区（左大标题 + 右 ···） + 单大图 + 描述
 * ============================================================ */
.makeup {
  padding: 80px 0 72px;
  background: #fff;
}
.makeup-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #999;
  letter-spacing: 2px;
  padding: 0 0 8px;
  text-transform: uppercase;
}
.makeup-top-mid {
  flex: 1;
  text-align: center;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 12px;
}
.makeup-line {
  border: 0;
  border-top: 1px solid #e8e8e8;
  margin: 8px 0 32px;
}
.makeup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 0 0 24px;
  border-bottom: 0;
}
.makeup-head-left {
  flex: 1;
}
.makeup-title-en {
  font-family: var(--font-serif);
  font-size: 64px;
  letter-spacing: 4px;
  color: #111;
  line-height: 1;
}
.makeup-title-cn {
  font-size: 28px;
  font-weight: 700;
  margin-top: 14px;
  color: #111;
}
.makeup-title-cn .gap {
  display: inline-block;
  width: 12px;
}
.makeup-small-en {
  font-size: 13px;
  color: #888;
  letter-spacing: 4px;
  margin-top: 14px;
  text-transform: uppercase;
}
.makeup-more {
  font-size: 26px;
  color: #999;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 12px;
  line-height: 1;
}
.makeup-pic {
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #f5f5f5;
}
.makeup-pic img,
.makeup-pic > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.makeup-desc {
  max-width: 1080px;
  margin: 24px auto 0;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  letter-spacing: 1px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================================
 * 标题模块系统（2026-09-03 引入）
 * 通用 .title-module 容器 + N 个 .title-module-N 变体
 * 模块决定整个标题的版式、尺寸和装饰；内容只关心 4 个文本字段
 * - eyebrow       (顶部小英文, 左上虚线盒)
 * - mainTitle     (主标题, 大字 serif)
 * - suffixCn      (中文后缀, 串在主标题 | 之后)
 * - sideSub       (右侧小字, 右下虚线盒)
 * 新增模块只需加一条 .title-module-N 规则 + 在 admin WZ_TITLE_MODULES 注册
 * ============================================================ */
.title-module {
  position: relative;
  padding: 8px 0;
  margin: 0 auto;
}
.title-module-1 {
  --tm-accent: #c8b08a;     /* 金棕色装饰 */
  --tm-en-color: #b8a08a;
  --tm-sub-color: #8a7a6a;
  max-width: var(--max-w, 1200px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: stretch;
  gap: 24px 60px;
  padding: 16px 0 18px;
}
/* 左上：虚线盒 + 顶部小英文 */
.title-module-1 .tm-tl {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  border: 1px dashed var(--tm-accent);
  padding: 6px 16px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--tm-en-color);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}
/* 左下：主标题区（占满左列第 2 行） */
.title-module-1 .tm-main {
  grid-column: 1 / span 2;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.title-module-1 .tm-title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 300;
  color: #000;
  letter-spacing: 4px;
  line-height: 1;
  text-transform: uppercase;
}
.title-module-1 .tm-divider {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--tm-accent);
  font-weight: 200;
  line-height: 1;
}
.title-module-1 .tm-cn {
  font-family: var(--font);
  font-size: 18px;
  color: #555;
  letter-spacing: 6px;
  font-weight: 300;
  line-height: 1;
}
/* 右上：装饰破折号 + 三点 */
.title-module-1 .tm-tr {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tm-accent);
  font-family: var(--font-serif);
  letter-spacing: 6px;
  font-size: 12px;
}
.title-module-1 .tm-tr::before { content: "— — —"; }
/* 右下：虚线盒 + 右侧小字 */
.title-module-1 .tm-br {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  border: 1px dashed var(--tm-accent);
  padding: 6px 16px;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--tm-sub-color);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

/* 让标题块与下方内容之间留点空隙，可由父容器加 .cases-section 等覆盖 */
.title-module + * { margin-top: 36px; }

/* 标题模块的字号可受 {path}Style 影响；样式属性选择器优先级高于内联 */
[data-title-module] { /* marker exists when div is the module container */ }

@media (max-width: 900px) {
  .title-module-1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 14px 0;
    padding: 10px 0;
  }
  .title-module-1 .tm-main { grid-column: 1; grid-row: 2; }
  .title-module-1 .tm-tr { grid-column: 1; grid-row: 3; justify-self: start; }
  .title-module-1 .tm-br { grid-column: 1; grid-row: 4; justify-self: start; }
  .title-module-1 .tm-title { font-size: 32px; }
  .title-module-1 .tm-cn { font-size: 15px; letter-spacing: 4px; }
}
@media (max-width: 480px) {
  .title-module-1 .tm-title { font-size: 26px; }
}
