/*!
 * 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-slab-press-duo: 'Font Awesome 7 Slab Press Duo';
  --#{v.$css-prefix}-font-slab-press-duo-regular: normal 400 1em/1 var(--#{v.$css-prefix}-family-slab-press-duo);

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

@font-face {
  font-family: 'Font Awesome 7 Slab Press Duo';
  font-style: normal;
  font-weight: 400;
  font-display: v.$font-display;
  src: url('#{v.$font-path}/fa-slab-press-duo-regular-400.woff2');
}


.faslpdr {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-slab-press-duo);
  --#{v.$css-prefix}-style: 400;
  position: relative;
  letter-spacing: normal;
}

.#{v.$css-prefix}-slab-press-duo {
  --#{v.$css-prefix}-family: var(--#{v.$css-prefix}-family-slab-press-duo);
  position: relative;
  letter-spacing: normal;
}

.#{v.$css-prefix}-regular {
  --#{v.$css-prefix}-style: 400;
}

.faslpdr::before,
.#{v.$css-prefix}-slab-press-duo::before {
  position: absolute;
  color: var(--#{v.$css-prefix}-primary-color, currentColor);
  opacity: var(--#{v.$css-prefix}-primary-opacity, #{v.$primary-opacity});
}

.faslpdr::after,
.#{v.$css-prefix}-slab-press-duo::after {
  color: var(--#{v.$css-prefix}-secondary-color, currentColor);
  opacity: var(--#{v.$css-prefix}-secondary-opacity, #{v.$secondary-opacity});
}

.#{v.$css-prefix}-swap-opacity .faslpdr::before,
.#{v.$css-prefix}-swap-opacity .#{v.$css-prefix}-slab-press-duo::before,
.#{v.$css-prefix}-swap-opacity.faslpdr::before,
.#{v.$css-prefix}-swap-opacity.#{v.$css-prefix}-slab-press-duo::before {
  opacity: var(--#{v.$css-prefix}-secondary-opacity, #{v.$secondary-opacity});
}

.#{v.$css-prefix}-swap-opacity .faslpdr::after,
.#{v.$css-prefix}-swap-opacity .#{v.$css-prefix}-slab-press-duo::after,
.#{v.$css-prefix}-swap-opacity.faslpdr::after,
.#{v.$css-prefix}-swap-opacity.#{v.$css-prefix}-slab-press-duo::after {
  opacity: var(--#{v.$css-prefix}-primary-opacity, #{v.$primary-opacity});
}

.#{v.$css-prefix}-li.faslpdr,
.#{v.$css-prefix}-li.#{v.$css-prefix}-slab-press-duo,
.#{v.$css-prefix}-stack-1x.faslpdr,
.#{v.$css-prefix}-stack-1x.#{v.$css-prefix}-slab-press-duo,
.#{v.$css-prefix}-stack-2x.faslpdr,
.#{v.$css-prefix}-stack-2x.#{v.$css-prefix}-slab-press-duo {
  position: absolute;
}

// convenience mixins for declaring pseudo-elements by CSS variable,
// including all style-specific font properties, and both the ::before
// and ::after elements in the duotone case.
@mixin icon($var) {
  @include m.fa-icon(Font Awesome 7 Slab Press Duo);
  @extend .#{v.$css-prefix}-slab-press-duo;
  @extend .#{v.$css-prefix}-regular;

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

  &::after {
    content: string.unquote("\"#{ $var }\"");
    font-feature-settings: "ss01";
  }
}
