/* Parfocal Ticker. Front end carried over from Allen's ptk-ticker (2026). Colours come from --ptk-bg / --ptk-fg set inline. */
.ptk-ticker{--ptk-gap:5rem;--ptk-height:2.5em;--ptk-font-size:1.15em;--ptk-boost:1.5;position:relative;display:flex;align-items:center;min-height:var(--ptk-height);margin:0;padding:0;overflow:hidden;background:var(--ptk-bg,transparent);color:var(--ptk-fg,inherit);font-size:var(--ptk-font-size);font-family:var(--ptk-font-family,inherit);font-weight:var(--ptk-font-weight,inherit);line-height:1.4;contain:layout paint}
.ptk-ticker p{display:contents;margin:0}
/* Sit flush under the header: beat the block theme's layout gap on both sides. */
.ptk-ticker.ptk-ticker{margin-block:0 !important}
.wp-block-template-part:has(+ .ptk-ticker){margin-block-end:0 !important}
.ptk-ticker .ptk-group,.ptk-ticker .ptk-group .ptk-item{margin:0;list-style:none;background:0 0;border:0}
.ptk-ticker .ptk-group .ptk-item::marker{content:none}
.ptk-ticker .ptk-group .ptk-item:before,.ptk-ticker .ptk-group .ptk-item:after{content:none;display:none}
.ptk-ticker .ptk-item a,.ptk-ticker .ptk-item a:visited{color:inherit;font:inherit;text-decoration:none;text-underline-offset:.15em;pointer-events:auto}
.ptk-ticker .ptk-item a:hover,.ptk-ticker .ptk-item a:focus-visible{text-decoration:underline;text-decoration-thickness:2px}
.ptk-ticker .ptk-item a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.ptk-ticker .ptk-item .ptk-cta{font-weight:700;font-style:italic;white-space:nowrap}
.ptk-ticker .ptk-viewport{flex:1 1 auto;min-width:0;overflow:hidden}
.ptk-ticker .ptk-mover{width:max-content;will-change:transform}
.ptk-ticker .ptk-track{display:flex;animation:ptk-left var(--ptk-duration,30s) linear infinite}
.ptk-ticker .ptk-rev{animation:ptk-right var(--ptk-duration,30s) linear infinite paused}
.ptk-ticker .ptk-boost-l{animation:ptk-left calc(var(--ptk-duration, 30s) / (var(--ptk-boost) - 1)) linear infinite paused}
.ptk-ticker .ptk-boost-r{animation:ptk-right calc(var(--ptk-duration, 30s) / (var(--ptk-boost) - 1)) linear infinite paused}
.ptk-ticker.ptk-ticker--right .ptk-track{animation-play-state:paused}
.ptk-ticker.ptk-ticker--right .ptk-rev{animation-play-state:running}
.ptk-ticker .ptk-group{display:flex;flex:0 0 auto;align-items:center;justify-content:space-around;gap:var(--ptk-gap);min-width:100vw;padding:0 0 0 var(--ptk-gap)}
.ptk-ticker .ptk-group .ptk-item{flex:0 0 auto;padding:0;white-space:nowrap}
@keyframes ptk-left{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-100% / 6), 0, 0)}}
@keyframes ptk-right{from{transform:translate3d(calc(-100% / 6), 0, 0)}to{transform:translate3d(0,0,0)}}
.ptk-ticker .ptk-drag{width:max-content;will-change:transform}
@media (prefers-reduced-motion:no-preference){.ptk-ticker.ptk-swipe{touch-action:pan-y}}
.ptk-ticker .ptk-zone{position:absolute;z-index:1;top:0;bottom:0;box-sizing:border-box;display:flex;align-items:center;width:clamp(2.5em, 12%, 8rem);opacity:0;transition:opacity .2s;cursor:pointer}
.ptk-ticker .ptk-zone--left{left:0;justify-content:flex-start;padding-left:.75em;background:linear-gradient(to right,var(--ptk-bg,#fff) 30%,transparent)}
.ptk-ticker .ptk-zone--right{right:0;justify-content:flex-end;padding-right:.75em;background:linear-gradient(to left,var(--ptk-bg,#fff) 30%,transparent)}
.ptk-ticker:hover .ptk-zone{opacity:.6}
.ptk-ticker .ptk-zone:hover{opacity:1}
.ptk-ticker .ptk-zone:before{content:"";width:.5em;height:.5em;border-left:2px solid currentColor;border-bottom:2px solid currentColor}
.ptk-ticker .ptk-zone--left:before{transform:rotate(45deg)}
.ptk-ticker .ptk-zone--right:before{transform:rotate(-135deg)}
.ptk-ticker .ptk-pause-label{position:absolute;z-index:2;top:0;right:0;bottom:0;display:grid;place-items:center;width:var(--ptk-height);margin:0;background:var(--ptk-bg,#fff);color:var(--ptk-fg,inherit);font-size:.8em;cursor:pointer;opacity:0;pointer-events:none}
.ptk-ticker:has(.ptk-pause-input:focus-visible) .ptk-pause-label,.ptk-ticker:has(.ptk-pause-input:checked) .ptk-pause-label{opacity:1;pointer-events:auto}
.ptk-ticker:has(.ptk-pause-input:focus-visible) .ptk-pause-label{outline:2px solid currentColor;outline-offset:-4px}
.ptk-ticker .ptk-pause-label:before{content:"";box-sizing:border-box;width:.75em;height:.9em;border-left:.25em solid currentColor;border-right:.25em solid currentColor}
.ptk-ticker:has(.ptk-pause-input:checked) .ptk-pause-label:before{width:0;height:0;border-top:.5em solid transparent;border-bottom:.5em solid transparent;border-left:.8em solid currentColor;border-right:0;margin-left:.2em}
.ptk-ticker:hover .ptk-mover{animation-play-state:paused}
.ptk-ticker:has(.ptk-zone--right:hover) .ptk-track,.ptk-ticker:has(.ptk-zone--right:hover) .ptk-boost-l,.ptk-ticker:has(.ptk-zone--left:hover) .ptk-rev,.ptk-ticker:has(.ptk-zone--left:hover) .ptk-boost-r{animation-play-state:running}
.ptk-ticker.ptk-dragging .ptk-viewport .ptk-mover{animation-play-state:paused}
.ptk-ticker:has(.ptk-pause-input:checked) .ptk-mover{animation-play-state:paused}
.ptk-ticker:has(a:focus-visible) .ptk-mover{animation:none}
.ptk-ticker .ptk-sr,.ptk-ticker .ptk-pause-input{position:absolute !important;width:1px !important;height:1px !important;margin:-1px !important;padding:0 !important;overflow:hidden !important;clip:rect(0,0,0,0) !important;white-space:nowrap !important;border:0 !important;opacity:0;appearance:none}
@media (prefers-reduced-motion:reduce){.ptk-ticker .ptk-mover{animation:none}.ptk-ticker .ptk-viewport{overflow-x:auto;scrollbar-width:thin}.ptk-ticker .ptk-group{min-width:0;padding-right:var(--ptk-gap)}.ptk-ticker .ptk-group[aria-hidden=true],.ptk-ticker .ptk-zone,.ptk-ticker .ptk-pause-input,.ptk-ticker .ptk-pause-label{display:none}}
@media print{.ptk-ticker{display:none}}/* Parfocal: same width as the header (alignwide), blue band fades out at both edges, no arrow zones. */
.ptk-ticker{background:transparent}
.ptk-ticker .ptk-viewport{align-self:stretch;display:flex;align-items:center;background:var(--ptk-bg,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.ptk-ticker .ptk-zone{display:none}
.ptk-ticker .ptk-group{min-width:0}
