/* AusPepLabs announcement ticker — scoped to .apl-ticker. Normal flow (not fixed), fixed height => no layout shift. */
.apl-ticker{position:relative;box-sizing:border-box;display:block;width:100%;height:var(--apl-tk-h,38px);overflow:hidden;background:var(--apl-tk-bg,#173B57);color:var(--apl-tk-fg,#fff);font-family:var(--apl-font,Inter,Arial,sans-serif);font-size:var(--apl-tk-fs,13px);line-height:1;z-index:9001}
.apl-ticker *{box-sizing:border-box}
.apl-ticker-track{display:flex;width:max-content;height:100%;align-items:center;will-change:transform}
.apl-ticker.is-ready .apl-ticker-track{animation:apl-tk-scroll var(--apl-tk-dur,40s) linear infinite}
.apl-ticker.is-ltr.is-ready .apl-ticker-track{animation-direction:reverse}
.apl-ticker:hover .apl-ticker-track,.apl-ticker:focus-within .apl-ticker-track,.apl-ticker.is-paused .apl-ticker-track{animation-play-state:paused}
@keyframes apl-tk-scroll{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.apl-ticker-group{display:flex;flex:0 0 auto;align-items:center;height:100%;margin:0;padding:0;list-style:none;min-width:100vw}
.apl-ticker.is-ready .apl-ticker-group{min-width:0}
.apl-ticker-item{display:flex;align-items:center;flex:0 0 auto;gap:28px;margin:0 28px 0 0;padding:0;white-space:nowrap;font-weight:500;letter-spacing:.01em}
.apl-ticker-item::after{content:"";flex:none;width:1px;height:calc(var(--apl-tk-fs,13px) + 2px);background:var(--apl-tk-ac,#168C91);opacity:.9}
.apl-ticker-item span,.apl-ticker-item a{color:inherit}
body .apl-ticker-item a{color:var(--apl-tk-fg,#fff);text-decoration:none;font-weight:600;border-bottom:1px solid transparent;padding-bottom:1px;transition:border-color .15s}
body .apl-ticker-item a:hover{border-bottom-color:var(--apl-tk-ac,#168C91)}
body .apl-ticker-item a:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
/* pause / play control (WCAG 2.2.2) */
body .apl-ticker-pause{position:absolute;top:0;right:0;bottom:0;width:calc(var(--apl-tk-h,38px) + 8px);padding:0;border:0;border-radius:0;background:linear-gradient(90deg,transparent,var(--apl-tk-bg,#173B57) 45%);color:var(--apl-tk-fg,#fff);cursor:pointer;opacity:.85}
body .apl-ticker-pause:hover,body .apl-ticker-pause:focus-visible{opacity:1;background:linear-gradient(90deg,transparent,var(--apl-tk-bg,#173B57) 45%)}
body .apl-ticker-pause:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.apl-ticker-pause::before,.apl-ticker-pause::after{content:"";position:absolute;top:50%;right:14px;width:3px;height:12px;margin-top:-6px;background:currentColor;border-radius:1px}
.apl-ticker-pause::after{right:21px}
.apl-ticker-pause[aria-pressed="true"]::after{display:none}
.apl-ticker-pause[aria-pressed="true"]::before{width:0;height:0;margin-top:-6px;right:15px;background:none;border-radius:0;border-left:9px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent}
/* device visibility */
@media(min-width:1024px){.apl-ticker.hide-d{display:none}}
@media(min-width:768px) and (max-width:1023px){.apl-ticker.hide-t{display:none}}
@media(max-width:767px){.apl-ticker.hide-m{display:none}.apl-ticker-item{gap:20px;margin-right:20px}}
/* optionally hide the Elementor header template's own static info strip (sticky offset then returns to 0) */
body.apl-ticker-hide-strip .apl-announce{display:none}
body.apl-ticker-hide-strip .elementor-location-header{top:0}
/* admin preview */
#apl-ab-preview{border-radius:6px}
/* reduced motion: no animation, the first copy is shown and can be scrolled by hand */
@media(prefers-reduced-motion:reduce){
 .apl-ticker.is-ready .apl-ticker-track{animation:none}
 .apl-ticker{overflow-x:auto;scrollbar-width:thin}
 .apl-ticker-group[aria-hidden="true"],.apl-ticker-pause{display:none}
 .apl-ticker-group{min-width:0}
}
