.app-c-inset-prompt {
  @include govuk-text-colour;
  @include govuk-responsive-padding(4);
  @include govuk-responsive-margin(6, "bottom");

  border-left: $govuk-border-width-narrow solid govuk-colour("dark-grey");
  background-color: govuk-colour("light-grey");

  @include govuk-media-query($from: tablet) {
    border-left: $govuk-border-width solid govuk-colour("dark-grey");
  }

  &:focus {
    outline: $govuk-focus-width solid $govuk-focus-colour;
  }
}

.app-c-inset-prompt--error {
  border-color: $govuk-error-colour;
  background-color: govuk-tint($govuk-error-colour, 90%);
  overflow-wrap: break-word;
  word-break: break-word;
}

.app-c-inset-prompt__title {
  @include govuk-font($size: 24, $weight: bold);

  margin-top: 0;
  @include govuk-responsive-margin(4, "bottom");
}

.app-c-inset-prompt__body {
  @include govuk-font($size: 19);

  p {
    margin-top: 0;
    @include govuk-responsive-margin(4, "bottom");

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.app-c-inset-prompt__list {
  margin-top: 0;
  margin-bottom: 0;
}

.app-c-inset-prompt__list a {
  &:link,
  &:visited,
  &:hover,
  &:active,
  &:focus {
    color: $govuk-link-colour;
    text-decoration: underline;
  }

  &:focus {
    @include govuk-focused-text;
  }
}
