/* ========== 装备实力内页（生产检验 / 实验设备） ========== */
body.page-equipment-inspection .site-main,
body.page-equipment-lab .site-main {
  padding-top: calc(var(--topbar-height) + var(--nav-height));
}

.equipment-page-head {
  padding: 72px 0 96px;
  box-sizing: border-box;
}

.equipment-page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-header-title);
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.equipment-page-intro {
  margin-top: 44px;
  font-size: 20px !important;
  line-height: 1.75 !important;
  color: #444;
}

/* 覆盖后台富文本内联 font-size，否则改 CSS 不生效 */
.equipment-page-intro :is(p, div, span, li, font, td, th, h1, h2, h3, h4, h5, h6) {
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit;
}

.equipment-page-intro p {
  margin: 0 0 12px;
}

.equipment-page-intro p:last-child {
  margin-bottom: 0;
}

.equipment-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 48px;
}

.equipment-page-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #000;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
}

.equipment-page-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8eaed;
  overflow: hidden;
  flex: 0 0 auto;
}

.equipment-page-card__thumb--placeholder {
  background: #e8eaed;
}

.equipment-page-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-page-card__label {
  flex: 1 1 auto;
  min-height: 180px;
  padding: 20px 22px;
  border: 0;
  border-top: 1px solid #000;
  background: #fff;
  box-sizing: border-box;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  color: #3c4f5e;
  display: block;
  width: 100%;
  word-break: break-word;
}

.equipment-page-card__label :is(p, div, span, li, font, h1, h2, h3, h4, h5, h6) {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  text-align: left;
}

.equipment-page-card__label p {
  margin: 0 0 0.35em;
}

.equipment-page-card__label p:last-child {
  margin-bottom: 0;
}

.equipment-page-empty {
  margin: 48px 0 0;
  font-size: 18px;
  color: #888;
}

@media (min-width: 1025px) {
  .equipment-page-head {
    padding: 88px 0 110px;
  }

  .equipment-page-title {
    font-size: 34px;
    letter-spacing: 0.16em;
  }

  .equipment-page-intro {
    margin-top: 52px;
    font-size: 22px !important;
    line-height: 1.8 !important;
  }

  .equipment-page-grid {
    gap: 32px 28px;
    margin-top: 56px;
  }

  .equipment-page-card__label {
    min-height: 210px;
    padding: 24px 26px;
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .equipment-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 768px) {
  .equipment-page-head {
    padding: 40px 0 64px;
  }

  .equipment-page-title {
    font-size: 22px;
    letter-spacing: 0.12em;
  }

  .equipment-page-intro {
    margin-top: 32px;
    font-size: 18px !important;
  }

  .equipment-page-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .equipment-page-card__label {
    min-height: 150px;
    padding: 18px 20px;
    font-size: 20px;
  }

  .equipment-page-empty {
    font-size: 16px;
  }
}
