@use "../abstract/mixins";
@use "../abstract/functions" as fns;

.u-#{fns.get-ns()}visuallyHidden {
  @include mixins.bp-variants {
    &:where(:not(.is-focusable), .is-focusable:not(:active, :focus-within)) {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      overflow: clip !important;
      clip: rect(1px, 1px, 1px, 1px) !important;
      white-space: nowrap !important;
    }
  }
}
