/* MetaProp Astro v1 overrides
   Graceful fallbacks for assets the Wayback archive did not capture.
   Loaded after main.css. */

/* Branded navy fallback behind hero/banner images (6 banner images were never
   archived). If the <img> loads it covers this; if it 404s (and is hidden by the
   broken-image handler), this on-brand panel shows instead of a broken icon. */
.page-banner-wrapper .img-banner,
.deatils-banner-img,
.banner .img-banner {
  background: linear-gradient(135deg, #031B43 0%, #0a2d6b 100%);
  background-size: cover;
  background-position: center;
  min-height: 300px;
}
.page-banner-wrapper .img-banner img,
.deatils-banner-img img,
.banner .img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Images that fail to load are flagged by the global error handler; hide the
   broken-icon so unarchived inline/gallery images degrade to clean empty space. */
img[data-broken="1"] {
  visibility: hidden !important;
}

/* Portfolio "Filter By" controls (Asset Type / Exited tabs + submenu + mobile
   filter button). The filtering used October CMS's server-side `onFilter` AJAX
   handler, which doesn't exist on this static reconstruction — clicking a filter
   returns the full page HTML instead of a partial and blanks out #portfolios-div.
   Hide the controls until real filtering is restored; the full company grid still
   renders. Reversible: delete this rule. */
.portfolio-page .filter-wrapper {
  display: none !important;
}
