@charset "utf-8";

.test-equipment__content {
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(70px, 6vw, 110px);
}

.test-equipment__introduction {
  margin: 0 0 clamp(40px, 5vw, 64px);
}

.test-equipment__intro {
  margin: 0 0 28px;
  line-height: 2;
  word-break: normal !important;
}

.test-equipment__photos {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.test-equipment__photo {
  min-width: 0;
  margin: 0;
}

.test-equipment__photo-frame {
  height: 238px;
  background: rgba(40, 47, 136, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.test-equipment__photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-equipment__photo--reactor img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.test-equipment__photo figcaption {
  margin-top: 10px;
  color: var(--cp-color);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .test-equipment__photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .test-equipment__photo-frame {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .test-equipment__photo--reactor .test-equipment__photo-frame {
    height: 238px;
    aspect-ratio: auto;
  }
}

/* Override the shared section padding within this equipment list only. */
.test-equipment .test-equipment__category {
  padding: 0 !important;
}

.test-equipment__category + .test-equipment__category {
  margin-top: clamp(40px, 5vw, 64px);
}

.test-equipment__heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ddd;
  color: var(--cp-color);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.test-equipment__number {
  flex-shrink: 0;
  color: var(--cp-lightblue);
  font-size: 0.8em;
  letter-spacing: 0.05em;
}

.test-equipment__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-equipment__list > li {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 20px 22px;
  background: rgba(40, 47, 136, 0.05);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

@media (max-width: 1023.98px) {
  .test-equipment__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .test-equipment__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .test-equipment__list > li {
    padding: 16px 18px;
  }

  .test-equipment__heading {
    gap: 12px;
    margin-bottom: 20px;
  }
}
