.company-intro-section .company-intro-wrapper {
  align-items: center;
  width: 100%;
}
.company-intro-section .company-intro-wrapper.large {
  gap: var(--section-content-space-large);
}
.company-intro-section .company-intro-wrapper.medium {
  gap: var(--section-content-space-medium);
}
.company-intro-section .company-intro-wrapper.small {
  gap: var(--section-content-space-small);
}
.company-intro-section .company-intro-content {
  flex: 1;
  min-width: 0;
}
.company-intro-section .company-intro-content > .section-container.full {
  height: 100%;
  min-height: 0;
}
.company-intro-section .company-intro-content > .section-container.full > .section-header,
.company-intro-section .company-intro-content > .section-container.full > .button-list {
  flex-shrink: 0;
}
.company-intro-section .company-intro-content > .section-container.full > .rich-text {
  flex: 0 1 auto;
  min-height: 0;
}

/* 置顶：内容贴顶；超长时仅描述区滚动 */
.company-intro-section .company-intro-content.text-vertical-top > .section-container.full {
  justify-content: flex-start;
}

/* 居中：标题/描述/按钮整体垂直居中；自适应撑开，不滚动 */
.company-intro-section .company-intro-content.text-vertical-middle > .section-container.full {
  justify-content: center;
  height: auto;
}
.company-intro-section .company-intro-content.text-vertical-middle > .section-container.full > .rich-text {
  overflow: visible;
}

/* 置底：内容贴底；超长时仅描述区滚动 */
.company-intro-section .company-intro-content.text-vertical-bottom > .section-container.full {
  justify-content: flex-end;
}

.company-intro-section .company-intro-content > .section-container.full .section-header {
  padding: 0;
  max-width: unset;
}
.company-intro-section .company-intro-pic img,
.company-intro-section .company-intro-pic video,
.company-intro-section .company-intro-pic button,
.company-intro-section .company-intro-pic iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 993px) {
  .company-intro-section .company-intro-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, var(--company-intro-image-track)) minmax(0, var(--company-intro-content-track));
    align-items: start;
    row-gap: 0;
  }

  .company-intro-section .company-intro-wrapper.text-pic {
    grid-template-columns: minmax(0, var(--company-intro-content-track)) minmax(0, var(--company-intro-image-track));
  }

  .company-intro-section .company-intro-wrapper .company-intro-pic {
    grid-row: 1;
    grid-column: 1;
    width: 100% !important;
  }

  .company-intro-section .company-intro-wrapper.text-pic .company-intro-pic {
    grid-column: 2;
  }

  .company-intro-section .company-intro-wrapper .company-intro-content {
    grid-row: 1;
    grid-column: 2;
    min-height: 0;
  }

  .company-intro-section .company-intro-wrapper.text-pic .company-intro-content {
    grid-column: 1;
  }

  /* 置顶 / 置底：有图时文字区高度对齐图片，超长时描述滚动 */
  .company-intro-section .company-intro-wrapper.has-media .company-intro-content.text-vertical-top,
  .company-intro-section .company-intro-wrapper.has-media .company-intro-content.text-vertical-bottom {
    align-self: stretch;
    contain: size;
    overflow: hidden;
  }

  .company-intro-section .company-intro-content.text-vertical-top > .section-container.full > .rich-text,
  .company-intro-section .company-intro-content.text-vertical-bottom > .section-container.full > .rich-text {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  /* 居中：跟随内容高度撑开，与图片垂直居中对齐 */
  .company-intro-section .company-intro-wrapper.text-vertical-middle {
    align-items: center;
  }

  .company-intro-section .company-intro-wrapper .company-intro-content.text-vertical-middle {
    align-self: center;
    contain: none;
    overflow: visible;
    height: auto;
  }
}

@media screen and (max-width: 992px) {
  .company-intro-section .company-intro-wrapper {
    flex-direction: column !important;
  }

  .company-intro-section .company-intro-wrapper .company-intro-pic {
    width: 100% !important;
  }

  /* 移动端所有对齐方式均完整展开文字，不沿用桌面端的限高和滚动。 */
  .company-intro-section .company-intro-wrapper .company-intro-content {
    contain: none;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .company-intro-section .company-intro-content > .section-container.full {
    height: auto;
  }

  .company-intro-section .company-intro-content > .section-container.full > .rich-text {
    flex: none;
    max-height: none;
    overflow: visible;
  }
}

