/* 资质与实力 */

.strength-overview {
  padding: 100px 0;
  background: var(--white);
}

.strength-overview-grid {
  display: grid;
  grid-template-columns: calc(700 * var(--px)) 1fr;
  gap: 60px;
  align-items: center;
}

.strength-overview-pic {
  width: calc(700 * var(--px));
  height: calc(426 * var(--px));
  flex-shrink: 0;
  border-radius: calc(8 * var(--px));
  overflow: hidden;
}

.strength-overview-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-overview .text p {
  font-family: var(--font);
  font-size: max(14px, calc(16 * var(--px)));
  font-style: normal;
  color: #666666;
  line-height: calc(32 * var(--px));
  text-align: left;
  text-transform: none;
  margin: 0;
}

.strength-honors {
  padding: 80px 0 100px;
  background: var(--bg-light);
}

.honor-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: calc(14 * var(--px));
  margin: 0;
  justify-content: flex-end;
  flex-shrink: 0;
}

.honor-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* min-width: 120px; */
  height: calc(40 * var(--px));
  padding: 0 calc(22 * var(--px));
  border-radius: calc(20 * var(--px));
  border: 2px solid transparent;
  font-family: var(--font);
  font-size: max(14px, calc(16 * var(--px)));
  font-style: normal;
  color: #666666;
  line-height: calc(32 * var(--px));
  text-align: left;
  text-transform: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.honor-tabs a:hover,
.honor-tabs a.active {
  border: 2px solid #1a3a8e;
  color: #133891;
  background: transparent;
}

.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, calc(340 * var(--px)));
  justify-content: space-between;
  gap: calc(28 * var(--px)) 0;
}

.honor-card {
  width: calc(340 * var(--px));
  height: calc(440 * var(--px));
  box-sizing: border-box;
  text-align: center;
  background: #ffffff;
  border-radius: calc(12 * var(--px));
  padding: calc(20 * var(--px)) calc(16 * var(--px)) calc(18 * var(--px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.honor-card .pic {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  height: auto;
}

.honor-card .pic img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.honor-card .name {
  flex-shrink: 0;
  width: 100%;
  margin-top: calc(12 * var(--px));
  font-family: var(--font);
  font-size: max(14px, calc(16 * var(--px)));
  font-style: normal;
  color: #666666;
  line-height: calc(32 * var(--px));
  text-align: center;
  text-transform: none;
}

.strength-head-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(24 * var(--px));
  margin-bottom: calc(48 * var(--px));
}

.strength-head-row .sec-head {
  margin-top: -40px;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* 类别与「荣誉资质」中文标题同一基线 */
.strength-head-row .honor-tabs {
  height: calc(48 * var(--px));
}

@media (max-width: 1100px) {
  .strength-overview-grid {
    grid-template-columns: 1fr;
  }

  .strength-overview-pic {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 426;
  }

  .honor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(28 * var(--px)) calc(20 * var(--px));
    justify-content: stretch;
  }

  .honor-card {
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 440;
  }

  .strength-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .honor-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .strength-overview,
  .strength-honors {
    padding: 40px 0;
  }

  .strength-overview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-overview-pic {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 426;
  }

  .strength-overview .text p {
    font-size: 14px;
    line-height: 1.75;
  }

  .strength-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .strength-head-row .sec-head {
    margin-top: 0;
    margin-bottom: 0;
  }

  .strength-head-row .sec-head .cn {
    margin-top: -6px;
    line-height: 1.35;
  }

  .strength-head-row .honor-tabs {
    height: auto;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .honor-tabs a {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1;
    border-radius: 22px;
  }

  .honor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-content: stretch;
  }

  .honor-card {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 16px 12px;
  }

  .honor-card .pic {
    min-height: 180px;
  }

  .honor-card .pic img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
  }

  .honor-card .name {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 10px;
  }
}
