
/* Trust rails v4 — JS transform marquee, clip clones */
.juhe-rails{--max:1200px;--ink:#14201a;--muted:#5c6b63;--line:#d9e2dc;--gold:#c4a35a;background:#fff;color:var(--ink);font-family:Georgia,"Times New Roman",serif;}
.juhe-rails *{box-sizing:border-box;}
.juhe-rails .shell{max-width:var(--max);margin:0 auto;padding-left:24px;padding-right:24px;}
.juhe-rails .section{padding:72px 0 64px;}
.juhe-rails .section.alt{background:#f4f7f5;}
.juhe-rails .section-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:28px;flex-wrap:wrap;position:relative;z-index:1;pointer-events:none;}
.juhe-rails .section-head a,.juhe-rails .section-head .view-all{pointer-events:auto;}
.juhe-rails .kicker{font-family:system-ui,-apple-system,sans-serif;letter-spacing:.12em;text-transform:uppercase;font-size:12px;color:var(--gold);margin:0 0 8px;}
.juhe-rails .section-head h2{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:0;font-weight:500;}
.juhe-rails .section-head p{max-width:360px;margin:0;color:var(--muted);font-family:system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;}
.juhe-rails .rail-wrap{position:relative;z-index:2;overflow:hidden;}
.juhe-rails .rail-controls{position:absolute;right:24px;top:-52px;display:flex;gap:8px;z-index:8;pointer-events:auto;}
.juhe-rails .rail-btn{width:36px;height:36px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:18px;line-height:1;color:var(--ink);position:relative;z-index:9;}
.juhe-rails .rail-btn:hover,.juhe-rails .rail-btn:focus-visible{border-color:var(--gold);outline:none;}
.juhe-rails .rail-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 24px 16px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;}
.juhe-rails .rail-card{flex:0 0 min(320px,78vw);scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;display:flex;flex-direction:column;}
.juhe-rails .rail-media{aspect-ratio:16/10;overflow:hidden;background:#e8eee9;}
.juhe-rails .rail-media img{width:100%;height:100%;object-fit:cover;display:block;}
.juhe-rails .rail-body{padding:14px 16px 16px;font-family:system-ui,-apple-system,sans-serif;}
.juhe-rails .rail-body h3{font-family:Georgia,"Times New Roman",serif;font-size:18px;line-height:1.25;margin:0 0 6px;font-weight:500;}
.juhe-rails .card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px;}
.juhe-rails .tag{font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:#eef3f0;color:#3d4a43;}
.juhe-rails .tag.muted{background:transparent;border:1px solid var(--line);}
.juhe-rails .rail-body .loc{margin:0 0 4px;color:var(--muted);font-size:13px;}
.juhe-rails .rail-body .scope{margin:0;color:#3d4a43;font-size:13px;line-height:1.4;}
.juhe-rails .rail-hint{margin:8px 24px 0;font-family:system-ui,-apple-system,sans-serif;font-size:12px;color:var(--muted);}
.juhe-rails .visit-slide{flex:0 0 min(300px,72vw);scroll-snap-align:start;margin:0;border-radius:14px;overflow:hidden;background:#111;position:relative;aspect-ratio:4/5;}
.juhe-rails .visit-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.juhe-rails .visit-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-family:system-ui,-apple-system,sans-serif;font-size:13px;}
.juhe-rails .visit-note{margin:12px 24px 0;font-family:system-ui,-apple-system,sans-serif;font-size:12px;color:var(--muted);}
.juhe-rails .factory-slide{flex:0 0 min(360px,80vw);scroll-snap-align:start;margin:0;border-radius:14px;overflow:hidden;background:#111;position:relative;}
.juhe-rails .factory-slide img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;}
.juhe-rails .factory-slide figcaption{position:absolute;left:0;right:0;bottom:0;padding:14px 16px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff;font-family:system-ui,-apple-system,sans-serif;font-size:13px;}
.juhe-rails .view-all{font-family:system-ui,-apple-system,sans-serif;font-size:14px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--gold);}
.juhe-rails .rail-wrap.is-marquee{overflow:hidden !important;}
.juhe-rails .rail-wrap.is-marquee .rail-track{
  scrollbar-width:none;scroll-snap-type:none !important;overflow:visible !important;
  width:max-content !important;will-change:transform;cursor:grab;
  animation:none !important; /* JS drives motion; avoid V3 CSS double-drive */
}
.juhe-rails .rail-wrap.is-marquee .rail-track::-webkit-scrollbar{display:none;}
@media (max-width:720px){
  .juhe-rails .section{padding:56px 0;}
  .juhe-rails .rail-controls{position:static;margin:0 24px 12px;justify-content:flex-end;}
}

