Complex sentence: Sex between two consenting adults may or may not be illegal, depending on the jurisdiction and circumstances, sex outside of a monogamous marriage, or sex with a person of the same sex may or may not be illegal, but fits the definition of scandal.
Split into simpler sentences: Sex between two consenting adults may or may not be illegal, depending on the jurisdiction and circumstances. Sex outside of a monogamous marriage, or with a person of the same sex, may or may not be illegal, but often fits the definition of scandal.