/* Story pages (lib/stories.mjs): Activities mosaic, News newsroom, Events timeline. Scoped under .acs-st. */
.acs-st {
  --navy: #071a36; --navy-2: #0b2a55; --blue: #1f8fd6; --green: #8dc63f; --purple: #7b4fd6; --amber: #f2a93b;
  --muted: #5d6b82; --ink: #33415c; --line: #e4ebf4; --soft: #f4f7fb; --ease: cubic-bezier(.22, 1, .36, 1);
  position: relative; padding: 20px 0 90px; overflow-x: clip;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif; color: var(--navy); -webkit-font-smoothing: antialiased;
}
.acs-st *, .acs-st *::before, .acs-st *::after { box-sizing: border-box; }
.acs-st ul, .acs-st ol { list-style: none; margin: 0; padding: 0; }
.acs-st img { display: block; max-width: 100%; }
.acs-st a { text-decoration: none; color: inherit; }
.acs-st [hidden] { display: none !important; }
.acs-st .acs-st__wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.acs-st .acs-st__label { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); }
.acs-st .acs-st__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.acs-st .acs-st__meta b { padding: 4px 10px; border-radius: 999px; background: #eaf4fc; color: #12689f; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.acs-st .acs-st__meta i { font-style: normal; color: #1877f2; }
.acs-st .acs-st__meta--light { color: rgba(255, 255, 255, .85); }
.acs-st .acs-st__meta--light b { background: var(--green); color: var(--navy); }
.acs-st .acs-st__tile-more, .acs-st .acs-st__lead-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.acs-st .acs-st__tile-more svg, .acs-st .acs-st__lead-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.acs-st a:hover .acs-st__tile-more svg, .acs-st a:hover .acs-st__lead-more svg { transform: translateX(4px); }
.acs-st .acs-st__morebar { display: flex; justify-content: center; margin-top: 40px; }
.acs-st .acs-st__more { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 16px 32px -16px rgba(7, 26, 54, .7); transition: transform .35s var(--ease), background-color .25s; }
.acs-st .acs-st__more:hover { transform: translateY(-2px); background: var(--blue); }

/* ---------- Activities: moving photo bands + mosaic ---------- */
.acs-st .acs-st__band { display: grid; gap: 14px; margin: 0 0 60px; transform: rotate(-2deg); padding: 10px 0; }
.acs-st .acs-st__band-row { display: flex; gap: 14px; width: max-content; animation: acs-st-slide 70s linear infinite; }
.acs-st .acs-st__band-row--rev { animation-direction: reverse; animation-duration: 85s; }
.acs-st .acs-st__band:hover .acs-st__band-row { animation-play-state: paused; }
.acs-st .acs-st__band li { flex: none; width: 240px; height: 170px; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 36px -22px rgba(7, 26, 54, .6); }
.acs-st .acs-st__band-row--rev li { width: 200px; height: 140px; }
.acs-st .acs-st__band img { width: 100%; height: 100%; object-fit: cover; }
@keyframes acs-st-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.acs-st .acs-st__mosaic { columns: 3 300px; column-gap: 20px; }
.acs-st .acs-st__tile { break-inside: avoid; margin: 0 0 20px; }
.acs-st .acs-st__tile a { position: relative; display: block; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: 0 24px 50px -32px rgba(7, 26, 54, .7); transform: translateZ(0); }
.acs-st .acs-st__tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.acs-st .acs-st__tile--tall img { aspect-ratio: 3 / 4; }
.acs-st .acs-st__tile:nth-child(5n+3) img { aspect-ratio: 1; }
.acs-st .acs-st__tile-body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 8px; padding: 70px 22px 20px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 14, 30, .55) 35%, rgba(5, 14, 30, .92)); }
.acs-st .acs-st__tile .acs-st__meta { color: rgba(255, 255, 255, .8); }
.acs-st .acs-st__tile .acs-st__meta b { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.acs-st .acs-st__tile .acs-st__meta i { color: #9cc7ff; }
.acs-st .acs-st__tile-title { font-size: 18px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acs-st .acs-st__tile .acs-st__tile-more { max-height: 0; opacity: 0; color: var(--green); transition: max-height .45s var(--ease), opacity .35s; overflow: hidden; }
.acs-st .acs-st__tile a:hover img { transform: scale(1.08); }
.acs-st .acs-st__tile a:hover .acs-st__tile-more, .acs-st .acs-st__tile a:focus-visible .acs-st__tile-more { max-height: 30px; opacity: 1; }

/* ---------- News: ticker + front page + grid ---------- */
.acs-st .acs-st__ticker { display: flex; align-items: stretch; max-width: 1192px; margin: 0 auto 40px; border-radius: 999px; overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 18px 40px -26px rgba(7, 26, 54, .8); }
.acs-st .acs-st__ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--green); color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.acs-st .acs-st__ticker-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: acs-st-pulse 1.4s ease-in-out infinite; }
@keyframes acs-st-pulse { 50% { opacity: .2; } }
.acs-st .acs-st__ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.acs-st .acs-st__ticker-run { display: flex; width: max-content; animation: acs-st-slide 60s linear infinite; }
.acs-st .acs-st__ticker:hover .acs-st__ticker-run { animation-play-state: paused; }
.acs-st .acs-st__ticker-run a { display: flex; align-items: center; gap: 10px; padding: 15px 30px; white-space: nowrap; font-size: 14.5px; font-weight: 600; border-right: 1px solid rgba(255, 255, 255, .12); }
.acs-st .acs-st__ticker-run a b { color: var(--green); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.acs-st .acs-st__ticker-run a:hover span { text-decoration: underline; }

.acs-st .acs-st__front { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.acs-st .acs-st__lead { position: relative; display: block; min-height: 520px; border-radius: 30px; overflow: hidden; background: var(--navy); box-shadow: 0 34px 70px -40px rgba(7, 26, 54, .8); }
.acs-st .acs-st__lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acs-st .acs-st__lead:hover img { transform: scale(1.05); }
.acs-st .acs-st__lead-body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 12px; padding: 120px 36px 34px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 14, 30, .65) 40%, rgba(5, 14, 30, .95)); }
.acs-st .acs-st__lead-title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.acs-st .acs-st__lead-text { max-width: 640px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acs-st .acs-st__lead-more { color: var(--green); }
.acs-st .acs-st__top { display: flex; flex-direction: column; padding: 28px; border-radius: 30px; background: var(--soft); }
.acs-st .acs-st__toprow { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.acs-st .acs-st__toprow:first-of-type { border-top: 0; padding-top: 4px; }
.acs-st .acs-st__toprow img { width: 110px; height: 84px; border-radius: 14px; object-fit: cover; transition: transform .5s var(--ease); }
.acs-st .acs-st__toprow:hover img { transform: scale(1.06) rotate(-1.5deg); }
.acs-st .acs-st__toptitle { display: -webkit-box; margin-top: 8px; font-size: 16px; font-weight: 800; line-height: 1.35; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acs-st .acs-st__toprow:hover .acs-st__toptitle { color: var(--blue); }
.acs-st .acs-st__latest-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 60px 0 20px; }
.acs-st .acs-st__latest-head .acs-st__label { margin: 0; }
.acs-st .acs-st__filters { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--soft); }
.acs-st .acs-st__filter { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; }
.acs-st .acs-st__filter.is-on { background: #fff; color: var(--navy); box-shadow: 0 6px 16px -8px rgba(7, 26, 54, .4); }
.acs-st .acs-st__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.acs-st .acs-st__card a { display: flex; flex-direction: column; gap: 10px; }
.acs-st .acs-st__card-img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; }
.acs-st .acs-st__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.acs-st .acs-st__card a:hover img { transform: scale(1.07); }
.acs-st .acs-st__card-title { font-size: 16.5px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acs-st .acs-st__card a:hover .acs-st__card-title { color: var(--blue); }

/* ---------- Events: timeline ---------- */
.acs-st .acs-st__timeline { position: relative; max-width: 1100px; margin: 0 auto; padding: 10px 0; }
.acs-st .acs-st__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; border-radius: 4px; background: var(--line); }
.acs-st .acs-st__line-fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%); border-radius: 4px; background: linear-gradient(180deg, var(--blue), var(--green)); box-shadow: 0 0 18px rgba(31, 143, 214, .6); }
.acs-st .acs-st__month { position: relative; z-index: 1; display: flex; justify-content: center; margin: 30px 0; }
.acs-st .acs-st__month span { padding: 10px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 0 0 8px #fff; }
.acs-st .acs-st__events { display: grid; gap: 34px; }
.acs-st .acs-st__event { position: relative; display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; }
.acs-st .acs-st__date { grid-column: 2; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--blue), 0 16px 30px -12px rgba(7, 26, 54, .5); }
.acs-st .acs-st__event--right .acs-st__date { box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--green), 0 16px 30px -12px rgba(7, 26, 54, .5); }
.acs-st .acs-st__date b { font-size: 26px; font-weight: 800; line-height: 1; }
.acs-st .acs-st__date i { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.acs-st .acs-st__ecard { grid-row: 1; display: grid; grid-template-columns: 150px 1fr; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 26px 50px -36px rgba(7, 26, 54, .6); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.acs-st .acs-st__event--left .acs-st__ecard { grid-column: 1; }
.acs-st .acs-st__event--right .acs-st__ecard { grid-column: 3; }
.acs-st .acs-st__ecard:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(7, 26, 54, .7); }
.acs-st .acs-st__ecard-img { display: block; min-height: 100%; }
.acs-st .acs-st__ecard-img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.acs-st .acs-st__ecard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.acs-st .acs-st__ecard .acs-st__meta b { background: transparent; padding: 0; color: var(--muted); letter-spacing: 0; text-transform: none; font-size: 13px; }
.acs-st .acs-st__ecard-title { font-size: 17px; font-weight: 800; line-height: 1.3; }
.acs-st .acs-st__ecard-text { font-size: 14px; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acs-st .acs-st__ecard .acs-st__tile-more { color: var(--blue); font-size: 13.5px; }

/* ---------- reveal on scroll (only while the script runs) ---------- */
.acs-st.js-anim .acs-st__tile, .acs-st.js-anim .acs-st__card, .acs-st.js-anim .acs-st__toprow, .acs-st.js-anim .acs-st__lead { opacity: 0; transform: translateY(34px) scale(.98); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.acs-st.js-anim .acs-st__event--left .acs-st__ecard { opacity: 0; transform: translateX(-60px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.acs-st.js-anim .acs-st__event--right .acs-st__ecard { opacity: 0; transform: translateX(60px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.acs-st.js-anim .acs-st__date { transform: scale(.4); opacity: 0; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .15s, opacity .4s .15s; }
.acs-st.js-anim .is-in.acs-st__tile, .acs-st.js-anim .is-in.acs-st__card, .acs-st.js-anim .is-in.acs-st__toprow, .acs-st.js-anim .is-in.acs-st__lead,
.acs-st.js-anim .is-in .acs-st__ecard { opacity: 1; transform: none; }
.acs-st.js-anim .is-in .acs-st__date { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .acs-st .acs-st__front { grid-template-columns: 1fr; }
  .acs-st .acs-st__lead { min-height: 420px; }
  .acs-st .acs-st__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .acs-st .acs-st__wrap { padding: 0 16px; }
  .acs-st .acs-st__band li { width: 170px; height: 120px; }
  .acs-st .acs-st__band-row--rev li { width: 140px; height: 100px; }
  .acs-st .acs-st__ticker { margin: 0 16px 30px; border-radius: 18px; }
  .acs-st .acs-st__ticker-label { padding: 0 14px; letter-spacing: .08em; }
  .acs-st .acs-st__lead-body { padding: 90px 22px 24px; }
  .acs-st .acs-st__top { padding: 20px; }
  .acs-st .acs-st__grid { grid-template-columns: 1fr; }
  /* timeline: line on the left, every card to its right */
  .acs-st .acs-st__line { left: 30px; }
  .acs-st .acs-st__month { justify-content: flex-start; padding-left: 0; }
  .acs-st .acs-st__event { grid-template-columns: 62px 1fr; gap: 12px; }
  .acs-st .acs-st__date { grid-column: 1; width: 58px; height: 58px; }
  .acs-st .acs-st__date b { font-size: 20px; }
  .acs-st .acs-st__event--left .acs-st__ecard, .acs-st .acs-st__event--right .acs-st__ecard { grid-column: 2; }
  .acs-st .acs-st__ecard { grid-template-columns: 1fr; }
  .acs-st .acs-st__ecard-img img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .acs-st *, .acs-st *::before { animation: none !important; transition: none !important; }
}
