// Source: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@use 'sass:list'
@use 'sass:map'
@use '../settings'
@use '../tools'

@if (settings.$utilities != false and map.get(settings.$misc, 'sr-only') != false and list.length(settings.$utilities) > 0)
  @include tools.layer('utilities.helpers')
    .d-sr-only,
    .d-sr-only-focusable:not(:focus)
      border: 0 !important
      clip: rect(0, 0, 0, 0) !important
      height: 1px !important
      margin: -1px !important // Fix for https://github.com/twbs/bootstrap/issues/25686
      overflow: hidden !important
      padding: 0 !important
      position: absolute !important
      white-space: nowrap !important
      width: 1px !important
