.sgc-file-download *,
.sgc-file-download *::before,
.sgc-file-download *::after {
  box-sizing: border-box;
}

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

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

.sgc-file-download dl {
  margin-block: 0;
}

.sgc-file-download dd {
  margin-inline-start: 0;
}

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

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

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

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

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

.sgc-file-download p:first-child {
  margin-block-start: 0;
}

.sgc-file-download p:last-child {
  margin-block-end: 0;
}

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

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

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

.sgc-file-download .sgc-hidden-empty:empty {
  display: none;
}

.sgc-file-download .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-file-download .sgc-basic-style {
    font-size: var(
      --sgc-basic-mobile-font-size,
      var(--sgc-basic-font-size, revert)
    );
  }
}

.sgc-file-download .sgc-text-align-left {
  text-align: start;
}

.sgc-file-download .sgc-text-align-center {
  text-align: center;
}

.sgc-file-download .sgc-text-align-right {
  text-align: end;
}

.sgc-file-download .sgc-hidden-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sgc-file-download .sgc-hidden-scrollbar::-webkit-scrollbar {
  display: none;
}

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

.sgc-file-download .sgc-button:disabled,
.sgc-file-download .sgc-button.disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.sgc-file-download .sgc-button.loading {
  position: relative;
  color: transparent !important;
}

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

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

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

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

.sgc-file-download .sgc-button--style-normal.sgc-button--effect-scale {
  position: relative;
}

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

.sgc-file-download .sgc-button--style-arrow-button {
  --sgc-button-padding-block: 2px;
  --sgc-button-padding-inline: 4px;

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

.sgc-file-download .sgc-rte {
  overflow-wrap: break-word;
}

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

.sgc-file-download .sgc-rte::after {
  clear: both;
  display: block;
  content: "";
}

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

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

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

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

.sgc-file-download .sgc-rte iframe {
  max-width: 100%;
}

.sgc-file-download .sgc-rte p img {
  vertical-align: bottom;
}

.sgc-file-download .sgc-rte table {
  table-layout: fixed;
}

.sgc-file-download .sgc-file-list {
  width: 100%;
  overflow: hidden;
  border: var(--border-thickness) solid
    rgb(var(--border-color), var(--border-opacity));
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur)
    rgb(var(--shadow-color), var(--shadow-opacity));
}

.sgc-file-download .sgc-file-list-wrapper {
  position: relative;
  width: 100%;
}

@media (min-width: 960px) {
  .sgc-file-download .sgc-file-list-wrapper__track {
    width: calc(100% - 160px);
  }
}

.sgc-file-download .sgc-file-list-wrapper__track {
  margin: 0 auto;
}

@media (min-width: 960px) {
  .sgc-file-download .sgc-file-list-wrapper__slide {
    width: calc(33.33% - 40px);
    height: 100%;
  }
}

@media (max-width: 959px) {
  .sgc-file-download .sgc-file-list-wrapper__slide {
    width: calc(
      100% / var(--mobile-column-width) - (var(--mobile-column-width) - 1) *
        20 / var(--mobile-column-width) * 1px
    );
    min-width: 150px;
  }
}

.sgc-file-download .sgc-file-list-wrapper__slide > div {
  width: 100%;
  height: 100%;
}

.sgc-file-download .sgc-file-list-wrapper__slide:nth-last-child(1) {
  margin-inline-end: 0 !important;
}

@media (min-width: 960px) {
  .sgc-file-download .sgc-file-list-wrapper__list--center {
    justify-content: center;
  }
}

.sgc-file-download .sgc-file-list-wrapper--list {
  width: 100%;
}

.sgc-file-download .sgc-file-list-wrapper-arrows > button {
  position: absolute;
  inset-block-start: 50%;
  cursor: pointer;
  outline: none;
  background-color: transparent;
  border: none;
}

.sgc-file-download .sgc-file-list-wrapper-arrows .splide__arrow--prev {
  inset-inline-start: 0;
  transform: translateY(-50%) rotate(180deg);
}

.sgc-file-download .sgc-file-list-wrapper-arrows .splide__arrow--next {
  inset-inline-end: 0;
  transform: translateY(-50%);
}

.sgc-file-download .sgc-file-list-wrapper .splide__pagination {
  gap: 8px;
  margin-block-start: 20px;
}

.sgc-file-download .sgc-file-list-wrapper .splide__pagination button {
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  outline: none;
  background-color: rgb(0 0 0 / 20%);
  border: none;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
}

.sgc-file-download .sgc-file-list-wrapper .splide__pagination button.is-active {
  width: 24px;
  height: 6px;
  background-color: rgb(0 0 0);
  border-radius: 50px;
}

.sgc-file-download .sgc-file-item {
  width: 100%;
}

.sgc-file-download .sgc-file-item a {
  line-height: 160%;
  color: #000;
}

.sgc-file-download .sgc-file-item--image {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sgc-file-download .sgc-file-item--image-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1.44 / 1;
  overflow: hidden;
}

.sgc-file-download .sgc-file-item--image-cover--empty {
  height: 100%;
  background-color: #f3f3f3;
}

.sgc-file-download .sgc-file-item--image-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgc-file-download .sgc-file-item--image-cover-operate-icon {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 48px;
  height: 48px;
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
}

@media (max-width: 959px) {
  .sgc-file-download .sgc-file-item--image-cover-operate-icon {
    width: 24px;
    height: 24px;
  }
}

.sgc-file-download .sgc-file-item--image-cover-operate-icon > svg {
  width: 100%;
  height: 100%;
}

.sgc-file-download .sgc-file-item--image-name {
  width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}

.sgc-file-download .sgc-file-item--list {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  border-block-end: 1px solid #e0e0e0;
}

.sgc-file-download .sgc-file-item--list-name {
  max-width: calc(100% - 35px);
  overflow-wrap: break-word;
}

.sgc-file-download .sgc-file-item--list-download-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-inline-start: auto;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
}

.sgc-file-download .sgc-file-item-download-btn > svg {
  width: 100%;
  height: 100%;
}

.sgc-file-download {
  background-color: rgb(var(--background-color));
}

.sgc-file-download .sgc-file-download-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .sgc-file-download .sgc-file-download-section {
    max-width: var(--desktop-max-width);
  }
}

.sgc-file-download .sgc-file-download-text {
  width: 100%;
  padding: 0 20px;
}

.sgc-file-download .sgc-file-download-title {
  font-family: var(--title-font-family);
  font-size: var(--title-font-size);
  line-height: calc(var(--title-line-height) * 100 * 1%);
  color: rgb(var(--title-color));
  letter-spacing: var(--title-letter-spacing);
}

@media (max-width: 959px) {
  .sgc-file-download .sgc-file-download-title {
    font-size: var(--title-mobile-font-size);
  }
}

.sgc-file-download .sgc-file-download-description a,
.sgc-file-download .sgc-file-download-description a:hover {
  position: relative;
  padding: 0 1px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.sgc-file-download .sgc-file-download-list {
  width: 100%;
}

.sgc-file-download .sgc-file-download-list > div {
  display: flex;
  justify-content: center;
  width: 100%;
}
