.image {
  width: 100%;
  margin: 0;

  .imageWrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 0 auto;
  }

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  figcaption {
    width: 100%;
    max-width: var(--size-width-p);
    margin: 0 auto;
    padding: var(--spacing-xs) 0 var(--spacing-s);
    font-size: var(--font-size-caption);
    line-height: 1.4;
    opacity: .8;
  }

  &.bleed {
    width: 100vw;
    margin: 2rem calc(var(--spacing-sitepadding-inline)*-1);

    .imageWrapper, img {
      width: 100%;
    }

    @media (max-width: 800px) {
      padding: var(--spacing-xs) var(--spacing-sitepadding-inline);
    }
  }

  &.fullwidth {
    margin: 2rem 0;

    .imageWrapper, img {
      width: 100%;
    }
  }

  &.original {
    width: 100%;
    margin: 2rem auto;
    text-align: center;

    figcaption {
      text-align: left;
    }
  }
}

.attribution {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-block;
  padding: 0 .2rem;
  font-size: .6rem;
  background: var(--color-black);
  color: var(--color-betongGray);
  opacity: .4;
}