/* ============================================================
   JET ATLAS — ht-activities (sticky horizontal scroll, image cards)
   Ported 1:1 from home-two.css. Pin/scrub driven by ht-core.js
   (data-ht-h-section / -pin / -h-viewport / -h-track / -h-bar).
   ============================================================ */
.ht-acts { background: var(--ht-paper); }
.ht-acts__stage { padding: clamp(60px,9vw,110px) 0; }
.ht-acts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.ht-acts__head h2 { margin-top: 12px; }
.ht-acts__hint { font-family: var(--ht-ui); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ht-mut); }
.ht-acts__hint i { color: var(--ht-ink); margin-right: 7px; }
.ht-acts__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x mandatory; }
.ht-acts__viewport::-webkit-scrollbar { display: none; }
.ht-acts__track { display: flex; gap: 16px; width: max-content; padding: 6px clamp(16px,5vw,56px); }
.ht-acard { position: relative; flex: 0 0 clamp(255px,25vw,330px); height: clamp(380px,50vh,500px); border-radius: 18px; overflow: hidden; scroll-snap-align: center; isolation: isolate; }
.ht-acard::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; transition: transform .9s var(--ht-ease); z-index: -2; }
.ht-acard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.05) 30%, rgba(10,10,10,0.9)); z-index: -1; }
.ht-acard:hover::before { transform: scale(1.07); }
.ht-acard__idx { position: absolute; top: 18px; left: 20px; font-family: var(--ht-data); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--ht-lime); }
.ht-acard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 22px; display: flex; flex-direction: column; gap: 5px; }
.ht-acard__cat { font-family: var(--ht-ui); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ht-lime); }
.ht-acard__title { font-family: var(--ht-serif); font-weight: 500; font-size: clamp(23px,2vw,30px); color: #fff; }
.ht-acard__meta { font-family: var(--ht-data); font-size: 13px; color: rgba(255,255,255,0.82); }
.ht-acard__link { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,10,10,0.4); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.ht-acard__link:hover { background: var(--ht-lime); color: var(--ht-ink); border-color: var(--ht-lime); transform: translateY(-2px); }
.ht-acard--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; background: var(--ht-ink); border: 0; padding: 32px; }
.ht-acard--end h3 { font-family: var(--ht-serif); font-weight: 500; font-size: clamp(28px,2.6vw,38px); color: var(--ht-white); line-height: 1.05; }
.ht-acts__bar { margin: 26px clamp(16px,5vw,56px) 0; height: 3px; border-radius: 3px; background: var(--ht-line); overflow: hidden; }
.ht-acts__bar span { display: block; height: 100%; width: 18%; border-radius: 3px; background: var(--ht-lime); transition: width .1s linear; }
.ht-acts.is-pinned .ht-acts__stage { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; box-sizing: border-box; }
.ht-acts.is-pinned .ht-acts__viewport { overflow: visible; scroll-snap-type: none; flex: 0 0 auto; }
.ht-acts.is-pinned .ht-acts__track { padding-block: 0; }

@media (max-width: 1024px) {
  .ht-acts__head { align-items: center; text-align: center; flex-direction: column; }
  .ht-acts.is-pinned .ht-acts__stage { height: auto; display: block; overflow: visible; }
  .ht-acts.is-pinned .ht-acts__viewport { overflow-x: auto; }
}
@media (max-width: 560px) {
  .ht-acard { flex-basis: 76vw; }
}
