.yte-video-wrap {
  box-sizing: border-box;
  width: 100%;
  display: block;
  clear: both;
}

.yte-video-wrap *,
.yte-video-wrap *::before,
.yte-video-wrap *::after {
  box-sizing: border-box;
}

.yte-video {
  width: 100%;
  margin: 0;
}

.yte-video__title {
  margin: 0 0 14px;
  line-height: 1.2;
}

.yte-video__shell {
  width: 100%;
  max-width: var(--yte-max-width, 100%);
}

.yte-video--full .yte-video__shell {
  margin-left: 0;
  margin-right: 0;
}

.yte-video--left .yte-video__shell {
  margin-left: 0;
  margin-right: auto;
}

.yte-video--center .yte-video__shell {
  margin-left: auto;
  margin-right: auto;
}

.yte-video--right .yte-video__shell {
  margin-left: auto;
  margin-right: 0;
}

.yte-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--yte-ratio, 16 / 9);
  overflow: hidden;
  background: #000;
  border-radius: var(--yte-radius, 0);
}

.yte-video__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: inherit;
}

.yte-video__caption {
  width: 100%;
  max-width: var(--yte-max-width, 100%);
  margin-top: 10px;
  line-height: 1.45;
}

.yte-video--center .yte-video__caption {
  margin-left: auto;
  margin-right: auto;
}

.yte-video--right .yte-video__caption {
  margin-left: auto;
  margin-right: 0;
}

@supports not (aspect-ratio: 1 / 1) {
  .yte-video__frame {
    height: 0;
    padding-top: var(--yte-ratio-padding, 56.25%);
  }
}
