/* stylelint-disable no-descending-specificity */
.ds-menu-disclosure {
  align-items: center;
  color: var(--ds-color-london-5);
  display: inline-flex;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-1);
  font-weight: 400;
  line-height: var(--ds-type-leading-lower);
  text-decoration: none;
  transition: color var(--ds-interactions-transition);
  will-change: color;
  @media (max-width: 24.3125rem) {
    font-size: 0;
  }
  .path-foreground {
    transition: fill var(--ds-interactions-transition);
  }
  &:hover {
    color: var(--ds-color-chicago-30);
    .path-foreground {
      fill: var(--ds-color-chicago-30);
    }
  }
  &:focus {
    border-color: transparent;
    box-shadow: 0 0 0 0.125rem var(--ds-color-hong-kong-55);
    outline: solid transparent;
  }
  &:active {
    box-shadow: none;
    color: var(--ds-color-chicago-45);
    .path-foreground {
      fill: var(--ds-color-chicago-45);
    }
  }
  svg {
    height: 1.5rem;
    margin: 0 0.5rem 0 0;
    width: 1.5rem;
    @media (max-width: 24.3125rem) {
      margin: 0;
    }
  }
  &.is-open {
    &:hover {
      .path-foreground {
        fill: var(--ds-color-chicago-30);
      }
    }
    &:active {
      box-shadow: none;
      .path-foreground {
        fill: var(--ds-color-chicago-45);
      }
    }
  }
}

.ds-menu-disclosure--inverse {
  color: var(--ds-color-london-100);
  .path-foreground {
    fill: var(--ds-color-london-100);
  }
  &:hover {
    color: var(--ds-color-london-85);
    .path-foreground {
      fill: var(--ds-color-london-85);
    }
  }
  &:active {
    color: var(--ds-color-london-70);
    .path-foreground {
      fill: var(--ds-color-london-70);
    }
  }
  &.is-open {
    &:hover {
      .path-foreground {
        fill: var(--ds-color-london-85);
      }
    }
    &:active {
      .path-foreground {
        fill: var(--ds-color-london-70);
      }
    }
  }
}

@media (max-width: 24.125rem) {
  .ds-menu-disclosure--no-menu-text {
    font-size: 0;
    svg {
      margin: 0;
    }
  }
}
