.ftm-home-roadmap-layout { display: block; }
.ftm-home-roadmap-content { min-width: 0; overflow-x: clip; }
.ftm-home-roadmap {
  --ftm-roadmap-toolbar: 0px;
  --ftm-roadmap-step: clamp(24px, calc((100dvh - 140px) / var(--ftm-roadmap-count, 12)), 44px);
  position: fixed; inset-inline-start: max(8px, env(safe-area-inset-left, 0px)); top: 50%;
  transform: translateY(-50%); z-index: 12; width: min(240px, calc(100% - 16px)); padding: 0; margin: 0;
  max-height: calc(100dvh - var(--ftm-roadmap-toolbar) - 24px);
  overflow-x: hidden; overflow-y: auto; scrollbar-width: thin;
  color: #7b3447; background: transparent; border: 0; box-shadow: none; pointer-events: none;
}
.ftm-home-roadmap > p { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ftm-home-roadmap ol { margin: 0; padding: 0; list-style: none; }
.ftm-home-roadmap li { position: relative; margin: 0; padding: 0; }
.ftm-home-roadmap li:not(:last-child)::after {
  position: absolute; content: ''; top: calc(var(--ftm-roadmap-step) / 2 + 8px);
  bottom: calc(var(--ftm-roadmap-step) / -2 + 8px); left: 21px; width: 2px;
  background: rgb(165 14 39 / 55%); box-shadow: 1px 0 1px rgb(255 255 255 / 55%); pointer-events: none;
}
.ftm-home-roadmap a {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; width: 44px; height: var(--ftm-roadmap-step); padding: 0;
  color: inherit; text-decoration: none; background: transparent; pointer-events: auto;
}
.ftm-home-roadmap__dot {
  position: relative; z-index: 2; flex: 0 0 12px; box-sizing: border-box;
  width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%;
  background: transparent; filter: drop-shadow(0 0 1px rgb(255 255 255 / 90%)); transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.ftm-home-roadmap__label {
  position: absolute; left: 38px; top: 50%; width: max-content; max-width: min(190px, calc(100vw - 82px));
  color: inherit; font-size: 9px; line-height: 1.25; font-weight: 600; overflow-wrap: anywhere;
  transform: translateY(-50%); transform-origin: left center; opacity: .8;
  text-shadow: 0 1px 2px rgb(255 255 255 / 90%), 0 -1px 2px rgb(255 255 255 / 90%);
  pointer-events: none; transition: font-size 260ms ease, opacity 260ms ease, transform 300ms ease, clip-path 300ms ease;
}
.ftm-home-roadmap a:is([aria-current], :hover, :focus-visible) { color: #a50e27; }
.ftm-home-roadmap a:is([aria-current], :hover, :focus-visible) .ftm-home-roadmap__dot { background: currentColor; transform: scale(1.2); box-shadow: 0 0 0 4px rgb(165 14 39 / 14%); }
.ftm-home-roadmap a:is([aria-current], :hover, :focus-visible) .ftm-home-roadmap__label { font-size: 16px; font-weight: 700; opacity: 1; }
.ftm-home-roadmap.is-idle:not(:focus-within) .ftm-home-roadmap__label { opacity: 0; transform: translate(-16px, -50%) scale(.05); clip-path: inset(0 100% 0 0); }
.ftm-home-roadmap a:focus-visible, [data-ftm-home-section]:focus-visible { outline: 3px solid #245aab; outline-offset: 2px; }
.ftm-home-roadmap-content > [data-ftm-home-section] { min-width: 0; }
[data-ftm-home-section] { scroll-margin-top: 32px; }
body.admin-bar .ftm-home-roadmap { --ftm-roadmap-toolbar: var(--wp-admin--admin-bar--height, 32px); top: calc(50% + var(--ftm-roadmap-toolbar) / 2); }
body.admin-bar [data-ftm-home-section] { scroll-margin-top: calc(32px + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) {
  .ftm-home-roadmap { inset-inline-start: max(0px, env(safe-area-inset-left, 0px)); }
  .ftm-home-roadmap__label { font-size: 8px; max-width: min(150px, calc(100vw - 72px)); }
  .ftm-home-roadmap a:is([aria-current], :hover, :focus-visible) .ftm-home-roadmap__label { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ftm-home-roadmap__dot, .ftm-home-roadmap__label { transition: none; }
}
@media print { .ftm-home-roadmap { display: none; } }

/* Public home reflows with the effective viewport at browser zoom levels.
   Keep the header in document flow so wrapped navigation cannot cover the hero. */
.ftm-home--portal-first .ftm-club-hero__topbar {
  position: relative; left: auto; transform: none; margin-inline: auto;
}
.ftm-home--portal-first .ftm-club-hero__brand { flex-shrink: 1; }
.ftm-home--portal-first .ftm-club-hero__nav { flex-wrap: wrap; }
.ftm-home--portal-first .ftm-club-hero__nav > :is(a, label) {
  max-width: 100%; white-space: normal; line-height: 1.4;
}
.ftm-home--portal-first .ftm-club-hero__inner {
  flex: 1; min-height: 0; padding-block: 64px 74px;
}
.ftm-home--portal-first .ftm-club-hero {
  display: flex; flex-direction: column;
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
}
.ftm-home--portal-first .ftm-club-hero__content { max-width: 100%; }
.ftm-home--portal-first .ftm-club-hero__actions { flex-wrap: wrap; }
.ftm-home--portal-first .ftm-club-hero__actions > * {
  max-width: 100%; white-space: normal; overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .ftm-home--portal-first .ftm-club-hero__inner { min-height: 20rem; padding-block: 40px 64px; }
}
@media (max-width: 600px), (max-height: 480px) {
  body.ftm-home-page .ftm-floating-whatsapp { width: 52px; height: 52px; }
  body.ftm-home-page .ftm-floating-whatsapp img { width: 40px; height: 40px; }
}

/* Wider effective viewports also occur on zoom out. Let content use that
   space instead of leaving all sections inside the old 1180px column. */
@media (min-width: 1600px) {
  body.ftm-home-page { --ftm-home-wide: min(88%, 2800px); }
  .ftm-home--portal-first :is(.ftm-club-hero__topbar, .ftm-club-hero__inner,
    .ftm-public-quick-access, .ftm-public-registration, .ftm-public-showcase,
    .ftm-home-products, .ftm-portal-section, .ftm-home-location__inner),
  body.ftm-home-page .ftm-site-footer__inner {
    width: var(--ftm-home-wide); max-width: none;
  }
  .ftm-home--portal-first .ftm-public-showcase .ftm-public-panel { width: 100%; }
  .ftm-home--portal-first .ftm-club-hero__content { width: min(80%, 1900px); }
  .ftm-home--portal-first .ftm-club-hero__content > span { max-width: 42em; }
  .ftm-home--portal-first .ftm-club-hero__slide.is-logo { background-size: min(64vw, 1600px); }
}
@media (min-width: 1800px) {
  body.ftm-home-page {
    --ftm-home-wide-text: clamp(1rem, .9vw, 2rem);
    --ftm-type-hero: clamp(3.25rem, 3.3vw, 8rem);
    --ftm-type-section: clamp(1.375rem, 1.5vw, 3.5rem);
    --ftm-type-subheading: clamp(1.125rem, 1.15vw, 2.5rem);
  }
  .ftm-home--portal-first .ftm-club-hero__brand { font-size: clamp(18px, 1vw, 38px); }
  .ftm-home--portal-first .ftm-club-hero__topbar { min-height: clamp(108px, 5.7vw, 216px); }
  .ftm-home--portal-first .ftm-club-hero__badge {
    width: clamp(104px, 5.5vw, 208px); min-height: clamp(132px, 7vw, 264px);
  }
  .ftm-home--portal-first .ftm-club-hero__badge img { width: clamp(82px, 4.3vw, 164px); }
  .ftm-home--portal-first .ftm-club-hero__topbar:not(.ftm-club-hero__topbar--no-badge) .ftm-club-hero__brand {
    margin-left: clamp(132px, 7vw, 264px);
  }
  .ftm-home--portal-first .ftm-club-hero__topbar--no-brand:not(.ftm-club-hero__topbar--no-badge) .ftm-club-hero__nav {
    margin-left: clamp(132px, 7vw, 264px);
  }
  .ftm-home--portal-first .ftm-club-hero__actions > *,
  .ftm-home--portal-first .ftm-club-hero__nav a.ftm-store-paused-link {
    padding: clamp(10px, .65vw, 24px) clamp(16px, 1.25vw, 48px);
  }
  .ftm-home--portal-first .ftm-club-hero__nav > :is(a, label),
  .ftm-home--portal-first .ftm-club-hero__content > :is(p, span),
  .ftm-home--portal-first .ftm-club-hero__actions > *,
  .ftm-home--portal-first :is(.ftm-public-panel, .ftm-portal-section,
    .ftm-public-registration, .ftm-home-products, .ftm-home-location) :is(p, a, span, td, th, label, button),
  .ftm-home--portal-first .ftm-public-quick-access strong,
  body.ftm-home-page .ftm-site-footer :is(p, a, span, strong) {
    font-size: var(--ftm-home-wide-text); line-height: 1.5;
  }
}
