/* ===================== 展会列表页面样式 ===================== */

/* 通用容器收窄，保持与业务页一致 */
#latest > .container,
#schedule > .container {
  width: 75%;
  max-width: 75%;
}

.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
@media (min-width:768px) { .section-head h2 { font-size: 40px; } }
.section-head p { color: var(--muted-foreground); }

/* ---------- 最新展会卡片 ---------- */
#latest { padding: 80px 0; }
.exhi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width:768px) {
  .exhi-grid { grid-template-columns: repeat(2, 1fr); }
}
.exhi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-long), box-shadow var(--transition-long);
}
.exhi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.exhi-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.exhi-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.exhi-card:hover .exhi-media img { transform: scale(1.04); }
.exhi-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px;
}
.exhi-badge.hot { background: #c0392b; }
.exhi-badge.done { background: rgba(0,0,0,0.6); }
.exhi-badge.pre { background: #2c6e9e; }
.exhi-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.exhi-tags { display: flex; gap: 8px; }
.exhi-tag {
  background: #f0f0f0;
  color: #444;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
}
.exhi-title { font-size: 22px; font-weight: 600; line-height: 1.4; }
.exhi-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.exhi-meta li { font-size: 14px; color: #555; display: flex; gap: 8px; }
.exhi-meta li span {
  color: #999;
  min-width: 44px;
  flex: none;
}
.exhi-desc { font-size: 14px; color: #666; line-height: 1.7; }
.exhi-link { font-size: 14px; color: #111; font-weight: 500; margin-top: auto; }

/* ---------- 展会日程表 ---------- */
#schedule { padding: 80px 0; background: #f7f7f7; }
.schedule-list {
  display: flex;
  flex-direction: column;
}
.schedule-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.schedule-row:first-child { border-top: 1px solid var(--border); }
.s-date {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.s-year {
  font-size: 26px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}
.s-status {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
}
.s-status.upcoming { color: #c0392b; border-color: #c0392b; background: rgba(192,57,43,0.06); }
.s-status.done2 { color: #888; border-color: #ccc; background: #fff; }
.s-info .s-name { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.s-info .s-sub { font-size: 14px; color: #888; }
.s-cta a {
  font-size: 14px;
  color: #111;
  text-decoration: none;
  border: 1px solid #333;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.s-cta a:hover { background: #333; color: #fff; }

/* ---------- 预约参观弹窗 ---------- */
.book-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 400;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.book-modal.open { opacity: 1; pointer-events: auto; }
.book-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  transform: translateY(16px) scale(.98);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.book-modal.open .book-panel { transform: translateY(0) scale(1); }
.book-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.06);
  color: #333;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), transform var(--transition-base);
}
.book-close:hover { background: rgba(0,0,0,.14); transform: rotate(90deg); }
.book-title { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.book-exhi {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 18px;
  line-height: 1.6;
}
.book-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-benefits li {
  font-size: 14px;
  color: #333;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f5f7;
  border-left: 3px solid var(--primary);
  line-height: 1.5;
}
.book-form { display: flex; flex-direction: column; gap: 16px; }
.book-field { display: flex; flex-direction: column; gap: 6px; }
.book-field span { font-size: 14px; color: #333; }
.book-field input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.book-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.book-submit {
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition-base);
}
.book-submit:hover { background: #111; }
.book-success {
  text-align: center;
  color: #2e7d32;
  font-size: 16px;
  padding: 40px 0;
  line-height: 1.8;
}
.book-error {
  text-align: center;
  color: #c62828;
  font-size: 14px;
  padding: 14px 0 0;
  line-height: 1.6;
}
.book-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}
@media (max-width:767px) {
  .book-panel { padding: 32px 22px 26px; }
}

@media (max-width:767px) {
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .s-date { flex-direction: row; align-items: center; }
}

/* ---------- 参展邀请 ---------- */
.invite {
  padding: 100px 0;
  background:
    linear-gradient(rgba(7,7,7,0.72), rgba(7,7,7,0.72)),
    url('../img/ending-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.invite-inner { width: 75%; margin: 0 auto; }
.invite h2 { font-size: 34px; margin-bottom: 18px; }
@media (min-width:768px) { .invite h2 { font-size: 44px; } }
.invite p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.8; margin-bottom: 36px; }
.invite-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-base);
}
.btn-primary { background: #fff; color: #111; }
.btn-primary:hover { background: #e6e6e6; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }


/* ===== 展会日程：进行中状态 ===== */
.s-status.hot { color: #0f4c9e; border-color: #0f4c9e; background: rgba(15,76,158,0.06); }
