/* ============================================================
   产品中心后台接入补充样式（分页、正文、Tab 链接等）
   不修改原有设计稿样式文件
   ============================================================ */

/* 列表分页 */
.pc1-pager {
  margin-top: 56px;
  font-size: 16px;
  color: #999;
  text-align: center;
}
.pc1-pager .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.pc1-pager .pagination li { display: block; }
.pc1-pager .pagination li a,
.pc1-pager .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 16px;
  color: #666;
}
.pc1-pager .pagination li.active a {
  border-color: var(--gc-teal);
  background: var(--gc-teal);
  color: #fff;
}
.pc1-pager .pagination li.disabled a,
.pc1-pager .pagination li.disabled span { color: #bbb; }

/* 列表「+ 显示更多」按钮 */
.pc1-loadmore {
  margin-top: 56px;
  text-align: center;
}
.pc1-loadmore__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--gc-teal, #219aa3);
  border-radius: 22px;
  background: var(--gc-teal, #219aa3);
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pc1-loadmore__btn:hover {
  background: var(--gc-teal, #219aa3);
  opacity: 0.9;
  color: #fff;
}
.pc1-loadmore__btn.is-loading {
  opacity: .6;
  pointer-events: none;
}

/* 空列表提示 */
.pc1-empty {
  padding: 90px 0;
  text-align: center;
  font-size: 18px;
  color: #999;
}

/* 文档页 Tab 使用链接形式 */
.pd-tabs__item { display: inline-block; text-decoration: none; }

/* 文档正文 */
.pd-content {
  padding-top: 30px;
  font-size: 18px;
  line-height: 32px;
  color: #333;
  overflow-x: auto;
}
.pd-content p { margin: 0 0 14px; }
.pd-content img { max-width: 100%; height: auto; }

/* 项目案例列表：动态输出时用行间距代替多行分隔线 */
.cc-row__grid { row-gap: 64px; }
.cc-card__title a { color: inherit; }
.cc-card__title a:hover { color: var(--gc-teal-deep); }

/* 项目案例详情正文图片 */
.ic-art__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}
.cd-intro__text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

/* 合作伙伴列表：整体居中，最后一行不满时也居中 */
.pt-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 46px;
  row-gap: 39px;
  margin-top: 54px;
}
.pt-card {
  width: calc((100% - 138px) / 4);
  text-align: center;
}

/* 合作伙伴 Banner：右侧改用栏目图（img 填充） */
.ic-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 新闻中心：半屏 Banner（右侧栏目图 + 左侧栏目名称及描述） */
.nw-hero {
  position: relative;
  height: 475px;
  overflow: hidden;
  background: #2fa1b9;
}
.nw-hero__pic {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
}
.nw-hero__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nw-hero__box {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.nw-hero__txt {
  width: 50%;
  padding-right: 56px;
}
.nw-hero__txt h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}
.nw-hero__txt p {
  max-width: 520px;
  margin: 25px 0 0;
  font-size: 16px;
  line-height: 35px;
  color: #fff;
}

@media (max-width: 1500px) {
  .nw-hero { height: 420px; }
  .nw-hero__txt h2 { font-size: 46px; }
  .nw-hero__txt p { font-size: 17px; line-height: 32px; }
}
@media (max-width: 1024px) {
  .nw-hero { height: 380px; }
  .nw-hero__txt { width: 52%; padding-right: 34px; }
  .nw-hero__txt h2 { font-size: 36px; }
  .nw-hero__txt p { font-size: 16px; line-height: 28px; margin-top: 18px; }
}
@media (max-width: 640px) {
  .nw-hero { display: flex; flex-direction: column; height: auto; }
  .nw-hero__pic { position: static; order: 2; width: 100%; height: 220px; }
  .nw-hero__box { order: 1; height: auto; padding: 46px 0; }
  .nw-hero__txt { width: 100%; padding-right: 0; }
  .nw-hero__txt h2 { font-size: 30px; }
  .nw-hero__txt p { font-size: 15px; line-height: 27px; margin-top: 14px; }
}

/* 合作伙伴详情：英文名 */
.pt-art__en {
  margin: 0 0 18px;
  font-size: 16px;
  letter-spacing: 1px;
  color: #999;
}

/* 合作伙伴列表：LOGO 图片模式（无图时仍显示 LOGO 占位字） */
.pt-card__logo--img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  font-size: 0;
  letter-spacing: 0;
}
.pt-card__logo img {
  max-width: 72%;
  max-height: 56px;
  object-fit: contain;
}
/* 伙伴名称过长时单行省略 */
.pt-card__name,
.pt-card__en {
  padding: 0 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 1500px) {
  .pt-grid { column-gap: 34px; row-gap: 32px; margin-top: 44px; }
  .pt-card { width: calc((100% - 102px) / 4); }
  .pt-card__logo--img { height: 48px; }
  .pt-card__logo img { max-height: 48px; }
}
@media (max-width: 1200px) {
  .pt-card { width: calc((100% - 68px) / 3); }
}
@media (max-width: 1024px) {
  .pt-grid { column-gap: 26px; row-gap: 26px; }
  .pt-card { width: calc((100% - 26px) / 2); }
  .pt-card__logo--img { height: 40px; }
  .pt-card__logo img { max-height: 40px; }
}
@media (max-width: 640px) {
  .pt-grid { row-gap: 20px; margin-top: 30px; }
  .pt-card { width: 100%; }
  .pt-card__logo--img { height: 34px; }
  .pt-card__logo img { max-height: 34px; }
}

@media (max-width: 640px) {
  .pc1-pager .pagination li a,
  .pc1-pager .pagination li span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }
  .pd-content { font-size: 15px; line-height: 27px; }
}

/* 新闻列表：文字列底部与图片底部对齐 */
.nw-row { align-items: stretch; }
.nw-row__txt { display: flex; flex-direction: column; }
.nw-row__more { margin-top: auto; }


/* ============================================================
   关于我们：轮播图与内容补充样式
   ============================================================ */
/* 关于格润：每篇文章 3 张图，三图铺满一行 */
.ag-gallery__slide img {
  flex: 1 1 0;
  width: auto;
}

/* 企业文化：每篇文章 5 张图，1 大 + 2×2 小 */
.ag-gallery__slide--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 296px);
  gap: 32px;
}
.ag-gallery__slide--grid > *:first-child { grid-row: span 2; }
.ag-gallery__slide--grid .ag-grid__cell {
  display: block;
  overflow: hidden;
  background: #ededed;
}
.ag-gallery__slide--grid img {
  flex: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.ag-gallery--culture { margin-top: 63px; }
.ag-gallery--culture + .ag-dots { margin-top: 33px; }

/* 加入我们：正文小标题、岗位列表 */
.ag-join h2,
.ag-join h3 {
  margin: 32px 0 12px;
  font-weight: 400;
  color: var(--gc-teal);
}
.ag-join h2 { font-size: 26px; line-height: 34px; }
.ag-join h2:first-child { margin-top: 0; }
.ag-join h3 { font-size: 20px; line-height: 30px; color: #333; }
.ag-join p { margin: 0; }
.ag-join p + p { margin-top: 12px; }
.ag-join ul { margin: 12px 0 0 24px; padding: 0; }
.ag-join li {
  font-size: 17px;
  line-height: 30px;
  color: #696969;
}
.ag-job {
  margin-top: 20px;
  padding: 24px 28px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
}
.ag-job + .ag-job { margin-top: 16px; }
.ag-job h3 { margin-top: 0; }
.ag-job p { font-size: 16px; line-height: 28px; color: #696969; }

@media (max-width: 1500px) {
  .ag-gallery__slide--grid { grid-template-rows: repeat(2, 240px); gap: 26px; }
  .ag-gallery--culture { margin-top: 50px; }
}
@media (max-width: 1024px) {
  .ag-gallery__slide img {
    flex: 0 0 40%;
    width: 40%;
    height: auto;
    aspect-ratio: 467 / 272;
  }
  .ag-gallery__slide--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 200px;
    gap: 20px;
  }
  .ag-gallery__slide--grid > *:first-child { grid-row: span 1; }
  .ag-gallery__slide--grid img { height: 100%; }
}
@media (max-width: 640px) {
  .ag-gallery__slide { gap: 12px; }
  .ag-gallery__slide img { flex: 0 0 72%; width: 72%; }
  .ag-gallery__slide--grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
    gap: 14px;
  }
  .ag-gallery--culture { margin-top: 28px; }
  .ag-join h2 { font-size: 20px; line-height: 28px; }
  .ag-job { padding: 16px 18px; }
  .ag-join li { font-size: 14px; line-height: 26px; }
}

/* 新闻列表：单列布局时恢复“阅读全文”的上间距 */
@media (max-width: 1024px) {
  .nw-row__more { margin-top: 26px; }
}

/* 首页：产品图块整块可点击 */
.gc-prod__item > a { display: block; width: 100%; height: 100%; }
