/* ============================================================
   Company Journey — 统一样式表
   §1 表单页 .htw-jw   （对齐设计稿）
   §2 结果页 .htw-jr   （对齐结果页设计稿）
   §3 WordPress 主题防护（防全局 button:hover / :focus 覆盖）
   §4 打印/导出 PDF 专用样式
   ============================================================ */
/* ======== §1 表单页样式（对齐设计稿）======== */
.htw-jw {
  --htw-ink: #0E1430; --htw-cta: #FF6A00; --htw-accent: #B4490C; --htw-tint: #FFF1E8;
  --htw-border: #DDE1EC; --htw-field: #C5CBDB; --htw-muted: #4A5168; --htw-error: #B42318; --htw-bg: #F6F7FB;
  --htw-font: inherit;
  font-family: var(--htw-font); background: var(--htw-bg); border-bottom: 1px solid #E1E5EF;
  padding: 24px 32px; color: var(--htw-ink); box-sizing: border-box;
}
.htw-jw *, .htw-jw *::before, .htw-jw *::after { box-sizing: border-box; }
.htw-jw [hidden] { display: none !important; }
.htw-jw h1, .htw-jw h2, .htw-jw h3, .htw-jw p, .htw-jw ul, .htw-jw ol { margin: 0; }
.htw-jw ul, .htw-jw ol { list-style: none; padding: 0; }
.htw-jw button, .htw-jw input, .htw-jw select { font-family: inherit; }
.htw-jw__inner { max-width: 1280px; margin: 0 auto; }
.htw-jw__card { position: relative; margin: 0; background: #fff; border: 1px solid var(--htw-border); border-radius: 16px; box-shadow: 0 6px 20px rgba(14,20,48,.06); }
.htw-jw__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 20px; padding: 18px 60px 18px 24px; }
.htw-jw__intro { flex: 1 1 320px; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 4px; }
.htw-jw__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--htw-accent); text-transform: uppercase; }
.htw-jw__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--htw-accent); box-shadow: 0 0 0 3px rgba(236,105,27,.18); flex: none; }
.htw-jw__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; }
.htw-jw__field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.htw-jw__label { font-size: 13px; font-weight: 600; }
.htw-jw__input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--htw-field); border-radius: 12px !important; font: inherit; font-size: 16px; color: var(--htw-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.htw-jw__input:focus { outline: none; border-color: #EC691B; box-shadow: 0 0 0 3px rgba(236,105,27,.22); }
.htw-jw__input[aria-invalid="true"] { border: 2px solid var(--htw-error); background: #FFFBFA; }
/* ---------- 部门下拉框（select）自定义样式 ---------- */
.htw-jw select.htw-jw__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5168' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 40px;
  cursor: pointer;
  line-height: 46px;
}
/* 未选择（value="" + required）时显示为占位色 */
.htw-jw select.htw-jw__input:invalid {
  color: var(--htw-muted);
}
.htw-jw select.htw-jw__input option {
  color: var(--htw-ink);
}
.htw-jw select.htw-jw__input option[value=""] {
  color: var(--htw-muted);
}
.htw-jw select.htw-jw__input:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B4490C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
}
/* ---------- 部门下拉框样式结束 ---------- */
.htw-jw__error { margin: 0; font-size: 13px; font-weight: 500; color: var(--htw-error); }
.htw-jw__submit { flex: none; align-self: flex-start; margin-top: 25px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--htw-cta); color: var(--htw-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.htw-jw__submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,106,0,.35); }
.htw-jw__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #5A6178; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.htw-jw__close:hover { background: #EEF0F5; color: var(--htw-ink); }
.htw-jw a, .htw-jw__link { color: var(--htw-accent); font-weight: 600; }
.htw-jw a:hover, .htw-jw__link:hover { color: var(--htw-ink); }
.htw-jw__link { background: none; border: 0; padding: 0 6px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.htw-jw :focus-visible { outline: 3px solid #EC691B; outline-offset: 2px; }
.htw-jw__collapsed { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--htw-muted); }
.htw-jw__toggle { display: none; }
.htw-jw__combo { position: relative; }
.htw-jw__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 328px; overflow-y: auto; background: #fff; border: 1px solid var(--htw-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(14,20,48,.16); }
/* 【新增】当输入框下方空间不足时，列表改为向上弹出（模拟原生 <select> 行为） */
.htw-jw__list--up { top: auto; bottom: calc(100% + 6px); }
.htw-jw__opt { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.htw-jw__opt:hover, .htw-jw__opt.is-active { background: var(--htw-tint); }
.htw-jw__list-note { padding: 12px 10px; font-size: 13px; color: var(--htw-muted); }
.htw-jw__status { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 18px 24px; min-height: 114px; overflow: hidden; }
.htw-jw__who { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.htw-jw__who a { align-self: flex-start; font-size: 13px; }
.htw-jw__steps { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.htw-jw__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.htw-jw__step::before { content: ""; position: absolute; top: 10px; left: 22px; right: -12px; height: 2px; background: #DDE1EC; }
.htw-jw__step:last-child::before { display: none; }
.htw-jw__step.is-done::before { background: var(--htw-ink); }
.htw-jw__mark { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #C5CBDB; background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.htw-jw__mark svg { display: none; }
.htw-jw__step.is-active .htw-jw__mark { border-color: var(--htw-ink); animation: htwJwPulse 1.4s ease-out infinite; }
.htw-jw__step.is-done .htw-jw__mark { border: 0; background: var(--htw-ink); }
.htw-jw__step.is-done .htw-jw__mark svg { display: block; }
.htw-jw__step-title { font-size: 14px; font-weight: 600; }
.htw-jw__step-sub { font-size: 13px; color: var(--htw-muted); }
.htw-jw__aside { flex: none; width: 200px; display: flex; justify-content: flex-end; font-size: 13px; text-align: right; line-height: 1.4; }
.htw-jw__slow { color: var(--htw-accent); font-weight: 600; text-decoration: none; }
.htw-jw__opening { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--htw-ink); }
.htw-jw__spin { animation: htwJwSpin .9s linear infinite; }
@keyframes htwJwPulse { 0% { box-shadow: 0 0 0 0 rgba(236,105,27,.45); } 70% { box-shadow: 0 0 0 10px rgba(236,105,27,0); } 100% { box-shadow: 0 0 0 0 rgba(236,105,27,0); } }
@keyframes htwJwSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .htw-jw__step.is-active .htw-jw__mark, .htw-jw__spin { animation: none; } }
@media (max-width: 1199px) { .htw-jw__intro { flex-basis: 100%; } }
@media (max-width: 767px) {
  .htw-jw { padding: 16px; }
  .htw-jw__toggle { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 14px 14px 16px; border: 0; background: transparent; text-align: left; font: inherit; color: var(--htw-ink); cursor: pointer; }
  .htw-jw__badge { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--htw-tint); color: var(--htw-accent); display: flex; align-items: center; justify-content: center; }
  .htw-jw__toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .htw-jw__toggle-title { font-size: 16px; font-weight: 600; }
  .htw-jw__toggle-sub { font-size: 13px; color: var(--htw-muted); }
  .htw-jw__chev { flex: none; color: var(--htw-accent); transition: transform .2s; }
  .htw-jw.is-open .htw-jw__chev { transform: rotate(180deg); }
  .htw-jw__body { display: none; flex-direction: column; align-items: stretch; gap: 14px; padding: 0 16px 16px; }
  .htw-jw.is-open .htw-jw__body { display: flex; }
  .htw-jw__intro { flex: none; }
  .htw-jw__body .htw-jw__eyebrow { display: none; }
  .htw-jw__title { font-size: 16px; }
  .htw-jw__field { flex: none; }
  .htw-jw__submit { width: 100%; margin-top: 0; font-size: 16px; }
  .htw-jw__close { display: none; }
  .htw-jw__status { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; min-height: 0; }
  .htw-jw__who, .htw-jw__steps { flex: none; }
  .htw-jw__steps { grid-template-columns: 1fr; gap: 14px; }
  .htw-jw__step { padding: 2px 0 0 36px; min-height: 22px; }
  .htw-jw__step::before { top: 26px; bottom: -14px; left: 10px; right: auto; width: 2px; height: auto; }
  .htw-jw__aside { width: auto; justify-content: flex-start; text-align: left; }
  .htw-jw__aside .htw-jw__slow { display: none; }
  .htw-jw__aside:has(> .htw-jw__slow:only-child) { display: none; }
}
/* ======== §2 结果页样式（对齐结果页设计稿）======== */
.htw-jr {
  --htw-ink: #0E1430;
  --htw-cta: #FF6A00;
  --htw-accent: #B4490C;
  --htw-peach: #FFB27A;
  --htw-tint: #FFF1E8;
  --htw-hover: #FFF8F3;
  --htw-border: #DDE1EC;
  --htw-line: #C5CBDB;
  --htw-muted: #4A5168;
  --htw-bg: #F6F7FB;
  --htw-font: inherit;
  --htw-display: inherit;
  font-family: var(--htw-font);
  color: var(--htw-ink);
  background: var(--htw-bg);
  -webkit-font-smoothing: antialiased;
}
.htw-jr *, .htw-jr *::before, .htw-jr *::after { box-sizing: border-box; }
.htw-jr [hidden] { display: none !important; }
.htw-jr h1, .htw-jr h2, .htw-jr h3, .htw-jr p, .htw-jr ul, .htw-jr ol { margin: 0; }
.htw-jr ul, .htw-jr ol { list-style: none; padding: 0; }
.htw-jr a { color: var(--htw-accent); }
.htw-jr a:hover { color: var(--htw-ink); }
.htw-jr :focus-visible { outline: 3px solid #EC691B; outline-offset: 2px; }
.htw-jr__wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.htw-jr__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--htw-accent); }
.htw-jr__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px;
  border-radius: 999px; background: var(--htw-cta); color: var(--htw-ink) !important; font-size: 17px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s;
}
.htw-jr__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.htw-jr__ghost {
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--htw-line); background: #fff;
  color: var(--htw-ink); font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.htw-jr__ghost:hover { border-color: #EC691B; color: var(--htw-accent); }
.htw-jr__ghost svg { transition: transform .2s; }
.htw-jr__ghost[aria-expanded="true"] svg { transform: rotate(180deg); }
/* ---------- A · Hero ---------- */
.htw-jr__hero {
  background-color: var(--htw-ink); color: #fff;
  background-image: linear-gradient(rgba(255,178,122,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,178,122,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.htw-jr__hero .htw-jr__wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.htw-jr__hero :focus-visible { outline-color: var(--htw-peach); }
.htw-jr__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.htw-jr__chips .htw-jr__eyebrow { color: var(--htw-peach); margin-right: 6px; }
.htw-jr__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,178,122,.4); font-size: 14px; color: #E6EAF5; }
.htw-jr__edit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--htw-peach) !important; }
.htw-jr__edit:hover { color: #fff !important; }
.htw-jr__headline { font-family: var(--htw-display); font-size: 56px; line-height: 1.06; font-weight: 600; letter-spacing: -.02em; max-width: 920px; text-wrap: balance; }
.htw-jr__intro { max-width: 760px; font-size: 19px; line-height: 1.6; color: #C9D0E6; margin-top: -12px; }
.htw-jr__reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.htw-jr__reason { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,178,122,.22); display: flex; flex-direction: column; gap: 8px; }
.htw-jr__reason .htw-jr__eyebrow { color: var(--htw-peach); font-size: 13px; font-weight: 500; }
.htw-jr__reason strong { font-size: 18px; font-weight: 600; }
.htw-jr__reason span:last-child { font-size: 15px; line-height: 1.5; color: #C9D0E6; }
.htw-jr__hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.htw-jr__summary { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #B7BFD9; }
/* ---------- B–D · Journey rail ---------- */
.htw-jr__body { padding-top: 64px; }
.htw-jr__section { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; }
.htw-jr__rail { position: relative; display: flex; justify-content: center; }
.htw-jr__rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 23px; width: 2px; background: var(--htw-line); }
.htw-jr__section:first-child .htw-jr__rail::before { top: 36px; }
.htw-jr__stop { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--htw-ink); background: #fff; }
.htw-jr__content { min-width: 0; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.htw-jr__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.htw-jr__head > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.htw-jr__head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.htw-jr__more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--htw-line); background: #fff;
  color: var(--htw-ink) !important; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}
.htw-jr__more:hover, .htw-jr__more:focus {
  border-color: #EC691B; color: var(--htw-accent) !important; text-decoration: none;
}
.htw-jr__more svg { transition: transform .15s; }
.htw-jr__more:hover svg, .htw-jr__more:focus svg { transform: translateX(3px); }
.htw-jr__h2 { font-family: var(--htw-display); font-size: 32px; line-height: 1.15; font-weight: 600; }
.htw-jr__sub { font-size: 16px; color: var(--htw-muted); }
/* cards (shared) */
.htw-jr__card {
  position: relative; background: #fff; border: 1px solid var(--htw-border); border-radius: 16px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.htw-jr__card:hover, .htw-jr__card:focus-within { transform: translateY(-4px); border-color: #EC691B; box-shadow: 0 14px 30px rgba(14,20,48,.10); }
.htw-jr__stretch { color: var(--htw-ink) !important; text-decoration: none; }
.htw-jr__stretch::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.htw-jr__stretch:focus-visible { outline: none; }
.htw-jr__card:has(.htw-jr__stretch:focus-visible) { outline: 3px solid #EC691B; outline-offset: 2px; }
/* B · Exhibitors */
.htw-jr__arrows { display: flex; gap: 8px; }
.htw-jr__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--htw-line); background: #fff; color: var(--htw-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.htw-jr__arrow:disabled { opacity: .35; cursor: default; }
.htw-jr__arrow:not(:disabled):hover { border-color: #EC691B; color: var(--htw-accent); }
.htw-jr__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 16px; margin: -8px -4px 0; }
.htw-jr__track::-webkit-scrollbar { display: none; }
.htw-jr__ex { flex: 0 0 290px; scroll-snap-align: start; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.htw-jr__track.is-single .htw-jr__ex { flex-basis: min(100%, 620px); }
.htw-jr__logo {
  width: 100%;
  max-width: 140px;
  height: 100px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--htw-border);
  background: var(--htw-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 20px;
  font-weight: 600;
  color: var(--htw-muted);
  box-sizing: border-box;
}
.htw-jr__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.htw-jr__name { display: flex; flex-direction: column; gap: 4px; }
.htw-jr__name h3 { font-size: 18px; font-weight: 600; }
.htw-jr__booth { font-size: 12px; color: #5A6178; }
.htw-jr__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.htw-jr__tags li { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--htw-border); background: var(--htw-bg); font-size: 12px; line-height: 1.4; color: #2A3150; }
.htw-jr__why { margin-top: auto; padding: 8px 12px; border-radius: 8px; background: var(--htw-tint); display: flex; flex-direction: column; gap: 3px; }
.htw-jr__why b { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--htw-accent); }
.htw-jr__why span { font-size: 14px; font-weight: 500; line-height: 1.4; }
/* C · Sessions */
.htw-jr__sessions { background: #fff; border: 1px solid var(--htw-border); border-radius: 16px; overflow: hidden; }
.htw-jr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 22px 24px; border-bottom: 1px solid #E6E9F2; transition: background-color .15s; }
.htw-jr__row:last-child { border-bottom: 0; }
.htw-jr__row:hover { background: var(--htw-hover); }
.htw-jr__when { flex: 0 0 132px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--htw-muted); }
.htw-jr__when strong { font-size: 20px; font-weight: 500; color: var(--htw-ink); }
.htw-jr__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.htw-jr__stage { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #EEF0F5; font-size: 12px; font-weight: 600; color: #2A3150; }
.htw-jr__title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--htw-ink) !important; text-decoration: none; }
.htw-jr__row:hover .htw-jr__title { text-decoration: underline; }
.htw-jr__speaker { font-size: 14px; color: var(--htw-muted); }
.htw-jr__reason-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--htw-accent); }
.htw-jr__center { display: flex; justify-content: center; }
/* D · Speakers */
.htw-jr__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.htw-jr__filter { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--htw-line); background: #fff; color: var(--htw-ink); font: inherit; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; }
.htw-jr__filter span { color: #5A6178; }
.htw-jr__filter:hover { border-color: #EC691B; }
.htw-jr__filter[aria-pressed="true"] { background: var(--htw-ink); border-color: var(--htw-ink); color: #fff; font-weight: 600; }
.htw-jr__filter[aria-pressed="true"] span { color: var(--htw-peach); }
.htw-jr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.htw-jr__sp { overflow: hidden; display: flex; flex-direction: column; }
.htw-jr__photo { width: 100%; aspect-ratio: 1 / 1; height: auto; overflow: hidden; background: var(--htw-border); }
.htw-jr__photo > * { width: 100%; height: 100%; transition: transform .25s; }
.htw-jr__photo img { object-fit: cover; display: block; }
.htw-jr__photo div { display: flex; align-items: center; justify-content: center; color: #8A91A8; }
.htw-jr__sp:hover .htw-jr__photo > *, .htw-jr__sp:focus-within .htw-jr__photo > * { transform: scale(1.03); }
.htw-jr__sp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.htw-jr__sp-body h3 { font-size: 18px; font-weight: 600; }
.htw-jr__sp-role { font-size: 14px; color: var(--htw-muted); }
.htw-jr__sp-when { margin-top: 12px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #5A6178; }
.htw-jr__sp-sess { position: relative; z-index: 1; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.htw-jr__sp:hover .htw-jr__sp-sess { text-decoration: underline; }
/* Floating Register */
.htw-jr__float { position: sticky; bottom: 20px; z-index: 30; display: flex; justify-content: center; pointer-events: none; padding: 8px 0 24px; }
.htw-jr__float-in { pointer-events: auto; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--htw-ink); color: #fff; box-shadow: 0 16px 40px rgba(14,20,48,.35); }
.htw-jr__float-in > span { font-size: 14px; color: #D7DCEC; }
.htw-jr__float .htw-jr__btn { min-height: 48px; padding: 0 26px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) {
  .htw-jr__card, .htw-jr__photo > *, .htw-jr__btn, .htw-jr__more, .htw-jr__more svg { transition: none; }
  .htw-jr__track { scroll-behavior: auto; }
}
/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .htw-jr__headline { font-size: 44px; }
}
/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .htw-jr__wrap { padding-left: 20px; padding-right: 20px; }
  .htw-jr__hero .htw-jr__wrap { padding-top: 32px; padding-bottom: 36px; gap: 20px; }
  .htw-jr__chips .htw-jr__eyebrow { display: none; }
  .htw-jr__chip { font-size: 13px; min-height: 30px; padding: 0 10px; }
  .htw-jr__headline { font-size: 30px; line-height: 1.12; }
  .htw-jr__intro { font-size: 16px; margin-top: 0; }
  .htw-jr__reasons { gap: 10px; }
  .htw-jr__reason { padding: 16px; gap: 4px; }
  .htw-jr__reason .htw-jr__eyebrow { font-size: 12px; }
  .htw-jr__reason strong { font-size: 16px; }
  .htw-jr__reason span:last-child { display: none; }
  .htw-jr__hero-cta .htw-jr__btn { width: 100%; min-height: 52px; font-size: 16px; }
  .htw-jr__summary { display: none; }
  .htw-jr__body { padding-top: 36px; }
  .htw-jr__body > .htw-jr__wrap { padding-left: 0; padding-right: 0; }
  .htw-jr__section { display: block; }
  .htw-jr__rail { display: none; }
  .htw-jr__content { padding-bottom: 44px; gap: 16px; }
  .htw-jr__head { padding: 0 20px; }
  .htw-jr__head-actions { width: 100%; gap: 8px; justify-content: flex-start; }
  .htw-jr__more { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .htw-jr__h2 { font-size: 22px; }
  .htw-jr__sub { font-size: 14px; }
  .htw-jr__head .htw-jr__arrows { display: none; }
  .htw-jr__track { gap: 12px; padding: 0 20px 6px; margin: 0; scroll-padding-left: 20px; }
  .htw-jr__ex { flex-basis: 290px; padding: 18px; }
  .htw-jr__card:hover, .htw-jr__card:focus-within { transform: none; }
  .htw-jr__sessions, .htw-jr__session-more { margin: 0 20px; }
  .htw-jr__row { flex-direction: column; align-items: stretch; gap: 8px; padding: 18px; }
  .htw-jr__when { flex: none; flex-direction: row; gap: 8px; align-items: center; font-size: 12px; }
  .htw-jr__when strong { font-size: 12px; color: var(--htw-muted); }
  .htw-jr__info { flex: none; }
  .htw-jr__title { font-size: 17px; }
  .htw-jr__session-more .htw-jr__ghost { width: 100%; justify-content: center; }
  .htw-jr__filters { flex-wrap: nowrap; overflow-x: auto; padding: 0 20px; scrollbar-width: none; }
  .htw-jr__filters::-webkit-scrollbar { display: none; }
  .htw-jr__filter { flex: none; padding: 0 14px; }
  .htw-jr__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 20px 6px; }
  .htw-jr__grid::-webkit-scrollbar { display: none; }
  .htw-jr__sp { flex: 0 0 220px; scroll-snap-align: start; }
  .htw-jr__photo { height: auto; }
  .htw-jr__sp-body { padding: 14px 16px 16px; }
  .htw-jr__sp-body h3 { font-size: 16px; }
  .htw-jr__speaker-more { display: none !important; }
  .htw-jr__float { bottom: 0; padding: 0; justify-content: stretch; }
  .htw-jr__float-in { width: 100%; justify-content: space-between; border-radius: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; color: var(--htw-ink); border-top: 1px solid var(--htw-border); box-shadow: 0 -8px 24px rgba(14,20,48,.08); }
  .htw-jr__float-in > span { color: var(--htw-muted); font-size: 13px; }
}
/* ============================================================
   §3 WordPress 主题防护：阻止主题全局 button:hover / :focus 覆盖组件样式
   ============================================================ */
.htw-jw .htw-jw__submit:hover,
.htw-jw .htw-jw__submit:focus {
  background-color: var(--htw-cta);
  color: var(--htw-ink);
  text-decoration: none;
}
.htw-jw .htw-jw__close:hover,
.htw-jw .htw-jw__close:focus {
  background-color: #EEF0F5;
  color: var(--htw-ink);
  text-decoration: none;
}
.htw-jw .htw-jw__link:hover,
.htw-jw .htw-jw__link:focus {
  background-color: transparent;
  color: var(--htw-ink);
  text-decoration: none;
}
.htw-jw .htw-jw__toggle:hover,
.htw-jw .htw-jw__toggle:focus {
  background-color: transparent;
  color: var(--htw-ink);
  text-decoration: none;
}
/* 部门下拉框防护：防止主题全局 select:hover / :focus 覆盖 */
.htw-jw select.htw-jw__input:hover,
.htw-jw select.htw-jw__input:focus {
  background-color: #fff;
  text-decoration: none;
}
.htw-jr .htw-jr__btn:hover,
.htw-jr .htw-jr__btn:focus {
  background-color: var(--htw-cta);
  color: var(--htw-ink) !important;
  text-decoration: none;
}
.htw-jr .htw-jr__btn--ghost:hover,
.htw-jr .htw-jr__btn--ghost:focus {
  background-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-color: var(--htw-peach) !important;
}
.htw-jr .htw-jr__ghost:hover,
.htw-jr .htw-jr__ghost:focus {
  background-color: #fff;
  color: var(--htw-accent);
  text-decoration: none;
}
.htw-jr .htw-jr__arrow:hover,
.htw-jr .htw-jr__arrow:focus {
  background-color: #fff;
  color: var(--htw-accent);
  text-decoration: none;
}
.htw-jr .htw-jr__filter:hover,
.htw-jr .htw-jr__filter:focus {
  background-color: #fff;
  color: var(--htw-ink);
  text-decoration: none;
}
.htw-jr .htw-jr__filter[aria-pressed="true"]:hover,
.htw-jr .htw-jr__filter[aria-pressed="true"]:focus {
  background-color: var(--htw-ink);
  color: #fff;
}
.htw-jr .htw-jr__more:hover,
.htw-jr .htw-jr__more:focus {
  background-color: #fff;
  color: var(--htw-accent) !important;
  text-decoration: none;
}
/* ============================================================
   §4 打印/导出 PDF 专用样式 (修复"标题单独占一页"问题)
   ============================================================ */
@media print {
  a[href]::after {
    content: "" !important;
  }
  body.printing-journey header,
  body.printing-journey footer,
  body.printing-journey nav,
  body.printing-journey aside,
  body.printing-journey .site-header,
  body.printing-journey .site-footer,
  body.printing-journey #masthead,
  body.printing-journey #colophon,
  body.printing-journey #sidebar,
  body.printing-journey .sidebar,
  body.printing-journey .comments-area,
  body.printing-journey .wp-block-template-part {
    display: none !important;
  }
  body.printing-journey .htw-jr__btn,
  body.printing-journey .htw-jr__float,
  body.printing-journey .htw-jr__arrows,
  body.printing-journey .htw-jr__ghost,
  body.printing-journey .htw-jr__filters,
  body.printing-journey .htw-jr__edit,
  body.printing-journey .htw-jr__more,
  body.printing-journey #htw-jr-print-btn {
    display: none !important;
  }
  body.printing-journey,
  body.printing-journey html {
    background: #fff !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.printing-journey .htw-jr,
  body.printing-journey .htw-jr * {
    box-sizing: border-box !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #000 !important;
    transform: none !important;
    transition: none !important;
  }
  body.printing-journey #htw-results {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.printing-journey .htw-jr__wrap {
    max-width: 100% !important;
    padding: 0 10px !important;
  }
  body.printing-journey .htw-jr__hero {
    padding: 15px 0 0 !important;
    margin-bottom: 15px !important;
  }
  body.printing-journey .htw-jr__hero .htw-jr__wrap {
    padding: 0 !important;
    gap: 15px !important;
  }
  body.printing-journey .htw-jr__body {
    padding-top: 10px !important;
  }
  body.printing-journey .htw-jr__reasons {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
  }
  body.printing-journey .htw-jr__reason {
    border: 1px solid #ddd !important;
    padding: 15px !important;
    page-break-inside: avoid;
    break-inside: avoid;
    min-width: 0 !important;
  }
  body.printing-journey .htw-jr__reason span {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin-top: 5px !important;
    word-break: break-word !important;
  }
  body.printing-journey .htw-jr__section {
    display: block !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }
  body.printing-journey .htw-jr__rail {
    display: none !important;
  }
  body.printing-journey .htw-jr__content {
    padding-bottom: 30px !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }
  body.printing-journey .htw-jr__head {
    page-break-after: avoid !important;
    break-after: avoid !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  body.printing-journey .htw-jr__track {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    overflow: visible !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    scroll-snap-type: none !important;
  }
  body.printing-journey .htw-jr__track.is-single .htw-jr__ex {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  body.printing-journey .htw-jr__ex {
    flex: 0 0 calc(50% - 7.5px) !important;
    max-width: calc(50% - 7.5px) !important;
    width: auto !important;
    min-width: 0 !important;
    border: 1px solid #ddd !important;
    padding: 15px !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  body.printing-journey .htw-jr__sessions {
    border: 1px solid #ddd !important;
    width: 100% !important;
    overflow: visible !important;
    page-break-inside: auto !important;
    break-inside: auto !important;
  }
  body.printing-journey .htw-jr__row {
    padding: 15px !important;
    border-bottom: 1px solid #ddd !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    width: 100% !important;
  }
  body.printing-journey .htw-jr__when {
    flex: 0 0 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 13px !important;
  }
  body.printing-journey .htw-jr__when strong {
    font-size: 16px !important;
  }
  body.printing-journey .htw-jr__info {
    flex: 1 !important;
    min-width: 0 !important;
    width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  body.printing-journey .htw-jr__info * {
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
  body.printing-journey .htw-jr__grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  body.printing-journey .htw-jr__sp {
    flex: 0 0 calc(33.333% - 10px) !important;
    max-width: calc(33.333% - 10px) !important;
    width: auto !important;
    min-width: 0 !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  body.printing-journey .htw-jr__photo {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  body.printing-journey .htw-jr__photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  body.printing-journey .htw-jr__sp-body h3,
  body.printing-journey .htw-jr__sp-role,
  body.printing-journey .htw-jr__sp-when,
  body.printing-journey .htw-jr__sp-sess,
  body.printing-journey .htw-jr__reason-line {
    word-break: break-word !important;
  }
}
