.facebook-video-embed-box {
  align-items: center !important;
  aspect-ratio: 16 / 9 !important;
  background: #000 !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  margin-inline: auto;
  max-width: 500px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 100% !important;
}

iframe.facebook-video-embed-frame {
  aspect-ratio: var(--facebook-video-aspect-ratio) !important;
  border: 0 !important;
  display: block !important;
  margin: 0 !important;
  max-height: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  transform: none !important;
}

iframe.facebook-video-embed-frame--portrait {
  height: 100% !important;
  width: auto !important;
}

iframe.facebook-video-embed-frame--full-width {
  height: 100% !important;
  width: 100% !important;
}

.facebook-video-embed-fallback {
  display: block;
  margin-block-start: 0.5rem;
  text-align: center;
}

.facebook-video-embed-unavailable {
  align-items: center;
  aspect-ratio: 16 / 9;
  background: #f5f5f5;
  border: 1px solid #d8d8d8;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  max-width: 500px;
  padding: 1rem;
  text-align: center;
  width: 100%;
}
