/* LicenseCheck live QA stabilization — 8 Aug 2026 */

/* Render the server-side SVG logo directly; neutralise legacy background-image tricks. */
.fusion-tb-header .fusion-imageframe.imageframe-1,
.fusion-tb-footer .fusion-imageframe.imageframe-1 {
  aspect-ratio: auto !important;
  background: none !important;
}
.fusion-tb-header .licensecheck-brand-logo,
.fusion-tb-footer .licensecheck-brand-logo {
  position: static !important;
  inset: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}
.fusion-tb-header .fusion-imageframe.imageframe-1 > a,
.fusion-tb-footer .fusion-imageframe.imageframe-1 > a {
  position: static !important;
  inset: auto !important;
  display: block !important;
}

/* Prevent header/hero overflow through Avada's 1280px menu transition. */
@media (min-width: 851px) and (max-width: 1280px) {
  body.home .post-content > .fusion-fullwidth:first-of-type > .fusion-builder-row,
  body.home .post-content > p:first-child > .fusion-fullwidth:first-of-type > .fusion-builder-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.home .post-content > .fusion-fullwidth:first-of-type .fusion-layout-column,
  body.home .post-content > p:first-child > .fusion-fullwidth:first-of-type .fusion-layout-column {
    --awb-width-medium: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    --awb-padding-left: 28px !important;
    --awb-padding-right: 28px !important;
  }
  body.home .post-content > .fusion-fullwidth:first-of-type h1,
  body.home .post-content > p:first-child > .fusion-fullwidth:first-of-type h1 {
    font-size: clamp(46px, 7vw, 72px) !important;
    line-height: 1.04 !important;
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .fusion-tb-header .fusion-builder-row {
    width: 100% !important;
    max-width: 100% !important;
  }
  .fusion-tb-header .fusion-layout-column { min-width: 0 !important; }
  .fusion-tb-header .fusion-image-element { max-width: 300px !important; }
  .fusion-tb-header .fusion-button {
    white-space: nowrap !important;
    max-width: 100% !important;
  }
}

@media (max-width: 850px) {
  .fusion-tb-header .fusion-image-element { max-width: 250px !important; }
  body.home .post-content > .fusion-fullwidth:first-of-type h1,
  body.home .post-content > p:first-child > .fusion-fullwidth:first-of-type h1 {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.04 !important;
  }
}
