// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
// See LICENSE in the project root for license information.

// ---------------------------------------------------------------------
@use 'libSupport/manageScope';
@use "@aurodesignsystem/design-tokens/dist/legacy/auro-classic/SCSSVariables";

$focus: null !default;

/// Baseline HTML setting for blockquote element.
///
/// [Manage](/#scope-prefix-variable-scope) `$scope` option.
/// @group core
/// @example scss - Default selector(s)
///   blockquote {}
///
/// @example scss - Selector(s) when $scope: true;
///   .auro blockquote {}
///
/// @example scss - Selector(s) when $prefix: true;
///   .auro_blockquote {}
///
/// @example scss - import file
///   @use "./node_modules/@aurodesignsystem/webcorestylesheets/dist/blockquote" as *;
///
#{manageScope.$sym}#{manageScope.$prefix}#{manageScope.$scope}blockquote {
  margin-left: 0;
  border-left: 1px solid var(--ds-color-border-ui-active-default, SCSSVariables.$ds-color-border-ui-active-default);
  padding: var(--ds-size-100, SCSSVariables.$ds-size-100);
  padding-left: var(--ds-size-400, SCSSVariables.$ds-size-400);
  color: var(--ds-color-text-secondary-default, SCSSVariables.$ds-color-text-secondary-default);
  font-weight: 200;
  margin-top: var(--ds-size-300, SCSSVariables.$ds-size-300);
  margin-bottom: var(--ds-size-300, SCSSVariables.$ds-size-300);

  p {
    line-height: 2;

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

  & + p {
    margin-bottom: var(--ds-size-400, SCSSVariables.$ds-size-400);
  }
}
