.xh-history{--xh-red:#c80108;--xh-ink:#1f2937;--xh-muted:#6b7280;--xh-line:#f1d3d3;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--xh-ink);line-height:1.5;width:100%;padding:36px clamp(16px,4vw,72px) 40px;position:relative;background:url("https://www.xinxiumold.com/wp-content/uploads/2026/03/bgbg.png") no-repeat;background-size:100% 100%}
.xh-history.xh-history--no-bg{background:none}
.xh-history *,.xh-history *::before,.xh-history *::after{box-sizing:border-box;margin:0;padding:0}
.xh-history__head{margin-bottom:18px}
.xh-history__en{font-size:13px;letter-spacing:3px;text-transform:uppercase;color:#9aa3af;margin:0 0 8px;font-weight:500}
.xh-history__cn{font-size:clamp(26px,3.4vw,38px);font-weight:800;color:var(--xh-red);margin:0;line-height:1.15;letter-spacing:.5px}
.xh-timeline{position:relative;height:460px}
.xh-timeline::before{content:"";position:absolute;left:0;right:0;top:50%;height:2px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,var(--xh-line) 6%,var(--xh-line) 94%,transparent);z-index:1}
.xh-curve{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:1920px;height:auto;pointer-events:none;z-index:0}
.xh-history--no-curve .xh-curve{display:none}
.xh-track{position:absolute;inset:0;display:flex;gap:36px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0 40px;padding:0 40px;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;z-index:2;user-select:none;-webkit-user-select:none}
.xh-track::-webkit-scrollbar{display:none}
.xh-track.is-grabbing{cursor:grabbing;scroll-snap-type:none}
.xh-item{position:relative;flex:0 0 280px;height:100%;scroll-snap-align:center}
.xh-item__node{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;width:16px;height:16px}
.xh-item__dot{display:block;width:16px;height:16px;background:var(--xh-red);border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 2px var(--xh-red);transition:transform .25s ease}
.xh-item:hover .xh-item__dot{transform:scale(1.25)}
.xh-item__card{position:absolute;left:50%;transform:translateX(-50%);width:256px;padding:18px 20px;background:#fff;border:1px solid #eef0f2;border-radius:12px;box-shadow:0 8px 24px rgba(31,41,55,.08);transition:transform .25s ease,box-shadow .25s ease}
.xh-item:hover .xh-item__card{transform:translateX(-50%) translateY(-4px);box-shadow:0 14px 30px rgba(31,41,55,.12)}
.xh-item__card::before,.xh-item__card::after{content:"";position:absolute;left:50%;width:2px;background:var(--xh-red);transform:translateX(-50%)}
.xh-item:nth-child(odd) .xh-item__card{bottom:calc(50% + 26px)}
.xh-item:nth-child(odd) .xh-item__card::after{top:100%;height:26px}
.xh-item:nth-child(even) .xh-item__card{top:calc(50% + 26px)}
.xh-item:nth-child(even) .xh-item__card::before{bottom:100%;height:26px}
.xh-item__year{display:inline-block;font-size:14px;font-weight:700;color:#fff;background:var(--xh-red);border-radius:20px;padding:3px 13px;letter-spacing:.5px;margin-bottom:11px}
.xh-item__title{font-size:17px;font-weight:700;color:var(--xh-ink);line-height:1.4}
.xh-item__desc{font-size:13.5px;color:var(--xh-muted);line-height:1.55;margin-top:7px}
.xh-item__desc:empty{display:none}
.xh-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;background:#fff;border:1px solid #e5e7eb;box-shadow:0 6px 18px rgba(31,41,55,.10);cursor:pointer;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--xh-red);transition:opacity .2s ease,transform .2s ease}
.xh-nav:hover{transform:translateY(-50%) scale(1.06)}
.xh-nav:disabled{opacity:.35;cursor:default;pointer-events:none}
.xh-nav--prev{left:2px}
.xh-nav--next{right:2px}
.xh-dots{position:absolute;bottom:-4px;left:0;right:0;display:flex;justify-content:center;gap:7px;z-index:3}
.xh-dots button{width:8px;height:8px;border-radius:20px;background:#d8dbe0;border:0;padding:0;cursor:pointer;transition:all .25s ease}
.xh-dots button.is-active{width:22px;background:var(--xh-red)}
@media (max-width:767px){
.xh-history{padding:28px 16px 40px}
.xh-history__head{margin-bottom:14px}
.xh-timeline{height:auto}
.xh-timeline::before{left:12px;right:auto;top:6px;bottom:6px;height:auto;width:2px;transform:none;background:linear-gradient(180deg,var(--xh-line),var(--xh-line))}
.xh-curve{display:none}
.xh-track{position:static;display:block;overflow:visible;padding:0}
.xh-item{flex:none;width:100%;height:auto;padding-left:40px;margin-bottom:26px;scroll-snap-align:none}
.xh-item:last-child{margin-bottom:0}
.xh-item__node{top:6px;left:12px;transform:translate(-50%,0)}
.xh-item__card{position:static;transform:none;width:100%}
.xh-item:hover .xh-item__card{transform:none}
.xh-item__card::before,.xh-item__card::after{display:none}
.xh-nav,.xh-dots{display:none}
}
@media (prefers-reduced-motion:reduce){
.xh-item__card,.xh-item__dot,.xh-item:hover .xh-item__card{transition:none}
}
