/**
  * Quote
 */

.block-quote {
  color: var(--body-font-color);

  .quote-wrapper {
    &::before,
    &::after {
      content: none;
    }

    > p {
      font-family: var(--alt-font-family);
      font-size: var(--h3-font-size);
      font-weight: var(--font-weight-bold);
      margin-bottom: calc(var(--spacing)*2);
      line-height: 1.3;

      &::before {
        content: "“";
      }

      &::after {
        content: "”";
      }
    }
  }

  .quote-footer {
    display: flex;
    align-items: center;
  }

  figure {
    width: 72px;
    height: 72px;
    border: 5px solid var(--secondary-color);
    border-radius: 50%;
    margin-right: var(--spacing);
    margin-bottom: 0;
    overflow: hidden;

    &:not(:has(img)) {
      background: var(--secondary-color);
    }

    img {
      width: 100%;
      height: 100%;
      aspect-ratio: 1;
    }
  }

  span {
    display: block;
  }

  .author {
    font-size: var(--subtitle-font-size-lg);
    font-weight: var(--font-weight-bold);
  }
}
