/**
 * @license EUPL-1.2+
 * Copyright Gemeente Amsterdam
 */

@use "../../common/hyphenation" as *;
@use "../../common/resets" as *;
@use "../../common/text-rendering" as *;

.ams-blockquote {
  @include reset-blockquote;

  box-sizing: border-box;
  break-inside: avoid;
  color: var(--ams-blockquote-color);
  font-family: var(--ams-blockquote-font-family);
  font-size: var(--ams-blockquote-font-size);
  font-weight: var(--ams-blockquote-font-weight);
  line-height: var(--ams-blockquote-line-height);
  quotes: "“" "”";

  @include hyphenation;
  @include text-rendering;

  &::before {
    content: open-quote;
  }

  &::after {
    content: close-quote;
  }
}

.ams-blockquote--inverse {
  color: var(--ams-blockquote-inverse-color);
}
