/* Light-DOM side of the pop-up book landing. assets/popup-book.js sets html.pb-on while the book is showing.
   Screen: the book stands in for the classic sections it already shows (keep this list the same as CLASSIC in popup-book.js).
   Print: the classic page prints and the book does not. */
@media screen{
html.pb-on .hero-banner,html.pb-on header.hero,html.pb-on .wp-trust-band,html.pb-on .trybar,html.pb-on .ticker,html.pb-on section.words,
html.pb-on #pillars,html.pb-on #community,html.pb-on #find,html.pb-on #alerts,html.pb-on #team,html.pb-on #bid,html.pb-on #certify,html.pb-on .l6b.vets{display:none!important}
}
/* While the book is on, the launch countdown moves out of the hidden hero to sit above the book. */
.pb-cd{display:flex;justify-content:center;padding:0 16px}
.pb-cd:empty{display:none}
.pb-cd .launch-cd{margin-top:12px}
/* On the light page the label needs the darker brass to stay readable (4.5:1). */
.pb-cd .launch-cd-label{color:#8a6d12}
/* Phones: the round feedback button sat on the corner of "Open the book" (390x664, 360x740). Hide it while the book shows;
   it comes back when the visitor picks the full page (pb-on is removed). Wide screens are unchanged. */
@media screen and (max-width:640px){html.pb-on #fedm8-feedback-fab{display:none!important}}
@media print{#popbook{display:none!important}}

/* Keep the existing invite action in the homepage header when the phone menu is closed. */
@media screen and (max-width:640px) {
  .homepage-release #site-top .menu-toggle {
    flex: none;
  }

  .homepage-release #site-nav:not(.open) {
    display: flex;
    position: static;
    min-width: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .homepage-release #site-nav:not(.open) > :not(.cta) {
    display: none;
  }

  .homepage-release #site-nav:not(.open) > a.cta {
    justify-content: center;
    margin: 0;
    padding-inline: var(--fm-space-3);
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
}

/* Landing variant B (/h/b) carries a screen-reader-only h1: the book's own
   headline lives in its shadow root, so the page needs one in the document. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
