/* ============================================================
   2026 可持续全球领导者大会 · PC 论坛详情二级页样式
   参数取自 pc论坛详情二级页.psd(1920×3936)实测值
   内容区:1500px(x210-1710);头部/页脚沿用 pc-2026
   颜色:头图标题白 / 介绍区绿 #009600 / 议程卡 #EBEDEB
        标签绿 #3DB63D / 深色文字 #4B524B / 页脚 #3E753B
   按钮:立即预约 #51ED51(80%) 文字 #005F00
        已预约/已结束 #2DBB2D 文字 #005F00
   返回:#11ABD1(hover #058BC7)
   ============================================================ */

:root {
  --green: #00A300;
  --green-text: #3DB63D;
  --green-cta: #00BB0C;
  --green-title: #009600;
  --green-intro: #009600;      /* PSD 实测介绍区底色 */
  --green-footer: #3E753B;
  --ink: #4B524B;
  --line: rgba(0, 0, 0, .1);
  --bg-soft: #F2F3F2;          /* 议程区底(PSD 实测) */
  --card: #EBEDEB;             /* 议程卡片底(PSD 实测) */
  --btn-book: rgba(81, 237, 81, .8);
  --btn-state: #2DBB2D;
  --btn-txt: #005F00;
  --back: #11ABD1;
  --back-on: #058BC7;
  --rainbow: linear-gradient(90deg,
    #DCA63A 0 14.25%, #27BDE2 14.25% 28.5%, #FF3A20 28.5% 42.75%, #009F01 42.75% 57%,
    #E5233B 57% 71.25%, #1A486A 71.25% 85.5%, #DD1367 85.5% 100%);
  --header-h: clamp(64px, 5.2083vw, 100px);   /* PSD 实测 100px @1920 */
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container { width: 1500px; max-width: 94%; min-width: 1400px; margin: 0 auto; }

/* ---------- 入场动效 ---------- */
body.anim .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
body.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================== 头部导航(与 pc-2026 一致) ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: #202020; transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.header-inner {
  width: 1500px; max-width: 94%; height: 100%; margin: 0 auto;
  display: flex; align-items: center;
}
.logo { flex: none; display: flex; align-items: center; }
.logo-img { width: clamp(44px, 3.3854vw, 65px); height: clamp(44px, 3.3854vw, 65px); }

.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 48px); margin-left: auto; }
.nav-link {
  font-size: clamp(13px, 0.9375vw, 18px); color: #fff; padding: 8px 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--green-text); }
.caret-wrap { position: relative; display: inline-block; width: .95em; height: .65em; vertical-align: baseline; perspective: 200px; }
.caret-ic {
  position: absolute; left: 0; top: 50%; width: .95em; height: auto;
  transform: translateY(-50%) rotateX(0deg);
  transition: transform .5s ease, opacity .3s ease;
  backface-visibility: hidden;
}
.caret-ic.ic-up { opacity: 0; transform: translateY(-50%) rotateX(180deg); }
.nav-item.has-drop:hover .nav-link { color: var(--green-text); }
.nav-item.has-drop:hover .caret-ic.ic-down { opacity: 0; transform: translateY(-50%) rotateX(-180deg); }
.nav-item.has-drop:hover .caret-ic.ic-up { opacity: 1; transform: translateY(-50%) rotateX(0deg); }

.nav-item.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 113px; background: #141414; padding: 12px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown a { display: block; padding: 8px 12px; font-size: clamp(13px, 0.9375vw, 18px); line-height: 1.5; color: #D5D9D5; white-space: nowrap; text-align: center; }
.dropdown a:hover { color: var(--green-text); }
.nav-item.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ===================== 头图(PSD:0-801,导航浮于其上) ===================== */
.forum-hero {
  position: relative;
  background: url(https://n.sinaimg.cn/finance/esg2026/pc-forum/img/hero-bg.jpg) no-repeat center top / cover;
  /* PSD 头图 1920×801 */
  aspect-ratio: 1920 / 801;
  min-height: 520px;
}
.hero-inner { position: relative; width: 1500px; max-width: 94%; min-width: 1400px; height: 100%; margin: 0 auto; }

/* 返回按钮(PSD:224,151-427,204 → 203×53;容器左边 x210,故内偏 14px) */
.btn-back {
  position: absolute; left: 14px; top: calc(151 / 801 * 100%);
  width: 203px; height: 53px; border-radius: 27px;
  background: var(--back); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; letter-spacing: 2px;
  transition: background .25s ease, transform .2s ease;
}
.btn-back:hover { background: var(--back-on); color: #fff; }
.btn-back:active { transform: scale(.97); }

/* 标题底衬(PSD:201,271-1702,547 → 1501×276;容器 x210-1710,故左 -9 右 8) */
.hero-title-box {
  position: absolute; left: -9px; right: 8px; top: calc(271 / 801 * 100%);
  /* 英文副标题无数据时高度自适应收缩,不留空白 */
  /* background: rgba(0, 126, 0, .72); */
  padding: 38px 24px 34px;
}
.hero-title { font-size: 52px; font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: 1px; }
.hero-title-en { margin-top: 20px; font-size: 40px; font-weight: 700; color: #fff; line-height: 1.24; letter-spacing: .5px; }

/* ===================== 论坛介绍(PSD:650-993,绿底,压头图底部 151px) ===================== */
.forum-intro {
  position: relative; z-index: 1;
  margin-top: calc(-151 / 1920 * 100%);
  background: var(--green-intro);
  padding: 76px 0 53px;
}
.intro-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.intro-title { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.25; flex: 1; min-width: 0; }

/* 预约状态按钮组(PSD:175×52,圆角 8) */
.intro-actions { flex: none; display: flex; flex-direction: column; gap: 9px; }
.intro-actions button {
  width: 175px; height: 52px; border-radius: 8px;
  font-size: 24px; color: var(--btn-txt);
  transition: filter .2s ease, transform .2s ease;
}
.intro-actions button:hover { filter: brightness(1.06); }
.intro-actions button:active { transform: scale(.97); }
#btnBook { background: var(--btn-book); }
.intro-actions[data-state="booked"] #btnBook,
.intro-actions[data-state="ended"] #btnBook { background: var(--btn-state); }
.intro-actions[data-state="ended"] #btnBook { cursor: not-allowed; opacity: .9; }
.intro-actions[data-state="ended"] #btnBook:hover { filter: none; }

/* 场地 + 时间(PSD:800-853) */
.intro-meta { display: flex; align-items: center; gap: 29px; margin-top: 36px; }
.meta-hall {
  height: 53px; padding: 0 30px; border-radius: 4px;
  background: rgba(0, 0, 0, .12);
  display: inline-flex; align-items: center;
  font-size: 40px; font-weight: 700; color: #FFF79B; line-height: 1;
}
.meta-time { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; color: #fff; }
.meta-clock { width: 19px; height: 19px; }
.meta-time em { font-style: normal; }

/* 介绍文案(PSD:887-940,22px/32) */
.intro-desc { margin-top: 34px; font-size: 22px; line-height: 32px; color: #fff; }

/* ===================== 通用区块头 ===================== */
.sec-head { display: inline-flex; flex-direction: column; align-items: stretch; padding: 85px 0 66px; }
.sec-title { display: flex; align-items: baseline; gap: 16px; }
.sec-title .en { font-size: 40px; font-weight: 300; letter-spacing: 1px; color: var(--ink); }
.sec-title .cn { font-size: 40px; font-weight: 700; color: var(--ink); }
.rainbow-bar { display: block; width: 100%; height: 9px; margin-top: 18px; background: var(--rainbow); }
.rainbow-strip {
  display: block; height: 6px;
  background: linear-gradient(90deg,
    #DCA63A 0 270px, #27BDE2 270px 540px, #FF3A20 540px 810px, #009F01 810px 1080px,
    #E5233B 1080px 1350px, #1A486A 1350px 1620px, #DD1367 1620px 1890px);
  background-size: 1890px 100%;
}

/* ===================== 议程时间轴(PSD:1078-3054) ===================== */
.agenda { position: relative; background: var(--bg-soft); padding-bottom: 122px; overflow: hidden; }

/* 时间轴:竖线 x372-376(4px,20% 黑),圆点直径 19,卡片 x426 起
   PSD 时间为「13:00」,接口实际为「09:00-09:15」区间,故时间列加宽至 200px 避免换行 */
.ag-timeline { position: relative; padding-left: 242px; }
.ag-timeline::before {
  content: ""; position: absolute; left: 188px; top: 42px; bottom: 3px;
  width: 4px; background: rgba(75, 81, 75, .2);
}
.ag-item { position: relative; }
.ag-item + .ag-item { margin-top: 46px; }

/* 时间 + 圆点(PSD:时间 x242-337,圆点 x365-384) */
.ag-time {
  position: absolute; left: -242px; top: 42px;
  width: 200px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 32px; color: var(--ink); line-height: 1;
}
.ag-time span { white-space: nowrap; }
.ag-dot {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  background: var(--bg-soft); border: 5px solid #00C400;
  box-sizing: border-box;
}

/* 议程卡片(PSD:426-1684,底 #EBEDEB) */
.ag-card {
  background: var(--card); border-radius: 4px;
  padding: 42px 33px 40px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ag-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .08); transform: translateY(-3px); }
/* 议程分组标签(PSD:竖条 9×31 + 32px 绿字) */
.ag-tag { display: flex; align-items: center; gap: 20px; font-size: 32px; font-weight: 700; color: var(--green-text); line-height: 1; }
.ag-tag::before { content: ""; flex: none; width: 9px; height: 31px; background: var(--green-text); }
.ag-topic { margin-top: 18px; font-size: 30px; font-weight: 700; color: var(--ink); line-height: 34px; }

/* 嘉宾列表(PSD:单列 470-1299;圆桌为双列) */
.ag-guests { margin-top: 25px; display: grid; grid-template-columns: 1fr; gap: 30px 132px; }
.ag-guests + .ag-guests { margin-top: 30px; }
.ag-guests.cols-2 { grid-template-columns: repeat(2, 1fr); }
.guest { display: flex; align-items: flex-start; gap: 12px; }
/* 头像(PSD:99×99,外描白边 462-571 → 5px) */
.guest-photo {
  flex: none; width: 99px; height: 99px; border-radius: 6px; object-fit: cover;
  background: #DCDEDC; box-shadow: 0 0 0 5px rgba(255, 255, 255, .9);
}
.guest-info { flex: 1; min-width: 0; padding-top: 20px; }
.guest-name { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
/* 主持人徽标(PSD:64×27 描边胶囊) */
.guest-badge {
  flex: none; height: 27px; padding: 0 10px; border-radius: 14px;
  border: 1px solid var(--ink); font-size: 13px; font-weight: 400; color: var(--ink);
  display: inline-flex; align-items: center; line-height: 1;
}
.guest-title { margin-top: 13px; font-size: 18px; line-height: 24px; color: var(--ink); }

/* ===================== 页脚(与 pc-2026 一致) ===================== */
.site-footer { background: var(--green-footer); }
.footer-grid { display: flex; gap: 263px; padding: 83px 0 62px; }
.f-social { flex: none; }
.f-social h4, .f-contact h4 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 31px; }
.social-icons { display: flex; gap: 10px; margin-bottom: 30px; }
.social-icon { width: 54px; height: 54px; display: block; transition: transform .25s ease; }
.social-icon img { width: 100%; height: 100%; }
.social-icon:hover { transform: translateY(-3px); }
.qr-box { width: 183px; height: 183px; border-radius: 16px; overflow: hidden; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: cover; }

.f-contact { flex: 1; min-width: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 60px; }
.contact-group h5 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.contact-group p { font-size: 18px; color: #fff; line-height: 1.56; }

.footer-bottom {
  background: #009F00; text-align: center; color: #fff;
  padding: 66px 0 70px; font-size: 16px; line-height: 2.4;
}
.footer-bottom .f-links a { padding: 0 14px; }

/* ===================== 右侧悬浮工具条(PSD:50×50) ===================== */
.float-bar {
  position: fixed; right: max(24px, calc(50% - 777px)); top: 80%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column;
}
.float-item { width: 50px; height: 50px; cursor: pointer; position: relative; flex: none; }
.float-item .ic, .float-item .ic-on { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s ease; }
.float-item .ic-on { opacity: 0; }
.float-item:hover .ic-on { opacity: 1; }
.float-item:hover .ic { opacity: 0; }
.wechat-pop {
  position: absolute; right: 62px; top: 50%; transform: translateY(-50%) translateX(8px);
  width: 140px; background: #fff; border-radius: 8px; padding: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18); text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.wechat-pop img { width: 116px; height: 116px; }
.wechat-pop p { font-size: 12px; color: var(--ink); margin-top: 6px; }
.float-wechat:hover .wechat-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* ===================== 响应式(笔记本小屏) ===================== */
@media (max-width: 1560px) {
  .container, .hero-inner { width: 1200px; min-width: 1200px; }
  .header-inner { width: auto; padding: 0 30px; }
  .hero-title { font-size: 42px; }
  .hero-title-en { font-size: 32px; }
  .intro-title { font-size: 34px; }
  .meta-hall { font-size: 32px; height: 46px; padding: 0 22px; }
  .ag-timeline { padding-left: 212px; }
  .ag-timeline::before { left: 166px; }
  .ag-time { left: -212px; width: 178px; font-size: 28px; }
  .ag-guests { gap: 26px 60px; }
  .footer-grid { gap: 80px; }
}
