.wds-info-prompt {
  --Prompt-border-radius: var(--radius-medium);
  --Prompt-gap: var(--size-8);
  --Prompt-padding: var(--size-12);

  &__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: calc(var(--size-48) * 10);

    &:has(.wds-info-prompt__title) {
      justify-content: flex-start; /* Top align when title exists */
    }
  }
  &__title,
  &__description {
    display: block;
  }

  &__action {
    align-self: flex-start;
    margin-top: var(--Prompt-gap);
  }

  &__media {
    // To ensure icons are sized correctly, we set a fixed size for SVGs within the media wrapper
    svg {
      width: var(--size-24);
      height: var(--size-24);
    }
  }

  .wds-prompt__media-wrapper {
    padding: 0;
  }
}
