/* 会议主题系列主页（theme.htm 页面私有样式）
 * 依赖 promo.css 公共壳。首屏唯一视觉中心=会议主题；统计融入 Banner。
 * 固定尺寸防布局跳动：封面统一 16:9 容器；动态数据不改变骨架。
 */
:root {
  --tp-hero-bg: #0f2740;
  --tp-hero-ink: #eef2f7;
  --tp-soft: #5b6b7c;
}
.promo-main { padding-bottom: 8px; }

/* ---- ① Banner：通栏背景图 + 藏青渐变蒙层，文字左侧叠加（与详情页/品牌页 show-banner 语言统一） ---- */
.tp-hero { position: relative; overflow: hidden; background: var(--tp-hero-bg); color: var(--tp-hero-ink); }
.tp-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.tp-hero::before { /* 左实右虚蒙层：保证左侧文字可读，右侧透出画面 */
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,25,47,.94) 0%, rgba(10,25,47,.72) 40%, rgba(15,39,64,.38) 100%);
}
.tp-hero::after { /* 底部轻压暗，与下方内容区自然衔接 */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1;
  background: linear-gradient(180deg, rgba(15,39,64,0) 0%, rgba(15,39,64,.5) 100%);
}
.tp-hero-inner {
  position: relative; z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto; padding: 64px 0 52px;
}
.tp-hero-copy { max-width: 720px; min-width: 0; }
.tp-hero-kicker { font-size: 13px; letter-spacing: 4px; color: #c9a961; margin-bottom: 14px; }
.tp-hero-name { font-size: clamp(26px, 4vw, 42px); line-height: 1.35; margin: 0 0 14px; font-weight: 700; }
.tp-hero-intro { font-size: 15.5px; color: #b9c6d4; margin: 0 0 26px; max-width: 820px; }
.tp-hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.tp-stat b { display: block; font-size: 30px; font-weight: 700; color: #fff; line-height: 1.2; }
.tp-stat span { font-size: 13px; color: #93a5b8; }
.tp-hero-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tp-city {
  font-size: 12.5px; color: #cfd9e4; border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px; padding: 3px 10px; background: rgba(255, 255, 255, .06);
}
.tp-hero-endorse { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; font-size: 13.5px; color: #93a5b8; }
.tp-hero-endorse a { color: #d8e2ec; text-decoration: none; border-bottom: 1px solid rgba(216, 226, 236, .35); }
.tp-hero-endorse i { width: 1px; height: 12px; background: rgba(255, 255, 255, .25); }

/* ---- 通用区块 ---- */
.tp-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.tp-sec { padding: 52px 0 8px; scroll-margin-top: 66px; }
.tp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tp-sec-head h2 { font-size: 24px; margin: 0 0 6px; font-weight: 700; }
.tp-sec-head p { margin: 0 0 4px; color: var(--tp-soft); font-size: 14px; }
.tp-more {
  flex: none; font-size: 14px; font-weight: 600; color: var(--pm-brand); text-decoration: none;
  padding: 8px 18px; border: 1px solid #c8d2dd; border-radius: 6px; background: #fff;
}
.tp-more:hover { color: var(--pm-accent); border-color: var(--pm-accent); }

/* ---- ② 会议列表（与 organizer.php 活动卡同版式：16:9 封面媒体区 + 状态徽章 + 日期·城市） ---- */
.tp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.tp-card {
  background: var(--pm-card); border: 1px solid var(--pm-line); border-radius: var(--pm-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 34, 58, .12); }
.tp-card-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0a2242, #123a5c); flex: none; }
.tp-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-card-date {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 34px; font-weight: 700; color: #ffd15d; letter-spacing: 1px;
}
.tp-card-date small { font-size: 13px; font-weight: 400; color: rgba(238, 242, 247, .78); letter-spacing: 0; }
.tp-card-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 700; color: rgba(252, 211, 77, .8); font-family: var(--serif, Georgia, serif);
}
.tp-state {
  position: absolute; left: 12px; top: 12px; font-size: 12.5px; padding: 3px 10px;
  border-radius: 4px; color: #fff; background: #4a6f95;
}
.tp-state.is-countdown { background: #b8860b; }
.tp-state.is-ongoing { background: #0e8a4d; }
.tp-state.is-ended { background: #8b95a1; }
.tp-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tp-card-name {
  font-size: 16.5px; font-weight: 600; margin: 0; line-height: 1.5; color: var(--pm-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp-card-meta { margin: 8px 0 0; font-size: 13.5px; color: var(--tp-soft); }
.tp-card-venue { margin: 2px 0 0; font-size: 13px; color: #8b95a1; }
.tp-card-btns { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }

/* ---- 按钮（页面私有） ---- */
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 20px; border-radius: 6px; font-size: 14px; text-decoration: none;
  border: 1px solid var(--pm-line); background: #fff; color: var(--pm-ink);
  transition: opacity .15s ease;
}
.tp-btn:hover { opacity: .88; }
.tp-btn-primary { background: var(--pm-brand); border-color: var(--pm-brand); color: #fff; }
.tp-btn-ghost { background: #fff; color: var(--pm-brand); border-color: #c8d2dd; }
.tp-btn-block { width: 100%; }

/* ---- 空态 ---- */
.tp-empty {
  background: var(--pm-card); border: 1px dashed var(--pm-line); border-radius: var(--pm-radius);
  padding: 34px 24px; text-align: center; margin-top: 22px;
}
.tp-empty b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.tp-empty span { font-size: 13.5px; color: var(--tp-soft); }

/* ---- ③ 联合运营矿业 AI 展厅面板（og-* 样式取自 organizer.css，仅本页需要的部分） ---- */
.og-hall-panel {
  margin-top: 22px; background: #0f2740; color: #eef2f7; border-radius: var(--pm-radius);
  padding: 44px 44px 40px; display: flex; gap: 44px; align-items: center;
}
.og-kicker { font-size: 13px; letter-spacing: 4px; color: #c9a961; margin-bottom: 14px; }
.og-hall-copy { flex: 1 1 52%; min-width: 0; }
.og-hall-copy h2 { font-size: 26px; margin: 0; font-weight: 700; color: #fff; }
.og-slogan { font-size: 15.5px; color: #fcd34d; margin: 12px 0 0; font-weight: 600; }
.og-hall-lead { font-size: 14px; color: #b9c6d4; line-height: 1.9; margin: 12px 0 0; }
.og-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.og-points li { padding-left: 18px; position: relative; }
.og-points li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: #c9a961; }
.og-points b { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.og-points span { font-size: 12.5px; color: #93a5b8; line-height: 1.6; }
.og-hall-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.og-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: opacity .15s ease;
}
.og-btn:hover { opacity: .88; }
.og-btn-gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 14px rgba(245, 158, 11, .3); }
.og-btn-ghostdark { background: transparent; color: #eef2f7; border: 1px solid rgba(255, 255, 255, .38); }
.og-hall-art { flex: 0 0 42%; margin: 0; min-width: 0; }
/* 展厅图解：对齐企业AI展位真实 UI（展位号楣牌 + 接待状态 + 关键词交谈），纯 CSS 无外部图片依赖 */
.og-dg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.og-dg-booth {
  background: #16334f; border: 1px solid #2c4a6b; border-radius: 6px;
  padding: 16px 10px 12px; text-align: center; position: relative;
}
.og-dg-booth.main { border-color: #c9a961; box-shadow: 0 6px 18px rgba(201, 169, 97, .16); }
.og-dg-no { position: absolute; right: 7px; top: 7px; font-size: 10.5px; color: #c9a961; }
.og-dg-booth b { display: block; font-size: 12.5px; font-weight: 600; color: #eef2f7; margin-bottom: 10px; white-space: nowrap; }
.og-dg-dot { width: 7px; height: 7px; border-radius: 50%; background: #5b6b7c; display: inline-block; margin-right: 5px; vertical-align: 1px; }
.og-dg-dot.on { background: #35c07a; }
.og-dg-booth small { font-size: 11px; color: #93a5b8; white-space: nowrap; }
.og-dg-search {
  grid-column: 1 / -1; background: #0b1e33; border: 1px solid #2c4a6b; border-radius: 6px;
  padding: 10px 14px; font-size: 12.5px; color: #93a5b8;
}
.og-dg-search em { font-style: normal; color: #c9a961; }
.og-hall-art figcaption { font-size: 12px; color: #93a5b8; margin-top: 8px; text-align: center; }
.og-note { font-size: 12.5px; color: var(--tp-soft); line-height: 1.85; margin: 14px 2px 0; }

/* ---- ④ 主办方直连卡（主办商来源：左侧承接信息，右侧咨询事项） ---- */
.tp-direct {
  display: flex; gap: 28px; flex-wrap: wrap;
  background: var(--pm-card); border: 1px solid var(--pm-line); border-left: 4px solid #c9a961;
  border-radius: var(--pm-radius); padding: 26px 30px; margin-top: 22px;
}
.tp-direct-main { flex: 1 1 380px; min-width: 0; }
.tp-direct-main b { display: block; font-size: 20px; margin: 10px 0 4px; }
.tp-direct-cap { display: inline-block; font-size: 12.5px; padding: 3px 10px; border-radius: 4px; background: #f2f3f5; color: var(--tp-soft); }
.tp-direct-person { display: block; font-size: 13.5px; color: var(--tp-soft); }
.tp-direct-rows { margin-top: 20px; display: grid; gap: 12px; }
.tp-direct-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #f8fafc; border: 1px solid var(--pm-line); border-radius: 6px; padding: 12px 16px;
}
.tp-direct-label { flex: 0 0 76px; font-size: 13px; color: var(--tp-soft); }
.tp-direct-val { font-size: 19px; font-weight: 700; color: var(--pm-brand); letter-spacing: .5px; text-decoration: none; }
a.tp-direct-val:hover { color: var(--pm-accent); }
.tp-copy { margin-left: auto; border: 1px solid #c8d2dd; background: #fff; color: var(--pm-brand); font-size: 12.5px; border-radius: 4px; padding: 4px 12px; }
.tp-copy:hover { border-color: var(--pm-accent); color: var(--pm-accent); }

/* ---- ⑦ 商务卡 ---- */
.tp-contact {
  display: flex; gap: 28px; background: var(--pm-card); border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius); padding: 28px 32px; margin-top: 22px; flex-wrap: wrap;
}
.tp-contact-main { flex: 1 1 380px; }
.tp-contact-main b { font-size: 18px; }
.tp-contact-main p { margin: 10px 0 0; font-size: 14.5px; color: #33414f; white-space: pre-line; }
.tp-contact-side { flex: 0 0 240px; border-left: 1px solid var(--pm-line); padding-left: 28px; }
.tp-contact-cap { font-size: 12.5px; color: var(--tp-soft); }
.tp-contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tp-contact-items span {
  font-size: 13px; color: #8a6d1c; background: #fbf7ec; border: 1px solid #eee0bd;
  border-radius: 6px; padding: 9px 10px; text-align: center; line-height: 1.5;
}

/* ---- 快速报名弹窗 ---- */
.tp-mask {
  position: fixed; inset: 0; z-index: 120; background: rgba(15, 23, 32, .5);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.tp-mask[hidden] { display: none; } /* 防止 display:flex 覆盖 hidden 属性 */
.tp-modal {
  width: min(420px, 100%); background: #fff; border-radius: var(--pm-radius);
  padding: 26px 26px 22px; position: relative; max-height: calc(100vh - 40px); overflow-y: auto;
}
.tp-modal h3 { margin: 0 0 4px; font-size: 19px; }
.tp-modal-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--tp-soft); }
.tp-modal-sub b { color: var(--pm-ink); }
.tp-modal-x {
  position: absolute; right: 10px; top: 10px; width: 32px; height: 32px;
  border: 0; background: none; font-size: 22px; color: #8b95a1; line-height: 1;
}
.tp-field { display: block; margin-bottom: 14px; }
.tp-field span { display: block; font-size: 13.5px; margin-bottom: 6px; color: #33414f; }
.tp-field i { color: #d64541; font-style: normal; margin-left: 2px; }
.tp-field input {
  width: 100%; padding: 10px 12px; font-size: 14.5px; border: 1px solid #ccd4dd;
  border-radius: 6px; outline: none;
}
.tp-field input:focus { border-color: var(--pm-brand); box-shadow: 0 0 0 2px rgba(15, 39, 64, .12); }
.tp-form-err {
  background: #fdf0ef; color: #c0392b; font-size: 13px; border-radius: 6px;
  padding: 8px 12px; margin: 0 0 12px;
}
.tp-form-note { font-size: 12px; color: #8b95a1; margin: 12px 0 0; }
.tp-reg-done { text-align: center; padding: 8px 0 2px; }
.tp-reg-done b { font-size: 18px; }
.tp-reg-done p { font-size: 14px; color: #33414f; margin: 12px 0 0; }

/* ---- 浮动入口：PC 右侧轻量 ---- */
.tp-float-contact {
  position: fixed; right: 18px; bottom: 120px; z-index: 90;
  padding: 10px 14px; border-radius: 6px; border: 1px solid #c8d2dd;
  background: #fff; color: var(--pm-brand); font-size: 13.5px; box-shadow: 0 4px 14px rgba(15, 23, 32, .1);
}

/* ---- 移动端底部行动栏 ---- */
.tp-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: #fff; border-top: 1px solid var(--pm-line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tp-mobile-bar button {
  flex: 1; height: 50px; border: 0; background: none; font-size: 15px; color: var(--pm-brand);
}
.tp-mobile-bar button:first-child { color: #fff; background: var(--pm-brand); }

/* ---- H5 重新排版（非等比缩小桌面版） ---- */
@media (max-width: 960px) {
  /* 窄屏文字横跨全宽：蒙层改上下渐变（上透出画面、下压实保文字） */
  .tp-hero::before { background: linear-gradient(180deg, rgba(10,25,47,.5) 0%, rgba(10,25,47,.78) 55%, rgba(15,39,64,.94) 100%); }
  .tp-cards { grid-template-columns: repeat(2, 1fr); }
  .og-hall-panel { flex-direction: column; align-items: stretch; gap: 26px; padding: 32px 24px; }
  .og-hall-art { flex: none; }
}
@media (max-width: 640px) {
  .tp-hero-inner { width: calc(100% - 28px); padding: 40px 0 34px; }
  .tp-hero-stats { gap: 26px; }
  .tp-stat b { font-size: 24px; }
  .tp-wrap { width: calc(100% - 28px); }
  .tp-sec { padding: 38px 0 4px; }
  .tp-sec-head h2 { font-size: 20px; }
  .tp-cards { grid-template-columns: 1fr; }
  .tp-direct { padding: 20px 16px; }
  .tp-direct-val { font-size: 17px; }
  .tp-contact { padding: 22px 18px; gap: 18px; }
  .tp-contact-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--pm-line); padding-top: 16px; flex: 1 1 100%; }
  .tp-float-contact { display: none !important; }
  .tp-mobile-bar { display: flex; }
  .promo-main { padding-bottom: 62px; } /* 底部行动栏不遮挡内容 */
  .promo-footer { padding-bottom: calc(24px + 50px + env(safe-area-inset-bottom)); } /* 行动栏不遮挡页脚 */
}
