/*
PGKM School - feature cards
 */

/* Keep the original purple card appearance and white text. */
.pgkm-feature-section .pgkm-feature-card {
  background-color: #7438ad;
  color: #ffffff;
  border: 0;
  overflow: hidden;
}

/* Give every card image the same visual height and crop without distortion. */
.pgkm-feature-section .pgkm-feature-card__image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* Keep card headings readable and consistent. */
.pgkm-feature-section .pgkm-feature-card__title {
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  text-align: center;
}

/* Ensure paragraph text remains white even if the theme applies card defaults. */
.pgkm-feature-section .pgkm-feature-card .card-text {
  color: #ffffff;
  text-align: center;
}

/* Slightly reduce image height on narrow phones to preserve screen space. */
@media (max-width: 575.98px) {
  .pgkm-feature-section .pgkm-feature-card__image {
    height: 200px;
  }
}

/* Set maximum width of the feature section to 1320px */
.pgkm-feature-section .pgkm-feature-section__container {
    width: 100%;
    max-width: 1320px;
}