.social-embed-wrapper {
  position: relative;
  margin: 0 auto;
  display: flex;
  width: 100%;
  max-width: 1920px;
  border-radius: 4px;
  position: relative;
}

.social-embed__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 4px;
  max-width: none;
  background-color: var(--pong-bg);
}

.social-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 24px;
  padding-bottom: 0px;
}

.social-embed__info {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  padding: 28px;
}

.social-embed__info-inner {
  width: 100%;
  margin: auto;
  max-width: 520px;
}

.social-embed__info .social-embed__info-headline h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  margin-bottom: 24px;
  color: var(--pong-text);
  font-family: "Roboto Slab", serif;
}

.social-embed__info .social-embed__info-text {
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  text-align: center;
  margin-bottom: 32px;
  color: var(--pong-text);
}

.social-embed.right {
  flex-direction: row-reverse;
}

/* .social-embed > div {
  flex: 1;
} */

.social-embed__media {
  display: flex;
  justify-content: flex-end;
  padding-top: 50px;
}

.social-embed__media iframe {
  border-radius: 4px;
}

@media screen and (max-width: 767px) {
  /* .social-embed > div {
    flex: 1 0 100%;
  } */

  .social-embed {
    flex-direction: column-reverse;
  }

  .social-embed__media {
    max-height: 600px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
  }

  .social-embed__media iframe {
    margin: 0 auto;
  }
  /* .social-embed__media iframe {
    width: calc(100% - 10px);
  } */
}

.social-embed__info-cta {
  width: fit-content;
  margin: 0 auto;
}

.social-embed__info-cta div a {
  background: var(--pong-button-bg);
  color: var(--pong-button-text);
  padding: 10px 20px;
  transition: background 150ms ease-in-out;
  text-decoration: none;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
}

.social-embed__info-cta div a::after {
  display: none;
}

.social-embed__info-cta div a.small {
  padding: 4px 12px;
}

.social-embed__info-cta div a.outline {
  background: none;
  border: 1px solid var(--pong-text);
  color: var(--pong-text);
}

.social-embed__info-cta div a.outline:hover {
  border: 1px solid var(--pong-button-bg);
  color: var(--pong-button-bg);
}

.social-embed__info-cta a:hover {
  background: var(--pong-button-bg-hover);
}

@media screen and (min-width: 767px) {
  .social-embed__info {
    padding: 24px;
  }

  .social-embed__info .social-embed__info-headline h2 {
    text-align: left;
  }

  .social-embed__info .social-embed__info-text {
    text-align: left;
  }

  .social-embed__info-cta {
    width: 100%;
    margin-right: auto;
  }
}

@media screen and (min-width: 1280px) {
  .social-embed__info {
    padding: 52px;
  }

  .social-embed__info .social-embed__info-headline h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

@media screen and (min-width: 1920px) {
  .social-embed__info .social-embed__info-headline h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

.social-embed.default {
  --pong-text: var(--site-primary);
  --pong-bg: var(--site-tertiary);
  --pong-button-bg: var(--site-secondary);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--site-primary);
}

.social-embed.gold {
  --pong-text: var(--gold-1);
  --pong-button-bg: var(--gold-2);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--gold-1);
  --pong-bg: var(--gold-3);
}

.social-embed.gray {
  --pong-text: var(--gray-1);
  --pong-button-bg: var(--gray-2);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--gray-1);
  --pong-bg: var(--gray-3);
}

.social-embed.blue {
  --pong-text: var(--blue-1);
  --pong-button-bg: var(--blue-2);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--blue-1);
  --pong-bg: var(--blue-3);
}

.social-embed.green {
  --pong-text: var(--green-1);
  --pong-button-bg: var(--green-2);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--green-1);
  --pong-bg: var(--green-3);
}

.social-embed.brown {
  --pong-text: var(--brown-1);
  --pong-button-bg: var(--brown-2);
  --pong-button-text: var(--white);
  --pong-button-bg-hover: var(--brown-1);
  --pong-bg: var(--brown-3);
}


/* Video Iframes need height auto and proper aspect ratio */
.iframe-video-embed {
  height: auto !important;
  aspect-ratio: 16 / 9;
}
