.sgc-video-carousel *,
.sgc-video-carousel *::before,
.sgc-video-carousel *::after {
  box-sizing: border-box;
}

@media (max-width: 959px) {
  .sgc-video-carousel * {
    -webkit-tap-highlight-color: transparent;
  }
}

.sgc-video-carousel ol,
.sgc-video-carousel ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sgc-video-carousel dl {
  margin-block: 0;
}

.sgc-video-carousel dd {
  margin-inline-start: 0;
}

.sgc-video-carousel h1,
.sgc-video-carousel h2,
.sgc-video-carousel h3,
.sgc-video-carousel h4,
.sgc-video-carousel h5,
.sgc-video-carousel h6 {
  margin-block: 0;
  word-break: break-all;
}

.sgc-video-carousel h1:empty,
.sgc-video-carousel h2:empty,
.sgc-video-carousel h3:empty,
.sgc-video-carousel h4:empty,
.sgc-video-carousel h5:empty,
.sgc-video-carousel h6:empty,
.sgc-video-carousel section:empty,
.sgc-video-carousel article:empty,
.sgc-video-carousel p:empty,
.sgc-video-carousel a:empty,
.sgc-video-carousel ol:empty,
.sgc-video-carousel ul:empty,
.sgc-video-carousel dl:empty,
.sgc-video-carousel summary:empty {
  display: none;
}

.sgc-video-carousel a:not([href]) {
  cursor: not-allowed;
}

.sgc-video-carousel a:not(.sgc-button),
.sgc-video-carousel a:not(.sgc-button):hover {
  text-decoration: none;
}

.sgc-video-carousel svg.sgc-icon circle,
.sgc-video-carousel svg.sgc-icon path {
  vector-effect: non-scaling-stroke;
}

.sgc-video-carousel p:first-child {
  margin-block-start: 0;
}

.sgc-video-carousel p:last-child {
  margin-block-end: 0;
}

.sgc-video-carousel {
  /**
   * 内容级的元素层级
   */
  --sgc-z-index-hover: 1;
  --sgc-z-index-active: 2;
  --sgc-z-index-focus: 3;

  /**
   * 覆盖级的元素层级
   */
  --sgc-z-index-sticky: 1000;
  --sgc-z-index-dropdown: 1010;
  --sgc-z-index-fixed: 1020;
  --sgc-z-index-modal: 1030;
  --sgc-z-index-popover: 1040;
  --sgc-z-index-tooltip: 1050;
  --sgc-z-index-toast: 1060;
}

@keyframes sgc-loading-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.sgc-video-carousel .sgc-hidden {
  display: none !important;
}

@media (max-width: 959px) {
  .sgc-video-carousel .sgc-hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .sgc-video-carousel .sgc-hidden-desktop {
    display: none !important;
  }
}

.sgc-video-carousel .sgc-hidden-empty:empty {
  display: none;
}

.sgc-video-carousel .sgc-basic-style {
  font-family: var(--sgc-basic-font-family, revert);
  font-size: var(--sgc-basic-font-size, revert);
  font-style: var(--sgc-basic-font-style, revert);
  font-weight: var(--sgc-basic-font-weight, revert);
  line-height: var(--sgc-basic-line-height, revert);
  color: rgb(var(--sgc-basic-color, revert));
  letter-spacing: var(--sgc-basic-letter-spacing, revert);
  overflow-wrap: break-word;
}

@media (max-width: 959px) {
  .sgc-video-carousel .sgc-basic-style {
    font-size: var(
      --sgc-basic-mobile-font-size,
      var(--sgc-basic-font-size, revert)
    );
  }
}

.sgc-video-carousel .sgc-text-align-left {
  text-align: start;
}

.sgc-video-carousel .sgc-text-align-center {
  text-align: center;
}

.sgc-video-carousel .sgc-text-align-right {
  text-align: end;
}

.sgc-video-carousel .sgc-hidden-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sgc-video-carousel .sgc-hidden-scrollbar::-webkit-scrollbar {
  display: none;
}

.sgc-video-carousel .sgc-button {
  --sgc-button-padding-block: 10px;
  --sgc-button-padding-inline: 20px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--sgc-button-padding-block);
  padding-inline: var(--sgc-button-padding-inline);
  font-family: var(--sgc-button-font-family, revert);
  font-size: var(--sgc-button-font-size, revert);
  font-style: var(--sgc-button-font-style, revert);
  font-weight: var(--sgc-button-font-weight, revert);
  line-height: var(--sgc-button-line-height, revert);
  vertical-align: middle;
  color: rgb(var(--sgc-button-text-color, revert));
  text-align: center;
  letter-spacing: var(--sgc-button-letter-spacing, revert);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

@media (max-width: 959px) {
  .sgc-video-carousel .sgc-button {
    --sgc-button-padding-block: 8px;
    --sgc-button-padding-inline: 16px;

    font-size: var(
      --sgc-button-mobile-font-size,
      var(--sgc-button-font-size, revert)
    );
  }
}

.sgc-video-carousel .sgc-button:focus {
  outline: 0;
}

.sgc-video-carousel .sgc-button:disabled,
.sgc-video-carousel .sgc-button.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.sgc-video-carousel .sgc-button.loading {
  position: relative;
  color: transparent !important;
}

.sgc-video-carousel .sgc-button.loading::before {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  display: block;
  width: 16px;
  height: 16px;
  margin-block-start: -8px;
  margin-inline-start: -8px;
  content: "";
  border: 2px solid rgb(var(--sgc-button-text-color, revert));
  border-block-start-color: transparent;
  border-radius: 50%;
  animation: sgc-loading-spin 1s linear infinite;
}

.sgc-video-carousel .sgc-button--style-normal {
  background-color: rgb(var(--sgc-button-background-color, revert));
  border: var(--sgc-button-border-thickness) solid
    rgb(var(--sgc-button-border-color), var(--sgc-button-border-opacity));
  border-radius: var(--sgc-button-border-radius);
  box-shadow: var(--sgc-button-shadow-offset-x)
    var(--sgc-button-shadow-offset-y) var(--sgc-button-shadow-blur)
    rgb(var(--sgc-button-shadow-color), var(--sgc-button-shadow-opacity));
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-scan {
  overflow: hidden;
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-scan::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    hsl(0deg 0% 100% / 25%),
    transparent
  );
  transform: skew(-20deg) translateX(200%);
  transition: transform 0.5s cubic-bezier(0.01, 0.56, 1, 1);
}

.sgc-video-carousel
  .sgc-button--style-normal.sgc-button--effect-scan:focus::after,
.sgc-video-carousel
  .sgc-button--style-normal.sgc-button--effect-scan:hover::after {
  transform: skew(-20deg) translateX(-150%);
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-shadow {
  transition: box-shadow 0.2s;
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-shadow:hover {
  box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-scale {
  position: relative;
}

.sgc-video-carousel .sgc-button--style-normal.sgc-button--effect-scale::after {
  position: absolute;
  inset-block-start: calc(-1 * var(--sgc-button-border-thickness));
  inset-inline-start: calc(-1 * var(--sgc-button-border-thickness));
  display: block;
  width: calc(100% + var(--sgc-button-border-thickness) * 2);
  height: calc(100% + var(--sgc-button-border-thickness) * 2);
  pointer-events: none;
  content: "";
  border-radius: calc(var(--sgc-button-border-radius) + 1px);
  box-shadow: none;
  transition: box-shadow 0.2s;
}

.sgc-video-carousel
  .sgc-button--style-normal.sgc-button--effect-scale:focus::after,
.sgc-video-carousel
  .sgc-button--style-normal.sgc-button--effect-scale:hover::after {
  box-shadow: 0 0 0 1px
    rgb(var(--sgc-button-border-color), var(--sgc-button-border-opacity));
}

.sgc-video-carousel .sgc-button--style-link {
  --sgc-button-padding-block: 2px;
  --sgc-button-padding-inline: 4px;

  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  background-color: transparent;
  border: none;
}

.sgc-video-carousel .sgc-button--style-link:hover {
  text-decoration-thickness: 2px;
}

.sgc-video-carousel .sgc-button--style-arrow-button {
  --sgc-button-padding-block: 2px;
  --sgc-button-padding-inline: 4px;

  gap: 4px;
  background-color: transparent;
  border: none;
}

.sgc-video-carousel .sgc-rte {
  overflow-wrap: break-word;
}

.sgc-video-carousel .sgc-rte img,
.sgc-video-carousel .sgc-rte video {
  max-width: 100%;
  height: auto;
}

.sgc-video-carousel .sgc-rte::after {
  clear: both;
  display: block;
  content: "";
}

.sgc-video-carousel .sgc-rte a,
.sgc-video-carousel .sgc-rte a:hover {
  position: relative;
  padding: 0 1px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.sgc-video-carousel .sgc-rte ul,
.sgc-video-carousel .sgc-rte ol {
  padding: revert;
  margin: revert;
  list-style: revert;
}

.sgc-video-carousel .sgc-rte > p:first-child {
  margin-block-start: 0;
}

.sgc-video-carousel .sgc-rte > p:last-child {
  margin-block-end: 0;
}

.sgc-video-carousel .sgc-rte iframe {
  max-width: 100%;
}

.sgc-video-carousel .sgc-rte p img {
  vertical-align: bottom;
}

.sgc-video-carousel .sgc-rte table {
  table-layout: fixed;
}

.sgc-video-carousel .sgc-video-carousel__video {
  position: relative;
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel__video-media-wrapper {
  height: 100%;
  overflow: hidden;
}

.sgc-video-carousel .sgc-video-carousel__video-media-wrapper img {
  width: 100%;
  object-fit: cover;
}

.sgc-video-carousel .sgc-video-carousel__video-media-wrapper sgc-video-media {
  width: 100%;
  height: 100%;
}

.sgc-video-carousel
  .sgc-video-carousel__video-media-wrapper
  sgc-video-media
  .sgc-video-media {
  width: 100%;
  height: 100%;
}

.sgc-video-carousel
  .sgc-video-carousel__video-media-wrapper
  sgc-video-media
  video {
  object-fit: cover;
}

.sgc-video-carousel
  .sgc-video-carousel__video-media-wrapper
  sgc-video-media
  iframe {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  aspect-ratio: 16/9;
  transform: translate(-50%, -50%);
}

@media (max-width: 959px) {
  .sgc-video-carousel
    .sgc-video-carousel__video-media-wrapper
    sgc-video-media
    iframe {
    width: auto;
    height: 100%;
  }
}

@media (min-width: 960px) {
  .sgc-video-carousel
    .sgc-video-carousel__video-media-wrapper
    sgc-video-media
    iframe {
    width: 100%;
    height: auto;
  }
}

.sgc-video-carousel
  .sgc-video-carousel__video-media-wrapper
  sgc-video-media.sgc-video-carousel__video-media-wrapper--full-width
  iframe {
  width: 100%;
  height: auto;
}

.sgc-video-carousel
  .sgc-video-carousel__video-media-wrapper
  sgc-video-media.sgc-video-carousel__video-media-wrapper--full-height
  iframe {
  width: auto;
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel__video-media-wrapper-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #dbdbdb;
}

.sgc-video-carousel .sgc-video-carousel__video-content-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.sgc-video-carousel .sgc-video-carousel__video-content-wrapper::before {
  position: absolute;
  inset: 0;
  content: "";
  background-color: rgb(0 0 0 / var(--mask-opacity));
}

.sgc-video-carousel .sgc-video-carousel__video-content-wrapper > div {
  width: 100%;
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel__content-group {
  width: 100%;
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel__content-group-inner {
  max-width: 1420px;
  margin: 0 auto;
}

.sgc-video-carousel .sgc-video-carousel__content-group-inner-item {
  width: 100%;
  opacity: 0;
  transform: translateY(120%);
}

.sgc-video-carousel .sgc-video-carousel__content-group-inner-item-button-group {
  opacity: 1;
  transform: translateY(0);
}

.sgc-video-carousel
  .sgc-video-carousel__content-group-inner-item-button-group
  button {
  opacity: 0;
}

.sgc-video-carousel {
  position: relative;
  width: 100%;
}

.sgc-video-carousel .sgc-video-carousel-wrapper {
  position: relative;
  width: 100%;
}

@media (min-width: 960px) {
  .sgc-video-carousel .sgc-video-carousel-wrapper {
    height: var(--desktop-height, auto);
    aspect-ratio: var(--desktop-aspect-ratio, auto);
  }
}

@media (max-width: 959px) {
  .sgc-video-carousel .sgc-video-carousel-wrapper {
    height: var(--mobile-height, auto);
    aspect-ratio: var(--mobile-aspect-ratio, auto);
  }
}

.sgc-video-carousel .sgc-video-carousel-wrapper-track {
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel-wrapper-list {
  position: relative;
  display: flex;
}

.sgc-video-carousel .sgc-video-carousel__slide {
  --fade-in-content-position: 100px;
}

@keyframes fade-in-content {
  from {
    opacity: 1;
    transform: translateY(120%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-button {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.sgc-video-carousel .sgc-video-carousel__slide {
  width: 100%;
  height: 100%;
}

.sgc-video-carousel .sgc-video-carousel__slide > div {
  height: 100%;
}

.sgc-video-carousel
  .sgc-video-carousel__slide.is-active
  .sgc-video-carousel__content-group-inner-item-title {
  animation: fade-in-content 0.8s cubic-bezier(0.26, 0.54, 0.32, 1) 0.3s
    forwards;
}

.sgc-video-carousel
  .sgc-video-carousel__slide.is-active
  .sgc-video-carousel__content-group-inner-item-subtitle {
  animation: fade-in-content 1s cubic-bezier(0.26, 0.54, 0.32, 1) 0.7s forwards;
}

.sgc-video-carousel
  .sgc-video-carousel__slide.is-active
  .sgc-video-carousel__content-group-inner-item-description {
  animation: fade-in-content 1s cubic-bezier(0.26, 0.54, 0.32, 1) 0.7s forwards;
}

.sgc-video-carousel
  .sgc-video-carousel__slide.is-active
  .sgc-video-carousel__content-group-inner-item-button-group
  > div
  .sgc-button:nth-child(2) {
  animation: fade-in-button 2s cubic-bezier(0.26, 0.54, 0.32, 1) 1.3s forwards;
}

.sgc-video-carousel
  .sgc-video-carousel__slide.is-active
  .sgc-video-carousel__content-group-inner-item-button-group
  > div
  .sgc-button:nth-child(4) {
  animation: fade-in-button 2s cubic-bezier(0.26, 0.54, 0.32, 1) 1.6s forwards;
}

.sgc-video-carousel .sgc-video-carousel__indicators button {
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  background-color: transparent;
  border: none;
}

.sgc-video-carousel .sgc-video-carousel__indicators--arrow-left-right > button {
  position: absolute;
  inset-block-start: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 15%;
  height: 100%;
  padding: 30px;
  color: #fff;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-left-right
  > button[name="prev"] {
  inset-inline-start: 0;
  transform: translateY(-50%) rotate(180deg);
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-left-right
  > button[name="next"] {
  inset-inline-end: 0;
  transform: translateY(-50%) rotate(0deg);
}

@media (max-width: 959px) {
  .sgc-video-carousel
    .sgc-video-carousel__indicators--arrow-left-right
    > button
    svg {
    width: 15%;
    height: 15%;
  }
}

.sgc-video-carousel .sgc-video-carousel__indicators--progress-wrapper {
  position: absolute;
  inset-block-end: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sgc-video-carousel .sgc-video-carousel__indicators--progress-wrapper > button {
  position: relative;
  width: 120px;
  height: 6px;
  overflow: hidden;
}

@media (max-width: 959px) {
  .sgc-video-carousel
    .sgc-video-carousel__indicators--progress-wrapper
    > button {
    width: 45px;
  }
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--progress-wrapper
  > button::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #fff;
  opacity: 0.4;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--progress-wrapper
  > button::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #fff;
  transform: translateX(-100%);
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--progress-wrapper
  > button.is-active::after {
  transform: translateX(0);
  transition: transform var(--autoplay-delay) linear;
}

.sgc-video-carousel .sgc-video-carousel__indicators--arrow-bottom-right {
  --sgc-arrow-position-bottom: 60px;
  --sgc-arrow-position-right: 60px;
  --sgc-arrow-button-size: 56px;
  --sgc-arrow-icon-size: 8px;
  --sgc-arrow-gap: 20px;
}

@media (max-width: 959px) {
  .sgc-video-carousel .sgc-video-carousel__indicators--arrow-bottom-right {
    --sgc-arrow-position-bottom: 20px;
    --sgc-arrow-position-right: 20px;
    --sgc-arrow-button-size: 40px;
    --sgc-arrow-icon-size: 5px;
    --sgc-arrow-gap: 10px;
  }
}

.sgc-video-carousel .sgc-video-carousel__indicators--arrow-bottom-right {
  position: absolute;
  inset-block-end: var(--sgc-arrow-position-bottom);
  inset-inline-end: var(--sgc-arrow-position-right);
  display: flex;
  gap: var(--sgc-arrow-gap);
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sgc-arrow-button-size);
  height: var(--sgc-arrow-button-size);
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid;
  border-radius: 50%;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button[name="prev"] {
  transform: rotate(180deg);
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button
  > svg {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: var(--sgc-arrow-icon-size);
  transform: translate(-50%, -50%);
  transition: all 0.2s ease-in-out;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button::after {
  display: block;
  width: calc(var(--sgc-arrow-icon-size) * 2);
  height: 2px;
  content: "";
  background-color: #fff;
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition: all 0.2s ease-in-out;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--arrow-bottom-right
  > button:hover
  > svg {
  transform: translate(calc((-50% + var(--sgc-arrow-icon-size)) / 2), -50%);
}

.sgc-video-carousel .sgc-video-carousel__indicators--simple-wrapper {
  position: absolute;
  inset-block-end: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sgc-video-carousel .sgc-video-carousel__indicators--simple-wrapper > button {
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease-in-out;
}

.sgc-video-carousel
  .sgc-video-carousel__indicators--simple-wrapper
  > button.is-active {
  opacity: 1;
  transform: scale(1.5);
}
