.video-background__title {
  display: block;
  width: 100%;
  padding: 0 0.8em !important;
  line-height: 1.2;
  color: rgb(255, 255, 255);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 文字大小 */
.video-background__title.text-size-1 {
  font-size: 72px;
}

.video-background__title.text-size-2 {
  font-size: 60px;
}

.video-background__title.text-size-3 {
  font-size: 48px;
}

.video-background__title.text-size-4 {
  font-size: 36px;
}

/* 文字粗细 */
.video-background__title.text-weight-light {
  font-weight: 300;
}

.video-background__title.text-weight-normal {
  font-weight: 400;
}

.video-background__title.text-weight-md {
  font-weight: 500;
}

.video-background__title.text-weight-semibold {
  font-weight: 600;
}

.video-background__title.text-weight-bold {
  font-weight: 700;
}

/* PC端文本对齐 */
.video-background__title.text-left {
  text-align: left !important;
}

.video-background__title.text-center {
  text-align: center !important;
}

.video-background__title.text-right {
  text-align: right !important;
}

/* 移动端 */
@media (max-width: 959px) {
  .video-background__title {
    padding: 0 0.5em !important;
  }

  .video-background__title.text-size-1 {
    font-size: 48px;
  }

  .video-background__title.text-size-2 {
    font-size: 40px;
  }

  .video-background__title.text-size-3 {
    font-size: 32px;
  }

  .video-background__title.text-size-4 {
    font-size: 24px;
  }

  /* 移动端文本对齐 */
  .video-background__title.mobile-text-left {
    text-align: left !important;
  }

  .video-background__title.mobile-text-center {
    text-align: center !important;
  }

  .video-background__title.mobile-text-right {
    text-align: right !important;
  }
}

