/* supplement.css — hook for restore fixes (per-page fusion-*.css were site-generated and unavailable in the archive). */

/* Avada mobile flyout backdrop lost its ".fusion-flyout-menu-opened" prefix during CSS
   concat, so it stayed position:fixed / 100%×100% / opacity:1 / z-index:99997 — an invisible
   full-screen overlay covering every page and occluding the footer sitewide link. The flyout
   isn't functional in the static restore, so hide the backdrop entirely. */
.fusion-flyout-menu-bg,
.fusion-flyout-mobile-menu { display: none !important; }

@media screen and (max-width: 640px) {
  .fusion-page-title-row,
  .fusion-page-title-wrapper {
    display: block !important;
    height: auto !important;
  }

  .fusion-page-title-captions,
  .fusion-page-title-secondary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  .fusion-page-title-secondary {
    display: none !important;
  }

  .fusion-page-title-captions .entry-title {
    font-size: 24px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }

  .fusion-breadcrumbs {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Avada scroll fade-in (fusion-animations.js) starts elements at opacity:0 and reveals
   them on scroll. In the static restore that reveal can lag/miss, momentarily hiding text
   blocks (Step 16 hidden_text). Force animated elements visible so content never depends
   on the animation JS firing. */
.fusion-animated { opacity: 1 !important; }

/* The map service is unavailable in the static restore, so never reserve its
   empty fixed-height container on any viewport. */
.home #fusion_map_5ca73977cce61 {
  display: none !important;
}

/* The archived site is missing its generated Fusion Builder stylesheet. Restore the
   desktop grids so gallery images and menu cards do not expand into full-width rows. */
@media screen and (min-width: 1025px) {
  .home main .fusion-builder-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .home .fusion-gallery-container {
    display: flex;
    flex-wrap: wrap;
  }

  .home .fusion-gallery-column-2 {
    box-sizing: border-box;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home #Menu > .fusion-fullwidth > .fusion-builder-row {
    display: flex;
    flex-wrap: wrap;
  }

  .home #Menu .fusion-one-third {
    box-sizing: border-box;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .home .fusion-gallery-image img {
    display: block;
    width: 100%;
    height: auto;
  }
}
