/*
  Styles for the social share images.

  All of these styles are scoped to the social image and should not be applied
  to the main site.
 */

.social-image {
  --image-size: 1080px;
  --image-padding: 3rem;

  position: relative;
  overflow: hidden;
  width: var(--image-size);
  height: var(--image-size);
}

.social-image .image {
  object-fit: cover;
  aspect-ratio: 1 / 1;

  width: var(--image-size);
  height: var(--image-size);
}

.social-image .text-block {
  position: absolute;
  overflow: hidden;
  top: var(--image-padding);
  left: auto;
  right: var(--image-padding);
  width: 33.5rem;

  background-color: rgba(255, 255, 255, 0.82);
  border-radius: 1.25rem;
  backdrop-filter: blur(6px);
}

.social-image .pre-header {
  font-size: 1.625rem;
  padding: 1.5rem 2rem;
}

.social-image .heading-1 {
  font-size: 3rem;
  padding: 3.5rem 1.75rem 0;

  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-image .logo {
  width: 12.5rem;
  height: auto;
  margin-top: 3rem;
}

.social-image .qr-code {
  position: absolute;
  right: var(--image-padding);
  bottom: var(--image-padding);
  max-width: unset;
  width: 15rem;
  height: auto;

  background-color: var(--color-white);
  padding: 1rem;
  border-radius: 1.25rem;
}
