.spr-share-this {
  position: relative;

  .spr-share-this__text {
    margin-block-end: 0.5rem;
    margin-inline-end: 0.75rem;
    @media screen and (min-width: 48rem) {
      margin-block-end: 0;
    }
  }

  .spr-share-this__services {
    display: flex;
    gap: 1rem;
  }

  .spr-icon-link {
    inline-size: fit-content;
    color: var(--color-secondary-dark);
    outline-offset: 0.25rem;

    &:hover {
      color: var(--color-secondary-medium);
    }
  }

  .spr-share-this__button,
  .spr-share-this__button-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    color: var(--color-secondary-dark);
    border: none;
    outline-offset: 0.25rem;
    background-color: transparent;

    &:hover {
      color: var(--color-secondary-medium);
    }
  }

  .spr-share-this__button-close {
    color: var(--color-black);
  }

  .spr-share-this__wrapper {
    position: relative;
  }

  .spr-share-this__wrapper > dialog {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    transform: translate(-100%, 0.5rem);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  }

  .spr-share-this__wrapper > dialog::backdrop {
    background: transparent;
  }

  .spr-share-this__wrapper > dialog[open] {
    display: flex;
    flex-direction: row-reverse;
  }

  @media screen and (min-width: 48rem) {
    display: flex;
    align-items: center;
  }
}
