/* ATIS band — homepage + section main pages (inc/avi-ticker.php avi_ticker_band()).
   Tokens are set on the band itself so it looks the same on every page. */
.fs-atis-band { --fs-l1: #0c1a30; --fs-b1: rgba(255,255,255,.07); --fs-gold: #e8a020; --fs-t1: #e8eef5; --fs-t3: #5d7490; }
.fs-atis-band a { box-shadow: none; }
/* (2026-09-28): full-width strip under the header. Fixed height -> no layout shift.
   Background one step lighter than the page; inner row padded like .fs-utility so the chip
   sits under the logo. The track is absolutely positioned so its width never feeds layout. */
.fs-atis-band { width: 100%; height: 36px; box-sizing: border-box; background: var(--fs-l1);
    border-top: 1px solid var(--fs-b1); border-bottom: 1px solid var(--fs-b1); overflow: hidden; cursor: default; }
.fs-atis-inner { display: flex; align-items: center; gap: 16px; height: 100%; padding: 0 24px; box-sizing: border-box; min-width: 0; }
.fs-atis-chip { flex: 0 0 auto; font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .18em; color: var(--fs-gold);
    line-height: 1; padding: 4px 10px 3px; border: 1px solid rgba(232,160,32,.35); border-radius: 3px; white-space: nowrap; }
.fs-ticker-view { flex: 1 1 0; min-width: 0; height: 100%; overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.fs-ticker-track { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: inline-block; white-space: nowrap;
    font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: .16em; line-height: 1; will-change: transform; }
.fs-atis-band.is-moving .fs-ticker-track { animation: fs-ticker-scroll var(--fs-ticker-dur, 60s) linear infinite; }
.fs-ticker-copy { display: inline; }
.fs-atis-band.is-moving:hover .fs-ticker-track,
.fs-atis-band.is-moving:focus-within .fs-ticker-track,
.fs-atis-band.is-paused .fs-ticker-track { animation-play-state: paused; }
/* 2026-10-27 (owner INBOX #213): moves exactly one half of the track (--fs-ticker-shift, set by avi-atis-band.js from the
   measured width, ~40 px/s), so the loop has no jump at any screen width. */
@keyframes fs-ticker-scroll { from { transform: translate(0, -50%); } to { transform: translate(var(--fs-ticker-shift, -50%), -50%); } }
/* Scoped to the band: the site-wide `body.fsf-dark-theme a { color: inherit }` otherwise wins. */
.fs-atis-band a.fs-ticker-item { color: #7d93ad; text-decoration: none; } /* #355 (owner, 2026-11-02): text-muted, was gold; the chip keeps gold */
.fs-atis-band a.fs-ticker-item:hover, .fs-atis-band a.fs-ticker-item:focus-visible { color: var(--fs-t1); text-decoration: underline; outline: none; }
.fs-atis-band a.fs-ticker-item:focus-visible { outline: 2px solid var(--fs-gold); outline-offset: 2px; border-radius: 2px; } /* audit LA-13: a visible focus ring */
.fs-ticker-dot { color: var(--fs-t3); }
/* No motion for people who ask for none: every item is shown in one row that scrolls sideways by hand (touch, wheel,
   Tab moves to the next link). No copies are built in this mode. */
@media (prefers-reduced-motion: reduce) {
    .fs-atis-band.is-moving .fs-ticker-track { animation: none; }
    .fs-ticker-view { -webkit-mask-image: none; mask-image: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .fs-ticker-view::-webkit-scrollbar { display: none; }
    .fs-ticker-track { position: relative; top: auto; left: auto; transform: none; display: flex; align-items: center; width: max-content; height: 100%; padding: 0 8px; }
}
@media (max-width: 640px) {
    .fs-atis-band { height: 30px; }
    .fs-atis-inner { padding: 0 20px; gap: 12px; }
    .fs-atis-chip { font-size: 14px; padding: 3px 8px 2px; }
    .fs-atis-time { display: none; }
    .fs-ticker-track { font-size: 13px; letter-spacing: .12em; }
}

/* /flight-schools/: the visible nav (nav.fsf-topnav, 56px) is position:fixed inside the page
   content, so the band sits in the hero's top padding just under it and scrolls away with the page. */
.fs-atis-band[data-section="schools"] { position: absolute; top: 56px; left: 0; right: 0; z-index: 99; }
.avi-atis-band-schools .fsf-page-wrap { padding-top: 92px; }
@media (max-width: 640px) { .avi-atis-band-schools .fsf-page-wrap { padding-top: 86px; } }

/* /aviation-jobs/ on mobile: the 8-tile landing overlay is position:fixed at top:56px (under
   .avijl-header) — start it under the band instead. */
.avi-atis-band-jobs .avim-v8-landing { top: 92px; }
@media (max-width: 640px) { .avi-atis-band-jobs .avim-v8-landing { top: 86px; } }
/* Below 1024px the jobs page is a centred column (.avijl-main padding / max-width): bleed the band
   to the screen edges; clip (not hidden: no scroll container) so a classic scrollbar can't add sideways scroll.
   2026-10-11: 100vw includes a classic vertical scrollbar (15 px), so once the board scrolls (list view, a returning
   visitor who skips the picker) the band ran 8 px past the viewport and the document was 8 px wider than the screen.
   avi-atis-band.js publishes the scrollbar width as --avi-sbw on <html>; without JS it is 0 (the body clip remains). */
@media (max-width: 1023px) {
    .avijl-main > .fs-atis-band { width: calc(100vw - var(--avi-sbw, 0px)); margin-left: calc(50% - 50vw + var(--avi-sbw, 0px) / 2); }
    body.avi-atis-band-jobs { overflow-x: clip; }
}

/* 2026-10-17 (owner): jobs strip chip (inc/avi-jobs-live-pill.php; text since 2026-10-17 "666 OPEN JOBS · +9 TODAY").
   Second pass (owner, same day): the chip looks EXACTLY like the old "DEPARTURES · N LIVE" box and every other band's
   chip = the base .fs-atis-chip above (Bebas Neue 16 px / 14 px phones, letter-spacing .18em, gold #e8a020 text,
   1 px gold border rgba(232,160,32,.35), 3 px corners, padding 4px 10px 3px / 3px 8px 2px). No dot, no bold, no
   overrides: .fs-atis-chip--live only marks the jobs chip. The pill is plain inline text, so the spaces around "·"
   are the same as in the old "DEPARTURES · 666 LIVE". Gold on the band #0c1a30 = 7.9:1 (WCAG AAA). */
.avi-live-pill { display: inline; white-space: nowrap; outline: none; }
.avi-live-pill__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 599px) { .avi-live-pill__long { display: none; } } /* phones: "666 OPEN · +9 TODAY" */
/* 2026-10-17 (owner, third pass): the jobs LIVE box fills the strip top to bottom (no band above / below its outline).
   Vertical only: horizontal position and the gap to the scrolling text are unchanged. align-self: stretch fills
   .fs-atis-inner (the strip height minus the strip's own 1 px top / bottom borders); the text is centred with flex,
   keeping the base 1 px optical offset (padding 4/3 -> 1/0). The focus ring sits inside the box (the strip clips
   anything outside it). */
.fs-atis-chip--live { align-self: stretch; display: flex; align-items: center; box-sizing: border-box; padding-top: 1px; padding-bottom: 0; }
.fs-atis-chip--live:focus-within { outline: 2px solid var(--fs-gold); outline-offset: -3px; }
.avi-live-pill:focus-visible { outline: none; }
/* 2026-10-17 (owner, fourth pass): the jobs LIVE box starts flush at the strip's left edge (the strip has no left
   border): no left inset on the jobs strip's row (was 40 px / 20 px phones). Corners stay 3 px on all four sides (owner: = the old
   "DEPARTURES" box, base .fs-atis-chip). The right inset, the gap to the scrolling text (16 / 12 px) and the full height
   are unchanged. */
/* 2026-10-17 (owner, fifth pass, replaces the flush left edge above): left inset = the page gutter, 16 px below 1024 px,
   24 px from 1024 px (= the header logo and the filter titles). Height, colour, corners, wording and the gap to the
   scrolling text are unchanged. */
.fs-atis-band[data-section="jobs"] .fs-atis-inner { padding-left: 16px; }
@media (min-width: 1024px) { .fs-atis-band[data-section="jobs"] .fs-atis-inner { padding-left: 24px; } }
/* 2026-10-18 (jobs audit R5, fix 7): on phones and tablets each ticker item is a 44 px tap target (the band grows to fit). */
@media (max-width: 1023px) {
    .fs-atis-band { height: 44px; }
    .fs-atis-band a.fs-ticker-item { display: inline-block; padding: 14px 0; line-height: 16px; vertical-align: middle; }
    .fs-ticker-dot { vertical-align: middle; }
}

/* #159: same gutters as the header and the home top bar (16 px below 1024 px) */
@media (max-width: 1023px) { .fs-atis-inner { padding: 0 16px; } }
