/* Испытательный центр */

/* Страница «Испытательный центр» (test-center.html) */
.test-center-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  padding: 0 3.75rem;
}
.test-center-top .test-center-top__slider { min-height: 37.625rem; }
/* 602 из макета */
.test-center-about {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin: 0 3.75rem;
  padding: 2.5rem;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background-color: #fff;
}
/* 18/1.4 — как в макете: при 20 текст со списком не укладывался в 277 */
.test-center-about__text { margin: 0; font-size: 1.125rem; line-height: 1.4; color: #0a1226; }
.test-center-about__list {
  margin: 0;
  padding-left: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  font-size: 1.125rem;
  line-height: 1.4;
  color: #0a1226;
}

/* Планшет (< 1280) */
@media (max-width: 1279px) {
  .test-center-top { gap: 1rem; padding: 0 1rem; }
  .test-center-top .test-center-top__slider { min-height: 22rem; }
  .test-center-about { margin: 0 1rem; padding: 1.5rem; gap: 1rem; }
  .test-center-about__text,
  .test-center-about__list { font-size: 1rem; }
}

/* Мобильная (< 768) */
@media (max-width: 767px) {
  /* колонки в 320 не помещаются: слайдер и контакты идут друг под другом */
  .test-center-top { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 20px; }
  .test-center-top .test-center-top__slider { min-height: 240px; }
  .test-center-about { margin: 0 20px; padding: 20px; gap: 15px; }
  .test-center-about__text,
  .test-center-about__list { font-size: 14px; }
  .test-center-about__list { padding-left: 20px; }
}
