/* ========== 子页公共样式（顶部栏 + 抽屉菜单 + 正文） ========== */

/* ---- 基础重置 ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: #0b2a8f;
  font-family: "Oswald", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 页面容器 */
.sub-page {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  min-height: 100%;
  overflow: hidden;
  background-color: #0b2a8f;
  display: flex;
  flex-direction: column;
}

/* 正文区：与首页中部同款渐变底；自适应撑开，保证尾图贴底 */
.sub-body {
  flex: 1;
  width: 100%;
  background-image: url("../images/center.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ========== 顶部栏 ========== */
.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a2f9e 0%, #08226e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 100;
  box-shadow: 0 2px 12px rgba(4, 12, 40, 0.45);
}

.topbar-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 56px;
}

/* 汉堡按钮 */
.menu-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== 全屏菜单（参考站样式：半透明遮罩 + 右侧面板 + 图标） ========== */
.menu-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  /* background: rgba(4, 12, 40, 0.55); */
  z-index: 120;
  /* opacity: 0; */
      background: rgba(0, 0, 0, 0.8);
    opacity: 0.85;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  /* align-items: center; */
  justify-content: flex-end;
}

body.menu-open .menu-overlay {
  /* opacity: 1; */
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

/* 关闭按钮 */
.menu-close {
  position: absolute;
  top: 14px;
  right: 100px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.menu-close:active {
  background: rgba(255, 255, 255, 0.28);
}

/* 菜单面板 */
.menu-panel {
  width: 50%;
  max-width: 330px;
  margin-right: 4%;
  /* background: rgba(7, 22, 68, 0.78); */
  /* border: 1px solid rgba(255, 255, 255, 0.16); */
  border-radius: 12px;
  padding: 8px 0;
  /* box-shadow: 0 12px 40px rgba(2, 6, 24, 0.55); */
  /* transform: translateX(26px); */
  transition: transform 0.3s ease;
  margin-top:100px;
}

body.menu-open .menu-panel {
  transform: none;
}

.menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-list a svg {
  width: 17px;
  height: 17px;
  flex: none;
  opacity: 0.85;
}

.menu-list a .label {
  flex: 1;
}

.menu-list a:active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 当前页高亮 + 右侧箭头 */
.menu-list a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-list a.is-active::after {
  content: "\203A";
  font-size: 22px;
  line-height: 1;
  color: #fff;
}

/* ========== 正文 ========== */
.sub-main {
  padding: 20px 35px 30px;
}

.article {
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
}

.page-title {
  text-align: center;
  font-size: clamp(28px, 7.5vw, 44px);
  font-weight: 800;
  letter-spacing: 2px;
  margin: 18px 0 26px;
  text-shadow: 0 3px 14px rgba(4, 16, 60, 0.6);
}

/* ---- 英文排版 ----
   英文不用两端对齐（justify 会拉出大空隙），统一左对齐；
   字体栈英文优先，行高略收，单词间距保持自然。 */
.article p {
  font-family: "Oswald", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 15px;
  text-align: left;
  word-spacing: normal;
  overflow-wrap: break-word;
}

/* 预留：中文段落（lang="zh"）恢复两端对齐 */
.article p:lang(zh) {
  text-align: justify;
  line-height: 1.9;
}

.article .center {
  text-align: center;
}

/* 用 .article p.event-name 提高优先级，避免被 .article p 的 justify 覆盖 */
.article p.event-name {
  text-align: center;
  font-size: clamp(17px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 20px 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(4, 16, 60, 0.6);
}

.article p.slogan {
  text-align: center;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 800;
  letter-spacing: 3px;
  margin: 24px 0 6px;
  color: #fff;
}

.sign {
  margin-top: 26px;
  text-align: right;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.divider {
  border: 0;
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

/* ---- Agenda（参考样式：圆点日期标题 + 时间/事项两栏，无边框） ---- */
.day {
  margin-bottom: 30px;
}

.day-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 12px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.5px;
  color: #fff;
}

.day-head::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}

.day-head .date {
  white-space: nowrap;
}

.day-head .sep {
  opacity: 0.5;
}

.article p.session-tag {
  margin: 4px 0 6px;
  padding-left: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #9fd0ff;
  text-align: left;
}

.agenda-item {
  display: flex;
  gap: 16px;
  padding: 7px 0 7px 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  align-items: baseline;
}

.agenda-item .time {
  min-width: 96px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}

.agenda-item .event {
  flex: 1;
}

.agenda-item.plain .time {
  display: none;
}

.agenda-item.plain {
  padding-left: 24px;
}

/* ---- Agenda 表格（参考样式：Time 徽章 + Event + Venue） ---- */
.agenda-table {
  margin: 4px 0 10px;
}

.agenda-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}

.agenda-head .col-time {
  width: 94px;
  flex: none;
}

.agenda-head .col-event {
  flex: 1.2;
}

.agenda-head .col-venue {
  flex: 1;
}

.agenda-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.badge-time {
  width: 94px;
  flex: none;
  padding: 3px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  color: #14358f;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
  white-space: nowrap;
}

.cell-event {
  flex: 1.2;
  color: #fff;
  overflow-wrap: break-word;
}

.cell-venue {
  flex: 1;
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: break-word;
}

/* 同时段两场活动：时间徽章拉大到与两行内容等高（参考 EVENT AGENDA 版式） */
.agenda-row.has-multi {
  align-items: stretch;
  padding: 9px 0;
}

.agenda-row.has-multi .badge-time {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  font-size: 11.5px;
}

@media (max-width: 374px) {
  .agenda-head .col-time,
  .badge-time {
    width: 84px;
  }

  .agenda-head,
  .agenda-row {
    gap: 8px;
  }
}

/* ---- Event Guide ---- */
.guide-item {
  padding: 16px 18px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid #67b6ff;
  border-radius: 0 8px 8px 0;
}

.guide-item h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 8px;
  color: #ffd76a;
}

.guide-item p {
  margin: 0;
  font-size: 14.5px;
}

/* 天气条目 */
.guide-item .weather-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
}

.weather-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.weather-row .day {
  flex: none;
  font-weight: 600;
  color: #fff;
}

.weather-row .desc {
  text-align: right;
  color: rgba(255, 255, 255, 0.88);
}

.guide-item .weather-hint {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 360px) {
  .weather-row {
    flex-direction: column;
    gap: 2px;
  }

  .weather-row .desc {
    text-align: left;
  }
}

/* ---- Venue Map ---- */
.venue-card {
  margin-bottom: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.article p.venue-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9fd0ff;
  margin-bottom: 6px;
  text-align: left;
}

/* 时间 / 小标题 / 平面布局图 */
.article p.venue-meta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

.article p.venue-sub {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9fd0ff;
  text-align: left;
}

.venue-map {
  display: block;
  width: 100%;
  margin-top: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  cursor: zoom-in;
  /* common.css 中 img 全局禁用了点击，这里恢复以便点击放大 */
  pointer-events: auto;
}

/* 图片放大查看 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(2, 8, 30, 0.95);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
}

.lightbox[hidden] {
  display: none;
}

/* 缩放通过改变真实渲染宽度实现（不用 transform: scale，避免放大后模糊）；
   容器为 flex 时使用 margin: auto，保证内容超出后仍可完整滚动 */
.lightbox-img {
  display: block;
  margin: auto;
  max-width: none;
  max-height: none;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  /* common.css 中 img 全局禁用了点击，这里恢复 */
  pointer-events: auto;
}

/* 用 fixed 而非 absolute：灯箱是可滚动容器，absolute 会随图片一起滚走 */
.lightbox-close {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: rgba(4, 12, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(2, 8, 30, 0.5);
}

.lightbox-hint {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 2;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  text-shadow: 0 1px 4px rgba(2, 8, 30, 0.9);
  font-family: "Oswald", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

body.is-locked {
  overflow: hidden;
}

.venue-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.venue-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.btn-directions {
  display: inline-block;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #0a2f9e;
  background: linear-gradient(180deg, #ffffff, #cfe4ff);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(4, 16, 60, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-directions:active {
  transform: scale(0.96);
  filter: brightness(1.08);
}

.article p.note {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Contact Us ---- */
.contact-block {
  margin-bottom: 28px;
}

.contact-block h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #9fd0ff;
  margin-bottom: 14px;
}

.hotline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(90deg, rgba(255, 108, 96, 0.28), rgba(255, 108, 96, 0.06));
  border: 1px solid rgba(255, 138, 128, 0.4);
  border-radius: 10px;
}

.hotline .label {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.hotline .tel {
  font-size: 22px;
  font-weight: 700;
  color: #ff9a90;
  letter-spacing: 1px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 4px;
  font-size: 14.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.contact-row .region {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-row .person {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
  color: rgba(255, 255, 255, 0.85);
}

.contact-row .person a {
  color: #9fd0ff;
  white-space: nowrap;
}

/* ---- 酒店联系人 ---- */
.hotel-card {
  padding: 14px 16px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.hotel-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.hotel-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.hotel-line .label {
  color: rgba(255, 255, 255, 0.7);
}

.hotel-line .val,
.hotel-line .tel {
  text-align: right;
  color: #9fd0ff;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .contact-row {
    flex-direction: column;
    gap: 2px;
  }

  .hotel-line {
    flex-direction: column;
    gap: 1px;
  }

  .hotel-line .val,
  .hotel-line .tel {
    text-align: left;
  }
}
