/* /flight-schools/ hub (owner INBOX #445 / #459 / #460 / #461, 2026-11-03, staging). Markup: inc/fsf-schools-hub-phone.php
   (body class fsh-slides, the clean hub only) + the legacy hub in inc/fsf-homepage.php / inc/fsf-schools-hub.php.
   Loaded after fsf-schools-hub-phone.css (also used by the guide hubs, so nothing there changes) and avi-shared.css.
   Phones (< 768 px): full-screen slides, the Medicals hub pattern (AVCENTRAL-DESIGN-GUIDE.md: Phone page pattern,
   first-slide rule, side-scroll row #420 / #424, buttons #418, slim footer #436.11).
   Tablets / desktop (#461, supersedes #452): PROD's desktop layout, content-sized: the prod hero (#460) in a panel, the
   five prod resource cards in a row, the SEO sections as quiet collapsed rows, "Run a flight school?" above the footer. */

/* Near me pill inside the search field: phones (the #445 field) and tablets / desktop (prod's round hero search) */
body.fsh-slides .fsh-near-in {
	display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; margin: 0; cursor: pointer; white-space: nowrap;
	background: #0f1e38 !important; border: 1px solid #2a4266 !important; box-shadow: none !important;
	color: #e8eef5 !important; font-family: 'DM Sans', sans-serif; font-weight: 600; line-height: 1; -webkit-tap-highlight-color: transparent;
}
body.fsh-slides .fsh-near-in svg { color: #e8eef5; flex: 0 0 auto; } /* #475: white pin like the label */
body.fsh-slides .fsh-near-in:hover, body.fsh-slides .fsh-near-in:focus-visible { border-color: #7d93ad !important; } /* #418 */
body.fsh-slides .fsh-near-in:focus-visible { outline: 2px solid #e8a020; outline-offset: 2px; }
body.fsh-slides .fsh-near-in[aria-busy="true"] { opacity: .7; }
/* #462 (2026-11-03): the eyebrow pill has a neutral grey outline (#418; gold text kept); "IN CANADA" one blue at
   every width (Medicals blue #5aa9ff; prod desktop had #4fc3f7) */
body.fsh-slides .fsf-hero-tag { border-color: #2a4266 !important; }
body.fsh-slides .fsf-hero-title .fsf-hero-highlight { color: #5aa9ff !important; }
/* #461 add-on 7 (owner 23:36Z): the two hero buttons, one box at every width: 44 px, the same padding, 10 px radius,
   DM Sans 14 px, a 1 px border on both (gold on the gold one), no margins or transforms; widths / gaps per width below */
body.fsh-slides .fsf-hero-buttons > a {
	display: inline-flex !important; align-items: center; justify-content: center; height: 44px; margin: 0 !important; box-sizing: border-box;
	border-radius: 10px !important; font-family: 'DM Sans', sans-serif !important; font-size: 14px !important; font-weight: 600 !important;
	letter-spacing: 0 !important; line-height: 1 !important; white-space: nowrap; overflow: hidden; transform: none !important; vertical-align: top;
}
body.fsh-slides .fsf-hero-buttons > a.fsf-hero-btn-primary { border: 1px solid #e8a020 !important; }
body.fsh-slides .fsf-hero-buttons > a.fsf-hero-btn-outline { border: 1px solid #2a4266 !important; }

@media (max-width: 767.98px) {
	body.fsh-slides { background: #060f1e; }

	/* ── The ATIS · SCHOOLS ticker: inside the hero panel along its top edge (the header copy is hidden), all grey ── */
	body.fsh-slides .fs-atis-band[data-section="schools"] { display: none; }
	body.fsh-slides .fsh-atis .fs-atis-band[data-section="schools"] {
		display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 1; width: auto; height: 44px; margin: 0;
		background: rgba(255, 255, 255, .02); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
	}
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-inner { height: 44px; padding: 0 16px; }
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-chip { color: #7d93ad !important; border-color: #2a4266 !important; }
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-chip *,
	body.fsh-slides .fsh-atis .fs-atis-band .fs-ticker-track,
	body.fsh-slides .fsh-atis .fs-atis-band .fs-ticker-track *,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:visited { color: #7d93ad !important; }
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:hover,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:focus-visible { color: #e8eef5 !important; }
	/* the page wrap made room for the header band; now only the fixed 56 px header sits over the page */
	body.fsh-slides.avi-atis-band-schools .fsf-page-wrap { padding-top: 0 !important; }

	/* ── Slide 1: the hero = a panel (the legacy hero section keeps its H1) ── */
	body.fsh-slides .fsf-hero {
		position: relative; overflow: hidden; box-sizing: border-box; min-height: 0 !important;
		margin: var(--fsh-hero-top, 64px) 8px 10px !important; padding: 76px 20px 40px !important; /* #460 add-on: 32 px clear under the 44 px band */
		background: #0a1628 !important; border-radius: 24px; text-align: center;
	}
	body.fsh-slides .fsf-hero-content { position: static; }
	/* #460 (owner 22:52Z): PROD's hero inside the first slide, phones too: the eyebrow pill, the H1 (white + blue "IN
	   CANADA", phones keep prod's phone size and blue), prod's subline, the school search (phones: prod's phone field),
	   the two buttons. Reverses #445's gold "IN CANADA", one count and dropped eyebrow. No "Search all of AVCentral". */
	body.fsh-slides .fsf-hero-tag {
		display: inline-block !important; margin: 0 0 16px; padding: 4px 16px; background: none !important;
		border: 1px solid #2a4266 !important; border-radius: 20px;
		color: #e8a020; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2.5px; line-height: 1.5; text-transform: uppercase;
	}
	@media (max-width: 359.98px) { body.fsh-slides .fsf-hero-tag { padding: 4px 12px; font-size: 10.5px; letter-spacing: 1.6px; } } /* one line at 320 px */
	body.fsh-slides .fsh-sub { display: none; } /* prod's own subline instead */
	body.fsh-slides .fsf-hero-sub {
		display: block !important; max-width: 480px; margin: 16px auto 24px; color: #8899aa; font-family: 'DM Sans', sans-serif; font-size: 14px; line-height: 1.6;
	}
	/* #460 add-on (owner 22:59Z): the two buttons side by side, equal width, ~44 px, DM Sans 14 px, short labels;
	   #461 add-on 7: 12 px between them (fits at 320), the button box itself = the shared rule further down */
	body.fsh-slides .fsf-hero-buttons { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: 16px; }
	body.fsh-slides .fsf-hero-buttons > a { min-width: 0; padding: 0 4px !important; }
	@media (max-width: 379.98px) { body.fsh-slides .fsf-hero-buttons > a { padding: 0 2px !important; font-size: 13px !important; } } /* "Compare 154 schools" fits at 375 (14 px from 380) */
	@media (max-width: 339.98px) { body.fsh-slides .fsf-hero-buttons > a { font-size: 12px !important; } } /* and at 320 */
	/* prod's order: eyebrow, H1, subline, search, buttons (the phone search field sits in .fsh-hero, after the buttons in the markup) */
	body.fsh-slides .fsf-hero-content { display: flex; flex-direction: column; align-items: center; }
	body.fsh-slides .fsf-hero-content > .fsf-hero-tag { order: 1; }
	body.fsh-slides .fsf-hero-content > .fsf-hero-title { order: 2; align-self: stretch; }
	body.fsh-slides .fsf-hero-content > .fsf-hero-sub { order: 3; }
	body.fsh-slides .fsf-hero-content > .fsh-hero { order: 4; align-self: stretch; }
	body.fsh-slides .fsf-hero-content > .fsf-hero-buttons { order: 5; }
	@media (max-width: 359.98px) { body.fsh-slides .fsf-hero { padding-left: 14px !important; padding-right: 14px !important; } }

	/* typed examples (assets/js/avi-typed.js) over the field, between the magnifier and the Near me pill */
	body.fsh-slides .fsh-search input.fsh-input[type="search"] { padding-right: 108px !important; }
	body.fsh-slides .fsh-search .avi-type { position: absolute; left: 50px; right: 108px; top: 0; height: 58px; display: none; align-items: center; pointer-events: none;
		color: #7d93ad; font-family: 'DM Sans', sans-serif; font-size: 17px; white-space: nowrap; overflow: hidden; }
	body.fsh-slides .fsh-search .avi-type.is-on { display: flex; }
	body.fsh-slides .fsh-search .avi-type-caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; background: #94a7be; animation: fsh-caret 1.05s steps(1) infinite; }
	@keyframes fsh-caret { 50% { opacity: 0; } }
	/* #461 add-on (owner 23:01Z): Near me inside the phone field too (as the Medicals phone field); the slide-2 button goes */
	body.fsh-slides .fsh-search .fsh-near-in { position: absolute; right: 8px; top: 9px; height: 40px; padding: 0 12px; border-radius: 9px !important; font-size: 14px; }
	body.fsh-slides .fsh-search .fsh-near-in svg { width: 16px; height: 16px; }
	body.fsh-slides .fsh-near > .fsh-btn { display: none !important; }

	/* ── Slides 2-4: shared panels ── */
	body.fsh-slides .fsh-stage.avs-panel { background: #0a1628; padding: 40px 20px 32px; margin: 0 8px 10px; }

	/* Slide 2: Start close to home */
	body.fsh-slides .fsh-near.avs-panel { padding: 32px 16px 24px; }
	body.fsh-slides .fsh-near .fsh-board { margin-top: 20px; background: #070e1b; border-color: #1f3354; }

	/* Slide 3: Plan your training (side-scroll row of tall cards) */
	body.fsh-slides .fsh-plan.avs-panel { padding-bottom: 28px; }
	body.fsh-slides .fsh-plan .fsh-plan-sub { margin-bottom: 0; }
	body.fsh-slides .fsh-hscroll { margin-top: 24px; }
	body.fsh-slides .fsh-hscroll .avs-hcard--tall { text-decoration: none; }
	/* #461 add-on 4 (owner 23:29Z): coverflow depth (transforms set from the scroll position by the hub script): the
	   centred card flat + raised, neighbours turned slightly away and a little dimmer */
	body.fsh-slides .fsh-hscroll .avs-hscroll__item { perspective: 900px; }
	body.fsh-slides .fsh-hscroll .fsh-pcard { transform-origin: 50% 50%; will-change: transform, opacity; transition: box-shadow .4s ease; }
	body.fsh-slides .fsh-hscroll .fsh-pcard.is-centre { box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 4px 12px rgba(0, 0, 0, .35); }
	/* #461 add-on 6 (owner 23:34Z): the last slide = Plan your training (heading, the card row, the list pills), the slim
	   footer at its bottom; the content block centred in the space above the footer */
	body.fsh-slides .fsh-dplan.avs-panel { justify-content: flex-start; padding: 40px 20px 24px; margin: 0 8px 0; }
	body.fsh-slides .fsh-dplan-body { margin-top: auto; }
	body.fsh-slides .fsh-dplan .fsh-plan-sub { margin: 12px auto 0; max-width: 340px; }

	/* #461 add-on 5 (owner 23:32Z): the three list pills on phones too, in their own quiet panel after the cards slide
	   (was: hidden, only the A–Z list as the #provinces target) */
	body.fsh-slides .fsf-hubdir {
		display: block !important; box-sizing: border-box; margin: 28px 0 0 !important; padding: 0 !important;
		background: none; border-radius: 0; scroll-margin-top: 64px; /* #461 add-on 6: inside the Plan your training slide */
	}
	body.fsh-slides #fsf-hubdir-prov-title { display: inline !important; }
	body.fsh-slides .fsf-hubdir .fsf-hubdir-prov { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.fsh-slides .fsf-hubdir .fsf-hubdir-cities { display: block !important; }

	/* Slide 4: closing. Content centred in the space above, the footer row anchored at the slide's bottom */
	body.fsh-slides .fsh-close.avs-panel { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 40px 20px 24px; margin-bottom: 0; }
	body.fsh-slides .fsh-close-body { margin-top: auto; display: flex; flex-direction: column; align-items: center; }
	body.fsh-slides .fsh-btn.fsh-btn--gold { background: #ffb547 !important; border-color: #ffb547 !important; color: #060f1e !important; }
	@media (hover: hover) and (pointer: fine) { body.fsh-slides .fsh-btn.fsh-btn--gold:hover { background: #ffb547 !important; border-color: #e8eef5 !important; color: #060f1e !important; } }
	body.fsh-slides .fsh-close-foot { margin: auto -14px 0; padding-top: 40px; }
	body.fsh-slides .fsh-close-foot .fsf-footer-nav { display: none !important; }
	body.fsh-slides .fsh-close-foot .fsf-footer-compact,
	body.fsh-slides .fsh-close-foot .fsf-footer-legal {
		background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
		margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important;
	}
	/* the page's own footer row is in the closing slide on phones */
	body.fsh-slides .fsf-listings-panel > .fsf-footer-nav,
	body.fsh-slides .fsf-listings-panel > .fsf-footer-legal,
	body.fsh-slides .fsf-listings-panel > .fsf-footer-compact { display: none !important; }
}

/* #458.3 (owner): short phones (e.g. 375 x 667): "Start close to home" fits one screen: the city board shows the top 6
   cities (Winnipeg and Abbotsford drop; "All schools A–Z" stays); 390 x 844 and taller keep all 8 */
@media (max-width: 767.98px) and (max-height: 700px) {
	body.fsh-slides .fsh-rows[data-fsh-rows="cities"] > li:nth-child(n+7) { display: none; }
	body.fsh-slides .fsh-near.avs-panel { padding-top: 24px; padding-bottom: 16px; }
	body.fsh-slides .fsh-near .fsh-board { margin-top: 16px; }
}

/* ── Full-screen slides (phones in portrait, at least 600 px tall; the shared .avs-panel--slide rule covers slides 2-4).
   The hero carries .avs-panel--slide / --first (inc/fsf-homepage.php); the rule is repeated here with !important
   because fsf-schools-hub-phone.css sets the legacy hero's min-height: 0 !important: 100lvh tall, content at ~45 % of
   the screen visible on load (100svh minus the header). ── */
@media (max-width: 767.98px) and (orientation: portrait) and (min-height: 600px) {
	/* #537: bottom pad 48 -> 24 px. 76 + the ~497 px content + 48 = 621 px was taller than the 611 px slide at 375x667
	   (608 at 390x844), so the hero overran its 100lvh - 56px height; 76 + 497 + 24 = 597 fits and the ::after spacer
	   keeps the space below the content. */
	body.fsh-slides .fsf-hero {
		display: flex !important; flex-direction: column; justify-content: flex-start; padding: 76px 20px 24px !important;
		min-height: calc(100vh - 56px) !important; min-height: calc(100lvh - 56px) !important; --fsh-toolbar: 0px;
	}
	@supports (height: 100lvh) {
		body.fsh-slides .fsf-hero { --fsh-toolbar: calc(100lvh - 100svh); }
	}
	body.fsh-slides .fsf-hero::before,
	body.fsh-slides .fsf-hero::after {
		content: ""; display: block; flex-shrink: 0; position: static; width: auto; height: auto; inset: auto;
		background: none; opacity: 1; transform: none; pointer-events: none;
	}
	/* 30 : 70 (was 40 : 60): the 76 px top pad (32 px under the band, #460 add-on) would push the content below 45 % */
	body.fsh-slides .fsf-hero::before { flex-grow: 30; flex-basis: 0; }
	body.fsh-slides .fsf-hero::after { flex-grow: 70; flex-basis: var(--fsh-toolbar, 0px); }
	body.fsh-slides .fsf-hero-content { flex: 0 0 auto; }
}

/* ══ #461 (owner 22:57Z, supersedes #452 on tablets / desktop): PROD's desktop design, in this order:
   1. the prod hero (#460) in a panel, sized to its content (prod's spacing; not a full-window slide), the ticker inside
      its top edge, Near me as a compact pill inside prod's round search (#461 add-on 23:01Z);
   2. the five resource cards = prod's feature-block row (fsf_hubm_feature_row(); order + colours #459 add-on 23:00Z);
   3. the SEO sections ("Flight schools by province", "Popular cities", "All flight schools A–Z") as quiet collapsed
      <details> rows (content in the HTML), muted like the Medicals "About CAMEs in [area]" rows;
   4. "Run a flight school?" above the slim footer (#461 add-on 23:02Z).
   No "Start close to home" board (it shows only once Near me is used: the nearest schools, or the city board when
   location is refused); no "Plan your training" slide (the row in 2 replaces it). Slide heights: content-sized. ══ */
@media (min-width: 768px) {
	body.fsh-slides { background: #060f1e; }

	/* ── hidden on tablets / desktop ── */
	body.fsh-slides .fsf-hero-radar, body.fsh-slides .fsf-hero-overlay, body.fsh-slides .fsf-hero-search-mobile,
	body.fsh-slides .fsf-hero-school-link, body.fsh-slides .fsf-hero-scroll-hint,
	body.fsh-slides .fsf-m-search-bar, body.fsh-slides .fsf-mobile-sections, body.fsh-slides .fsh-plan,
	body.fsh-slides .fsf-listings-panel > .fsf-footer-nav,
	body.fsh-slides .fsf-listings-panel > .fsf-footer-legal,
	body.fsh-slides .fsf-listings-panel > .fsf-footer-compact,
	body.fsh-slides .fsf-hero .avi-sa { display: none !important; }

	/* ── ticker: inside the hero panel along its top edge (as on phones); the header copy hidden ── */
	body.fsh-slides .fs-atis-band[data-section="schools"] { display: none; }
	body.fsh-slides.avi-atis-band-schools .fsf-page-wrap { padding-top: 0 !important; }
	body.fsh-slides .fsh-atis .fs-atis-band[data-section="schools"] {
		display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 1; width: auto; margin: 0;
		background: rgba(255, 255, 255, .02); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
	}
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-inner { padding: 0 28px; }
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-chip { color: #7d93ad !important; border-color: #2a4266 !important; }
	body.fsh-slides .fsh-atis .fs-atis-band .fs-atis-chip *,
	body.fsh-slides .fsh-atis .fs-atis-band .fs-ticker-track,
	body.fsh-slides .fsh-atis .fs-atis-band .fs-ticker-track *,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:visited { color: #7d93ad !important; }
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:hover,
	body.fsh-slides .fsh-atis .fs-atis-band a.fs-ticker-item:focus-visible { color: #e8eef5 !important; }

	/* ── panels: 10 px inset, 24 px radius, content 1200 px (the home / Medicals desktop slide surface). #461 add-on 2
	   (owner 23:23Z): three full-screen slides, hero / Plan your training / Run a flight school?, each the window
	   height minus the header = the shared #453 rule (.avs-panel--slide, --avs-header-h; the hero .avs-panel--first,
	   45 %); a taller slide grows (an open SEO row). Only "Find yours" (after Near me) stays sized to content. ── */
	body.fsh-slides .fsf-hero.avs-panel,
	body.fsh-slides .fsh-stage.avs-panel,
	body.fsh-slides .fsh-dplan.avs-panel {
		position: relative; box-sizing: border-box; margin: 0 10px 10px !important; border-radius: 24px; background: #0a1628 !important;
		padding: 56px max(32px, calc((100% - 1200px) / 2)) !important; text-align: center; overflow: hidden;
	}
	body.fsh-slides .fsh-near.avs-panel { min-height: 0 !important; }
	body.fsh-slides .fsf-hero.avs-panel { margin-top: calc(var(--avs-header-h, 56px) + 10px) !important; padding-top: 72px !important; padding-bottom: 56px !important; } /* 36 px band + 36 px clear */
	body.fsh-slides .fsf-hero-content { flex: 0 0 auto; }
	/* the hero block is tall (~500 px: pill, 3-line H1, subline, search, buttons), so the shared 40 : 60 spacers put its
	   middle at ~49 %; 28 : 72 gives ~46 % at 1440 x 900 and ~43 % at 1920 x 1080 */
	body.fsh-slides .fsf-hero.avs-panel--first::before { flex-grow: 28; }
	body.fsh-slides .fsf-hero.avs-panel--first::after { flex-grow: 72; }
	body.fsh-slides .fsh-stage > * { margin-left: auto; margin-right: auto; }
	/* the sections after the hero sit inside the legacy listings panel: no side padding / width cap of its own */
	body.fsh-slides .fsf-listings-panel { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: auto !important; }

	/* ── 1. hero: PROD's desktop hero as is (fsf-main.css styles), the phone parts hidden ── */
	body.fsh-slides .fsf-hero-content { position: static; width: 100%; max-width: 700px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; text-align: center; }
	body.fsh-slides .fsf-hero-title { font-size: clamp(56px, 6.7vw, 96px); } /* #462: up to 96 px from 1440 (prod: 68 px max) */
	body.fsh-slides .fsh-hero { display: block; }
	body.fsh-slides .fsh-hero .fsh-sub, body.fsh-slides .fsh-hero .fsh-search { display: none !important; }
	body.fsh-slides .fsf-hero .hero-search-wrap { display: block !important; }
	/* #461 add-on 7: the pair centred under the search bar, 16 px below it, 12 px apart, edges aligned (prod gave the
	   gold button no border and the outline one a 1 px border; the bar's wrapper had no bottom margin here) */
	body.fsh-slides .fsf-hero-buttons { display: flex !important; justify-content: center; align-items: stretch; gap: 12px; margin: 16px 0 0 !important; }
	body.fsh-slides .fsf-hero-buttons > a { padding: 0 24px !important; }
	/* #461 add-on 23:10Z (owner): the search field and its Near me = the Medicals hub's (avi-came-410.css #425 / #436 add-on,
	   same values: field 58 px, 12 px radius, 1 px #2a4266 on #0c1a30, white 20 px magnifier, 17 px text, gold focus ring;
	   Near me 32 px, 6 px from the right edge, vertically centred, #0f1e38 + #2a4266, DM Sans 13 px, 14 px pin in the page
	   accent: Schools gold). Overrides prod's inline round-bar styles. */
	body.fsh-slides .fsf-hero .hero-search-wrap { max-width: 720px !important; margin: 28px auto 0 !important; padding: 0 !important; }
	body.fsh-slides .fsf-hero .hero-search-form {
		position: relative; height: 58px !important; padding: 0 0 0 18px !important; box-sizing: border-box;
		background: #0c1a30 !important; border: 1px solid #2a4266 !important; border-radius: 12px !important; box-shadow: none !important;
	}
	body.fsh-slides .fsf-hero .hero-search-form:focus-within { border-color: #e8a020 !important; box-shadow: 0 0 0 3px rgba(232, 160, 32, .18) !important; }
	body.fsh-slides .fsf-hero .hero-search-icon { color: #e8eef5 !important; margin-right: 12px !important; }
	body.fsh-slides .fsf-hero .hero-search-icon svg { width: 20px; height: 20px; }
	body.fsh-slides .fsf-hero .hero-search-input { height: 56px; padding-right: 104px !important; color: #fff !important; font-size: 17px !important; text-overflow: ellipsis; }
	body.fsh-slides .fsf-hero .hero-search-input::placeholder { color: #7d93ad !important; opacity: 1; }
	body.fsh-slides .hero-search-form .fsh-near-in {
		position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 32px; margin: 0; padding: 0 10px; gap: 5px;
		border-radius: 8px !important; font-size: 13px;
	}
	body.fsh-slides .hero-search-form .fsh-near-in svg { width: 14px; height: 14px; }
	/* #501: typed examples (assets/js/avi-typed.js) over the desktop bar: after the magnifier (18 + 20 + 12), before the Near me pill */
	body.fsh-slides .hero-search-form .avi-type { position: absolute; left: 51px; right: 104px; top: 0; bottom: 0; display: none; align-items: center; pointer-events: none;
		color: #7d93ad; font-family: 'DM Sans', sans-serif; font-size: 17px; white-space: nowrap; overflow: hidden; }
	body.fsh-slides .hero-search-form .avi-type.is-on { display: flex; }
	body.fsh-slides .hero-search-form .avi-type-caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; background: #94a7be; animation: fsh-caret 1.05s steps(1) infinite; }
	body.fsh-slides .fsf-hero-content { max-width: 768px; }

	/* ── Start close to home: only once Near me is used ── */
	body.fsh-slides .fsh-near { display: none !important; }
	body.fsh-slides .fsh-near.is-active { display: block !important; padding-top: 40px !important; padding-bottom: 40px !important; }
	body.fsh-slides .fsh-near > .fsh-btn { display: none !important; }
	body.fsh-slides .fsh-near .fsh-board { display: none; }
	body.fsh-slides .fsh-near.is-fallback .fsh-board { display: block; }
	body.fsh-slides .fsh-h2 { margin: 0; padding: 0; border: 0; color: #fff; text-align: center; font-family: 'Bebas Neue', sans-serif; font-weight: 400;
		font-size: clamp(36px, 3.4vw, 52px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
	body.fsh-slides .fsh-stage a:focus-visible, body.fsh-slides .fsh-stage button:focus-visible { outline: 2px solid #e8a020; outline-offset: 2px; }
	body.fsh-slides .fsh-quiet { display: inline-flex; align-items: center; min-height: 28px; color: #7d93ad; font-family: 'DM Sans', sans-serif; font-size: 13px; text-decoration: none; }
	body.fsh-slides .fsh-quiet:hover, body.fsh-slides .fsh-quiet:focus-visible { color: #e8eef5; }
	body.fsh-slides .fsh-near-msg { max-width: 720px; width: 100%; margin: 16px auto 0; color: #94a7be; font-family: 'DM Sans', sans-serif; font-size: 15px; text-align: center; }
	body.fsh-slides .fsh-near-list { list-style: none; width: 100%; max-width: 720px; margin: 12px auto 0; padding: 0; border-top: 1px solid #16294a; text-align: left; }
	body.fsh-slides .fsh-near-list[hidden], body.fsh-slides .fsh-near-msg[hidden] { display: none; }
	body.fsh-slides .fsh-near-list li { margin: 0; padding: 0; border-bottom: 1px solid #16294a; }
	body.fsh-slides .fsh-near-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 4px; text-decoration: none; font-family: 'DM Sans', sans-serif; }
	body.fsh-slides .fsh-near-name { grid-column: 1; color: #e8eef5; font-size: 15px; font-weight: 600; }
	body.fsh-slides .fsh-near-place { grid-column: 1; color: #7d93ad; font-size: 12px; }
	body.fsh-slides .fsh-near-km { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #ffb547; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
	/* fallback city board (location refused): the #452 board, code + name + arrow, 4 / 2 columns */
	body.fsh-slides .fsh-board { width: 100%; max-width: 1200px; margin: 24px auto 0; background: #070e1b; border: 1px solid #1f3354; border-radius: 14px; overflow: hidden; text-align: left; }
	body.fsh-slides .fsh-board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 8px 12px 8px 20px; box-sizing: border-box; border-bottom: 1px solid #16294a; }
	body.fsh-slides .fsh-board-title { color: #ffb547; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
	body.fsh-slides .fsh-switch { display: flex; flex: 0 0 auto; border: 1px solid #2a4266; border-radius: 999px; padding: 2px; }
	body.fsh-slides .fsh-switch-btn {
		min-height: 36px; padding: 0 14px; margin: 0; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: #7d93ad !important; box-shadow: none !important; cursor: pointer;
		font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	}
	body.fsh-slides .fsh-switch-btn.is-on { background: #ffb547 !important; color: #060f1e !important; }
	body.fsh-slides .fsh-rows { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 -1px -1px 0; padding: 0; }
	body.fsh-slides .fsh-rows[hidden] { display: none; }
	body.fsh-slides .fsh-rows li { margin: 0; padding: 0; border: 0; border-right: 1px solid #16294a; border-bottom: 1px solid #16294a; }
	body.fsh-slides .fsh-row {
		display: grid; grid-template-columns: 52px minmax(0, 1fr) 12px; align-items: center; column-gap: 10px; min-height: 52px; padding: 4px 20px;
		box-sizing: border-box; text-decoration: none; font-family: 'JetBrains Mono', monospace; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
	}
	body.fsh-slides .fsh-code { color: #ffb547; }
	body.fsh-slides .fsh-name { color: #e8eef5; line-height: 1.15; }
	body.fsh-slides .fsh-row .fsh-n { display: none; }
	body.fsh-slides .fsh-go { color: #7d93ad; text-align: right; font-family: 'DM Sans', sans-serif; font-size: 18px; }
	body.fsh-slides .fsh-board-az { display: flex; justify-content: center; min-height: 52px; }

	/* ── 2. the five resource cards: prod's .fsf-feature-row (fsf-main.css), recoloured per card (--fsh-pc) ── */
	/* slide 2 "Plan your training": heading, the cards, the list pills, centred as one block in the space above the slim
	   footer at the slide's bottom (#461 add-on 6: no third slide) */
	body.fsh-slides .fsh-dplan.avs-panel { justify-content: flex-start; padding-bottom: 24px !important; margin-bottom: 0 !important; }
	body.fsh-slides .fsh-dplan-body { margin-top: auto; width: 100%; }
	body.fsh-slides .fsh-dplan .fsh-hscroll { display: none !important; }
	body.fsh-slides .fsh-dplan-head { margin: 0 auto; }
	body.fsh-slides .fsh-dplan .fsh-plan-sub { max-width: 560px; margin: 14px auto 0; color: #94a7be; font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.5; }
	body.fsh-slides .fsh-feature-row { width: 100%; max-width: 1200px; margin: 36px auto 0 !important; padding: 0 !important; border-top: 0 !important; box-sizing: border-box; }
	body.fsh-slides .fsh-feature-row .fsf-feature-block:nth-child(5) { animation-delay: .48s; }
	body.fsh-slides .fsh-feature-row .fsf-feature-block:nth-child(5) .fsf-fb-main-icon { animation-delay: 2.4s; }
	body.fsh-slides .fsf-fb-graphic--pilot { background: #060e1a; }
	body.fsh-slides .fsh-feature-row .fsf-fb-graphic::before,
	body.fsh-slides .fsh-pcard .fsf-fb-graphic::before { content: ''; position: absolute; inset: 0; transition: background .3s ease;
		background: linear-gradient(to top, rgba(var(--fsh-pc), .4) 0%, rgba(var(--fsh-pc), .1) 40%, transparent 75%); }
	@media (hover: hover) and (pointer: fine) {
		/* #461 add-on 4: prod's lift + a subtle tilt toward the pointer (--fsh-rx / --fsh-ry, max 6deg, set by the hub script) */
		body.fsh-slides .fsh-feature-row .fsf-feature-block { transition: transform .18s ease-out, border-color .3s ease, box-shadow .3s ease; }
		/* prod's entrance (fsfBlockIn) used fill-mode forwards, which pinned transform and so blocked any hover
		   transform; same entrance here with fill-mode backwards and the end state as the card's own style */
		body.fsh-slides .fsh-feature-row .fsf-feature-block { opacity: 1; transform: none; animation-fill-mode: backwards; }
		body.fsh-slides .fsh-feature-row .fsf-feature-block:hover {
			transform: perspective(800px) rotateX(var(--fsh-rx, 0deg)) rotateY(var(--fsh-ry, 0deg)) translateY(-6px) scale(1.02);
			border-color: rgba(var(--fsh-pc), .3); box-shadow: 0 12px 40px rgba(var(--fsh-pc), .15);
		}
		body.fsh-slides .fsh-feature-row .fsf-feature-block:hover .fsf-fb-graphic::before { background: linear-gradient(to top, rgba(var(--fsh-pc), .6) 0%, rgba(var(--fsh-pc), .2) 40%, transparent 75%); }
		body.fsh-slides .fsh-feature-row .fsf-feature-block:hover .fsf-fb-title { color: rgb(var(--fsh-pc)); }
	}

	/* ── 3. the SEO lists: three small pills under the cards (#461 add-on 5; the pill rules are shared with phones, below) ── */
	body.fsh-slides .fsf-hubdir { max-width: 1200px; margin: 36px auto 0 !important; padding: 0 !important; }

	/* ── 4. Run a flight school? above the slim footer (the footer row inside the panel, as on phones) ── */
	/* slide 3: the message centred in the slide, the slim footer at its bottom */
	body.fsh-slides .fsh-close.avs-panel { display: flex !important; flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 72px !important; padding-bottom: 24px !important; margin-bottom: 0 !important; }
	body.fsh-slides .fsh-close-body { display: flex; flex-direction: column; align-items: center; margin-top: auto; }
	body.fsh-slides .fsh-close .fsh-h2 { font-size: clamp(44px, 4.2vw, 64px); line-height: .98; }
	body.fsh-slides .fsh-close-sub { max-width: 560px; margin: 16px auto 0; color: #94a7be; font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.5; }
	body.fsh-slides .fsh-btn.fsh-btn--gold {
		display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 280px; max-width: 360px; height: 48px; margin-top: 28px; padding: 0 28px;
		box-sizing: border-box; background: #ffb547 !important; border: 1px solid #ffb547 !important; border-radius: 10px !important; color: #060f1e !important; box-shadow: none !important;
		font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none !important;
	}
	@media (hover: hover) and (pointer: fine) { body.fsh-slides .fsh-btn.fsh-btn--gold:hover { border-color: #e8eef5 !important; } }
	body.fsh-slides .fsh-close-foot { width: 100%; max-width: none; margin: auto 0 0; padding-top: 64px; }
	body.fsh-slides .fsh-close-foot .fsf-footer-nav { display: none !important; }
	body.fsh-slides .fsh-close-foot .fsf-footer-compact,
	body.fsh-slides .fsh-close-foot .fsf-footer-legal {
		background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
		margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important;
	}
}
@media (min-width: 1024px) {
	body.fsh-slides .fsh-rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ══ #461 add-on 5 (owner 23:32Z): the SEO lists as three small centred pills (like the home quick-link pills), phones +
   desktop: "By province", "Popular cities", "All N schools A–Z". Each pill is the <summary> of a native <details>; the
   lists stay in the HTML (in the <details>, or moved by the hub script into one .fsf-hubdir-panel under the pills while
   open; one open at a time). Why indexable: the text is in the server HTML inside <details> (collapsed content Google
   reads like other hidden-by-default UI), never display:none-only and never injected by JS. Neutral border, subtle text,
   12 px gap; the open pill a soft fill; native summary keyboard + expanded state, aria-controls = the panel. ══ */
body.fsh-slides .fsf-hubdir { text-align: center; background-clip: padding-box; }
body.fsh-slides .fsf-hubdir-row,
body.fsh-slides .fsf-hubdir:not(:has(.fsf-hubdir-row)) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; border: 0; }
body.fsh-slides .fsf-hubdir:has(.fsf-hubdir-row) { display: block; }
body.fsh-slides .fsf-hubdir details { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.fsh-slides .fsf-hubdir details > summary {
	display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin: 0 !important; padding: 0 16px !important;
	box-sizing: border-box; cursor: pointer; list-style: none; white-space: nowrap;
	background: transparent !important; border: 1px solid #2a4266 !important; border-radius: 999px; box-shadow: none !important;
	color: #94a7be; font-family: 'DM Sans', sans-serif; font-size: 13px; transition: border-color .2s, color .2s, background-color .2s;
}
body.fsh-slides .fsf-hubdir details > summary::-webkit-details-marker { display: none; }
body.fsh-slides .fsf-hubdir details > summary::marker { content: ''; }
body.fsh-slides .fsf-hubdir details > summary::after { content: none !important; display: none !important; }
body.fsh-slides .fsf-hubdir .fsf-hubdir-title--inline {
	display: inline; margin: 0 !important; padding: 0; color: inherit !important; font-family: 'DM Sans', sans-serif !important; font-size: 13px !important;
	font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.2;
}
body.fsh-slides .fsf-hubdir details > summary:hover, body.fsh-slides .fsf-hubdir details > summary:focus-visible { border-color: #7d93ad !important; color: #e8eef5; }
body.fsh-slides .fsf-hubdir details > summary:focus-visible { outline: 2px solid #e8a020; outline-offset: 2px; }
body.fsh-slides .fsf-hubdir details[open] > summary { background: #0f1e38 !important; border-color: #3a5784 !important; color: #e8eef5; }
body.fsh-slides .fsf-hubdir-panel { margin: 16px 0 0; padding: 0; text-align: left; }
body.fsh-slides .fsf-hubdir-panel[hidden] { display: none; }
body.fsh-slides .fsf-hubdir .fsf-hubdir-prov { margin: 0; }
body.fsh-slides .fsf-hubdir .fsf-hubdir-prov a:hover, body.fsh-slides .fsf-hubdir .fsf-hubdir-prov a:focus-visible { border-color: #7d93ad; } /* #418: neutral, was gold */
body.fsh-slides .fsf-hubdir .fsf-hubdir-cities { margin: 0; color: #7d93ad; font-family: 'DM Sans', sans-serif; font-size: 13px; line-height: 1.8; text-align: center; }
body.fsh-slides .fsf-hubdir > .fsf-hubdir-cities { margin: 14px 0 0; } /* the "Also:" line, when switched on */
body.fsh-slides .fsf-hubdir .fsf-hubdir-az-list { margin: 0; }
/* no script: each <details> opens in place, its list on its own full line */
body.fsh-slides .fsf-hubdir:not(:has(.fsf-hubdir-row)) > details[open] { flex-basis: 100%; }

/* motion on tablets / desktop (phones: fsf-schools-hub-phone.css): play-in and the board flip, once */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	html.fsh-anim body.fsh-slides [data-fsh-in] { transition: opacity .9s cubic-bezier(.33, 1, .68, 1), transform .7s cubic-bezier(.33, 1, .68, 1); }
	html.fsh-anim body.fsh-slides [data-fsh-in]:not(.is-in) { opacity: 0; transform: translateY(30px); }
	body.fsh-slides .fsh-rows.is-flip li { animation: fsh-flip-d .45s cubic-bezier(.33, 1, .68, 1) both; }
	@keyframes fsh-flip-d { from { transform: rotateX(-88deg); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
	body.fsh-slides .fsh-feature-row .fsf-feature-block { animation: none; opacity: 1; transform: none; }
	body.fsh-slides .fsh-feature-row .fsf-fb-main-icon { animation: none !important; }
	body.fsh-slides .fsf-hubdir .fsf-hubdir-chev { transition: none; }
}

/* ══ #459 (owner 22:50Z): the PROD resource-card look inside the phone row (#445 side-scroll)
   Prod = .fsf-feature-block + fsf-main.css: a dark top in the card's colour with a glow rising from its bottom, prod's
   icon centred in it and floating (fsfIconFloat 3.2 s, staggered .6 s), a top spin on hover, the card lifting with a
   soft glow in its colour; prod's copy below. Here the top fills the upper part of each tall card; all cards the same
   height. --fsh-pc = the card's colour (r,g,b): #459 add-on 23:00Z section colours. ══ */
body.fsh-slides .avs-hcard.fsh-pcard {
	padding: 0 !important; gap: 0 !important; justify-content: flex-start; align-items: stretch; text-align: center; overflow: hidden;
	background: var(--fsf-card, #0c1a30); border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px; text-decoration: none;
}
body.fsh-slides .fsh-pcard .fsf-fb-graphic { flex: 0 0 auto; height: clamp(150px, 24svh, 200px); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
body.fsh-slides .fsh-pcard .fsf-fb-graphic::before { content: ''; position: absolute; inset: 0; transition: background .3s ease;
	background: linear-gradient(to top, rgba(var(--fsh-pc), .4) 0%, rgba(var(--fsh-pc), .1) 40%, transparent 75%); }
body.fsh-slides .fsh-pcard .fsf-fb-main-icon { width: 72px; height: 72px; }
body.fsh-slides .fsh-hscroll .avs-hscroll__item:nth-child(2) .fsf-fb-main-icon { animation-delay: .6s; }
body.fsh-slides .fsh-hscroll .avs-hscroll__item:nth-child(3) .fsf-fb-main-icon { animation-delay: 1.2s; }
body.fsh-slides .fsh-hscroll .avs-hscroll__item:nth-child(4) .fsf-fb-main-icon { animation-delay: 1.8s; }
body.fsh-slides .fsh-hscroll .avs-hscroll__item:nth-child(5) .fsf-fb-main-icon { animation-delay: 2.4s; }
body.fsh-slides .fsh-pcard__body {
	display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; gap: 8px; box-sizing: border-box;
	padding: 20px 20px 22px; border-top: 1px solid rgba(255, 255, 255, .05);
	background: linear-gradient(180deg, #13223f 0%, #0f1b33 100%); /* #461 add-on 3: the 6A card navy (was flat near-black) */
}
/* #461 add-on 3 (owner 23:23Z): the desktop row's label area gets the same navy (prod's var(--fsf-card) read near-black) */
body.fsh-slides .fsh-feature-row .fsf-fb-label { background: linear-gradient(180deg, #13223f 0%, #0f1b33 100%) !important; }
body.fsh-slides .avs-hcard.fsh-pcard, body.fsh-slides .fsh-feature-row .fsf-feature-block { background: #0f1b33; }
body.fsh-slides .fsh-pcard .fsh-pcard__t { margin: 0; color: var(--fsf-white, #fff); font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 700; line-height: 1.25; transition: color .3s ease; }
body.fsh-slides .fsh-pcard .fsh-pcard__d { margin: 0; color: var(--fsf-muted, #94a7be); font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.4; font-style: italic; }
body.fsh-slides .fsh-pcard .fsh-pcard__go { margin-top: auto; padding-top: 10px; color: rgb(var(--fsh-pc)); font-size: 15px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
	body.fsh-slides .avs-hcard.fsh-pcard { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
	body.fsh-slides .avs-hcard.fsh-pcard:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(var(--fsh-pc), .3); box-shadow: 0 12px 40px rgba(var(--fsh-pc), .15); }
	body.fsh-slides .fsh-pcard:hover .fsf-fb-graphic::before { background: linear-gradient(to top, rgba(var(--fsh-pc), .6) 0%, rgba(var(--fsh-pc), .2) 40%, transparent 75%); }
	body.fsh-slides .fsh-pcard:hover .fsf-fb-main-icon { animation: fsfIconTopSpin 4s linear infinite !important; }
	body.fsh-slides .fsh-pcard:hover .fsh-pcard__t { color: rgb(var(--fsh-pc)); }
}
@media (prefers-reduced-motion: reduce) {
	body.fsh-slides .fsh-pcard .fsf-fb-main-icon, body.fsh-slides .fsh-pcard:hover .fsf-fb-main-icon { animation: none !important; }
	body.fsh-slides .avs-hcard.fsh-pcard, body.fsh-slides .avs-hcard.fsh-pcard:hover { transition: none; transform: none; }
}
