/* Cohesion fixes for the static restore (Divi). Loaded last in <head>. */

/* FontAwesome in SVG+JS mode ("svg-inline--fa"): its base 1em sizing CSS is missing on the
   static restore, so every FA inline-SVG icon defaults to filling its container (~1083px).
   Restore FontAwesome's own 1em sizing site-wide (fixes any oversized FA icon). */
.svg-inline--fa {
  width: 1em !important;
  height: 1em !important;
  display: inline-block;
  vertical-align: -0.125em;
}
[class*="social"] svg,
[class*="et-social"] svg,
[class*="et_pb_social"] svg,
a[href*="instagram.com"] svg,
a[href*="facebook.com"] svg {
  max-width: 40px !important;
  max-height: 40px !important;
}

/* The Smash Balloon Instagram feed cannot render correctly on a static export — it needs the
   live plugin JS/CSS + the Instagram API. Restored, it is a frozen, un-gridded, broken widget
   (giant icons / stacked photos / captions overlapping). Hide it cleanly. */
#sb_instagram,
.sbi,
.sbi_wid,
[id*="sb_instagram"],
[class*="sb_instagram"] {
  display: none !important;
}
