.sgc-image-with-text-carousel *,
.sgc-image-with-text-carousel *::before,
.sgc-image-with-text-carousel *::after {
  box-sizing: border-box;
}

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

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

.sgc-image-with-text-carousel dl {
  margin-block: 0;
}

.sgc-image-with-text-carousel dd {
  margin-inline-start: 0;
}

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

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

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

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

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

.sgc-image-with-text-carousel p:first-child {
  margin-block-start: 0;
}

.sgc-image-with-text-carousel p:last-child {
  margin-block-end: 0;
}

.sgc-image-with-text-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-image-with-text-carousel .sgc-hidden {
  display: none !important;
}

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

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

.sgc-image-with-text-carousel .sgc-hidden-empty:empty {
  display: none;
}

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

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

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

.sgc-image-with-text-carousel .sgc-text-align-center {
  text-align: center;
}

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

.sgc-image-with-text-carousel .sgc-hidden-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sgc-image-with-text-carousel .sgc-hidden-scrollbar::-webkit-scrollbar {
  display: none;
}

.sgc-image-with-text-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-image-with-text-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-image-with-text-carousel .sgc-button:focus {
  outline: 0;
}

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

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

.sgc-image-with-text-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-image-with-text-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-image-with-text-carousel
  .sgc-button--style-normal.sgc-button--effect-scan {
  overflow: hidden;
}

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

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

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

.sgc-image-with-text-carousel
  .sgc-button--style-normal.sgc-button--effect-scale {
  position: relative;
}

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

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

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

.sgc-image-with-text-carousel .sgc-rte {
  overflow-wrap: break-word;
}

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

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

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

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

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

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

.sgc-image-with-text-carousel .sgc-rte iframe {
  max-width: 100%;
}

.sgc-image-with-text-carousel .sgc-rte p img {
  vertical-align: bottom;
}

.sgc-image-with-text-carousel .sgc-rte table {
  table-layout: fixed;
}

.sgc-image-with-text-carousel sgc-image-with-text-carousel {
  display: block;
  width: 100%;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel sgc-image-with-text-carousel {
    overflow-x: hidden;
  }
}

.sgc-image-with-text-carousel {
  display: block;
  width: 100%;
  background-color: rgb(var(--background-color));
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__container {
  max-width: var(--max-width-in-desktop);
  margin-inline: auto;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block-end: 20px;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__header {
    margin-block-end: 16px;
  }
}

.sgc-image-with-text-carousel
  .sgc-image-with-text-carousel__header--with-tooltip-arrows {
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel
    .sgc-image-with-text-carousel__header--with-tooltip-arrows {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__header-content {
  flex: 1;
  min-width: 0;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__title-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__tooltip-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__tooltip-arrows {
    justify-content: flex-start;
  }
}

.sgc-image-with-text-carousel
  .sgc-image-with-text-carousel__tooltip-arrows.sgc-hidden {
  display: none;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__tooltip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__tooltip-arrow svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__title {
  margin-block-end: 15px;
  font-family: var(--title-font-family);
  font-size: var(--title-font-size-desktop);
  font-style: var(--title-font-style);
  font-weight: var(--title-font-weight);
  line-height: var(--title-line-height-desktop);
  color: rgb(var(--title-color));
  letter-spacing: var(--title-letter-spacing);
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__title {
    margin-block-end: 12px;
    font-size: var(--title-font-size-mobile);
  }
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__jump-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 11px;
  min-height: 19px;
  color: rgb(var(--sgc-button-background-color));
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__jump-arrow-icon {
  display: block;
  flex-shrink: 0;
  width: 11px;
  min-width: 11px;
  max-width: 11px;
  height: 19px;
  min-height: 19px;
  max-height: 19px;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__description {
  word-break: normal;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__list {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__list {
    overflow: visible;
  }
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 200px;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__card {
    max-width: 100%;
    height: auto;
    min-height: 150px;
  }
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  aspect-ratio: var(--image-ratio);
  overflow: hidden;
  text-decoration: none;
  background-color: #f5f5f5;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__image-img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgc-image-with-text-carousel .sgc-block-subtitle {
  margin-block-start: 20px;
}

.sgc-image-with-text-carousel .sgc-block-description {
  margin-block-start: 20px;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows button {
  pointer-events: auto;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows.sgc-hidden {
  display: none;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows--float {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-block-start: var(--sgc-floating-arrow-padding-top, 50%);
  padding-inline: 10px;
  pointer-events: none;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #333;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrow svg {
  width: 24px;
  height: 24px;
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrow--prev,
.sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrow--next {
  position: relative;
}

.sgc-image-with-text-carousel .splide__track {
  width: 100%;
  height: var(--sgc-track-height, auto);
  min-height: 200px;
  overflow: hidden;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .splide__track {
    width: 100vw;
    min-height: 150px;
    margin-inline: calc(50% - 50vw);
  }
}

.sgc-image-with-text-carousel .splide__list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sgc-image-with-text-carousel .splide__slide {
  box-sizing: border-box;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel .splide__slide {
    max-width: 100%;
  }
}

.sgc-image-with-text-carousel .sgc-image-with-text-carousel__button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 40px;
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel
    .sgc-image-with-text-carousel__button-container {
    margin-block-start: 24px;
  }
}

.sgc-image-with-text-carousel
  .sgc-image-with-text-carousel__arrows--float
  .sgc-image-with-text-carousel__arrow {
  width: 48px;
  height: 48px;
  pointer-events: auto;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
  opacity: 1;
  transform: translateY(-50%);
}

.sgc-image-with-text-carousel
  .sgc-image-with-text-carousel__arrows--float
  .sgc-image-with-text-carousel__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 959px) {
  .sgc-image-with-text-carousel
    .sgc-image-with-text-carousel__button-container--hide-mobile {
    display: none;
  }

  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows--touch {
    display: none;
  }

  .sgc-image-with-text-carousel
    .sgc-image-with-text-carousel__arrows--float
    .sgc-image-with-text-carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .sgc-image-with-text-carousel
    .sgc-image-with-text-carousel__arrows--float
    .sgc-image-with-text-carousel__arrow
    svg {
    width: 20px;
    height: 20px;
  }

  .sgc-image-with-text-carousel .sgc-image-with-text-carousel__arrows--float {
    padding-inline: 5px;
  }
}
