/* --- Hero map, 19 October 2026 --------------------------------------------
   The "Where we're recruiting" map (design_handoff_teachvic_recruiting_map)
   replaces the library photograph behind the For Teachers title screen.
   Ben's calls, 19 Oct: the map replaces the photo, fully interactive
   (Melbourne / All Victoria toggle, tooltips, the Mildura chip), opens on
   Melbourne. Suburbs are fixed here: the handoff's list plus Shepparton and
   Mansfield. Roles are the /apply/ suburbs on 19 Oct.

   Theme 1.3.10. Enqueued on page 22 only (functions.php,
   teachvic_teachers_map), with assets/js/teachers-map.js, which adds
   .tvx-tmap after .tvx-thero__bg; the photo plate is hidden. The page block
   is not touched. The rules that meet the page block's own hero rules are
   scoped to body.page-id-22 so they win over it: the block's <style> loads
   after this file.
   The map is framed into the right of the hero, clear of the copy; the
   Mildura chip sits under the toggle, top right; the scrim is lightened so the right half is not dimmed. Below 1000px the map
   sits under the copy as a 440px band. ------------------------------------- */
body.page-id-22 .tvx-thero__plate { background-image: none !important; }
body.page-id-22 .tvx-thero__scrim {
	pointer-events: none; z-index: 1;
	background: linear-gradient(90deg, rgba(7,26,60,.96) 0%, rgba(7,26,60,.88) 30%, rgba(7,26,60,.45) 48%, rgba(7,26,60,0) 60%) !important;
}
body.page-id-22 .tvx-thero__inner { pointer-events: none; }
body.page-id-22 .tvx-thero__inner > * { pointer-events: auto; }
.tvx-tmap { position: absolute; inset: 0; z-index: 0; background: #071A3C; }
.tvx-tmap svg { display: block; width: 100%; height: 100%; }
.tvx-tmap__bar { position: absolute; top: 214px; right: 40px; display: flex; align-items: center; gap: 14px; z-index: 3; }
.tvx-tmap__place { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .2em; color: #9FC0F0; }
.tvx-tmap__seg { display: flex; gap: 2px; background: rgba(255,255,255,.08); border: 1px solid rgba(159,192,240,.18); border-radius: 999px; padding: 3px; }
.tvx-tmap__seg button { font: 600 13px Archivo, sans-serif; color: #DCE8FA; background: none; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.tvx-tmap__seg button[aria-pressed="true"] { background: #F6A02A; color: #071A3C; }
.tvx-tmap__seg button:not([aria-pressed="true"]):hover { color: #fff; }
.tvx-tmap__hint { position: absolute; right: 40px; top: 266px; z-index: 3; display: flex; align-items: center; gap: 10px; font: 600 13px Archivo, sans-serif; color: #fff; background: rgba(11,42,92,.9); border: 1px solid rgba(159,192,240,.25); border-radius: 999px; padding: 8px 14px 8px 10px; cursor: pointer; transition: opacity .3s, transform .3s; }
.tvx-tmap__hint:hover { border-color: #F6A02A; }
.tvx-tmap__hint.off { opacity: 0; transform: translateY(8px); pointer-events: none; }
.tvx-tmap__hint .arr { color: #F6A02A; font-family: ui-monospace, Menlo, monospace; }
.tvx-tmap__sw { width: 11px; height: 11px; border-radius: 50%; flex: none; background: #1B4A96; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #9FC0F0; }
.tvx-tmap__tip { position: absolute; z-index: 4; pointer-events: none; background: #fff; color: #071A3C; border-radius: 12px; padding: 10px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.3); transform: translate(-50%, calc(-100% - 18px)); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.tvx-tmap__tip b { display: block; font-size: 15px; }
.tvx-tmap__tip span { font-size: 12px; color: #556580; }
.tvx-tmap__tip.show { opacity: 1; }
.tvx-tmap .pulse { transform-box: fill-box; transform-origin: center; animation: tvxTmapPulse 2.4s ease-out infinite; }
@keyframes tvxTmapIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tvxTmapPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.tvx-tmap .mk { transition: opacity .3s; cursor: pointer; }
.tvx-tmap .lbl { font: 600 15px Archivo, sans-serif; fill: #fff; paint-order: stroke; stroke: #071A3C; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.tvx-tmap .mk.big .lbl { font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
	.tvx-tmap .pulse { animation: none; opacity: 0; }
}
@media (max-width: 999px) {
	body.page-id-22 .tvx-thero { flex-direction: column; align-items: stretch; min-height: 0; }
	.tvx-tmap { position: relative; inset: auto; order: 2; height: 440px; z-index: 2; }
	.tvx-tmap__bar { top: 18px; right: 18px; }
	.tvx-tmap__hint { right: auto; top: auto; left: 18px; bottom: 18px; }
	body.page-id-22 .tvx-thero__scrim { background: rgba(7,26,60,.9) !important; }
}
