.sr-showcase, .sr-showcase * { box-sizing: border-box; }

.sr-showcase {
  color: #101c30;
  font-family: inherit;
  scroll-margin-top: 30px;
}

.sr-showcase__inner {
  box-sizing: border-box;
  width: 100%;
}

.sr-reference-label {
  margin: 0 0 18px;
  --sr-base-text-color: #bc4200;
  color: var(--sr-text-color, var(--sr-base-text-color));
  font-family: var(--sr-font-family, inherit);
  font-size: var(--sr-font-size, 16px);
  line-height: var(--sr-line-height, 1.5);
  letter-spacing: var(--sr-letter-spacing, 0px);
  font-weight: var(--sr-font-weight, 400);
  font-style: var(--sr-font-style, normal);
  text-decoration: var(--sr-text-decoration, none);
  text-align: var(--sr-text-align, start);
  text-transform: var(--sr-text-transform, none);
}

.sr-showcase h2,
.sr-showcase [id^="sr-projects-title"],
.sr-showcase__heading > div:not(.sr-showcase__intro) > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-reference-label) {
  margin: 0;
  --sr-base-text-color: #101c30;
  color: var(--sr-text-color, var(--sr-base-text-color));
  font-family: var(--sr-font-family, inherit);
  font-size: clamp(30px, 2.65vw, var(--sr-font-size, 42px));
  line-height: var(--sr-line-height, 1.12);
  letter-spacing: var(--sr-letter-spacing, -.025em);
  font-weight: var(--sr-font-weight, 700);
  font-style: var(--sr-font-style, normal);
  text-decoration: var(--sr-text-decoration, none);
  text-align: var(--sr-text-align, start);
  text-transform: var(--sr-text-transform, none);
}

.sr-showcase__heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-left: var(--header-padding-lr, 15%);
  padding-right: var(--header-padding-lr, 15%);
  margin: 0 auto 40px;
}

.sr-showcase__intro { position: relative; left: 40px; }

.sr-showcase__intro p,
.sr-showcase__intro > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-showcase__cta) {
  max-width: 580px;
  margin: 0 0 24px;
  --sr-base-text-color: #101c30;
  color: var(--sr-text-color, var(--sr-base-text-color));
  font-family: var(--sr-font-family, inherit);
  font-size: var(--sr-font-size, 17px);
  line-height: var(--sr-line-height, 1.5);
  letter-spacing: var(--sr-letter-spacing, 0px);
  font-weight: var(--sr-font-weight, 400);
  font-style: var(--sr-font-style, normal);
  text-decoration: var(--sr-text-decoration, none);
  text-align: var(--sr-text-align, start);
  text-transform: var(--sr-text-transform, none);
}

.sr-showcase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 30px;
  --sr-base-background: #ff6d10;
  background: var(--sr-background, var(--sr-base-background));
  text-decoration: none;
  transition: background-color .2s ease;
  --sr-base-text-color: #101c30;
  color: var(--sr-text-color, var(--sr-base-text-color));
  font-family: var(--sr-font-family, inherit);
  font-size: var(--sr-font-size, 16px);
  line-height: var(--sr-line-height, normal);
  letter-spacing: var(--sr-letter-spacing, 0px);
  font-weight: var(--sr-font-weight, 700);
  font-style: var(--sr-font-style, normal);
  text-decoration: var(--sr-text-decoration, none);
  text-align: var(--sr-text-align, start);
  text-transform: var(--sr-text-transform, none);
}

.sr-showcase__cta:hover { background: var(--sr-hover-background, #efb083); }

.sr-showcase :is(a, [tabindex]):focus-visible {
  outline: 3px solid #bc4200;
  outline-offset: 5px;
}

.sr-showcase__track {
  --gallery-card: clamp(300px, 26.45vw, 500px);
  --gallery-gap: 30px;
  display: flex;
  gap: var(--gallery-gap);
  margin-inline: auto;
  padding: 0 max(0px, calc((90vw - 3 * var(--gallery-card) - 2 * var(--gallery-gap)) / 2)) 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 #fff;
}

.sr-showcase__card {
  position: relative;
  flex: 0 0 var(--gallery-card);
  aspect-ratio: var(--sr-image-ratio, 1);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--sr-image-radius, 16px);
  scroll-snap-align: center;
  background: var(--sr-item-background, #e8ecef);
}

.sr-showcase__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--sr-image-fit, cover);
}

.sr-showcase__card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 24px 22px;
  --sr-base-background: linear-gradient(transparent, #101c30c9);
  background: var(--sr-background, var(--sr-base-background));
  --sr-base-text-color: #fff;
  color: var(--sr-text-color, var(--sr-base-text-color));
  font-family: var(--sr-font-family, inherit);
  font-size: clamp(18px, 1.4vw, var(--sr-font-size, 26px));
  line-height: var(--sr-line-height, 1.3);
  letter-spacing: var(--sr-letter-spacing, 0px);
  font-weight: var(--sr-font-weight, 700);
  font-style: var(--sr-font-style, normal);
  text-decoration: var(--sr-text-decoration, none);
  text-align: var(--sr-text-align, start);
  text-transform: var(--sr-text-transform, none);
}

.sr-reference-label:hover,
.sr-showcase h2:hover,
.sr-showcase [id^="sr-projects-title"]:hover,
.sr-showcase__heading > div:not(.sr-showcase__intro) > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-reference-label):hover,
.sr-showcase__intro p:hover,
.sr-showcase__intro > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-showcase__cta):hover,
.sr-showcase__cta:hover,
.sr-showcase__card figcaption:hover {
  color: var(--sr-hover-text-color, var(--sr-text-color, var(--sr-base-text-color)));
  font-weight: var(--sr-hover-font-weight, var(--sr-font-weight, 400));
  font-style: var(--sr-hover-font-style, var(--sr-font-style, normal));
  text-decoration: var(--sr-hover-text-decoration, var(--sr-text-decoration, none));
}

.sr-showcase__card:hover { background: var(--sr-item-hover-background, var(--sr-item-background, #e8ecef)); }
.sr-showcase__card figcaption:hover { background: var(--sr-hover-background, var(--sr-background, var(--sr-base-background))); }

@media (max-width: 1100px) {
  .sr-showcase__heading { gap: 40px; padding-inline: max(5vw, var(--header-padding-lr, 15%)); }
  .sr-showcase__intro { left: 0; }
}

@media (max-width: 760px) {
  .sr-showcase__heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
    padding-inline: var(--header-padding-lr, 15%);
  }

  .sr-showcase__track {
    --gallery-card: 78vw;
    --gallery-gap: 18px;
    padding-inline: 0;
  }

  .sr-reference-label { font-size: var(--sr-mobile-font-size, 16px); }
  .sr-showcase h2,
  .sr-showcase [id^="sr-projects-title"],
  .sr-showcase__heading > div:not(.sr-showcase__intro) > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-reference-label) { font-size: var(--sr-mobile-font-size, 30px); }
  .sr-showcase__cta { font-size: var(--sr-mobile-font-size, 16px); }
  .sr-showcase__intro p,
  .sr-showcase__intro > :is(h1, h2, h3, h4, h5, h6, p, div):not(.sr-showcase__cta) { font-size: var(--sr-mobile-font-size, 16px); }
  .sr-showcase__card figcaption { padding-inline: 20px; font-size: var(--sr-mobile-font-size, 20px); }
}

@media (prefers-reduced-motion: reduce) {
  .sr-showcase__cta { transition: none; }
}

/* 2026-09-18：固定平台结构配置消费；接到 Demo 已有 Root/Inner，不新增包装或作用于内部独立背景。 */
.kbebfv3-component[data-style-section] {
  background-color: var(--ac-root-background-color, transparent);
  background-image: var(--ac-root-background-image, none);
  background-position: var(--ac-root-background-position, center);
  background-size: var(--ac-root-background-size, cover);
  background-repeat: var(--ac-root-background-repeat, no-repeat);
  margin-top: var(--ac-root-margin-tb, 0rem);
  margin-bottom: var(--ac-root-margin-tb, 0rem);
}

.kbebfv3-component[data-style-section] > .kbebfv3-component__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--custom-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--padding_tb, 0rem);
  padding-bottom: var(--padding_tb, 0rem);
  padding-left: var(--padding_lr);
  padding-right: var(--padding_lr);
}

@media (max-width: 959px) {
  .kbebfv3-component[data-style-section] > .kbebfv3-component__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
