@use "sass:math";
@use "sass:map";
@use "@naomi-2025/ui-core/site-config";

html {
  font-size: max(
    calc(#{ math.div(map.get(site-config.$SITE_CONFIG, 'font-size-base'), 16) * 100% }),
    calc(#{ map.get(site-config.$SITE_CONFIG, 'font-size-base') } / 1440 * 100vw)
  );
  scroll-behavior: smooth;
  background-color: var(--bg-color);

  // Prevent Drupal dialog from adding padding-right to html.
  &[style*="padding-right"] {
    padding-right: 0 !important;
  }
}
