/* Preserve desktop sizes while adapting headings to the actual browser width.
 * Use Avada's original font-size metadata and minimum size factor.
 */
body:not(.page-id-4702) #main .fusion-responsive-typography-calculated {
  font-size: clamp(
    calc(var(--minFontSize) * 1px),
    calc((var(--fontSize) * 1px) - (var(--typography_sensitivity) * (var(--fontSize) - var(--minFontSize)) * (var(--minViewportSize) * 1px - 100vw)) / (var(--maxViewportSize) - var(--minViewportSize)) - (var(--fontSize) - var(--minFontSize)) * var(--typography_sensitivity) * 1px),
    calc(var(--fontSize) * 1px)
  ) !important;
}

/* Scale explicitly sized Avada text blocks gently, retaining small captions
 * and a minimum of 18px for normal reading text. Forms and embeds are excluded.
 */
body:not(.page-id-4702) #main .fusion-text[style*="--awb-font-size:"] {
  font-size: clamp(
    min(18px, var(--awb-font-size)),
    calc(var(--awb-font-size) * .75 + .35vw),
    var(--awb-font-size)
  );
}
#main .fusion-text a { overflow-wrap: anywhere; }

