.test-page .capability-banner-panel {
  padding: 0.5rem;
}

.test-page .test-intro {
  background: url('../images/page-test-bg-2.jpg') center / cover no-repeat;
}

.test-page .test-grid article {
  min-height: 0;
  padding: 0;
  border: 0;
}

.test-page .test-card {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  text-align: center;
  border: 1px solid #dee2e6;
}

.test-page .test-card > img {
  flex: 0 0 180px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.test-page .test-card-content {
  height: 250px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.7);
}

.test-page .test-card h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.test-page .test-card p {
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .test-page .capability-banner-panel {
    padding: 2rem;
  }

  .test-page .test-card {
    height: 460px;
  }

  .test-page .test-card-content {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .test-page .test-card h3 {
    margin: 1.5rem 0;
    font-size: 1.75rem;
  }

  .test-page .test-card p {
    padding: 0 3rem;
  }
}

@media (min-width: 1200px) {
  .test-page .capability-banner-panel {
    padding: 3rem;
  }
}
