/*!
 * Font Awesome Pro 7.3.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license (Commercial License)
 * Copyright 2026 Fonticons, Inc.
 */
@use "sass:string";
@use 'variables' as v;
@use 'mixins' as m;

:root, :host {
  --#{v.$css-prefix}-family-mosaic: 'Font Awesome 7 Mosaic';
  --#{v.$css-prefix}-font-mosaic-solid: normal 900 1em/1 var(--#{v.$css-prefix}-family-mosaic);

  /* deprecated: this older custom property will be removed next major release */
  --#{v.$css-prefix}-style-family-mosaic: var(--#{v.$css-prefix}-family-mosaic);
}


@font-face {
  font-family: 'Font Awesome 7 Mosaic';
  font-style: normal;
  font-weight: 900;
  font-display: v.$font-display;
  src: url('#{v.$font-path}/fa-mosaic-solid-900.woff2');
}


.fams {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-mosaic);
  --#{v.$css-prefix}-style: 900;
}

.#{v.$css-prefix}-mosaic {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-mosaic);
}

.#{v.$css-prefix}-solid {
  --#{v.$css-prefix}-style: 900;
}

// convenience mixin for declaring pseudo-elements by CSS variable,
// including all style-specific font properties and ::before elements.
@mixin icon($var) {
  @include m.fa-icon(Font Awesome 7 Mosaic);
  @extend .#{v.$css-prefix}-solid;
  @extend .#{v.$css-prefix}-mosaic;

  &::before {
    content: string.unquote("\"#{ $var }\"");
  }
}
