/* ============================================================
   2026 绿博会(绿色产业与可持续消费博览会)· PC 二级页样式
   参数取自 pc二级页面-绿博会2.psd(1920×6305)实测值
   基础变量/重置/容器/动效/头部导航/彩虹条/页脚/悬浮条/英文版页脚适配
   → 全部来自 pc-common.css(与 pc-2026 共用),本文件只含绿博会内容区样式
   ============================================================ */

:root {
  /* 绿博会页面与 pc-common 不同的配色(后加载,覆盖同名变量) */
  --green-intro: #2E9B22;   /* 展会介绍绿底(pc-expo 独有) */
  --bg-soft: #F2F3F2;       /* 浅灰底(绿博会稿,pc-common 为 #F3F3F3) */
  --bg-tint: #E4E6E4;       /* 展区灰绿底(绿博会稿,pc-common 为 #E4E6E3) */
}

[hidden] { display: none !important; }

/* ===================== 主视觉 KV(PSD:100-762,1920×662,含标题与日期地点) ===================== */
.hero { position: relative; margin-top: 80px;}
.hero-kv { width: 100%; height: auto; }

/* ===================== 绿博会区块头(彩色砖块图标 + 斜线 + 绿色标题) ===================== */
.exp-sec-head { display: flex; align-items: center; gap: 20px; padding: 84px 0 64px; }
.exp-sec-head .sec-ic { width: 58px; height: auto; }
.sec-divider { width: 1px; height: 44px; background: rgba(0, 0, 0, .14); transform: rotate(18deg); }
.exp-sec-head h2 { font-size: 40px; font-weight: 700; color: var(--green-title); }
.exp-sec-head.light h2 { color: #fff; }
.exp-sec-head.light .sec-divider { background: rgba(255, 255, 255, .35); }

/* ===================== 展会介绍(PSD:762-1135,绿底 #2E9B22) ===================== */
.intro { background: var(--green-intro); padding: 84px 0 100px; }
.intro-title { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 40px; }
.intro-body { display: grid; gap: 24px; }
.intro-body p { font-size: 20px; line-height: 2; color: #fff; }

/* ===================== 展区(PSD:1135-1905,灰绿底 #E4E6E4,3列卡片) ===================== */
.zones { background: var(--bg-tint); padding-bottom: 120px; }
.zq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 33px; }
.zq-card {
  background: #fff; border: 1px solid #D5D9D5; border-radius: 6px; padding: 32px 34px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.zq-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.zq-card h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; color: var(--green-text); }
.zq-card h3::before { content: ""; width: 5px; height: 23px; border-radius: 2px; background: var(--green-text); flex: none; }
.zq-desc {
  margin-top: 18px; font-size: 16px; line-height: 1.9; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.zq-loc { margin-top: 8px; font-size: 16px; color: var(--ink); }

/* ===================== 创意玩法(PSD v2:浅灰底,3列玩法卡,7 张) ===================== */
.creative { background: var(--bg-soft); padding-bottom: 120px; }
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.play-card {
  background: #fff; border: 1px solid #E5E7E5; border-radius: 6px; padding: 34px 32px 32px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.play-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.play-title { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 700; color: var(--accent, var(--green-title)); }
.play-title img { height: 34px; width: auto; flex: none; }
.play-desc {
  margin: 22px 0 30px; font-size: 18px; line-height: 1.75; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* 胶囊按钮:默认灰底,hover 变为该卡主题色(对应 PSD 首卡橙色态) */
.play-btn {
  margin-top: auto; width: 100%; height: 52px; border-radius: 26px;
  background: #EDEEED; color: var(--ink); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.play-btn:hover { background: var(--accent, var(--green-text)); color: #fff; }
.play-btn:active { transform: scale(.98); }

/* ===================== 场馆地图(PSD:2660-3780,绿色纹理底图 1920×1056 + 白色地图位) ===================== */
.map-sec {
  position: relative; aspect-ratio: 1920 / 1056; min-width: 1400px;
  background: url(https://n.sinaimg.cn/finance/esg2026/pc-expo/img/map-bg.png?v=20261010) center / 100% 100% no-repeat;
}
.map-sec .exp-sec-head { padding: 5% 0 0; }
/* 白色地图位:PSD 实测 x260-1660 / y214-1002(相对底图),按比例定位 */
.map-box {
  position: absolute; left: 13.54%; right: 13.54%; top: 17%; bottom: 8.4%;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.map-box img { width: 100%; height: 100%; object-fit: contain; }
.map-placeholder { font-size: 20px; color: #B9BDB9; }

/* ===================== 在线展位(PSD:3780-5050,浅灰底,2列展商卡片) ===================== */
.booths { background: var(--bg-soft); padding-bottom: 120px; }
.expo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 33px; }
.expo-card {
  background: #fff; border: 1px solid #E2E6E2; border-radius: 6px; padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.expo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); }
.expo-media { position: relative; aspect-ratio: 69 / 38; background: #D9D9D9; border-radius: 4px; overflow: hidden; }
.expo-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.expo-media img.active { opacity: 1; }
/* 分页点:与设计稿一致(激活为长条,其余为圆点) */
.expo-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 2;
}
.expo-dot {
  width: 9px; height: 9px; border: none; border-radius: 5px; padding: 0;
  background: rgba(255, 255, 255, .4); cursor: pointer; transition: all .3s ease;
}
.expo-dot.active { width: 20px; background: #fff; }
.expo-name { margin-top: 18px; text-align: center; font-size: 22px; font-weight: 700; color: var(--ink); }

/* ===================== 响应式(绿博会内容区;容器/头部/页脚/悬浮条的小屏规则在 pc-common.css) ===================== */
@media (max-width: 1560px) {
  .zq-grid { gap: 24px; }
  .play-grid { gap: 24px; }
  .expo-grid { gap: 24px; }
}
