.embed {
  width: unset;
  text-align: center;
  margin: 32px auto;
}

.embed > div {
  display: flex;
  justify-content: center;
}

.embed.embed-twitter .twitter-tweet-rendered {
  margin-left: auto;
  margin-right: auto;
}

.embed .embed-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.embed .embed-placeholder > * {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.embed .embed-placeholder picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.embed .embed-placeholder-play button {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(3);
  width: 22px;
  height: 22px;
  border: 2px solid;
  border-radius: 20px;
  padding: 0;
}

.embed .embed-placeholder-play button::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0;
  height: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid;
  top: 4px;
  left: 7px;
}

.embed .iframe-wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

.embed .iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  width: 100%;
  height: 100%;
}

#formulario-cadastro .embed {
  margin: 0;
}

#formulario-cadastro .embed .iframe-wrapper {
  padding-bottom: 1260px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (width < 784px) {
  #formulario-cadastro > div {
    box-sizing: border-box;
    max-width: 100%;
    padding-inline: 16px;
  }

  body:has(header #simples) #formulario-cadastro .embed .iframe-wrapper {
    margin-top: 0;
  }
}

@media (width >= 784px) {
  #formulario-cadastro .embed .iframe-wrapper {
    padding-bottom: 1010px;
    margin-top: 67px;
  }
}

@media (width >= 900px) {
  .embed .iframe-wrapper {
    padding-bottom: 56.25%;
  }
}
