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

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

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

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

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

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

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

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

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

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

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

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

.sgc-video-slideshow {
  /**
   * 内容级的元素层级
   */
  --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-slideshow .sgc-hidden {
  display: none !important;
}

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

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

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

.sgc-video-slideshow .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);
  /* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
  word-break: break-word;
}

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

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

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

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

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

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

.sgc-video-slideshow .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-slideshow .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-slideshow .sgc-button:focus {
  outline: 0;
}

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

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

.sgc-video-slideshow .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-slideshow .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-slideshow .sgc-button--style-normal.sgc-button--effect-scan {
  overflow: hidden;
}

.sgc-video-slideshow .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-slideshow
  .sgc-button--style-normal.sgc-button--effect-scan:focus::after,
.sgc-video-slideshow
  .sgc-button--style-normal.sgc-button--effect-scan:hover::after {
  transform: skew(-20deg) translateX(-150%);
}

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

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

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

.sgc-video-slideshow .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-slideshow
  .sgc-button--style-normal.sgc-button--effect-scale:focus::after,
.sgc-video-slideshow
  .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-slideshow .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-slideshow .sgc-button--style-link:hover {
  text-decoration-thickness: 2px;
}

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

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

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

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

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

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

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

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

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

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

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

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

@keyframes sgc-video-slideshow-progressbar-animation {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes sgc-video-slideshow-right-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

@keyframes sgc-video-slideshow-left-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes sgc-video-slideshow-close-wrapper {
  to {
    clip-path: rect(auto auto auto auto);
  }
}

.sgc-video-slideshow {
  position: relative;
  display: block;
  width: 100%;
}

.sgc-video-slideshow .sgc-video-slideshow__slides {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 500px;
}

.sgc-video-slideshow .sgc-video-slideshow__slide {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
}

.sgc-video-slideshow .sgc-video-slideshow__container {
  align-self: stretch;
  background-color: rgb(var(--sgc-background-color));
}

.sgc-video-slideshow .sgc-video-slideshow__container-inner {
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
  max-width: var(--sgc-max-width-desktop);
  height: 100%;
  min-height: 100%;
  margin: auto;
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper {
  position: relative;
  display: flex;
  flex: 0 0 50%;
  min-width: 0;
  aspect-ratio: var(--desktop-video-aspect-ratio);
  overflow: hidden;
  cursor: pointer;
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper .placeholder-svg {
  background-color: #f3f3f3;
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__video-wrapper {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: var(--mobile-video-aspect-ratio);
  }
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper-content {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper-media {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
}

.sgc-video-slideshow .sgc-video-media {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
}

.sgc-video-slideshow .sgc-video-media__poster img {
  object-position: var(--desktop-video-cover-position, center center);
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-media__poster img {
    object-position: var(--mobile-video-cover-position, center center);
  }
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--desktop-video-cover-position);
}

.sgc-video-slideshow .sgc-video-slideshow__video-wrapper-default-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background-color: #f3f3f3;
}

.sgc-video-slideshow .sgc-block-group {
  flex: 1 1 auto;
  align-self: center;
  min-width: 300px;
  hyphens: auto;
  overflow-wrap: break-word;
  background-color: rgb(
    var(--group-background-color) / var(--group-background-opacity)
  );
}

.sgc-video-slideshow .sgc-block-group .sgc-block-title {
  width: 100%;
}

.sgc-video-slideshow .sgc-block-group .sgc-block-title > h2 {
  word-break: normal;
}

.sgc-video-slideshow .sgc-block-group .sgc-block-subtitle {
  width: 100%;
  word-break: normal;
}

.sgc-video-slideshow .sgc-block-group .sgc-block-description {
  box-sizing: border-box;
  width: 100%;
  hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}

.sgc-video-slideshow .sgc-block-group .sgc-block-button-group {
  flex-wrap: wrap;
}

.sgc-video-slideshow .sgc-video-slideshow__pagination {
  position: absolute;
  inset-block-end: 40px;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sgc-video-slideshow .sgc-video-slideshow__pagination button[name="pager"] {
  position: relative;
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  background: #999;
  border: none;
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.sgc-video-slideshow
  .sgc-video-slideshow__pagination
  button[name="pager"]:hover {
  opacity: 0.6;
}

.sgc-video-slideshow
  .sgc-video-slideshow__pagination
  button[name="pager"].is-active {
  width: 10px;
  height: 10px;
  background: #000;
  opacity: 1;
}

.sgc-video-slideshow
  .sgc-video-slideshow__pagination
  button[name="pager"].is-active::before {
  display: none;
}

.sgc-video-slideshow
  .sgc-video-slideshow__pagination
  button[name="pager"].is-active
  .active-cricle-ani {
  display: none;
}

@media (min-width: 960px) {
  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="simple"]
    .sgc-video-slideshow__pagination {
    display: flex;
  }

  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="simple"]
    .sgc-video-slideshow__container {
    padding-block-end: 100px;
  }
  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="left-right-arrow"]
    .sgc-video-slideshow__left-right-arrows {
    display: flex;
  }
  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="bottom-arrow"]
    .sgc-video-slideshow__bottom-arrow {
    display: flex;
  }

  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="bottom-arrow"]
    .sgc-video-slideshow__container {
    padding-block-end: 100px;
  }
  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-desktop-pagination-type="progressbar"]
    .sgc-video-slideshow__progressbar {
    display: flex;
  }
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow.splide {
    /* touch 模式不显示翻页组件，已经默认为 touch 手势 */
  }
  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-mobile-pagination-type="simple"]
    .sgc-video-slideshow__pagination {
    display: flex;
  }

  .sgc-video-slideshow
    .sgc-video-slideshow.splide[data-mobile-pagination-type="simple"]
    .sgc-video-slideshow__container {
    padding-block-end: 86px;
  }
}

.sgc-video-slideshow .sgc-video-slideshow__view-container {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  height: 100%;
  padding: 60px;
  background-color: rgb(0 0 0 / 50%);
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__view-container {
    padding: 0;
  }
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-close {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  z-index: 1001;
  color: #fff;
  cursor: pointer;
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-content {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .sgc-video-slideshow .sgc-video-slideshow__view-container-content--vertical {
    width: 50.625vh;
    height: 90vh;
  }
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__view-container-content--vertical {
    width: 100vw;
    height: calc(177.778vw);
  }
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-content--horizontal {
  padding-block-end: 56.25%;
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-content-video {
  position: absolute;
  width: 100%;
  height: 100%;
}

.sgc-video-slideshow .sgc-video-slideshow__view-container-content-video video,
.sgc-video-slideshow .sgc-video-slideshow__view-container-content-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgc-video-slideshow .sgc-video-slideshow__view-container--active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.2s ease-in-out;
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  padding: 80px 60px;
  background-color: rgb(0 0 0 / 85%);
  backdrop-filter: blur(4px);
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player--active {
  display: flex;
  animation: fade-in 0.2s ease-in-out;
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__fullscreen-player {
    padding: 80px 20px;
  }
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player-video {
  position: relative;
  display: flex;
  width: 85vw;
  max-height: calc(100vh - 160px);
  aspect-ratio: var(--fullscreen-aspect-ratio, 16/9);
  box-shadow: 0 10px 40px rgb(0 0 0 / 50%);
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__fullscreen-player-video {
    width: calc(100vw - 40px);
    max-height: calc(100vh - 160px);
  }
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player-video video,
.sgc-video-slideshow .sgc-video-slideshow__fullscreen-player-video iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: rgb(0 0 0);
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-close {
  position: absolute;
  inset-block-start: -55px;
  inset-inline-end: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  background-color: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-close:hover {
  background-color: rgb(255 255 255 / 20%);
  border-color: rgb(255 255 255 / 30%);
  transform: scale(1.1);
}

.sgc-video-slideshow .sgc-video-slideshow__fullscreen-close:active {
  transform: scale(0.95);
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__fullscreen-close {
    inset-block-start: -50px;
    inset-inline-end: 0;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

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

  to {
    opacity: 1;
  }
}

@media (max-width: 959px) {
  .sgc-video-slideshow .sgc-video-slideshow__slide {
    align-items: flex-start;
  }

  .sgc-video-slideshow .sgc-video-slideshow__container {
    align-self: auto;
  }

  .sgc-video-slideshow .sgc-video-slideshow__container-inner {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    height: auto;
    min-height: auto;
  }

  .sgc-video-slideshow .sgc-block-group {
    flex: 1 1 auto;
    align-self: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: hidden;
  }

  .sgc-video-slideshow .sgc-video-slideshow__video-wrapper {
    flex: 1 1 auto;
  }

  .sgc-video-slideshow .sgc-video-slideshow__pagination {
    inset-block-end: 40px;
    gap: 8px;
  }

  .sgc-video-slideshow .sgc-video-slideshow__progressbar {
    inset-block-end: 0;
    gap: 6px;
    padding-inline: 20px;
  }

  .sgc-video-slideshow .sgc-video-slideshow__progressbar button[name="pager"] {
    max-width: 60px;
  }

  .sgc-video-slideshow .sgc-video-slideshow__bottom-arrow {
    --sgc-arrow-position-bottom: 20px;
    --sgc-arrow-button-size: 36px;
    --sgc-arrow-gap: 8px;
  }
}
