.non-medical-degree-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.38rem;
}

.non-medical-degree-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  border-radius: 1.25rem;
  padding: 1.5rem;
  height: 14.4375rem;
  position: relative;
  background: #0a2457;
  background-image: url(/wp-content/themes/kazakh/img/home-page/education-bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  text-decoration: unset;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.non-medical-degree-item:hover {
  background: #001f73;
  background-image: url("/wp-content/themes/kazakh/img/home-page/education-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.non-medical-degree-item-icon {
  position: absolute;
  top: 2rem;
  right: 1.9rem;
  width: 6.25rem;
  height: 6.25rem;
}

.non-medical-degree-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.non-medical-degree-item-title p {
  color: #fafafa;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  margin: 0;
}

.non-medical-degree-item-subtitle p {
  color: #fafafa;
  font-size: 1.25rem;
  line-height: 2rem;
  font-weight: 400;
  letter-spacing: 0.01rem;
  margin: 0;
}
