/* fairmaps.ca : flyover.css
   The flyover's first-load part: the play control in the hero and the poster band under it
   (flyover.js). Linked from the hero's action row, so the hero's controls are styled before they
   paint. The player's own rules are in flyover-player.css, loaded only when a flight starts.
   Uses the site's --fm-* tokens. No cards, no shadows. Every text is 16 px or more. */

/* ---------- hero: Play the flyover first, the rest quieter ---------- */
.fm-hero__actions--fly { display: grid; gap: 0.9rem; justify-items: start; }
.fm-fly-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1rem; }
.fm-hero__actions .fm-fly-cta__btn { flex: 0 0 auto; padding-inline: 1.35rem 1.7rem; }
.fm-fly-cta__icon { flex: none; margin-left: -0.1rem; }
.fm-fly-cta__meta {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--fm-ink-2);
}
@media (min-width: 32.5em) { .fm-fly-cta__meta { max-width: 9.5em; } }
@media (max-width: 32.49875em) {
  /* phones: the one big action spans the column, as the hero's buttons always have */
  .fm-fly-cta { display: grid; justify-items: center; gap: 0.6rem; width: 100%; }
  .fm-hero__actions--fly { justify-items: stretch; }
  .fm-hero__actions .fm-fly-cta__btn { width: 100%; }
  .fm-hero__more { justify-content: center; }
}
.fm-hero__more { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; }
.fm-hero__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 44px;
  font-family: var(--fm-font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fm-ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(20, 20, 20, 0.3);
  text-underline-offset: 4px;
}
.fm-hero__more a:hover { text-decoration-color: var(--fm-red); }

/* ---------- the band under the hero ---------- */
.fm-fly { background: var(--fm-paper); padding-block: clamp(2.5rem, 7vw, 5rem); }
.fm-fly__head { max-width: 860px; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.fm-fly__head h2 { margin-bottom: 0.6rem; }
.fm-fly__head p { margin: 0; max-width: var(--fm-measure); color: var(--fm-ink-2); }
.fm-fly__stage { position: relative; }

/* poster: our own flat pictures of the three stops (never a Google image) */
.fm-fly__poster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.6vw, 1rem);
}
.fm-fly__poster li { margin: 0; min-width: 0; }
.fm-fly__poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 840 / 700;
  background: var(--fm-stone-2);
  border-radius: var(--fm-radius-sm);
}
.fm-fly.is-ready .fm-fly__poster img { cursor: pointer; }
.fm-fly__poster span {
  display: flex;
  gap: 0.45em;
  padding-top: 0.55rem;
  font-family: var(--fm-font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--fm-ink);
}
.fm-fly__poster b { color: var(--fm-red-deep); font-weight: 800; }
.fm-fly__go {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1rem, 2.4vw, 1.5rem);
  padding: 0.25rem 0.5rem 0.25rem 0;
  border: 0;
  background: none;
  color: var(--fm-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--fm-radius-sm);
}
.fm-fly__go[hidden] { display: none; }
.fm-fly__go:focus-visible { outline: none; box-shadow: var(--fm-focus); }
.fm-fly__disc {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--fm-red);
  color: var(--fm-white);
  transition: background-color var(--fm-dur-fast), transform var(--fm-dur-move) var(--fm-ease);
}
.fm-fly__go:hover .fm-fly__disc { background: var(--fm-red-deep); transform: scale(1.05); }
.fm-fly__go-t { display: grid; font-family: var(--fm-font-head); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.15; }
.fm-fly__go-meta { font-family: var(--fm-font-body); font-weight: 400; font-size: 1rem; color: var(--fm-ink-2); margin-top: 0.15rem; }
.fm-fly.is-loading-tour .fm-fly__disc { opacity: 0.7; }
.fm-fly__nojs { margin: 1rem 0 0; color: var(--fm-ink-2); }

/* while flying the player takes the poster's place */
.fm-fly.is-flying .fm-fly__poster,
.fm-fly.is-flying .fm-fly__go { display: none; }

@media (prefers-reduced-motion: reduce) {
  .fm-fly__disc { transition: none; }
}
@media (forced-colors: active) {
  .fm-fly__disc { forced-color-adjust: none; }
}
